1 2004-08-08 Jim Evins <evins@snaught.com>
3 * data/mime/Makefile.am:
4 Fixed typo: key_files should have been keys_files.
6 2004-08-08 Jim Evins <evins@snaught.com>
8 Reorganization of runtime data files. Also added registration of mimetype with
9 new freedesktop.org mime database if available.
12 Moved files to appropriate subdirectories, creating local Makefile.am
14 - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
15 These are now installed at $datadir/glabels/templates.
16 - Moved glabels.1 to man subdirectory.
17 - Moved glabels-2.0.dtd to dtd subdirectory.
18 - Moved glabels.desktop.in to desktop subdirectory.
19 - Moved glabels.keys.in and glabels.mime to mime subdirectory.
21 Moved "./pixmaps" to "./data/pixmaps"
23 Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
25 Moved libglade files from src to data/glade. Created Makefile.am.
27 Removed pixmaps from SUBDIRS.
29 - Removed pixmaps from makefiles.
30 - Added makefiles for new subdirs of data.
31 - Added tests for freedesktop.org mime database.
33 - Added tests for freedesktop.org mime database for post install and
34 post un-install actions.
35 * libglabels/Makefile.am:
36 Moved system template files to $(datadir)/glabels/templates.
37 * libglabels/libglabels-private.h:
38 Moved system template files to $(datadir)/glabels/templates.
40 - Accounted for movement of ui and libglade files.
41 - Added missing .in files.
42 - Reorganized by directory.
44 Accounted for movement of ui and libglade files.
45 * data/mime/glabels.xml.in:
46 New file for registering with freedesktop.org mime database.
48 2004-08-07 Jim Evins <evins@snaught.com>
51 Re-synced to latest libegg/recent-files.
53 2004-08-07 Jim Evins <evins@snaught.com>
58 Renamed "./doc" directory to "./help" which contains user documentation,
59 to be more consistent with other GNOME applications.
62 2004-07-26 Jim Evins <evins@snaught.com>
64 * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
65 Corrected button order of merge properties dialog.
67 2004-07-18 Jim Evins <evins@snaught.com>
69 * data/glabels-2.0.dtd:
70 * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
71 (gl_barcode_get_prefered_n):
73 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
74 (gl_label_barcode_get_props), (get_size):
75 * src/label-barcode.h:
76 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
77 (style_changed_cb), (gl_object_editor_set_bc_style),
78 (gl_object_editor_get_bc_style):
79 * src/object-editor-data-page.c: (data_radio_toggled_cb),
80 (gl_object_editor_set_data), (gl_object_editor_get_data):
81 * src/object-editor-private.h:
82 * src/object-editor.c: (gl_object_editor_set_key_names):
83 * src/object-editor.glade:
84 * src/object-editor.h:
85 * src/print.c: (draw_barcode_object):
86 * src/view-barcode.c: (update_object_from_editor_cb),
87 (update_editor_from_object_cb),
88 (gl_view_barcode_create_event_handler), (draw_barcode):
89 * src/xml-label-04.c: (xml04_parse_barcode_props):
90 * src/xml-label-191.c: (xml191_parse_barcode_props):
91 * src/xml-label.c: (xml_parse_object_barcode),
92 (xml_create_object_barcode):
93 Added "format" attribute to barcode objects. This attribute is used
94 to properly format freeform barcodes barcodes prior to merge data is
95 applied, so that barcodes can be accurately layed out. This addresses
96 remaining issues of feature request #824787. Also added an example of
97 the format in the object editor.
99 2004-07-12 Jim Evins <evins@snaught.com>
101 Various code cleanups.
103 * src/label-barcode.c:
104 Removed unneeded include of gnome-glyphlist.h.
106 * src/label-text.c: (get_size):
107 Fixed memory leak: unref glyphlists when done with them.
109 * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
110 * src/object-editor-data-page.c:
111 (gl_object_editor_prepare_data_page):
112 * src/object-editor-image-page.c:
113 (gl_object_editor_prepare_image_page):
114 * src/object-editor-line-page.c:
115 (gl_object_editor_prepare_line_page):
116 * src/object-editor-lsize-page.c:
117 (gl_object_editor_prepare_lsize_page):
118 * src/object-editor-position-page.c:
119 (gl_object_editor_prepare_position_page):
120 * src/object-editor-size-page.c:
121 (gl_object_editor_prepare_size_page):
122 * src/object-editor-text-page.c:
123 (gl_object_editor_prepare_text_page):
124 Removed unneeded size groups, originally intended to keep widgets aligned.
125 Now use tables to lay these out in object-editor.glade.
127 * src/print.c: (draw_text_object):
128 Fixed memory leak: unref glyphlists when done with them.
130 * src/view-barcode.c: (draw_barcode):
131 Fixed memory leak: unref glyphlists when done with them.
133 * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
134 - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
136 - Fixed memory leak: unref glyphlists when done with them.
138 2004-07-11 Jim Evins <evins@snaught.com>
140 * data/glabels-2.0.dtd:
141 * src/label-text.c: (gl_label_text_instance_init), (copy),
142 (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
144 * src/object-editor-private.h:
145 * src/object-editor-text-page.c:
146 (gl_object_editor_prepare_text_page),
147 (gl_object_editor_set_text_auto_shrink),
148 (gl_object_editor_get_text_auto_shrink):
149 * src/object-editor.c: (gl_object_editor_set_key_names):
150 * src/object-editor.glade:
151 * src/object-editor.h:
152 * src/print.c: (draw_text_object):
153 * src/view-text.c: (update_object_from_editor_cb),
154 (update_editor_from_object_cb):
155 * src/xml-label.c: (xml_parse_object_text),
156 (xml_create_object_text):
157 Added option to allow document merge to auto shrink text size to fit
158 within the text box. The code in print.c that actually shrinks the
159 text is loosely based on a patch submitted by Mark Harrison
160 <mark.harrison@velocitynet.com.au>. This addresses feature request
163 2004-07-11 Jim Evins <evins@snaught.com>
165 * data/glabels-2.0.dtd:
166 * libglabels/template.c: (gl_template_rect_label_type_new),
167 (gl_template_round_label_type_new),
168 (gl_template_cd_label_type_new), (gl_template_label_type_dup),
169 (template_full_page):
170 * libglabels/template.h:
171 * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
172 (xml_create_label_node):
173 * pixmaps/ex-rect-size.png:
174 * src/print.c: (clip_to_outline), (clip_punchouts):
175 * src/template-designer.c: (construct_rect_size_page),
176 (rect_size_page_prepare_cb), (layout_page_prepare_cb),
178 * src/template-designer.glade:
179 * src/xml-label-191.c: (xml191_parse_label):
180 Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
181 properties for rectangular labels. Templates remain backwards compatible,
182 but this breaks the libglabels API (I don't know of anyone outside of
183 glabels using libglabels at this time -- what can I say, the program is
184 is still "unstable"). This addresses the suggestion in Feature Request
187 2004-07-05 Jim Evins <evins@snaught.com>
188 * src/print.c: (print_crop_marks), (draw_outline):
189 Changed crop marks and label outlines to black, instead of 25% gray.
190 This addresses debian Bug #257460.
192 2004-07-05 Jim Evins <evins@snaught.com>
194 * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
195 * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
196 Preserve "is_default" of fill and line color_combos when creating from
199 2004-07-02 Jim Evins <evins@snaught.com>
202 Created man page. Based on page submitted by Matthew J. Lockner, however
203 it has been severely edited.
205 * data/avery-other-templates.xml
206 * data/misc-other-templates.xml:
207 Started new files for predefined templates with non-standard sheet sizes.
208 These have been initially populated with the Avery 06141 and
209 OfficeMax #86112, both provided by Matthew J. Lockner.
212 Install above manpage and template files.
215 Make sure we install man pages.
217 * src/glabels-batch.c:
218 Changed short form of help option to '-?' to be consistent with glabels.
221 Added acknowledgement for above labels.
223 2004-07-02 Jim Evins <evins@snaught.com>
225 * src/glabels.c: (main), (save_session_cb):
226 - Now include libbonoboui.h, recent.h, and file.h to provide missing
228 - save_session_cb() now returns gboolean.
229 - Minor formatting changes.
233 - Now include file.h to provide missing prototype.
234 - gl_window_get_type() now returns GType, not guint. I believe this may
235 ultimately be cause of the segfault reported in Bug #982287, since
236 GType is actually a gulong, which may not be compatible on other
237 architectures (64bit) -- I cannot personally test this at this time.
238 I was sloppy in several other xxx_get_type() functions which also
239 returned guint -- see next group of files:
241 * src/window.c: (gl_window_get_type):
242 * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
243 * src/canvas-hacktext.h:
244 * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
245 (gl_hig_category_get_type), (gl_hig_vbox_get_type),
246 (gl_hig_hbox_get_type):
248 * src/label-barcode.c: (gl_label_barcode_get_type):
249 * src/label-barcode.h:
250 * src/label-box.c: (gl_label_box_get_type):
252 * src/label-ellipse.c: (gl_label_ellipse_get_type):
253 * src/label-ellipse.h:
254 * src/label-image.c: (gl_label_image_get_type):
256 * src/label-line.c: (gl_label_line_get_type):
258 * src/label-object.c: (gl_label_object_get_type):
259 * src/label-object.h:
260 * src/label-text.c: (gl_label_text_get_type):
262 * src/label.c: (gl_label_get_type):
264 * src/merge-properties-dialog.c:
265 (gl_merge_properties_dialog_get_type):
266 * src/merge-properties-dialog.h:
267 * src/merge-text.c: (gl_merge_text_get_type):
269 * src/merge.c: (gl_merge_get_type):
271 * src/object-editor.c: (gl_object_editor_get_type):
272 * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
273 * src/prefs-dialog.h:
274 * src/prefs-model.c: (gl_prefs_model_get_type):
276 * src/print-dialog.c: (gl_print_dialog_get_type):
277 * src/print-dialog.h:
278 * src/template-designer.c: (gl_template_designer_get_type):
279 * src/template-designer.h:
280 * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
281 * src/ui-property-bar.h:
282 * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
284 * src/view-barcode.c: (gl_view_barcode_get_type):
285 * src/view-barcode.h:
286 * src/view-box.c: (gl_view_box_get_type):
288 * src/view-ellipse.c: (gl_view_ellipse_get_type):
289 * src/view-ellipse.h:
290 * src/view-highlight.c: (gl_view_highlight_get_type):
291 * src/view-highlight.h:
292 * src/view-image.c: (gl_view_image_get_type):
294 * src/view-line.c: (gl_view_line_get_type):
296 * src/view-object.c: (gl_view_object_get_type):
298 * src/view-text.c: (gl_view_text_get_type):
300 * src/view.c: (gl_view_get_type):
302 * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
303 * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
304 * src/wdgt-image-select.h:
305 * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
306 * src/wdgt-media-select.h:
307 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
308 * src/wdgt-mini-preview.h:
309 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
310 * src/wdgt-print-copies.h:
311 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
312 * src/wdgt-print-merge.h:
313 * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
314 * src/wdgt-rotate-label.h:
315 - Made sure all xxx_get_type functions returned GType, not guint. This
316 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
317 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
318 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
319 wdt-print-merge.[ch], and wdgt-rotate-label.[ch]. See separate
320 window.[ch] details above for more info.
321 - Reconciled various coding style differences in all xxx_get_type()
323 * All prototypes include G_GNUC_CONST.
324 * All prototypes specify the return value as GType, not GtkType
326 * Info structures are all declared as "static const."
327 * Generalized the names of type and info variables.
328 * Miscelaneous formatting.
330 2004-06-08 Jim Evins <evins@snaught.com>
336 Don't touch compression of original file -- still defaults to 9 for
337 new files. Original patch provided by Javier Donaire Segarra
338 (#912252 in patch tracker).
340 2004-05-05 Jim Evins <evins@snaught.com>
342 * data/glabels-2.0.dtd:
343 Broke DTD previously when adding new barcode types that contain a
344 plus sign (+). Simply changed the BC_STYLE_TYPE entity to "CDATA"
345 to avoid the problem.
346 * data/avery-iso-templates.xml:
347 * data/zweckform-iso-templates.xml:
349 Added templates for Avery 7165, Zweckform 3688, 4732, and 6021. Templates
350 provided by Frank Altpeter.
351 * libglabels/xml-template.c: (xml_create_label_node):
352 Reordered markup and layout sub-nodes so that resulting templates will
353 validate against DTD.
355 2004-03-13 Jim Evins <evins@snaught.com>
357 * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
358 Changed spin callback signals from "value-changed" back to "changed."
359 This was accidentally introduced in a previous revision, and can cause
360 size changes just by selecting the size tab.
362 2004-03-06 Jim Evins <evins@snaught.com>
364 * src/view.c: (draw_grid_layer):
365 For round labels (round and cd) adjust grid so that it lines up with
366 center of label. Also, no longer draw box around label in the grid layer,
367 it is hidden by he fg layer anyway. Feature suggested by
368 nemolivier@free.fr. Although the grid is aligned with the center of the
369 label, the coordinate system is still relative to the upper left corner
370 of the rectangle containing the label.
372 2004-02-25 Jim Evins <evins@snaught.com>
375 Changed version to 2.0pre1cvs
377 * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
378 Removed extra xmlFreeDoc() calls upon error. Also print the doc->URL
379 instead of doc->name fields when errors encountered.
381 2004-02-21 Jim Evins <evins@snaught.com>
383 * data/avery-iso-templates.xml:
384 Added aliases for Avery 8651. Patch provided by Wayne Schuller.
387 Added libglabels library and include file to installed files.
390 Final prep for 1.93.3.
392 2004-02-20 Jim Evins <evins@snaught.com>
394 * src/glabels-batch.c: (main):
395 Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
396 as suggested by Javier Donaire Segarra. This addresses bug #901063.
398 2004-02-16 Jim Evins <evins@snaught.com>
401 If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
404 Added HAVE_FILE_CHOOSER to INCLUDES.
406 * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
407 (gl_file_save_as), (save_as_response):
408 Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
410 2004-02-16 Jim Evins <evins@snaught.com>
412 * src/xml-label-04.c: (xml04_parse_image_props):
413 * src/xml-label-191.c: (xml191_parse_image_props):
414 * src/xml-label.c: (xml_parse_object_image):
415 Delay setting image size until after image has been applied to new
418 2004-02-15 Jim Evins <evins@snaught.com>
420 * src/label-barcode.c: (gl_label_barcode_set_data),
421 (gl_label_barcode_set_props):
422 Don't emit "changed" signal, if no change actually made for these
423 methods. Reduces number of unnecessary redraws of barcodes.
425 * src/label-object.h:
426 * src/label-object.c: (gl_label_object_set_position),
427 (gl_label_object_set_position_relative), (set_size),
428 (gl_label_object_set_size),
429 (gl_label_object_set_size_honor_aspect):
430 Don't emit "changed" signal, if no change actually made for these
433 2004-02-15 Jim Evins <evins@snaught.com>
435 * data/glabels-2.0.dtd:
436 Added specific subtypes for various barcode types.
439 * src/bc.c: (id_to_index), (name_to_index), (gl_barcode_new),
440 (gl_barcode_get_styles_list), (gl_barcode_default_digits),
441 (gl_barcode_can_text), (gl_barcode_text_optional),
442 (gl_barcode_can_csum), (gl_barcode_csum_optional),
443 (gl_barcode_id_to_name), (gl_barcode_name_to_id):
444 Changed API to use a string id, rather than a fixed enumeration. Id and
445 name are separate strings. Added entries to backend table for specific
446 subtypes for various barcode types.
449 * src/bc-postnet.c: (gl_barcode_postnet_new), (postnet_code),
451 Modified to conform to above API. Now more stringent with data length
452 for various subtypes.
454 * src/bc-gnubarcode.h:
455 * src/bc-gnubarcode.c: (gl_barcode_gnubarcode_new),
456 (is_length_valid), (is_length1_valid), (is_length2_valid):
457 Modified to conform to above API. Now more stringent with data length
458 for various subtypes.
460 * src/label-barcode.h:
461 * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
462 (gl_label_barcode_get_props), (get_size):
463 Modified to use above API for storing barcode type.
465 * src/object-editor.h:
466 * src/object-editor-bc-page.c: (style_changed_cb),
467 (gl_object_editor_set_bc_style), (gl_object_editor_get_bc_style):
468 Modified to use above API for storing barcode type.
470 * src/object-editor-size-page.c:
471 (gl_object_editor_prepare_size_page), (aspect_toggle_cb),
472 (w_spin_cb), (h_spin_cb), (size_reset_cb):
475 * src/object-editor.glade:
476 Made barcode style combo's text entry non-editable.
478 * src/print.c: (draw_barcode_object):
479 Modified to use above API for barcode type.
481 * src/view-barcode.c: (update_object_from_editor_cb),
482 (update_editor_from_object_cb),
483 (gl_view_barcode_create_event_handler), (draw_barcode):
484 Modified to use above API for barcode type.
486 * src/xml-label-04.c: (xml04_parse_barcode_props):
487 * src/xml-label-191.c: (xml191_parse_barcode_props):
488 * src/xml-label.c: (xml_parse_object_barcode),
489 (xml_create_object_barcode):
490 Modified to use above API for barcode type.
492 2004-02-07 Jim Evins <evins@snaught.com>
494 * src/stock-pixmaps/Makefile.am:
495 * src/stock-pixmaps/stock_hchain_24.png:
496 * src/stock-pixmaps/stock_hchain_broken_24.png:
497 * src/stock-pixmaps/stock_vchain_24.png:
498 * src/stock-pixmaps/stock_vchain_broken_24.png:
499 Added chain pixmaps borrowed from the gimp's default theme.
502 * src/stock.c: (gl_stock_init), (add_button_icon):
503 Added above pixmaps to stock icon sets. Created add_button_icon() to
504 add these pixmaps sized as GTK_ICON_SIZE_BUTTON.
506 * src/wdgt-chain-button.h
507 * src/wdgt-chain-button.c
510 Added this Modified version of gimpchainbutton widget, borrowed from
514 Added acknowledgements of the above borrowing from the gimp.
516 * src/object-editor-size-page.c: (aspect_toggle_cb), (w_spin_cb),
518 * src/object-editor.c: (gl_object_editor_construct_chain_button):
519 * src/object-editor.glade:
520 Replaced the keep aspect ratio check box with the above chain-button
523 * src/text-node.c: (gl_text_node_equal):
525 Added function gl_text_node_equal() to compare text_nodes.
527 * src/label-image.c: (gl_label_image_set_filename):
528 Replaced incomplete text_node comparison code with invocation of
529 gl_text_node_equal. This fixed the problem of not being able to
530 resize an image using the object_editor if the aspect ratio is not
533 2004-02-04 Jim Evins <evins@snaught.com>
535 * src/object-editor-image-page.c:
536 (gl_object_editor_prepare_image_page):
537 Track "changed" signal of pixmap entry's GtkEntry rather than its
538 "activate" signal -- this catches all changes to the entry rather than
539 just changes resulting from a browse, so one can easily pull previous
540 entries from the history. (This change is marked below on 2004-02-03,
541 but somehow never got checked in.)
543 * src/view-highlight.c: (sl_resize_event_handler),
544 (sr_resize_event_handler), (st_resize_event_handler),
545 (sb_resize_event_handler):
546 Side resize handles will now confirm the actual resize that the object
547 accepted before adjusting position parameters. Previously some interesting
548 things happened when resizing a barcode to its minimum size.
550 2004-02-03 Jim Evins <evins@snaught.com>
552 * src/object-editor-image-page.c:
553 (gl_object_editor_prepare_image_page):
554 Track "changed" signal of pixmap entry's GtkEntry rather than its
555 "activate" signal -- this catches all changes to the entry rather than
556 just changes resulting from a browse, so one can easily pull previous
557 entries from the history.
559 * src/view-highlight.c: (tl_resize_event_handler),
560 (tr_resize_event_handler), (bl_resize_event_handler),
561 (br_resize_event_handler):
562 Allow control key to be dropped while dragging a corner resize handle
563 without losing the aspect ratio lock.
565 2004-02-02 Jim Evins <evins@snaught.com>
567 * src/label-image.c: (gl_label_image_set_filename):
568 When setting a new filename adjust size such that the aspect ratio of
569 the image is preserved using the current size as a bounding box.
571 * src/view-image.c: (update_object_from_editor_cb):
572 When updating object from editor, feed back possible size changes to
573 editor as a result of a possible change in image.
575 * src/object-editor-size-page.c: (size_reset_cb):
576 Fixed typo when blocking spin handlers. If the base size is larger than
577 the max size, treat max size as a bounding box while keeping aspect
581 2004-02-02 Jim Evins <evins@snaught.com>
583 * src/label-object.h:
584 * src/label-object.c: (gl_label_object_set_size),
585 (gl_label_object_set_size_honor_aspect):
586 Added gl_label_object_set_size_honor_aspect() which will maintain the
587 current aspect ratio by modifying the supplied w or h apropriately.
589 * src/view-highlight.c: (tl_resize_event_handler),
590 (tr_resize_event_handler), (bl_resize_event_handler),
591 (br_resize_event_handler):
592 Corner handles will now maintain the current aspect ratio if the
593 control key is pressed while resizing. This addresses feature
597 2004-01-31 Jim Evins <evins@snaught.com>
600 * data/avery-us-templates.xml:
601 Added entries for "LSK-3," "LSK-5," and "LSK-8." Submitted by JBadger.
603 * libglabels/template.c: (read_template_files_from_dir):
604 Corrected problem with testing for extensions.
606 * src/object-editor.glade:
607 Corrected grouping of radio buttons in barcode data page.
609 * src/print.c: (draw_barcode_object):
610 * src/view-barcode.c: (draw_barcode):
611 Corrected problem with calculation of y_offset for locating characters.
613 2004-01-24 Jim Evins <evins@snaught.com>
616 * data/avery-us-templates.xml:
617 Added Avery 5824, submitted by Fred Bacon.
619 2004-01-20 Jim Evins <evins@snaught.com>
621 Catching up on a couple of backlogged user template submissions.
623 * data/avery-iso-templates.xml:
624 Added "DECAdry OLW-4731" and "DECAdry DLW-1731" aliases for Avery 7160.
625 Suggested by Linas Jakucionis.
627 * data/zweckform-iso-templates.xml:
628 Added Zweckform 4760, submitted by Thomas Vill.
631 Updated to reflect above submissions.
633 2004-01-06 Jim Evins <evins@snaught.com>
635 Split-out template.[ch], paper.[ch], xml-template.[ch], xml-paper.[ch], and
636 xml.[ch] into a separate library called libglabels, to facilitate third
637 party use of glabels template files. This was suggested by Wayne Schuller.
638 Once split-out, some modifications to the structures and functions to
639 make a cleaner more useful API, hopefully. Rather extensive changes have
640 propogated to other modules.
648 * src/xml-template.h:
649 * src/xml-template.c:
652 These files have been moved to libglabels/. API cleanup performed.
654 * libglabels/libglabels.h:
655 * libglabels/libglabels-private.h:
656 * libglabels/Makefile.am:
657 These files have been added to finish out libglabels.
664 Modified to reflect new sets of files in src/ and libglabels/.
666 * COPYING.LIBGLABELS:
668 Added copy of the LGPL for libglabels, and a copy the GFDL for
671 * src/glabels-batch.c:
673 * src/label.c: (gl_label_finalize), (gl_label_set_template),
676 * src/prefs-model.c: (gl_prefs_model_load_settings):
677 * src/print-dialog.c:
678 * src/print.c: (gl_print_simple), (gl_print_merge_collated),
679 (gl_print_merge_uncollated), (gl_print_batch), (print_info_free),
680 (print_crop_marks), (print_label), (draw_outline),
681 (clip_to_outline), (clip_punchouts):
682 * src/template-designer.c: (construct_pg_size_page),
683 (pg_size_page_changed_cb), (layout_page_changed_cb),
684 (print_test_cb), (build_template):
685 * src/util.c: (gl_util_fraction):
687 * src/view.c: (draw_bg_fg_layers), (draw_bg_fg_rect),
688 (draw_bg_fg_rounded_rect), (draw_bg_fg_round), (draw_bg_fg_cd),
689 (draw_bg_fg_cd_bc), (draw_markup_layer), (draw_markup_margin),
690 (draw_markup_margin_rect), (draw_markup_margin_rounded_rect),
691 (draw_markup_margin_round), (draw_markup_margin_cd),
692 (draw_markup_margin_cd_bc), (draw_markup_line),
693 (draw_markup_circle), (gl_view_copy):
694 * src/wdgt-media-select.c: (gl_wdgt_media_select_construct),
695 (page_size_entry_changed_cb), (details_update), (get_layout_desc),
696 (get_label_size_desc):
697 * src/wdgt-mini-preview.c:
698 (gl_wdgt_mini_preview_set_label_by_name), (mini_outline_list_new),
700 * src/wdgt-print-copies.c: (gl_wdgt_print_copies_construct):
701 * src/wdgt-print-merge.c: (gl_wdgt_print_merge_construct):
702 * src/wdgt-rotate-label.c: (mini_preview_canvas_update),
703 (gl_wdgt_rotate_label_set_template_name), (cdbc_item):
704 * src/wdgt-rotate-label.h:
705 * src/xml-label-04.c: (xml04_parse_media_description):
706 * src/xml-label-191.c: (gl_xml_label_191_parse),
707 (xml191_parse_sheet), (xml191_parse_label), (xml191_parse_layout),
708 (xml191_parse_markup), (xml191_parse_alias):
709 * src/xml-label.c: (xml_doc_to_label), (xml_parse_label),
711 Various changes to accomodate new libglabels API.
713 2004-01-03 Jim Evins <evins@snaught.com>
718 2004-01-03 Jim Evins <evins@snaught.com>
721 Added acknowledgement of contributions by Wayne Schuller.
723 * src/commands.c: (gl_cmd_file_print):
724 Create extra reference to print dialog, so that it can be properly re-used.
726 * src/mygal/mygal-combo-box.h:
727 * src/mygal/mygal-combo-box.c:
728 (mygal_combo_box_popup_hide_unconditional),
729 (mygal_combo_box_popup_display), (mygal_combo_box_set_display),
730 (gtk_combo_set_tearoff_state), (mygal_combo_box_construct),
731 (mygal_combo_box_set_arrow_relief), (mygal_combo_box_set_title),
732 (mygal_combo_box_set_tearable):
733 Changed all occurances of GTK_IS_COMBO_BOX to MYGAL_IS_COMBO_BOX, to
734 complete the rename of this widget to prevent namespace collisions
737 * src/prefs-dialog.glade:
738 Fixed alignment of Fill/Color widgets.
740 2004-01-03 Jim Evins <evins@snaught.com>
742 * data/avery-iso-templates.xml:
743 Added user submitted templates.
744 Avery 8435A & 8435B, submitted by Ludger Solbach.
747 Added minimal documentation, noting the new template designer.
749 2004-01-03 Jim Evins <evins@snaught.com>
751 * pixmaps/ex-rect-size.png:
752 * pixmaps/ex-round-size.png:
753 * pixmaps/ex-cd-size.png:
754 * pixmaps/Makefile.am:
755 Added ex-rect-size.png, ex-round-size.png, and ex-cd-size.png image
756 files to be used as illustrations/examples in the template-designer.
758 * src/template-designer.c: (construct_rect_size_page),
759 (construct_round_size_page), (construct_cd_size_page),
760 (construct_nlayouts_page), (rect_size_page_prepare_cb),
761 (round_size_page_prepare_cb), (cd_size_page_prepare_cb),
762 (layout_page_prepare_cb), (build_template):
763 * src/template-designer.glade:
764 Added illustrations for rectangle, round, and cd label size pages.
765 Added margin spinboxes to these pages, and now add a margin markup
766 to the constructed template. Added realistic default values for
767 some of the size spinboxes. Cleaned up the code for setting spinbox
768 ranges on the layouts page.
770 2004-01-02 Jim Evins <evins@snaught.com>
772 * src/object-editor-size-page.c: (h_spin_cb):
773 Fixed cut-n-paste error in h_spin_cb that loaded h from
774 the wrong spinbutton.
776 * src/object-editor.h:
777 * src/object-editor.c: (gl_object_editor_class_init),
778 (gl_object_editor_changed_cb), (gl_object_editor_size_changed_cb):
779 * src/object-editor-private.h:
780 * src/object-editor-size-page.c: (w_spin_cb), (h_spin_cb),
782 Added "size_changed" signal.
784 * src/view-text.c: (construct_properties_editor),
785 (update_object_from_editor_cb),
786 (update_object_from_editor_size_cb):
787 Track size changes from object editor separately from other
788 properties. This is so the default size (0,0) of a text
789 object is not modified unintentionally.
791 2003-12-30 Wayne Schuller <k_wayne@linuxpower.org>
793 Added feature: line spacing - allows you to comfortably space a text box to
794 fit a label perfectly.
796 * data/glabels-2.0.dtd:
797 * src/label-object.c: (gl_label_object_set_text_line_spacing),
798 (gl_label_object_get_text_alignment),
799 (gl_label_object_get_text_line_spacing):
800 * src/label-object.h:
801 * src/label-text.c: (gl_label_text_class_init),
802 (gl_label_text_instance_init), (copy), (get_size),
803 (set_text_line_spacing), (get_text_alignment),
804 (get_text_line_spacing):
805 * src/object-editor-private.h:
806 * src/object-editor-text-page.c:
807 (gl_object_editor_prepare_text_page),
808 (gl_object_editor_set_text_line_spacing),
809 (gl_object_editor_get_text_line_spacing):
810 * src/object-editor.glade:
811 * src/object-editor.h:
812 * src/prefs-dialog.c: (construct_object_page),
813 (update_object_page_from_prefs), (update_prefs_from_object_page):
814 * src/prefs-dialog.glade:
815 * src/prefs-model.c: (gl_prefs_model_save_settings),
816 (gl_prefs_model_load_settings), (get_float):
818 * src/print.c: (draw_text_object):
820 * src/view-text.c: (update_object_from_editor_cb),
821 (update_editor_from_object_cb),
822 (gl_view_text_create_event_handler), (draw_hacktext):
823 * src/view.c: (gl_view_construct),
824 (gl_view_set_selection_text_line_spacing),
825 (gl_view_set_default_text_line_spacing),
826 (gl_view_get_default_text_line_spacing):
828 * src/xml-label.c: (xml_parse_toplevel_span),
829 (xml_create_toplevel_span):
831 2003-12-30 Jim Evins <evins@snaught.com>
833 * src/template-designer.c:
834 * src/template-designer.h:
835 * src/template-designer.glade:
836 New template designer assistant.
840 Added entries for src/template-designer.* files.
842 * pixmaps/ex-1layout.png
843 * pixmaps/ex-2layouts.png
844 * pixmaps/Makefile.am:
845 Added the new image files ex-*.png used as illustrations in the
846 template designer assistant.
848 * src/print-dialog.h:
849 * src/print-dialog.c: (gl_print_dialog_finalize),
850 (gl_print_dialog_new), (gl_print_dialog_construct),
851 (gl_print_dialog_force_outline_flag):
852 Changed first argument of gl_print_dialog_new() from glView to glLabel,
853 to support printing from the template designer assistant which does not
854 have a full-fledged view. Nothing else from the view object was being
855 used by the dialog anyway.
857 Added the gl_print_dialog_force_outline_flag() method, for better
858 integration with the template designer assistant.
862 * src/commands.c: (gl_cmd_file_template_designer),
864 Modified print command to provide label instead of view to dialog.
865 Added the gl_cmd_file_template_designer() command to invoke the
866 template designer assistant.
869 * src/glabels-ui.xml:
870 Added support for template designer assistant.
872 * src/wdgt-mini-preview.h:
873 * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_set_template),
874 (gl_wdgt_mini_preview_set_bg_color):
875 Preview is now centered in canvas. Added
876 gl_wdgt_mini_preview_set_bg_color() to allow the template designer
877 assistant to match the background color with its own.
879 * src/print.c: (clip_to_outline):
880 Fixed really stupid bug when adding waste to clip region of rectangular
881 labels/cards. Each side of the clip region needs to be extended by
882 twice the waste margin, as well as negatively offset by the waste
885 2003-12-28 Jim Evins <evins@snaught.com>
887 * src/prefs-dialog.c: (update_object_page_from_prefs):
888 Block intermediary function align_toggle_cb() instead of
889 update_prefs_from_object_page() for the three alignment
892 2003-12-28 Wayne Schuller <k_wayne@linuxpower.org>
894 * src/file.c: (gl_file_new), (gl_file_properties):
895 Swap button order and set default for higificatory pleasure.
897 2003-12-27 Jim Evins <evins@snaught.com>
899 * barcode-0.98/Makefile.am:
900 One last time: removed doc/Makefile and po/Makefile.in.in from
903 2003-12-27 Jim Evins <evins@snaught.com>
905 * barcode-0.98/Makefile.am:
906 Removed config.stat entry from EXTRA_DIST files.
908 * barcode-0.98/Makefile.in:
911 2003-12-27 Jim Evins <evins@snaught.com>
914 Updated to work with latest gnome-common package from CVS.
915 Removed recursive configuration of barcode-0.98.
922 Added barcode-0.98/ as a SUBDIR, and removed dist-hook.
924 * barcode-0.98/Makefile.in:
925 * barcode-0.98/configure.in:
926 * barcode-0.98/Makefile.am:
927 * barcode-0.98/README.glabels:
928 Modified to ignore the barcode package's build system, and build
929 as a part of glabels.
930 Renamed Makefile.in to Makefile.in.dist.
931 Renamed configure.in to configure.in.dist.
932 Added barcode-0.98/Makefile.am and barcode-0.98/README.glabels.
935 * src/mygal/Makefile.am:
936 * src/recent-files/Makefile.am:
937 In order to build against the GNOME 2.5 platform,
938 all use of *_DISABLE_DEPRECATED compile-time flags has been removed.
940 * src/mygal/Makefile.am:
941 * src/mygal/mygal-combo-box.c:
942 * src/mygal/mygal-combo-box.h:
943 * src/mygal/widget-color-combo.c:
944 * src/mygal/widget-color-combo.h:
946 In order to build against the GNOME 2.5 platform,
947 Renamed gtk_combo_box widget to mygal_combo_box, to prevent namespace
948 collisions with the real gtk_combo_box widget, now a part of gtk.
950 2003-12-26 Jim Evins <evins@snaught.com>
956 Moved local versions of get_home_data_dir() in paper.c and
957 template.c to util package. Cleaned up formatting in
961 In gl_template_register() save a copy of the template in
962 ~/.glabels if the template is not known. Still need to
963 handle duplicate filename case and duplicate name but
964 different template case.
968 Moved local definition of NAME_SPACE macro from xml-label.c
971 * src/xml-template.c:
972 * src/xml-template.h:
973 Added function gl_xml_template_write_template_to_file(), used
974 in gl_template_register().