]> git.sur5r.net Git - glabels/blob - glabels2/ChangeLog
00aa3a24043322bf3016edcf5c3f80f933a89539
[glabels] / glabels2 / ChangeLog
1 2004-02-02  Jim Evins  <evins@snaught.com>
2
3         * src/label-image.c: (gl_label_image_set_filename):
4                 When setting a new filename adjust size such that the aspect ratio of
5                 the image is preserved using the current size as a bounding box.
6                 
7         * src/view-image.c: (update_object_from_editor_cb):
8                 When updating object from editor, feed back possible size changes to
9                 editor as a result of a possible change in image.
10         
11         * src/object-editor-size-page.c: (size_reset_cb):
12                 Fixed typo when blocking spin handlers.  If the base size is larger than
13                 the max size, treat max size as a bounding box while keeping aspect
14                 ratio.
15                 
16
17 2004-02-02  Jim Evins  <evins@snaught.com>
18
19         * src/label-object.h:
20         * src/label-object.c: (gl_label_object_set_size),
21         (gl_label_object_set_size_honor_aspect):
22                 Added gl_label_object_set_size_honor_aspect() which will maintain the
23                 current aspect ratio by modifying the supplied w or h apropriately.
24         
25         * src/view-highlight.c: (tl_resize_event_handler),
26         (tr_resize_event_handler), (bl_resize_event_handler),
27         (br_resize_event_handler):
28                 Corner handles will now maintain the current aspect ratio if the
29                 control key is pressed while resizing.  This addresses feature
30                 request #816603.
31        
32
33 2004-01-31  Jim Evins  <evins@snaught.com>
34
35         * AUTHORS:
36         * data/avery-us-templates.xml:
37                 Added entries for "LSK-3," "LSK-5," and "LSK-8."  Submitted by JBadger.
38         
39         * libglabels/template.c: (read_template_files_from_dir):
40                 Corrected problem with testing for extensions.
41         
42         * src/object-editor.glade:
43                 Corrected grouping of radio buttons in barcode data page.
44
45         * src/print.c: (draw_barcode_object):
46         * src/view-barcode.c: (draw_barcode):
47                 Corrected problem with calculation of y_offset for locating characters.
48
49 2004-01-24  Jim Evins  <evins@snaught.com>
50
51         * AUTHORS:
52         * data/avery-us-templates.xml:
53                 Added Avery 5824, submitted by Fred Bacon.
54         
55 2004-01-20  Jim Evins  <evins@snaught.com>
56
57         Catching up on a couple of backlogged user template submissions.
58
59         * data/avery-iso-templates.xml:
60                 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
61                 Suggested by Linas Jakucionis.
62         
63         * data/zweckform-iso-templates.xml:
64                 Added Zweckform 4760, submitted by Thomas Vill.
65
66         * AUTHORS:
67                 Updated to reflect above submissions.
68
69 2004-01-06  Jim Evins  <evins@snaught.com>
70
71         Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
72         xml.[ch] into a separate library called libglabels, to facilitate third
73         party use of glabels template files.  This was suggested by Wayne Schuller.
74         Once split-out, some modifications to the structures and functions to
75         make a cleaner more useful API, hopefully.  Rather extensive changes have
76         propogated to other modules.
77
78         * src/paper.h:
79         * src/paper.c:
80         * src/template.h:
81         * src/template.c:
82         * src/xml-paper.h:
83         * src/xml-paper.c:
84         * src/xml-template.h:
85         * src/xml-template.c:
86         * src/xml.h:
87         * src/xml.c:
88                 These files have been moved to libglabels/.  API cleanup performed.
89
90         * libglabels/libglabels.h:
91         * libglabels/libglabels-private.h:
92         * libglabels/Makefile.am:
93                 These files have been added to finish out libglabels.
94         
95         * Makefile.am:
96         * configure.in:
97         * glabels.spec.in:
98         * po/POTFILES.in:
99         * src/Makefile.am:
100                 Modified to reflect new sets of files in src/ and libglabels/.
101
102         * COPYING.LIBGLABELS:
103         * COPYING-DOCS:
104                 Added copy of the LGPL for libglabels, and a copy the GFDL for
105                 documentation.
106         
107         * src/glabels-batch.c:
108         * src/glabels.c:
109         * src/label.c: (gl_label_finalize), (gl_label_set_template),
110         (gl_label_get_size):
111         * src/label.h:
112         * src/prefs-model.c: (gl_prefs_model_load_settings):
113         * src/print-dialog.c:
114         * src/print.c: (gl_print_simple), (gl_print_merge_collated),
115         (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
116         (print_crop_marks), (print_label), (draw_outline),
117         (clip_to_outline), (clip_punchouts):
118         * src/template-designer.c: (construct_pg_size_page),
119         (pg_size_page_changed_cb), (layout_page_changed_cb),
120         (print_test_cb), (build_template):
121         * src/util.c: (gl_util_fraction):
122         * src/util.h:
123         * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
124         (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
125         (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
126         (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
127         (draw_markup_margin_round), (draw_markup_margin_cd),
128         (draw_markup_margin_cd_bc), (draw_markup_line),
129         (draw_markup_circle), (gl_view_copy):
130         * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
131         (page_size_entry_changed_cb), (details_update), (get_layout_desc),
132         (get_label_size_desc):
133         * src/wdgt-mini-preview.c:
134         (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
135         (cdbc_item):
136         * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
137         * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
138         * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
139         (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
140         * src/wdgt-rotate-label.h:
141         * src/xml-label-04.c: (xml04_parse_media_description):
142         * src/xml-label-191.c: (gl_xml_label_191_parse),
143         (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
144         (xml191_parse_markup), (xml191_parse_alias):
145         * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
146         (xml_label_to_doc):
147                 Various changes to accomodate new libglabels API.
148         
149 2004-01-03  Jim Evins  <evins@snaught.com>
150
151         * configure.in:
152                 Release 1.93.2.
153
154 2004-01-03  Jim Evins  <evins@snaught.com>
155
156         * AUTHORS:
157                 Added acknowledgement of contributions by Wayne Schuller.
158         
159         * src/commands.c: (gl_cmd_file_print):
160                 Create extra reference to print dialog, so that it can be properly re-used.
161         
162         * src/mygal/mygal-combo-box.h:
163         * src/mygal/mygal-combo-box.c:
164         (mygal_combo_box_popup_hide_unconditional),
165         (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
166         (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
167         (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
168         (mygal_combo_box_set_tearable):
169                 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
170                 complete the rename of this widget to prevent namespace collisions
171                 with Gtk+-2.3.
172         
173         * src/prefs-dialog.glade:
174                 Fixed alignment of Fill/Color widgets.
175
176 2004-01-03  Jim Evins  <evins@snaught.com>
177
178         * data/avery-iso-templates.xml:
179                 Added user submitted templates.
180                 Avery 8435A & 8435B, submitted by Ludger Solbach.
181
182         * doc/C/glabels.xml:
183                 Added minimal documentation, noting the new template designer.
184
185 2004-01-03  Jim Evins  <evins@snaught.com>
186
187         * pixmaps/ex-rect-size.png:
188         * pixmaps/ex-round-size.png:
189         * pixmaps/ex-cd-size.png:
190         * pixmaps/Makefile.am:
191                 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
192                 files to be used as illustrations/examples in the template-designer.
193
194         * src/template-designer.c: (construct_rect_size_page),
195         (construct_round_size_page), (construct_cd_size_page),
196         (construct_nlayouts_page), (rect_size_page_prepare_cb),
197         (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
198         (layout_page_prepare_cb), (build_template):
199         * src/template-designer.glade:
200                 Added illustrations for rectangle, round, and cd label size pages.
201                 Added margin spinboxes to these pages, and now add a margin markup
202                 to the constructed template.  Added realistic default values for
203                 some of the size spinboxes.  Cleaned up the code for setting spinbox
204                 ranges on the layouts page.
205
206 2004-01-02  Jim Evins  <evins@snaught.com>
207
208         * src/object-editor-size-page.c: (h_spin_cb):
209                 Fixed cut-n-paste error in h_spin_cb that loaded h from
210                 the wrong spinbutton.
211
212         * src/object-editor.h:
213         * src/object-editor.c: (gl_object_editor_class_init),
214         (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
215         * src/object-editor-private.h:
216         * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
217         (size_reset_cb):
218                 Added "size_changed" signal.
219                 
220         * src/view-text.c: (construct_properties_editor),
221         (update_object_from_editor_cb),
222         (update_object_from_editor_size_cb):
223                 Track size changes from object editor separately from other
224                 properties.  This is so the default size (0,0) of a text
225                 object is not modified unintentionally.
226
227 2003-12-30  Wayne Schuller  <k_wayne@linuxpower.org>
228
229         Added feature: line spacing - allows you to comfortably space a text box to
230         fit a label perfectly.
231
232         * data/glabels-2.0.dtd:
233         * src/label-object.c: (gl_label_object_set_text_line_spacing),
234         (gl_label_object_get_text_alignment),
235         (gl_label_object_get_text_line_spacing):
236         * src/label-object.h:
237         * src/label-text.c: (gl_label_text_class_init),
238         (gl_label_text_instance_init), (copy), (get_size),
239         (set_text_line_spacing), (get_text_alignment),
240         (get_text_line_spacing):
241         * src/object-editor-private.h:
242         * src/object-editor-text-page.c:
243         (gl_object_editor_prepare_text_page),
244         (gl_object_editor_set_text_line_spacing),
245         (gl_object_editor_get_text_line_spacing):
246         * src/object-editor.glade:
247         * src/object-editor.h:
248         * src/prefs-dialog.c: (construct_object_page),
249         (update_object_page_from_prefs), (update_prefs_from_object_page):
250         * src/prefs-dialog.glade:
251         * src/prefs-model.c: (gl_prefs_model_save_settings),
252         (gl_prefs_model_load_settings), (get_float):
253         * src/prefs-model.h:
254         * src/print.c: (draw_text_object):
255         * src/ui-sidebar.c:
256         * src/view-text.c: (update_object_from_editor_cb),
257         (update_editor_from_object_cb),
258         (gl_view_text_create_event_handler), (draw_hacktext):
259         * src/view.c: (gl_view_construct),
260         (gl_view_set_selection_text_line_spacing),
261         (gl_view_set_default_text_line_spacing),
262         (gl_view_get_default_text_line_spacing):
263         * src/view.h:
264         * src/xml-label.c: (xml_parse_toplevel_span),
265         (xml_create_toplevel_span):
266
267 2003-12-30  Jim Evins  <evins@snaught.com>
268
269         * src/template-designer.c:
270         * src/template-designer.h:
271         * src/template-designer.glade:
272                 New template designer assistant.
273         
274         * po/POTFILES.in:
275         * src/Makefile.am:
276                 Added entries for src/template-designer.* files.
277         
278         * pixmaps/ex-1layout.png
279         * pixmaps/ex-2layouts.png
280         * pixmaps/Makefile.am:
281                 Added the new image files ex-*.png used as illustrations in the
282                 template designer assistant.
283         
284         * src/print-dialog.h:
285         * src/print-dialog.c: (gl_print_dialog_finalize),
286         (gl_print_dialog_new), (gl_print_dialog_construct),
287         (gl_print_dialog_force_outline_flag):
288                 Changed first argument of gl_print_dialog_new() from glView to glLabel,
289                 to support printing from the template designer assistant which does not
290                 have a full-fledged view.  Nothing else from the view object was being
291                 used by the dialog anyway.
292
293                 Added the gl_print_dialog_force_outline_flag() method, for better
294                 integration with the template designer assistant.
295                 
296
297         * src/commands.h:
298         * src/commands.c: (gl_cmd_file_template_designer),
299         (gl_cmd_file_print):
300                 Modified print command to provide label instead of view to dialog.
301                 Added the gl_cmd_file_template_designer() command to invoke the
302                 template designer assistant.
303         
304         * src/ui.c:
305         * src/glabels-ui.xml:
306                 Added support for template designer assistant.
307         
308         * src/wdgt-mini-preview.h:
309         * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
310         (gl_wdgt_mini_preview_set_bg_color):
311                 Preview is now centered in canvas.  Added
312                 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
313                 assistant to match the background color with its own.
314         
315         * src/print.c: (clip_to_outline):
316                 Fixed really stupid bug when adding waste to clip region of rectangular
317                 labels/cards.  Each side of the clip region needs to be extended by
318                 twice the waste margin, as well as negatively offset by the waste
319                 margin.
320
321 2003-12-28  Jim Evins  <evins@snaught.com>
322
323         * src/prefs-dialog.c: (update_object_page_from_prefs):
324                 Block intermediary function align_toggle_cb() instead of
325                 update_prefs_from_object_page() for the three alignment
326                 widgets.
327
328 2003-12-28  Wayne Schuller  <k_wayne@linuxpower.org>
329
330         * src/file.c: (gl_file_new), (gl_file_properties):
331                 Swap button order and set default for higificatory pleasure.
332
333 2003-12-27  Jim Evins  <evins@snaught.com>
334
335         * barcode-0.98/Makefile.am:
336                 One last time:  removed doc/Makefile and po/Makefile.in.in from
337                 EXTRA_DIST files.
338         
339 2003-12-27  Jim Evins  <evins@snaught.com>
340
341         * barcode-0.98/Makefile.am:
342                 Removed config.stat entry from EXTRA_DIST files.
343         
344         * barcode-0.98/Makefile.in:
345                 Removed.
346
347 2003-12-27  Jim Evins  <evins@snaught.com>
348
349         * configure.in:
350                 Updated to work with latest gnome-common package from CVS.
351                 Removed recursive configuration of barcode-0.98.
352
353         * acconfig.h:
354         * macros/*:
355                 Removed.
356         
357         * Makefile.am:
358                 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
359         
360         * barcode-0.98/Makefile.in:
361         * barcode-0.98/configure.in:
362         * barcode-0.98/Makefile.am:
363         * barcode-0.98/README.glabels:
364                 Modified to ignore the barcode package's build system, and build
365                 as a part of glabels.
366                 Renamed Makefile.in to Makefile.in.dist.
367                 Renamed configure.in to configure.in.dist.
368                 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
369         
370         * src/Makefile.am:
371         * src/mygal/Makefile.am:
372         * src/recent-files/Makefile.am:
373                 In order to build against the GNOME 2.5 platform, 
374                 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
375         
376         * src/mygal/Makefile.am:
377         * src/mygal/mygal-combo-box.c:
378         * src/mygal/mygal-combo-box.h:
379         * src/mygal/widget-color-combo.c:
380         * src/mygal/widget-color-combo.h:
381         * po/POTFILES.in:
382                 In order to build against the GNOME 2.5 platform, 
383                 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
384                 collisions with the real gtk_combo_box widget, now a part of gtk.
385         
386 2003-12-26  Jim Evins  <evins@snaught.com>
387
388         * src/paper.c:
389         * src/template.c:
390         * src/util.c:
391         * src/util.h:
392                 Moved local versions of get_home_data_dir() in paper.c and
393                 template.c to util package.  Cleaned up formatting in
394                 util.[ch].
395
396         * src/template.c:
397                 In gl_template_register() save a copy of the template in
398                 ~/.glabels if the template is not known.  Still need to
399                 handle duplicate filename case and duplicate name but
400                 different template case.
401         
402         * src/xml-label.c:
403         * src/xml.h:
404                 Moved local definition of NAME_SPACE macro from xml-label.c
405                 to xml.h.
406         
407         * src/xml-template.c:
408         * src/xml-template.h:
409                 Added function gl_xml_template_write_template_to_file(), used
410                 in gl_template_register().
411
412