1 2004-01-31 Jim Evins <evins@snaught.com>
4 * data/avery-us-templates.xml:
5 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
7 * libglabels/template.c: (read_template_files_from_dir):
8 Corrected problem with testing for extensions.
10 * src/object-editor.glade:
11 Corrected grouping of radio buttons in barcode data page.
13 * src/print.c: (draw_barcode_object):
14 * src/view-barcode.c: (draw_barcode):
15 Corrected problem with calculation of y_offset for locating characters.
17 2004-01-24 Jim Evins <evins@snaught.com>
20 * data/avery-us-templates.xml:
21 Added Avery 5824, submitted by Fred Bacon.
23 2004-01-20 Jim Evins <evins@snaught.com>
25 Catching up on a couple of backlogged user template submissions.
27 * data/avery-iso-templates.xml:
28 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
29 Suggested by Linas Jakucionis.
31 * data/zweckform-iso-templates.xml:
32 Added Zweckform 4760, submitted by Thomas Vill.
35 Updated to reflect above submissions.
37 2004-01-06 Jim Evins <evins@snaught.com>
39 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
40 xml.[ch] into a separate library called libglabels, to facilitate third
41 party use of glabels template files. This was suggested by Wayne Schuller.
42 Once split-out, some modifications to the structures and functions to
43 make a cleaner more useful API, hopefully. Rather extensive changes have
44 propogated to other modules.
56 These files have been moved to libglabels/. API cleanup performed.
58 * libglabels/libglabels.h:
59 * libglabels/libglabels-private.h:
60 * libglabels/Makefile.am:
61 These files have been added to finish out libglabels.
68 Modified to reflect new sets of files in src/ and libglabels/.
72 Added copy of the LGPL for libglabels, and a copy the GFDL for
75 * src/glabels-batch.c:
77 * src/label.c: (gl_label_finalize), (gl_label_set_template),
80 * src/prefs-model.c: (gl_prefs_model_load_settings):
82 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
83 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
84 (print_crop_marks), (print_label), (draw_outline),
85 (clip_to_outline), (clip_punchouts):
86 * src/template-designer.c: (construct_pg_size_page),
87 (pg_size_page_changed_cb), (layout_page_changed_cb),
88 (print_test_cb), (build_template):
89 * src/util.c: (gl_util_fraction):
91 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
92 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
93 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
94 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
95 (draw_markup_margin_round), (draw_markup_margin_cd),
96 (draw_markup_margin_cd_bc), (draw_markup_line),
97 (draw_markup_circle), (gl_view_copy):
98 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
99 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
100 (get_label_size_desc):
101 * src/wdgt-mini-preview.c:
102 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
104 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
105 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
106 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
107 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
108 * src/wdgt-rotate-label.h:
109 * src/xml-label-04.c: (xml04_parse_media_description):
110 * src/xml-label-191.c: (gl_xml_label_191_parse),
111 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
112 (xml191_parse_markup), (xml191_parse_alias):
113 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
115 Various changes to accomodate new libglabels API.
117 2004-01-03 Jim Evins <evins@snaught.com>
122 2004-01-03 Jim Evins <evins@snaught.com>
125 Added acknowledgement of contributions by Wayne Schuller.
127 * src/commands.c: (gl_cmd_file_print):
128 Create extra reference to print dialog, so that it can be properly re-used.
130 * src/mygal/mygal-combo-box.h:
131 * src/mygal/mygal-combo-box.c:
132 (mygal_combo_box_popup_hide_unconditional),
133 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
134 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
135 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
136 (mygal_combo_box_set_tearable):
137 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
138 complete the rename of this widget to prevent namespace collisions
141 * src/prefs-dialog.glade:
142 Fixed alignment of Fill/Color widgets.
144 2004-01-03 Jim Evins <evins@snaught.com>
146 * data/avery-iso-templates.xml:
147 Added user submitted templates.
148 Avery 8435A & 8435B, submitted by Ludger Solbach.
151 Added minimal documentation, noting the new template designer.
153 2004-01-03 Jim Evins <evins@snaught.com>
155 * pixmaps/ex-rect-size.png:
156 * pixmaps/ex-round-size.png:
157 * pixmaps/ex-cd-size.png:
158 * pixmaps/Makefile.am:
159 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
160 files to be used as illustrations/examples in the template-designer.
162 * src/template-designer.c: (construct_rect_size_page),
163 (construct_round_size_page), (construct_cd_size_page),
164 (construct_nlayouts_page), (rect_size_page_prepare_cb),
165 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
166 (layout_page_prepare_cb), (build_template):
167 * src/template-designer.glade:
168 Added illustrations for rectangle, round, and cd label size pages.
169 Added margin spinboxes to these pages, and now add a margin markup
170 to the constructed template. Added realistic default values for
171 some of the size spinboxes. Cleaned up the code for setting spinbox
172 ranges on the layouts page.
174 2004-01-02 Jim Evins <evins@snaught.com>
176 * src/object-editor-size-page.c: (h_spin_cb):
177 Fixed cut-n-paste error in h_spin_cb that loaded h from
178 the wrong spinbutton.
180 * src/object-editor.h:
181 * src/object-editor.c: (gl_object_editor_class_init),
182 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
183 * src/object-editor-private.h:
184 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
186 Added "size_changed" signal.
188 * src/view-text.c: (construct_properties_editor),
189 (update_object_from_editor_cb),
190 (update_object_from_editor_size_cb):
191 Track size changes from object editor separately from other
192 properties. This is so the default size (0,0) of a text
193 object is not modified unintentionally.
195 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
197 Added feature: line spacing - allows you to comfortably space a text box to
198 fit a label perfectly.
200 * data/glabels-2.0.dtd:
201 * src/label-object.c: (gl_label_object_set_text_line_spacing),
202 (gl_label_object_get_text_alignment),
203 (gl_label_object_get_text_line_spacing):
204 * src/label-object.h:
205 * src/label-text.c: (gl_label_text_class_init),
206 (gl_label_text_instance_init), (copy), (get_size),
207 (set_text_line_spacing), (get_text_alignment),
208 (get_text_line_spacing):
209 * src/object-editor-private.h:
210 * src/object-editor-text-page.c:
211 (gl_object_editor_prepare_text_page),
212 (gl_object_editor_set_text_line_spacing),
213 (gl_object_editor_get_text_line_spacing):
214 * src/object-editor.glade:
215 * src/object-editor.h:
216 * src/prefs-dialog.c: (construct_object_page),
217 (update_object_page_from_prefs), (update_prefs_from_object_page):
218 * src/prefs-dialog.glade:
219 * src/prefs-model.c: (gl_prefs_model_save_settings),
220 (gl_prefs_model_load_settings), (get_float):
222 * src/print.c: (draw_text_object):
224 * src/view-text.c: (update_object_from_editor_cb),
225 (update_editor_from_object_cb),
226 (gl_view_text_create_event_handler), (draw_hacktext):
227 * src/view.c: (gl_view_construct),
228 (gl_view_set_selection_text_line_spacing),
229 (gl_view_set_default_text_line_spacing),
230 (gl_view_get_default_text_line_spacing):
232 * src/xml-label.c: (xml_parse_toplevel_span),
233 (xml_create_toplevel_span):
235 2003-12-30 Jim Evins <evins@snaught.com>
237 * src/template-designer.c:
238 * src/template-designer.h:
239 * src/template-designer.glade:
240 New template designer assistant.
244 Added entries for src/template-designer.* files.
246 * pixmaps/ex-1layout.png
247 * pixmaps/ex-2layouts.png
248 * pixmaps/Makefile.am:
249 Added the new image files ex-*.png used as illustrations in the
250 template designer assistant.
252 * src/print-dialog.h:
253 * src/print-dialog.c: (gl_print_dialog_finalize),
254 (gl_print_dialog_new), (gl_print_dialog_construct),
255 (gl_print_dialog_force_outline_flag):
256 Changed first argument of gl_print_dialog_new() from glView to glLabel,
257 to support printing from the template designer assistant which does not
258 have a full-fledged view. Nothing else from the view object was being
259 used by the dialog anyway.
261 Added the gl_print_dialog_force_outline_flag() method, for better
262 integration with the template designer assistant.
266 * src/commands.c: (gl_cmd_file_template_designer),
268 Modified print command to provide label instead of view to dialog.
269 Added the gl_cmd_file_template_designer() command to invoke the
270 template designer assistant.
273 * src/glabels-ui.xml:
274 Added support for template designer assistant.
276 * src/wdgt-mini-preview.h:
277 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
278 (gl_wdgt_mini_preview_set_bg_color):
279 Preview is now centered in canvas. Added
280 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
281 assistant to match the background color with its own.
283 * src/print.c: (clip_to_outline):
284 Fixed really stupid bug when adding waste to clip region of rectangular
285 labels/cards. Each side of the clip region needs to be extended by
286 twice the waste margin, as well as negatively offset by the waste
289 2003-12-28 Jim Evins <evins@snaught.com>
291 * src/prefs-dialog.c: (update_object_page_from_prefs):
292 Block intermediary function align_toggle_cb() instead of
293 update_prefs_from_object_page() for the three alignment
296 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
298 * src/file.c: (gl_file_new), (gl_file_properties):
299 Swap button order and set default for higificatory pleasure.
301 2003-12-27 Jim Evins <evins@snaught.com>
303 * barcode-0.98/Makefile.am:
304 One last time: removed doc/Makefile and po/Makefile.in.in from
307 2003-12-27 Jim Evins <evins@snaught.com>
309 * barcode-0.98/Makefile.am:
310 Removed config.stat entry from EXTRA_DIST files.
312 * barcode-0.98/Makefile.in:
315 2003-12-27 Jim Evins <evins@snaught.com>
318 Updated to work with latest gnome-common package from CVS.
319 Removed recursive configuration of barcode-0.98.
326 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
328 * barcode-0.98/Makefile.in:
329 * barcode-0.98/configure.in:
330 * barcode-0.98/Makefile.am:
331 * barcode-0.98/README.glabels:
332 Modified to ignore the barcode package's build system, and build
333 as a part of glabels.
334 Renamed Makefile.in to Makefile.in.dist.
335 Renamed configure.in to configure.in.dist.
336 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
339 * src/mygal/Makefile.am:
340 * src/recent-files/Makefile.am:
341 In order to build against the GNOME 2.5 platform,
342 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
344 * src/mygal/Makefile.am:
345 * src/mygal/mygal-combo-box.c:
346 * src/mygal/mygal-combo-box.h:
347 * src/mygal/widget-color-combo.c:
348 * src/mygal/widget-color-combo.h:
350 In order to build against the GNOME 2.5 platform,
351 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
352 collisions with the real gtk_combo_box widget, now a part of gtk.
354 2003-12-26 Jim Evins <evins@snaught.com>
360 Moved local versions of get_home_data_dir() in paper.c and
361 template.c to util package. Cleaned up formatting in
365 In gl_template_register() save a copy of the template in
366 ~/.glabels if the template is not known. Still need to
367 handle duplicate filename case and duplicate name but
368 different template case.
372 Moved local definition of NAME_SPACE macro from xml-label.c
375 * src/xml-template.c:
376 * src/xml-template.h:
377 Added function gl_xml_template_write_template_to_file(), used
378 in gl_template_register().