]> git.sur5r.net Git - glabels/blobdiff - glabels2/ChangeLog
2004-08-14 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / ChangeLog
index e03e65568d687a9568c3db7858576f441671c211..811a8ec7f6315330ed8502c3ce2f8699325c00db 100644 (file)
@@ -1,3 +1,462 @@
+2004-08-14  Jim Evins  <evins@snaught.com>
+
+       * po/ja.po:
+               Updated 2.0.x translation by Takeshi AIHANA <aihana@gnome.gr.jp>.
+
+2004-08-14  Jim Evins  <evins@snaught.com>
+
+       Fixes for Bug #1008181.
+
+       * src/bc.c: (gl_barcode_default_digits):
+               Make a format of zero digits, harmless.
+       * src/xml-label.c: (xml_parse_object_barcode):
+               Set default value of the format property of barcode objects to 10, not
+               zero.  This will prevent crashes when reading pre 2.0.x files.
+
+2004-08-09  Jim Evins  <evins@snaught.com>
+
+       * NEWS:
+       * TODO:
+       * help/C/glabels-C.omf:
+       * help/C/glabels.xml:
+               Brought documentation up-to-date for 2.0.0 release.
+       
+2004-08-09  Jim Evins  <evins@snaught.com>
+
+       These are hopefully the final preparations for 2.0.0.
+
+       * data/mime/Makefile.am:
+               Include glabels.xml in EXTRA_DIST.
+       * configure.in:
+               - Updated comment style.
+               - Added LIBGLABELS_VERSION_INFO macro, updated Current.
+               - Added package and version info to configuration printout
+               - Update version to 2.0.0
+       * libglabels/Makefile.am:
+               Use the new LIBGLABELS_VERSION_INFO macro.
+
+2004-08-09  Jim Evins  <evins@snaught.com>
+
+       * configure.in:
+       * glabels.spec.in:
+               Cleanup of required library macros.
+
+2004-08-08  Jim Evins  <evins@snaught.com>
+
+       * glabels.spec.in:
+               - Updated URL
+               - More specific of what to install in /usr/bin and /usr/lib
+               - Remove built mime registration files from staging directory
+
+2004-08-08  Jim Evins  <evins@snaught.com>
+
+       * data/mime/Makefile.am:
+               Fixed typo:  key_files should have been keys_files.
+
+2004-08-08  Jim Evins  <evins@snaught.com>
+
+       Reorganization of runtime data files.  Also added registration of mimetype with
+       new freedesktop.org mime database if available.
+       
+       * data/*
+               Moved files to appropriate subdirectories, creating local Makefile.am
+               in each subdirectory.
+               - Moved paper-sizes.xml and *-templates.xml to templates subdirectory.
+                 These are now installed at $datadir/glabels/templates.
+               - Moved glabels.1 to man subdirectory.
+               - Moved glabels-2.0.dtd to dtd subdirectory.
+               - Moved glabels.desktop.in to desktop subdirectory.
+               - Moved glabels.keys.in and glabels.mime to mime subdirectory.
+       * data/pixmaps/*
+               Moved "./pixmaps" to "./data/pixmaps"
+       * data/ui/*
+               Moved src/glabels-ui.xml to data/ui directory. Created Makefile.am.
+       * data/glade/*
+               Moved libglade files from src to data/glade. Created Makefile.am.
+       * Makefile.am:
+               Removed pixmaps from SUBDIRS.
+       * configure.in:
+               - Removed pixmaps from makefiles.
+               - Added makefiles for new subdirs of data.
+               - Added tests for freedesktop.org mime database.
+       * glabels.spec.in:
+               - Added tests for freedesktop.org mime database for post install and
+                 post un-install actions.
+       * libglabels/Makefile.am:
+               Moved system template files to $(datadir)/glabels/templates.
+       * libglabels/libglabels-private.h:
+               Moved system template files to $(datadir)/glabels/templates.
+       * po/POTFILES.in:
+               - Accounted for movement of ui and libglade files.
+               - Added missing .in files.
+               - Reorganized by directory.
+       * src/Makefile.am:
+               Accounted for movement of ui and libglade files.
+       * data/mime/glabels.xml.in:
+               New file for registering with freedesktop.org mime database.
+
+2004-08-07  Jim Evins  <evins@snaught.com>
+
+       * src/recent-files/*:
+               Re-synced to latest libegg/recent-files.
+       
+2004-08-07  Jim Evins  <evins@snaught.com>
+
+       * Makefile.am:
+       * configure.in:
+       * help/*
+               Renamed "./doc" directory to "./help" which contains user documentation,
+               to be more consistent with other GNOME applications.
+       
+
+2004-07-26  Jim Evins  <evins@snaught.com>
+
+       * src/merge-properties-dialog.c: (gl_merge_properties_dialog_init):
+               Corrected button order of merge properties dialog.
+
+2004-07-18  Jim Evins  <evins@snaught.com>
+
+       * data/glabels-2.0.dtd:
+       * src/bc.c: (gl_barcode_default_digits), (gl_barcode_can_freeform),
+       (gl_barcode_get_prefered_n):
+       * src/bc.h:
+       * src/label-barcode.c: (copy), (gl_label_barcode_set_props),
+       (gl_label_barcode_get_props), (get_size):
+       * src/label-barcode.h:
+       * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page),
+       (style_changed_cb), (gl_object_editor_set_bc_style),
+       (gl_object_editor_get_bc_style):
+       * src/object-editor-data-page.c: (data_radio_toggled_cb),
+       (gl_object_editor_set_data), (gl_object_editor_get_data):
+       * src/object-editor-private.h:
+       * src/object-editor.c: (gl_object_editor_set_key_names):
+       * src/object-editor.glade:
+       * src/object-editor.h:
+       * src/print.c: (draw_barcode_object):
+       * src/view-barcode.c: (update_object_from_editor_cb),
+       (update_editor_from_object_cb),
+       (gl_view_barcode_create_event_handler), (draw_barcode):
+       * src/xml-label-04.c: (xml04_parse_barcode_props):
+       * src/xml-label-191.c: (xml191_parse_barcode_props):
+       * src/xml-label.c: (xml_parse_object_barcode),
+       (xml_create_object_barcode):
+               Added "format" attribute to barcode objects.  This attribute is used
+               to properly format freeform barcodes barcodes prior to merge data is
+               applied, so that barcodes can be accurately layed out.  This addresses
+               remaining issues of feature request #824787.  Also added an example of
+               the format in the object editor.
+
+2004-07-12  Jim Evins  <evins@snaught.com>
+
+       Various code cleanups.
+
+       * src/label-barcode.c:
+               Removed unneeded include of gnome-glyphlist.h.
+       
+       * src/label-text.c: (get_size):
+               Fixed memory leak: unref glyphlists when done with them.
+       
+       * src/object-editor-bc-page.c: (gl_object_editor_prepare_bc_page):
+       * src/object-editor-data-page.c:
+       (gl_object_editor_prepare_data_page):
+       * src/object-editor-image-page.c:
+       (gl_object_editor_prepare_image_page):
+       * src/object-editor-line-page.c:
+       (gl_object_editor_prepare_line_page):
+       * src/object-editor-lsize-page.c:
+       (gl_object_editor_prepare_lsize_page):
+       * src/object-editor-position-page.c:
+       (gl_object_editor_prepare_position_page):
+       * src/object-editor-size-page.c:
+       (gl_object_editor_prepare_size_page):
+       * src/object-editor-text-page.c:
+       (gl_object_editor_prepare_text_page):
+               Removed unneeded size groups, originally intended to keep widgets aligned.
+               Now use tables to lay these out in object-editor.glade.
+       
+       * src/print.c: (draw_text_object):
+               Fixed memory leak: unref glyphlists when done with them.
+
+       * src/view-barcode.c: (draw_barcode):
+               Fixed memory leak: unref glyphlists when done with them.
+
+       * src/view-text.c: (update_object_from_editor_cb), (draw_hacktext):
+               - Removed unneeded cast of gl_object_editor_get_text_line_spacing()s
+                 return value.
+               - Fixed memory leak: unref glyphlists when done with them.
+
+2004-07-11  Jim Evins  <evins@snaught.com>
+
+       * data/glabels-2.0.dtd:
+       * src/label-text.c: (gl_label_text_instance_init), (copy),
+       (gl_label_text_set_auto_shrink), (gl_label_text_get_auto_shrink):
+       * src/label-text.h:
+       * src/object-editor-private.h:
+       * src/object-editor-text-page.c:
+       (gl_object_editor_prepare_text_page),
+       (gl_object_editor_set_text_auto_shrink),
+       (gl_object_editor_get_text_auto_shrink):
+       * src/object-editor.c: (gl_object_editor_set_key_names):
+       * src/object-editor.glade:
+       * src/object-editor.h:
+       * src/print.c: (draw_text_object):
+       * src/view-text.c: (update_object_from_editor_cb),
+       (update_editor_from_object_cb):
+       * src/xml-label.c: (xml_parse_object_text),
+       (xml_create_object_text):
+               Added option to allow document merge to auto shrink text size to fit
+               within the text box.  The code in print.c that actually shrinks the
+               text is loosely based on a patch submitted by Mark Harrison
+               <mark.harrison@velocitynet.com.au>.  This addresses feature request
+               #661421.
+       
+2004-07-11  Jim Evins  <evins@snaught.com>
+
+       * data/glabels-2.0.dtd:
+       * libglabels/template.c: (gl_template_rect_label_type_new),
+       (gl_template_round_label_type_new),
+       (gl_template_cd_label_type_new), (gl_template_label_type_dup),
+       (template_full_page):
+       * libglabels/template.h:
+       * libglabels/xml-template.c: (xml_parse_label_rectangle_node),
+       (xml_create_label_node):
+       * pixmaps/ex-rect-size.png:
+       * src/print.c: (clip_to_outline), (clip_punchouts):
+       * src/template-designer.c: (construct_rect_size_page),
+       (rect_size_page_prepare_cb), (layout_page_prepare_cb),
+       (build_template):
+       * src/template-designer.glade:
+       * src/xml-label-191.c: (xml191_parse_label):
+               Modifications to allow separate horizontal (x_waste) and vertical (y_waste)
+               properties for rectangular labels.  Templates remain backwards compatible,
+               but this breaks the libglabels API (I don't know of anyone outside of
+               glabels using libglabels at this time -- what can I say, the program is
+               is still "unstable").  This addresses the suggestion in Feature Request
+               #976313.
+
+2004-07-05  Jim Evins  <evins@snaught.com>
+       * src/print.c: (print_crop_marks), (draw_outline):
+               Changed crop marks and label outlines to black, instead of 25% gray.
+               This addresses debian Bug #257460.
+
+2004-07-05  Jim Evins  <evins@snaught.com>
+
+       * src/object-editor-fill-page.c: (gl_object_editor_set_fill_color):
+       * src/object-editor-line-page.c: (gl_object_editor_set_line_color):
+               Preserve "is_default" of fill and line color_combos when creating from
+               existing objects.
+
+2004-07-02  Jim Evins  <evins@snaught.com>
+
+       * data/glabels.1:
+               Created man page.  Based on page submitted by Matthew J. Lockner, however
+               it has been severely edited.
+       
+       * data/avery-other-templates.xml
+       * data/misc-other-templates.xml:
+               Started new files for predefined templates with non-standard sheet sizes.
+               These have been initially populated with the Avery 06141 and
+               OfficeMax #86112, both provided by Matthew J. Lockner.
+       
+       * data/Makefile.am:
+               Install above manpage and template files.
+       
+       * glabels.spec.in:
+               Make sure we install man pages.
+       
+       * src/glabels-batch.c:
+               Changed short form of help option to '-?' to be consistent with glabels.
+       
+       * AUTHORS:
+               Added acknowledgement for above labels.
+
+2004-07-02  Jim Evins  <evins@snaught.com>
+
+       * src/glabels.c: (main), (save_session_cb):
+               - Now include libbonoboui.h, recent.h, and file.h to provide missing
+                 prototypes.
+               - save_session_cb() now returns gboolean.
+               - Minor formatting changes.
+
+       * src/window.h:
+       * src/window.c:
+               - Now include file.h to provide missing prototype.
+               - gl_window_get_type() now returns GType, not guint.  I believe this may
+                 ultimately be cause of the segfault reported in Bug #982287, since
+                 GType is actually a gulong, which may not be compatible on other
+                 architectures (64bit) -- I cannot personally test this at this time.
+                 I was sloppy in several other xxx_get_type() functions which also
+                 returned guint -- see next group of files:
+       
+       * src/window.c: (gl_window_get_type):
+       * src/canvas-hacktext.c: (gl_canvas_hacktext_get_type):
+       * src/canvas-hacktext.h:
+       * src/hig.c: (gl_hig_alert_get_type), (gl_hig_dialog_get_type),
+       (gl_hig_category_get_type), (gl_hig_vbox_get_type),
+       (gl_hig_hbox_get_type):
+       * src/hig.h:
+       * src/label-barcode.c: (gl_label_barcode_get_type):
+       * src/label-barcode.h:
+       * src/label-box.c: (gl_label_box_get_type):
+       * src/label-box.h:
+       * src/label-ellipse.c: (gl_label_ellipse_get_type):
+       * src/label-ellipse.h:
+       * src/label-image.c: (gl_label_image_get_type):
+       * src/label-image.h:
+       * src/label-line.c: (gl_label_line_get_type):
+       * src/label-line.h:
+       * src/label-object.c: (gl_label_object_get_type):
+       * src/label-object.h:
+       * src/label-text.c: (gl_label_text_get_type):
+       * src/label-text.h:
+       * src/label.c: (gl_label_get_type):
+       * src/label.h:
+       * src/merge-properties-dialog.c:
+       (gl_merge_properties_dialog_get_type):
+       * src/merge-properties-dialog.h:
+       * src/merge-text.c: (gl_merge_text_get_type):
+       * src/merge-text.h:
+       * src/merge.c: (gl_merge_get_type):
+       * src/merge.h:
+       * src/object-editor.c: (gl_object_editor_get_type):
+       * src/prefs-dialog.c: (gl_prefs_dialog_get_type):
+       * src/prefs-dialog.h:
+       * src/prefs-model.c: (gl_prefs_model_get_type):
+       * src/prefs-model.h:
+       * src/print-dialog.c: (gl_print_dialog_get_type):
+       * src/print-dialog.h:
+       * src/template-designer.c: (gl_template_designer_get_type):
+       * src/template-designer.h:
+       * src/ui-property-bar.c: (gl_ui_property_bar_get_type):
+       * src/ui-property-bar.h:
+       * src/ui-sidebar.c: (gl_ui_sidebar_get_type):
+       * src/ui-sidebar.h:
+       * src/view-barcode.c: (gl_view_barcode_get_type):
+       * src/view-barcode.h:
+       * src/view-box.c: (gl_view_box_get_type):
+       * src/view-box.h:
+       * src/view-ellipse.c: (gl_view_ellipse_get_type):
+       * src/view-ellipse.h:
+       * src/view-highlight.c: (gl_view_highlight_get_type):
+       * src/view-highlight.h:
+       * src/view-image.c: (gl_view_image_get_type):
+       * src/view-image.h:
+       * src/view-line.c: (gl_view_line_get_type):
+       * src/view-line.h:
+       * src/view-object.c: (gl_view_object_get_type):
+       * src/view-object.h:
+       * src/view-text.c: (gl_view_text_get_type):
+       * src/view-text.h:
+       * src/view.c: (gl_view_get_type):
+       * src/view.h:
+       * src/wdgt-chain-button.c: (gl_wdgt_chain_button_get_type):
+       * src/wdgt-image-select.c: (gl_wdgt_image_select_get_type):
+       * src/wdgt-image-select.h:
+       * src/wdgt-media-select.c: (gl_wdgt_media_select_get_type):
+       * src/wdgt-media-select.h:
+       * src/wdgt-mini-preview.c: (gl_wdgt_mini_preview_get_type):
+       * src/wdgt-mini-preview.h:
+       * src/wdgt-print-copies.c: (gl_wdgt_print_copies_get_type):
+       * src/wdgt-print-copies.h:
+       * src/wdgt-print-merge.c: (gl_wdgt_print_merge_get_type):
+       * src/wdgt-print-merge.h:
+       * src/wdgt-rotate-label.c: (gl_wdgt_rotate_label_get_type):
+       * src/wdgt-rotate-label.h:
+               - Made sure all xxx_get_type functions returned GType, not guint.  This
+                 was the case in hig.[ch], window.[ch], ui-property-bar.[ch],
+                 ui-sidebar.[ch], view.[ch], wdgt-image-select.[ch],
+                 wdgt-media-select.[ch], wdgt-mini-preview.[ch], wdgt-print-copies.[ch],
+                 wdt-print-merge.[ch], and wdgt-rotate-label.[ch].  See separate
+                 window.[ch] details above for more info.
+               - Reconciled various coding style differences in all xxx_get_type()
+                 functions:
+                       * All prototypes include G_GNUC_CONST.
+                       * All prototypes specify the return value as GType, not GtkType
+                         or guint.
+                       * Info structures are all declared as "static const."
+                       * Generalized the names of type and info variables.
+                       * Miscelaneous formatting.
+
+2004-06-08  Jim Evins  <evins@snaught.com>
+
+       * src/label.c:
+       * src/label.h:
+       * src/xml-label.c:
+       * AUTHORS:
+               Don't touch compression of original file -- still defaults to 9 for
+               new files.  Original patch provided by Javier Donaire Segarra
+               (#912252 in patch tracker).
+
+2004-05-05  Jim Evins  <evins@snaught.com>
+
+       * data/glabels-2.0.dtd:
+               Broke DTD previously when adding new barcode types that contain a
+               plus sign (+).  Simply changed the BC_STYLE_TYPE entity to "CDATA"
+               to avoid the problem.
+       * data/avery-iso-templates.xml:
+       * data/zweckform-iso-templates.xml:
+       * AUTHORS:
+               Added templates for Avery 7165, Zweckform 3688, 4732, and 6021.  Templates
+               provided by Frank Altpeter.
+       * libglabels/xml-template.c: (xml_create_label_node):
+               Reordered markup and layout sub-nodes so that resulting templates will
+               validate against DTD.
+
+2004-03-13  Jim Evins  <evins@snaught.com>
+
+       * src/object-editor-size-page.c: (gl_object_editor_prepare_size_page):
+               Changed spin callback signals from "value-changed" back to "changed."
+               This was accidentally introduced in a previous revision, and can cause
+               size changes just by selecting the size tab.
+
+2004-03-06  Jim Evins  <evins@snaught.com>
+
+       * src/view.c: (draw_grid_layer):
+               For round labels (round and cd) adjust grid so that it lines up with
+               center of label.  Also, no longer draw box around label in the grid layer,
+               it is hidden by he fg layer anyway.  Feature suggested by
+               nemolivier@free.fr.  Although the grid is aligned with the center of the
+               label, the coordinate system is still relative to the upper left corner
+               of the rectangle containing the label.
+
+2004-02-25  Jim Evins  <evins@snaught.com>
+
+       * configure.in:
+               Changed version to 2.0pre1cvs
+       
+       * libglabels/xml-template.c: (gl_xml_template_parse_templates_doc):
+               Removed extra xmlFreeDoc() calls upon error.  Also print the doc->URL
+               instead of doc->name fields when errors encountered.
+
+2004-02-21  Jim Evins  <evins@snaught.com>
+
+       * data/avery-iso-templates.xml:
+               Added aliases for Avery 8651.  Patch provided by Wayne Schuller.
+       
+       * glabels.spec.in:
+               Added libglabels library and include file to installed files.
+               
+       * configure.in:
+               Final prep for 1.93.3.
+
+2004-02-20  Jim Evins  <evins@snaught.com>
+
+       * src/glabels-batch.c: (main):
+               Changed key for setting output filename to GNOME_PRINT_KEY_OUTPUT_FILENAME
+               as suggested by Javier Donaire Segarra.  This addresses bug #901063.
+
+2004-02-16  Jim Evins  <evins@snaught.com>
+
+       * configure.in:
+               If gtk+ >= 2.3.2 then define HAVE_FILE_CHOOSER.
+       
+       * src/Makefile.am:
+               Added HAVE_FILE_CHOOSER to INCLUDES.
+       
+       * src/file.c: (gl_file_open), (open_response), (gl_file_open_real),
+       (gl_file_save_as), (save_as_response):
+               Ported to use GtkFileChooserDialog if HAVE_FILE_CHOOSER is defined.
+
 2004-02-16  Jim Evins  <evins@snaught.com>
 
        * src/xml-label-04.c: (xml04_parse_image_props):