1.12.20
[gnumeric.git] / plugins / excel / ChangeLog
blob5e5d0fafe72e67ee53772bcb5b281d165310dd58
1 2015-02-04  Morten Welinder <terra@gnome.org>
3         * Release 1.12.20
5 2015-02-03  Morten Welinder  <terra@gnome.org>
7         * xlsx-read-drawing.c (xlsx_chart_line): Default is no markers.
8         (xlsx_chart_line_marker): Set has-markers as requested.
10         * xlsx-write.c (xlsx_write_sheet): Don't complain over sheet
11         filter combos.
13         * xlsx-write-drawing.c (xlsx_write_go_style_full): Write font
14         information.
16         * xlsx-read-drawing.c (xlsx_tx_pr): Set the right auto_color flag.
18 2015-02-02  Morten Welinder  <terra@gnome.org>
20         * xlsx-read-drawing.c (xlsx_chart_push_obj): Optionally check for leaks.
21         (xlsx_axis_end): Plug leak.
23         * xlsx-write-drawing.c (xlsx_write_axis): Make axis visible.
25 2015-02-01  Morten Welinder  <terra@gnome.org>
27         * xlsx-write.c (xlsx_write_comments): We cannot use xml:space in
28         comments.
30         * xlsx-read.c (xlsx_comment_end): Plug leak.
32 2015-01-30  Morten Welinder  <terra@gnome.org>
34         * ms-obj.c (ms_obj_read_biff8_obj): Gather orientation.
36         * ms-excel-read.c (ms_sheet_realize_obj): Set orientation.
38 2015-01-28  Morten Welinder  <terra@gnome.org>
40         * ms-excel-write.c (excel_write_other_v8): Export sliders as-if
41         they were scrollbars.
43 2015-01-27  Morten Welinder  <terra@gnome.org>
45         * xlsx-write-drawing.c (xlsx_write_axis): Fix crossing for
46         inverted axis.
48 2015-01-26  Morten Welinder  <terra@gnome.org>
50         * xlsx-write.c (xlsx_write_sheet): Warn about dropped objects.
52         * xlsx-read-drawing.c (xlsx_body_pr): Fix reading angle.  In xlsx
53         positive angles are measured clock-wise.
55         * xlsx-write-drawing.c (xlsx_write_go_style_full): Make sure auto
56         markers don't get rotated or flipped.
58 2015-01-23  Morten Welinder  <terra@gnome.org>
60         * xlsx-write-drawing.c (xlsx_write_go_style_full): Use rotation to
61         handle marker triangles other than up.
63         * xlsx-read-drawing.c (xlsx_rpr_latin): Read typeface from xlsx charts.
64         (xlsx_sppr_xfrm): Rotate marker shapes.
66 2015-01-23  Morten Welinder <terra@gnome.org>
68         * Release 1.12.19
70 2015-01-21  Morten Welinder  <terra@gnome.org>
72         * xlsx-read-drawing.c (xlsx_read_chart): Reset chart position here
73         so we don't accidentally give the first object a (0,0) position.
75 2015-01-21  Morten Welinder  <terra@gnome.org>
77         * xlsx-write-drawing.c (xlsx_write_one_plot): varyColor defaults
78         to TRUE, so be sure to output it for line plots etc.
79         (xlsx_write_one_plot): Set smooth for anything but linear
80         interpolation.
82 2015-01-20  Morten Welinder  <terra@gnome.org>
84         * xlsx-write-drawing.c (xlsx_write_one_plot): Initial export of
85         trend lines.
87         * xlsx-read-drawing.c (xlsx_ser_trendline_type): Initial import of
88         trend lines.
90 2015-01-19  Morten Welinder  <terra@gnome.org>
92         * xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Fix
93         operator precedence.
94         (xlsx_axis_end): Re-use the id of an automatically generated axis
95         if there is one we can delete that happens to have the right role.
97         * xlsx-write-drawing.c (xlsx_write_one_plot): Use
98         xlsx_plottype_from_type_name for readability.
100         * xlsx-utils.c (xlsx_plottype_from_type_name): New function.
102 2015-01-17  Morten Welinder  <terra@gnome.org>
104         * xlsx-write-drawing.c (xlsx_get_axid): New function allowing us
105         to get away from storing truncated pointers as axis ids.
107         * xlsx-read-drawing.c (xlsx_chart_bar_overlap)
108         (xlsx_chart_bar_gap): Fix reading percentages.
109         (xlsx_chart_no_fill): Handle noFill when used to avoid lines
110         between data points.
112         * xlsx-write-drawing.c (xlsx_write_axis): Factor this out from
113         xlsx_write_one_plot.  Write axis label.
114         (xlsx_write_one_chart): Write chart title.
116         * xlsx-read-drawing.c (xlsx_plot_area): Keep the backplane in
117         default style.
119         * xlsx-write-drawing.c (xlsx_write_go_style): Write marker colors.
121         * xlsx-read-drawing.c (xlsx_chart_solid_fill): Fix reading marker
122         colors.
124         * xlsx-write-drawing.c (xlsx_write_go_style): Write marker size.
126         * xlsx-read-drawing.c (xlsx_chart_marker_size): Read marker size.
128         * xlsx-write.c (xlsx_write_cols): Make sure we include a width for
129         default-style columns.  Otherwise XL will see zero width.
131 2015-01-16  Morten Welinder  <terra@gnome.org>
133         * xlsx-write-drawing.c (xlsx_write_go_style): Export line style.
134         (xlsx_write_go_style): Have a first go at exporting marker shapes.
136         * xlsx-read-drawing.c (xlsx_style_line_start): Also point to the
137         right auto_color location so we don't end up ignoring the colors
138         we read.
140 2014-12-16  Morten Welinder  <terra@gnome.org>
142         * xlsx-write-docprops.c (xlsx_meta_write_props_custom_type):
143         Booleans should be saved as "true" or "false", not "t" and "f".
144         Excel refuses to understand the latter.
145         (xlsx_meta_write_props_custom): Don't reuse prop ids.  Excel does
146         not like that.
148         * xlsx-utils.c (xlsx_func_hypgeomdist_output_handler): New handler
149         for HYPGEOMDIST.
151 2014-11-01  Morten Welinder  <terra@gnome.org>
153         * ms-escher.c (ms_escher_get_data): Plug leak.
155         * ms-excel-read.c (excel_read_MULRK): Catch crazy column numbers
156         early.
158 2014-10-30  Morten Welinder  <terra@gnome.org>
160         * ms-excel-read.c (excel_font_get): In case of error, fall back to
161         font 0 if we have that.
162         (ms_wb_get_font_markup): Plug leak.
164         * ms-obj.c (ms_obj_map_forms_obj): Plug leak.
166 2014-10-28  Morten Welinder  <terra@gnome.org>
168         * ms-chart.c (ms_excel_chart_read): Fix double free.
170 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
172         * xlsx-read-drawing.c (xlsx_axis_format): add some support for axis format.
173         * xlsx-write-drawing.c (xlsx_write_one_plot): ditto.
175 2014-10-24  Morten Welinder  <terra@gnome.org>
177         * ms-excel-read.c (excel_get_chars): Plug leak.
179         * xlsx-read.c (xlsx_file_open): Plug leak.
181         * xlsx-read-drawing.c (cb_axis_set_position): Plus leak.
183 2014-09-25  Morten Welinder <terra@gnome.org>
185         * Release 1.12.18
187 2014-09-20  Morten Welinder  <terra@gnome.org>
189         * xlsx-write.c (xlsx_write_cells): xml:space evidently isn't
190         allowed in here.
192 2014-09-18  Jean Brefort  <jean.brefort@normalesup.org>
194         * ms-chart.c (chart_write_axis): save axis format. [#736656]
195         * ms-excel-write.c (set_ifmt), (excel_write_add_object_format):
196         * ms-excel-write.h:
198 2014-09-10  Morten Welinder  <terra@gnome.org>
200         * xlsx-read.c: Factor out rich text nodes into a macro.  This
201         replaces having three copies, more or less up to date.
203 2014-09-08  Morten Welinder  <terra@gnome.org>
205         * xlsx-read.c (xlsx_cell_inline_begin, xlsx_cell_inline_end): New
206         functions to deal with non-shared rich text strings.
208         * xlsx-write.c (xlsx_write_cells): Write string values that are
209         not formula results and not shared using the proper "inlineStr"
210         type.  Neither Excel nor LO really cares, but someone else does,
211         see bug 736202.  As a side effect, this will improve the rich-text
212         situation.
214 2014-07-27  Morten Welinder  <terra@gnome.org>
216         * ms-excel-write.c (excel_write_DIMENSION): Fix off-by-one, see
217         #733771.
219 2014-06-09  Morten Welinder <terra@gnome.org>
221         * Release 1.12.17
223 2014-06-05  Morten Welinder  <terra@gnome.org>
225         * xlsx-write.c (xlsx_write_rich_text): Fix color attribute.  Only
226         write xml:space attribute when text has spaces.
227         (xlsx_write_rich_text): Only write xml:space in contexts where the
228         schema allow it.  The shared strings table does not allow it.
230 2014-06-03  Morten Welinder  <terra@gnome.org>
232         * xlsx-write.c (xlsx_write_rich_text): Add two missing "break;".
233         Write only attributes that are present.  Handle superscript/subscript.
234         (xlsx_write_shared_strings): Handle rich text.
235         (xlsx_write_cells): Don't actually store a markup format as a cell
236         format.
238         * xlsx-read.c (xlsx_run_color): Handle indexed colours.
239         (xlsx_run_weight): Fix handling of bold.
240         (xlsx_run_underline): Fix handling of underline.
241         (xlsx_run_vertalign): New function for superscript/subscript.
242         (add_attr): New function to ensure start_index and end_index get
243         initialized.
245 2014-06-02  Morten Welinder  <terra@gnome.org>
247         * xlsx-read.c (handle_delayed_names): Handle empty string for
248         expression as #REF for the benefit of LO.
250 2014-05-31  Morten Welinder  <terra@gnome.org>
252         * xlsx-write.c (xlsx_write_cells): Support value formats.  Fixes
253         #724517.
254         (xlsx_write_workbook): Make styles hash use proper hash and
255         equality functions.
257 2014-05-23  Morten Welinder <terra@gnome.org>
259         * Release 1.12.16
261 2014-04-30  Morten Welinder <terra@gnome.org>
263         * Release 1.12.15
265 2014-04-24  Morten Welinder  <terra@gnome.org>
267         * xlsx-read-drawing.c (xlsx_chart_title_end): Fix manual
268         positioning of chart titles.
269         (xlsx_chart_layout_mode): Read as enum, not bool.  (We still
270         ignore.)
272 2014-04-20  Morten Welinder  <terra@gnome.org>
274         * xlsx-read-drawing.c (xlsx_chart_solid_fill): When we see a
275         GO_STYLE_FONT marker, solidFill refers to font colour.
276         (xlsx_chart_text_start): Set sp_type flag GO_STYLE_FONT.
277         (xlsx_chart_text): Clear flag.
278         (xlsx_style_line_start): Handle line width.
280 2014-04-19  Morten Welinder  <terra@gnome.org>
282         * xlsx-read-drawing.c: Constify simple_enum tables and make sure
283         to check the return value.
285 2014-04-19  Morten Welinder  <terra@gnome.org>
287         * xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Fix
288         reading object positions.
290 2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
292         * xlsx-write-drawing.c (xlsx_pts_to_emu): new
293         (xlsx_write_object_anchor): add offset arguments
294         (xlsx_write_objects): pass offsets to xlsx_write_object_anchor
296 2014-04-17  Morten Welinder  <terra@gnome.org>
298         * xlsx-read-drawing.c (xlsx_chart_gridlines): Handle minorgrid
299         too.
300         (xlsx_axis_info_free): Plug leak.
302 2014-04-16  Jean Brefort  <jean.brefort@normalesup.org>
304         * ms-chart.c (valuerange): ignore the cross value when auto crossing.
306 2014-04-14  Morten Welinder  <terra@gnome.org>
308         * xlsx-read.c (xlsx_ext_begin): Don't complain over "ext".
310 2014-04-13  Morten Welinder <terra@gnome.org>
312         * Release 1.12.14
314 2014-04-12  Morten Welinder  <terra@gnome.org>
316         * xlsx-read-drawing.c: Add more xml grammer.
318 2014-03-21  Morten Welinder  <terra@gnome.org>
320         * ms-excel-write.c (txomarkup_new): Take also string argument.
321         Don't delete last run without attributes unless it is beyond the
322         string.
324         * ms-excel-read.c (ms_wb_get_font_markup): Defined a font's pango
325         attributes in terms of how it differs from font 0.
327         * xlsx-write.c (xlsx_find_font): Use new gnm_style_equal_elem.
328         (xlsx_find_border): Ditto.
329         (xlsx_find_fill): Ditto.
331         * xlsx-utils.c (xlsx_output_string, xlsx_string_parser): New
332         function.  Fixes #726824.
334         * xlsx-read.c (xlsx_cond_fmt_rule_begin): Match
335         xlsx_write_cond_rule changes.
337         * xlsx-write.c (xlsx_write_cond_rule): Write alternate formulas
338         even for "Starts with" and friends.
340         * xlsx-read.c (xlsx_cond_fmt_formula_end): Don't throw critical if
341         we fail to parse the expression.
343 2014-03-20  Morten Welinder  <terra@gnome.org>
345         * xlsx-write.c (xlsx_write_background): Be careful about fields
346         ordering.  Excel cares.
347         (xlsx_write_cond_rule): Fix misunderstanding about type names.
349 2014-03-19  Morten Welinder  <terra@gnome.org>
351         * xlsx-write.c (xlsx_find_predefined_fill): Take care not to drop
352         a background colour even if we have a "none" fill.
354         * xlsx-read.c (xlsx_cond_fmt_rule_end): Reverse the
355         alternate-expression uses for certain conditions.
357         * xlsx-write.c (xlsx_write_dxfs): New function.
359         * xlsx-read.c (xlsx_CT_CustomFilter): Avoid mixing enums.
360         (xlsx_cond_fmt_formula_end): Parse expressions in the right parse
361         position.
362         (xlsx_cond_fmt_rule_begin): Don't complain over type "expression".
363         (xlsx_dxf_numfmt): New function to read conditional number
364         formats.
366 2014-03-18  Morten Welinder <terra@gnome.org>
368         * Release 1.12.13
370 2014-03-17  Morten Welinder  <terra@gnome.org>
372         * ms-excel-write.c (cb_write_condition): Fix handling of font
373         weight.
375 2014-03-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
377         * xlsx-read.c (xlsx_styles_dtd): add stubs
379 2014-03-16  Morten Welinder  <terra@gnome.org>
381         * ms-excel-util.c (xls_header_footer_import): Treat a NULL string
382         as an empty string.  Redhat #1076912.
384 2014-03-15  Morten Welinder  <terra@gnome.org>
386         * ms-excel-write.c (cb_write_condition): Store superscript and
387         subscript in the right place.
389         * ms-excel-read.c (excel_read_CF): Improve record length checks.
391 2014-03-12  Morten Welinder  <terra@gnome.org>
393         * ms-excel-write.c (cb_write_condition): Use
394         gnm_style_cond_get_alternate_expr for conditions not available in
395         xls.
397         * ms-excel-read.c (excel_read_CF): Undo the alternate expression
398         stuff.
400 2014-03-10  Morten Welinder  <terra@gnome.org>
402         * xlsx-read.c (xlsx_CT_vertAlign): Read super/subscript.
403         (xlsx_CT_CustomFilter): Preliminary reading of auto filters.
405         * xlsx-write.c (xlsx_write_fonts): Save super/sub attribute.
407 2014-03-05  Morten Welinder  <terra@gnome.org>
409         * ms-formula-write.c (excel_write_prep_expr): Rewrite in terms of
410         gnm_expr_walk.
412 2014-03-03  Morten Welinder <terra@gnome.org>
414         * Release 1.12.12
416 2014-03-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
418         * xlsx-write.c (xlsx_write_autofilters): write blank filter info
420 2014-03-01  Morten Welinder  <terra@gnome.org>
422         * xlsx-write.c (xlsx_write_autofilters): First stab at writing
423         most auto-filter selections.
425         * ms-excel-read.c (excel_sheet_insert_val): Don't set value
426         format.  We already the full style for the cell in
427         excel_set_xf.  Fixes #725453.
429 2014-02-28  Morten Welinder  <terra@gnome.org>
431         * crypt-md4.c: Add missing include.  (From Gentoo.)
433 2014-02-26  Morten Welinder  <terra@gnome.org>
435         * ms-biff.c (ms_biff_query_next): Do auto-continue for
436         BIFF_MERGECELLS.  We don't generate that ourselves, but it's
437         valid.
439         * boot.c (excel_save): Make sure to save macros in the
440         _VBA_PROJECT_CUR directory that we loaded them from.
441         (excel_save): Restore \001Ole member too.
442         (excel_save): Save the entire _VBA_PROJECT_CUR directory.
444 2014-02-25  Morten Welinder  <terra@gnome.org>
446         * ms-container.c (ms_container_read_markup): Return NULL when no
447         attributes are present.  idx==0 is the normal font.
449         * ms-excel-write.c (excel_write_string_in_chunks): BIFF_TXO uses
450         BIFF_CONTINUE records in a non-standard way.
452         * ms-biff.c (ms_biff_query_dump, ms_biff_put_len_next)
453         (ms_biff_put_var_write): Write symbolic opcode name too.
455         * xlsx-read.c (xlsx_comment_start): Use cell_comment_set_pos to
456         the anchor gets set up in a standard way.
458         * ms-biff.c (ms_biff_put_new): No need for bp->buf anymore.
460 2014-02-24  Morten Welinder  <terra@gnome.org>
462         * xlsx-write.c (xlsx_write_cells): Export row height when it is
463         not default, even if it is not user-set.
464         (xlsx_write_style_write_alignment): Fix rotation export for
465         downward angles.
467 2014-02-23  Morten Welinder  <terra@gnome.org>
469         * ms-excel-util.c (xls_header_footer_export): New function
470         extracted from...
471         * xlsx-write.c (xlsx_write_print_info_hf): ...here.
473         * ms-excel-util.c (xls_header_footer_import): New function
474         extracted from...
475         * xlsx-read.c (xlsx_CT_header_footer): ...here.
477         * ms-excel-write.c (excel_write_HEADER_FOOTER): Properly translate
478         magic codes.
480         * xlsx-read.c (xlsx_CT_header_footer): Read headerfooter info.
482         * xlsx-write.c (xlsx_write_print_info): headerFooter before page
483         breaks.  Evidently Excel cares.
485 2014-02-22  Morten Welinder  <terra@gnome.org>
487         * ms-biff.c (ms_biff_query_next): Handle BIFF_CONTINUE for a whole
488         bunch of record types containing strings or formulae.
490         * ms-excel-read.c (excel_read_IMDATA): No need to handle
491         BIFF_CONTINUE here.
493         * ms-formula-read.c (undo_save_hacks): Undo the
494         long-string-constant hack in write_string.
496         * ms-excel-write.c (excel_convert_string): New function.
497         (excel_write_comments_biff7): Avoid infinite loop when a comment
498         contains characters that cannot be represented in the codepage.
499         (excel_write_string): Use excel_convert_string.
501 2014-02-21  Morten Welinder  <terra@gnome.org>
503         * ms-excel-read.c (excel_read_FORMULA): Try to handle missing
504         expression length.
506         * ms-biff.c (ms_biff_query_next): Handle CONTINUE record for
507         BIFF_FORMULA_v0, BIFF_FORMULA_v2, BIFF_STRING_v0, adn
508         BIFF_STRING_v2 too.
510         * ms-excel-write.c (excel_write_string): Improve handling of
511         string overflow.
513         * ms-formula-write.c (write_string): Split long strings into 255
514         character chunks: ("s1"&"s2"&...)
516 2014-02-20  Morten Welinder  <terra@gnome.org>
518         * xlsx-write.c (xlsx_write_print_info): First stab at exporting
519         headers and footers.
521         * ms-excel-write.c (excel_write_XF): Fix reversed diagonal border
522         bits.
524 2014-02-19  Morten Welinder  <terra@gnome.org>
526         * ms-excel-write.c (rotation_to_excel_v7): Fix rotation at 270
527         degrees.
529         * xlsx-write.c (xlsx_write_fonts): Handle underline.
531         * ms-excel-write.c (excel_write_HEADER_FOOTER): Use one-byte
532         strings for BIFF7 and earlier.  That matches the way we read
533         things.
535 2014-02-17  Morten Welinder  <terra@gnome.org>
537         * xlsx-utils.c (xlsx_conventions_new): use same
538         decimal_digits as in gnumeric export.
540         * ms-biff.c (ms_biff_query_next): Handle continuation records
541         here for certain opcodes.  Fixes part of #724399.
543 2014-02-16  Morten Welinder <terra@gnome.org>
545         * Release 1.12.11
547 2014-02-16  Morten Welinder  <terra@gnome.org>
549         * ms-excel-write.c (excel_write_string): Fix hand.  #724399.
551 2014-02-11  Morten Welinder <terra@gnome.org>
553         * Release 1.12.10
555 2014-01-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
557         * xlsx-read.c (xlsx_theme_dtd): add more stubs
559 2013-12-21  Morten Welinder  <terra@gnome.org>
561         * ms-excel-read.c (excel_read_XF): Fix length check.  Fixes
562         #715002.
564         * ms-obj.c (read_pre_biff8_read_name_and_fmla): Fix and improve
565         length check.  Fixes #720358 and #719349.
567 2013-12-13  Morten Welinder  <terra@gnome.org>
569         * ms-excel-read.c (excel_read_WINDOW2): Don't crash of truncated
570         record.  Fixes #720426.
572         * xlsx-read.c (xlsx_cell_end): Make sure state->texpr ends up
573         NULL.  Fixes #720425.
575 2013-11-28  Morten Welinder <terra@gnome.org>
577         * Release 1.12.9
579 2013-11-26  Jean Brefort  <jean.brefort@normalesup.org>
581         * ms-excel-write.c (excel_write_string): fix large strings export. [715110#]
582         (excel_write_ClientTextbox): fix test.
584 2013-11-25  Morten Welinder  <terra@gnome.org>
586         * ms-excel-write.c (excel_write_string): Fix buffer allocation.
588 2013-11-22  Morten Welinder  <terra@gnome.org>
590         * ms-excel-write.c (excel_write_RSTRING): Truncate markup at text
591         length.  Fixes #715003.
593 2013-11-21  Morten Welinder  <terra@gnome.org>
595         * ms-obj.c (read_pre_biff8_read_text): Fix fuzzed file problem
596         #712731.
598         * xlsx-read.c (xlsx_file_open): A severely malformed document can
599         leave an expression in the state.  Free that.  Fixes #712788.
601 2013-11-20  Morten Welinder  <terra@gnome.org>
603         * ms-escher.c (ms_escher_get_data): Fix fuzzed file crash.  Fixes
604         #712772.  Plug leak.
606 2013-11-19  Morten Welinder  <terra@gnome.org>
608         * ms-excel-read.c (excel_read_CF): Check record size.  Fixes
609         #712708.
611         * xlsx-read-drawing.c (xlsx_style_line_end): Clear the current
612         color.  Fixes #712700.
614         * ms-excel-read.c (excel_read_MERGECELLS): Fix FMR [#712685]
616 2013-11-11  Morten Welinder  <terra@gnome.org>
618         * ms-excel-write.c (excel_write_ClientTextbox): Fix fuzzed file
619         crash.  [#708091]
621 2013-10-07  Morten Welinder <terra@gnome.org>
623         * Release 1.12.8
625 2013-09-13  Morten Welinder  <terra@gnome.org>
627         * ms-excel-read.c (ms_wb_parse_expr): Clear the whole thing,
628         notably the v7 part.  Fixes #707875.
630 2013-09-01  Morten Welinder <terra@gnome.org>
632         * Release 1.12.7
634 2013-08-27  Morten Welinder <terra@gnome.org>
636         * Release 1.12.6
638 2013-08-20  Morten Welinder  <terra@gnome.org>
640         * ms-excel-write.c (excel_write_prep_validations): Handle range
641         with no validation (and therefore with an input message).
643 2013-08-19  Morten Welinder <terra@gnome.org>
645         * Release 1.12.5
647 2013-08-15  Morten Welinder  <terra@gnome.org>
649         * ms-excel-write.c (excel_write_autofilter_names): Fix last fix.
650         Sometimes we already have _FilterDatabase as a name.  If so,
651         brutally use it.  Fixes #705947.
653 2013-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
655         * ms-chart.c (BC_R(shtprops)): check whether we have enough data
657 2013-08-14  Morten Welinder  <terra@gnome.org>
659         * ms-container.c (ms_container_read_markup): Add/reinstate bounds
660         check.  Fixes #705866.
662 2013-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
664         * excel-xml-read.c (xl_xml_cell_start): remember how many cols
665         to merge
666         (xl_xml_cell_end): correctly calc new cell position
667         (xl_xml_sheet_start): use maximum sheet size
668         (excel_xml_dtd): add some elements
670 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
672         * xlsx-read-drawing.c (xlsx_chart_dtd): add more elements
674 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
676         * ms-excel-read.c (excel_read_LABEL): check for NULL fd
678 2013-08-02  Jean Brefort  <jean.brefort@normalesup.org>
680         * ms-chart.c (axislineformat): fix crah on fuzzed xls reading [#705353],
681         (chart_write_AI): write all formulas to .xls, even if not  supported by
682         excel [#705311],
683         (chart_write_plot): export bubble size scale. [see #705311]
685 2013-08-01  Morten Welinder  <terra@gnome.org>
687         * ms-excel-read.c (excel_read_MULRK): Fix sanity check.  Fixes
688         #705319.
690 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
692         * xlsx-write.c (xlsx_write_borders): check for NULL borders
694 2013-07-26  Morten Welinder  <terra@gnome.org>
696         * xlsx-read.c (xlsx_file_open): Release state.val, just in case.
698 2013-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
700         * xlsx-write-pivot.c (xlsx_write_pivot_val): check for NULL
701         value
702         (xlsx_write_pivot_cache_records): ditto
704 2013-07-10  Morten Welinder <terra@gnome.org>
706         * Release 1.12.4
708 2013-07-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
710         * ms-excel-read.c (excel_read_HLINK): check for NULL data
712 2013-07-09  Morten Welinder  <terra@gnome.org>
714         * ms-formula-read.c (getRefV8): Take GnmSheetSize argument.
715         Verify row against that.  All callers changed.  Fixes #703306.
717 2013-07-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
719         * xlsx-read.c (xlsx_sheet_dtd): attach protectedRange to the
720         correct parent
722 2013-07-02  Morten Welinder  <terra@gnome.org>
724         * ms-excel-write.c (excel_write_autofilter_names): Use
725         expr_name_unref, not expr_name_remove since the fake name is not
726         in any scope.  Fixes #703308.
728 2013-06-30  Morten Welinder  <terra@gnome.org>
730         * ms-excel-read.c (excel_read_BOUNDSHEET): Check record length.
731         Fixes #703307.
733 2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
735         * xlsx-read-drawing.c (xlsx_axis_crosses_at): check for null
736         axis->info
737         (xlsx_axis_crosses): check for null axis->info
739 2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
741         * ms-formula-read.c (ms-formula-read.c): add another
742         synonym
744 2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
746         * xlsx-utils.c (xlsx_func_betadist_handler): delete again
747         (xlsx_func_dist_handler): remove density scaling argument,
748         change all callers
749         (xlsx_conventions_new): disconnect xlsx_func_betadist_handler
751 2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
753         * xlsx-utils.c (xlsx_func_betadist_handler): new
754         (xlsx_func_dist_handler): add density scaling argument, change
755         all callers
756         (xlsx_conventions_new): connect xlsx_func_betadist_handler
758 2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
760         * xlsx-utils.c (xlsx_func_lognormdist_handler): new
761         (xlsx_func_negbinomdist_handler): new
762         (xlsx_conventions_new): connect the above two
764 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
766         * xlsx-utils.c (xlsx_func_binominv_handler): use GnmExprList
767         rather than GSList
768         (xlsx_func_dist_handler): new
769         (xlsx_func_chisqdist_handler): new
770         (xlsx_func_fdist_handler): new
771         (xlsx_conventions_new): connect the last two
773 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
775         * xlsx-utils.c (xlsx_func_erf_output_handler): new
776         (xlsx_conventions_new): connect the above and add erf.precise
777         translation
779 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
781         * xlsx-utils.c (xlsx_conventions_new): add MODE.SNGL
782         translation
784 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
786         * xlsx-utils.c (xlsx_func_betainv_output_handler): new
787         (xlsx_func_gammainv_output_handler): new
788         (xlsx_func_lognorminv_output_handler): new
789         (xlsx_func_tinv_output_handler): new
790         (xlsx_conventions_new): connect the above
792 2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
794         * xlsx-utils.c (xlsx_write_r_q_func): add argument and change
795         all callers to use ....RT function if available
796         (xlsx_func_r_q_output_handler): add argument and change all
797         callers
799 2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
801         * xlsx-utils.c (xlsx_write_r_q_func): add argument and change
802         all callers
803         (xlsx_func_r_q_output_handler): add argument and change all
804         callers
805         (xlsx_func_binominv_output_handler): use xlsx_func_r_q_output_handler
807 2013-06-25  Morten Welinder <terra@gnome.org>
809         * Release 1.12.3
811 2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
813         * xlsx-utils.c (xlsx_func_r_q_output_handler): use variable
814         rather than hard code (wrong) constant
816 2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
818         * xlsx-utils.c (xlsx_write_r_q_func): new
819         (xlsx_func_r_q_output_handler): new
820         (xlsx_func_norminv_output_handler): new
821         (xlsx_func_chisqinv_output_handler): use
822         xlsx_func_r_q_output_handler
823         (xlsx_func_finv_output_handler): ditto
824         (xlsx_conventions_new): connect
825         xlsx_func_norminv_output_handler
827 2013-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
829         * xlsx-utils.c (xlsx_func_binominv_output_handler):
830         simplify the expression if some of the flags are constant
832 2013-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
834         * xlsx-utils.c (xlsx_func_binominv_output_handler):
835         translate the expression even for more than 3 arguments
837 2013-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
839         * xlsx-utils.c (xlsx_func_floor_output_handler): new
840         (xlsx_conventions_new): connect new handler
842 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
844         * ms-formula-read.c (ms-formula-read.c): add more
845         synonyms
846         * xlsx-utils.c (xlsx_conventions_new): add more
847         synonyms
849 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
851         * ms-formula-read.c (ms-formula-read.c): add
852         "f.inv" --> "r.qf"
853         * xlsx-utils.c (xlsx_func_finv_output_handler): new
854         (xlsx_conventions_new): connect new handler and add
855         "f.inv" --> "r.qf" translation
857 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
859         * ms-formula-read.c (ms-formula-read.c): add
860         "chisq.inv" --> "r.qchisq"
861         * xlsx-utils.c (xlsx_func_chisqinv_output_handler): new
862         (xlsx_conventions_new): connect new handler and add
863         "chisq.inv" --> "r.qchisq" translation
865 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
867         * xlsx-utils.h: remove duplicates
868         (xlsx_conventions_new): add argument
869         * xlsx-read.c (xlsx_file_open): add argument to
870         xlsx_conventions_new
871         * xlsx-write.c (xlsx_write_workbook): ditto
872         * xlsx-utils.c (xlsx_func_map_in): recognize our own functions
873         (xlsx_func_map_out): new
874         (xlsx_func_binominv_output_handler): new
875         (xlsx_conventions_new): add argument and initialize
876         output hashes and function translator
878 2013-06-21  Morten Welinder  <terra@gnome.org>
880         * ms-formula-read.c (make_function): Eliminate typo.  Fixes
881         #702789.
883 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
885         * xlsx-utils.c (XLSXExprConventions): add field
886         (xlsx_func_map_in): chcek and use handler
887         (xlsx_func_binominv_handler): new
888         (xlsx_conventions_new): initialize xlfn_handler_map
889         (xlsx_conventions_free): free the hash here
891 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
893         * xlsx-utils.c (XLSXExprConventions): add field
894         (xlsx_func_map_in): do not initialize xlfn_map here
895         (xlsx_conventions_new): but here
896         (xlsx_conventions_free): free the hash here.
898 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
900         * xlsx-utils.c (xlsx_func_map_in): new
901         (xlsx_conventions_new): connect the above
903 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
905         * ms-formula-read.c (xl2010_synonyms): add more functions
907 2013-06-20  Morten Welinder  <terra@gnome.org>
909         * ms-formula-read.c (xl2010_synonyms): Map new function names to
910         the ones we used.
912 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
914         * xlsx-read.c (xlsx_pattern): set a default pattern
916 2013-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
918         * ms-excel-read.c (excel_read_CF_border): change GnmStyleCond
919         argument to GnmStyle
920         (excel_read_CF): pass the overlay not the empty condition to
921         excel_read_CF_border
923 2013-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
925         * xlsx-read.c (xlsx_workbook_dtd): avoid duplication
927 2013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
929         * xlsx-read.c (xlsx_validation_expr): check for null validation;
931 2013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
933         * xlsx-read-drawing.c: connect "ext" handler
934         * xlsx-read.c: declare xlsx_ext_begin early
936 2013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
938         * xlsx-read.c (xlsx_read_external_book): also try an alternative url
939         (xlsx_read_external_sheetname): check whether we have a book before
940         adding sheets to it.
942 2013-06-16  Morten Welinder  <terra@gnome.org>
944         * xlsx-read-drawing.c (xlsx_blip_start): Handle errors in getting
945         blip.  Fixes #702379.
947 2013-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
949         * xlsx-read.c (xlsx_read_chart): there may not be any plots in a chart.
951 2013-06-13  Morten Welinder  <terra@gnome.org>
953         * ms-excel-read.c (excel_read_COLINFO): Fix crash.  [#702182]
955 2013-06-13  Jean Brefort  <jean.brefort@normalesup.org>
957         * ms-chart.c (end): don't crash when exchanging missing axes. [#702126]
959 2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
961         * xlsx-write.c (xlsx_write_print_info): fix typo
962         * xlsx-read.c (xlsx_sheet_page_setup): read more attributes
963         (xlsx_CT_PageSetup): read more attributes
965 2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
967         * xlsx-write.c (xlsx_write_print_info): always write fitTo*
968         (xlsx_write_sheet): write pageSetUpPr
970 2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
972         * xlsx-read.c (xlsx_set_paper_from_code): update paper list
974 2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
976         * xlsx-write.c (xlsx_find_paper_code): use the complete list
977         (xlsx_write_print_info): write all applicable attributes
979 2013-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
981         * xlsx-read.c (xlsx_parse_distance): new
982         (attr_distance): new
983         (xlsx_paper_size): new
984         (xlsx_set_paper_from_code): new
985         (xlsx_CT_PageSetup): handle paper size
987 2013-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
989         * xlsx-write.c (xlsx_write_print_info): write paper size
990         (xlsx_add_pt): new
991         (xlsx_find_paper_code): new
993 2013-06-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
995         * xlsx-read.c (xlsx_CT_PageSetup): new
996         * xlsx-write.c (xlsx_write_print_info): write orientation
998 2013-06-05  Morten Welinder  <terra@gnome.org>
1000         * ms-excel-write.c (excel_write_HLINKs): Don't remove hlinks here.
1001         (excel_sheet_new): Collect hlinks regardless of biff version.
1002         Fixes #701604.
1004 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1006         * xlsx-read.c (xlsx_ext_begin): new
1007         (xlsx_sheet_dtd): connect the above
1008         (xlsx_workbook_dtd): connect the above
1009         (xlsx_styles_dtd): connect the above
1011 2013-04-29  Morten Welinder  <terra@gnome.org>
1013         * xlsx-read.c (xlsx_cell_end): Don't create empty cells.
1015 2013-04-26  Morten Welinder <terra@gnome.org>
1017         * Release 1.12.2
1019 2013-04-22  Morten Welinder  <terra@gnome.org>
1021         * boot.c (excel_enc_file_open): Plug leak.
1023         * ms-excel-read.c (excel_read_FONT): Ensure ->script, ->underline,
1024         and ->codepage are set.
1025         (gnm_xl_importer_new): Set more pivot fields.
1027 2013-04-20  Morten Welinder  <terra@gnome.org>
1029         * ms-excel-read.c (excel_read_name_str): Make sure we don't end up
1030         requesting (size_t)-1 characters worth of data.  Fixes #698424,
1031         initial item.
1032         (ms_wb_parse_expr): NULL the dummy container vtable.
1034 2013-04-15  Morten Welinder  <terra@gnome.org>
1036         * ms-formula-write.c (write_arrays): Handle empty values properly.
1038         * ms-formula-read.c (excel_parse_formula1): Handle empty values in
1039         array constants.  Fix handling of booleans and errors in array
1040         constants.
1041         (excel_parse_name): Add argument for array data length.  All
1042         callers changed.  Fixes #654211.
1044         * ms-excel-write.c (excel_write_PAGE_BREAK): Make implied cast of
1045         columnm/row number to guint16 explicit.  See #693979.
1047 2013-04-14  Morten Welinder  <terra@gnome.org>
1049         * ms-excel-write.c (excel_write_NAME): Store the name's length in
1050         characters, not bytes.  This matches the read side and fixes
1051         #608780.
1053 2013-04-10  Morten Welinder  <terra@gnome.org>
1055         * ms-formula-write.c (do_excel_write_prep_expr): Fix unintentional
1056         duplication of externnames.
1058         * ms-excel-write.h (struct _XLSExporter): Change externnames
1059         member to a GPtrArray of char*.
1061         * formula-types.h (ExcelFuncDesc): Add explicit index.
1063         * ms-formula-read.c (make_function): Fix importing of GAMMA (and
1064         others) from LibreOffice's xls files.
1066 2013-04-09  Morten Welinder  <terra@gnome.org>
1068         * ms-formula-read.c (make_function): Fix importing of IFERROR and
1069         perhaps other newer functions.
1071 2013-03-09  Morten Welinder <terra@gnome.org>
1073         * Release 1.12.1
1075 2013-02-24  Jean Brefort  <jean.brefort@normalesup.org>
1077         * ms-chart.c (get_style), (ms_excel_chart_read): add explicit casts to
1078         fix some warnings.
1079         * xlsx-read-drawing.c (xlsx_style_line_start): ditto.
1081 2013-02-22  Morten Welinder  <terra@gnome.org>
1083         * ms-excel-write.c (gather_styles): Use sheet_cells, not
1084         sheet_cell_foreach, so the output won't depend on hash order.
1086 2013-02-14  Jean Brefort  <jean.brefort@normalesup.org>
1088         * ms-chart.c (get_style): reversed previous change.
1089         * xlsx-read-drawing.c (xlsx_style_line_start): ditto.
1091 2013-02-10  Jean Brefort  <jean.brefort@normalesup.org>
1093         * ms-chart.c (get_style): use go_style_new() instead of gog_style_new().
1094         * xlsx-read-drawing.c (xlsx_style_line_start): ditto.
1096 2013-02-10  Jean Brefort  <jean.brefort@normalesup.org>
1098         * xlsx-read-drawing.c (xlsx_drawing_preset_geom): fix uninitialized an 
1099         variable issue. [#693492]
1101 2013-02-05  Jean Brefort  <jean.brefort@normalesup.org>
1103         * ms-chart.c (ms_excel_chart_read): don't use deprecated gog_style_new().
1105 2013-01-03  Morten Welinder  <terra@gnome.org>
1107         * ms-excel-read.h (XL_EXTERNSHEET_MAGIC_SELFREF)
1108         (XL_EXTERNSHEET_MAGIC_DELETED): Intorduce symbolic names for magic
1109         constants.  All users changed.
1111 2013-01-01  Morten Welinder  <terra@gnome.org>
1113         * ms-excel-write.c (excel_font_overlay_pango): Don't use
1114         deprecated goffice stuff.
1116 2012-12-24  Morten Welinder  <terra@gnome.org>
1118         * xlsx-write-drawing.c (xlsx_write_one_plot): Silence warning.
1120 2012-12-18  Morten Welinder <terra@gnome.org>
1122         * Release 1.12.0
1124 2012-12-18  Morten Welinder  <terra@gnome.org>
1126         * xlsx-write-drawing.c (xlsx_write_chart): Avoid creating empty
1127         charts files.  Fixes #690203.
1129 2012-11-29  Morten Welinder <terra@gnome.org>
1131         * Release 1.11.91
1133 2012-11-16  Morten Welinder <terra@gnome.org>
1135         * Release 1.11.90
1137 2012-11-06  Morten Welinder  <terra@gnome.org>
1139         * xlsx-read.c (xlsx_cond_fmt_formula_end): Plug leak.
1141 2012-10-17  Morten Welinder  <terra@gnome.org>
1143         * xlsx-write.c (count_default_rows): Delete.
1144         (xlsx_write_cells): Simplify and speed up using
1145         sheet_style_get_nondefault_rows.
1147 2012-10-06  Morten Welinder  <terra@gnome.org>
1149         * xlsx-write.c (xlsx_write_cells): Get all cells in the order we
1150         need them instead of doing a million lookups.  Don't write styles
1151         that match the column default -- especially not for cells with
1152         style only.
1153         (xlsx_write_cols): Write column default styles.
1155 2012-09-06  Morten Welinder <terra@gnome.org>
1157         * Release 1.11.6
1159 2012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1161         * xlsx-read-pivot.c (xlsx_CT_pivotCacheDefinition): also look for
1162         refreshedDateIso
1164 2012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1166         * plugin.xml.in: refer to ISO/IEC 29500:2008 and emphasize the
1167         Standards compliance
1169 2012-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1171         * xlsx-read.c (xlsx_webpub_begin): new
1172         (xlsx_workbook_dtd): new
1174 2012-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1176         * xlsx-read.c (xlsx_border_begin_v2): new
1177         (xlsx_file_open): use version info to set the saver
1179 2012-08-03  Jean Brefort  <jean.brefort@normalesup.org>
1181         * boot.c (excel_read_metadata), (excel_save): replace deprecated functions
1182         calls.
1184 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1186         * ms-excel-read.c (excel_read_AUTOFILTER): adjust call to
1187         gnm_filter_condition_new_bucket
1188         * xlsx-read.c (xlsx_CT_Top10): adjust call to
1189         gnm_filter_condition_new_bucket
1191 2012-08-01  Jean Brefort  <jean.brefort@normalesup.org>
1193         * excel-xml-read.c (parse_color): Rename style_color_new_i8.
1194         * ms-excel-read.c (excel_palette_get), (excel_read_WINDOW2): ditto.
1196 2012-07-18  Morten Welinder  <terra@gnome.org>
1198         * ms-excel-read.c (excel_read_LABEL): Fix crash [#679992].
1199         (excel_read_XF_OLD): Fix length check.
1200         (excel_read_FORMAT): Fix length check for pre-v7 records.
1201         (excel_read_FONT): Guess codepage for <=v4 records.
1203 2012-07-15  Morten Welinder <terra@gnome.org>
1205         * Release 1.11.5
1207 2012-06-25  Morten Welinder <terra@gnome.org>
1209         * Release 1.11.4
1211 2012-04-21  Morten Welinder <terra@gnome.org>
1213         * Release 1.11.3
1215 2012-03-27  Morten Welinder  <terra@gnome.org>
1217         * ms-excel-write.c (excel_write_selections): Evidently we should
1218         not restrict the cursor position to the pane.  Fixes #671513 [2].
1220         * ms-excel-read.c (excel_read_SELECTION): Read in sane order.
1222         * ms-excel-write.c (excel_write_SELECTION): Write in reverse
1223         order.
1225 2012-03-12  Morten Welinder  <terra@gnome.org>
1227         * ms-formula-write.c (write_node): Handle sets.
1229         * ms-excel-write.c (excel_write_chart_v8): Regularlize code and
1230         output object name too.
1232         * ms-chart.c (chart_write_LEGEND): Include the style when writing
1233         text.
1235 2012-03-11  Morten Welinder  <terra@gnome.org>
1237         * ms-excel-write.c (excel_write_SETUP): Export paper size.
1239         * ms-excel-util.c (xls_paper_name): Extract from ms-excel-read.c
1240         (xls_paper_size): New pseudo-inverse of above.
1242         * ms-excel-write.c (excel_write_obj_v8): Handle graphs here too.
1243         (excel_sheet_new): Put graphs into the regular object queue too.
1245 2012-03-10  Morten Welinder  <terra@gnome.org>
1247         * ms-excel-write.c (excel_write_DEFAULT_ROW_HEIGHT)
1248         (excel_write_ROWINFO): Add 1e-6 to toughen against rounding
1249         errors.
1251         * ms-excel-read.c (excel_read_COLINFO): Drop work-around for buggy
1252         pre-Gnumeric 1.7.5 export.  This fixes hard-size-set detection for
1253         11_1040.xls
1255         * ms-excel-write.c (excel_write_objs_v8): Unify writing of objects
1256         to help fix stacking issues.
1257         (excel_sheet_new): Eliminate special lists for lines and
1258         textboxes.
1259         (cb_write_condition): Make export of conditional italic match
1260         import.
1262 2012-03-09  Morten Welinder  <terra@gnome.org>
1264         * xlsx-write.c (xlsx_write_sheet): Use new
1265         sheet_style_most_common.
1267         * ms-excel-write.c (excel_sheet_extent): Use new
1268         sheet_style_get_nondefault_extent.
1269         (gather_styles): Gather styles for all columns.
1270         (excel_write_colinfos): Ensure a column style for all columns.
1271         (excel_sheet_write_block): Drop only styles that differ from the
1272         column default.  Visibility is irrelevant.
1273         (excel_sheet_new): Use new sheet_style_most_common.
1275 2012-03-08  Morten Welinder  <terra@gnome.org>
1277         * ms-formula-write.c (excel_write_formula): Base length
1278         calculation on position, not length.  That matters if we have
1279         seeked.
1281         * ms-excel-write.c (excel_write_image_v8): Reimplement based on
1282         excel_write_textbox_or_widget_v8.
1283         (excel_write_textbox_or_widget_v8): Don't write text style
1284         properties unless we have a text.
1285         (excel_write_vector_blip, excel_write_raster_blip): Constify.
1287         * ms-excel-read.c (excel_fill_bmp_header): Fix incorrect use of
1288         sizeof.
1290 2012-03-07  Morten Welinder  <terra@gnome.org>
1292         * ms-obj.c (ms_obj_read_pre_biff8_obj): Use symbolic object type
1293         names, not magic constants.
1295         * ms-excel-read.c (ms_sheet_parse_expr_internal): Fix crash when
1296         debugging was turned on.
1298         * ms-excel-write.c (cb_write_condition): Actually save the font
1299         flags.  Part of #671531.
1300         (excel_write_ClientTextbox): Fix confusion between byte offsets
1301         and character offsets.
1302         (excel_write_RSTRING): Ditto.  Part of #671531.
1303         (cb_write_condition): Fix pattern export.  Part of #671531.
1305 2012-03-06  Morten Welinder  <terra@gnome.org>
1307         * ms-excel-write.c (cb_write_condition): Handle lack of style
1308         conditions.
1309         (excel_write_prep_conditions): Ditto.
1310         (put_colors): Ditto.  Fixes crash of #671267.
1311         (write_sheet_head): Export page breaks even if we have one of
1312         horizontal/vertical.  Part of #671531.
1314 2012-03-02  Morten Welinder <terra@gnome.org>
1316         * Release 1.11.2
1318 2012-01-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1320         * xlsx-read.c (attr_bool): accept "true"
1321         (xlsx_run_style): If val is missing it defaults to TRUE
1322         (xlsx_run_color): fix the range of values for the pango color
1323         attribute
1324         (xlsx_comment_text): rename to xlsx_r_text
1325         (cb_trunc_attributes): new
1326         (xlsx_comment_rich_text): rename to xlsx_rich_text and make sure
1327         the attributes do not spill into the next run
1328         (xlsx_sstitem_start): new
1329         (xlsx_sstitem_end): use state->r_text
1330         (xlsx_shared_strings_dtd): connect rich text items
1332 2012-01-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1334         * xlsx-read.c (xlsx_cell_inline_text_end): new
1335         (xlsx_sheet_dtd): connect the above
1337 2011-12-27  Jean Brefort  <jean.brefort@normalesup.org>
1339         * xlsx-read-drawing.c (xlsx_chart_text_start),
1340         (xlsx_draw_text_run_props): always set a font size.
1342 2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1344         * xlsx-read-docprops.c (xlsx_read_core_keys): use G_VALUE_INIT
1345         * xlsx-read.c: add dead-kittens.h
1347 2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1349         * excel-xml-read.c (xl_xml_selection): adjust call to
1350         sv_selection_add_full
1351         * ms-excel-read.c (excel_read_SELECTION): adjust calls to
1352         sv_selection_add_full and sv_selection_add_pos
1354 2011-11-27  Morten Welinder <terra@gnome.org>
1356         * Release 1.11.1
1358 2011-11-24  Morten Welinder <terra@gnome.org>
1360         * Release 1.11.0
1362 2011-11-21  Morten Welinder  <terra@gnome.org>
1364         * xlsx-read.c (start_update_progress): Handle NULL xin.
1365         (xlsx_file_open): Use right input stream for progress update.
1366         Fixes an FMR.
1368 2011-11-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
1370         * ms-excel-read.c (excel_read_SETUP): rename
1371         PRINT_ERROR and PRINT_COMMENTS constants
1372         * ms-excel-write.c (excel_write_SETUP): ditto
1374 2011-10-29  Jean Brefort  <jean.brefort@normalesup.org>
1376         * xlsx-read-drawing.c (xlsx_blip_start): don't set an invalid
1377         image type.
1379 2011-10-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1381         * ms-excel-read.c (ms_wb_get_font_markup): use
1382         subscript/superscript attributes
1383         * ms-excel-write.c (excel_font_overlay_pango): export
1384         subscript/superscript attributes (and fix PANGO_ATTR_RISE
1385         handling)
1387 2011-10-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1389         * xlsx-write.c (xlsx_write_sheet): don't miss cell content that
1390         yields empty cells
1392 2011-10-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1394         * ms-excel-read.c (excel_choose_border): new
1395         (excel_set_xf): check for border consistency
1397 2011-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1399         * ms-excel-read.c (gnm_xl_get_codepage): use guint
1401 2011-08-29  Jean Brefort  <jean.brefort@normalesup.org>
1403         * xlsx-read-drawing.c (xlsx_ser_labels_show_val),
1404         (xlsx_ser_labels_show_cat), (xlsx_ser_labels_start),
1405         (xlsx_data_label_show_val), (xlsx_data_label_show_cat),
1406         (xlsx_data_label_start): set a default separator.
1408 2011-08-28  Jean Brefort  <jean.brefort@normalesup.org>
1410         * ms-chart.c (end), (xl_chart_import_error_bar),
1411         (ms_excel_chart_read), (store_dim), (chart_write_series): moved
1412         two helpers to goffice.
1413         * xlsx-read-drawing.c (xlsx_tx_pr), (xlsx_draw_text_run_props),
1414         (xlsx_ser_labels_show_val), (xlsx_ser_labels_show_cat),
1415         (xlsx_ser_labels_pos), (xlsx_ser_labels_start),
1416         (xlsx_ser_labels_end), (xlsx_data_label_pos),
1417         (xlsx_data_label_index), (xlsx_data_label_show_val),
1418         (xlsx_data_label_show_cat), (xlsx_data_label_start),
1419         (xlsx_chart_ser_f), (xlsx_chart_solid_fill),
1420         (xlsx_draw_color_themed): fix various data labels import issues.
1422 2011-08-22  Jean Brefort  <jean.brefort@normalesup.org>
1424         * xlsx-read-drawing.c (xlsx_ser_data_show_val),
1425         (xlsx_ser_data_show_cat), (xlsx_ser_data_pos),
1426         (xlsx_ser_data_start), (xlsx_chart_ser_f): import data labels,
1427         (xlsx_chart_solid_fill): fix fill color.
1429 2011-08-22  Jean Brefort  <jean.brefort@normalesup.org>
1431         * xlsx-read-drawing.c (xlsx_chart_ser_f): fix import of series names.
1433 2011-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1435         * ms-excel-write.c (cb_cell_pre_pass): avoid synthesizing the same style several
1436         times
1438 2011-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1440         * ms-excel-write.c (cb_cell_pre_pass): synthesize wrap-text style if necessary
1441         (build_xf_data): we need to write wrap-text in variant 4
1443 2011-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1445         * xlsx-read-docprops.c (xlsx_read_docprops_*): handle progress reports
1446         * xlsx-read.c (maybe_update_progress): new
1447         (start_update_progress): new
1448         (end_update_progress): new
1449         (xlsx_CT_Row): handle progress reports
1450         (xlsx_CT_RowsCols_end): handle progress reports
1451         (xlsx_sheet_begin): handle progress reports
1452         (xlsx_comment_end): ditto
1453         (xlsx_wb_end): ditto
1454         (xlsx_file_open): ditto
1456 2011-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1458         * xlsx-read-drawing.c (xlsx_scatter_style): also read incorrect "markers"
1459         * xlsx-write-drawing.c (xlsx_write_chart): write "marker" rather than "markers"
1461 2011-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1463         * plugins/excel/boot.c (excel_enc_file_open): new
1464         (excel_file_open): use excel_enc_file_open
1465         * plugins/excel/excel.h (excel_read_workbook): add argument
1466         * plugins/excel/ms-excel-read.c (excel_read_FONT): for charset 0 consider
1467         encoding override
1468         (gnm_xl_get_codepage): new
1469         (gnm_xl_importer_new): add argument, change caller and convert codepage override
1470         (excel_read_workbook): add argument and change all callers
1471         * plugins/excel/ms-excel-read.h (_GnmXLImporter): add field
1472         * plugins/excel/plugin.xml.in: add new encoding dependent file opener
1474 2011-08-12  Valek Filippov <frob@gnome.org>
1476         * plugins/excel/ms-excel-read.c (excel_read_FONT): convert charset to codepage
1477         and store in ExcelFont
1478         (excel_get_chars): set str_iconv based on codepage and change all callers
1479         (plugins/excel/ms-excel-read.h): change charset to codepage in ExcelFont
1481 2011-08-11  Valek Filippov <frob@gnome.org>
1483         * plugins/excel/ms-excel-read.c (excel_read_FONT): store charset in ExcelFont
1484         (excel_read_LABEL): pass charset to excel_get_text_fixme
1485         (excel_get_text_fixme): pass charset to excel_get_text
1486         (excel_get_chars): set str_iconv based on charset and change all callers
1487         (plugins/excel/ms-excel-read.h): add charset to ExcelFont
1489 2011-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1491         * plugins/excel/plugin.xml.in: use TM symbol
1493 2011-07-31  Morten Welinder <terra@gnome.org>
1495         * Release 1.10.17
1497 2011-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1499         * excel-xml-read.c: Use G_GNUC_UNUSED
1500         (excel_xml_dtd): add PageMargins
1501         (xl_xml_data_end): parse numbers carefully
1502         (excel_xml_file_open): switch to C locale
1504 2011-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1506         * xlsx-read.c (xlsx_wb_name_end): check for "_xlnm." prefix
1507         * xlsx-write.c (xlsx_write_named_expression): also write permanent
1508         expressions
1510 2011-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1512         * xlsx-write.c (xlsx_write_named_expression): new
1513         (xlsx_write_definedNames): new
1514         (xlsx_write_workbook): call xlsx_write_definedNames
1516 2011-07-03  Jean Brefort  <jean.brefort@normalesup.org>
1518         * xlsx-read-drawing.c (xlsx_chart_text_start), (xlsx_chart_text),
1519         (xlsx_read_chart): fixed loading xlsx files with empty chart titles.
1521 2011-07-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1523         * xlsx-write-docprops.c (xlsx_map_prop_name_to_output_fun):
1524         use GSF_META_NAME_MM_CLIP_COUNT
1525         * xlsx-read-docprops.c: use GSF_META_NAME_MM_CLIP_COUNT
1527 2011-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1529         * xlsx-write-docprops.c (xlsx_read_core_keys): implement
1531 2011-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1533         * xlsx-write-docprops.c (xlsx_map_to_keys): new
1534         (xlsx_map_prop_name_to_output_fun): connect xlsx_map_to_keys
1535         (xlsx_meta_write_props): depend on xlsx_map_prop_name_to_output_fun
1536         even for keywords
1538 2011-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1540         * xlsx-utils.h (XL_NS_PROP_CUSTOM): new
1541         * xlsx-read.c (XLSXReadState): new field meta_prop_name
1542         (XL_NS_PROP_CUSTOM): new namespace
1543         * xlsx-read-docprops.c (xlsx_read_property_begin): new
1544         (xlsx_read_property_end): new
1545         (xlsx_read_custom_property_type): new
1546         (xlsx_read_custom_property): new
1547         (xlsx_read_property_date): new
1548         (xlsx_docprops_custom_dtd): new
1549         (xlsx_docprops_extended_dtd): add elements
1550         (xlsx_read_docprops_custom): new
1551         (xlsx_read_docprops): call xlsx_read_docprops_custom
1553 2011-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1555         * xlsx-write.c: new includes (for xlsx-write-docprops.c)
1556         * xlsx-write-docprops.c (xlsx_map_time_to_int): new
1557         (xlsx_map_to_int): new
1558         (xlsx_map_to_bool): new
1559         (xlsx_map_to_date_core): new
1560         (xlsx_map_prop_name_to_output_fun): new
1561         (xlsx_meta_write_props_extended): use xlsx_map_prop_name_to_output_fun
1562         (xlsx_map_prop_type): replaced by xlsx_map_prop_name_to_output_fun
1563         (xlsx_meta_write_props): use xlsx_map_prop_name_to_output_fun
1564         (xlsx_map_to_pid): new
1565         (xlsx_meta_write_props_custom): new
1566         (xlsx_write_docprops_custom): call xlsx_meta_write_props_custom
1568 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1570         * xlsx-write-docprops.c (xlsx_write_docprops_custom):
1571         enable
1572         * xlsx-write.c (ns_docprops_custom): new
1573         (xlsx_write_fills): Kspread needs the formats implied by
1574         Excel
1576 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1578         * xlsx-write-docprops.c (xlsx_write_docprops_app): The
1579         AppVersion format should really be d.dddd.
1581 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1583         * xlsx-read-docprops.c (xlsx_read_core_prop_type): renamed
1584         to xlsx_read_prop_type
1585         (xlsx_read_core_prop): renamed to xlsx_read_prop
1586         (xlsx_read_core_prop_dt): renamed to xlsx_read_prop_dt
1587         (xlsx_read_prop_int): new
1588         (xlsx_read_prop_boolean): new
1589         (xlsx_docprops_extended_dtd): new
1590         (xlsx_read_docprops_extended): implement
1591         * xlsx-read.c (xlsx_ns): add name spaces
1592         * xlsx-utils.h (XL_NS_PROP): new
1593         (XL_NS_PROP_VT): new
1594         * xlsx-write-docprops.c (xlsx_write_docprops_app): The
1595         AppVersion format is prescribed to d.dddd.
1597 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1599         * xlsx-write.c (ns_docprops_extended_vt): new
1600         * xlsx-write-docprops.c (xlsx_map_prop_name_extended): new
1601         (xlsx_meta_write_props_extended): new
1602         (xlsx_write_docprops_app): write more properties
1603         (xlsx_write_docprops_core): no need to remove the generator
1604         meta data, we only write selected props anyways.
1606 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1608         * xlsx-write.c (xlsx_write_predefined_fills): new
1609         (xlsx_write_fills): use the above
1610         (xlsx_find_predefined_fill): new
1611         (xlsx_find_fill): use xlsx_find_predefined_fill
1613 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1615         * xlsx-read-docprops.c (new)
1616         * Makefile.am: add xlsx-read-docprops.c
1617         * xlsx-utils.h: add XL_NS_PROP_*
1618         * xlsx-write.c (xlsx_write_fills): start with some fills
1619         expected by Excel
1620         (xlsx_write_style): apparently Excel writes apply*
1621         attributes always. So do we now.
1622         * xlsx-read.c: add some includes, including
1623         xlsx-read-docprops.c
1624         (xlsx_ns): som emore namespaces
1625         (xlsx_file_open): call xlsx_read_docprops from
1626         xlsx-read-docprops.c
1628 2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1630         * xlsx-write.c (xlsx_write_style): usually write an xfId,
1631         write apply* attributes only if they are false (nobody
1632         seems to write true ones)
1633         (xlsx_write_cellStyleXfs): write a named style record to refer
1634         to
1635         (xlsx_write_cellXfs): adust call to xlsx_write_style
1636         (xlsx_get_style_id): new, extracted from xlsx_write_cells
1637         (xlsx_write_cells): use xlsx_get_style_id
1638         (xlsx_write_workbook): make sure we write the default style
1639         first
1641 2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1643         * xlsx-write.c: add include
1644         * xlsx-write-docprops.c (xlsx_map_prop_type): add more items
1645         (xlsx_meta_write_props): also write keywords
1647 2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1649         * xlsx-write.c (xlsx_write_shared_strings): xml:space is
1650         not allowed
1651         (xlsx_write_styles): ditto
1652         (xlsx_write_workbook): ditto
1653         * xlsx-write-docprops.c (xlsx_write_docprops_app): ditto
1654         (xlsx_write_docprops_core): ditto
1656 2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1658         * xlsx-write.c (xlsx_write_fonts): check the font names
1659         just in case
1660         (xlsx_write_rich_text): we definitely need to check the text
1662 2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1664         * xlsx-write.c (xlsx_write_num_formats): the format strings
1665         need to be properly encoded for xlm
1667 2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1669         * xlsx-write.c (xlsx_write_borders): fix element order
1671 2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1673         * xlsx-write.c (ns_docprops_core_cp): new
1674         (ns_docprops_core_dc): new
1675         (ns_docprops_core_dcmitype): new
1676         (ns_docprops_core_dcterms): new
1677         (ns_docprops_core_xsi): new
1678         * xlsx-write-docprops.c (xlsx_map_prop_type): new
1679         (xlsx_map_prop_name): new
1680         (xlsx_meta_write_props): new
1681         (xlsx_write_docprops_core): imlement
1683 2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1685         * Makefile.am: add xlsx-write-docprops.c
1686         * xlsx-write.c (ns_docprops_extended): new
1687         (xlsx_write_workbook): call xlsx_write_docprops
1688         * xlsx-write-docprops.c: new
1690 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1692         * xlsx-read-drawing.c (xlsx_drawing_dtd): add srcRect
1694 2011-06-16  Morten Welinder <terra@gnome.org>
1696         * Release 1.10.16
1698 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1700         * xlsx-write.c (xlsx_write_border): use the appripriate
1701         element name based on ECMA-376 edition
1702         (xlsx_write_workbook): in edition 2 "codePage" was replaced by
1703         "characterSet"
1704         (xlsx2_file_save): new
1705         * plugin.xml.in: add file saver for ECMA-376 2nd edition
1706         * xlsx-write-pivot.c (xlsx_write_pivot_cache_definition):
1707         2nd edition replaced "refreshedDate" attribute with
1708         "refreshedDateIso"
1710 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1712         * xlsx-write.c (xlsx_write__rich_text): handle NULL attribute
1713         list
1715 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1717         * xlsx-write.c (xlsx_write_border): write diagonal border element
1718         (xlsx_write_borders): support diagonal elements
1719         * xlsx-read.c (xlsx_col_border_begin): new
1720         (xlsx_border_end): fix reference counting
1721         (xlsx_border_diagonal_end): new
1723 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1725         * xlsx-write.c (xlsx_write_border): use edition 1 elements
1726         (xlsx_write_cells): also write styles for empty cells
1728 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1730         * xlsx-write.c (xlsx_find_border): new
1731         (xlsx_write_border): new
1732         (xlsx_write_borders): implement
1733         (xlsx_write_style): handle borders
1734         (xlsx_write_cellXfs): add argument, change all callers
1735         (xlsx_write_styles): call xlsx_write_borders
1736         * xlsx-read.c: for borders "left" and "right" are really called
1737         "start" and "end"
1739 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1741         * xlsx-write.c (xlsx_find_font): new
1742         (xlsx_write_fonts): implement
1743         (xlsx_find_fill): check for straight equality
1744         (xlsx_write_style): handle font-info
1745         (xlsx_write_cellXfs): add argument, change all callers
1746         (xlsx_write_styles): call xlsx_write_fonts
1748 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1750         * xlsx-write.c (xlsx_load_buildin_num_formats): new
1751         (xlsx_write_num_formats): new
1752         (xlsx_write_style): connect to the number formats
1753         (xlsx_write_cellXfs): add argument, change all callers
1754         (xlsx_write_styles): call xlsx_write_num_formats
1756 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1758         * xlsx-write.c (xlsx_write_color_element): new
1759         (xlsx_find_fill): new
1760         (xlsx_write_fills): implement
1761         (xlsx_write_style): use written fills
1762         (xlsx_write_cellXfs): ditto
1763         (xlsx_write_styles): connect xlsx_write_fills with xlsx_write_cellXfs
1764         (xlsx_write_cells): GPOINTER_TO_INT(0) yields NULL, so shift when
1765         storing 0-based indices
1767 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1769         * xlsx-write.c (xlsx_write_style_want_alignment): new
1770         (xlsx_write_style_write_alignment): new
1771         (xlsx_write_style): new
1772         (xlsx_write_cellXfs): new
1773         (xlsx_write_styles): connect xlsx_write_cellXfs
1774         (xlsx_write_cells): llink to styles
1775         (xlsx_write_workbook): initialize and finalize style lists
1777 2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1779         * xlsx-utils.h (xlsx_get_gradient_direction): new
1780         * xlsx-utils.c (xlsx_get_gradient_direction): new
1781         * xlsx-read-drawing.c (xlsx_chart_grad_linear): use
1782         xlsx_get_gradient_direction
1784 2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1786         * xlsx-read.c (xlsx_cell_begin): don't overwrite an existing row style
1787         (xlsx_CT_Row): the row style should only be used if customFormat == 1
1788         (xlsx_CT_GradientFill): consider this a solid colour fill until we
1789         really import the gradients
1791 2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1793         * xlsx-read.c (elem_color): add allow_alpha argument, change all
1794         callers and set alpha to 0xFF if it is not allowed
1795         (xlsx_pattern_fg_bg): if we are reading a colour for a solid fill, ignore
1796         alpha. LibreOffice 3.3.2 sets the alpha to 0 and Excel seems to ignore it
1797         (xlsx_font_color): ditto
1799 2011-05-22  Morten Welinder  <terra@gnome.org>
1801         * ms-excel-write.c (excel_write_autofilter_names): Use proper
1802         ctor/dtor methods for GnmNamedExpr.
1803         (excel_write_autofilter_names): Use new
1804         expr_name_set_is_placeholder.
1806 2011-05-21  Morten Welinder <terra@gnome.org>
1808         * Release 1.10.15
1810 2011-05-20  Morten Welinder  <terra@gnome.org>
1812         * xlsx-write.c (xlsx_write_rich_text): Clamp "start" too.
1814 2011-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1816         * ms-chart.c (chart_write_LEGEND): use
1817         GNM_*_KILL_SWITCH_WARNING
1819 2011-05-04  Jean Brefort  <jean.brefort@normalesup.org>
1821         * xlsx-read-drawing.c (xlsx_chart_pop_obj): don't set a style to a
1822         NULL object,
1823         (xlsx_axis_mark): pass a true boolean to make gobject happy,
1824         (xlsx_axis_end): don't exchange radar plots axes,
1825         (xlsx_chart_legend_pos): add new enum values not in spec, but occuring,
1826         (xlsx_chart_solid_fill): set line color to line, not fill.
1828 2011-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1830         * ms-chart.c (chart_write_LEGEND): disable -Wswitch for this function
1832 2011-05-03  Jean Brefort  <jean.brefort@normalesup.org>
1834         * xlsx-read-drawing.c (xlsx_style_line_start): don't crash on NULL
1835         style,
1836         (cb_axis_set_position): fix axis crossing position.
1837         * xlsx-write-drawing.c (xlsx_write_chart): partially fix circular
1838         axis position.
1840 2011-04-08  Jean Brefort  <jean.brefort@normalesup.org>
1842         * xlsx-read-drawing.c: import some legacy drwawings.
1843         * xlsx-read.c: ditto.
1845 2011-04-04  Morten Welinder  <terra@gnome.org>
1847         * ms-obj.c (ms_obj_read_pre_biff8_obj): Improve record length
1848         check.
1850 2011-03-24  Morten Welinder <terra@gnome.org>
1852         * Release 1.10.14
1854 2011-03-23  Morten Welinder  <terra@gnome.org>
1856         * xlsx-read-drawing.c (xlsx_axis_crosses): Avoid using
1857         uninitialized values if an attribute is missing.
1859 2011-03-22  Jean Brefort  <jean.brefort@normalesup.org>
1861         * xlsx-read-drawing.c (xlsx_chart_push_obj), (xlsx_chart_pop_obj),
1862         (xlsx_chart_text_start), (xlsx_chart_text), (xlsx_body_pr),
1863         (xlsx_axis_mark), (xslx_chart_tick_label_pos),
1864         (xlsx_chart_marker_end), (xlsx_chart_start_dummy),
1865         (xlsx_read_chart): import axis ticks format.
1866         * xlsx-read.c: add a GOStyle stack.
1868 2011-03-21  Jean Brefort  <jean.brefort@normalesup.org>
1870         * xlsx-read-drawing.c (xlsx_draw_text_run_props),
1871         (xlsx_sheet_drawing), (xlsx_sheet_legacy_drawing): add a dtd for lecacy
1872         drawing.
1873         * xlsx-read.c: ditto.
1874         * xlsx-utils.h: ditto.
1876 2011-03-20  Jean Brefort  <jean.brefort@normalesup.org>
1878         * xlsx-read-drawing.c (xlsx_chart_push_obj), (xlsx_chart_pop_obj),
1879         (xlsx_chart_text_start), (xlsx_chart_text), (xlsx_chart_p_start),
1880         (xlsx_chart_text_content), (xlsx_draw_text_run_props),
1881         (xlsx_rel_size_anchor_start), (xlsx_rel_size_anchor),
1882         (xlsx_user_shape_pos), (xlsx_user_shape), (xlsx_user_shape_end),
1883         (xlsx_axis_crosses), (xlsx_chart_style_end),
1884         (xlsx_draw_color_themed), (xlsx_chart_marker_end),
1885         (xlsx_chart_layout_manual), (cb_axis_set_position),
1886         (xlsx_read_chart): import labels and positions.
1888 2011-03-19  Jean Brefort  <jean.brefort@normalesup.org>
1890         * xlsx-read-drawing.c (xlsx_chart_user_shapes): add missing dtd entries,
1891         (xlsx_chart_legend), (xlsx_chart_legend_pos), (xlsx_plot_area),
1892         (xlsx_chart_layout_manual), (xlsx_chart_layout_target),
1893         (xlsx_chart_layout_dim), (xlsx_chart_layout_mode): work on positions.
1894         * xlsx-read.c: ditto.
1896 2011-03-18  Jean Brefort  <jean.brefort@normalesup.org>
1898         * xlsx-read-drawing.c (xlsx_chart_user_shapes),
1899         (xlsx_chart_text_start), (xlsx_chart_text): add chartDrawing namespace.
1900         * xlsx-read.c: ditto.
1901         * xlsx-utils.h: ditto.
1903 2011-03-18  Jean Brefort  <jean.brefort@normalesup.org>
1905         * xlsx-read-drawing.c (xlsx_chart_text_start), (xlsx_chart_text): import
1906         text in sheet filled objects.
1907         * xlsx-write-drawing.c (xlsx_write_series_dim): don't export strings as
1908         values.
1910 2011-03-15  Jean Brefort  <jean.brefort@normalesup.org>
1912         * xlsx-read-drawing.c (xlsx_draw_color_end): fixed some auto style issues.
1913         * xlsx-write-drawing.c (xlsx_write_plot_1_5_type),
1914         (xlsx_write_series_dim), (xlsx_write_go_style), (xlsx_write_chart): ditto.
1916 2011-03-14  Jean Brefort  <jean.brefort@normalesup.org>
1918         * xlsx-write-drawing.c (xlsx_write_chart): export radial plot axes,
1919         anf fix overlap in barcol plots.
1921 2011-03-13  Morten Welinder  <terra@gnome.org>
1923         * xlsx-utils.c (xlsx_lookup_external_wb): It looks like [0] is
1924         used to refer to the "self" workbook.
1926 2011-03-12  Jean Brefort  <jean.brefort@normalesup.org>
1928         * Makefile.am: add new xlsx drawing/chart files.
1929         * xlsx-read-drawing.c: new file, better import of styles.
1930         * xlsx-read.c: moved drawing/chart code to xlsx-read-drawing.c.
1931         * xlsx-write-drawing.c: new file with enhanced chart export.
1932         * xlsx-write.c: moved drawing/chart code to xlsx-write-drawing.c.
1934 2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>
1936         * xlsx-read.c (xlsx_chart_ser_f), (xlsx_chart_text_start),
1937         (xlsx_chart_text): accept formulas in labels.
1938         * xlsx-write.c (xlsx_write_series_dim), (xlsx_write_rgbarea),
1939         (xlsx_write_go_style), (xlsx_write_chart): export chart background.
1941 2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>
1943         * xlsx-read.c (xlsx_chart_xy), (xlsx_scatter_style): import the scatter
1944         plot default series style.
1946 2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>
1948         * xlsx-read.c (xlsx_plot_axis_id), (xlsx_axis_crosses_at),
1949         (cb_axis_set_position): import axis crossing position. [#642941]
1951 2011-03-04  Morten Welinder  <terra@gnome.org>
1953         * xlsx-read.c (xlsx_sheet_begin): Use attr_enum.
1954         (xlsx_wb_name_begin, xlsx_wb_name_end): Collect names and define
1955         as stubs.
1956         (handle_delayed_names): Define all collected names properly.
1958 2011-03-04  Jean Brefort  <jean.brefort@normalesup.org>
1960         * xlsx-read.c (xlsx_axis_end), (xlsx_chart_p_start),
1961         (xlsx_chart_text_content): import multiple runs chart titles. [#643814]
1963 2011-03-03  Morten Welinder  <terra@gnome.org>
1965         * xlsx-read.c (xlsx_chart_text): Avoid criticals in the absense of
1966         chart text.
1967         (xlsx_sheet_begin): Import sheet state.  Fixes #643815.
1969 2011-02-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1971         * xlsx-write.c (xlsx_axis_crosses_at): new
1972         (xlsx_chart_dtd): connect xlsx_axis_crosses_at
1974 2011-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1976         * xlsx-write.c (xlsx_write_comments): skip NULL author
1977         (see glib bug #642944)
1979 2011-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1981         * xlsx-read.c (xlsx_chart_dtd): add c:crossesAt
1982         (xlsx_cell_expr_begin): don't ignore shared expressions with
1983         duplicate id
1985 2011-02-02  Morten Welinder <terra@gnome.org>
1987         * Release 1.10.13
1989 2011-01-06  Morten Welinder  <terra@gnome.org>
1991         * xls-read-pivot.c (xls_read_SXVIEW): The record contains a cache
1992         index, not a cache id.
1993         (xls_read_SXVI): Fix debug print.
1995 2010-12-26  Jean Brefort  <jean.brefort@normalesup.org>
1997         * ms-chart.c (areaformat), (chart_write_LINEFORMAT): enhance color support.
1998         [#637658]
2000 2010-12-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2002         * ms-excel-read.c (excel_read_FONT): try to make cppcheck happy
2004 2010-12-17  Jean Brefort  <jean.brefort@normalesup.org>
2006         * ms-excel-read.c (ms_sheet_realize_obj): make object invisible outline
2007         persistent. [#637393]
2008         * ms-excel-write.c (excel_write_textbox_or_widget_v8):
2010 2010-11-25  Morten Welinder <terra@gnome.org>
2012         * Release 1.10.12
2014 2010-10-13  Morten Welinder  <terra@gnome.org>
2016         * ms-excel-read.c (excel_read_SELECTION): Work around missing
2017         selection.  Fixes #632050.
2018         (excel_parse_name): Treat global Print_Area a tad better.
2020 2010-10-03  Jean Brefort  <jean.brefort@normalesup.org>
2022         * xlsx-write.c (xlsx_write_rich_text): really assign the buffer before
2023         using it.
2025 2010-10-01  Morten Welinder <terra@gnome.org>
2027         * Release 1.10.11
2029 2010-10-01  Jean Brefort  <jean.brefort@normalesup.org>
2030         * xlsx-read.c (elem_color), (xlsx_run_weight), (xlsx_run_style),
2031         (xlsx_run_family), (xlsx_run_size), (xlsx_run_strikethrough),
2032         (xlsx_run_underline), (xlsx_run_color), (xlsx_comments_start),
2033         (xlsx_comments_end), (xlsx_comment_author_end),
2034         (xlsx_comment_start), (xlsx_comment_end), (xlsx_comment_text),
2035         (xlsx_comment_rich_text), (xlsx_wb_end), (xlsx_file_open): read cell
2036         comments. [#630627]
2037         * xlsx-write.c (xlsx_write_rich_text), (write_comment_author),
2038         (xlsx_write_comments), (xlsx_write_sheet), (xlsx_file_save): write cell
2039         comments.
2041 2010-09-15  Jean Brefort  <jean.brefort@normalesup.org>
2043         * ms-chart.c (tick), (chart_write_axis): export/import tick label rotation
2044         angle. [#629675]
2046 2010-09-04  Morten Welinder <terra@gnome.org>
2048         * Release 1.10.10
2050 2010-08-16  Morten Welinder <terra@gnome.org>
2052         * Release 1.10.9
2054 2010-07-30  Morten Welinder <terra@gnome.org>
2056         * Release 1.10.8
2058 2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2060         * excel-xml-read.c (xl_xml_font): add UNDERLINE_*_LOW
2061         * ms-excel-read.c (xls_uline_to_gnm_underline): new
2062         (excel_get_style_from_xf): use xls_uline_to_gnm_underline
2063         (ms_wb_get_font_markup): use gnm_translate_underline_to_pango
2064         (excel_read_CF): use xls_uline_to_gnm_underline
2065         * ms-excel-write.c (map_underline_to_xl) rename
2066           to map_style_underline_to_xl and use new map_underline_to_xl,
2067           change all callers
2068         (map_underline_to_xl): new
2069         (excel_font_to_string): add UNDERLINE_*_LOW
2070         (excel_font_overlay_pango): use gnm_translate_underline_from_pango
2071         (excel_font_from_go_font): fix typo
2072         (excel_write_FONT): use map_underline_to_xl
2073         * xlsx-read.c (xlsx_font_uline): add UNDERLINE_*_LOW
2074         (xlsx_font_valign): fix typo
2076 2010-07-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2078         * ms-excel-read.h (ExcelFont): change underline field from PangoUnderline
2079           to MsBiffFontUnderline
2080         * ms-excel-read.c (excel_read_FONT): underline field of ExcelFont is not
2081           a GnmUnderline but (now) a MsBiffFontUnderline
2082         (excel_get_style_from_xf): convert underline from MsBiffFontUnderline
2083           to GnmUnderline
2085 2010-07-26  Morten Welinder  <terra@gnome.org>
2087         * ms-excel-write.c (write_arrow): Fix argument type for "id".
2089 2010-07-13  Jean Brefort  <jean.brefort@normalesup.org>
2091         * ms-chart.c (chart_write_AREAFORMAT): fixed the auto flag. [see
2092         #624263]
2094 2010-07-10  Jean Brefort  <jean.brefort@normalesup.org>
2096         * ms-chart.c (end): do not crash when a chart has more than one
2097         plot. [#623960]
2099 2010-07-09  Morten Welinder  <terra@gnome.org>
2101         * ms-excel-write.c (excel_write_SETUP): Avoid right-shift bigger
2102         than type.
2104 2010-06-28  Morten Welinder <terra@gnome.org>
2106         * Release 1.10.7
2108 2010-06-23  Morten Welinder  <terra@gnome.org>
2110         * xlsx-read.c (xlsx_CT_RowsCols_end): New function.
2111         (xlsx_CT_Col): Delay applying the style so we can merge areas.
2112         Fixes #622365.
2114 2010-06-16  Morten Welinder <terra@gnome.org>
2116         * Release 1.10.6
2118 2010-05-30  Morten Welinder <terra@gnome.org>
2120         * Release 1.10.5
2122 2010-05-20  Morten Welinder <terra@gnome.org>
2124         * Release 1.10.4
2126 2010-05-07  Morten Welinder <terra@gnome.org>
2128         * Release 1.10.3
2130 2010-04-29  Morten Welinder  <terra@gnome.org>
2132         * ms-excel-write.c (excel_write_DOPER): Fix saving of integers.
2133         (excel_write_AUTOFILTERINFO): Fix swapped "and" and "or".
2135 2010-04-23  Morten Welinder  <terra@gnome.org>
2137         * ms-excel-read.c (supbook_get_sheet): Return "deleted sheet" for
2138         external references so we don't end up with sheet-local refs.
2139         (excel_read_SUPBOOK): Clean up using new docs.
2141 2010-04-21  Jean Brefort  <jean.brefort@normalesup.org>
2143         * ms-chart.c (ai), (objectlink), (end), (ms_excel_chart_read): import
2144         chart title when it is actually the series label. [#616262]
2146 2010-04-16  Morten Welinder <terra@gnome.org>
2148         * Release 1.10.2
2150 2010-04-15  Morten Welinder  <terra@gnome.org>
2152         * ms-excel-write.c (excel_write_textbox_or_widget_v8): Take
2153         bp->length into account too.
2155 2010-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2157         * xlsx-write.c (xlsx_write_workbook): write 1900/1904 date base
2158         info
2160 2010-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2162         * xlsx-read.c (xlsx_CT_WorkbookPr): new
2163         (xlsx_workbook_dtd); hook up xlsx_CT_WorkbookPr
2165 2010-03-31  Jean Brefort  <jean.brefort@normalesup.org>
2167         * ms-chart.c (chart_write_AREAFORMAT): export transparent patterns as
2168         no filling.
2170 2010-03-29  Morten Welinder  <terra@gnome.org>
2172         * ms-formula-write.c (write_funcall): Guess argument types for
2173         functions that the excel format doesn't know about.
2174         (guess_arg_types): New function.
2176         * ms-excel-write.c (excel_write_externsheets_v7,
2177         excel_write_externsheets_v8): Fix letter case for extername
2178         records.
2180 2010-03-08  Morten Welinder <terra@gnome.org>
2182         * Release 1.10.1
2184 2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2186         * xlsx-write.c (xlsx_write_cells): use value_get_as_gstring
2187           rather than value_get_as_string. [#610372]
2189 2010-02-13  Morten Welinder <terra@gnome.org>
2191         * Release 1.10.0
2193 2010-01-29  Jean Brefort  <jean.brefort@normalesup.org>
2195         * ms-excel-write.c (excel_write_textbox_or_widget_v8): export transparency
2196         for filled objects.
2198 2010-01-29  Jean Brefort  <jean.brefort@normalesup.org>
2200         * ms-excel-read.c (ms_sheet_realize_obj): really import transparent objects.
2202 2010-01-19  Morten Welinder <terra@gnome.org>
2204         * Release 1.9.18
2206 2009-12-29  Jody Goldberg <jody@gnome.org>
2208         * xls-read-pivot.c (xls_read_SXVI) : new stub.  Currently only notices
2209           when XL wants to hide things.
2210         (xls_read_SXVD) : used from here.
2212 2009-12-24  Jean Brefort  <jean.brefort@normalesup.org>
2214         * xlsx-read-pivot.c (xlsx_CT_Number),
2215         (xlsx_CT_pivotCacheDefinition): fixed double/gnm_float issues.
2216         * xlsx-read.c (xlsx_axis_bound), (elem_color), (xlsx_CT_Row),
2217         (xlsx_CT_Col), (xlsx_CT_SheetFormatPr), (xlsx_CT_PageMargins),
2218         (xlsx_CT_Top10), (xlsx_CT_Pane), (xlsx_CT_FontSize): ditto.
2220 2009-12-21  Jean Brefort  <jean.brefort@normalesup.org>
2222         * ms-chart.c (lineformat), (chart_write_LINEFORMAT): fix import export
2223         of line type in scatter plots. [#605043]
2225 2009-12-15  Morten Welinder <terra@gnome.org>
2227         * Release 1.9.17
2229 2009-12-09  Jean Brefort  <jean.brefort@normalesup.org>
2231         * ms-chart.c (end): always initialize matrix bounds. [#593937]
2233 2009-11-29  Morten Welinder <terra@gnome.org>
2235         * Release 1.9.16
2237 2009-11-01  Morten Welinder <terra@gnome.org>
2239         * Release 1.9.15
2241 2009-10-16  Morten Welinder  <terra@gnome.org>
2243         * ms-excel-read.c (excel_read_DIMENSIONS): Store dimensions for
2244         clipboard use.
2246 2009-10-15  Morten Welinder  <terra@gnome.org>
2248         * ms-excel-write.c (excel_write_line_v8): Fix handling of
2249         direction.
2250         (excel_write_textbox_or_widget_v8, excel_write_line_v8): Export
2251         line styles.
2253 2009-10-14  Morten Welinder  <terra@gnome.org>
2255         * ms-escher.c (ms_escher_read_OPT): Don't arbitrarily add 1 to
2256         MS_OBJ_ATTR_OUTLINE_STYLE's value.
2258         * ms-excel-read.c (ms_sheet_realize_obj): Read dash style
2259         correctly.
2260         (xl_pattern_to_line_type): Fix mapping.
2262         * ms-excel-write.c (excel_write_line_v8): Export line start arrow
2263         head too.
2265 2009-10-13  Morten Welinder  <terra@gnome.org>
2267         * ms-formula-write.c (excel_write_array_formula): Set
2268         allow_sheetless_ref to avoid t8001 failure.
2270         * ms-obj.c (ms_objv8_write_spinbutton, ms_objv8_write_adjustment):
2271         New functions.
2273 2009-10-12  Morten Welinder  <terra@gnome.org>
2275         * ms-formula-write.c (excel_write_formula): Handle new
2276         EXCEL_CALLED_FROM_OBJ.
2277         (CTXT_NAME_OBJ): Rename from CTXT_NAME.
2279         * ms-obj.c (ms_objv8_write_macro_fmla): Use EXCEL_CALLED_FROM_OBJ.
2281         * ms-excel-write.c (excel_write_textbox_v8): Don't write macro
2282         records yet.
2284         * ms-obj.c (ms_objv8_write_checkbox_fmla,
2285         ms_objv8_write_macro_fmla): Pad length; use NAME context.
2286         (ms_objv8_write_checkbox_link): Take extra "active" argument.  All
2287         callers changed.
2289 2009-10-11  Morten Welinder  <terra@gnome.org>
2291         * ms-excel-write.c (excel_write_textbox_v8): Call
2292         ms_objv8_write_radiobutton_data when appropriate.
2294         * ms-obj.c (ms_objv8_write_radiobutton_data): New function.
2296         * ms-escher.c (ms_escher_clientdata): Drop argument that turned
2297         out to be not useful.
2299 2009-10-11  Morten Welinder <terra@gnome.org>
2301         * Release 1.9.14
2303 2009-10-09  Morten Welinder  <terra@gnome.org>
2305         * ms-excel-write.c (excel_write_autofilter_names): Initialize
2306         nexpr.pos completely.
2308         * ms-excel-read.c (excel_read_NAME): Fix FMR in debug code.
2310         * ms-obj.c (ms_obj_read_biff8_obj): Read the macro reference too.
2312 2009-10-08  Morten Welinder  <terra@gnome.org>
2314         * ms-escher.c (ms_escher_opt_add_bool): New function.
2316         * ms-excel-write.c (excel_write_line_v8): Simplify using
2317         ms_escher_opt_add_bool.
2319 2009-10-07  Morten Welinder  <terra@gnome.org>
2321         * ms-excel-write.c (excel_write_textbox_v8): Export
2322         checkbox/radiobutton link and current value.
2324         * ms-obj.c (ms_objv8_write_checkbox_fmla,
2325         ms_objv8_write_checkbox_data): New functions.
2327         * ms-escher.c (ms_escher_opt_add_color): New function.
2329         * ms-excel-write.c (excel_write_textbox_v8): Make sure the textbox
2330         gets to be part of the container.  Export line and background
2331         colours.  Export outline width.
2332         (excel_write_line_v8): Export line colour and width.
2334         * ms-escher.c (ms_escher_opt_end): Docs were wrong.  Do not
2335         include own header in length.
2336         (ms_escher_opt_add_str_wchar): Fix type error.
2338 2009-10-06  Morten Welinder  <terra@gnome.org>
2340         * ms-excel-read.c (ms_sheet_realize_obj): Restore colour reading.
2341         (ms_sheet_map_color): Add new "pauto" argument.  All callers
2342         changed.
2344 2009-10-05  Morten Welinder  <terra@gnome.org>
2346         * ms-excel-write.c (excel_write_textbox_v8): Export
2347         object name.
2348         (excel_sheet_new): Prepare for handling lines.
2349         (blipinf_new): Plug leak.
2350         (extract_txomarkup): Plug leak.
2351         (xf_init, cb_cell_pre_pass, cb_accum_styles,
2352         excel_write_ClientTextbox): Plug leak.
2353         (excel_write_line_v8): Export lines and arrows.
2355         * ms-biff.h (_BiffPut): Change type of streamPos to gsf_off_t.
2357         * ms-chart.c (chart_write_axis): Don't dump uninitialized memory
2358         into file.
2359         (map_1_5d_type): Plug leak.
2361         * ms-biff.c (ms_biff_put_len_next): Make sure we don't mix _var_
2362         and _len_ calls.  Make sure we commit.
2364 2009-10-04  Morten Welinder  <terra@gnome.org>
2366         * ms-excel-write.c (excel_write_textbox_v8): Attempt to handle
2367         rectangles and ovals.
2369         * ms-escher.c (ms_escher_get_inst, ms_escher_set_inst,
2370         ms_escher_spcontainer_start, ms_escher_spcontainer_end,
2371         ms_escher_sp, ms_escher_opt_start, ms_escher_opt_end,
2372         ms_escher_opt_add_simple, ms_escher_clientanchor,
2373         ms_escher_clientdata): New functions.
2375         * ms-excel-write.c (excel_write_textbox_v8): Use new Escher output
2376         utilities.
2378 2009-10-02  Morten Welinder  <terra@gnome.org>
2380         * ms-excel-write.c (excel_sheet_new): Display name of sheet
2381         objects we cannot export.
2383         * ms-excel-read.c (ms_sheet_realize_obj): Set object name if we
2384         have it.
2386         * ms-escher.c (ms_escher_read_OPT): Assume pointers are UTF-16
2387         strings, not UTF-8.  Fits objs.xls
2389         * ms-excel-write.c (excel_sheet_new): Don't complain over filter
2390         combos.  They are handled, but differently.
2392 2009-10-01  Morten Welinder  <terra@gnome.org>
2394         * ms-excel-write.c (excel_sheet_new): Exclude GNM_SO_FILLED_TYPE
2395         objects with no text as we do not export them right.  [#596886]
2397 2009-09-20  Morten Welinder <terra@gnome.org>
2399         * Release 1.9.13
2401 2009-09-05  Morten Welinder <terra@gnome.org>
2403         * Release 1.9.12
2405 2009-09-05  Jean Brefort  <jean.brefort@normalesup.org>
2407         * all files: renamed go-color.h macros.
2409 2009-09-05  Jean Brefort  <jean.brefort@normalesup.org>
2411         * ms-chart.c (end): don't use z values as x or y when there are no
2412         labels or categories. [See #593937]
2414 2009-09-04  Jean Brefort  <jean.brefort@normalesup.org>
2416         * ms-chart.c (axis), (xl_axis_get_elem), (valuerange): use gnm_go_data
2417         instead of simple go_data [#594068],
2418         (end): don't require x and y values for surfaces.
2420 2009-09-01  Jean Brefort  <jean.brefort@normalesup.org>
2422         * ms-chart.c: renamed GOColor macros.
2423         * ms-excel-read.c: ditto.
2424         * ms-excel-write.c: ditto.
2425         * xlsx-read.c: ditto.
2426         * xlsx-write.c: ditto.
2428 2009-08-31  Jean Brefort  <jean.brefort@normalesup.org>
2430         * ms-chart.c (lineformat), (ms_excel_chart_read),
2431         (style_is_completely_auto), (chart_write_style),
2432         (chart_write_DROPBAR): replace GOStyle::outline.
2433         * ms-excel-read.c (ms_sheet_realize_obj): ditto.
2434         * ms-excel-write.c (extract_gog_object_style): ditto.
2435         * xlsx-read.c (xlsx_draw_line_dash): ditto.
2437 2009-08-30  Morten Welinder <terra@gnome.org>
2439         * Release 1.9.11
2441 2009-08-15  Morten Welinder <terra@gnome.org>
2443         * Release 1.9.10
2445 2009-06-20  Morten Welinder <terra@gnome.org>
2447         * Release 1.9.9
2449 2009-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2451         * xlsx-write.c (xlsx_write_breaks): Quiet enum handling
2453 2009-06-16  Morten Welinder  <terra@gnome.org>
2455         * boot.c: Quiet pivot debugging.
2457 2009-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2459         * ms-excel-read.c (excel_parse_name): If it looks like the print area
2460           could have been one of our old "whole sheet" areas, set it to nil.
2462 2009-06-09  Jody Goldberg <jody@gnome.org>
2464         * xls-read-pivot.c (xls_read_SXIVD) : ignore magic index of 0xfffe.
2465           Need to figure out what it does.
2467 2009-06-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2469         * ms-excel-write.c (excel_write_PAGE_BREAK): don't save automatic
2470           page breaks
2472 2009-05-23  Morten Welinder <terra@gnome.org>
2474         * Release 1.9.8
2476 2009-05-19  Morten Welinder  <terra@gnome.org>
2478         * ms-excel-read.c (excel_read_WINDOW1): Normalize bools, or else
2479         gobject will complain.
2481 2009-05-18  Morten Welinder  <terra@gnome.org>
2483         * ms-excel-read.c (excel_read_WINDOW1): Use g_object_set instead
2484         of poking directly into a WorkbookView.
2486 2009-05-14  Jon K Hellan  <hellan@acm.org>
2488         * ms-excel-util.c (init_xl_font_widths): Add DejaVu fonts with
2489         same metrics as Bitstream Vera.
2491 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2493         * xlsx-write.c (xlsx_write_cols): and don't commit debugging code
2495 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2497         * xlsx-write.c (xlsx_write_cols): fix off-by-one error [#569862]
2499 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2501         * xlsx-write.c (xlsx_write_sheet): write the tags in schema ordering
2503 2009-05-06  Morten Welinder <terra@gnome.org>
2505         * Release 1.9.7
2507 2009-05-06  Morten Welinder  <terra@gnome.org>
2509         * ms-excel-read.c (excel_read_init): Use the GnmFunc's case in the
2510         hash.
2512 2009-05-05  Morten Welinder  <terra@gnome.org>
2514         * ms-excel-write.c (excel_sheet_write_block): Add one-element
2515         cache.  Fixes #581378.
2517 2009-05-02  Jean Brefort  <jean.brefort@normalesup.org>
2519         * ms-chart.c (get_style), (ms_excel_chart_read): use reimplemented
2520         gog_style_new().
2522 2009-04-28  Jody Goldberg <jody@gnome.org>
2524         * xlsx-read.c : initial work on reading external refs.   Still broken
2525           for refs to sheets with spaces in their names '[1]A Space!A1' thanks
2526           to massively silly quoting conventions.  This will take a parser
2527           re-org to handle.
2529 2009-04-26  Morten Welinder  <terra@gnome.org>
2531         * ms-excel-write.c (excel_sheet_extent): Fix off-by-one when we
2532         overflow the area available.
2534 2009-04-25  Morten Welinder <terra@gnome.org>
2536         * Release 1.9.6
2538 2009-04-22  Morten Welinder  <terra@gnome.org>
2540         * ms-container.c (ms_container_read_markup): Fix badly
2541         misunderstood field.  Fixes #579835.
2543 2009-04-16  Jean Brefort  <jean.brefort@normalesup.org>
2545         * ms-chart.c: (get_style): create a GogStyle object, not a GOStyle.
2547 2009-04-15  Morten Welinder  <terra@gnome.org>
2549         * ms-obj.c (ms_read_TXO): Fix text problem.  [#578878]
2551 2009-04-10  Jean Brefort  <jean.brefort@normalesup.org>
2553         * ms-chart.c: fixed after GogStyle -> GOStyle rename.
2554         * ms-excel-read.c: ditto.
2555         * ms-excel-write.c: ditto.
2556         * xlsx-read.c: ditto.
2558 2009-04-11  Jody Goldberg <jody@gnome.org>
2560         * plugin.xml.in : get rid of bogus .sml suffix now that we have
2561           probing.
2562         * excel-xml-read.c : accept title and description in metadata
2563         (xl_xml_col_start) : only assign width > 0.
2564         (xl_xml_num_fmt) : fix previous patch.
2566 2009-04-02  Morten Welinder  <terra@gnome.org>
2568         * ms-excel-write.c (excel_sheet_new): Limit maxcols to what we
2569         actually have.  Fixes #577758.
2571 2009-04-01  Morten Welinder  <terra@gnome.org>
2573         * xlsx-write.c (xlsx_write_sheet): Fix access to ->sheet.
2574         (xlsx_write_objects): Plug leak.
2576 2009-03-31  Morten Welinder  <terra@gnome.org>
2578         * xlsx-write.c: Partial fix for #168875.
2579         * ms-excel-read.c: Ditto.
2580         * ms-excel-write.c: Ditto.
2582         * ms-obj.c (read_pre_biff8_read_name_and_fmla): Add sanity checks.
2583         (ms_obj_read_pre_biff8_obj): Add and fix sanity checks.  Fixes
2584         #577504.
2586         * ms-excel-read.c (excel_read_MERGECELLS): Fix sanity check.
2587         Fixes #577503.
2589         * ms-chart.c (ms_excel_chart_read): Leak less on errors.
2590         (BC_R(scatter)): Add sanity check for V8 case.  Fixes #577400.
2592         * ms-excel-read.c (excel_read_CF): Add sanity checks.  Fixes
2593         #577399.
2595         * ms-biff.c (ms_biff_query_next): If the read fails, make sure
2596         ->length is zero to match the NULL ->data.
2598 2009-03-30  Morten Welinder  <terra@gnome.org>
2600         * ms-chart.c (ms_excel_chart_read): Add sanity check.  Fixes
2601         #577351.
2603         * ms-excel-read.c (excel_read_IMDATA): Add sanity check.  Fixes
2604         #577348.
2606         * ms-container.c (ms_container_get_blip): Add sanity check.  Fixes
2607         #577260.
2609         * ms-excel-read.c (excel_read_MULBLANK): Add sanity checks.  Fixes
2610         #577259.
2612 2009-03-29  Morten Welinder  <terra@gnome.org>
2614         * ms-obj.c (ms_read_TXO): Add sanity check.
2616         * ms-biff.c (ms_biff_query_peek_next): Read the length field too
2617         and make sure there's enough left to read the data.  Fixes
2618         #577205.
2620         * ms-chart.c (lineformat): Add sanity check.  Fixes #577208.
2622 2008-12-10  Jody Goldberg <jody@gnome.org>
2624         * excel-xml-read.c (xl_xml_probe_start_element) : new.
2625         (excel_xml_file_probe) : use the new gsf_xml_probe.
2627         * plugin.xml.in : SpreadsheetML has a probe function now.
2629 2009-03-22  Morten Welinder <terra@gnome.org>
2631         * Release 1.9.5
2633 2009-03-20  Morten Welinder  <terra@gnome.org>
2635         * ms-excel-read.c (excel_read_LABEL_markup): Fix sanity check
2636         off-by-one.
2638         * ms-container.c (ms_container_read_markup): Fix termination
2639         condition.  #576112.
2640         (ms_container_read_markup): Fix sanity check off-by-one.
2642         * ms-excel-read.c (excel_read_init): Use magic formats for 0x0e,
2643         0x0f, and 0x16.  Keep the nameless magic for 0x10.
2645 2009-03-16  Morten Welinder  <terra@gnome.org>
2647         * ms-excel-read.c (excel_read_LABEL_markup): Verify that offsets
2648         are sane.
2649         (excel_read_LABEL_markup): Ditto.  Fixes #575452.
2651 2009-03-15  Morten Welinder  <terra@gnome.org>
2653         * ms-excel-read.c (excel_read_init): Reinstate, but without
2654         looking at go_format_builtins.
2656 2009-03-15  Morten Welinder  <terra@gnome.org>
2658         * ms-excel-read.c (excel_read_init): Do not localize formats 14,
2659         15, 16, and 22.
2661         * ms-chart.c (ms_excel_chart_read_NUMBER,
2662         ms_excel_chart_read_LABEL): Add extra sanity check.  Fixes #575393.
2664 2009-03-14  Morten Welinder  <terra@gnome.org>
2666         * ms-excel-write.c (excel_font_from_go_font): Don't crash if the
2667         font descriptor lacks a family.  Part of #575318.
2668         (cb_NOTE_v8): If there is no author, just use the empty string.
2670 2009-03-10  Morten Welinder  <terra@gnome.org>
2672         * ms-excel-read.c (ms_biff_bof_data_new): Handle BIFF_BOF_v8
2673         records indicating MS_BIFF_V2/MS_BIFF_V3/MS_BIFF_V4 files.  (And
2674         indicating broken tools too, of course.)
2676 2009-02-22  Morten Welinder <terra@gnome.org>
2678         * Release 1.9.4
2680 2009-02-20  Morten Welinder  <terra@gnome.org>
2682         * ms-chart.c (chart_create_obj): Bullet proof.
2684 2009-02-18  Morten Welinder  <terra@gnome.org>
2686         * ms-formula-write.c (do_excel_write_prep_expr): Use
2687         excel_func_by_name hash table instead of linear search.
2689         * ms-excel-read.c (excel_read_init): Set up new hash table
2690         excel_func_by_name.
2692 2009-02-17  Morten Welinder  <terra@gnome.org>
2694         * ms-formula-read.c (excel_func_desc): Rename entry 92 back to
2695         "SERIES" hoping that won't break anything.  Fixes #572127.
2697 2009-01-31  Morten Welinder  <terra@gnome.org>
2699         * ms-formula-read.c (excel_parse_formula1): Use
2700         gnm_expr_new_range_ctor, not build_binop.
2702 2009-01-23  Morten Welinder  <terra@gnome.org>
2704         * ms-excel-write.c (excel_sheet_write_block): Handle the case of a
2705         missing cell better.  Partially fixes #568929.
2707 2009-01-16  Jean Brefort  <jean.brefort@normalesup.org>
2709         * ms-chart.c: (chart_write_AI): support GOData simple
2710         instances [#567953],
2711         (chart_write_axis_sets): do not write invalid AXESUSED field, see
2712         #567823.
2714 2009-01-15  Morten Welinder  <terra@gnome.org>
2716         * ms-excel-read.c (excel_read_DELTA): Check tolerance.  Fixes
2717         #567823.
2718         (excel_read_CALCCOUNT): Check count.
2720 2009-01-15  Jean Brefort  <jean.brefort@normalesup.org>
2722         * ms-chart.c: (axesused): Don't use g_return_val_if_fail for data
2723         dependent errors.
2725 2009-01-11  Morten Welinder  <terra@gnome.org>
2727         * ms-formula-write.c (write_node): Don't introduce parentheses
2728         around explicit parentheses.  Fixes #567380.
2730 2008-12-15  Morten Welinder  <terra@gnome.org>
2732         * ms-chart.c (BC_R): Don't use g_return_val_if_fail for data
2733         dependent errors.  Fixes #564499.
2735 2008-12-12  Morten Welinder  <terra@gnome.org>
2737         * ms-excel-util.c (two_way_table_move): Make sure we keep
2738         unique_keys correct.  See #564078.
2740 2008-12-11  Morten Welinder  <terra@gnome.org>
2742         * ms-excel-write.c (map_pattern_to_xl): Throw in some translations
2743         of Gnumeric-specific patterns.  Fixes #564078.
2745 2008-12-08  Jean Brefort  <jean.brefort@normalesup.org>
2747         * ms-chart.c: (3d): use an int for an integer property, not a double.
2749 2008-11-11  Jean Brefort  <jean.brefort@normalesup.org>
2751         * ms-chart.c: (3d), (chart_write_plot): some work on 3d import/export,
2752         (ms_excel_chart_write): fixed segfault when exporting an empty contour
2753         plot. [#557027]
2755 2008-10-21  Morten Welinder  <terra@gnome.org>
2757         * ms-chart.c (BC_R(end)): Don't look first series if there are no
2758         series.  Fixes #557077.
2760 2008-10-18  Jody Goldberg <jody@gnome.org>
2762         * Release 1.9.3
2764 2008-10-02  Morten Welinder  <terra@gnome.org>
2766         * ms-excel-write.c (excel_write_NAME): Don't write a formula for
2767         place-holders.
2769 2008-10-01  Morten Welinder  <terra@gnome.org>
2771         * ms-excel-write.c (excel_foreach_name): Use new
2772         workbook_foreach_name.
2774 2008-10-13  Jody Goldberg <jody@gnome.org>
2776         * ms-obj.c (ms_read_OBJ) : standalone OBJ records outside escher
2777           groups appear to use the old style. [#546887]
2779 2008-10-09  Jody Goldberg <jody@gnome.org>
2781         * xlsx-read.c (xlsx_pattern_fg_bg) : merge _fg and _bg and
2782           restore/comment on why there seems to be a need for magic in the
2783           case of conditional formats.
2785 2008-10-09  Jody Goldberg <jody@gnome.org>
2787         * xlsx-read.c (indexed_color) : return a GOColor.
2788         (themed_color) : new.  Has some magic to use the theme indicies as
2789           lookups into a hard coded map.d
2790         (xlsx_draw_color_themed) : simplified, the theme_colors_by_name is always defined.
2791         (hue_to_color) : new.
2792         (apply_tint) : new.  Could be moved into goffice.
2793         (elem_color) : handle tints, and themes.
2794         (xlsx_get_style_xf) : new.
2795         (xlsx_pattern_fg) : drop the magic pattern based inversion.
2796         (xlsx_pattern_bg) : ditto.
2797         (xlsx_border_end) : add protection.
2798         (xlsx_xf_begin) : merge parent styles when available.
2799         (xlsx_cell_style) : it is an index into the style_xfs, not the cell_xfs.
2800         (xlsx_file_open) : read themes before styles.
2802 2008-09-11  Jody Goldberg <jody@gnome.org>
2804         * ms-excel-read.c (excel_read_TAB_COLOR) : no sense checking for NULL.
2805           [Coverity #197]
2807 2008-09-02  Jody Goldberg <jody@gnome.org>
2809         * boot.c (excel_file_open) : store VBA if it is available
2810             *
2811 2008-08-29  Jody Goldberg <jody@gnome.org>
2813         * Release 1.9.2
2815 2008-08-29  Morten Welinder  <terra@gnome.org>
2817         * ms-excel-read.c (excel_wb_get_fmt): Handle broken 1.6 formats.
2819 2008-08-02  Jean Brefort  <jean.brefort@normalesup.org>
2821         * xlsx-read.c: Fixed axis position.
2823 2008-08-01  Jean Brefort  <jean.brefort@normalesup.org>
2825         * ms-chart.c: (axis), (valuerange): set the "cross-axis-id" property.
2827 2008-07-28  Jean Brefort  <jean.brefort@normalesup.org>
2829         * ms-chart.c: (ai): add a warning, (tick): import text orientation,
2830         (chart_write_AI): fix AI export (reverses 2008-02-29 change),
2831         (chart_write_axis): export text orientation [#544935].
2833 2008-07-02  Jody Goldberg <jody@gnome.org>
2835         * xlsx-read.c (xlsx_CT_worksheet) : new.  Looks for related pivot
2836           tables.  If the gsf extension necessary is available.
2837         (cb_find_pivots) : new.
2839 2008-06-30  Jody Goldberg <jody@gnome.org>
2841         * xlsx-read.c (xlsx_CT_PivotCache) : new, read a cache.
2842         * xlsx-read-pivot.c : New.
2843         * Makefile.am : dist xlsx-read-pivot.c
2845 2008-02-29  Jean Brefort  <jean.brefort@normalesup.org>
2847         * ms-chart.c (chart_write_AI): Do not export non-existing values
2848         (fixes some criticals, see #519788).
2850 2008-06-29  Morten Welinder  <terra@gnome.org>
2852         * ms-chart.c (xl_chart_import_error_bar): More checks on parent.
2853         Fixes #540697.
2855 2008-06-25  Jody Goldberg <jody@gnome.org>
2857         * Release 1.9.1
2859 2008-06-22  Jody Goldberg <jody@gnome.org>
2861         * ms-biff.c (ms_biff_query_next) : don't return anything if the record
2862           looks suspicious. [#539666]
2864 2008-06-22  Jody Goldberg <jody@gnome.org>
2866         * ms-chart.c (chart_realize_obj) : throw in a warning (not used yet).
2867         (chart_create_obj) : call out to the container.
2869 2008-06-19  Morten Welinder  <terra@gnome.org>
2871         * ms-chart.c (end): Fix corrupted-file crash.  [#539178]
2873 2008-06-13  Jody Goldberg <jody@gnome.org>
2875         * ms-obj.c (ms_obj_read_expr) : handle empty expressions without a
2876           calc id.
2877         (ms_obj_read_biff8_obj) : drop the debug spew.
2879         * ms-excel-read.c (excel_read_EXTERNNAME) : rework the logic to
2880           differentiate between name/DDE/OLE, and always load the name itself
2881           even if we do not support DDE/OLE.
2882         (excel_read_EXTERNSHEET_v7) : hush.
2883         (excel_read_HEADER_FOOTER) : drop the size checks (they were wrong for
2884           older sheets) they are unnecessary.  The biff_text handles it better.
2885         (excel_biff_text_1) : use the same structure as the logic in ...
2886         (excel_biff_text_2) : ... here.  And make it clear that we only need
2887           two bytes.
2889         * ms-chart.c (BC_R(surf)) :  This is only 2 bytes, not 6.
2891 2008-06-12  Jody Goldberg <jody@gnome.org>
2893         * ms-excel-read.c (gnm_xl_importer_free) : don't free a name that
2894           failed to import.
2895         (excel_parse_name) : Do not free the name string here.
2896         (excel_read_EXTERNNAME) : get the name string even for DDE and OLE.
2897           Fix the test for DDE links.
2898           Improve the warning for unsupported types, and win32 proof them.
2899           free the name string here.
2900         (excel_read_NAME) : and free it here too.
2901         (excel_read_SUPBOOK) : relax the size check to <=.  If there are no
2902           sheets in the external link (e.g. DDE links) then this is the whole
2903           record.  Remove the warning about unknown encoding.  There is no
2904           requirement that the first character be one of the magic encoding
2905           flags.
2907 2008-06-11  Morten Welinder  <terra@gnome.org>
2909         * ms-excel-util.c (two_way_table_put): If we free the key because
2910         it is a duplicate, continue with the valid version, not the freed.
2911         Fixes #537625.
2913 2008-05-07  Morten Welinder  <terra@gnome.org>
2915         * ms-excel-write.c (ExcelStyleVariant): New type.
2916         (xf_init): Create cell_style_variant hash.  Change domain type of
2917         xf.two_way_table to ExcelStyleVariant.  All users changed.
2918         (xf_free): Destroy cell_style_variant.
2919         (cb_cell_pre_pass): If a string cell needs quoting, mark it as
2920         variant 1.
2921         (excel_sheet_write_block): Use proper variant.
2922         (build_xf_data): Set ->format properly.
2923         (excel_write_XF): Propagate ->format into XF.  Fixes #530704.
2925 2008-05-04  Jody Goldberg <jody@gnome.org>
2927         * Release 1.9.0
2929 2008-05-04  Jody Goldberg <jody@gnome.org>
2931         * xlsx-read.c : Add stub for 'functionGroup'
2933 2008-05-02  Morten Welinder  <terra@gnome.org>
2935         * ms-excel-read.c (excel_read_XF): Dump more of the xf when debugging.
2937 2008-05-02  Jody Goldberg <jody@gnome.org>
2939         * ms-excel-read.c (ms_biff_bof_data_new) : make the version info spew
2940           optional.
2942 2008-04-27  Morten Welinder  <terra@gnome.org>
2944         * ms-excel-read.c (excel_sheet_insert_val): Don't set formats for
2945         blanks and bools.  Fixes #530259.
2947 2008-03-29  Morten Welinder  <terra@gnome.org>
2949         * ms-formula-read.c (excel_parse_formula1): Fix swapped length
2950         checks.  Fixes #524926.
2952 2008-03-12  Morten Welinder  <terra@gnome.org>
2954         * ms-excel-read.c (excel_wb_get_fmt): Replace invalid formats by
2955         General.
2957 2008-03-07  Jean Brefort  <jean.brefort@normalesup.org>
2959         * xlsx-read.c: (xlsx_chart_text): create GnmGOData instead
2960         of GOData, (xlsx_axis_cleanup): do not unref a non deletable axis.
2962 2008-02-29  Jean Brefort  <jean.brefort@normalesup.org>
2964         * ms-chart.c: (ms_excel_chart_read): do not leak the default lot style,
2965         (store_dim): accept vectors with nul length,
2966         (chart_write_axis): fix export of invisible axis.
2968 2008-02-29  Jean Brefort  <jean.brefort@normalesup.org>
2970         * ms-chart.c (BC_R(end)): Drop axes that the plot cannot handle.
2971         Fixes a number of criticals from #518939.
2973 2008-02-27  Morten Welinder  <terra@gnome.org>
2975         * ms-chart.c (set_radial_axes): If clearing the parent fails, the
2976         ref-count is not as expected to stop messing with the object.
2977         Fixes #518939.  Mostly.
2979 2008-02-23  Morten Welinder  <terra@gnome.org>
2981         * ms-excel-read.c (excel_externsheet_v8): Take guint16 argument to
2982         prevent negative lookups.
2984 2008-02-19  Morten Welinder  <terra@gnome.org>
2986         * ms-escher.c (ms_escher_get_data): Add a few checks before Sum1
2987         finds this.
2989 2008-02-17  Morten Welinder  <terra@gnome.org>
2991         * ms-obj.c (ms_read_OBJ): Return error indicator.
2992         * ms-escher.c (ms_escher_read_ClientData): Handle errors from
2993         ms_read_OBJ.  Fixes #517106.
2995 2008-02-15  Morten Welinder  <terra@gnome.org>
2997         * ms-chart.c (ms_excel_chart_read): Check record length here for
2998         all chart record types.  (Derived from Jean's patch to #515343.)
2999         Fixes #514513, #515343, #515873, #515876.
3000         (BC(register_handlers)): Fix the minimum length of siindex
3001         records.
3003 2008-02-08  Morten Welinder  <terra@gnome.org>
3005         * ms-chart.c: Sprinkle some length checks.  Fixes #515269,
3006         #515275, and #515335.
3008         * ms-excel-read.c (excel_read_SUPBOOK): Add length checks.  Fixes
3009         #515155.
3011 2008-02-07  Morten Welinder  <terra@gnome.org>
3013         * ms-biff.c (ms_biff_query_bound_check): Return (guint32)-1 on
3014         error so we can tell.
3016         * ms-excel-read.c (gnm_xl_importer_free): Be more careful when
3017         freeing sst.
3018         (sst_read_string): Be more careful.  This code is a mess.
3020         * ms-chart.c (xl_chart_import_error_bar): Avoid crash in missing
3021         parent-series case.  Fixes #514630.
3023         * ms-formula-read.c (excel_parse_formula1, excel_parse_formula):
3024         Grow a maxlen argument and make sure we do not read more.  Fixes
3025         #514637.
3027         * ms-excel-read.c (excel_read_string_header, excel_get_text): Grow
3028         an array_length argument and make sure we do not read more array
3029         data than call.  All callers changed.
3030         (excel_biff_text, excel_biff_text_1, excel_biff_text_2): New
3031         Biff-record based wrappers for excel_get_text.
3032         (excel_formula_shared): Make sure to copy the data behind the
3033         expression too.
3035 2008-02-05  Morten Welinder  <terra@gnome.org>
3037         * ms-escher.c (ms_escher_read_Blip): Don't construct bogus blip.
3038         Fixes #514510.
3040         * ms-excel-read.c (excel_read_FONT): Add length checks.  Fixes
3041         #514506.
3043 2008-02-04  Morten Welinder  <terra@gnome.org>
3045         * ms-excel-read.c (excel_biff_text, excel_biff_text_1,
3046         excel_biff_text_2): New functions.  Use these where possible to
3047         add length checks.
3049         * ms-chart.c (ai): Handle missing series.  Fixes #514435.
3050         (fontx): Add length checks.  Fixes #514436.
3051         * ms-biff.c (ms_biff_query_set_decrypt): Handle empty record.
3052         Fixes #514437.
3054         * ms-excel-read.c (excel_read_FORMULA): When we see multiple
3055         expressions for a single cell, don't leak.  Fixes #514295.
3056         (excel_cell_fetch): New function.
3057         (excel_read_FORMULA, excel_read_LABEL, excel_sheet_insert_val):
3058         Use excel_cell_fetch so we range check cell position.
3060         * ms-chart.c (ms_excel_chart_read): Factor the rest of cases out
3061         into functions so XL_CHECK_CONDITION can be used.  Fixes #514229
3062         and several other similar issues.
3064         * ms-excel-read.c (excel_read_DEF_ROW_HEIGHT): Add length checks.
3065         Fixes #514230.
3067 2008-02-03  Morten Welinder  <terra@gnome.org>
3069         * ms-excel-read.c (excel_read_sheet): Factor the rest of cases out
3070         into functions so XL_CHECK_CONDITION can be used.  Fixes #513963
3071         and several other similar issues.
3073 2008-02-02  Morten Welinder  <terra@gnome.org>
3075         * ms-excel-read.c (excel_read_workbook) [BIFF_DSF]: Properly check
3076         record length.  Fixes #513835.
3077         (excel_read_HLINK): Be even stricter about record lengths.
3079 2008-02-01  Morten Welinder  <terra@gnome.org>
3081         * ms-excel-read.c (excel_read_NAME): Properly check record length.
3082         Fixes #513608.
3083         (excel_read_FORMAT): Ditto.  Fixes #513608.
3084         (excel_read_ROW): Ditto.  Fixes #513787.
3086         * ms-chart.c (BC_R): Ditto.  Fixes #513790.
3088 2008-01-31  Morten Welinder  <terra@gnome.org>
3090         * ms-excel-read.c (excel_read_BOOLERR): Properly check record
3091         length.
3092         (excel_read_HEADER_FOOTER): Ditto.
3093         (excel_read_REFMODE): Ditto.  Fixes #513364.
3094         (excel_read_PAGE_BREAK): Ditto.  Fixes #513361.
3095         (excel_set_xf): Ditto.  Fixes #513551.
3097 2008-01-30  Morten Welinder  <terra@gnome.org>
3099         * ms-excel-read.c (excel_read_EXTERNNAME): Fix the error case.
3100         Fixes #513005.
3101         (excel_read_LABEL): Properly check record length.  Fixes #513313.
3102         (excel_read_SELECTION): Properly check record length.  Fixes #513317.
3104 2008-01-29  Morten Welinder  <terra@gnome.org>
3106         * ms-excel-write.c (excel_write_string): Fix length written for
3107         the unicode case (with length measured in characters).
3109 2008-01-29  Morten Welinder  <terra@gnome.org>
3111         * ms-excel-read.c (excel_read_EXTERNSHEET_v8): Check q->length
3112         properly.  Fixes #512984.
3114 2008-01-15  Morten Welinder  <terra@gnome.org>
3116         * ms-excel-read.c (excel_read_HLINK): Improve error checks.
3117         Fixes 505330.
3119 2008-01-12  Jean Brefort  <jean.brefort@normalesup.org>
3121         * ms-chart.c: (ms_excel_chart_write): save graph title if any and
3122         if the first chart has no title. [#301720]
3124 2007-12-21  Jody Goldberg <jody@gnome.org>
3126         * Release 1.8.0
3128 2007-12-12  Jean Brefort  <jean.brefort@normalesup.org>
3130         * ms-chart.c: (lineformat), (ms_excel_chart_read),
3131         (chart_write_LINEFORMAT), (chart_write_axis),
3132         (ms_excel_chart_write): fix import / export of lines format. [#502968]
3133         * ms-excel-read.c: (xl_pattern_to_line_type),
3134         (ms_sheet_realize_obj): ditto.
3135         * ms-excel-read.h: ditto.
3137 2007-12-07  Morten Welinder  <terra@gnome.org>
3139         * ms-chart.c (ms_excel_chart_read): Copy list of contributors
3140         because it will change underneath us.  [#501656]
3142 2007-12-03  Jody Goldberg <jody@gnome.org>
3144         * Release 1.7.91
3146 2007-11-28  Jean Brefort  <jean.brefort@normalesup.org>
3148         * ms-chart.c: (axislineformat): always set the style, even for
3149         invisible axes,
3150         (objectlink): started work on series labels import,
3151         (set_radial_axes),(radar), (radararea), load radar plot axes. [#499349]
3152         (end): a better auto marker test for #344950,
3153         (ms_excel_chart_read), reparent invisible axis children before
3154         deleting the axis.
3155         (chart_write_axis_sets): write radar plots axes.
3156         * ms-excel-read.c: (excel_read_BOF): reverse objects stack order.
3158 2007-11-23  Jody Goldberg <jody@gnome.org>
3160         * xlsx-read.c (xlsx_CT_PageMargins) : enable top/bottom.
3161           Convert header/footer from inches to pts.
3163 2007-11-19  Jody Goldberg <jody@gnome.org>
3165         * Release 1.7.90
3167 2007-11-18  Jody Goldberg <jody@gnome.org>
3169         * ms-excel-write.c (excel_write_HLINKs) : implement.
3170         * ms-excel-read.c (excel_read_HLINK) : enable file and unc links.
3171         * plugin.xml.in : prefer biff8 to biff7 when matching by suffix.
3173 2007-11-17  Morten Welinder  <terra@gnome.org>
3175         * ms-formula-write.c (write_funcall): Fix error message.
3177 2007-11-15  Morten Welinder  <terra@gnome.org>
3179         * ms-excel-write.c (excel_sheet_free): Plug leaks.  [#497191]
3181 2007-11-12  Morten Welinder  <terra@gnome.org>
3183         * xlsx-read.c (xlsx_CT_Selection): Plug leak.
3185 2007-11-15  Jean Brefort  <jean.brefort@normalesup.org>
3187         * ms-chart.c: (areaformat): set fill.auto_fill to FALSE for
3188         transparent backgounds,
3189         (XL_gog_series_set_dim), (ms_excel_chart_read): fix compiler warnings.
3191 2007-11-12  Jean Brefort  <jean.brefort@normalesup.org>
3193         * ms-chart.c: (axislineformat), (ms_excel_chart_read),
3194         (chart_write_axis): use the "invisible" property for axis when
3195         appropriate.
3197 2007-11-06  Jean Brefort  <jean.brefort@normalesup.org>
3199         * ms-chart.c: (xl_axis_get_elem): don't set cross auto each
3200         time there is an auto parameter, just for cross.
3202 2007-11-04  Morten Welinder <terra@gnome.org>
3204         * Release 1.7.14
3206 2007-11-01  Morten Welinder  <terra@gnome.org>
3208         * ms-excel-write.c (excel_write_ClientTextbox): Survive NULL
3209         label.  Patches over #492377.
3210         (excel_write_string): Handle NULL txt here, just in case.
3212 2007-10-29  Morten Welinder  <terra@gnome.org>
3214         * ms-chart.c: use g_printerr where appropriate.
3215         (objectlink): Plug another leak.
3217 2007-10-29  Morten Welinder  <terra@gnome.org>
3219         * ms-chart.c (ms_excel_chart_read): Avoid freeing a value when
3220         trying to copy it.
3221         (seriestext): Fix leak.
3223 2007-10-29  Jean Brefort  <jean.brefort@normalesup.org>
3225         * ms-chart.c: (axislineformat): set s->xaxis to NULL after deletion,
3226          (ms_excel_chart_read): initialize state.interpolation. [#491131]
3228 2007-10-27  Morten Welinder  <terra@gnome.org>
3230         * ms-excel-write.c (cb_write_macro_NAME): Don't delete
3231         efunc->macro_name here.  That won't work when we write the
3232         dual-format.
3233         (free_excel_func): New function.
3234         (excel_write_state_new): Install free_excel_func as value
3235         destructor for the hash.  Fixes #490828.
3237 2007-10-27  Jean Brefort  <jean.brefort@normalesup.org>
3239         * ms-chart.c: enhance axes labels import, export them, and fix
3240         export of line patterns.
3242 2007-10-24  Morten Welinder  <terra@gnome.org>
3244         * ms-formula-write.c (excel_formula_write_NAME_v7): Use a
3245         sequential id instead of casting the expression address to a
3246         number.
3248 2007-10-21  Morten Welinder <terra@gnome.org>
3250         * Release 1.7.13
3252 2007-09-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
3254         * ms-chart.c (ms_excel_chart_write): remove unused zoom argument in
3255         gog_renderer_update call.
3257 2007-09-28  Jean Brefort  <jean.brefort@normalesup.org>
3259         * ms-chart.c: do not use WITH_GOFFICE_0_4 anymore.
3261 2007-09-27  Jody Goldberg <jody@gnome.org>
3263         * xlsx-read.c : Fix import of existing conditional format types.
3264           We can not handle the computed range formats yet.
3266 2007-09-24  Jody Goldberg <jody@gnome.org>
3268         * ms-chart.c (BC_R(end)) : Don't leak a style when faced with an empty
3269           label.
3271 2007-09-21  Morten Welinder  <terra@gnome.org>
3273         * md5.c: Switch to GPL2 version, see  bug #478398.  (Patch by
3274           Hans de Goede)
3276 2007-09-16  Jody Goldberg <jody@gnome.org>
3278         * xlsx-read.c (xlsx_plot_area_start) : new.
3279         (xlsx_plot_area_end) : new.
3280         (xlsx_chart_logbase) : new.
3281         (xlsx_draw_line_dash) : new.
3282         (xlsx_chart_marker_symbol) : new.
3283         (xlsx_chart_marker_end) : assign the marker symbol here, so that we
3284           can get handle auto
3285         (xlsx_chart_gridlines) : new.
3286         (xlsx_chart_pop) : new.
3288 2007-09-16  Jody Goldberg <jody@gnome.org>
3290         * xlsx-read.c (xlsx_plot_area_start) : new.
3291         (xlsx_plot_area_end) : new.
3292         (xlsx_chart_logbase) : new.
3293         (xlsx_draw_line_dash) : new.
3294         (xlsx_chart_marker_symbol) : new.
3295         (xlsx_chart_marker_end) : assign the marker symbol here, so that we
3296           can get handle auto
3297         (xlsx_chart_gridlines) : new.
3298         (xlsx_chart_pop) : new.
3300 2007-09-16  Jody Goldberg <jody@gnome.org>
3302         * xlsx-read.c (xlsx_plot_area_start) : new.
3303         (xlsx_plot_area_end) : new.
3304         (xlsx_chart_logbase) : new.
3305         (xlsx_draw_line_dash) : new.
3306         (xlsx_chart_marker_symbol) : new.
3307         (xlsx_chart_marker_end) : assign the marker symbol here, so that we
3308           can get handle auto
3309         (xlsx_chart_gridlines) : new.
3310         (xlsx_chart_pop) : new.
3312 2007-09-16  Jody Goldberg <jody@gnome.org>
3314         * xlsx-read.c (attr_rgb) : new.
3315         (xlsx_chart_push_obj) : new.
3316         (xlsx_chart_pop_obj) : new.
3317         (simple_bool) : new.
3318         (xlsx_vary_colors) : use it.
3319         (simple_int) : new.
3320         (xlsx_chart_pie_sep) : use it.
3321         (xlsx_chart_bar_overlap) : ditto.
3322         (xlsx_chart_bar_gap) : ditto.
3323         (simple_float) : new.
3324         (simple_enum) : new.
3325         (xlsx_chart_bar_dir) : use it.
3326         (xlsx_chart_add_plot) : new.
3327         (xlsx_chart_pie) : use it.
3328         (xlsx_chart_ring) : use it.
3329         (xlsx_chart_bar) : use it.
3330         (xlsx_chart_area) : use it.
3331         (xlsx_chart_line) : use it.
3332         (xlsx_chart_xy) : use it.
3333         (xlsx_chart_bubble) : use it.
3334         (xlsx_chart_radar) : use it.
3336         (xlsx_axis_info_free) : new.
3337         (xlsx_plot_axis_id) : new.
3338         (xlsx_axis_id) : new.
3339         (xlsx_axis_start) : new.
3340         (xlsx_axis_delete) : new.
3341         (xlsx_axis_orientation) : new.
3342         (xlsx_axis_pos) : new.
3343         (xlsx_axis_bound) : new.
3344         (xlsx_axis_crosses) : new.
3345         (xlsx_axis_end) : new.
3346         (xlsx_chart_ser_f) : handle series names.
3348         (xlsx_chart_pt_start) : new.
3349         (xlsx_chart_pt_end) : new.
3350         (xlsx_chart_pt_index) : new.
3351         (xlsx_chart_pt_sep) : new.
3352         (xlsx_chart_style_start) : new.
3353         (xlsx_chart_style_end) : new.
3354         (xlsx_style_line_start) : new.
3355         (xlsx_style_line_end) : new.
3356         (xlsx_chart_no_fill) : new.
3357         (xlsx_chart_solid_fill) : new.
3358         (xlsx_draw_color_themed) : new.
3359         (xlsx_draw_color_rgb) : new.
3360         (xlsx_draw_color_alpha) : new.
3361         (xlsx_draw_color_end) : new.
3362         (xlsx_chart_marker_start) : new.
3363         (xlsx_chart_marker_end) : new.
3364         (xlsx_chart_text) : new.
3365         (xlsx_chart_text_content) : new.
3367         (cb_axis_set_position) : new.
3368         (xlsx_axis_cleanup) : new.
3369         (xlsx_read_chart) : set up the extensions to handle styles, and
3370           connect up the axis after parsing.
3372         * ms-chart.c (excel_font_from_go_font) : take a XLExportBase.
3373         (chart_write_text) : fix call to excel_font_from_go_font.
3374         (chart_write_axis) : ditto.
3376         * xlsx-write.c (xlsx_write_series_dim) : silence a warning.
3378 2007-09-15  Jean Brefort  <jean.brefort@normalesup.org>
3380         * ms-chart.c: (chart_write_axis_sets): use "Backplane" instead of
3381         "Grid" when goffice is 0.5,
3383 2007-09-15  Jean Brefort  <jean.brefort@normalesup.org>
3385         * ms-chart.c: (end): use "Backplane" instead of "Grid" when goffice is 0.5,
3386         (chart_write_text), (ms_excel_chart_write): made some work on titles
3387         position export.
3389 2007-09-13  Jean Brefort  <jean.brefort@normalesup.org>
3391         * ms-chart.c: (end), (chart_write_text), (chart_write_axis),
3392         (ms_excel_chart_write): export text with style and import chart
3393         titles [#301720].
3394         * ms-excel-write.c: (excel_font_from_go_font),
3395         (extract_gog_object_style): export fonts used in charts.
3396         * ms-excel-write.h: ditto.
3398 2007-09-08  Jody Goldberg <jody@gnome.org>
3400         * xlsx-read.c (xlsx_vary_colors) : new.
3402         * ms-chart.c (chart_write_LEGEND) : new code split from.
3403         (chart_write_axis_sets) : here.
3404         * ms-chart.c (BC_R(boppop)) : place holder to at least get the pie.
3406 2007-09-04  Jody Goldberg <jody@gnome.org>
3408         * Release 1.7.12
3410 2007-09-01  Jody Goldberg <jody@gnome.org>
3412         * xlsx-write.c (xlsx_write_init_row) : new.
3413         (xlsx_write_cells) : add a simple compression mechanism to avoid
3414           producing an empty row element if there is no useful content.
3415         (xlsx_write_hlink) : fix the namespace of the "id" attr.
3416         (xlsx_write_hlinks) : yay consistency!  No count for this collection.
3417         (xlsx_write_chart_bool) : always generate a val, ignore the supposed
3418           default value. (fixes pie varyColor)
3419         (xlsx_write_chart) : vary pie color is not the default.  We need to
3420           generate it.
3421         (xlsx_write_objects) : nvGraphicFramePr and xfrm are required.
3422         (xlsx_write_sheet) : re-order placement of protection element.
3424 2007-08-25  Jean Brefort  <jean.brefort@normalesup.org>
3426         * ms-chart.c: (gelframe): should now compile with goffice-0.4
3428 2007-08-25  Jean Brefort  <jean.brefort@normalesup.org>
3430         * ms-chart.c: (gelframe): return if type is less that 5, otherwise
3431           set fill type and colors not auto.
3433 2007-08-25  Jody Goldberg <jody@gnome.org>
3435         * xlsx-read.c (xlsx_chart_legend) : new.
3437 2007-08-24  Jody Goldberg <jody@gnome.org>
3439         * xlsx-read.c (xlsx_CT_DataValidation_begin) : don't lose the input
3440           messages.
3442 2007-08-24  Jody Goldberg <jody@gnome.org>
3444         * xlsx-write.c (xlsx_write_validation) : LTE and GT were swapped.
3445         * xlsx-read.c (xlsx_CT_DataValidation_begin) : ditto.
3447 2007-08-24  Jody Goldberg <jody@gnome.org>
3449         * xlsx-read.c (xlsx_chart_pie) : new.
3450         (xlsx_chart_ring) : new.
3451         (xlsx_chart_bar) : new.
3452         (xlsx_chart_area) : new.
3453         (xlsx_chart_line) : new.
3454         (xlsx_chart_xy) : new.
3455         (xlsx_chart_bubble) : new.
3456         (xlsx_chart_radar) : new.
3457         (xlsx_plot_end) : new.
3458         (xlsx_chart_ser) : new.
3459         (xlsx_chart_ser_f) : new.
3460         (xlsx_ser_type_start) : new.
3461         (xlsx_ser_type_end) : new.
3462         (xlsx_drawing_twoCellAnchor) : new.
3463         (xlsx_drawing_twoCellAnchor_end) : new.
3464         (xlsx_drawing_pos) : new.
3465         (xlsx_read_chart) : create the chart.
3467 2007-08-23  Jody Goldberg <jody@gnome.org>
3469         * xlsx-write.c (xlsx_write_merges) : split into a function for
3470           cleanliness.
3471         (xlsx_write_validation) : new partial implementation.
3472         (xlsx_write_validations) : new.  Uses excel_collect_validations.
3473         (xlsx_write_sheet) : call the new routines.
3475         * xlsx-read.c (xlsx_parse_sqref) : normalize the ranges to be extra
3476           careful, and document that they are in reverse order.
3477         (xlsx_CT_DataValidation_begin) : finish, and cache the top left corner
3478           of the 1st sqRef.
3479         (xlsx_validation_expr) : parse relative to the first corner, not A1.
3481         * ms-excel-write.c (excel_write_DV) : split extraction code out into.
3482         (excel_collect_validations) : here.
3484 2007-08-03  Jody Goldberg <jody@gnome.org>
3486         * ms-excel-read.c (excel_read_HLINK) : fix import of local links.
3488 2007-08-05  Jean Brefort  <jean.brefort@normalesup.org>
3490         * ms-chart.c: (chart_write_series), (chart_write_plot): free
3491         strings returned by g_object_get.
3493 2007-08-04  Jean Brefort  <jean.brefort@normalesup.org>
3495         * ms-chart.c: fixed interpolation mode import/export after
3496           the change in goffice.
3498 2007-07-27  Jody Goldberg <jody@gnome.org>
3500         * ms-chart.c (end) : don't leak a style of the legend doesn't have a
3501           frame.
3503 2007-07-26  Jody Goldberg <jody@gnome.org>
3505         * ms-obj.c (ms_obj_read_expr) : new.
3506         (read_pre_biff8_read_expr) : use it here.
3507         (ms_obj_read_pre_biff8_obj) : here.
3508         (ms_obj_map_forms_obj) : and here.  Also check for source ranges for
3509           combos and lists. [#451384]
3511 2007-07-25  Jody Goldberg <jody@gnome.org>
3513         * ms-excel-read.c (excel_read_SHEETPROTECTION) : size check was too
3514           detailed.
3516 2007-07-24  Jody Goldberg <jody@gnome.org>
3518         * Release 1.7.11
3520 2007-07-13  Jody Goldberg <jody@gnome.org>
3522         * ms-obj.c (ms_obj_read_biff8_obj) : send the actual record, not
3523           the 4 byte header that loses 4 trailing bytes.
3524         (ms_obj_map_forms_obj) : Use existing tools to properly handle
3525          longer names and objects with data sources (combos/lists).
3527         * xlsx-write.c (xlsx_write_calcPR) : new.
3529 2007-07-09  Jody Goldberg <jody@gnome.org>
3531         * xlsx-read.c (xlsx_CT_CalcPr) : new. Read the iterate and recalc
3532           properties.  Need to add the refmode.
3533         * xlsx-write.c (xlsx_write_calcPR) : ditto.
3534         (xlsx_write_workbook) : called from here.
3536 2007-07-14  Jody Goldberg <jody@gnome.org>
3538         Report form coverity.
3539         * ms-obj.c (ms_read_TXO) : remove failure modes for items we do not
3540           actually use.  alignments are enumerated from 1, not 0.
3542 2007-06-21  Jody Goldberg <jody@gnome.org>
3544         * ms-excel-read.h : delete MsBiffFontUnderline, there was no need for
3545           an intermediate type.
3547         * ms-excel-write.c (excel_write_PAGE_BREAK) : just hard code the
3548           min/max.  The values seem constant in all my tests.
3550         * ms-excel-biff.h : Start some cleanup, and begin to follow the naming
3551           convention 'XLS_...' for binary and 'XLSX_...' for oox.
3552           Define some Maximas.
3554 2007-06-16  Jody Goldberg <jody@gnome.org>
3556         * ms-excel-read.c (excel_read_PAGE_BREAK) : new.
3557         (excel_read_sheet) : called from here.
3559         * ms-excel-write.c (excel_write_PAGE_BREAK) : new.
3560         (write_sheet_head) : called from here.
3562         * xlsx-read.c (xlsx_CT_PageBreak) : new.
3563         (xlsx_CT_PageBreaks_begin) : new.
3564         (xlsx_CT_PageBreaks_end) : new.
3566         * xlsx-write.c (xlsx_write_breaks) : new.
3567         (xlsx_write_print_info) : called from here.
3569 2007-06-06  Jody Goldberg <jody@gnome.org>
3571         * ms-excel-util.c (init_xl_font_widths) : add Calibri.
3573 2007-06-12  Jody Goldberg <jody@gnome.org>
3575         * plugin.xml.in  : Use 'Office 2007' as the description for the writer
3576           too.
3578 2007-06-10  Jody Goldberg <jody@gnome.org>
3580         * xlsx-write.c : Move the OpenPkg support out of here and into libgsf.
3581         * xlsx-read.c : ditto.
3582         (xlsx_parse_rel_by_id) : new wrapper to handle errors from
3583           gsf_open_pkg_parse_rel_by_id.
3585 2007-06-10  Jody Goldberg <jody@gnome.org>
3587         * xlsx-read.c (xlsx_CT_SheetProtection) : new.
3588         * xlsx-write.c (xlsx_write_protection) : new.
3589         (xlsx_write_sheet) : called from here.
3591         * ms-excel-read.c (excel_read_SHEETPROTECTION) : new.
3592         (excel_read_sheet) : called here.
3594         * ms-excel-write.c (excel_write_SHEETPROTECTION) : new.
3595         (excel_write_sheet) : called here after the validations.
3597 2007-06-01  Jean Brefort  <jean.brefort@normalesup.org>
3599         * ms-chart.c: do not delete a valid axis.
3601 2007-05-25  Morten Welinder  <terra@gnome.org>
3603         * plugin.xml.in: Add mime types for most of the savers.
3605 2007-05-16  Jean Brefort  <jean.brefort@normalesup.org>
3607         * ms-chart.c: (fontx), (tick), (end): import legend and
3608         axis labels font. [#437858]
3610 2007-05-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3612         * ms-excel-write.c (excel_write_SETUP): adjust for new
3613           arguments of print_info_get_margins
3614         (excel_write_WSBOOL): ditto
3615         * ms-excel-read.c (excel_init_margins): use print_info_set_edge_to_*
3616         (excel_read_sheet): use print_info_set_edge_to_*
3617         * xlsx-write.c (xlsx_write_print_info): adjust for new
3618           arguments of print_info_get_margin
3620 2007-05-07  Jean Brefort  <jean.brefort@normalesup.org>
3622         * ms-chart.c: (axis), (catserrange), (lineformat), (valuerange),
3623         (end), (ms_excel_chart_read), (chart_write_axis),
3624         (chart_write_axis_sets), (ms_excel_chart_write): fix import/export
3625         of axis sets. [#318610]
3627 2007-05-03  Morten Welinder <terra@gnome.org>
3629         * Release 1.7.10
3631 2007-05-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3633         * ms-excel-write.c (write_sheet_head): change PrintUnit content
3634         * ms-excel-read.c (excel_print_unit_init_inch): deleted
3635         (excel_init_margins): use GO_IN_TO_PT
3636         (excel_read_sheet): ditto
3637         * xlsx-write.c (xlsx_write_print_info): change PrintUnit content
3639 2007-04-29  Jody Goldberg <jody@gnome.org>
3641         * plugin.xml.in : remove duplicate xlsx entry
3643 2007-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3645         * ms-excel-write.c (excel_write_SETUP): use
3646           print_info_get_paper_orientation
3647         (write_sheet_head): print_info might be modified
3648         * ms-excel-read.c (excel_read_SETUP): use
3649           print_info_set_paper_orientation
3651 2007-04-21  Morten Welinder <terra@gnome.org>
3653         * Release 1.7.9
3655 2007-04-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3657         * ms-excel-write.c (write_sheet_head): use print_info_get_margins
3658         * ms-excel-read.c (paper_size_table): use PWG 5101.1-2002
3659         (excel_read_SETUP): use modified paper_size_table
3660         * xlsx-write.c (xlsx_write_print_info): use print_info_get_margins
3662 2007-03-19  Jody Goldberg <jody@gnome.org>
3664         * xlsx-write.c (xlsx_write_cells) : keep f before v, but do not try to
3665           export an attribute of c once we have started the f or v.
3666         (xlsx_write_cells) : export array formulas.
3667         (xlsx_write_cells) : export bool values a "1" "0" rather than
3668           value_get_as_string.
3670 2007-03-18  Jody Goldberg <jody@gnome.org>
3672         * xlsx-read.c (xlsx_file_open) : Visible error if no workbook is
3673           found.
3675         * xlsx-write.c (xlsx_write_sheet) : Define some new constants for the
3676           spreadsheet, and relationship namespaces.  Then update them to the
3677           versions used in the official 2007 release.
3678         (xlsx_write_shared_strings) : ditto.
3679         (xlsx_write_styles) : ditto.
3680         (xlsx_write_workbook) : ditto.
3681         (xlsx_write_col) : up the accuracy of width export to match XL 2007.
3682           put hidden before other flags to ease visual inspection of xml.
3683         (xlsx_write_cols) : skip initial empty cols, and include the last col.
3685 2007-03-16  Morten Welinder  <terra@gnome.org>
3687         * ms-excel-read.c (excel_read_FONT): In case we get a NULL
3688         fontname, assume "Arial".  Fixes #418868.
3690 2007-03-05  Jody Goldberg <jody@gnome.org>
3692         * xlsx-utils.c (xlsx_cellref_as_string) : no need to use the
3693           convention for the sheet_sep, hard code it.
3694         (xlsx_rangeref_as_string) : ditto.
3695         (xlsx_expr_conv_new) : adapt to changes.
3697 2007-01-11  Jody Goldberg <jody@gnome.org>
3699         * ms-escher.c (ms_escher_read_OPT_bools) : improve debug stream.
3700         (ms_escher_read_OPT) : add a few more properties based on the results
3701           of the test file that fills in as many properties as I could find
3702           samples/excel/objs.xls.
3703         (ms_escher_sp_new) : new. unused as yet.
3704         (ms_escher_sp_free) : ditto.
3705         (ms_escher_sp_len) : ditto.
3706         (ms_escher_sp_add_OPT) : ditto.
3707         (ms_escher_sp_set_anchor) : ditto.
3708         (ms_escher_sp_write) : ditto.
3710         * ms-obj.c (ms_obj_read_biff8_obj) : do not generate a warning for
3711           combos with no link, or the special autofilter combos.
3712         (ms_obj_read_biff8_obj) : include the id in the debug spew.
3713         (ms_obj_read_biff8_obj) : Do not warn about unknown flags that we know
3714           are unknown :-)
3715         (ms_objv8_write_note) : new basic stub.
3717         * ms-excel-write.c (excel_write_textbox_v8) : cheap hack to handle
3718           comments somewhat at an invented anchor.
3719         (cb_NOTE_v8) : new.
3720         (excel_write_objs_v8) : keep track of the number of comments too.
3721         (excel_sheet_new) : count comments too.  General tidyup in prep for
3722           moving to generated escher.
3724 2007-03-04  Morten Welinder <terra@gnome.org>
3726         * Release 1.7.8
3728 2007-02-16  Morten Welinder <terra@gnome.org>
3730         * Release 1.7.7
3732 2007-01-06  Morten Welinder  <terra@gnome.org>
3734         * xlsx-read.c (xlsx_cell_val_end): Use gnm_strto, not strtod.
3736 2006-12-19  Jody Goldberg <jody@gnome.org>
3738         * ms-excel-write.c (excel_write_autofilter_objs) : minor
3739           simplification.
3741 2006-12-19  Jody Goldberg <jody@gnome.org>
3743         * xlsx-read.c (xlsx_get_num_fmt) : handle the standard builtins
3744           and paste over the unicode variants of the documented locale
3745           specific variants.
3747 2006-12-18  Jody Goldberg <jody@gnome.org>
3749         * ms-container.c (ms_container_parse_expr) : handle 0 length
3750           expressions as NULL.  Looks like combos & lists with no links are
3751           exported with length 0.
3753 2006-12-17  Jody Goldberg <jody@gnome.org>
3755         * Release 1.7.6
3757 2006-12-17  Jean Brefort  <jean.brefort@normalesup.org>
3759         * ms-chart.c: (lineformat): use auto color for series only when
3760         the color index is equal to the series index. [#166820]
3762 2006-12-16  Jody Goldberg <jody@gnome.org>
3764         * ms-excel-read.c (excel_read_COLINFO) : silence warning due to
3765           kludge.
3767 2006-12-16  Jody Goldberg <jody@gnome.org>
3769         Start work on autofilters, only Top10 is implemented for in or out.
3770         * xlsx-read.c (xlsx_CT_Filters_begin) : new.
3771           Massive renaming to use '_begin' rather than '_start' just because I
3772           like the sound better.
3773         * xlsx-write.c (xlsx_write_autofilters) : new.
3775 2006-12-16  Jody Goldberg <jody@gnome.org>
3777         * ms-excel-read.c (ms_sheet_realize_obj) : link in the content
3778           expression, and the linked cell for combo and list objects.
3779         * ms-obj.c (ms_obj_read_biff8_obj) : read ListboxData which seems to
3780           contain the content expression.
3782 2006-12-11  Morten Welinder  <terra@gnome.org>
3784         * ms-excel-write.c (log_put_color): Remove "inline" -- it's
3785         pointless and triggers a gcc bug.  (gcc bug #30153)
3787 2006-12-04  Jody Goldberg <jody@gnome.org>
3789         * Release 1.7.5
3791 2006-11-24  Jody Goldberg <jody@gnome.org>
3793         * ms-obj.c (ms_obj_attr_get_ptr) : change signature to better
3794           distiguish between NULL and not-specified.
3795         * ms-excel-read.c (ms_sheet_realize_obj) : Using NULL as the default
3796           was a bad idea.  We could not differentiate between empty text which
3797           got stored as NULL, and not specified which should use the default.
3798           Use the new signature to ms_obj_attr_get_ptr to handle this
3799           correctly. (test case : checkboxes in 375620 with no labels)
3801 2006-11-24  Jody Goldberg <jody@gnome.org>
3803         * xlsx-write.c (xlsx_write_col) : set 'bestFit' if the column has a
3804           size different from the default and it has _not_ been set by the
3805           user.
3806         * ms-excel-write.c (excel_write_COLINFO) : ditto.  Set the
3807           undocumented flags customWidth and bestFit based on the OfficeOpen
3808           docs.
3809         * ms-excel-read.c (excel_read_COLINFO) : the undocumented bestfit and
3810           customwidth flags are not a perfect match with our hard_size.  Use
3811           customwith && !bestfit == hard_size.  That should match even the
3812           mis-exported xls from older gnumeric's and OOo.
3813         * xlsx-read.c (xlsx_CT_Col) : ditto, but there are no worries about
3814           older gnumeric's or OOo mis-generating.
3816 2006-11-20  Jody Goldberg <jody@gnome.org>
3818         * Release 1.7.4
3820 2006-11-19  Morten Welinder <terra@gnome.org>
3822         * Release 1.7.3
3824 2006-11-09  Jody Goldberg <jody@gnome.org>
3826         * xlsx-read.c (xlsx_file_open) : use the new
3827           gnm_push_C_locale/gnm_pop_C_locale utils.
3828         * xlsx-write.c (xlsx_file_save) : ditto.
3830 2006-10-27  Jon K Hellan  <hellan@acm.org>
3832         * ms-excel-read.c (excel_read_MERGECELLS): Accept overlapping
3833         merges, as Excel does.
3835 2006-10-24  Jon K Hellan  <hellan@acm.org>
3837         * ms-obj.c (ms_read_TXO): Handle UTF-16, and switching between
3838         single byte and UTF-16 between CONTINUE records [#340293].
3840 2006-10-17  Jody Goldberg <jody@gnome.org>
3842         * Release 1.7.2
3844 2006-10-12  Jean Brefort  <jean.brefort@normalesup.org>
3846         * ms-chart.c: (serfmt): add missing braces.
3848 2005-07-06  Jon K Hellan  <hellan@acm.org>
3850         * ms-excel-read.c (ms_sheet_realize_obj): Realize Excel 95 images
3851         [#155696].
3853         * ms-obj.h: Add MS_OBJ_ATTR_IS_GOBJECT_MASK and
3854         MS_OBJ_ATTR_IMDATA. Widen MS_OBJ_ATTR_MASK.
3856         * ms-obj.[ch] (ms_obj_attr_new_gobject,
3857         ms_obj_attr_get_gobject): New. Add support for GObject attributes.
3858         (ms_obj_attr_destroy): Handle GObject attributes.
3859         (ms_obj_read_pre_biff8_obj): Save Excel 95 image as attribute.
3861 2006-10-09  Jon K Hellan  <hellan@acm.org>
3863         * ms-excel-read.c (excel_read_HLINK): Fix bug with URLs having
3864         target frames.
3866 2006-10-02  Jody Goldberg <jody@gnome.org>
3868         * Release 1.7.1
3870 2006-09-30  Jean Brefort  <jean.brefort@normalesup.org>
3872         * ms-chart.c: (end): Don't use auto_shape or auto_dash when plot has
3873         no marker/line and series have while importing from excel. [#319727]
3876 2006-09-29  Jean Brefort  <jean.brefort@normalesup.org>
3878         * ms-chart.c: (serfmt), (chart_write_SERFMT),
3879         (style_is_completely_auto), (chart_write_style): implemented serfmt
3880         to import/export interpolation type for splines. [#349457].
3882 2006-09-24  Jody Goldberg <jody@gnome.org>
3884         * xlsx-read.c : Some initial work at parsing charts.
3885           Only an outline of a parser for now, no actual work.
3887 2006-09-23  Jody Goldberg <jody@gnome.org>
3889         * ms-excel-read.c (excel_read_SETUP) : Do not warn of print scale of
3890           0, according to the OfficeOpen docs that means 'auto' we treat it as
3891           100.
3893         * ms-excel-write.c (cb_check_names) : We no longer write placeholders,
3894           no need to check for them.
3895         (excel_foreach_name) : Ditto.
3896         (excel_write_NAME) : Do not export place holders.
3897         (excel_write_autofilter_names) : Add a hook to warn of multiple
3898           autofilters in one sheet.     [#346217]
3900 2006-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3902         * ms-formula-read.c (parse_list_pop): use %p for pointers #346045
3903         * ms-formula-write.c (sheet_pair_hash): extinguish warning #346045
3905 2006-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3907         * ms-excel-write.c (excel_sheet_extent): use ngettext #123860
3909 2006-06-03  Jody Goldberg <jody@gnome.org>
3911         * xlsx-read.c (xlsx_ns) : add the namespace for beta2.
3912         (xlsx_shared_strings_dtd) : s/sstItem/si/ for beta2.
3913         * xlsx-write.c (gsf_outfile_open_pkg_close) : move to the new
3914           spreadsheetml namespace.
3915         (xlsx_write_styles) : ditto.
3916         (xlsx_write_shared_strings) : ditto.
3917         (xlsx_write_sheet) : ditto.
3919 2006-05-31  Jody Goldberg <jody@gnome.org>
3921         * ms-excel-write.c (gather_styles) : Use sheet_cell_foreach, rather
3922           than accessing Sheet::cell_hash directly.  This will make it easier
3923           to jump to the quad tree later.
3924         (excel_write_workbook) : use the new sheet_cells_count rather than
3925           accessing Sheet::cell_hash.
3927 2006-05-22  Jody Goldberg <jody@gnome.org>
3929         * ms-formula-read.c (excel_parse_formula1) : disable the long lived
3930           warning about extended attr 0 with 3 and 0xA.  It has something to
3931           do with singleton arrays, but does not seem important.
3933 2006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
3935         * boot.c: replaced gi18n.h by gi18n-lib.h.
3936         * excel-xml-read.c: ditto.
3937         * ms-excel-read.c: ditto.
3938         * ms-excel-write.c: ditto.
3939         * ms-formula-read.c: ditto.
3940         * ms-formula-write.c: ditto.
3941         * xlsx-read.c: ditto.
3942         * xlsx-write.c: ditto.
3944 2006-05-19  Morten Welinder  <terra@gnome.org>
3946         * ms-formula-read.c (excel_parse_formula): Avoid critical on array
3947         formulas.
3948         * ms-excel-read.c: Add more checks for corrupted files.
3950 2006-05-18  Morten Welinder  <terra@gnome.org>
3952         * ms-formula-read.c (excel_parse_formula): Reinstate the call for
3953         expression sharing.
3955         * ms-excel-read.c: Don't use g_return_if_fail and
3956         g_return_val_if_fail for condition relating to file contents.  (They
3957         produce CRITICALS and Jon Kaare will complain one day.)
3959 2006-05-16  Morten Welinder  <terra@gnome.org>
3961         * ms-excel-read.c (excel_read_MULRK): Add some bullet-proofing.
3962         [#341917]
3964 2006-05-08  Jody Goldberg <jody@gnome.org>
3966         * Release 1.7.0
3968 2006-04-29  Jody Goldberg <jody@gnome.org>
3970         * ms-excel-write.c (excel_write_WINDOW2) : merge excel_write_PANE into
3971           here and fix export of H or V only freezes.
3973 2006-04-23  Jody Goldberg <jody@gnome.org>
3975         * xlsx-write.c : new.  Basic export and some code that will move to
3976           libgsf for 'Open Package' support.
3977         * plugin.xml.in : Add xlsx export.
3978         * Makefile.am : ditto.
3980 2006-04-23  Jody Goldberg <jody@gnome.org>
3982         * ms-excel-read.c (excel_read_EXTERNSHEET_v7) : patch
3983           tweak to import broken quoted sheetname from gnumeric-1.0.x eg
3984           Libro1.xls.
3986 2006-04-23  Jody Goldberg <jody@gnome.org>
3988         * ms-chart.c (ms_excel_chart_read) : Don't set the graph and chart
3989           styles to blank unless this is a full sheet object.  Fixes the
3990           import of older charts that are not wrapped in BOF records eg
3991           ms699.xls.
3993 2006-04-18  Morten Welinder  <terra@gnome.org>
3995         * boot.c (excel_file_open): Don't leak the meta_data object.
3997 2006-04-16  Jody Goldberg <jody@gnome.org>
3999         * xlsx-read.c : new.  Basic import and some code that will move to
4000           libgsf for 'Open Package' support.
4001         * plugin.xml.in : Add xlsx import.
4002         * Makefile.am : ditto.
4004 2006-04-15  Jody Goldberg <jody@gnome.org>
4006         * ms-excel-write.c (halign_to_excel) : add HALIGN_DISTRIBUTED.
4007         * ms-excel-read.c (excel_read_TAB_COLOR) : office 12 seems to add some
4008           bytes.
4010 2006-04-09  Jean Brefort  <jean.brefort@normalesup.org>
4012         * ms-chart.c: (xl_chart_import_trend_line), (ms_excel_chart_read),
4013         (chart_write_trend_line), (chart_write_series): fix import/export
4014         of trend lines (only those supported by xl).
4016 2006-04-08  Jean Brefort  <jean.brefort@normalesup.org>
4018         * ms-chart.c: (xl_chart_import_reg_curve): import power regression
4019         and moving average lines.
4021 2006-04-07  Jody Goldberg <jody@gnome.org>
4023         http://bugzilla.gnome.org/show_bug.cgi?id=336858
4024         * ms-excel-read.c (excel_read_EXTERNNAME) : be more careful about
4025           bounds checking.  Looks like 'miniCalc' generates EXTERNNAME with no
4026           expressions at all for it's external functions.
4028 2006-03-30  Morten Welinder  <terra@gnome.org>
4030         * ms-formula-write.c (write_node): Add missing table entry for
4031         array elements.  Write the right PTG for data tables.
4032         (excel_write_array_formula): New function.
4033         (excel_write_formula): Change to take a texpr.  All callers
4034         changed.
4036         * ms-formula-write.h (ExcelFuncContext): Elminate
4037         EXCEL_CALLED_FROM_ARRAY which is now implicit.
4039 2006-03-22  Jody Goldberg <jody@gnome.org>
4041         * ms-chart.c (BC_R(lineformat)) : store the format in outline as well
4042           as line.  We do not know where it's going to be used.
4044 2006-03-19  Morten Welinder  <terra@gnome.org>
4046         * ms-formula-write.c (write_node): Handle integers in VALUE_FLOAT
4047         records better.
4049 2005-12-28  Jody Goldberg <jody@gnome.org>
4051         * boot.c (excel_file_open) : use the new workbook_set_meta_data rather
4052           than kludging GObject data.
4054 2006-03-16  Morten Welinder  <terra@gnome.org>
4056         * ms-excel-read.c (excel_get_style_from_xf): Even though the third
4057         argument of style_border_fetch isn't used yet, get it right.
4059 2006-03-16  Morten Welinder  <terra@gnome.org>
4061         * ms-excel-read.c (excel_read_EXTERNNAME): Use NULL, not 0.
4062         * ms-biff.c (ms_biff_query_next): Ditto.
4063         (ms_biff_query_destroy): Ditto.
4064         (ms_biff_put_new): Ditto.
4065         (ms_biff_put_len_next): Ditto.
4066         (ms_biff_put_len_commit): Ditto.
4068 2006-03-13  Morten Welinder  <terra@gnome.org>
4070         * ms-excel-write.c (write_sheet_head): Write protection flags.
4071         * ms-excel-read.c (excel_read_sheet_PROTECT): Store falg.
4072         (excel_read_workbook_PROTECT): New function.
4073         (excel_read_workbook): Read protection flags.
4074         Patch from Klokan Petr Pridal.  [#330129]
4076 2006-03-13  Morten Welinder  <terra@gnome.org>
4078         * ms-container.h (MSContainerClass): Make the parse_expr method
4079         return a texpr.  All users changed.
4081         * ms-formula-read.c (excel_parse_formula): Make this return a
4082         texpr.  All users fixed.
4083         * ms-container.c (ms_container_parse_expr): Ditto.
4084         * ms-obj.c (ms_obj_attr_new_expr): Ditto.
4086 2006-03-10  Jody Goldberg <jody@gnome.org>
4088         * ms-formula-read.c (excel_parse_formula) : back port handling of
4089           AttrChoose and AttrGoto
4091 2006-03-10  Jody Goldberg <jody@gnome.org>
4093         * ms-formula-read.c (excel_parse_formula) : don't forget to re-push
4094           the new set with the extra element.
4096 2006-02-27  Morten Welinder  <terra@gnome.org>
4098         * ms-excel-write.c (blipinf_new): Fix potential 64-bit issue.
4100 2006-02-21  Morten Welinder  <terra@gnome.org>
4102         * ms-chart.c (ms_excel_chart_write): Plug minor leak.
4104 2006-01-20  Jody Goldberg <jody@gnome.org>
4106         * ms-excel-write.c (excel_write_FORMULA) : adjust to new
4107           GNM_EXPR_OP_ARRAY handling
4108         * ms-formula-write.c (excel_write_prep_expr) : ditto.
4109         (write_node) : ditto.
4111 2006-01-17  Morten Welinder  <terra@gnome.org>
4113         * ms-chart.c (chart_write_AI): Allocate right amount of memory.
4115 2005-12-22  Stepan Kasal  <kasal@ucw.cz>
4117         * ms-excel-write.c (excel_write_externsheets_v8): Use the actual
4118           number of sheets in the magic self referential SUPBOOK record.
4119         * ms-excel-read.c (supbook_get_sheet): Use EXCEL_SUP_BOOK_SELFREF
4120           to recognize the self referential SUPBOOK record.
4121         (excel_read_EXTERNSHEET_v8): Simplify the read of sup_index.
4122         * ms-excel-read.h (ExcelExternSheetV8): Remove the unused member wb.
4124 2005-12-05  Jean Brefort  <jean.brefort@normalesup.org>
4126         * ms-chart.c: (axislineformat): do not set style before setting parent,
4127         (object_swap_children): new helper function,
4128         (end): also swap axis children for bar charts and do not access
4129         directly GOMarker fields (now a private structure),
4130         (xl_chart_import_error_bar): fixed some import issues,
4131         (chart_write_error_bar): implement error bars export,
4132         (chart_write_reg_curve): fix an indexation bug,
4133         (chart_write_series): export error bars,
4134         (ms_excel_chart_write): use go_marker_set_shape.
4136 2005-11-27  Jean Brefort  <jean.brefort@normalesup.org>
4138         * biff-types.h: add new custom biff code for goffice regression curves.
4139         * ms-chart.c: (ai), (serauxtrend), (trendlimits),
4140         (register_handlers), (xl_chart_import_reg_curve),
4141         (style_is_completely_auto), (chart_write_style),
4142         (chart_write_error_bar), (chart_write_reg_curve),
4143         (chart_write_series), (ms_excel_chart_write): export regression
4144         curves and enhance import.
4146 2005-11-18  Jean Brefort  <jean.brefort@normalesup.org>
4148         http://bugzilla.gnome.org/show_bug.cgi?id=321678
4149         * ms-chart.c: (ms_excel_chart_read): do not import series without
4150         chart group as error bars or regrssion curves for MS_BIFF_V4 or earlier.
4152 2005-11-16  Jody Goldberg <jody@gnome.org>
4154         http://bugzilla.gnome.org/show_bug.cgi?id=321678
4155         * ms-chart.c (xl_chart_import_reg_curve) : if the parent has no series
4156           there is not much we can do.
4158         http://bugzilla.gnome.org/show_bug.cgi?id=321677
4159         * ms-chart.c (BC_R(gelframe)) : don't crash when faced with an
4160           unsupported plot type that has a gradient.
4162 2005-11-14  Jody Goldberg <jody@gnome.org>
4164         * Release 1.6.1
4166 2005-11-08  Morten Welinder  <terra@gnome.org>
4168         * ms-excel-write.c (blipinf_new): Don't crash if blip->type ends
4169         up NULL.  Fixes crash from #321009.
4171 2005-11-05  Jody Goldberg <jody@gnome.org>
4173         * excel-xml-read.c : Support DateTime values
4175 2005-10-23  Jody Goldberg <jody@gnome.org>
4177         * excel-xml-read.c (xl_xml_col_start) :
4178           - add hidden.
4179           - support spans
4180           - support styles
4181           - support sizes (still off by what seems like a constant factor ??
4182             of 12.5% ??)
4183         (xl_xml_row_start) : ditto.
4184         (xl_xml_pane) : init edit pos to A1.
4185         (xl_xml_selection) : new. handle selection
4186         (xl_xml_editpos_col) : new. handle edit position
4187         (xl_xml_editpos_row) : new. ditto.
4188         (xl_xml_data_start) : load Data::Type here
4189         (xl_xml_cell_start) : not here.  Store the expr.
4190         (xl_xml_data_end) : store exprs and values.
4191         (xl_xml_named_range) : new.  No entirely functional.
4192           It does not handle implicit fwd declatation of names.
4194 2005-10-12  Jody Goldberg <jody@gnome.org>
4196         * ms-formula-read.c (excel_parse_formula) : Ignore the data for Attr
4197           CHOOSE that specifies which element to select.  We do not need it.
4198         * ms-excel-read.c (excel_read_FORMULA) : Use val_offset consistently
4200 2005-10-10  Jody Goldberg <jody@gnome.org>
4202         * Release 1.6.0
4204 2005-10-03  Jody Goldberg <jody@gnome.org>
4206         * excel-xml-read.c : Implement based on inspection of exported result
4207           of a test xls (Did not read or download the schemas).  No support
4208           for expressions or names yet.
4210 2005-10-02  Jody Goldberg <jody@gnome.org>
4212         * plugin.xml.in : enable SpreadsheetML importer
4214         * excel-xml-read.c : implement
4216         * ms-formula-write.c (write_funcall) : handle macros.
4217           exporting Analysis.xls
4219         * ms-formula-read.c (excel_parse_formula) : REF_3D, and AREA_3D for
4220           biff7 seem to use the shared flag to define whether to sign extend.
4222         * ms-excel-read.c (excel_parse_name) : name expressions are parsed as
4223           shared.  Not sure about this.  This seems to work for the oo name
4224           and relref tests.  Do more validation.
4225         (ms_wb_get_font_markup) : suppress warning.
4226         (excel_read_BOOLERR) : new split from.
4227         (excel_read_sheet) : here.
4229         * ms-chart.c (BC_R(alruns)) : do not leak content. [#157059]
4230         (BC_R(pieformat)) : The magic 0xfffd in dataformat seems to do
4231           something here too.  Without it plots that had a default separation
4232           were thinking that it was just for 1 pt.
4234 2005-09-30  Jean Brefort  <jean.brefort@normalesup.org>
4236         * ms-chart.c: (text), (xl_chart_import_error_bar): fixed style leaks.
4238 2005-09-30  Jean Brefort  <jean.brefort@normalesup.org>
4240         * ms-chart.c: (xl_chart_import_reg_curve): set the correct value to the
4241         "affine" property.
4243 2005-09-28  Jody Goldberg <jody@gnome.org>
4245         * ms-chart.c (xl_chart_import_reg_curve) : split out from
4246           ms_excel_chart_read.
4247         (xl_chart_import_error_bar) : ditto.
4249         * ms-excel-write.c (excel_font_overlay_pango) : check super/sub scripts.
4250         (excel_font_hash) : ditto.
4251         (excel_font_equal) : ditto.
4252         (excel_font_new) : init the super/sub status
4253         (map_underline_to_xl) : new.
4254         (map_script_to_xl) : new.
4255         (cb_write_condition) : handle super/sub script.
4256         (excel_write_FONT) : ditto.
4257         (excel_font_new) : ditto.
4259         * ms-excel-read.c (ms_wb_get_font_markup) : The super/subscript
4260           distances were broken.  Use 5000 not 500.  Seems like we may want a
4261           scale in there too.
4262         (excel_read_FONT) : Use GOFontScript
4263         (excel_get_style_from_xf) : store the script (super/sub)
4264         (excel_read_CF) : handle scripts.
4266 2005-09-26  Jean Brefort  <jean.brefort@normalesup.org>
4268         * ms-chart.c: (axislineformat): read the areaformat for type 3
4269         to avoid a style leak.
4271 2005-09-21  Jean Brefort  <jean.brefort@normalesup.org>
4273         * ms-chart.c: (chart_write_MARKERFORMAT): don't use style if NULL.
4275 2005-09-21  Jean Brefort  <jean.brefort@normalesup.org>
4277         * ms-chart.c: (markerformat): enhance markers import for MS_BIFF_V8
4278         (chart_write_MARKERFORMAT): enhanced export as well.
4280 2005-09-18  Jody Goldberg <jody@gnome.org>
4282         * ms-chart.c (BC_R(radar)) : XL defaults to having markers, goffice
4283           does not.
4284         * ms-chart.c (chart_write_plot) : check marker status for radar plots.
4286 2005-09-14  Jean Brefort  <jean.brefort@normalesup.org>
4288         * ms-chart.c: (ms_excel_chart_read): import polynomial, exponential and
4289         logarithmic regression curves.
4291 2005-09-08  Jody Goldberg <jody@gnome.org>
4293         * Release 1.5.90
4295 2005-09-06  Jody Goldberg <jody@gnome.org>
4297         * ms-excel-read.c (excel_formula_shared) : finish TABLE importer.
4298         * ms-excel-write.c (excel_write_FORMULA) : finish TABLE exporter.
4300 2005-09-04  Jody Goldberg <jody@gnome.org>
4302         * ms-excel-write.c (excel_write_ClientTextbox) : property is called
4303           'text' not 'label'
4305 2005-09-04  Jody Goldberg <jody@gnome.org>
4307         * ms-chart.c (chart_write_AI) : Move logic from #152317 here.
4308           If we are writing an expression with only a string constant do not
4309           quote it.
4311 2005-08-29  Jody Goldberg <jody@gnome.org>
4313         * ms-formula-read.c (excel_parse_formula) : support data tables.
4314         * ms-excel-read.c (excel_formula_shared) : ditto.
4315         * ms-formula-write.c (write_node) : ditto.
4316         * ms-excel-write.c (excel_write_FORMULA) : ditto.
4318 2005-08-27  Jody Goldberg <jody@gnome.org>
4320         * ms-obj.c (ms_obj_map_forms_obj) : no need to warn about record with
4321           no expressions. (Wallenbach/Formulas-2003/chap05/character\ set.xls)
4323 2005-08-28  Morten Welinder <terra@gnome.org>
4325         * Release 1.5.5
4327 2005-08-28  Morten Welinder <terra@gnome.org>
4329         * Release 1.5.4
4331 2005-08-25  Stepan Kasal  <kasal@ucw.cz>
4333         * ms-chart.c (BC_R(text)): Comment out declarations of variables for
4334         commented out code.
4336 2005-08-24  Jody Goldberg <jody@gnome.org>
4338         * ms-excel-write.c (excel_font_new) : typo. [#314206]
4340 2005-08-17  Jean Brefort  <jean.brefort@normalesup.org>
4342         * ms-chart.c (ms_excel_chart_write): fix a compilation warning
4343         introduced yesterday and also a multiple chart export problem
4344         (#310967).
4346 2005-08-15  Morten Welinder <terra@gnome.org>
4348         * Release 1.5.3
4350 2005-08-15  Jean Brefort  <jean.brefort@normalesup.org>
4352         * ms-chart.c: (ms_excel_chart_write): unref state.root_view.
4354 2005-08-05  Stepan Kasal  <kasal@ucw.cz>
4356         * ms-excel-write.c (excel_write_string): Fix warning.
4358 2005-08-04  Jody Goldberg <jody@gnome.org>
4360         From Nick Lamb <njl98r@ecs.soton.ac.uk>
4361         * ms-excel-read.c (excel_read_XF_OLD) : improve alignment and
4362           rotation handling.
4364 2005-08-04  Jody Goldberg <jody@gnome.org>
4366         * ms-excel-read.c (excel_read_XF) : Add HALIGN_DISTRIBUTED. no idea
4367           what that does.
4369         * ms-obj.c (ms_read_OBJ) : no docs for OBJ before biff5.  Ignore to
4370           avoid problems.
4372         * ms-excel-util.c (init_xl_font_widths) : make the font hash case
4373           insensitive.
4375 2005-08-02  Jean Brefort  <jean.brefort@normalesup.org>
4377         * ms-chart.c (ms_excel_chart_read): fixed import x error bars.
4379 2005-08-01  Jody Goldberg <jody@gnome.org>
4381         * ms-excel-read.c (excel_read_WINDOW2) : Don't crash if there is no
4382           view.
4383         (excel_read_SELECTION) : ditto.
4384         (excel_read_PANE) : ditto. #309544
4386         * ms-excel-read.c (excel_palette_get) : add the tooltip colour
4387           ordinals
4389 2005-07-29  Jody Goldberg <jody@gnome.org>
4391         * ms-chart.c (BC_R(objectlink)) : store the style for labels
4392         (BC_R(fontx)) : lookup the font and assign it to a style.  Need to
4393           finish GOFont to store the remaining attributes.
4394         * ms-excel-read.c (excel_font_get_gofont) : new.
4395         (excel_read_FONT) : init the gofont member.
4396         (excel_font_free) : unref it here.
4398 2005-07-15  Jody Goldberg <jody@gnome.org>
4400         * ms-excel-write.c (excel_write_SETUP) : remove unecessary scaling.
4402 2005-07-15  Jon K Hellan  <hellan@acm.org>
4404         * ms-excel-write.c (excel_write_SETUP): Fix typo.
4406 2005-07-06  Jody Goldberg <jody@gnome.org>
4408         * ms-chart.c (BC_R(objectlink)) : fix leak. [#157058]
4410 2005-07-15  Jody Goldberg <jody@gnome.org>
4412         * ms-obj.c (ms_read_TXO) : handle CONTINUES for text
4413         (read_pre_biff8_read_text) : renamed from read_pre_biff8_read_str.
4414           Handle continues in text and markup.  The layout is _very_ odd.
4415           It seems that XL can write things it can not read.
4416         (read_pre_biff8_read_name_and_fmla) : handle the name reading inline,
4417           that is different from read_text.  The CONTINUE handling is very
4418           different.
4420         * ms-excel-write.c (excel_write_SETUP) : rewrite to handle the new
4421           flags.
4422         (write_sheet_head) : export value for BIFF_PRINTHEADERS and only
4423           export the left/right margins if they are set.
4425         * ms-excel-read.c : Store the ver in the importer rather than the
4426           container.
4427           s/ExcelWorkbook/GnmXLImporter/
4428           s/ewb/importer/
4429         (excel_get_chars) : renamed from ms_biff_get_chars.  Take an importer
4430           and use it's iconv rather than a global.
4431         (excel_get_text) : renamed from biff_get_text.  Take an importer
4432           rather than a ver.
4433         (excel_read_BOUNDSHEET) : new need for a ver arg, just use the importer.
4434         (esheet_ver) : new.
4435         (gnm_xl_importer_set_version) : new.
4436         (gnm_xl_importer_set_codepage) : rename from
4437           excel_iconv_open_for_import and store the iconv in the importer rather
4438           than as a global.  Add improved fallback and debug info.
4439         (excel_palette_get) : merge default palette handing into here and add
4440           0x7fff as a synonym for black.  We need a better solution for themed
4441           colours eventually.  Change signature to take an importer rather
4442           than the palette object directly.  That keeps us from digging into
4443           the import object directly.
4444         (excel_get_default_palette) : delete.
4445         (excel_read_XF_OLD) : use ver from importer, no need for arg.
4446         (excel_read_XF) : ditto.
4447         (excel_read_FORMULA) : clarify up the debug info.
4448         (ms_wb_get_font_markup) : better fallback for invalid fonts.
4449         (gnm_xl_importer_new) : renamed from excel_workbook_new and remove the
4450           version tag.  The importer is now created without a version, and we
4451           init that later.  It also has a larger life cycle with the plan to
4452           extend that and have gnumeric create it for the new in/out framework
4453           use gobjects.
4454         (gnm_xl_importer_free) : renamed from excel_workbook_destroy and close
4455           the iconv.
4456         (excel_read_name_str) : take an importer rather than a ver.
4457         (excel_read_SETUP) : rewrite to store the new biff8+ properties for
4458           comments and errors, and to add n_copies, and start page.
4459         (excel_read_CF) : turn off some debugging.
4460         (excel_read_sheet) : add handler for BIFF_PRINTHEADERS.
4461         (excel_read_BOF) : merge the standalone worksheet handler with the
4462           others.  Do not create the importer here, that get's passed in.
4463         (excel_read_workbook) : no need to set the global iconv here, the
4464           importer handles it.  Create the importer much earlier as a step
4465           towards gobjectificatin.
4467         * ms-chart.c (BC_R (ver)) : new to get the version from the importer
4468         (BC_R(area)) :
4469         (BC_R(attachedlabel)) :
4470         (BC_R(bar)) :
4471         (BC_R(line)) :
4472         (BC_R(markerformat)) :
4473         (BC_R(pie)) :
4474         (BC_R(scatter)) :
4475         (BC_R(series)) :
4476         (BC_R(shtprops)) :
4477         (BC_R(surf)) : Use it in place of passing in the ver
4478         (ms_excel_chart_read) : no need to pass version around
4479         (ms_chart_map_color) : adjust to change in excel_palette_get
4481         * ms-biff.c (ms_biff_password_hash) :
4482         (ms_biff_crypt_seq) :
4483         (ms_biff_pre_biff8_query_set_decrypt) :
4484         (ms_biff_query_set_decrypt) :
4485         (verify_password) : silence some sign difference warnings
4487 2005-07-11  Jody Goldberg <jody@gnome.org>
4489         * ms-excel-read.c (excel_read_IMDATA) : Read the CONTINUE records
4490           associated with the IMDATA even when not debugging. (#127756).
4492 2005-07-11  Jon K Hellan  <hellan@acm.org>
4494         * ms-excel-write.c (excel_write_SETUP): Export page
4495         orientation. I.e.: get the meaning of "orientation set" flag
4496         right, and don't mark it "invalid".
4498 2005-07-09  Jon K Hellan  <hellan@acm.org>
4500         * ms-excel-read.c (excel_read_workbook): Read BOF before entering
4501         record reading loop (#152528).
4503 2005-07-04  Jean Brefort  <jean.brefort@normalesup.org>
4505         * ms-chart.c: (ms_excel_chart_read): correctly import error bars
4506         for line plots (#309457).
4508 2005-07-01  Jean Brefort  <jean.brefort@normalesup.org>
4510         * ms-chart.c: (axislineformat): import axis grids,
4511         (chart_write_axis): export axis grids.
4513 2005-07-01  Jean Brefort  <jean.brefort@normalesup.org>
4515         * ms-chart.c: import error bars, (linear) regression curves and stock
4516         plots, export stock plots.
4518 2005-06-28  Jody Goldberg <jody@gnome.org>
4520         * ms-excel-write.c (cb_write_condition) : no need to unmap the kludge
4521           to handle overlays with back colours and no pattern.  We handle that
4522           in the core now.
4523         * ms-excel-read.c (excel_read_CF) : rather than kludging it here.  It
4524           was breaking when applying a conditional to a base that already had
4525           a pattern.
4527 2005-06-27  Jody Goldberg <jody@gnome.org>
4529         * ms-excel-read.c (excel_read_FORMULA) : improve debug output
4531 2005-06-22  Jody Goldberg <jody@gnome.org>
4533         * ms-excel-write.c (map_color_to_palette) : simplify
4534           and remove the direct comparisons to colours.  Just take an
4535           index and return it on NULL or auto.
4536         (xl_le_set_range) : new.
4537         (write_border) : new.
4538         (cb_write_condition) : new.
4539         (excel_write_conditions) : new.
4540         (excel_write_DVALs) : renamed from excel_write_DVAL.
4541         (excel_write_prep_conditions) : new.
4542         (put_colors) : look in conditional styles too.
4544         * ms-excel-read.c (excel_read_CF_border) : new.
4545         (excel_read_CF) : implement.
4546         (excel_read_CONDFMT) : complete.
4548 2005-06-13  Jody Goldberg <jody@gnome.org>
4550         * Release 1.5.2
4552 2005-06-02  Jody Goldberg <jody@gnome.org>
4554         * ms-formula-read.c (excel_parse_formula) : slight improvement of
4555           extended ptg parsing.  Use the test workbook to tell which items put
4556           something on the stack and which do not.
4558 2006-06-02  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4560         * plugins/excel/ms-chart.c (BC_R): use gog_object_set_position_flags.
4562 2005-05-25  Jody Goldberg <jody@gnome.org>
4564         * ms-excel-read.c (excel_read_sheet) : store the default style after
4565           we parse the sheet.  For older xls formats XF records happen after
4566           the BOF.
4568 2005-05-24  Morten Welinder  <terra@gnome.org>
4570         * ms-biff.c (ms_biff_query_destroy): Work harder at not leaving
4571         passwords in memory.
4572         (makekey): Ditto.
4573         (verify_password): Ditto.
4575         * ms-excel-read.c (excel_read_FILEPASS): Plug leak.
4577 2005-05-18  Jody Goldberg <jody@gnome.org>
4579         http://bugzilla.gnome.org/show_bug.cgi?id=166611
4580         * ms-formula-read.c (excel_parse_formula) : Create a fwd declaration
4581           of a NAME record that has not been read yet being used in a PTG_NAME.
4583         * ms-excel-read.c (excel_read_NAME) : keep a count of the name
4584           records and use fwd declaration if they exist.
4585         (excel_workbook_destroy) : move the names array into the workbook from
4586           the container.
4587         (excel_workbook_new) : ditto.
4589 2005-05-18  Jody Goldberg <jody@gnome.org>
4591         http://bugzilla.gnome.org/show_bug.cgi?id=304528
4592         * ms-chart.c (ms_excel_chart_read) : don't leak the array for invalid
4593           series (Analysis.xls).  Handle missing siindex record (chap03-1.xls).
4595 2005-05-19  Jody Goldberg <jody@gnome.org>
4597         http://bugzilla.gnome.org/show_bug.cgi?id=304558
4598         * ms-excel-read.c (excel_read_COLINFO) : we can't draw columns without
4599           margins yet so map their width to 4pts rather than hiding them.
4601 2005-05-17  Jody Goldberg <jody@gnome.org>
4603         * ms-chart.c (ms_excel_chart_read) : add some protection
4605 2005-05-17  Morten Welinder  <terra@gnome.org>
4607         * ms-chart.c (excel_chart_series_new): Set data[i].series also.
4609 2005-05-16  Jean Brefort  <jean.brefort@normalesup.org>
4611         * ms-chart.c: (ai): replace a g_assert by a warning,
4612         (seriestext): add a const to fix a compilation warning,
4613         (end): fix default-style-has-lines,
4614         (chart_write_AI): fix a compilation warning and labels export,
4615         (ms_excel_chart_write): export GogSurfaceSeries.
4617 2005-05-16  Morten Welinder  <terra@gnome.org>
4619         * ms-excel-read.c: Always set ->text_dir.
4621 2005-05-16  Jody Goldberg <jody@gnome.org>
4623         * ms-excel-write.c (excel_write_XF) : remove debug spew
4625 2005-05-14  Jean Brefort  <jean.brefort@normalesup.org>
4627         * ms-chart.c: (chart_write_AI): fixed tests, (chart_write_axis_sets ):
4628         add a missing break.
4630 2005-05-13  Jean Brefort  <jean.brefort@normalesup.org>
4632         * ms-chart.c: (chart_write_AI): don't forget toi export the >AI record
4633         even for constant labels!
4635 2005-05-13  Jean Brefort  <jean.brefort@normalesup.org>
4637         * ms-chart.c: (seriestext): use a constant GnmExpr instead of
4638         a GODataScalarStr, (chart_write_AI): export constant series labels,
4639         (chart_write_siindex): fix a stupid bug.
4642 2005-05-13  Jean Brefort  <jean.brefort@normalesup.org>
4644         * ms-chart.c: (chart_write_AI): fix a crash condition. Constant series
4645         names are not exported yet.
4647 2005-05-12  Jody Goldberg <jody@gnome.org>
4649         * ms-excel-read.c (excel_read_ROW) : fix debug spew
4651 2005-05-12  Jody Goldberg <jody@gnome.org>
4653         * ms-pivot.c (excel_read_pivot_caches) : don't produce warnings for
4654           files without OLE2 wrapper
4656 2005-05-12  Jean Brefort  <jean.brefort@normalesup.org>
4658         * ms-chart.c: export series data when constant;
4660 2005-05-10  Jody Goldberg <jody@gnome.org>
4662         * Release 1.5.1
4664 2005-05-09  Morten Welinder  <terra@gnome.org>
4666         * ms-chart.c (chart_write_axis): Fix C99ism.
4668 2005-04-23  Jody Goldberg <jody@gnome.org>
4670         * ms-formula-read.c (excel_func_desc) : We do not need the VARARG vs
4671           FIXED flags anymore min_args vs max_args is enough.  Replace both
4672           with XL_STD.
4673         (make_function) : No need to generate warnings about VAR vs FIXED
4674         * ms-formula-write.c (write_funcall) : Use max_args from the func
4675           descriptor
4677 2005-05-07  Jean Brefort  <jean.brefort@normalesup.org>
4679         * ms-chart.c: (excel_chart_series_new), (ai), (series), (siindex),
4680         (switch), (while), (if): enhanced import of data, and make some work
4681         on coutour plots export.
4683 2005-05-04  Jody Goldberg <jody@gnome.org>
4685         * ms-formula-read.c : Add ISHYPERLINK
4687         * ms-excel-write.c (excel_write_COLINFO) : patch a minor leak.
4689         * boot.c (excel_read_metadata) : close the meta data streams.
4690         (excel_file_open) : let the summary props overide the document.
4692 2005-04-10  Jean Brefort  <jean.brefort@normalesup.org>
4694         * ms-chart.c: (3d), (ai), (axis), (surf), (switch):
4695         import contours and surfaces plots.
4697 2005-04-09  Jody Goldberg <jody@gnome.org>
4699         * boot.c (excel_save) : Use the new GsfDocMetaData api
4700         (excel_read_metadata) : ditto.
4701         (excel_file_open) : ditto.
4703 2005-03-24  Stepan Kasal  <kasal@ucw.cz>
4705         * Makefile.am (excel_la_LIBADD): Add an explanation for $(Z_LIBS).
4707 2005-03-23  Jody Goldberg <jody@gnome.org>
4709         * ms-excel-read.c (excel_read_workbook) : add a hook to read pivot
4710           table caches.  It doesn't do much yet, but it's a start.
4711         * ms-biff.c (ms_biff_query_copy_decrypt) : new TODO
4712         * boot.c : Add a debug hook for pivots, and remove pointless comments
4713         * biff-types.h : update for the pivot table and cache elements
4714         * Makefile.am : Add ms-pivot.[ch]
4716 2005-03-23  Morten Welinder  <terra@gnome.org>
4718         * ms-escher.c (ms_escher_read_OPT): Use g_fopen, not fopen.
4719         * ms-excel-read.c (excel_read_IMDATA): Ditto.
4721 2005-03-15  Jody Goldberg <jody@gnome.org>
4723         * ms-excel-write.c (excel_write_workbook) : init n when totaling the
4724           number of cells.
4726 2005-03-14  Jean Brefort  <jean.brefort@normalesup.org>
4728         * ms-chart.c: import/export logarithmic axis.
4730 2005-03-13  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4732         * ms-chart.c (BC_R): use gog_chart_get_axes.
4733         (chart_write_axis_sets): use gog_chart_get_axis_set.
4734         s/AXIS_ELEM/GOG_AXIS_ELEM
4736 2005-03-12  Jody Goldberg <jody@gnome.org>
4738         * ms-excel-read.c (excel_read_DV) : Lists also have no use for
4739           operators.
4740           Invert the use_dropdown flag.  XL stores that as 'suppress combo'
4741         * ms-excel-write.c (excel_write_DV) : invert user_dropdown
4743 2005-03-11  Jean Brefort <jean.brefort@normalesup.org>
4745         * ms-chart.c (valuerange): import logarithmix axis mapping.
4747 2005-02-16  Jody Goldberg <jody@gnome.org>
4749         * ms-excel-write.c (excel_write_workbook) : Use count_io_progress_set
4750           so that we can remove workbook_io_progress_set.
4752 2005-02-09  Jody Goldberg <jody@gnome.org>
4754         * ms-excel-read.c (excel_read_BOUNDSHEET) : set the visibility of
4755           imported sheets.
4757 2005-02-08  Jody Goldberg <jody@gnome.org>
4759         * ms-excel-read.c (excel_read_SETUP) : drop debug spew
4761 2005-02-08  Morten Welinder  <terra@gnome.org>
4763         * ms-excel-write.c (txomarkup_new): Work around Pango bug #166700.
4764         Don't compare freed pointer against NULL.  Fixes #166532.
4766 2005-02-07  Jody Goldberg <jody@gnome.org>
4768         * ms-excel-write.c (excel_write_SETUP) : store the fit to pages width
4769           and height.
4770         (excel_write_WSBOOL) : set the fit to page flag.
4772         * ms-excel-read.c (excel_read_WSBOOL) : read the fit to page flag.
4773         (excel_read_SETUP) : read the fit to pages width and height.
4775 2005-02-08  Jody Goldberg <jody@gnome.org>
4777         * Release 1.5.0
4779 2005-02-07  Morten Welinder  <terra@gnome.org>
4781         * ms-excel-write.c (excel_font_overlay_pango): Plug leak.
4782         [#166561]
4784 2004-12-07  Jody Goldberg <jody@gnome.org>
4786         * ms-excel-write.c (excel_write_WINDOW2) : export sheet level rtl
4787           setting (we could move it to SheetView)
4788         (build_xf_data) : store the text dir.
4789         (excel_write_XF) : write it.
4791         * ms-excel-read.c (excel_read_WINDOW2) : read sheet level rtl flag
4792         (excel_read_XF) : read the text dir.
4793         (excel_get_style_from_xf) : store the text dir.
4795 2005-01-17  Jody Goldberg <jody@gnome.org>
4797         * Release 1.4.2
4799 2005-01-16  Jody Goldberg <jody@gnome.org>
4801         * ms-excel-write.c (excel_write_COLINFO) : fix the breakage
4803         http://bugzilla.gnome.org/show_bug.cgi?id=163236
4804         * ms-formula-read.c (excel_func_desc) : Merge in the latest OOo data
4805           and some new research
4807         * boot.c (plugin_init) : add some function table validation tests.
4808           We'll want more as the data structures get cleaned up
4810 2005-01-14  Jody Goldberg <jody@gnome.org>
4812         http://bugzilla.gnome.org/show_bug.cgi?id=155719
4813         * ms-excel-write.c (writer_header_footer) : quick and easy
4814           implementation.
4815         * ms-excel-read.c (xl_hf_strstr) : simple handling of XL's ampersand
4816           escaping.
4817         (excel_read_HEADER_FOOTER) : implement.
4819 2005-01-13  Jody Goldberg <jody@gnome.org>
4821         http://bugzilla.gnome.org/show_bug.cgi?id=163409
4822         * ms-excel-write.c (excel_write_COLINFO) : handle ci == NULL
4823           so that we can export empty cols with formats.  If the format is the
4824           same as the sheet default don't bother to export.
4825         (excel_write_colinfos) : we may need to export empty cols.
4827 2005-01-10  Jody Goldberg <jody@gnome.org>
4829         http://bugzilla.gnome.org/show_bug.cgi?id=163406
4830         * ms-excel-util.c (init_xl_font_widths) : fix entries for Bitstream
4831           Vera and Sans
4833 2005-01-10  Jody Goldberg <jody@gnome.org>
4835         * ms-formula-write.c (write_arrays) : handle booleans and errors in
4836           arrays
4838 2004-11-13  Jody Goldberg <jody@gnome.org>
4840         * ms-excel-read.c (ms_sheet_realize_obj) : We have a clear separation
4841           between create and realize now, we should use it.  This routine sets
4842           the content.
4843         (ms_sheet_create_obj) : this one creates objects for use later.
4844           I am not entire happy with this split.  It no longer feels
4845           necessary but it is much too close to release to contemplate
4846           cleaning it up.
4848 2004-12-17  Jody Goldberg <jody@gnome.org>
4850         http://bugzilla.gnome.org/show_bug.cgi?id=161534
4851         * ms-excel-read.c (excel_read_DIMENSIONS) : be extra anal with
4852           dimension records because they have ordinal zero
4854 2004-11-20  J.H.M. Dassen (Ray) <jdassen@debian.org>
4856         * ms-excel-read.c (excel_read_SETUP): Also import paper sizes for which
4857         gnome-print doesn't have names.
4859 2004-12-09  Jody Goldberg <jody@gnome.org>
4861         * Release 1.4.1
4863 2004-12-09  Jody Goldberg <jody@gnome.org>
4865         * ms-chart.c (BC_R(surf)) : prep but leave ifdefed to avoid problems
4866           with XL's funky representation of axes.
4868 2004-11-28  Jody Goldberg <jody@gnome.org>
4870         * Release 1.4.0
4872 2004-11-28  Jody Goldberg <jody@gnome.org>
4874         * ms-excel-read.c (excel_read_WINDOW2) : document rtl
4875         * ms-excel-write.c (excel_write_WINDOW2) : ditto
4877 2004-11-19  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4879         * ms-chart.c (BC_R(radararea)): type of area radar is
4880         GogRadarAreaPlot.
4881         (chart_write_plot): ditto.
4883 2004-11-16  Jody Goldberg <jody@gnome.org>
4885         * ms-chart.c (ms_excel_chart_write) : ultra-basic handling of graphs
4886           with multiple charts
4888 2004-11-15  Jody Goldberg <jody@gnome.org>
4890         * ms-excel-read.c (excel_read_SETUP) : hide some spurious debug spew
4892 2004-11-15  Jody Goldberg <jody@gnome.org>
4894         http://bugzilla.gnome.org/show_bug.cgi?id=157997
4895         * ms-excel-read.c (ms_sheet_realize_obj) : a temp patch for the object
4896           double unrefing.  A more significant patch is waiting for after
4897           release.
4899 2004-11-14  J.H.M. Dassen (Ray) <jdassen@debian.org>
4901         * ms-excel-read.c (excel_read_SETUP): Import paper sizes. This works
4902           now that we have delayed instantiation of print configs. For now it
4903           only works for paper sizes for which gnome-print has names though.
4905 2004-11-07  Jody Goldberg <jody@gnome.org>
4907         * Release 1.3.93
4909 2004-10-31  Jody Goldberg <jody@gnome.org>
4911         * Release 1.3.92
4913 2004-11-01  Morten Welinder  <terra@gnome.org>
4915         * ms-excel-read.c (ms_biff_get_chars): Give g_iconv the right kind
4916         of pointer.
4918         * ms-excel-write.c (excel_write_string): Ditto.
4919         (excel_write_string_len): Change second argument to be size_t*.
4921         * ms-excel-read.h (ms_biff_get_chars): Give g_iconv the right kind
4922         of pointer.
4924         * ms-excel-write.h (excel_write_string_len): Change second
4925         argument to be size_t*.
4927         * ms-escher.c (ms_escher_get_data): Fix confusion between
4928         ptrdiff_t and int.
4930 2004-10-18  Jon K Hellan  <hellan@acm.org>
4932         * ms-obj.c (ms_obj_read_pre_biff8_obj): Unref pixbuf returned by
4933         excel_read_IMDATA.
4935         * ms-excel-read.c (excel_read_os2bmp): New. Handle headerless OS/2
4936         bitmap.
4937         (excel_read_IMDATA): Call excel_read_os2bmp to handle OS/2
4938         BMP. Other format may be dumped to file.
4939         (excel_read_sheet): Unref pixbuf returned by excel_read_IMDATA.
4941 2004-10-15  Morten Welinder  <terra@gnome.org>
4943         * ms-excel-write.c (excel_sheet_new): Don't free the same thing
4944         twice.
4946 2004-10-11  Morten Welinder  <terra@gnome.org>
4948         * ms-excel-read.c (ms_sheet_realize_obj): Plug leak.
4950 2004-10-10  Jody Goldberg <jody@gnome.org>
4952         * ms-obj.c (ms_obj_map_forms_obj) : move here and pull in the linked
4953           cell data when available.
4955 2004-10-08  Jody Goldberg <jody@gnome.org>
4957         * ms-obj.c (ms_obj_read_biff8_obj) : some simple mapping from Forms
4958           objects to things we understand.  No properties imported yet.
4960         http://bugzilla.gnome.org/show_bug.cgi?id=154734
4961         * ms-chart.c (BC_R(end)) : cheesy swapping of the formatting
4962           associated with X and Y axes for bar plots.
4964 2004-10-05  Jody Goldberg <jody@gnome.org>
4966         * Release 1.3.91
4968 2004-09-16  Stepan Kasal  <kasal@ucw.cz>
4970         * Makefile.am (excel_la_LIBADD): New variable, set to $(Z_LIBS).
4971         (INCLUDES): add $(Z_CPPFLAGS)
4973 2004-09-24  Jody Goldberg <jody@gnome.org>
4975         * ms-obj.c (ms_obj_attr_new_flag) : add some safety checking
4976         (ms_obj_read_pre_biff8_obj) : merge up the handling of similar
4977           structures to get more consistent import.
4979         * ms-excel-write.c (excel_write_objs) : now that text boxes and
4980           rectangles are the same we need to do more work to figure out which
4981           are which.  Make a list and use that in place of repeated lookups.
4982         (excel_sheet_new) : make the list here.
4983         (excel_write_state_new) : use the list.
4984         (excel_sheet_free) : new.
4985         (excel_write_state_free) : use excel_sheet_free.
4987         * ms-excel-read.c (ms_sheet_map_color) : rework to use GOColor
4988         (ms_sheet_realize_obj) : simplify greatly by using GObject properties
4989           with common names in the sheet objects and merging the handling of
4990           related types (text==rectangle ...)
4991         (ms_sheet_create_obj) : Use the new object types in a step towards
4992           removing this function.
4994         * ms-escher.c (ms_escher_read_OPT_bools) : new.
4995         (ms_escher_read_OPT) : read the boolean blocks as a group to avoid
4996           kludging around the infrastructure for 1:1 properties.
4997          While in here make the debug spew for complex options more useful
4998          Store PTR properties
5000 2004-09-17  Jody Goldberg <jody@gnome.org>
5002         * ms-excel-read.c (ms_sheet_realize_obj) : default to outline with == 1
5004 2004-09-22  Jody Goldberg <jody@gnome.org>
5006         http://bugzilla.gnome.org/show_bug.cgi?id=153260
5007         * ms-excel-write.c (excel_write_BOF) : use the versioned ids directly
5008         (excel_write_FORMULA) : ARRAY is v2 for the versions we can export
5010         * ms-excel-read.c (excel_unexpected_biff) : tweak the typing for
5011           printf
5012         (ms_biff_bof_data_new) : straight to opcodes.
5013         (excel_read_PALETTE) : ditto.
5014         (excel_formula_shared) : ditto.
5015         (excel_read_DEF_ROW_HEIGHT) : ditto.
5016         (excel_read_FORMULA) : ditto, but be careful.  Use the BOF version,
5017           not the record.  Our export was dropping the version.
5018         (excel_read_ROW) : better handling for old versions.
5020         * ms-chart.c (ms_excel_chart_read) : use raw opcodes for non-chart
5021           records
5023         * ms-biff.c : Drop all the ms_op ls_op nonsense and just store opcode
5024           a straight 16 bit id.
5026         * biff-types.h : Rework to include explicit versioning for all records
5027           We were hitting too many odd ball records with invalid versioning
5028           Not just 0x1<byte>, but also 0x8<byte> even though that is a valid
5029           version.
5031 2004-09-16  Jody Goldberg <jody@gnome.org>
5033         * ms-excel-read.c (xl_find_fontspec) : Scale the right direction
5035 2004-09-18  J.H.M. Dassen (Ray) <jdassen@debian.org>
5037         * ms-excel-read.c: Added comments on how the paper size information can
5038           be used once gnome-print's API has been extended.
5040 2004-09-17  Jody Goldberg <jody@gnome.org>
5042         * ms-escher.c (ms_escher_read_OPT) : make debug spew slightly easier
5043           to read.
5045 2004-09-16  Jon K Hellan  <hellan@acm.org>
5047         * ms-excel-write.c (xf_init): Register default XF, its font and
5048         format here.
5049         (pre_pass): Not here.
5051 2004-09-15  Jon K Hellan  <hellan@acm.org>
5053         * ms-excel-write.c (txomarkup_new): New. Factored out of
5054         cb_cell_pre_pass.
5055         (cb_cell_pre_pass): See above.
5056         (excel_write_ClientTextbox): Change first parameter to
5057         ExcelWriteState. Save markup.
5058         (excel_write_textbox): See above.
5059         (extract_txomarkup): New. Extract markup for text object and store
5060         in hash table.
5062 2004-09-14  Jody Goldberg <jody@gnome.org>
5064         * ms-excel-util.c (init_xl_font_widths) : rework the font table
5065           completely to use more closely calibrated size info.
5067         * ms-excel-read.c (base_char_width_for_read) : delete
5068         (xl_find_fontspec) : new.
5069         (excel_read_COLINFO) : rework to simplify by using the new font table,
5070           and sync it with the exporter.
5071         (excel_read_DEF_COL_WIDTH) : ditto.
5072         (excel_read_sheet) : Store the default style on import.  We have no
5073           way of modifying it at run time, so we might as well use it for
5074           export.
5076 2004-09-09  Jody Goldberg <jody@gnome.org>
5078         * ms-chart.c (BC_R(pieformat)) : Store the separation for singletons
5079         (cb_store_singletons) : Check for pie separation and use it
5081 2004-09-09  Jody Goldberg <jody@gnome.org>
5083         * ms-chart.c (excel_chart_series_new) : init singletons
5084         (excel_chart_series_delete) : free singletons if necessary
5085         (BC_R(end)) : Create any singletons for the newly created series
5087 2004-09-09  Morten Welinder  <terra@gnome.org>
5089         * ms-excel-read.c (excel_read_PALETTE): Plug leak.
5091 2004-09-08  Jody Goldberg <jody@gnome.org>
5093         * Release 1.3.90
5095 2004-09-07  Jody Goldberg <jody@gnome.org>
5097         * ms-excel-write.c (palette_init) : Just use biff8 palette.  We're
5098           going to dump a custom palette anyway so it does not really matter
5100 2004-09-04  Jon K Hellan  <hellan@acm.org>
5102         * ms-excel-write.c (excel_write_ClientTextbox,
5103         excel_write_textbox): Implement simple text box export.
5104         (excel_write_objs, excel_sheet_new): Export text boxes.
5106 2004-09-03  Jody Goldberg <jody@gnome.org>
5108         * ms-excel-write.c (palette_init) : Export the xlp5 colours too
5110         * ms-obj.c (ms_obj_read_pre_biff8_obj) : remove some unnecssary
5111           pre-conditions that got confused when there was no name even when we
5112           were not expecting one.
5113         (excel_get_default_palette) : get a corrected palette for biff7.
5115         * ms-excel-read.c (ms_sheet_realize_obj) : merge the realization of
5116           text/label/rectangle/oval they all inherit from sheet-object-filled.
5118         * ms-escher.c (ms_escher_read_OPT) : Make some headway understanding
5119           booleans and use that to fix outline and fill handling.
5121 2004-09-02  Jody Goldberg <jody@gnome.org>
5123         http://bugzilla.gnome.org/show_bug.cgi?id=151618
5124         * plugins/excel/ms-chart.c (BC_R(end)) : Add the plot to the chart
5125           before setting it up so that the initial setup does not override the
5126           formating
5128 2004-08-31  Jody Goldberg <jody@gnome.org>
5130         * ms-biff.c (ms_biff_crypt_seq) : Add some bounds checking
5131           We need more docs in here.
5133 2004-08-30  Jody Goldberg <jody@gnome.org>
5135         * ms-excel-write.c (excel_write_BOUNDSHEET) : Export the sheet types
5136           we can import (worksheet, chart, xlm).
5137           Export sheet visibility too
5139 2004-08-31  Morten Welinder  <terra@gnome.org>
5141         * md5.c (wvMD5Init, wvMD5Update): Use ANSI prototypes.
5143 2004-08-29  Jody Goldberg <jody@gnome.org>
5145         * plugin.xml.in : disable the non-functional spreadsheetml importer
5147 2004-08-29  Jody Goldberg <jody@gnome.org>
5149         * Release 1.3.2
5151 2004-08-29  Jody Goldberg <jody@gnome.org>
5153         http://bugzilla.gnome.org/show_bug.cgi?id=151150
5154         * ms-chart.c (ms_excel_chart_write) : bar/col plots center axis ticks
5156 2004-08-27  Jody Goldberg <jody@gnome.org>
5158         * ms-chart.c (ms_excel_chart_write) : MS Xl can not handle plots with
5159           no data.  Drop them with a warning.
5161         * ms-excel-write.c (excel_write_workbook) : We only need a header if
5162           we're going to export an image.
5164 2004-08-26  Jon K Hellan  <hellan@acm.org>
5166         * ms-excel-write.c: Remove ENABLE_METAFILE ifdef
5168 2004-08-22  Jody Goldberg <jody@gnome.org>
5170         * ms-chart.c (BC_R(area,bar,line)) : Use the in_3d placeholders in
5171           plot_1_5d, we already export it.
5173 2004-08-21  Jon K Hellan  <hellan@acm.org>
5175         * ms-excel-read.c (excel_read_IMDATA): Add comment about OS/2 BMP
5176         format.
5178 2004-08-20  Jody Goldberg <jody@gnome.org>
5180         * ms-excel-read.c (excel_read_BOUNDSHEET) : Fix differentiation
5181           between sheet and chart, then handle both.
5182         (excel_read_BOF) : Handle full page charts.
5184         * ms-chart.c (BC_R(pieformat)) : no need to limit separation here.
5185           The plot can handle it.
5187 2004-08-17  Jon K Hellan  <hellan@acm.org>
5189         * ms-excel-write.c: Enable WMF/EMF export.
5190         (blipinf_free): Don't crash if blip is NULL. That's supposed to
5191         happen.
5192         (excel_write_vector_blip): Fix off by 8 bytes error.
5194 2004-08-12  Jody Goldberg <jody@gnome.org>
5196         * ms-excel-util.c (init_xl_font_widths) : adjust the sizes for 'Sans'
5197           to conform to XL's notion of an unknown font
5199 2004-08-15  Jody Goldberg <jody@gnome.org>
5201         * ms-formula-write.c (write_node) : get closer to matching the classes
5202           for the more obscure variants, OOo is wrong, but I don't have a
5203           clear map on what is right yet.
5205         * ms-excel-write.c (excel_write_BOF) : update the version in the BOF a
5206           bit.
5208         * ms-formula-read.c : tweak the expected return types for SUM,
5209           TRANSPOSE, MINVERSE, and MMULT
5211 2004-08-11  Jon K Hellan  <hellan@acm.org>
5213         * ms-excel-read.c (excel_formula_shared): Simplify using g_memdup.
5214         (excel_read_IMDATA): Initialize variables.
5216         * ms-escher.c (ms_escher_blip_new, ms_escher_read_ClientAnchor):
5217         Ditto.
5219         * crypt-md4.c: Include crypt-md4.h and make signatures consistent
5220         with it.
5222         * crypt-md4.h: Add include guards.
5224 2004-08-11  Jon K Hellan  <hellan@acm.org>
5226         Export images.
5228         * Makefile.am (excel_la_SOURCES): Add crypt-md4.[ch]
5230         * crypt-md4.[ch]. New files. MD4 checksum to use as BLIP
5231         id. Grabbed from Ethereal, originally from Samba.
5233         * ms-excel-write.c:
5234         (blipinf_new): New function. Initialize a record for image data.
5235         (blipinf_free): New function. Free an image data record.
5236         (excel_write_image): New function. Write an image Sp record
5237         referencing a BLIP.
5238         (excel_write_objs): Include images in record length. Write images.
5239         (excel_sheet_new): Save image info.
5240         (excel_write_image_bytes): New function. Save image in chunks,
5241         letting the biff layer insert CONTINUE records.
5242         (excel_write_vector_blip): New function. Save a vector format BLIP.
5243         (excel_write_raster_blip): New function. Save a raster format BLIP.
5244         (get_bliptype): New function. Get bliptype record.
5245         (excel_write_blip): New function. Save an image BLIP.
5246         (excel_write_blips): New function. Save the images as BLIPs.
5247         (excel_write_workbook): Get length of BLIP records. Call
5248         excel_write_blips.
5249         (excel_write_state_new): Initialize cur_blip.
5250         (excel_write_state_free): Free BLIP lists from sheets.
5252         * ms-excel-write.h (struct ExcelWriteSheet): Add blips, num_blips.
5253         (struct _ExcelWriteState): Add cur_blip.
5255 2004-07-10  Jody Goldberg <jody@gnome.org>
5257         * ms-excel-write.c (excel_write_workbook) : write WINDOW1 for all the views
5258         (excel_write_sheet) : Drop the WINDOW1 here but expand to write a
5259           WINDOW2, PANE, SCL, SELECTION tuple for all views, not just the
5260           current
5262 2004-07-19  Jody Goldberg <jody@gnome.org>
5264         * Release 1.3.1
5266 2004-07-05  Jody Goldberg <jody@gnome.org>
5268         * ms-excel-read.c (excel_read_IMDATA) : Add an optional mechanism for
5269           doing something with the data.  Still not entirely sure what format
5270           it is.  I'd hoped BMP but that does not appear to work.
5272         * biff-types.h : Add a few more records
5274 2004-06-29  Jody Goldberg <jody@gnome.org>
5276         * ms-excel-read.c (excel_read_REFMODE) : new.
5277         * ms-excel-write.c (write_sheet_head) : export REFMODE
5279 2004-06-26  Jody Goldberg <jody@gnome.org>
5281         * boot.c (excel_read_metadata) : Failure is a warning, not
5282           catastrophic
5284         * ms-chart.c (ms_excel_chart_write) : do not write FBI
5285         (chart_write_axis_sets) : Handle transposed X-Y (bars)
5287 2004-06-22  Jody Goldberg <jody@gnome.org>
5289         * ms-excel-write.c (extract_gog_object_style) : handle no fmt for axis.
5290         (excel_write_objs) : the count is +1, not the spid
5292 2004-06-20  Jody Goldberg <jody@gnome.org>
5294         * ms-excel-write.c (palette_get_index) : make public
5295         (excel_write_start_drawing) : new to handle spids across sheets.
5296         (excel_write_autofilter_objs) : use it.
5297         (excel_write_chart) : use it.
5298         (excel_write_objs) : do more detailed obj setup here.
5299         (put_color) : minor simplification.
5300         (extract_gog_object_style) : new
5301         (excel_write_state_new) : use it to collect the colors for the
5302           palette.
5303         (excel_sheet_new) : decide on sheet obejcts to export here.
5305         * ms-escher.c (-excel_write_MS_O_DRAWING_GROUP) : delete
5307         * ms-chart.c (}) : First pass at a basicly working chart exporter
5309 2004-06-13  Jody Goldberg <jody@gnome.org>
5311         * ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : merge the xp and 2k
5312           versions and tidy up.  This will likely need some work for blips
5314         * ms-chart.c (chart_write_plot) : implement the plot types we can
5315           import.
5316         (chart_write_axis) : provide a default for inverted and
5317           log-scale so that we only set them if lookup succeeds.
5318         (ms_excel_write_chart) : more work.  gnumeric and OOo can
5319           now import the basic column charts.  XL does not like the colours
5320           and gets the formating wrong, but it can at least read a single
5321           chart happilly.
5323         * ms-excel-write.c (excel_write_chart) : put the spid in the write
5324           spot I was off by two bytes.
5325         (excel_write_autofilter_objs) : Move the container wrapper from here
5326         (excel_write_objs) : to this new routine so that it can be shared by
5327           filters and charts.  We are now close to bit perfect matches to XP.
5329 2004-06-07  Jody Goldberg <jody@gnome.org>
5331         * ms-excel-write.c (excel_write_chart) : add and End after the common
5333         * ms-chart.c (chart_write_color) : write.
5335 2004-06-08  Morten Welinder  <terra@gnome.org>
5337         * ms-excel-read.c (excel_read_FILEPASS): Use gnm_destroy_password.
5339 2004-06-05  Jody Goldberg <jody@gnome.org>
5341         * ms-excel-write.c (excel_write_chart) : sync the sizes when exporting
5342           the anchor and object id.
5344 2004-06-01  Jody Goldberg <jody@gnome.org>
5346         * ms-chart.c (BC_R(end)) : patch style leak
5348 2004-05-31  Jody Goldberg <jody@gnome.org>
5350         * ms-chart.c : more fill in the blanks work towards export.
5351         (BC_R(seriestext)) : Use the simpler GODataScalarStr
5353 2004-05-26  Jody Goldberg <jody@gnome.org>
5355         * ms-excel-write.c (excel_write_AUTOFILTERINFO) : Use the right buffer
5357 2004-05-24  Jody Goldberg <jody@gnome.org>
5359         * ms-chart.c : more work towards chart export
5361         * ms-biff.c (ms_biff_put_2byte) : fix.
5363 2004-05-21  Jody Goldberg <jody@gnome.org>
5365         * ms-excel-read.c (excel_read_WSBOOL) : add more comments.
5367         * ms-chart.c (ms_excel_write_chart) : start filling in some of the
5368           blanks.  No where near functional, but at least we can operate in
5369           'paint by numbers' mode for a while.
5371         * ms-biff.c (ms_biff_put_empty) : new util
5372         (ms_biff_put_2byte) : ditto.
5374         * ms-excel-write.c : Use the new utilities to clarify the code.
5375         (excel_write_SETUP) : make public for use in chart export
5376         (excel_write_SCL) : make public for use in chart export
5378 2004-05-20  Morten Welinder  <terra@gnome.org>
5380         * ms-escher.c (ms_escher_read_Blip): We were reading 8 bytes too
5381         few.
5383 2004-05-15  Jody Goldberg <jody@gnome.org>
5385         * ms-excel-write.c (excel_write_BOF) : init the len for bifftypes
5386           before biff8.
5387         http://bugzilla.gnome.org/show_bug.cgi?id=103054
5388         (write_sheet_head) : put externsheet tables in every sheet for biff7
5389         (excel_write_externsheets_v8) : The self reference is for the addin,
5390           not the others.  Fixes 103054 for XL97
5391         (excel_write_workbook) : NAME records start at 0, not at the end of
5392           the externname table
5394         * boot.c (excel_file_open) : 95 in should export as 95
5395         (find_content_stream) : keep track of what type of stream this is.
5397         * ms-chart.c (BC_R(axislineformat)) : deleted axis still exist, and
5398           they hide their labels here rather than in tick.  Don't apply grid
5399           line styles to the axis.
5401 2004-05-10  Jody Goldberg <jody@gnome.org>
5403         * ms-chart.c (BC_R(end)) : doh!  Use the ExcelSeries::has_legend to
5404           set the GogSeries not the GogSeries on itself.
5406 2004-05-09  Jody Goldberg <jody@gnome.org>
5408         * ms-excel-read.c (excel_read_WINDOW2) : It seems like there can be
5409           multiple WINDOW2, SCL, PANE, SELECTION blocks when there are
5410           multiple windows.  For now we don't support importing multiple views
5411           so we need to at leat not break if a previous view was frozen.
5413 2004-05-07  Jody Goldberg <jody@gnome.org>
5415         * ms-biff.c (ms_biff_put_var_write) : Quick and simple support for
5416           continue.  It will not split a block of content, but it will split
5417           between blocks (attempted writes).
5419 2004-05-06  Jody Goldberg <jody@gnome.org>
5421         * ms-obj.c (ms_obj_attr_get_*) : Take an attrbag rather than an obj to
5422          be more useful.
5424         * ms-escher.c (ms_escher_read_container) : add a
5425           'return_attrs_in_container' kludge parameter.
5426         (ms_escher_parse) : make the return of the attributes optional and
5427           actually make it work.
5428         (ms_escher_read_OPT) : load properties for gradients.
5430         * ms-chart.c (BC_R(gelframe)) : support gradients
5431         (BC_R(legend)) : store the legend object.
5432         (BC_R(legendxn)) : notice deleted legend elements.
5433         (BC_R(text)) : import the text colour.
5434         (BC_R(end)) : support legend styles and clarify the grid vs plotarea
5435           distinction.
5437 2004-05-03  Jody Goldberg <jody@gnome.org>
5439         * excel-xml-read.c : some tweaks to get a layout that will support
5440           richtext.
5442 2004-05-04  Morten Welinder  <terra@gnome.org>
5444         * ms-excel-write.c (excel_write_DV): Map VALIDATION_OP_NONE to
5445         VALIDATION_OP_BETWEEN on save.
5447         * ms-excel-read.c (excel_read_DV): Make sure
5448         VALIDATION_TYPE_CUSTOM is paired with VALIDATION_OP_NONE.
5450 2004-04-29  Jody Goldberg <jody@gnome.org>
5452         * ms-excel-write.c (excel_font_overlay_pango) : new.
5453         (excel_write_RSTRING) : new.
5454         (cb_cell_pre_pass) : merge cb_collect_value_fmts, sst_collect_str
5455           add support for richtext
5456         (excel_write_cell) : export RSTRINGS for richtext
5458 2004-04-22  Jody Goldberg <jody@gnome.org>
5460         http://bugzilla.gnome.org/show_bug.cgi?id=136086
5461         * ms-excel-write.c (excel_sheet_write_DBCELL) : optimization was a bit
5462           optimistic.  Even if there are no values, we still need to export
5463           rows with visible formating (borders, backgrounds, ...)
5465 2004-04-21  Morten Welinder  <terra@gnome.org>
5467         * ms-excel-read.c (excel_read_LABEL): Plug leak.
5469 2004-04-20  Jody Goldberg <jody@gnome.org>
5471         * ms-excel-read.c (sst_read_string) : Use the right string when
5472           calculating offsets.
5474 2004-04-19  Jody Goldberg <jody@gnome.org>
5476         * ms-chart.c (BC_R(end)) : graph style wants outline not line
5477         (ms_excel_read_chart) : there is not 'Graph' concept in xls, remove
5478           it's style.  Charts default to blank too.
5480 2004-04-19  Jody Goldberg <jody@gnome.org>
5482         * ms-excel-read.c (excel_sheet_insert_val) : fix the fix.
5483           We do need to apply the style, even if we're not going to assigned
5484           the format to the value.
5486 2004-04-19  Jody Goldberg <jody@gnome.org>
5488         * ms-excel-read.c (sst_read_string) : don't forget the last markup
5489           element.  Leave some debug in here to figure out what's going on
5490           with quick test.
5492 2004-04-19  Jody Goldberg <jody@gnome.org>
5494         * ms-excel-read.c (excel_sheet_insert_val) : only assign a format if
5495           there is no existing markup.
5496         (sst_bound_check) : do some extra checking to ensure the existence of
5497           unbroken region of desired length.
5498         (sst_read_string) : handle rich text.
5500 2004-04-18  Jody Goldberg <jody@gnome.org>
5502         * ms-obj.c (ms_obj_read_pre_biff8_obj) : fix the name offset for
5503           polygons
5505         * ms-excel-read.c : convert global_string char * array into an
5506           ExcelStringEntry sst array with strings and markup in preparation
5507           for reading richtext from an SST.
5509 2004-04-17  Jody Goldberg <jody@gnome.org>
5511         * ms-excel-read.c (excel_read_HEADER_FOOTER) : new to handle biff8 vs
5512         biff7
5513         (excel_read_LABEL_markup) : new.  Handle biff[57] and biff8 RSTRING
5514           markup
5516 2004-04-17  Jody Goldberg <jody@gnome.org>
5518         * ms-excel-read.c (excel_read_str_name) : new.
5519         (excel_read_str_name) : split from here.
5520         (excel_read_EXTERNNAME) : used here too.
5522         * ms-excel-read.c (excel_read_XF_OLD) : differentiate biff2 vs biff3
5523           and biff4.
5525 2004-04-15  Jody Goldberg <jody@gnome.org>
5527         * ms-chart.c (ms_excel_read_chart_BOF) : ignore the version in the BOF
5528           it lies.  Use the container's version.
5530         * ms-excel-read.c (excel_read_NAME) : rework to handle unicode
5531           suffixes and to some general cleanup.
5533 2004-04-14  Jody Goldberg <jody@gnome.org>
5535         * ms-excel-read.c (excel_read_DEF_ROW_HEIGHT) : handle biff2
5536         (excel_read_WINDOW2) : ditto.
5537         (excel_read_EXTERNSHEET_v7) : be smarter about handling the buggy
5538           files from 1.0.7 that exported quoted sheet names.
5540 2004-04-12  Jody Goldberg <jody@gnome.org>
5542         * ms-excel-read.c : Use GO_UNIT in place of inches_to_points.
5544 2004-03-28  Jody Goldberg <jody@gnome.org>
5546         * Release 1.3.0
5548 2004-03-18  Jody Goldberg <jody@gnome.org>
5550         * ms-excel-write.c (excel_write_WINDOW2) : We only support frozen
5551           panes.  Set the flag indicating that this was only a freeze, not a
5552           split too.
5553         (excel_write_PANE) : docs are wrong.  The field indicates what type of
5554           freezing.
5555         (excel_write_selections) : rework to match XL.
5556         (excel_write_SCL) : Only write the record if zoom != 100%
5557         (excel_write_BOF) : update BOF to XP sp2
5559         * ms-excel-read.c (excel_read_SELECTION) : Allow the active pane from
5560           the PANE record to override the default of 3.
5561         (excel_read_PANE) : store the active pane.
5563 2004-03-16  Jody Goldberg <jody@gnome.org>
5565         http://bugzilla.gnome.org/show_bug.cgi?id=137377
5566         * ms-obj.c (ms_read_TXO) : init markup even if there is no string.
5568 2004-03-11  Jody Goldberg <jody@gnome.org>
5570         http://bugzilla.gnome.org/show_bug.cgi?id=136730
5571         * ms-excel-read.c (excel_get_xf) : be more flexible and handle xls
5572           generated with no XF records.
5573         (excel_get_style_from_xf) : ditto.
5574         (excel_sheet_insert_val) : ditto.
5576         * ms-obj.c (ms_obj_read_pre_biff8_obj) : despite the name
5577           PangoAttributes::end_index is exclusive, not inclusive.
5579 2004-03-08  Jody Goldberg <jody@gnome.org>
5581         * ms-excel-read.c (excel_read_XF) : throw in a simple heuristic for
5582           when to set a valueformat.  At issue is that we want to display
5583           dates/times formatted, but do not want to display accounting
5584           formats.  This kludge disables the application for any format that
5585           has more than one condition.  It's not strictly a solution, but it
5586           will solve the common problems.
5588 2004-03-06  Jody Goldberg <jody@gnome.org>
5590         * ms-obj.c (ms_obj_read_pre_biff8_obj) : handle outline width for text
5591           boxes.
5592         * ms-excel-read.c (ms_sheet_create_obj) : ditto.
5594 2004-03-06  Jody Goldberg <jody@gnome.org>
5596         * ms-obj.c (ms_obj_attr_new_markup) : new.
5597         (ms_obj_attr_get_markup) : new.
5598         (ms_obj_attr_destroy) : teach about PangoAttrList
5599         (append_txorun) : new.
5600         (ms_obj_read_pre_biff8_obj) : font colours come with the FONT info in
5601           txoruns.  The docs are wrong the colour in the record is useless.
5602           Remove some extra debug spew.
5604         * ms-excel-read.c (excel_wb_get_fmt) : no point using pointers to
5605           ints.  Just use G_INT_TO_POINTER.
5606         (ms_sheet_get_fmt) : ditto.
5607         (excel_read_BOUNDSHEET) : ditto.
5608         (excel_workbook_new) : ditto.
5609         (excel_workbook_reset_style) : ditto.
5610         (base_char_width_for_read) : ditto.
5611         (excel_read_FORMAT) : ditto.
5612         (excel_read_FONT) : ditto.
5613         (excel_get_font) : ditto.
5614           Also no need for this to take a sheet, take a workbook.
5615         (biff_font_data_destroy) : free the new optional attr lists.
5616         (ms_sheet_create_obj) : Use markup rather than a single colour.
5617         (biff_guint16_hash (guint16 const *d)
5618         (biff_guint32_hash (guint32 const *d)
5619         (biff_guint16_equal) : delete.
5620         (biff_guint32_equal) : delete.
5621         (excel_get_style_from_xf) : remove some useless code now that font
5622           substitution is handled at the app level.
5623         (add_attr) : new.
5624         (ms_wb_get_font_markup) : new.  build a PangoAttrList from a FONT record.
5626         * ms-container.c (ms_container_get_fmt) : automatically chain up
5627         (ms_container_get_markup) : new.
5629         * ms-chart.c (chart_get_fmt) : delete.
5631 2004-03-03  Jody Goldberg <jody@gnome.org>
5633         * ms-formula-read.c (excel_formula_parses_ref_sheets) : extend to
5634           handle local 3d references properly.
5636 2004-02-22  Jody Goldberg <jody@gnome.org>
5638         * ms-chart.c (BC_R(end)) : We're using GogRadar rather than GogRadial.
5639           Set the no-marker state using the right name.
5640         (BC_R(radararea)) : set the area flag to indicate filled.
5642 2004-02-21  Jody Goldberg <jody@gnome.org>
5644         * ms-excel-util.c (two_way_table_new) : store the destroy func.
5645         (two_way_table_put) : patch leak and use the destroy func on things
5646           that are already in the table.
5648         * ms-chart.c (BC_R(radar)) : connect the new engine
5649         (BC_R(radararea)) : ditto.
5651 2004-02-09  Morten Welinder  <terra@gnome.org>
5653         * ms-biff.c (ms_biff_query_next): Change to return gboolean and
5654         fix the g_return_val_if_fail results.
5656 2004-02-04  Jody Goldberg <jody@gnome.org>
5658         * ms-excel-read.c (excel_read_CODENAME) : new routine to store the
5659           codename for later use while round tripping.
5660         (excel_read_sheet) : use it here.
5661         (excel_read_workbook) : use it here.
5663         * ms-excel-write.c (excel_write_CODENAME) : new routine to use the
5664           stored codename rather than generating one on the fly.
5665         (excel_write_sheet) : use it here.
5666         (excel_write_workbook) : and here.
5668 2004-01-29  Jody Goldberg <jody@gnome.org>
5670         From Nick Lamb <njl98r@ecs.soton.ac.uk>
5671         * ms-excel-read.c (excel_read_FILEPASS) : new.
5672         (excel_read_sheet) : use it here.
5673         (excel_read_workbook) : and here.
5675 2004-01-28  Jean Brefort  <jean.brefort@ac-dijon.fr>
5677         * plugins/excel/ms-chart.c: (scatter):add import of bubble plots
5679 2004-01-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
5681         * ms-excel-read.c (excel_read_SETUP): use print_info_set_orientation
5682         * ms-excel-write.c (excel_write_SETUP): ditto
5684 2004-01-16  Jody Goldberg <jody@gnome.org>
5686         * ms-escher.c (ms_escher_get_data) : as pointed out by Nick Lamb
5687           some gelframe records can get rather big.
5689 2004-01-14  Jody Goldberg <jody@gnome.org>
5691         From Nick Lamb <njl98r@ecs.soton.ac.uk>
5692         * ms-biff.c : Merge in patch to support xor based 'encryption'
5694 2004-01-12  Jody Goldberg <jody@gnome.org>
5696         http://bugzilla.gnome.org/show_bug.cgi?id=130791
5697         * ms-formula-write.c (excel_write_prep_expr) : fix cut-n-paste-o in
5698           change for 1.2.2 that added macros and broke plugin functions.
5700 2004-01-07  Jody Goldberg <jody@gnome.org>
5702         * ms-excel-read.c (excel_read_SELECTION) : disable some debug spew.
5704 2004-01-07  Jon K Hellan  <hellan@acm.org>
5706         * ms-chart.c (BC_R(legend)): Initialize pos for XL_pos = 7.
5708 2004-01-05  Jody Goldberg <jody@gnome.org>
5710         http://bugzilla.gnome.org/show_bug.cgi?id=130577
5711         * ms-excel-write.c (excel_write_SELECTION) : generalize a bit.
5712         (excel_write_selections) : new wrapper to handle selectins for each pane
5714         http://bugzilla.gnome.org/show_bug.cgi?id=130579
5715         * ms-excel-read.c (excel_read_SELECTION) : we only care about
5716           selections in the primary pane.
5718 2003-12-24  Jody Goldberg <jody@gnome.org>
5720         * ms-excel-write.c (excel_write_WRITEACCESS) : don't free memory we do
5721           no own.
5722         (excel_write_COUNTRY) : init both fields.
5723         (write_sheet_head) : pre biff8 it was part of the sheet record.  Its
5724           hard to tell if this should be part of every sheet or just the first.
5725           I've seen both.
5726         (write_workbook) : biff8 puts the COUNTRY record in the workbook area.
5728 2003-12-23  Jody Goldberg <jody@gnome.org>
5730         * Release 1.2.3
5732 2003-12-22  Jody Goldberg <jody@gnome.org>
5734         * ms-chart.c (BC_R(ifmt)) : pull in axis value format.
5736 2003-12-19  Jon K Hellan  <hellan@acm.org>
5738         * ms-excel-write.c (excel_write_WRITEACCESS): Use
5739         gnm_get_real_name to get user name.
5741 2003-12-18  Jody Goldberg <jody@gnome.org>
5743         * ms-chart.c (XL_gog_series_set_dim) : Don't leak data we're not
5744           expecting.
5745         (BC_R(get_style)) : new.  creates the style as necessary, and flags it
5746           to ignore the object's default settings.
5748 2003-12-13  Jody Goldberg <jody@gnome.org>
5750         http://bugzilla.gnome.org/show_bug.cgi?id=127625
5751         * ms-excel-read.c (excel_sheet_destroy) : kludge around autofilters in
5752          XL97 that have no related drop downs (eg guia.xls)
5754 2003-11-26  Jody Goldberg <jody@gnome.org>
5756         * Release 1.2.2
5758 2003-11-25  Jody Goldberg <jody@gnome.org>
5760         * ms-formula-write.c (excel_write_prep_expr) : handle macros.
5761         (write_funcall) : ditto.
5763         * ms-formula-read.c : add specs for the text_B_ functions
5764         (excel_parse_formula) : improve debug info.
5765           Fix unicode strings.
5767         * ms-excel-write.c (write_workbook) : unsigned does not go < 0
5768         (cb_enumerate_macros) : new.
5769         (cb_write_macro_NAME) : new.
5770         (excel_write_names) : new.
5772         * ms-excel-read.c (get_xtn_lens) : add a limiter on the rich text
5773           warning.
5774         (excel_formula_shared) : add some debug.
5775         (excel_read_NAME) : register macro functions.
5776         (excel_read_ROW) : disable debug spew.
5777         (excel_read_CF) : ditto.
5778         (excel_read_DIMENSIONS) : ditto.
5779         (excel_read_GUTS) : ditto.
5780         (excel_read_HLINK) : target frame is first (according to
5781           xls-export-crash.xls) and the docs.
5782         (excel_read_SUPBOOK) : handle external workbooks with unicode names.
5784         * ms-escher.c (ms_escher_parse) : return the property bag.
5786 2003-11-20  Jody Goldberg <jody@gnome.org>
5788         * ms-chart.c (BC_R(radar)) : Add a note.
5790 2003-11-20  Jody Goldberg <jody@gnome.org>
5792         * ms-formula-read.c (make_function) : Take a Workbook to allow for
5793         for book local function lookup.
5795 2003-11-20  Jody Goldberg <jody@gnome.org>
5797         * ms-excel-write.c (excel_sheet_new) : Include row/col info in the
5798           extent calculation.
5800         * ms-excel-write.c (excel_write_GUTS) : max col/row outline levels are
5801           one based.
5803 2003-11-19  Andreas J. Guelzow  <aguelzow@taliesin.ca>
5805         * ms-excel-read.c (excel_read_SETUP): use print_info_set_n_copies
5807 2003-11-18  Jody Goldberg <jody@gnome.org>
5809         * ms-chart.c (BC_R(lineformat)) : Handle 'invisible'
5810         (BC_R(markerformat)) : none is never auto.
5811         (BC_R(end)) : Set the plot defaults for line and XY.
5813 2003-11-17  Jody Goldberg <jody@gnome.org>
5815         http://bugzilla.gnome.org/show_bug.cgi?id=127204
5816         * ms-chart.c (ms_excel_read_chart) : remove any grids that were
5817           automaticly created if there were none in the input stream.
5819         * plugins/excel/ms-chart.c (BC_R(areaformat)) : we need to consider
5820           pattern = 0 as NONE only if it is not autoformat.  Our theme engine
5821           does not change fill types, so it would ignore styles with fill=NONE
5823 2003-11-15  Jody Goldberg <jody@gnome.org>
5825         * ms-excel-write.c (write_sheet_head) : save the manual recalc flag.
5827 2003-11-14  Jody Goldberg <jody@gnome.org>
5829         http://bugzilla.gnome.org/show_bug.cgi?id=126908
5830         * ms-excel-read.c (ms_sheet_create_obj) : gnumeric defaults to
5831           different outline and background colours.  Set them if the file does
5832           not so that things look xl-ish.
5834 2003-11-13  Jody Goldberg <jody@gnome.org>
5836         * ms-excel-write.c (excel_write_sheet) : store a CODENAME
5837         (write_workbook) : ditto.
5839         * boot.c (excel_save) : store the saved properties if we have them
5840         (excel_file_open) : store CompObj and properties.
5841         (excel_read_metadata) : its easier to blob the stream.
5843 2003-10-27  Jody Goldberg <jody@gnome.org>
5845         * boot.c (find_content_stream) : Move this logic here.
5846         (excel_file_open) : from here.
5847         (excel_file_probe) : so that this can share it.
5849 2003-10-25  Jody Goldberg <jody@gnome.org>
5851         * ms-excel-write.c (excel_write_SELECTION) : doh!
5853 2003-10-18  Jody Goldberg <jody@gnome.org>
5855         http://bugzilla.gnome.org/show_bug.cgi?id=124244        [unable to open group]
5856         * ms-excel-read.c (excel_read_COLINFO) : set collapsed even if level == 0
5857         (excel_read_ROW) : ditto.
5859 2003-10-13  Jody Goldberg <jody@gnome.org>
5861         * ms-biff.c (ms_biff_query_next) : fail if we run out of data part way
5862           through a record.
5864         * ms-excel-read.c (excel_read_XF_OLD) : init all flags to FALSE.
5866 2003-10-08  Jody Goldberg <jody@gnome.org>
5868         * Release 1.2.1
5870 2003-10-08  Jody Goldberg <jody@gnome.org>
5872         * ms-chart.c (conditional_set_double) : Use the new const val GOData
5873           to support manual axis bounds and invert the logic to be correct.
5874         (BC_R(seriestext)) : store the text associated with axis and chart
5875           labels.
5876         (BC_R(end)) : free strings associated with text records if they
5877           haven't been used yet.
5879 2003-09-30  Jody Goldberg <jody@gnome.org>
5881         * ms-excel-read.c (excel_read_HLINK) : typo 0x80 rather than 0x8 was
5882           breaking import of local workbook links (Thanks to Tim for noticing)
5884 2003-09-29  Jody Goldberg <jody@gnome.org>
5886         From Nick Lamb <njl195@zepler.org.uk>
5887         * boot.c (excel_file_probe) : bug in libgsf < 1.8.3 that would not
5888           seek back to 0 on failed gsf_infile_msole_new.
5890 2003-09-27  Jody Goldberg <jody@gnome.org>
5892         * ms-formula-write.c (write_funcall) : Use the last specified type for
5893          the remainder of the args in a vararg function.
5895         * ms-formula-read.c : AND,OR, and IF args appear to be V not R
5897 2003-09-27  Jody Goldberg <jody@gnome.org>
5899         * ms-excel-write.c (excel_write_SST) : be extra careful about unicode
5900           characters > 0xfeff
5902 2003-09-25  Jody Goldberg <jody@gnome.org>
5904         * ms-escher.c (ms_escher_read_OPT) : dump the complex data too so that
5905           we don't forget it exists.
5907         * ms-chart.c (excel_chart_series_new) : init style.
5908         (excel_chart_series_delete) : unref style if necessary.
5909         (BC_R(color)) : DOH!  they use bgr no rgb.
5910         (BC_R(areaformat)) : handle none, and start work on pattern map.
5911         (BC_R(begin)) : make prettier with newline.
5912         (BC_R(dataformat)) : don't create the style here.  Do it on demand in
5913           {area,line,marker}format.
5914         (BC_R(frame)) : notice the difference between a chart and a grid.
5915         (BC_R(markerformat)) : create the styles on demand.
5916         (conditional_set_double) : prep for importing manual axis bounds.
5917         (BC_R(valuerange)) : ditto.  Still need a static GOData.
5918         (BC_R(end)) : hook the series and plot default styles in.
5919           Enable styles for charts and grids.
5921 2003-09-23  Jody Goldberg <jody@gnome.org>
5923         * ms-chart.c (BC_R(lineformat)) : fix import of axis line styles.
5925 2003-09-13  Nick Lamb <njl195@zepler.org.uk>
5927         * ms-excel-read.c (excel_sheet_new) : typo fix
5928         (excel_read_FORMAT) : Early BIFF uses smaller datatypes
5929         (excel_read_FONT) : Implement for early BIFF
5930         (excel_get_xf) : More early BIFF hacks
5931         (excel_read_XF_OLD) : New function, read OLD XF structures
5932         (excel_workbook_add_XF) : Obsoleted, removed
5933         (excel_formula_shared) : Early BIFF uses smaller datatypes
5934         (excel_workbook_reset_style) : New function, needed for XLW files
5935         (excel_read_EXTERNNAME) : typo fix, Early BIFF fixes
5936         (excel_read_NAME) : Early BIFF uses smaller datatypes
5937         (excel_read_sheet) : Style is per-sheet in XLW files, what default?
5938          Use excel_read_XF_OLD instead of excel_workbook_add_XF
5939         (excel_read_BOF) : Stop using excel_workbook_add_XF,
5940          report XL4 workbooks to stderr just like all other file types
5942         * ms-formula-read.c (excel_parse_formula) :
5943          Handle PTG_SHEET and PTG_SHEET_END, at least for known examples
5944          Also early BIFF as usual has smaller datatypes
5946 2003-09-21  Jody Goldberg <jody@gnome.org>
5948         * ms-formula-read.c (excel_parse_formula) : disable debug spew.
5950 2003-09-21  Jody Goldberg <jody@gnome.org>
5952         * ms-formula-write.c (xl_map_char_to_type) : new util.
5953         (xl_get_op_class) : wrapper to help calculate the result class.
5954         (write_cellref_v7) : handle operand classes.
5955         (write_cellref_v8) : handle operand classes.
5956         (excel_formula_write_CELLREF) : ditto and operator mapping.
5957         (excel_formula_write_AREA) : ditto.
5958         (write_funcall) : ditto.
5959         (excel_formula_write_NAME_v8) : ditto.
5960         (excel_formula_write_NAME_v7) : ditto.
5961         (write_node) : ditto.
5962         (excel_write_formula) : collect more information on the calling context
5964 2003-09-18  Jody Goldberg <jody@gnome.org>
5966         * ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : Add UserDefined to
5967           silence some warnings.
5969 2003-09-16  Jody Goldberg <jody@gnome.org>
5971         * ms-formula-write.c : push all the 'shared' arguments into the
5972           PolishData that we're passing around anyway.
5974         * ms-formula-write.c (excel_write_prep_expr) : register functions that
5975           exist only in arrays too.
5977         * ms-excel-util.c (init_xl_font_widths) : add Albany
5979 2003-09-15  Jody Goldberg <jody@gnome.org>
5981         * ms-chart.c (ms_excel_read_chart) : patch leak.
5983 2003-09-15  Jody Goldberg <jody@gnome.org>
5985         * Release 1.2.0
5987 2003-09-15  Jody Goldberg <jody@gnome.org>
5989         * ms-chart.c (BC_R(legend)) : handle the legend's position.
5991         * ms-excel-util.c : "Arial Cyr" in addition to "Arial CYR"
5993 2003-09-14  Jody Goldberg <jody@gnome.org>
5995         * ms-chart.c (BC_R(pie)) : don't confuse center diameter with
5996           separation, use it to distinguish between pie and ring.
5997         (BC_R(pieformat)) : handle separation here.
5999 2003-09-13  Jody Goldberg <jody@gnome.org>
6001         * ms-chart.c (BC_R(tick)) : enable.  Looks like axis label enabling
6002           should be here.  Wonder what that flag in lineformat is for ??
6004 2003-09-13  Jody Goldberg <jody@gnome.org>
6006         * ms-chart.c (BC_R(lineformat)) : disable axis label setting for now
6007           it seems over zealous.
6009 2003-09-13  Jody Goldberg <jody@gnome.org>
6011         * ms-chart.c (BC_R(color)) : disable debug spew.
6012         (BC_R(lineformat)) : impl.
6013         (BC_R(markerformat)) : impl.
6015 2003-09-10  Jody Goldberg <jody@gnome.org>
6017         * Release 1.1.90
6019 2003-09-03  Jody Goldberg <jody@gnome.org>
6021         * ms-excel-util.c (init_xl_font_widths) : 128pt does not seem like a
6022           good yard stick for Courier, Use 64, and scale it.
6023         Arial Narrow is even worse, size it based on 32pt
6025 2003-08-22  Jody Goldberg <jody@gnome.org>
6027         * ms-excel-read.c (excel_read_BOF) : fix the warning.  We need the
6028           stream pos at the _start_ of the sheet.
6030 2003-08-21  Jody Goldberg <jody@gnome.org>
6032         * Release 1.1.20
6034 2003-08-20  Jody Goldberg <jody@gnome.org>
6036         * ms-excel-read.c (excel_read_BOF) : finding a sheet not listed in the
6037           right place is a warning not a failure.
6039         * ms-excel-write.c (excel_write_DV) : handle missing titles and msgs
6041 2003-08-09  Jody Goldberg <jody@gnome.org>
6043         * ms-chart.c (BC_R(areaformat)) : use the new GogStyle extensions.
6045 2003-07-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
6047         * ms-excel-read.c (excel_workbook_destroy): remove last argument
6048           in workbook_sheet_reorder
6050 2003-08-01  Jody Goldberg <jody@gnome.org>
6052         * ms-excel-util.c (init_xl_font_widths) : add a bunch of arial
6053           encodings.
6055 2003-07-31  Jody Goldberg <jody@gnome.org>
6057         * ms-chart.c (BC_R(line)) : connect to the new line plot.
6058         (BC_R(area)) : connect to the new area plot.
6060 2003-07-28  Jody Goldberg <jody@gnome.org>
6062         * ms-formula-read.c (make_function) : dup the name because plugins get
6063           removed before symbols do and we would crash referencing a static
6064           string from the plugin.
6065         (PHONETIC) : appears to have 1 arg (optional ?)
6067 2003-07-24  Jody Goldberg <jody@gnome.org>
6069         * ms-biff.c (ms_biff_pre_biff8_query_set_decrypt) : new placeholder.
6070         (ms_biff_query_set_decrypt) : take a version so that we can correctly
6071           recognize encrypted files for versions before biff8.
6073 2003-07-19  Jody Goldberg <jody@gnome.org>
6075         * ms-obj.c (ms_obj_read_pre_biff8_obj) : Parse scollbars and spinners
6077         * ms-excel-read.c (ms_sheet_realize_obj) : apparently spinners use
6078           scrollbar records.  Pass the current value too.
6080         * ms-excel-write.c (excel_write_SST) : simplify a bit to avoid a
6081         potential corner case that would generate an empty CONTINUE.
6083 2003-07-18  Jody Goldberg <jody@gnome.org>
6085         * ms-excel-write.c (excel_write_SST) : handle strings > 8224 bytes.
6086         (excel_sheet_write_block) : improve warning message and fallback to
6087           the default style when there is a problem.
6089 2003-07-17  Jody Goldberg <jody@gnome.org>
6091         * ms-excel-util.c (init_xl_font_widths) : add Bitstream Vera, and its
6092           alias 'Sans'
6094         * ms-formula-read.c (parse_list_push) : be more
6095           resilient in the face of missing args.
6097 2003-07-16  Jody Goldberg <jody@gnome.org>
6099         * ms-excel-read.c (ms_biff_get_chars) : make public.
6100         * ms-obj.c (ms_read_TXO) : use ms_biff_get_chars.
6102 2003-07-16  Jody Goldberg <jody@gnome.org>
6104         * ms-obj.c (ms_read_OBJ) : always register the object.
6106         * ms-container.c : Make the obj_queue a GSList.
6107         (ms_container_get_obj) : new.
6108         (ms_container_realize_objs) : only realize MSObjs that have gnumeric
6109           objects.
6111         * ms-escher.c (ms_escher_header_init) : init new 'release_attrs' flag
6112           to allow us to pass management of an attr bag to an object, but still
6113           retain access to it.
6114          (ms_escher_header_release) : honour the flag.
6115          (ms_escher_read_ClientData) : set the flag.
6117         * ms-excel-read.c (excel_read_NOTE) : Discover an undocumented flag.
6118           0x100 == no indicator visible
6119           While we're here store the author, and the inidcator position.
6120         (excel_read_HLINK) : frames are 0x80 not 0x8
6121         (ms_sheet_realize_obj) : cheat to handle cell comments.  In xl97 and
6122           up the comment objects store the possition of the display box, not the
6123           position of the indicator.  We need a better comment object.
6124         (ms_sheet_realize_obj) : Store the text for text boxes too.
6125         (ms_sheet_create_obj) : no need to set a blank text, we assign it later.
6126         (ms_sheet_create_obj) : create comments.
6128 2003-07-07  Jody Goldberg <jody@gnome.org>
6130         * ms-excel-read.c (excel_palette_get) : fix error message.
6132 2003-07-02  Andreas J. Guelzow <aguelzow@taliesin.ca>
6134         * ems-excel-write.c (xcel_sheet_new): add some spaces in strings
6136 2003-06-21  Jody Goldberg <jody@gnome.org>
6138         * ms-chart.c (BC_R(chartformat)) : vary_style_by_element is now in plot
6139         * ms-excel-write.c : Start work on escher wrapper for exporting charts
6140           in XL97.  NOT ENABLED OR FINISHED.
6142 2003-06-11  Jody Goldberg <jody@gnome.org>
6144         * ms-excel-write.c (excel_sheet_new) : Capitalize and mark Excel as a
6145            trademark.
6147 2003-06-11  Jody Goldberg <jody@gnome.org>
6149         * ms-chart.c (ms_excel_read_chart) : handle NULL sogs.  That currently
6150           indicates an attempt to read a chart in its own notebook tab.
6152 2003-06-07  Jody Goldberg <jody@gnome.org>
6154         * Release 1.1.19
6156 2003-06-07  Jody Goldberg <jody@gnome.org>
6158         * Release 1.1.18
6160 2003-05-30  Jody Goldberg <jody@gnome.org>
6162         * ms-chart.c (excel_chart_series_delete) : unref the data if nothing
6163           has used it.
6164         (BC_R(end)) : if we use the series clear the pointer.
6166 2003-05-25  Jody Goldberg <jody@gnome.org>
6168         * ms-chart.c : remove xml, jump to goffice and disable anything that
6169           does not obviously connect to GOG for now.  All we get are plot
6170           types and series for now, no formating.
6172 2003-05-21  Jody Goldberg <jody@gnome.org>
6174         * ms-chart.c (BC_R(gelframe)) : enable debugging when dumping
6175           gelframes.
6177         * ms-escher.c (ms_escher_parse) : accept gelframes.
6178         (ms_escher_read_OPT) : the length _includes_ the header, don't try to
6179           read that too.
6180         (ms_escher_read_Blip) : ditto.
6181           weaken size restriction for uncompression.
6182           test-xls/billeterie2000-6.xls has a blip that is larger than its
6183           compressed content, dunno why.
6185 2003-05-20  Morten Welinder  <terra@gnome.org>
6187         * ms-excel-read.c: Adapt to StyleColor changes.
6188         * ms-excel-write.c: Adapt to StyleColor changes.
6190 2003-05-19  Jody Goldberg <jody@gnome.org>
6192         * ms-excel-read.c (excel_read_CF) : tone down the amoutn of debug spew.
6194         * ms-excel-read.c (excel_read_XCT) : work around more undocumented xls crack.
6195           What the #$!@#&%!@ do negative counts mean.
6197 2003-05-12  Jody Goldberg <jody@gnome.org>
6199         * ms-excel-write.c (excel_write_FORMULA) : set the alwaysCalc flag for
6200           cells with dynamic depends.
6202 2003-05-11  Jody Goldberg <jody@gnome.org>
6204         * Release 1.1.17
6206 2003-04-28  Morten Welinder  <terra@gnome.org>
6208         * ms-excel-read.c (biff_string_get_flags): Fix 0/FALSE confusion.
6209         (biff_xf_data_destroy): Ditto.
6211 2003-04-21  Jody Goldberg <jody@gnome.org>
6213         * ms-excel-write.c (excel_write_MERGECELLS) : handle too many merges
6214           for a single biff record.
6215         * ms-biff.c (ms_biff_max_record_len) : new.
6217 2003-04-09  Morten Welinder  <terra@gnome.org>
6219         * boot.c (excel_file_probe): Guard against gsf read error.
6220         (excel_file_open): Ditto.
6221         (excel_file_open):
6223 2003-03-26  Jody Goldberg <jody@gnome.org>
6225         * ms-excel-read.c (excel_read_tab_color) : no need to operate on the
6226           pixel directly.  Use the rgb in the StyleColor.
6227         (excel_read_WINDOW2) : ditto.
6229 2003-03-18  Jody Goldberg <jody@gnome.org>
6231         * boot.c : suppress warning
6233 2003-03-18  Jody Goldberg <jody@gnome.org>
6235         * ms-excel-read.c (excel_read_EXTERNSHEET_v7) : work around a bug in
6236           1.0.x export that quoted names in EXTERNSHEET.
6237         (excel_read_workbook) : recognize 1.0.x files.
6238         (excel_workbook_new) : init the new flag.
6240 2003-03-07  Morten Welinder  <terra@diku.dk>
6242         * ms-chart.c (register_handlers): Use G_N_ELEMENTS.
6244         * ms-obj.c (ms_read_OBJ): Ditto.
6246         * ms-excel-write.c (excel_write_builtin_name): Ditto.
6247         (excel_write_FORMATs): Ditto.
6248         (map_pattern_index_to_excel): Ditto.
6250         * ms-excel-read.c (excel_map_pattern_index_from_excel): Ditto.
6252 2003-03-05  Jody Goldberg <jody@gnome.org>
6254         * ms-biff.c (ms_biff_query_next) : more Morten warnings.
6255         (ms_biff_query_peek_next) : ditto.
6257         * ms-obj.c (ms_obj_read_biff8_obj) : TRUE on error in precondition
6259 2003-02-05  Jody Goldberg <jody@gnome.org>
6261         * ms-excel-write.c (excel_write_FORMAT) : biff8 formats have 2 byte
6262           lengths, biff7 has 1 byte.
6264         * ms-excel-read.c (excel_read_FORMULA) : Add a quick size check.
6266 2003-02-04  Jody Goldberg <jody@gnome.org>
6268         * boot.c (excel_file_probe) : actually return the flag, and support
6269           non-ole formats.
6271 2003-01-28  Jody Goldberg <jody@gnome.org>
6273         * Release 1.1.16
6275 2003-01-25  Jody Goldberg <jody@gnome.org>
6277         * excel-xml-read.c (xl_xml_wb) : quick framework to parse xml from
6278           Office XP.  Just a descriptor for now no real work.
6280 2003-01-21  Jody Goldberg <jody@gnome.org>
6282         * ms-excel-write.c (excel_foreach_name) : doh!
6284 2003-01-08  Jody Goldberg <jody@gnome.org>
6286         * ms-excel-write.c (excel_sheet_new) : fix the text of the warning
6287           messages.
6288         (excel_foreach_name) : loop over the gnumeric data structures rather
6289           than the ExcelState wrappers so that we can do things before the
6290           ExcelSheets are created.
6292         * ms-biff.c (MAX_BIFF7_RECORD_SIZE) : increase this a smidge to match
6293           the actual limit and allow export to handle all 16k rows in xl95.
6295 2003-01-06  Jody Goldberg <jody@gnome.org>
6297         * ms-excel-write.c (excel_write_state_new) : bp is not valid yet
6298           take biff7 and biff8 flags directly.
6300 2003-01-02  Jody Goldberg <jody@gnome.org>
6302         * ms-excel-read.c (excel_read_1904) : Enable 1904 support.
6303         * ms-excel-write.c (write_workbook) : Set 1904 flag as necessary.
6305 2002-12-31  Jody Goldberg <jody@gnome.org>
6307         * Release 1.1.15
6309 2002-12-30  Jody Goldberg <jody@gnome.org>
6311         * ms-excel-write.c (excel_write_WRITEACCESS) : patch small leak, and
6312           add a sanity failsafe.
6314 2002-12-29  Jody Goldberg <jody@gnome.org>
6316         * ms-biff.c (ms_biff_put_new) : Use the canonical name that is
6317           available in glibc, and libiconv.
6319 2002-12-30  Jon K Hellan  <hellan@acm.org>
6321         * ms-excel-read.c (excel_read_workbook): Pass filename to
6322         cmd_context_get_password.
6324 2002-12-30  Morten Welinder  <terra@diku.dk>
6326         * ms-excel-read.c (excel_formula_shared): Return NULL on failure,
6327         not FALSE.
6329 2002-12-25  Jody Goldberg <jody@gnome.org>
6331         * ms-excel-write.c (excel_write_state_new) : register sheets with
6332           filters.  check validation exppressions for sheets.
6333         (excel_write_prep_validations) : new.
6334         (excel_sheet_new) : init validation lists here if necessary.
6335         (excel_write_DVAL) : not here.
6337 2002-12-24  Jody Goldberg <jody@gnome.org>
6339         * ms-excel-read.c (excel_read_NAME) : arrrggghh MS kills me.
6341         * ms-formula-read.c (excel_parse_formula) : disabled a bit too much
6342           debug info and broke the code.
6344 2002-12-24  Jody Goldberg <jody@gnome.org>
6346         * ms-excel-read.c (ms_sheet_create_obj) : cut-n-paste-o in line creation
6347           support font color for text boxes.
6348           (excel_palette_get) : just call colour 64 black if it gets this far.
6349             It only happens for shet objects and we need to do more research
6350             on how to handle these.
6351         (excel_read_DV) : fix double free
6353         * ms-obj.c (ms_obj_read_pre_biff8_obj) : be more picky about what we
6354           call an arrow head.  Fix the directions for lines.  Find the
6355           undocumented flag to fix named objects.
6357 2002-12-22  Jody Goldberg <jody@gnome.org>
6359         * Release 1.1.14
6361 2002-12-22  Jody Goldberg <jody@gnome.org>
6363         * Release 1.1.13
6365 2002-12-21  Jody Goldberg <jody@gnome.org>
6367         * ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : new.
6368         * ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the biff8
6369           combos.  Thats it we're done.
6371 2002-12-20  Jody Goldberg <jody@gnome.org>
6373         * ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the fields
6374           to handle the last 1/4 of the puzzle.  The only thing missing now is
6375           exporting the combos for biff8.
6376         (excel_write_DOPER) : new.
6378 2002-12-18  Jody Goldberg <jody@gnome.org>
6380         * ms-excel-write.c (excel_write_AUTOFILTERINFO) : new.
6381         (write_sheet_head) : use it here to export the 1st 1/4 of autofilters.
6382         (excel_write_NAME) : support hidden names.
6383         (excel_write_autofilter_names) : create pretend names for the 1st
6384          filter in each sheet.
6385         (write_workbook) : use excel_write_autofilter_names to generate the
6386           next 1/4 of autofilters.
6387         (excel_write_autofilter_objs) : generate simple biff7 style objects
6388           for the filter combos.
6389         (excel_write_sheet) : Use excel_write_autofilter_objs for the next 1/4.
6391 2002-12-17  Jody Goldberg <jody@gnome.org>
6393         * ms-formula-write.c (excel_write_prep_expr) : make it public.
6394         (excel_write_prep_expressions) : just do the initialization not the
6395           dep walking.
6396         (excel_formula_write_NAME_v8) : new.
6397         (write_node) : handle names for biff8.
6399         * ms-excel-write.c (excel_write_BOF) : no need to clone XL2k bug that
6400           erroneously calls XL95 XL97.
6401         (excel_write_externsheets_v7) : we also export the selfref magic.
6402         (excel_write_NAME) : renamed from excel_write_NAME_v7 and extended to
6403           support biff8.
6404         (write_workbook) : export names for BIFF8 too.
6405         (cb_check_names) : new.
6406         (excel_write_state_new) : prep the expressions in names too.
6408 2002-12-16  Morten Welinder  <terra@diku.dk>
6410         * ms-excel-write.c (excel_write_map_errcode): Base on
6411         value_error_classify.
6413 2002-12-16  Morten Welinder  <terra@diku.dk>
6415         * ms-excel-read.c (biff_get_error): Rename from
6416         biff_get_error_text and return a full error instead.  Add evalpos
6417         argument.  All callers changed.
6419 2002-12-15  Jody Goldberg <jody@gnome.org>
6421         * ms-container.c (ms_container_finalize) : cull out unused
6422           placeholders.
6424 2002-12-13  Jody Goldberg <jody@gnome.org>
6426         * ms-formula-read.c : Tack on a 'shared' flag in alot of places to
6427         control the use of _REF/_AREA vs _REFN/_AREAN
6429         * ms-excel-write.c (excel_write_BOF) : bump generated BOF to look like
6430           MS excel 2k.
6431         (vip_hash) : new.
6432         (vip_equal) : new.
6433         (excel_write_DV) : new.
6434         (excel_write_DVAL) : new.
6435         (excel_write_NAME_v7) : export names using shared formula conventions.
6436         (excel_write_sheet) : export validation.
6437         (write_workbook) :  add a XL9FILE flag.
6439         * ms-excel-read.c (excel_read_DV) : several small tweaks
6440           1) string lengths are 2 bytes
6441           2) Use the option flags to enable/disable input msg and validation
6442           3) Parse expressions relative to the top left of the first range
6443           4) Parse as shared expressions
6445 2002-12-13  Jon K Hellan  <hellan@acm.org>
6447         * ms-excel-read.c (excel_read_HLINK): Fix typo.
6449 2002-12-08  Jody Goldberg <jody@gnome.org>
6451         * ms-excel-read.c (excel_prepare_autofilter) : don't fully register
6452           the magic filter name.
6454 2002-12-06  Jody Goldberg <jody@gnome.org>
6456         * ms-excel-read.c (excel_read_AUTOFILTER) : don't forget the unicode
6457           header for biff8.
6459 2002-12-03  Morten Welinder  <terra@diku.dk>
6461         * ms-excel-read.c (excel_print_unit_init_inch): Convert to
6462         GnomePrintUnit.
6463         (excel_init_margins): Ditto.
6464         (excel_read_SETUP): Ditto.
6465         * ms-excel-write.c (excel_write_margin): Ditto.
6466         (excel_write_SETUP): Ditto.
6468 2002-11-30  Jody Goldberg <jody@gnome.org>
6470         * ms-excel-read.c (excel_read_AUTOFILTER) : finish.
6471         (read_DOPER) : finish.
6473 2002-11-29  Jody Goldberg <jody@gnome.org>
6475         * ms-excel-write.c (excel_write_WINDOW1) : make view const
6476         (excel_write_state_new) : ditto.
6478         * ms-excel-read.c (excel_prepare_autofilter) : new.
6479         (excel_read_NAME) : handle autofilters.
6481         * ms-escher.c (ms_escher_read_ClientTextbox) : store the text.
6483         * plugins/excel/boot.c (excel_save) : make the view const not the
6484           output.
6485         (excel_dsf_file_save) : ditto.
6486         (excel_biff8_file_save) : ditto.
6487         (excel_biff7_file_save) : ditto.
6489 2002-11-26  Jody Goldberg <jody@gnome.org>
6491         * ms-excel-read.c (ms_sheet_create_obj) : use the new label setting
6492           utilities.
6494 2002-11-28  Jon K Hellan  <hellan@acm.org>
6496         * boot.c (excel_save, excel_dsf_file_save, excel_biff8_file_save)
6497         (excel_biff7_file_save): Receive gsf output stream from higher
6498         layer rather than creating and closing it here.
6500 2002-11-25  Jody Goldberg <jody@gnome.org>
6502         * ms-excel-read.c (excel_set_xf) : remove bogus optimization.
6503         (excel_set_xf_segment) : ditto.  We can not assume that the default is
6504           the current format.  See 'Tax2001-23.xls'
6506 2002-11-24  Jody Goldberg <jody@gnome.org>
6508         * ms-formula-read.c (excel_formula_parses_ref_sheets) : fix typo.
6509           check the source not the destination.
6511 2002-11-24  Jody Goldberg <jody@gnome.org>
6513         * ms-obj.c (ms_obj_read_pre_biff8_obj) : add some fun.
6515 2002-11-20  Jody Goldberg <jody@gnome.org>
6517         * ms-formula-write.c (excel_formula_write_NAME_v7) : support qualified
6518           names.
6520         * ms-excel-read.c (excel_read_EXTERNSHEET_v7) : fix handling of the
6521           sheet local names.
6523         * boot.c (excel_file_open) : Try the output even more and assign the
6524           savers as level AUTO.
6525         * plugin.xml.in : ditto.
6527 2002-11-17  Jody Goldberg <jody@gnome.org>
6529         * biff-types.h : s/SXVX/SXVS/ ancient typo
6531 2002-11-15  Jody Goldberg <jody@gnome.org>
6533         * Release 1.1.12
6535 2002-11-15  Jody Goldberg <jody@gnome.org>
6537         * ms-formula-write.c : tidy up sheet hanlding in references.
6539         * ms-excel-write.c (excel_write_NAME_v7) : new.
6540         (excel_foreach_name) : ditto.
6541         (write_workbook) : produce names for biff7 including sheet local and
6542           placeholders.
6544 2002-11-14  Jon K Hellan  <hellan@acm.org>
6546         * plugin.xml.in: Remove "open" and "import" attributes.
6548 2002-11-13  Jody Goldberg <jody@gnome.org>
6550         * ms-excel-write.c (excel_write_comments_biff7) : fix. #$^! libxml had
6551           poluted the global name space with function 'comment' which I
6552           accidentally used as a variable name without defining it.
6554 2002-11-13  Jody Goldberg <jody@gnome.org>
6556         * ms-excel-write.c (excel_sheet_write_block) : speedup empty rows.
6557           And use the undocumented optimized form for the DBCELL (#rows == 0)
6558           when dealing with sparse regions.
6559         (excel_write_ROWINFO) : ignore empty rows.
6561 2002-11-13  Jody Goldberg <jody@gnome.org>
6563         * ms-formula-read.c (excel_parse_formula) : fix typo that broke 3d
6564           references.
6566         * ms-formula-write.c (sheet_pair_add_if_unknown) : new.
6567         (excel_write_prep_expr) : use it for refs and regions.
6569         * ms-excel-write.c (excel_write_state_free) : release the function and
6570           sheet pair tables.
6571         (excel_write_SCL) : new. Clean up and support zoom > 100
6572         (cb_write_sheet_pairs) : new.
6573         (excel_write_externsheets_v8) : generate sheet pairs for the
6574           externsheet.  Still no support for external links.
6575         (excel_write_get_externsheet_idx) : implement.
6577 2002-11-12  Jody Goldberg <jody@gnome.org>
6579         * ms-excel-write.c : Don't use StyleFont.  In the case where a font
6580           does not exist on the display system it does the wrong thing.
6581           MStyle can contain an invalid font.  StyleFont gets remapped to the
6582           default.
6584 2002-11-12  Jody Goldberg <jody@gnome.org>
6586         * ms-excel-write.c (palette_get_index) : add a warning if we are going
6587           to lose a colour.
6588         (gather_palette) : improve debug.
6590         * ms-excel-util.c (two_way_table_move) : rename from
6591           two_way_table_replace and fix.
6593 2002-11-11  Jody Goldberg <jody@gnome.org>
6595         * ms-formula-write.c (write_cellref_v7) : fix signature.
6596         (write_cellref_v8) : ditto.
6597         (write_ref) : fix biff8 case.
6599         * ms-excel-write.c (gather_styles) : we already gathered the most
6600           common styles earlier.
6601         (excel_sheet_new) : most common style in a column does not extend the
6602           column.
6604         * ms-biff.c (ms_biff_put_len_next) : handle correct max biff record
6605           sizes for biff7 vs biff8.  Looks like they teaked things so that the
6606           dbcell records will always fit in 1 biff record.
6607         (ms_biff_put_len_commit) : ditto.
6609 2002-11-10  Jody Goldberg <jody@gnome.org>
6611         * ms-biff.c (ms_biff_put_new) : take a codepage as an argument.
6612         * ms-excel-write.c (excel_write_v7) : pass in the code page we stored
6613           on import.
6614         (excel_write_v8) : ignore the codepage. biff8 uses unicode.
6616         * ms-excel-read.c (excel_read_workbook) : store the codepage we
6617           imported with.
6619 2002-11-10  Jody Goldberg <jody@gnome.org>
6621         * ms-formula-write.c (write_arrays) : rewrite.
6623 2002-11-10  Jody Goldberg <jody@gnome.org>
6625         * ms-formula-write.c (write_string) : Use excel_write_string.
6626         (write_arrays) : Use it here, but this code is suspect.
6628         * ms-excel-write.c (excel_write_string_len) : new routine to find char
6629           and byte lengths of strings.
6630         (current_workbook_iconv) : delete.
6631         (biff_convert_text) : delete.
6632         (biff_put_text) : delete.
6633         (excel_write_string) : new replacement for biff_put_text that does the
6634           conversion and writting inline rather than from a buffer, has
6635           smarter unicode handling and a more useful set of flags.
6636         (excel_write_externsheets_v7) : Use it here.
6637         (excel_write_externsheets_v8) : Use it here.
6638         (excel_write_NAME_v7) : Use it here.
6639         (excel_write_BOUNDSHEET) : Use it here.
6640         (excel_write_FONT) : Use it here.
6641         (excel_write_FORMAT) : Use it here.
6642         (excel_write_value) : Use it here.
6643         (excel_write_FORMULA) : Use it here.
6644         (excel_write_comments_biff7) : Use it here.
6645         (excel_write_SST) : Handle the unicode caes.
6646         (excel_write_WRITEACCESS) : new to handle biff7 vs biff8
6647         (excel_utf8_has_multibyte) : delete.
6648         (write_workbook) : Use excel_write_WRITEACCESS and clean up the
6649           codepage handling to conform to
6650           biff7 == single byte vs biff8 == unicode.
6652         * ms-excel-biff.h (EX_SETSTRLEN) : delete.
6654         * ms-biff.c (ms_biff_put_new) : Add a buffer and iconv handler to
6655           simplify string handling.  excel95 gets locale specific handler.
6656           excel97 and up goes to utf16-le.
6657         (ms_biff_put_destroy) : cleanup.
6659 2002-11-07  Jody Goldberg <jody@gnome.org>
6661         * ms-excel-write.c (excel_write_state_new) : merge biff7 and biff8
6662           versions.
6663         (excel_write_externsheets_v8) : basic initial implementation handles
6664           externnames.
6666         * ms-excel-read.c (excel_read_workbook) : add a flag to indicate dual
6667           stream file.
6669         * boot.c (excel_file_open) : set the saver reasonably intellifently.
6670         (excel_save) : support dual stream files.
6671         (excel_dsf_file_save) : new.
6672         * plugin.xml.in : enable dual stream files
6674 2002-11-05  Jody Goldberg <jody@gnome.org>
6676         * plugin.xml.in : enable excel97
6678         * ms-excel-write.c (excel_write_value) : use BIFF8 SST records.
6679         (excel_write_state_free) : clean up SST here.
6680         (excel_write_state_new) : shared routine for biff7 and biff8.
6681         (excel_utf8_has_multibyte) : quicky utility.
6682         (excel_write_SST) : initial basic implementation still needs unicode
6683           support.
6684         (excel_write_BOF) : renamed from biff_bof_write and sync versions with
6685           XL 2k.
6687 2002-11-04  Jody Goldberg <jody@gnome.org>
6689         * boot.c (excel_save) : prep for biff8 save, and double stream files.
6691         * ms-excel-read.c (excel_read_XF) : fix rotation.
6692         (excel_read_SST) : improve debug info.
6694         * ms-excel-write.c (write_xf_record) : write the BIFF8 support.
6695         (rotation_to_excel) : new.
6697 2002-11-04  J.H.M. Dassen (Ray) <jdassen@debian.org>
6699         * ms-biff.c, ms-escher.c, ms-excel-read.c, ms-excel-write.c,
6700           ms-formula-write.c, ms-obj.c: Included headers for some standard
6701           library functions.
6703 2002-11-04  Nick Lamb <njl98r@ecs.soton.ac.uk>
6705         * biff-types.h: Add BIFF_INTEGER
6706         * ms-excel-read.c: More non-OLE Excel file support.
6708 2002-11-02  J.H.M. Dassen (Ray) <jdassen@debian.org>
6710         * ms-obj.h: Added declaration of ms_obj_new .
6712 2002-11-01  Jody Goldberg <jody@gnome.org>
6714         * Release 1.1.11
6716 2002-10-31  Jody Goldberg <jody@gnome.org>
6718         * ms-formula-read.c (excel_parse_formula) : adjust the name and
6719           externname handling.
6721         * ms-excel-read.c (excel_workbook_new) : make supbook an array rather
6722           than a ptr array.
6723         (excel_workbook_destroy) : cleanup the new data structures.
6724         (excel_read_EXTERNNAME) : revamp handling for biff8 to store in a
6725           distinct structure from the NAMEs, and associate that with the
6726           SUPBOOK even though the docs claim otherwise.  I suspect the docs
6727           were written for Biff7 and not updated.  This is the only thing that
6728           makes sense based on the record ordering.
6729         (excel_read_NAME) : merge in the ms_container_add_name code.
6730         (excel_externsheet_v8) : simplify the interface and return the structure
6731         (supbook_get_sheet) : adjust to the new data structures.
6732         (excel_read_SUPBOOK) : be more expressive.  We're ready to handle
6733           externals now.  Just need to write a parser for the links.
6735         * ms-container.c (ms_container_get_name) : No sense having it here.
6736           The code is specific to the PTG handler.  move it there.
6737         (ms_container_add_name) : also more specific to the NAME and
6738           EXTERNNAME handlers.  Move it there.
6740 2002-10-30  Jody Goldberg <jody@gnome.org>
6742         * ms-excel-read.c (excel_read_NAME) : handle unicode names.
6744 2002-10-28  Morten Welinder  <terra@diku.dk>
6746         * ms-escher.c (ms_escher_read_ClientTextbox): Don't leak text even
6747         though we haven't implemented the feature.  (I'm tired of hunting
6748         this leak down.)
6750 2002-10-28  Jody Goldberg <jody@gnome.org>
6752         * ms-excel-write.c (excel_write_WINDOW2) : go back to selecting the
6753           current sheet.
6754         (excel_write_WINDOW1) : store the currently selected sheet here too.
6756         * ms-excel-read.c (excel_read_EXTERNSHEET_v7) : kludge around screw up
6757           in opencalc exporter.
6759 2002-10-27  Nick Lamb <njl98r@ecs.soton.ac.uk>
6761         * ms-excel-read.c: Factor out some code into new functions, more
6762           support for non-OLE Excel files, especially formulae.
6764 2002-10-27  Jody Goldberg <jody@gnome.org>
6766         * Release 1.1.10
6768 2002-10-26  Jody Goldberg <jody@gnome.org>
6770         * ms-excel-write.c : Start rationalizing things.
6771         * ms-formula-write.c : ditto.  Lots of adjustments.
6772         - start handling biff7 externsheets correctly
6773         - fix handling of non builtin functions
6775         * ms-excel-read.c (excel_add_name) : delete.
6776         (excel_workbook_get_name) : ditto.
6778         * ms-formula-read.c : Hopefully the last major tweak to names and
6779           externsheets for biff7.  This now loads all test cases smoothly.
6780           It seems that biff7 stores per bof sets of externsheets.
6782         * ms-container.c (ms_container_init) : Add a version and a workbook
6783           pointer.  Init the new biff7 extern handling data structures.
6784         (ms_container_finalize) : and release them here.
6785         (ms_container_get_name) : new to handle biff7 or biff8 magic.
6786         (ms_container_add_name) : ditto.
6788         * ms-chart.c (BC_R(ai)) : parse the expression as ourselves, not the
6789           container.
6790         (chart_parse_expr) : implement.
6791         (ms_excel_chart) : handle EXTERNSHEET and EXTERNCOUNT for biff7 style
6792           storage with per BOF EXTERN*.
6794         * ms-biff.c (ms_biff_put_destroy) : take responsibility for the output
6795           stream.
6797         * boot.c (excel_save) : check that we can open the output file before
6798           we bother collecting things for export.
6800 2002-10-25  Jody Goldberg <jody@gnome.org>
6802         * ms-excel-read.c (excel_read_XF) : init shrink to fit in the non
6803           biff8 case.
6805 2002-10-24  Jody Goldberg <jody@gnome.org>
6807         * ms-excel-read.c (excel_parse_name) : patch leak.
6809 2002-10-25  Morten Welinder  <terra@diku.dk>
6811         * ms-biff.c (skip_bytes): Make scratch buffer static to ensure
6812         it's initialised.  Add assert, just in case.
6814 2002-10-24  Morten Welinder  <terra@diku.dk>
6816         * ms-excel-read.c (excel_read_XCT): Fix typo, I think.
6818 2002-10-21  Jody Goldberg <jody@gnome.org>
6820         * ms-formula-read.c (excel_parse_formula) : Ok. take a 2nd crack at
6821           the externsheet handling in area3d and ref3d for biff7.  It seems
6822           like XL2k generates different indicies when exporting as XL95 than
6823           XL95 did.  So have a fall back.  If the theory that
6824             a+1 == -ixals, a, b are 0 based
6825           fails.  Go back to
6826             a   == ixals, and a, b are 1 based
6828 2002-10-21  Jody Goldberg <jody@gnome.org>
6830         * ms-formula-read.c (ms_excel_parse_formula) : improve readability of
6831           debug spew and send thing to stderr.
6832         Fix handling of extern names and refrences.  This time I think we've
6833         finally got it.
6835 2002-10-21  Jody Goldberg <jody@gnome.org>
6837         * ms-excel-read.c : tidy up naming conventions
6838             excel_read_<BIFFTAG>
6839           - Use fprintf to keep g_warning and printfs in sync
6840           - Use esheet for ExcelSheets and ewb for ExcelWorkbooks
6841           - Use Sheet and wb for the gnumeric variants
6842         (ms_excel_sheet_new) : check to see if the sheet already exists
6843           in case it was implicitly created in a SUPBOOK or EXTERNSHEET.
6844           This will be useful when we start restoring external links shortly.
6845         (ms_excel_workbook_attach) : delete.
6846         (ms_excel_workbook_detach) : delete.
6847         (ms_excel_sheet_destroy) : clear out the sheet local extensheet
6848           records for biff5.
6849         (excel_read_BOUNDSHEET) : use ms_excel_sheet_new.
6850         (excel_externsheet_v8) : rewrite to handle self ref.  Only partially
6851           done.
6852         (supbook_get_sheet) : ditto.
6853         (excel_read_EXTERNSHEET_v8) : ditto.
6854         (excel_externsheet_v7) : fix to use local externsheets.
6855         (excel_read_EXTERNSHEET_v7) : rewrite and prep for external
6856           references.
6857         (excel_workbook_get_name) : work around 'self ref' records for biff8.
6858         (excel_parse_name) : work on scoping.  works for biff7 not biff8.
6859         (ms_excel_handle_delayed_NAMEs) : delete.  the externsheet records are
6860           enough.
6861         (excel_read_EXTERNNAME) : builtin names are just short forms for
6862           names, they have special meanings to XL but no special behavior.
6863         (excel_read_NAME) : ditto.  Use the new externsheet setup and drop all
6864           of the delayed parsing goo.
6865         (excel_read_XCT) : new.  prep for external references.
6866         (excel_read_CALCMODE) : new.  now that we support manual recalc.
6868 2002-10-17  Jody Goldberg <jody@gnome.org>
6870         * ms-excel-read.c (ms_excel_parse_NAME) : It looks like some
6871           builtinnames are just names, no definitions. eg 'Database'
6872           It also looks like these sheet_indexes apply to externsheet records
6873           for <= biff7 (see pivot.xls) rather than boundsheets.
6875 2002-10-13  Jody Goldberg <jody@gnome.org>
6877         * ms-excel-read.c (ms_excel_read_pane) : the sizes are only valid if
6878           there is a freeze in that direction.
6880         * ms-excel-read.c (ms_excel_read_dv) : Fix handling of empty strings
6881           and improve validation.  NOTE : This is likely to come up again.
6882           We need to know when there is always a 1 byte header, and when there
6883           isn't in biff_get_text.
6885 2002-10-09  Morten Welinder  <welinder@rentec.com>
6887         * ms-obj.h (struct _MSObj): Avoid "gboolean ... : 1".
6888         * ms-excel-read.h (struct _ExcelSheet): Avoid "gboolean ... : 1".
6890 2002-10-10  Nick Lamb <njl98r@ecs.soton.ac.uk>
6892         * plugin.xml.in: Excel 4.x had .XLW workbooks as well as .XLS
6893         * boot.c: Try to load non-OLE files too
6895 2002-10-09  Morten Welinder  <terra@diku.dk>
6897         * ms-excel-read.c (ms_excel_workbook_destroy): Don't leak
6898         ->supbooks.
6900 2002-10-08  Jody Goldberg <jody@gnome.org>
6902         * ms-excel-write.c (write_names) : Fix leak by not inserting copies of
6903           of the name string.
6904           1) no need to copy
6905           2) no need to do a string compare
6907 2002-10-07  Jody Goldberg <jody@gnome.org>
6909         * ms-excel-read.c (ms_excel_read_workbook) : handle workbook protected
6910           files (thanks jpablo).
6912 2002-10-04  Jody Goldberg <jody@gnome.org>
6914         * ms-excel-read.c (ms_excel_parse_NAME) : ahhh, I understand now.
6915           names with expr_len == 0 represent the placeholders used for unknown
6916           names.
6918 2002-10-02  Jody Goldberg <jody@gnome.org>
6920         * ms-chart.c (BC_R) : handle empty text.
6922         * boot.c : simplify now that IOContext inherits from CommandContext
6923           Move the metadata export here for symetry with the import.
6925 2002-09-30  Jody Goldberg <jody@gnome.org>
6927         * plugin.xml.in : disable 97 until it is ready for widespread use
6929 2002-09-30  Jody Goldberg <jody@gnome.org>
6931         * Release 1.1.9
6933 2002-09-30  Jody Goldberg <jody@gnome.org>
6935         * boot.c (excel_file_open) : typo
6937 2002-09-27  Jody Goldberg <jody@gnome.org>
6939         * boot.c (excel_save) : restore macros.
6941         * boot.c (excel_file_open) : handle confused files that misname the
6942           streams.  Store macros if they exist.
6944 2002-09-26  Jody Goldberg <jody@gnome.org>
6946         * ms-formula-read.c (ms_excel_parse_formula) : fix handling of 26 & 27.
6947           The docs are confusing.  The cached data is appended not to the
6948           subexpression but to the entire string.  While we're here add a stub
6949           for tables.
6951 2002-09-26  Jody Goldberg <jody@gnome.org>
6953         * ms-formula-read.c (ms_excel_parse_formula) : supply handling of
6954           pgts 26 & 27.  We can ignore them but they frequently wrap the
6955           intersection operator, the export will be a pain in the butt.
6957 2002-09-25  Jody Goldberg <jody@gnome.org>
6959         * ms-formula-read.c (binary_ops) : enable intersection
6960           still needs work.
6961         * ms-formula-write.c (ms_formula_build_pre_data) : ditt.
6962         (write_node) : ditto.
6964 2002-09-15  Jody Goldberg <jody@gnome.org>
6966         * ms-formula-read.c (const) : DateDif takes 3 arguments.
6968 2002-09-10  Morten Welinder  <terra@diku.dk>
6970         * ms-escher.c: Make shade_ParamMask be within int's range by
6971         casting it.
6972         * ms-escher.c: Avoid trailing commas in enums.
6974 2002-09-05  Jody Goldberg <jody@gnome.org>
6976         * ms-formula-write.c (ms_formula_write_pre_data) : remove some obvious
6977           silliness
6979 2002-09-04  Jody Goldberg <jody@gnome.org>
6981         * *.c : remove ifdef WITH_BONOBOization of graphs
6983 2002-08-30  Jody Goldberg <jody@gnome.org>
6985         * boot.c (excel_read_metadata) : new.
6986         (excel_file_open) : read the doc and summary meta info streams.
6987           Don't do anything with the data yet, but start the ball rolling.
6989 2002-08-30  Morten Welinder  <terra@diku.dk>
6991         * ms-excel-read.c (ms_excel_read_formula): Avoid copying of
6992         string.
6993         (ms_excel_parse_formula): Ditto.
6995 2002-08-29  Morten Welinder  <terra@diku.dk>
6997         * ms-excel-util.c (two_way_table_new): Take an extra arg for
6998         getting rid of keys.  All callers changed.
7000         * ms-excel-write.c (formats_init): Supply an unreffer to
7001         two_way_table_new.
7003 2002-08-29  Morten Welinder  <terra@diku.dk>
7005         * ms-excel-write.c (free_workbook): Plug leaks.
7007 2002-08-28  Jody Goldberg <jody@gnome.org>
7009         * ms-excel-read.c (ms_excel_read_workbook) :
7010           excel_iconv_open_for_import moved to libgsf.
7012 2002-08-28  Jody Goldberg <jody@gnome.org>
7014         * ms-excel-read.c (ms_excel_read_workbook) : gnm_iconv_close moved to
7015           libgsf.
7016         * ms-excel-write.c (write_workbook) : ditto.
7017         * ms-summary.c (ms_summary_read) : ditto.
7018         (ms_summary_write) : ditto.
7020 2002-08-25  Jody Goldberg <jody@gnome.org>
7022         * Release 1.1.8
7024 2002-08-25  Jody Goldberg <jody@gnome.org>
7026         * ms-excel-write.c (excel_write_externsheets) : store the unquoted
7027           name.
7028         (excel_write_SELECTION) : swap args to be consistent.
7029           Store current pane == 3 rather than 0 to silence the warning when
7030           loading our sheets in MS Excel.
7031         (ms_excel_write_workbook) : add some dummy metadata streams.
7033 2002-08-21  Jody Goldberg <jody@gnome.org>
7035         * ms-obj.c (ms_obj_new) : add a convenience routine to be safe.
7036         (ms_read_OBJ) : Use it here.
7038 2002-08-19  Jon K Hellan  <hellan@acm.org>
7040         * ms-biff.c (ms_biff_query_peek_next, ms_biff_put_var_seekto,
7041         ms_biff_put_var_commit, ms_biff_put_len_commit): Use glib's seek
7042         enum instead of the enum which used to be in libgsf.
7044         * ms-excel-write.c (biff_boundsheet_write_last, write_index): Ditto.
7046 2002-08-18  Jody Goldberg <jody@gnome.org>
7048         * ms-excel-util.c (excel_iconv_open_for_import) : fix unicode codepage
7049           to be actual unicode with the high bit lopped off, which I hope is
7050           synonymous with 8859-1.  This still needs to be translated into
7051           UTF-8.
7053 2002-08-17  Jon K Hellan  <hellan@acm.org>
7055         * ms-chart.c (BC_R): Fix typos.
7057 2002-08-17  Jody Goldberg <jody@gnome.org>
7059         * ms-excel-util.c (get_locale_charset_name) : delete.
7060         (excel_iconv_open_for_import) : realize that 1200 and 1201 are both
7061           unicode and that we only want to convert to UTF-8.
7062         (excel_wcstombs) : die die die.  We may need this again one day when
7063           exporting UTF-8 back to xl 95.  But we'll cross that bridge when we
7064           come to it.
7066         * ms-excel-read.c (get_chars) : internally text should always be UTF-8.
7067         (ms_excel_read_workbook) : fix the warning.
7068           I've found some references for the code pages.
7070 2002-08-16  Jon K Hellan  <hellan@acm.org>
7072         * ms-excel-read.c (ms_excel_read_SUPBOOK): Shut up warning.
7074 2002-08-15  Jon K Hellan  <hellan@acm.org>
7076         * ms-excel-write.c (biff_boundsheet_write_last, write_index):
7077         Change type of oldpos variable to gsf_off_t.
7079 2002-08-13  Jody Goldberg <jody@gnome.org>
7081         * ms-obj.c (ms_obj_read_pre_biff8_obj) : support colours for polygons.
7083         * ms-excel-read.c (ms_sheet_create_obj) : Add support for polygon
7084           colours.
7085         (ms_sheet_obj_anchor_to_pos) : hmm, our supposition that >= 97 ==
7086           1/256 and < 97 == 1024 seems wrong in the face of chap03-1.
7088 2002-08-12  Jody Goldberg <jody@gnome.org>
7090         * Release 1.1.7
7092 2002-08-12  Jody Goldberg <jody@gnome.org>
7094         * ms-obj.c (ms_object_attr_new_array) : new.
7095         (ms_object_attr_get_expr) : ditto.
7096         (ms_object_attr_destroy) : support arrays.
7097         (ms_obj_read_pre_biff8_obj) : Parse the coord list for polygons.
7099         * ms-excel-read.c (ms_excel_read_SUPBOOK) : do a touch more.
7100         Still need to write the encoded path parser.
7102         * ms-excel-read.c (ms_excel_read_cf) : don't leak.
7104 2002-08-11  Jody Goldberg <jody@gnome.org>
7106         * ms-formula-read.c (ms_excel_parse_formula) : add bounds testing to
7107           reading const strings.  It will save us from corrupt data, and
7108           rescue us from the misexported xls in 1.0.6,1.0.7
7110         * ms-excel-read.c (biff_xf_data_new) : read shrink to fit.
7111         (ms_excel_parse_NAME) : Ignore 0 length expressions.
7113         * ms-formula-read.c (expr_tree_error) : new.
7114         (parse_list_pop) : use it more loudly here.
7115         (ms_excel_parse_formula) : and here.
7117 2002-08-09  Jody Goldberg <jody@gnome.org>
7119         * ms-excel-read.c (ms_excel_read_workbook) : silence the warnings
7120           caused by reading the padding at the end of files.
7122 2002-08-08  Jody Goldberg <jody@gnome.org>
7124         * ms-formula-read.c (ms_excel_parse_formula) : improve handling of
7125           arrays.
7127         * ms-excel-read.c (biff_boundsheet_data_new) : improve debug spew.
7128         (sst_read_string) : no need to pass version an sst is biff8 specific.
7129         (ms_excel_read_SST) : ditto.
7130         (ms_excel_read_EXSST) : new convience routine.
7131         (biff_boundsheet_data_new) : move boundsheet_data_by_index into a ptr
7132           array, and store the gnumeric sheets directly.
7133         (ms_excel_workbook_new) : use g_hash_table_new_full to make cleanup
7134           easier.
7135         (ms_excel_workbook_destroy) : simplify.
7136         (ms_excel_read_SETUP) : support the 'print comments' flag
7137         (ms_excel_read_MULRK) : split into its own function.
7138         (ms_excel_read_MULBLANK) : ditto.
7139         (ms_excel_read_SCL) : ditto
7140         (ms_excel_read_sheet) : spew the sheet password in case we need to
7141           generate it.
7142         (ms_excel_SUPBOOK) : I finally understand the self reference magic.
7143           More work to do to support external links.
7144         (ms_excel_workbook_get_externsheet_v8) : improve the warnings on error.
7145         (ms_excel_externsheet_v8) : those sheet indicies are BOUNDSHEET
7146           references if the supbook is a self reference.  We cannot directly
7147           access the Gnumeric sheets because XL has hidden elements that skew
7148           the index.
7149         (ms_excel_workbook_get_externsheet_v7) : ditto.
7150         (ms_excel_externsheet_v7) : store the sheet directly.
7152         * ms-excel-write.c (write_magic_interface) : biff8 stores the code
7153           page in the interface header for some reason.
7154         (ms_excel_write_EOF) : rename from biff_write_eof.
7155         (excel_write_SETUP) : new.
7156         (write_wsbool) : remove duplicate code.
7157         (excel_write_COUNTRY) : new.
7158         (write_sheet_head) : tidy.
7159         (excel_write_sheet_tail) : SCL is not version specific.
7160         (sst_collect_str) : new.
7161         (ms_excel_write_SST) : prepare to write an SST (not finished)
7163 2002-08-07  Jody Goldberg <jody@gnome.org>
7165         * ms-excel-write.c (init_base_char_width_for_write) : delete.
7166         (style_get_char_width) : renamed from get_base_char_width as it is now
7167           just a wrapper around the
7168         (ms_excel_write_DEFCOLWIDTH) : renamed from write_default_col_width
7169           and use the right font in the width calculations.
7170         (ms_excel_write_COLINFO) : renamed from write_colinfo and use the
7171           right font in the width calculations.
7173 2002-08-06  Morten Welinder  <terra@diku.dk>
7175         * *.c: use gsf_le_get_double and gsf_le_set_double.
7177 2002-08-05  Jody Goldberg <jody@gnome.org>
7179         * ms-biff.c (ms_biff_put_var_write) : const.
7181         * ms-excel-write.c (write_magic_interface) : Use the symbolic names.
7182         (biff_put_text) : no need to write 8byte text 1 byte at a time.
7184 2002-08-06  Morten Welinder  <terra@diku.dk>
7186         * md5.h (UINT4): Portability fix.
7188         * rc4.h: Guard.
7189         * md5.h: Guard.
7190         * biff-types.h: Guard.
7191         * escher-types.h: Guard.
7192         * formula-types.h: Guard.
7194 2002-08-04  Jody Goldberg <jody@gnome.org>
7196         * ms-formula-read.c (ms_excel_parse_formula) : remove bogisity about
7197           'Magic Addin Name'
7199 2002-07-22  Zbigniew Chyla  <cyba@gnome.pl>
7201         * plugin.xml.in: Set loader type to "Gnumeric_Builtin:module".
7203 2002-08-01  Jody Goldberg <jody@gnome.org>
7205         * ms-excel-write.c (biff_put_text) : set the unicode flag on the
7206           string header for unicode strings.  This routine needs to be cleaned
7207           up to handle UTF-8 -> UTF-16 if necessary.
7208         (biff_boundsheet_write_first) : tidy and make the name len 1 byte.
7209         (gather_palette) : convert to new two way table convention.
7210         (gather_fonts) : ditto.
7211         (gather_formats) : ditto.
7212         (xf_free) : ditto.
7213         (after_put_mstyle) : ditto.
7214         (put_mstyle) : simplify.
7215         (xf_init) : delete.
7216         (cell_used_map_new) : delete.
7217         (cell_mark_used ) : delete.
7218         (cell_is_used) : delete.
7219         (excel_cell_get) : delete.
7220         (pre_cell) : delete.
7221         (pre_blank) : delete.
7222         (pre_blanks) : delete.
7223         (pre_colstyle) : delete.
7224         (gather_styles) : greatly simplify by using the knowledge that there
7225           is a per sheet hash of the styles in use.
7226         (cb_accum_styles) : new.
7227         (write_cell) : Use the gnumeric data structures directly.
7228         (write_block) : ditto.
7229         (ms_excel_write_wsbool) : new.
7230         (write_sheet_head) : use ms_excel_write_wsbool.
7231         (excel_sheet_new) : no more need for large cell map.
7232         (excel_sheet_free) : ditto.
7234         * ms-excel-util.c (two_way_table_new) : Allow for ptr tp ptr
7235           comparisons as an optimization.
7236         (two_way_table_free) : ditto.
7237         (two_way_table_put) : ditto.
7238         (two_way_table_replace) : ditto.
7239         (two_way_table_key_to_idx) : ditto.
7241         * boot.c (excel_save) : bah!  I forgot to commit this.  export is
7242           broken without it.
7244 2002-07-21  Jody Goldberg <jody@gnome.org>
7246         * Release 1.1.6
7248 2002-07-19  Jody Goldberg <jody@gnome.org>
7250         * ms-excel-read.c (ms_excel_read_hlink) : improve bounds checking.
7252 2002-07-19  Jody Goldberg <jody@gnome.org>
7254         * plugins/excel/ms-excel-read.c (ms_excel_read_hlink) : tidy up and
7255           support custom tool tips.
7257 2002-07-18  Jody Goldberg <jody@gnome.org>
7259         * ms-excel-read.c (ms_excel_read_imdata) : only read the amount of
7260           data in the imrecord.  not all continues add infinitum.  Fixes
7261           guia.xls.
7263         * ms-obj.c (ms_read_TXO) : don't expect continue records if there is
7264           no text.  Fixes guia2.xls.
7266 2002-07-16  Jody Goldberg <jody@gnome.org>
7268         * ms-excel-read.c (ms_excel_read_sheet) : reorder 0x1xx entries to be
7269           in increasing order and support hlinks.
7270         (ms_excel_read_hlink) : new.
7272 2002-07-14  Jody Goldberg <jody@gnome.org>
7274         * ms-obj.c (ms_obj_read_pre_biff8_obj) : move the
7275           initialization of the prop bag from here.
7276         (ms_read_OBJ) : to here.  Fixes the guia2 hash warnings.
7278 2002-07-09  Morten Welinder  <terra@diku.dk>
7280         * boot.c (excel_file_open): Don't leak the stream.
7282 2002-06-27  Jody Goldberg <jody@gnome.org>
7284         * ms-excel-read.c (ms_excel_read_selection) : put the edit_pos in the
7285           right place.
7287         * ms-excel-write.c (write_sheet_tail) : Use stern_brocot to get a
7288           reasonable fraction.
7289         (write_sheet_selection) : split the writing of the selection out into
7290           here and implement it.
7292 2002-06-22  Jody Goldberg <jody@gnome.org>
7294         * ms-formula-write.c (operations) : export intersection.
7296         * ms-formula-read.c (ms_excel_parse_formula) : enable mem_func
7297           support.
7298         (binary_ops) : use range_ctor for RANGE.
7300 2002-06-20  Jody Goldberg <jody@gnome.org>
7302         * ms-excel-read.c (ms_excel_workbook_new) : store the workbookview.
7303         (ms_excel_read_selection) : selection is now in the view.
7305 2002-06-06  Jody Goldberg <jody@gnome.org>
7307         * ms-excel-read.c (ms_excel_read_workbook) : convert to gsf.
7308           No need to handle the ole here.  Just take a GsfInput.  That way we
7309           can try to parse non ole files too :-)
7311         * ms-biff.c (ms_biff_query_set_decrypt) : convert to Gsf.
7312         (ms_biff_query_new) : ditto.
7313         (ms_biff_query_peek_next) : ditto.
7314         (ms_biff_query_next) : ditto.
7316         * boot.c (excel_file_probe) : convert to GsfInput.
7317         (excel_file_open) : ditto.
7319         * biff-types.h : add a few under-documented opcodes.
7321 2002-05-28  Jody Goldberg <jody@gnome.org>
7323         * ms-biff.c (ms_biff_query_peek_next) : we only need the opcode, not
7324           the length.
7326 2002-05-14  Jody Goldberg <jody@gnome.org>
7328         http://bugzilla.gnome.org/show_bug.cgi?id=81766
7329         * ms-excel-read.c (ms_excel_read_formula) : work around undocumented
7330           'feature' that will store a 0 length RECORD for empty strings.
7332 2002-05-29  Jody Goldberg <jody@gnome.org>
7334         * Release 1.1.4
7336 2002-05-15  Jody Goldberg <jody@gnome.org>
7338         * ms-biff.c (verify_password) : support unicode passwords.
7340 2002-05-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
7342         * ms-excel-read.c (ms_excel_init_margins) : margins are now in
7343           print_config
7344         (ms_excel_read_setup) : ditto
7345         (ms_excel_read_sheet) : ditto
7346         * ms-excel-write.c (margin_write) : ditto
7347         (write_sheet_head) : use modified margin_write
7349 2002-05-05  Jody Goldberg <jody@gnome.org>
7351         * ms-obj.c (ms_obj_read_biff8_obj) : tack on a flag to handle the
7352           magic associated with combos for filters.
7353         * ms-excel-read.c (ms_sheet_create_obj) : respect the new flag.
7355 2002-04-29  Jody Goldberg <jody@gnome.org>
7357         * Release 1.1.3
7359 2002-04-21  Jody Goldberg <jody@gnome.org>
7361         * ms-excel-read.c (ms_excel_externsheet_v8) : handle references to
7362           deleted sheets.
7364         * ms-escher.c (ms_escher_read_Blip) : remove some debug cruft.
7366 2002-04-15  Jon K Hellan  <hellan@acm.org>
7368         * boot.c: s/main.h/libgnumeric.h/
7370         * ms-excel-write.c: Ditto.
7372 2002-04-13  Jody Goldberg <jody@gnome.org>
7374         * ms-excel-read.c (ms_excel_read_AUTOFILTER) : start work on filters.
7375         (ms_excel_read_sheet) : support the filter records.
7377 2002-04-13  Jon K Hellan  <hellan@acm.org>
7379         * ms-chart.c: s/ENABLE_BONOBO/WITH_BONOBO/
7381         * ms-excel-read.c: Ditto
7383 2002-03-27  Jody Goldberg <jody@gnome.org>
7385         * ms-biff.c (ms_biff_query_set_decrypt) : protect against NULL
7386           passwords.
7388 2002-03-25  Jody Goldberg <jody@gnome.org>
7390         * Release 1.1.2
7392 2002-03-26  Jody Goldberg <jody@gnome.org>
7394         * ms-biff.c (wvMD5StoreDigest) : new from libwv-7.1
7395         (makekey) : ditto.
7396         (verify_password) : tweaked from libwv.
7397         (skip_bytes) : new.
7398         (ms_biff_query_set_decrypt) : new.
7399         (ms_biff_query_new) : support encryption.
7400         (ms_biff_query_next) : ditto.
7401         (ms_biff_query_destroy) : ditto.
7403         * ms-excel-read.c (ms_biff_bof_data_new) : Use the un-decoded data.
7404         (ms_excel_read_sheet) : comment that it seems like bytes 12 & 16 are
7405           not encrypted.
7406         (biff_boundsheet_data_new) : stream start pos seems un encrypted.
7408 2002-03-22  Jon K Hellan  <hellan@acm.org>
7410         * ms-excel-read.c (ms_excel_get_style_from_xf): Be prepared for
7411         color 65 as pattern color.
7413 2002-03-20  Jody Goldberg <jody@gnome.org>
7415         * ms-excel-read.c (ms_excel_read_sheet) : 15 is the
7416           default fmt for cells.  0 is the default style fmt that is its
7417           parent.
7418         (ms_excel_set_xf) : not strictly correct.  We should apply if the col,
7419           row is different.
7420         (ms_excel_set_xf_segment) : no need to apply if it is the default.
7422 2002-03-18  Morten Welinder  <terra@diku.dk>
7424         * ms-excel-read.h (_ExcelWorkbook): Add sharer.
7426         * ms-excel-read.c (ms_excel_workbook_new): Initialize sharer.
7427         (ms_excel_workbook_destroy): Destroy sharer.
7429         * ms-formula-read.c (ms_excel_parse_formula): Share resulting
7430         formulae.
7432 2002-03-16  Jody Goldberg <jody@gnome.org>
7434         * ms-excel-read.c (ms_excel_workbook_destroy) : we can have NULL
7435           names as place holders.
7437 2002-03-15  Jody Goldberg <jody@gnome.org>
7439         * ms-excel-read.c (ms_excel_sheet_destroy) : make deleting the
7440           gnum_sheet optional.
7442         * ms-excel-read.c (ms_excel_parse_NAME) : add a ref.
7443         (ms_excel_workbook_destroy) : don't leak the sheets, or the names.
7445 2002-03-15  Andreas J. Guelzow <aguelzow@taiesin.ca>
7447         * ms-excel-read.c : calculate desired tab_text_color upon reading of
7448           tab_color
7450 2002-03-14  Jody Goldberg <jody@gnome.org>
7452         * ms-obj.c (ms_obj_read_pre_biff8_obj) : doh! Fix sense of result so
7453           that reading works.
7455 2002-03-11  Jody Goldberg <jody@gnome.org>
7457         * ms-excel-read.c (ms_excel_externname) : Store the name for use as a
7458           function.
7460 2002-03-10  Jody Goldberg <jody@gnome.org>
7462         * Release 1.1.1
7464 2002-03-08  Jody Goldberg <jody@gnome.org>
7466         * ms-excel-read.c (ms_excel_workbook_new) : store an iocontext.
7467           init the delayed name list for xl95.
7468         (ms_excel_parse_NAME) : split out of.
7469         (ms_excel_read_NAME) : here.
7470         (ms_excel_handle_delayed_NAMEs) : new.
7471         (ms_excel_externsheet_v8) : be quiet.
7472         (ms_excel_read_workbook) : check for delayed names on EOF.
7474 2002-03-07  Jody Goldberg <jody@gnome.org>
7476         * ms-excel-read.c (ms_excel_externsheet_v8) : don't warn for local
7477           name records.
7478         (ms_excel_read_NAME) : typo.
7480 2002-03-07  Jody Goldberg <jody@gnome.org>
7482         * ms-excel-read.c : revamp extensheet handling and name import.
7483           Still does not work for XL95, but things should be ok for >= 97.
7484           Getting closer to supporting external references.
7486 2002-03-02  Jody Goldberg <jody@gnome.org>
7488         * ms-excel-write.c (write_externsheets) : Use unquoted.  This code
7489           needs some love.
7491 2002-03-02  Jody Goldberg <jody@gnome.org>
7493         * ms-excel-read.c (ms_excel_read_formula) : avoid leaking when faced
7494           with bad input.
7495         (ms_excel_read_formula) : ditto.
7497 2002-02-28  Jody Goldberg <jody@gnome.org>
7499         * ms-formula-write.c (write_area) : write explicitly scoped addreses
7500           as area3d not area.  Use tx = 0xffff and warn that we only support
7501           locale sheets.
7503         * ms-excel-write.c (write_bits) : better attribution and dump names.
7504         (write_workbook) : let write_bits handle the names.
7506 2002-02-26  Jody Goldberg <jody@gnome.org>
7508         * ms-escher.c (ms_escher_get_data) : clarify the interface.
7509         (ms_escher_read_BSE) : fix call to ms_escher_get_data.
7510         (ms_escher_read_Sp) : ditto.
7511         (ms_escher_read_ClientAnchor) : ditto.
7512         (ms_escher_read_OPT) : ditto.
7513         (ms_escher_read_container) : ditto.
7514         (ms_escher_read_Blip) : support decompress and validate emf & wmf.
7516         * ms-excel-util.c (excel_iconv_open_for_import) : recognize that
7517         cp1200 makes no sense in that context and fall back to 8859-1.
7519 2002-02-24  Jody Goldberg <jody@gnome.org>
7521         http://bugzilla.gnome.org/show_bug.cgi?id=72459
7522         * ms-formula-write.c (write_node) : fix typo.
7524 2002-02-26  Morten Welinder  <terra@diku.dk>
7526         * ms-excel-read.c (biff_get_rk): Improve precision ever so
7527         slightly on numbers that are scaled by 0.01.
7529 2002-02-25  Jon K Hellan  <hellan@acm.org>
7531         * ms-excel-read.c (ms_sheet_create_image): New function. Factor
7532         image creation out of ms_sheet_create_obj and also handle cropping.
7533         (ms_sheet_create_obj): Call ms_sheet_create_image.
7535 2002-02-23  Jon K Hellan  <hellan@acm.org>
7537         * plugin.xml.in: Recognize *.xlt extension.
7539 2002-02-21  Morten Welinder  <terra@diku.dk>
7541         * ms-excel-write.c (init_base_char_width_for_write): Constify.
7542         (ms_excel_write_workbook): Constify.
7544         * ms-excel-read.c (get_substitute_font): Constify.
7545         (ms_excel_get_style_from_xf): Constify.
7546         (biff_boundsheet_data_new): Constify.
7548         * ms-summary.c (read_summary_items): Constify.
7550         * ms-excel-util.c (get_locale_charset_name): Constify.  Remove
7551         code conditioned on HAVE_ICONV && !HAVE_ICONV.
7553         * ms-escher.c (ms_escher_read_BSE): Constify.
7555 2002-02-20  Morten Welinder  <terra@diku.dk>
7557         * ms-excel-write.c (write_value): Fix format.
7559         * ms-excel-read.c (ms_excel_read_name): Constify.
7561         * ms-formula-read.c (formula_func_data): Constify.
7563         * ms-excel-util.c (two_way_table_put): Constify.
7565 2002-02-19  Jon K Hellan  <hellan@acm.org>
7567         * ms-excel-read.c (ms_excel_palette_get): Update documentation.
7568         (ms_excel_get_style_from_xf): Remove case 0.
7569         (biff_xf_data_new): Save difference bits. We don't use them yet,
7570         though. Documentation is wrong, background color is one bit more
7571         than documented
7573         * ms-excel-write.h (struct _ExcelFont): Add is_auto member.
7574         (PALETTE_BLACK): Change from 0 to 8.
7575         (PALETTE_WHITE): Change from 1 to 9.
7576         (PALETTE_AUTO_PATTERN, PALETTE_AUTO_BACK, PALETTE_AUTO_FONT,
7577         FILL_NONE, FILL_SOLID): Define
7579         * ms-excel-write.c (write_window2): Write grid / auto pattern
7580         color.
7581         (style_color_to_int): Rename to style_color_to_rgb888.
7582         (palette_put_defaults): Call index 8 'PALETTE_BLACK'. Mark both
7583         black and white as in use.
7584         (palette_get_index): Return 8 (PALETTE_BLACK) for black, and 9
7585         (PALETTE_WHITE) for white.
7586         (put_color): Call style_color_to_rgb888 with new name.
7587         (excel_font_new): Call style_color_to_rgb888 with new name. Save
7588         is_auto flag.
7589         (excel_font_hash): Include is_auto in hash func, and shift flags
7590         so they don't just cancel each other.
7591         (excel_font_equal): Include is_auto in comparison.
7592         (write_font): Store as auto color when appropriate.
7593         (fixup_fill_colors): Simplify and merge into build_xf_data.
7594         (style_color_to_pal_index): New function. Return Excel color
7595         index, possibly auto, for a style color.
7596         (get_xf_differences): We have discovered that background color is
7597         stored with 1 bit more than documented. Use this to improve test
7598         for pattern difference between XF and parent style. Locking: XL
7599         default is on, so we're different if locking is off.
7600         (build_xf_data): Store as auto color where appropriate. Use
7601         style_color_to_pal_index.
7602         (write_xf_record): Documentation is wrong - there is no fSxButton
7603         bit. The bg color uses the bit, making bg field 7 bits wide. Don't
7604         store data for borders which aren't there.
7606 2002-02-18  Jody Goldberg <jody@gnome.org>
7608         * Release 1.1.0
7610 2002-02-15  Jody Goldberg <jody@gnome.org>
7612         * ms-escher.c (write_file) : delete.
7613         (ms_escher_read_BSE) : remove the bonobo-ness from here it is none of
7614           excel's business.  Just use the new SheetObjectImage.  While we're
7615           at it avoid a few memory copies of the image.
7616         * ms-excel-read.c (ms_sheet_create_obj) : ditto.
7618         * ms-container.c (ms_container_get_blip) : return non-const.
7620 2002-02-08  Jon K Hellan  <hellan@acm.org>
7622         * ms-excel-read.c (ms_excel_read_window2): No need to unref
7623         pattern_color, sheet_style_set_auto_pattern_color now does that.
7625 2002-02-05  Jon K Hellan  <hellan@acm.org>
7627         * ms-excel-read.c (black_or_white_contrast): Burn.
7628         (ms_excel_palette_get): Simplify to get autocolors right. We used
7629         to be too clever.
7630         (ms_sheet_map_color): Use style_color_new_i8 to convert from
7631         rgb888.
7632         (ms_excel_read_window2): Update pattern color according to
7633         icvHdr/rgbHdr grid color if fDefaultHdr flag says so.
7635 2002-02-03  Jody Goldberg <jody@gnome.org>
7637         * ms-excel-write.c (pre_cell) : adjust to Cell::format moving into the
7638           value.
7640 2002-01-31  Jody Goldberg <jody@gnome.org>
7642         * ms-excel-util.c (init_xl_font_widths) : add Helv.
7644         * ms-excel-read.c (ms_sheet_create_obj) : GObject vs GtkObject
7645         * ms-obj.c (ms_obj_delete) : ditto.
7646         * ms-chart.c (ms_excel_read_chart) : ditto.
7648 2002-01-30  Jody Goldberg <jody@gnome.org>
7650         * ms-formula-read.c (ms_excel_parse_formula) : give a warning when
7651           dealing with references to external workbooks.
7653 2002-01-29  Jody Goldberg <jody@gnome.org>
7655         * ms-excel-read.c (ms_sheet_create_obj) : move to new sheet widget
7656           layout.
7658 2002-01-23  Jody Goldberg <jody@gnome.org>
7660         * ms-summary.c (EXCEL_TO_GNUM_MAPPING_COUNT) : use G_N_ELEMENTS.
7661         (excel_to_gnumeric) : delete unused.
7662         (read_summary_items) : suppress warnings.
7663         (read_summary_items) : fix leak.
7665         * ms-excel-write.c : s/StyleFont::size/StyleFont::size_pts/
7667         * ms-excel-util.c (g_unichar_to_utf8) : delete.
7669 2002-01-21  Jody Goldberg <jody@gnome.org>
7671         * Release 1.0.3
7673 2002-01-21  Jody Goldberg <jody@gnome.org>
7675         * ms-obj.c (ms_object_attr_get_*) : new.
7676         (ms_obj_read_biff8_obj) : read scrollbar attributes.
7678         * ms-excel-read.c (ms_sheet_realize_obj) : Add scrollbars.
7679         (ms_sheet_create_obj) : ditto.
7681 2002-01-20  jody goldberg <jody@gnome.org>
7683         * ms-chart.c (BC_R(vector_details)) : use gnm_vector_date.
7685 2002-01-17  Jody Goldberg <jody@gnome.org>
7687         * ms-obj.c (ms_object_attr_new_expr) : new.
7688         (ms_object_attr_destroy) : handle expressions.
7689         (ms_obj_read_biff8_obj) : use the expression parser for
7690           GR_CHECKBOX_FORMULA.
7692         * ms-formula-read.c (getRefV7) : remove the pointless malloc/free.
7693         (getRefV8) : ditto.
7694         (make_inter_sheet_ref) : delete.
7695         (make_inter_sheet_ref_v7) : ditto.
7697         * ms-excel-read.c (ms_sheet_realize_obj) : add support for a
7698           checkbox's link.  Needs to be done here, AFTER being assigned to a
7699           sheet.
7700         (ms_excel_workboot_get_externsheets) : renamed from
7701           biff_get_externsheet_name, and simplified.
7703 2002-01-14  Jody Goldberg <jody@gnome.org>
7705         * ms-formula-read.c (ms_excel_parse_formula) : fix support for
7706           importing local 3d references, external 3d is still not supported.
7708 2002-01-15  Jody Goldberg <jody@gnome.org>
7710         * Release 1.0.2
7712 2002-01-13  Jody Goldberg <jody@gnome.org>
7714         * ms-excel-read.c (ms_excel_read_tab_color) : turn down the debug
7715           level.
7717 2002-01-12  Jody Goldberg <jody@gnome.org>
7719         * ms-excel-read.c (ms_excel_read_dv) : reorg slightly and enable.
7720         * ms-excel-read.c (ms_excel_read_tab_color) : new function.
7721         (ms_excel_read_sheet) : called from here.
7723 2002-01-11  Jody Goldberg <jody@gnome.org>
7725         * ms-formula-read.c (ms_excel_parse_formula) : fix area 3d and its
7726           missing break.
7728 2002-01-06  Jody Goldberg <jody@gnome.org>
7730         * Release 1.0.1
7732 2002-01-04  Jody Goldberg <jody@gnome.org>
7734         * ms-chart.c (excel_chart_series_write_xml) : more protection for
7735           missing series.
7737 2002-01-03  J.H.M. Dassen (Ray) <jdassen@debian.org>
7739         * ms-escher.c (ms_escher_blip_new) : cast to fix signedness warning.
7740         * ms-excel-read.c (biff_get_text) : likewise
7741         * ms-excel-read.c (get_string) : likewise
7742         * ms-excel-write.c (write_bits) : char -> guint8.
7743         * ms-excel-write.c (write_value) : ditto
7744         * ms-chart.c (excel_chart_series_write_xml) : cast / type change
7745         * ms-chart.c (BC_R) : ditto
7746         * ms-chart.c (BC_R(*)) : ditto
7747         * ms-chart.c (ms_excel_chart) : ditto
7749 2001-12-31  Jody Goldberg <jody@gnome.org>
7751         * Release 1.0.0
7753 2001-12-30  Zbigniew Chyla  <cyba@gnome.pl>
7755         * plugin.xml.in: Fixed typo.
7757         Please, DO NOT change strings few hours before the release!
7759 2001-12-29  Andreas J. Guelzow <aguelzow@taliesin.ca>
7761         * plugin.xml.in : Standardize: MS Excel (tm)
7763 2001-12-27  Jody Goldberg <jody@gnome.org>
7765         * ms-formula-read.c (ms_excel_parse_formula) : enable support for
7766           deleted 3d references.
7768 2001-12-24  Jody Goldberg <jody@gnome.org>
7770         * Release 0.99.1
7772 2001-12-20  Jody Goldberg <jody@gnome.org>
7774         * ms-formula-read.c (ms_excel_parse_formula) : add support for
7775             FORMULA_PTG_REF_ERR.
7776             FORMULA_PTG_AREA_ERR.
7778         * ms-obj.c (ms_read_OBJ) : add protection against missing virtuals.
7779           If the object is a graph read it even if we do not support them in
7780           this context (embedded in another object) or if we do not support
7781           graphs at all.  This enables us to read embedded graphs without
7782           throwing off the rest of the parsing.
7784 2001-12-15  Jody Goldberg <jody@gnome.org>
7786         * Release 0.99.0
7788 2001-12-10  Jody Goldberg <jody@gnome.org>
7790         * ms-summary.c (read_summary_items) : use iconv.
7791         (ms_summary_read) : ditto.
7792         (set_summary_item) : ditto.
7793         (ms_summary_write) : ditto.
7795 2001-12-05  Jody Goldberg <jody@gnome.org>
7797         * ms-excel-write.c (write_formula) : handle array formulas.
7798         * ms-formula-write.c (write_node) : ditto.
7799         (ms_excel_write_formula) : remove pointless malloc & free.
7801 2001-11-25  Jody Goldberg <jody@gnome.org>
7803         * ms-formula-read.c : s/ParseList/ExprList/
7804         * ms-formula-write.c : ditto.
7806 2001-11-20  Jody Goldberg <jgoldberg@home.com>
7808         * ms-excel-read.c (biff_boundsheet_data_new) : Doh!
7810 2001-11-19  Jody Goldberg <jgoldberg@home.com>
7812         * Release 0.76
7814 2001-11-16  Jody Goldberg <jgoldberg@home.com>
7816         * ms-excel-read.c (ms_excel_read_dv) : read things in.  Not stored yet.
7817         (ms_excel_read_range) : new convenience routine.
7818         (ms_excel_read_mergecells) : used here.
7819         (ms_excel_biff_dimensions) : used here.
7820         (ms_excel_read_dv) : used here.
7821         (ms_excel_read_condfmt) : used here, fix import of multiple areas.
7823 2001-11-09  Jody Goldberg <jgoldberg@home.com>
7825         * ms-excel-read.c (ms_excel_read_guts) : adjust to different outline
7826           scoping semantics.  We count from 0.  XL counts from 1.
7828         * boot.c (excel_file_open) : better error message when opening a
7829           non-ole file.
7831 2001-11-05  Jody Goldberg <jgoldberg@home.com>
7833         * plugin.xml.in : enable overwriting files by default.
7835 2001-11-05  Jody Goldberg <jgoldberg@home,com>
7837         * Release 0.75
7839 2001-11-04  Jody Goldberg <jgoldberg@home.com>
7841         * ms-excel-read.c (ms_excel_read_cf) : Handle 'Formula' constraints in
7842         addition to 'Value'.
7843         (ms_excel_read_condfmt) : new routine.
7844         (ms_excel_read_dval) : fix sense of size check.
7845         (ms_excel_read_sheet) : cf records should only be associated
7846           with condfmt.
7848 2001-10-30  Jody Goldberg <jgoldberg@home.com>
7850         * ms-excel-write.c : Use d() debug macors to make things
7851           more readable.  And use esheet in place of sheet to avoid
7852           confusion with gnumeric core.
7853         (write_colinfo) : make xf_index an argument.
7854         (pre_colstyle) : new routine to gather the most common style in each col
7855         (gather_styles) : called from here.
7856         (write_mulblank) : take an array rather than a GList.
7857         (write_block) : only write a blank cell if it is different from the
7858         column default.
7860 2001-10-30  Morten Welinder  <terra@diku.dk>
7862         * ms-chart.c (BC_R-ai): Plug leak.
7863         (BC_R-ifmt): Ditto.
7865 2001-10-27  Jody Goldberg <jgoldberg@home.com>
7867         * ms-excel-read.c (ms_excel_read_dval) : new function.
7868         (ms_excel_read_dv) : new function.
7869         (ms_excel_read_sheet) : call them here and remove warning.
7871 2001-10-29  Jody Goldberg <jgoldberg@home.com>
7873         * Release 0.74
7875 2001-10-29  Jody Goldberg <jgoldberg@home.com>
7877         * ms-excel-read.c (ms_excel_get_xf) : Use a better default in the face
7878           of errors.
7880         * ms-chart.c (chart_get_fmt) : new function to chain to parent.
7881         (ms_excel_chart) : use it here.
7883 2001-10-29  Jody Goldberg <jgoldberg@home.com>
7885         * Release 0.73
7887 2001-10-29  Jody Goldberg <jgoldberg@home.com>
7889         * ms-excel-read.c (biff_name_data_get_name) : adjust to signature
7890           change in expr_tree_new_name.  FIXME : how does XL mark names from
7891           explicit scopes.
7893 2001-10-23  Jody Goldberg <jgoldberg@home.com>
7895         * ms-excel-write.c (write_rowinfo) : remove duplicate code.
7897         * ms-excel-read.c (biff_name_data_get_name) : adjust to new named
7898           expression api.
7900 2001-10-22  Almer S. Tigelaar  <almer@gnome.org>
7902         * ms-excel-read.c (ms_excel_read_cf): Adjust for
7903         changes to style-condition.[ch]
7905 2001-10-18  Jody Goldberg <jgoldberg@home.com>
7907         * Release 0.72
7909 2001-10-18  Jody Goldberg <jgoldberg@home.com>
7911         * ms-chart.c (BC_R(bar)) : typo.
7913 2001-10-18  Jody Goldberg <jgoldberg@home.com>
7915         * ms-chart.c (BC_R(dropbar)) : The docs lie.  it is ok to have
7916           values > 100
7918         * ms-chart.c (BC_R(store_chartgroup_type)) : store the type as a
7919           property rather than a child.
7920         (BC_R(bar)) : store the attributes as children rather than props.
7921         (BC_R(line)) : ditto.
7922         (BC_R(pie)) : ditto.
7923         (BC_R(pieformat)) : ditto.
7924         (BC_R(scatter)) : ditto.
7926 2001-10-15  Jody Goldberg <jgoldberg@home.com>
7928         * ms-excel-write.c (excel_sheet_new) : merge check_sheet into here.
7929           rename according to our standards.  Only complain about being too
7930           large if the content is too large, silently clip the formats.
7932 2001-10-12  Jody Goldberg <jgoldberg@home.com>
7934         * ms-chart.c (BC_R(legend)) : Use more guppi-ish terms for legend
7935           location.
7937 2001-10-07  Jody Goldberg <jgoldberg@home.com>
7939         * Release 0.71
7941 2001-10-03  Jody Goldberg <jgoldberg@home.com>
7943         * ms-chart.c (excel_chart_series_write_xml) : fix this for non bonobo
7944           builds.
7946 2001-09-30  Jody Goldberg <jgoldberg@home.com>
7948         * ms-chart.c (excel_chart_series_write_xml) : Use
7949           gnm_graph_series_add_dimension.
7950         (BC_R(seriestext)) : store constant labels as expresions.
7952 2001-09-28  Jody Goldberg <jgoldberg@home.com>
7954         * ms-chart.c (excel_chart_series_write_xml) : adjust to new xml
7955           structure.
7957 2001-09-27  Jody Goldberg <jgoldberg@home.com>
7959         * ms-obj.c (ms_object_attr_bag_lookup) : accept NULL attrBags.
7961         * ms-escher.c (ms_escher_read_OPT) : oops lost the blip id.
7963 2001-09-27  Jody Goldberg <jgoldberg@home.com>
7965         * ms-excel-read.c (ms_excel_wb_get_fmt) : renamed something
7966           better than biff_format_data_lookup.
7968         * ms-chart.c (BC_R(ai)) : Use ms_container_get_fmt.
7969         (BC_R(ifmt)) : ditto.
7971         * ms-container.c (ms_container_get_fmt) : new function.
7973 2001-09-27  Jody Goldberg <jgoldberg@home.com>
7975         * ms-excel-read.c (ms_sheet_map_color) : new utility.
7976         (ms_sheet_create_obj) : set the fill colour.
7978         * ms-escher.c (ms_escher_read_OPT) : generalize to make things more
7979           efficient.
7981         * ms-obj.c (ms_object_attr_new_uint) : store a uint to facilitate
7982           colors.
7984 2001-09-26  Jody Goldberg <jgoldberg@home.com>
7986         * ms-escher.c (ms_escher_parse) : call ms_escher_header_release.
7987         (ms_escher_read_container) : ditto.
7988         (ms_escher_header_release) : new to handle attrs.
7989         (ms_escher_header_add_attr) : ditto.
7990         (ms_escher_read_ClientData) : pass the attributes to the object
7991           and move the blip handing to the container.
7993         * ms-obj.c (ms_object_attr_new_flag) : new.
7994         (ms_object_attr_new_int) : new.
7995         (ms_object_attr_new_ptr) : new.
7996         (ms_object_attr_destroy) : new.
7997         (ms_object_attr_bag_new) : ditto.
7998         (ms_object_attr_bag_destroy) : ditto.
7999         (ms_object_attr_bag_insert) : ditto.
8000         (ms_object_attr_bag_lookup) : ditto.
8002         * ms-excel-read.c (ms_excel_read_workbook) : interface change to
8003           ms_read_OBJ.
8004         (ms_excel_read_sheet) : ditto.
8005         (ms_sheet_create_obj) : move the blip handing from escher to here.
8007 2001-09-26  Jody Goldberg <jgoldberg@home.com>
8009         * ms-obj.c (ms_read_OBJ) : Init the inversion flags.
8011         * ms-escher.c (ms_escher_read_Sp) : store the inversion flags.
8012         (ms_escher_read_ClientData) : copy the inversion flags.
8013         (ms_escher_init_heade) : init the inversion flags.
8015 2001-09-26  Jody Goldberg <jgoldberg@home.com>
8017         * ms-excel-xf.h (_BiffXFData) : locked and hidden are booleans.
8018         * ms-excel-read.c (biff_xf_data_new) : read them that way.
8019         (ms_excel_get_style_from_xf) : store the protection flags.
8020         * ms-excel-write.c (build_xf_data) : ditto.  Add indent.
8022         * ms-chart.c (BC_R(seriestext)) : handle manually entered series names.
8024 2001-09-25  Jon K Hellan  <hellan@acm.org>
8026         * .cvsignore: Add plugin.xml
8028 2001-09-17  Jody Goldberg <jgoldberg@home.com>
8030         * ms-obj.c (ms_read_OBJ) : init the new object more completely.
8032 2001-09-16  Jody Goldberg <jgoldberg@home.com>
8034         * ms-chart.c : clean up debug routines.
8035         (BC_R(dataformat)) : Use an extra node to handle pt vs series
8036           level formating.
8037         (BC_R(end)) : cleanup dataformats.
8038         (excel_chart_series_write_xml) : just link in the new child rather
8039           than creating it here.
8040         (BC_R(dataformat)) : handle formating pts vs entire series.
8041         (BC_R(markerformat)) : implement
8042         (BC_R(areaformat)) : implement
8043         (BC_R(lineformat)) : implement
8044         (BC_R(pieformat)) : implement
8045         (BC_R(color)) : tweak interface.
8046         (ms_excel_chart) : ignore a few more records.
8048 2001-09-14  Jody Goldberg <jgoldberg@home.com>
8050         * ms-chart.c (excel_chart_series_write_xml) : Use the gal routines for
8051           symetry with the guppi implementation.
8053 2001-09-09  Jody Goldberg <jgoldberg@home.com>
8055         * ms-chart.c (BC_R(pieformat)) : store pie separation.
8056         (BC_R(get_chartgroup_type)) : new function.
8058 2001-09-08  Jody Goldberg <jgoldberg@home.com>
8060         * ms-chart.c (legend) : xml-ize and fix transposition of right & left.
8061         (pie) : Guppi uses radians and has 0 in a different place.
8063 2001-09-04  Jody Goldberg <jgoldberg@home.com>
8065         * ms-obj.c (ms_read_OBJ) : Use ms_destroy_OBJ.
8067         * ms-chart.c (ms_excel_chart) : don't import the spec if we did not
8068           create the graph.
8070 2001-09-03  Jody Goldberg <jgoldberg@home.com>
8072         * ms-excel-read.c (ms_excel_read_cf) : Do some guessing about how they
8073           store the format information.
8074         (ms_excel_read_sheet) : merge in ms_excel_read_cell, and reorder the
8075           records to match their biff order.  call ms_excel_read_cf.
8077 2001-09-02  Jody Goldberg <jgoldberg@home.com>
8079         * biff-types.h : Add CONDFMT
8081 2001-08-29  Jody Goldberg <jgoldberg@home.com>
8083         * ms-chart.c (excel_chart_series_new) : init the xml node.
8084         (excel_chart_series_write_xml) : new.
8085         (BC_R(store_chartgroup_type)) : new utility.
8086         (BC_R(bar)) : convert to xml.
8087         (BC_R(line)): convert to xml.
8088         (BC_R(pie)) : convert to xml.
8089         (BC_R(scatter)) : convert to xml.
8090         (BC_R(chartformat)) : store the general chart group details.
8091         (BC_R(end)) : store the series specs associated with this chartgroup.
8092         (ms_excel_chart) : tweaks for xml.
8094 2001-08-28  Jody Goldberg <jgoldberg@home.com>
8096         * ms-obj.c (ms_read_OBJ) : pass graphs into their parser.
8098         * ms-excel-read.c (ms_sheet_realize_obj) : renamed from
8099           ms_sheet_obj_realize.
8100         (ms_sheet_create_obj) : renamed from ms_sheet_obj_create.
8101           Improve the warnings for unhandled objects.
8102           Pass graphs into the parser.
8104         * ms-container.c (ms_container_workbook) : delete.
8106         * ms-chart.c (ms_excel_chart) : enable some of the xml spec generation.
8107           and take the GnmGraph as an argument.
8108         (ms_excel_read_chart) : take the graph as an argument.
8110 2001-08-27  Jody Goldberg <jgoldberg@home.com>
8112         * ms-excel-read.c (ms_sheet_parse_expr_internal) : disable some of the
8113           debugging spew.
8115 2001-08-26  Zbigniew Chyla  <cyba@gnome.pl>
8117         * boot.c (excel_save):
8118         Remove GNUMERIC_ENABLE_XL_OVERWRITE hack. This is now supported via
8119         flag in plugin.xml file.
8121         * plugin.xml.in: s/file_overwrite/overwrite_files/
8123 2001-08-24  Jody Goldberg <jgoldberg@home.com>
8125         * ms-excel-read.c : fix and prune includes.
8126         * ms-excel-write.c : ditto.
8127         * boot.c : ditto.
8129 2001-08-23  Jody Goldberg <jgoldberg@home.com>
8131         * ms-chart.c (ms_excel_chart) : only delete the series after
8132           processing.  condtionalize some of the debug spew.
8133           condtionalize parsing based on the existence of a graph
8134           condtionalize making the graph on the debug flag (for now)
8135         (BC_R(sertocrt)) : store the chart group.
8136         (BC_R(series_impl)) : merge back into BC_R(series).
8137         (BC_R(vector_details)) : use the gnumeric type directly.
8138         (excel_chart_series_new) : new.
8139         (excel_chart_series_destroy) : new.
8141         * ms-container.c (ms_container_workbook) : new function.
8142         (ms_container_sheet) : ditto.
8144         * ms-excel-read.c (ms_wb_workbook) : new function.
8145         (ms_excel_workbook_new) : used here.
8146         (ms_sheet_workbook) : new function.
8147         (ms_sheet_sheet) : new function.
8148         (ms_excel_sheet_new) : used here.
8150 2001-08-21  Jody Goldberg <jgoldberg@home.com>
8152         * ms-chart.c (gnm_graph_vector_type_name) : use the version in gnumeric-graph.c
8153         (BC_R(vector_details)) : Use the correct index for the debug info.
8155         * ms-excel-read.c (ms_excel_biff_dimensions) : Use range_name.
8157 2001-08-21  Zbigniew Chyla  <cyba@gnome.pl>
8159         * plugin.xml: Removed
8161         * plugin.xml.in: Copied from plugin.xml, prepared for localization.
8163         * Makefile.am: Use xml-i18n-tools to create plugin.xml (with
8164         translations merged from .po file).
8166 2001-08-20  Jody Goldberg <jgoldberg@home.com>
8168         * Release 0.70
8170 2001-08-20  Jody Goldberg <jgoldberg@home.com>
8172         * Makefile.am : Remove unused stubs for gnumeric-chart.
8173         * ms-chart.c : s/ExcelChart/ExcelChartReadState/g
8174         (BC_R(top_state)) : new function.
8175         (map_excel_vec_type_to_gnm) : new function.
8176         (BC_R(vector_details)) : new function.
8177         (BC_R(series_impl)) : Use vector_details.
8178         (BC_R(ai)) : actually handle the vector.
8179         (BC_R(begin)) : keep a stack of the states.
8180         (BC_R(series)) : keep track of the series.
8182         * ms-excel-read.c (ms_sheet_obj_realize) : use the correct anchor specs.
8183           and use the new SheetObjectAnchor mechanism.
8184         (ms_sheet_obj_create) : signatue change for sheet_object_container_new.
8186 2001-08-20  Jody Goldberg <jgoldberg@home.com>
8188         * ms-excel-read.c (ms_excel_read_formula) : improve the debug info.
8189         (ms_excel_read_bof) : Doh!  We modify the sheet counter.
8190         (ms_excel_read_workbook) : signature changes for ms_excel_read_bof.
8192 2001-08-11  Jody Goldberg <jgoldberg@home.com>
8194         * Release 0.69
8196 2001-08-07  Jody Goldberg <jgoldberg@home.com>
8198         * ms-excel-read.c (ms_excel_read_setup) : print scaling is stored as a
8199           percentage in XL and in Gnumeric.  Improve the warning as long as
8200           we're in here.
8202 2001-08-03  Jody Goldberg <jgoldberg@home.com>
8204         Consistently refer to /ExcelSheet/ instances as esheet.
8205         Ensure that the BiffQuery is the first arg.
8206         * ms-excel-read.c (ms_excel_sheet_new) : Explicitly request a full
8207           respan for the update after we load.  I had been relying on there
8208           being a col/row or default col/row sizing to force it.
8210 2001-08-02  Jody Goldberg <jgoldberg@home.com>
8212         * ms-escher.c (ms_escher_blip_new) : be consistent and use #ifdef
8214 2001-07-25  Jody Goldberg <jgoldberg@home.com>
8216         * ms-excel-read.c (ms_excel_read_window2) : Tidy up a bit.
8218         * ms-excel-write.c (write_window2) : support frozen panes.
8219         (write_pane) : Implement.
8221 2001-07-17  Jody Goldberg <jgoldberg@home.com>
8223         * Release 0.68
8225 2001-07-16  Jody Goldberg <jgoldberg@home.com>
8227         * ms-excel-read.c (ms_excel_read_pane) : implement.
8228         (ms_excel_read_window2) : store initial top left.
8230 2001-07-12  Jody Goldberg <jgoldberg@home.com>
8232         * ms-excel-read.c (ms_excel_read_pane) : new function.
8233         (ms_excel_read_sheet) : called from here.
8234         (ms_excel_read_window2) : top left spec is _zero_ based.
8235           Add support for setting the frozen flag.
8236         (ms_excel_sheet_new) : init the freeze flag here.
8238 2001-07-13  Lutz Müller <urc8@rz.uni-karlsruhe.de>
8240         * ms-escher.c (ms_escher_read_ClientData): Syntax and name of
8241         sheet_object_bonobo_load(_persist)_stream changed.
8243 2001-06-28  Jody Goldberg <jgoldberg@home>
8245         * Release 0.67
8247 2001-06-28  Jody Goldberg <jgoldberg@home.com>
8249         * ms-excel-util.c (lookup_font_base_char_width_new) : add more safety.
8251         * ms-excel-write.c (formats_put_magic) : const.
8252         (new_sheet) : ignore spans and merges for extent calcs.
8254         * ms-excel-read.c (ms_excel_read_init) : new function to init the
8255           locale specific date format.
8257         * boot.c (plugin_init) : new function.
8259 2001-06-27  Jody Goldberg <jgoldberg@home.com>
8261         * Release 0.66
8263 2001-06-21  Morten Welinder  <terra@diku.dk>
8265         * ms-excel-read.c (ms_excel_read_supporting_wb): Fix trigraph
8266         stuff and cut down on repeated question marks in general.
8268 2001-06-15  Jody Goldberg <jgoldberg@home.com>
8270         * ms-excel-read.c (ms_excel_sheet_new) : Use CellPos directly.
8272         * ms-formula-read.c (ms_excel_parse_formula) : some cleanup.
8274 2001-06-11  Jody Goldberg <jgoldberg@home.com>
8276         * ms-excel-write.c (write_setup) : new routine.
8277         (write_sheet_bools) : split out from here.
8279         * ms-excel-read.c (ms_excel_read_sheet) : split the setup parser out
8280           of here into.
8281         (ms_excel_read_setup) : here.  and modernize it.  Read the number of
8282           copies and the scaling if specified.
8284 2001-06-12  Zbigniew Chyla  <cyba@gnome.pl>
8286         * boot.c (excel_save): Set up io_progress before calling ms_excel_check_write
8287         and ms_excel_write_workbook.
8289         * ms-excel-read.c
8290         (ms_excel_read_sheet): Added IOContext argument,
8291         call value_io_progress_update on every loop iteration.
8292         (ms_excel_read_workbook): Set up io progress message and helper.
8294         * ms-excel-write.c
8295         (pre_cell): Update io progress.
8296         (pre_blanks): Update io progress at every row.
8297         (gather_styles): Set up io progress helper.
8298         (write_block): Update io progress after every write_cell call.
8299         (ms_excel_write_workbook): Set up io progress helper.
8300         (ms_excel_check_write): Copy IOContext ptr into ExcelWorkbook struct.
8302         * ms-excel-write.h (struct _ExcelWorkbook): Added io_context.
8304 2001-06-03 Jody Goldberg <jgoldberg@home.com>
8305         For Vlad Harchev <hvv@hippo.ru>
8307         * ms-excel-util.h ms-excel-util.c (excel_wcstombs) :
8308           Some utilites to handle encoding changes that fail.
8310         * ms-excel-read.c : Use the utilities.
8312 2001-06-02  Almer S. Tigelaar  <almer@gnome.org>
8314         * (ms_excel_read_row): Set outline using
8315         new functions.
8316         (ms_excel_read_colinfo): Idem.
8318 2001-05-31  Karl Eichwalder  <ke@suse.de>
8320         * boot.c (excel_save): Add dot.
8322 2001-05-29  Zbigniew Chyla  <cyba@gnome.pl>
8324         * boot.c (excel_file_probe): Added FileProbeLevel argument.
8326 2001-05-27  Jody Goldberg <jgoldberg@home.com>
8328         * ms-excel-write.c (write_window2) :
8329           Switch the BIFF_WINDOW2 0x23e -> 0x3e
8330         (write_names) : fix biff type.
8332         * ms-excel-read.c (ms_excel_read_formula) : cleanup some old
8333           inconsistentcies.  keep as many of the BIFF_* using their major
8334           types.
8335           Switch the BIFF_STRING 0x207 -> 0x07
8336           Switch the BIFF_BOOLERR 0x205 -> 0x05
8337         (ms_excel_read_window2) : split this out into a neater bundle.
8339 2001-05-26  Jody Goldberg <jgoldberg@home.com>
8341         * ms-excel-write.c (write_sheet_bools) : Save the iteration
8342           preferences too.  These are workbook level flags.  I am unclear why
8343           XL saves them at the sheet level.
8345         * ms-excel-read.c (ms_excel_read_calccount) : new function.
8346         (ms_excel_read_delta) : ditto.
8347         (ms_excel_read_iteration) : ditto.
8348         (ms_excel_read_sheet) : use them here.
8350 2001-05-18  Jody Goldberg <jgoldberg@home.com>
8352         * ms-excel-read.c (ms_excel_read_formula) : Use cell_queue_recalc
8353           to get appropriate recursion.
8355 2001-05-17  Jody Goldberg <jgoldberg@home.com>
8357         * ms-excel-read.c (ms_excel_formula_shared) : Use a g_warning not a
8358           printf.
8360 2001-05-21  Zbigniew Chyla  <cyba@gnome.pl>
8362         * boot.c (excel_file_probe, excel_file_open, excel97_file_save,
8363         excel95_file_save):
8364         s/FileOpener/GnumFileOpener/
8365         s/FileSaver/GnumFileSaver/
8367 2001-05-20  Jody Goldberg <jgoldberg@home.com>
8369         * Release 0.65
8371 2001-05-13  Michael Meeks  <michael@ximian.com>
8373         * ms-excel-write.c (write_value): commit the VALUE_EMPTY.
8375         * ms-biff.c (ms_biff_put_len_next),
8376         (ms_biff_put_var_next): add conditional debug to help catch
8377         similar problems - none obvious just now.
8379 2001-05-11  Jody Goldberg <jgoldberg@home.com>
8381         * ms-excel-read.c (ms_excel_read_workbook) : clear the global handle
8382           after it is closed.
8384 2001-05-11  Almer S. Tigelaar  <almer@gnome.org>
8386         * ms-excel-write.c (write_sheet_bools): Write dimensions as
8387         unsigned integers.
8388         (biff_put_text): Signedness.
8389         (write_externsheets): Signedness.
8390         (excel_font_to_string): Signedness.
8391         (fonts_free): Signedness.
8392         (write_formats): Signedness.
8393         (xf_free): Signedness.
8394         (pre_cell): Signedness + Unused variabele.
8395         (gather_styles): Signedness.
8396         (map_pattern_index_to_excel): Signedness.
8397         (write_index): Signedness.
8398         (write_block): Signedness.
8399         (write_sheet): Signedness.
8400         (free_workbook): Signedness.
8401         (write_workbook): Signedness.
8402         (check_sheet): Signedness.
8404         * ms-excel-formula-write (write_node): Cast untyped pointer.
8406 2001-05-07  Jody Goldberg <jgoldberg@home.com>
8408         * ms-escher.c (ms_escher_get_data) : suppress warnings.
8409         (ms_escher_read_ClientTextbox) : no side effects in precondition.
8411         * ms-excel-read.c (ms_excel_formula_shared) : ditto.
8413 2001-05-06  Jody Goldberg <jgoldberg@home.com>
8415         * ms-excel-read.c (biff_boundsheet_data_new) : merge in the last of
8416           the i18n patches.
8418 2001-05-05  Jody Goldberg <jgoldberg@home.com>
8420         * ms-excel-read.c (ms_excel_set_xf_segment) : support multiple rows.
8421         (ms_excel_read_row) : use here.
8422         (ms_excel_read_cell) : and here.
8423         (ms_excel_read_colinfo) : start using it here too.
8424         (ms_sheet_obj_create) : Add a place holder for a spinner.
8426         * ms-excel-write.c (pre_cell) : XL does not differentiate between
8427           parse and display formats.  When exporting a cell with General that
8428           has a parse format create a new XF with the parse format as the
8429           display format.
8431 2001-04-30  Morten Welinder  <terra@diku.dk>
8433         * ms-summary.c (sum_name_to_excel): Fix index count.  Constify.
8434         Make static.
8435         (excel_to_gnum_mapping): Make static.
8437 2001-04-29  Jody Goldberg <jgoldberg@home.com>
8439         * ms-excel-write.c (write_window2) : Headers are in default style.
8440           And grid colour is auto, not black.
8442 2001-04-27  Chema Celorio  <chema@celorio.com>
8444         * boot.c (excel_save): add a message explaining that you could set
8445         an env variable to enable XL overwrite. This is not the optimal
8446         solution tho.
8448 2001-04-26  Jody Goldberg <jgoldberg@home.com>
8450         * ms-excel-write.c (write_colinfos) : Rework to simplify and use
8451           colrow_equal.
8452         (write_colinfo) : extract the info from the ColRowInfo directly and
8453           fill in the visibility, outline, and collapse states.
8454         (write_rowinfo) : export visibility, collapse and outline.
8455         (write_guts) : new function.
8456         (new_sheet) : Include blank cols/rows with outline properties in
8457           extent calculation.
8459         * ms-excel-write.h (Excel{Col,Row}) : Delete unnecessary structures.
8461 2001-04-26  Jody Goldberg <jgoldberg@home.com>
8463         * ms-excel-write.c (write_mergecells) : new routine to save merged
8464           regions.
8465         (write_sheet_tail) : called from here.
8467 2001-04-23  Jon K Hellan  <hellan@acm.org>
8469         * ms-biff.c (ms_biff_query_next, ms_biff_query_next,
8470         ms_biff_query_destroy, ms_biff_put_new, ms_biff_put_commit,
8471         ms_biff_put_len_next): Make sure that bp->data = 0 when
8472         bp->data_malloced = 0 & v.v. This helps heap debugging.
8473         (ms_biff_put_len_next): Assert that data pointer is null. If it
8474         weren't the old code would have been leaking.
8476 2001-04-23  Morten Welinder  <terra@diku.dk>
8478         * ms-excel-write.c (ms_excel_check_write): Avoid double free of
8479         the list.
8481 2001-04-20  Jody Goldberg <jgoldberg@home.com>
8483         * ms-excel-read.c (ms_excel_read_wsbool) : new function.
8484         (ms_excel_read_sheet) : called from here.
8486         * ms-excel-write.c (write_wsbool) : new function.
8487         (write_sheet_bools) : called from here.
8489 2001-04-19  Jody Goldberg <jgoldberg@home.com>
8491         * ms-excel-write.c (write_window2) : sigh, when fixing the sizes I did
8492           not change the offsets.  I miss C++ in situations like this.
8493         (ms_excel_check_write) : Free the sheet list.
8495 2001-04-18  Jody Goldberg <jgoldberg@home.com>
8497         * ms-excel-util.c (excel_iconv_win_codepage) : cleanup and remove
8498           warnings in the C locale case.
8500         * ms-excel-write.c (write_sheet_tail) : split WINDOW2 code out of here
8501         (write_window2) : and move it here.  Then comment it up and extend the
8502           logic.
8504 2001-04-17  Jody Goldberg <jgoldberg@home.com>
8506         * plugin.xml : Disable the excel97 save method until it potentially
8507           does more than screw up.
8509 2001-04-15  Vlad Harchev <hvv@hippo.ru>
8511         * ms-excel-util.h ms-excel-util.c :
8512         added framework for doing portable recoding between charsets,
8513         and also functions for finding appropriate Windows codepage
8514         for current locale.
8516         * ms-excel-read.c ms-excel-write.c :
8517         Properly perform charset conversion for all textual data when doing
8518         export or import of .xls files.
8520 2001-04-12  Chema Celorio  <chema@celorio.com>
8522         * boot.c (excel_save): add an env variable so that we can
8523         enable XL overwrite. the variable is named GNUMERIC_ENABLE_XL_OVERWRITE
8525 2001-04-12  Jody Goldberg <jgoldberg@home.com>
8527         * ms-excel-write.c (pre_pass) : Don't unref here.
8529 2001-04-12  Morten Welinder  <terra@diku.dk>
8531         * ms-summary.c (ms_summary_write): Plug leaks.
8533 2001-04-11  Jody Goldberg <jgoldberg@home.com>
8535         * ms-formula-write.c (write_string) : a null string is not a missing
8536           arg.
8538 2001-04-04  Jody Goldberg <jgoldberg@home.com>
8540         * ms-excel-read.c (ms_excel_externsheet) : new function split from
8541         (ms_excel_read_workbook) : here.
8543         * ms-excel-read.c (biff_name_data_new) : begin cleanup.  The
8544           sheet_index is stored in different places for different biff types.
8545           There also appears to be enough data about the sheet names that we
8546           may not need to do this magic delayed instantiation.
8548 2001-04-03  Jody Goldberg <jgoldberg@home.com>
8550         * ms-chart.c (ms_excel_chart) : provide stub handlers for container
8551           virtuals.
8553 2001-04-02  Jody Goldberg <jgoldberg@home.com>
8555         * ms-excel-read.c (ms_excel_read_imdata) : new routine pulled from.
8556         (ms_excel_read_cell) : here.
8558         * ms-obj.c (ms_obj_read_biff8_obj) : used here.
8560 2001-04-04  Morten Welinder  <terra@diku.dk>
8562         * ms-escher.c (ms_escher_blip_destroy): Plug leak.
8564         * ms-excel-util.c (lookup_font_base_char_width_new): Implement
8565         negative caching.
8567 2001-04-01  Jody Goldberg <jgoldberg@home.com>
8569         * ms-escher.c (ms_escher_get_data) : improve diagnostic info.
8571         * ms-obj.c (ms_obj_read_biff8_obj) : when reading the mystery trailing
8572           IMDATA we need to handle CONTINUE.  We really need to figure out
8573           what this is.
8575 2001-04-01  Morten Welinder  <terra@diku.dk>
8577         * ms-chart.c (register_handlers) : Fix prototype.
8579         * gnumeric-chart.c (gnumeric_chart_new): Fix prototype.
8581         * ms-excel-write.c (get_default_mstyle): Fix prototype.
8583 2001-04-01  Morten Welinder  <terra@diku.dk>
8585         * ms-excel-read.c (ms_excel_default_palette): Fix prototype.
8586         (ms_excel_read_cleanup): New function.
8588         * ms-excel-util.c (destroy_xl_font_widths): New function.
8590         * boot.c (plugin_cleanup): New function.
8592 2001-03-31  Zbigniew Chyla  <cyba@gnome.pl>
8594         * .cvsignore: Added *.lo and *.la.
8596 2001-03-30  Jody Goldberg <jgoldberg@home.com>
8598         * ms-container.c (ms_container_init) : Take a parent container.
8599         (ms_container_finalize) : handle NULL blips smoothly.
8600         (ms_container_get_blip) : check the container if we are empty.
8602         * ms-escher.c (ms_escher_read_Blip) : always register a blip, even if
8603           it is NULL, otherwise the index gets confused.  Move the
8604           registration here.
8605         (ms_escher_blip_new) : from here.
8606         (ms_escher_read_ClientData) : replace blips we can't understand with
8607           rectangles.
8609         * ms-chart.c (ms_excel_chart) : Pass in the charts container.
8611         * ms-excel-read.c (ms_excel_workbook_new) : workbook have no parents.
8612         (ms_excel_sheet_new) : Sheets are contained by workbooks.
8614 2001-03-30  Jody Goldberg <jgoldberg@home.com>
8616         * ms-excel-read.c (ms_excel_get_style_from_xf) : Only newer versions
8617           have indents.
8619 2001-03-30  Morten Welinder  <terra@diku.dk>
8621         * ms-escher.c (ms_escher_read_container): Plug leak.
8623 2001-03-30  Jody Goldberg <jgoldberg@home.com>
8625         * boot.c (excel_save) : clarify message.
8627 2001-03-29  Jody Goldberg <jgoldberg@home.com>
8629         * ms-escher.c (ms_escher_read_Blip) : Fix leak plug.
8631 2001-03-29  Jody Goldberg <jgoldberg@home.com>
8633         * ms-obj.c (ms_obj_read_biff8_obj) : It seems certain that the MS docs
8634           are wrong about list boxes.  I hope they don't do the same thing for
8635           other records too.
8637         * ms-escher.c : s/ms_excel_read_debug/ms_excel_escher_debug/
8638         (ms_escher_read_OPT) : Add missing OPT records and cleanup docs.
8639         (ms_escher_read_BSE) : Document the record size and don't attempt to
8640           treat this as a container if its content is of size 0.
8642 2001-03-28  Jody Goldberg <jgoldberg@home.com>
8644         * ms-obj.c (ms_read_TXO) : Fix the minor memory overrun Morten found.
8646 2001-03-18  Jody Goldberg <jgoldberg@home.com>
8648         * ms-excel-util.c (init_xl_font_widths) : recalculate the size of Geneva
8649           for the default case of Geneva not being available.
8651 2001-03-27  Morten Welinder  <terra@diku.dk>
8653         * ms-escher.c (ms_escher_read_Blip): Plug leak.
8655 2001-03-20  Zbigniew Chyla  <cyba@gnome.pl>
8657         * Makefile.am:
8658         Building excel plugin as shared library, added plugin.xml.
8660         * boot.[ch]:
8661         xxx_debug variables from src/main.c moved here.
8662         Converted to real plugin with file_opener and file_saver services.
8664         * plugin.xml: New file.
8666         * gnumeric/plugins/excel/excel.h, plugins/excel/ms-chart.c,
8667         plugins/excel/ms-escher.c, plugins/excel/ms-excel-read.c,
8668         plugins/excel/ms-excel-read.h, plugins/excel/ms-excel-util.c,
8669         plugins/excel/ms-excel-write.c, plugins/excel/ms-excel-write.h,
8670         plugins/excel/ms-formula-read.c, plugins/excel/ms-formula-write.c,
8671         plugins/excel/ms-obj.c:
8672         Adjusted function signatures, don't return TRUE/FALSE if using
8673         IOContext (we don't need boolean value as IOContext now sets
8674         "error_occurred" flag).
8676 2001-03-15  Jody Goldberg <jgoldberg@home.com>
8678         * ms-excel-read.c (ms_excel_read_row) : Handle outline mode.
8679         (ms_excel_read_colinfo) : ditto.
8680         (ms_excel_read_guts) : ditto.
8682 2001-03-17  Jody Goldberg <jgoldberg@home.com>
8684         * Release 0.64
8686 2001-03-02  Jody Goldberg <jgoldberg@home.com>
8688         * ms-formula-read.c (getRefV8) : rewrite to handled sign extension
8689           correctly (I Hope) for the various shared/unshared states.
8690         (getRefV7) : ditto.
8692 2001-02-24  Jody Goldberg <jgoldberg@home.com>
8694         * ms-excel-read.c (ms_excel_read_colinfo) : work around some strange
8695           widths from a test sheet.
8697 2001-02-23  Jody Goldberg <jgoldberg@home.com>
8699         * Release 0.63
8701 2001-02-19  Jon K Hellan  <hellan@acm.org>
8703         * boot.c (excel_load, excel_init): Change file format level to
8704         FILE_FL_MANUAL_REMEMBER.
8706 2001-02-16  Jody Goldberg <jgoldberg@home.com>
8708         * ms-formula-write.c (write_node) : Use some code from expr.c
8709           to simplify binary/unary output and to add parens when necessary.
8711         * ms-excel-write.c (write_formula) : Start at paren level 0.
8712         (write_names) : ditto.
8714 2001-02-16  Jody Goldberg <jgoldberg@home.com>
8716         * Release 0.62
8718 2001-02-15  Jody Goldberg <jgoldberg@home.com>
8720         * ms-excel-read.c (ms_sheet_obj_realize) : Add a missing call to
8721           sheet_object_set_sheet.  Without this the objects are lost in limbo.
8723 2001-02-11  Jody Goldberg <jgoldberg@home.com>
8725         * ms-excel-read.c (ms_sheet_obj_create) : add option button.
8727 2001-02-10  Jon K Hellan  <hellan@acm.org>
8729         * ms-excel-read.c (ms_excel_init_margins): New
8730         function. Initialize margins to Excel defaults.
8731         (ms_excel_sheet_new): Call ms_excel_init_margins.
8733         * ms-excel-write.c (write_sheet_bools): Write margins also for
8734         biff 7 (which is what we actually use).
8736 2001-02-09  Jody Goldberg <jgoldberg@home.com>
8738         * ms-excel-read.c (ms_sheet_obj_create) : don't free the object on
8739           failure.
8741         * ms-obj.c (ms_read_OBJ) : free it here on failure.
8743         * ms-container.c (ms_container_finalize) : fix leak.
8745 2001-02-06  Jody Goldberg <jgoldberg@home.com>
8747         * ms-excel-read.c (ms_excel_read_default_col_width) : typo.
8749 2001-02-06  Jody Goldberg <jgoldberg@home.com>
8751         * ms-excel-read.c (ms_excel_read_default_col_width) : Init and cache
8752           the default column width here directly.
8753         (ms_excel_read_colinfo) : Use the font associated with the specified
8754           xf record to calculate the width.
8755         (get_base_char_width) : delete.
8756         (init_base_char_width_for_read) : rename base_char_width_for_read.
8757         (base_char_width_for_read) : take the xf index as an argument and
8758           return rather than caching the results.
8760 2001-01-30  Jody Goldberg <jgoldberg@home.com>
8762         * ms-excel-write.c (new_sheet) : adjust semantics of get extent.
8764 2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>
8766         * ms-excel-read.c (ms_excel_read_selection):
8767         Rename sheet_selection_reset_only to sheet_selection_reset.
8769 2001-01-17  Michael Meeks  <michael@helixcode.com>
8771         * ms-escher.c (ms_escher_read_Blip): fix eog oafiid.
8773 2001-01-08  Jody Goldberg <jgoldberg@home.com>
8775         * ms-excel-read.c (ms_sheet_obj_create) : remove stale debugging.
8777 2001-01-08  Jody Goldberg <jgoldberg@home.com>
8779         * ms-excel-write.c (put_mstyle) : add a ref when the style is put in
8780           the table.
8781         (xf_free) : release the default style.
8783 2000-12-31  Jody Goldberg <jgoldberg@home.com>
8785         * ms-excel-read.c (ms_excel_set_xf) : remove cruft with triple styles.
8786         (biff_xf_data_new) : Ditto.
8787         (ms_excel_set_xf_segment) : Ditto.
8788         (biff_xf_data_destroy) : Ditto.
8790         * ms-excel-write.c (build_xf_data) : remove cruft with triple styles.
8792 2001-01-01  Jon K Hellan  <hellan@acm.org>
8794         * ms-excel-write.c (write_window1): Take WorkbookView
8795         parameter. Save width, height and flags for
8796         show_horizontal_scrollbar, show_vertical_scrollbar and
8797         show_notebook_tabs
8798         (write_bits, write_sheet_tail): Call write_window1 with
8799         WorkbookView parameter.
8801         * ms-excel-read.c (ms_excel_read_window1): New function -
8802         separated out of ms_excel_read_workbook. Read BIFF WINDOW1 record.
8803         Fix some typos: Some fields were 32bit, should be 16 bit.
8804         (ms_excel_read_workbook): Separated out ms_excel_read_window1.
8806 2000-12-20  Jody Goldberg <jgoldberg@home.com>
8808         * ms-chart.c (BC_R(ai)) : Use ms_container_parse_expr.
8810         * ms-container.c (ms_container_parse_expr) : new function.
8812         * ms-excel-read.c (ms_sheet_parse_expr_internal) : implement parse_expr.
8814 2000-12-17 Jody Goldberg <jgoldberg@home.com>
8816         * Release 0.61
8818 2000-12-09  Jody Goldberg <jgoldberg@home.com>
8820         * ms-excel-read.c (ms_sheet_obj_create) : changes to sheet object
8821           constructor arguments.
8823 2000-12-07  Jody Goldberg <jgoldberg@home.com>
8825         * ms-excel-read.c (ms_excel_get_style_from_xf) : enable indent.
8827 2000-12-7  Jody Goldberg <jgoldberg@home.com>
8829         * Release 0.60
8831 2000-12-05  Jody Goldberg <jgoldberg@home.com>
8833         * ms-excel-read.c (ms_excel_read_mergecells) : enable merged cells.
8835 2000-12-05  Jody Goldberg <jgoldberg@home.com>
8837         * ms-escher.c (ms_escher_read_Blip) : revert to using the old
8838           non-installed image viewer.  The one in eog/viewer does not work.
8839           the one in eog/bonobo does.
8841 2000-12-04  Jody Goldberg <jgoldberg@home.com>
8843         * ms-excel-read.c (ms_sheet_obj_create) : fix warnings.
8845 2000-12-02  Jody Goldberg <jgoldberg@home.com>
8847         * ms-escher.c (ms_escher_read_Blip) : Change image viewers.  The
8848           eog/bonobo viewer is no longer built or installed.
8850         * ms-excel-read.c (ms_excel_read_sheet) : XL docs do not mention that
8851           the PROTECT record can sometimes be of size 0.
8852         (ms_excel_read_workbook) : Ditto.
8853         (ms_excel_read_PROTECT) : new function.
8854         (ms_excel_read_mergecells) : Correct.
8855         (biff_xf_data_new) : remove the warnings about merged cells.
8857 2000-12-01  Jody Goldberg <jgoldberg@home.com>
8859         * ms-obj.c (ms_read_OBJ) : simplify.
8861         * ms-excel-write.c (write_biff7_comments) : slight reorg to handle to
8862           style cell comments.
8864         * ms-excel-read.c (ms_excel_read_comment) : revamp for new cell
8865           comment technique.
8867         * ms-excel-read.c (ms_sheet_obj_anchor_to_pos) : Update to the new
8868           sheetObject anchor scheme.  The sheet does NOT yet support this form
8869           of anchor.  We'll need to add it in the next couple of days.
8870         (ms_sheet_obj_create) : create the sheet objects directly.
8872         * ms-escher.c (ms_escher_read_ClientData) : set the picture here
8873           directly.
8875 2000-12-01  Jody Goldberg <jgoldberg@home.com>
8877         * ms-container.c (ms_container_get_blip) : new function.
8878         (ms_container_init) : Add ability to share blip lists between
8879           containers.  We need to figure out the semantics of this.
8880         (ms_container_finalize) : Ditto.
8881         (ms_container_set_blips) : Ditto.
8883 2000-11-19  Jon K Hellan  <hellan@acm.org>
8885         * ms-excel-write.c (write_externsheets): Make EXTERNCOUNT be the
8886         number of EXTERNSHEETS we actually store. This stops Excel from
8887         crashing. See bug #32096. We still have to figure out what to
8888         store as EXTERNSHEETS and when. What we're doing isn't right.
8890 2000-11-18  Jody Goldberg <jgoldberg@home.com>
8892         * Release 0.59
8894 2000-11-13  Jody Goldberg <jgoldberg@home.com>
8896         * Release 0.58
8898 2000-11-13  Morten Welinder  <terra@diku.dk>
8900         * ms-excel-read.c (ms_excel_get_style_from_xf): Fix some
8901         style_color reference count problems.
8902         (ms_excel_set_xf_segment): Plug leak.
8904 2000-11-10  Jody Goldberg <jgoldberg@home.com>
8906         * excel_builtin_formats : Correct long standing typos.
8908 2000-11-10  Jody Goldberg <jgoldberg@home.com>
8909         Patch from Juan Pablo Mendoza <pablo_juan@yahoo.com>
8911          * ms-excel-write.c (write_biff7_comments): New function.
8912          (write_sheet): Use it.
8914 2000-11-07  Jody Goldberg <jgoldberg@home.com>
8916         * ms-excel-read.c (biff_name_data_get_name) : Cleanup a bit.
8918 2000-11-02  Jody Goldberg <jgoldberg@home.com>
8920         * ms-chart.c (ms_excel_chart) : remove check for BOF type == chart.
8921           in BIFF5 it is possible to.
8923         * ms-excel-read.c (ms_excel_read_sheet) : If we find a CHART_unit
8924           record parse the following records as if they were a chart.
8926 2000-11-01  Jody Goldberg <jgoldberg@home.com>
8928         * ms-excel-read.c (ms_excel_sheet_set_comment) : we do not need to set
8929           the cell's value to empty.  It is created that way.
8930         (ms_excel_read_comment) : Ditto.
8931         (ms_excel_sheet_insert_val) : We have direct access to the display
8932           format.  Use it rather than doing an expensive lookup.
8934 2000-10-29  Jody Goldberg <jgoldberg@home.com>
8936         * ms-excel-read.c : Adjust to the signature changes for reading views
8937           rather than workbooks.
8938         * ms-excel-write.c : ditto.
8939         * boot.c : ditto.
8941 2000-10-28  Jody Goldberg <jgoldberg@home.com>
8943         * ms-excel-util.c (init_xl_font_widths) : Add CG Times.
8945 2000-10-30  Morten Welinder  <terra@diku.dk>
8947         * ms-biff.c (biff_getdouble, biff_setdouble): Delete.  Replace all
8948         callers with gnumeric_get_le_double and gnumeric_set_le_double.
8950 2000-10-21  Jody Goldberg <jgoldberg@home.com>
8952         * ms-excel-read.c (ms_excel_read_row) : Fix bounds.
8953         (ms_excel_set_xf_segment) : Be more careful about bounds.
8955 2000-10-10  Jody Goldberg <jgoldberg@home.com>
8957         * Release 0.57
8959 2000-10-04  Jody Goldberg <jgoldberg@home.com>
8961         * ms-excel-read.c (biff_get_rk) : Fix ancient thinko.  Thanks to
8962           heiko@hexco.de for noticing this.
8964 2000-09-20  Jody Goldberg <jgoldberg@home.com>
8966         * ms-formula-read.c (ms_excel_parse_formula) : Make the warning
8967           quieter.
8969 2000-09-10  Jody Goldberg <jgoldberg@home.com>
8971         * ms-excel-read.c (ms_sheet_obj_realize) : Adjust to new object
8972           creation semantics.  First you create the object.  Then set its
8973           size.
8975 2000-09-06  Jody Goldberg <jgoldberg@home.com>
8977         * ms-excel-read.c (ms_excel_sheet_new) : No need to call set_zoom.
8978           sheet_new does that.
8980 2000-08-24  Jody Goldberg <jgoldberg@home.com>
8982         * ms-excel-write.c (put_format) : Ref formats as we add them.
8984 2000-08-23  Jody Goldberg <jgoldberg@home.com>
8986         * ms-excel-write.c (formats_put_magic) : Fixups after changes to
8987           format tables.  We need to store a StyleFormat, not a string.
8988         (after_put_format) : unref rather than free.
8990 2000-08-21  Jody Goldberg <jgoldberg@home.com>
8992         * ms-excel-write.c (formats_init) : The format table nows stores
8993           pointers to StyleFormats rather than their strings.
8994         (formats_get_format) : Ditto.
8995         (formats_free) : Ditto.
8996         (formats_get_index) : Ditto.
8997         (put_format) : Ditto.
8998         (write_format) : Ditto.
9000         * ms-excel-read.c (biff_format_data_lookup) : Number formats are
9001           stored in XLS using the 'C' locale. eg a french user who sees
9002           '# ##0,00' will actually save '#,##0.00'.
9003         (ms_excel_get_style_from_xf) : Kludge.  We need to actually set
9004           non-borders so that things get over ridden.  The core model needs
9005           improving before this can happen correctly.
9006         (ms_excel_get_style_from_xf) : Ditto.
9008         * ms-escher.c (ms_escher_read_Blip) : Remove gnorba.
9010         * ms-chart.c (ai) : Changes to the interface for StyleFormats.
9011         (ifmt) : Ditto.
9012         (ms_excel_chart) : Init the sheet.  Ignore BIFF_DIMENSION records for
9013           now.  I have no idea what they represenent.
9015 2000-08-20  Jody Goldberg <jgoldberg@home.com>
9017         * ms-excel-read.c (ms_excel_get_style_from_xf) : No need to use
9018           set_text.  Set the StyleFormat directly.
9020 2000-08-16  Jody Goldberg <jgoldberg@home.com>
9022         * ms-excel-util.c (init_xl_font_widths) : Tweak Times New Roman
9023           to match observations.  It seems as if the size is non-linear :-(
9024           We'll need another round of measurements to account for this.
9026 2000-08-15  Jody Goldberg <jgoldberg@home.com>
9028         * ms-chart.c (ms_excel_chart) : conditionalize debug info.
9030 2000-08-14  Jody Goldberg <jgoldberg@home.com>
9032         * ms-excel-read.c (ms_excel_set_xf) : Improve debug info.
9033         (ms_excel_set_xf_segment) : Ditto.
9034         (biff_xf_data_new) : Ditto.
9035         (ms_excel_get_style_from_xf) : Always apply the
9036           borders.  We need to apply even in the case of no border in order to
9037           over ride previously applied defaults.
9038         (ms_excel_read_row) : Apply default style to the entire row.
9040 2000-08-09  Jody Goldberg <jgoldberg@home.com>
9042         * ms-excel-read.c (ms_excel_biff_dimensions) : Move back from
9043           ms-chart.c.  It is specific to sheets.
9045 2000-07-26  Michael Meeks  <michael@helixcode.com>
9047         * README: Add some explanation of why I hate being mailed by people
9048         forking my code.
9050 2000-07-24  Jody Goldberg <jgoldberg@home.com>
9052         * ms-excel-read.c (ms_excel_read_sheet) : Adjust to changes in sheet_set_zoom_factor.
9053         (ms_excel_sheet_new) : Ditto.
9055 2000-07-13  Jody Goldberg <jgoldberg@home.com>
9057         * ms-container.c : Beginings of a some support for workbooks, and charts holding objects.
9058           Blips should become objects.
9060         * *.c : adjust to using the container abstraction.
9062 2000-07-08  Jody Goldberg <jgoldberg@home.com>
9064         * ms-formula-read.c (make_function) : Move the place holder handling
9065           into the core.
9067 2000-07-12  Michael Meeks  <michael@helixcode.com>
9069         * ms-escher.c (ms_escher_blip_destroy): unref not destroy bonobo object.
9071 2000-07-06  Jody Goldberg <jgoldberg@home.com>
9073         * ms-obj.c (ms_read_OBJ) : Take an ExcelSheet.
9075         * ms-escher.c (ms_escher_read_ClientData) : ms_read_OBJ takes a sheet.
9076         * ms-excel-read.c (ms_excel_read_sheet) : Ditto.
9077         (ms_excel_read_workbook) : Ditto.
9079         * ms-chart.c (3dbarshape) : A bit of research into probable values of
9080           the enum.
9081         (ai) : After some thought this makes more sense.  We should only see
9082           an expression if we are linked to the workbook.  Similarly we should
9083           only see a format if one is specified.  We really need to avoid this
9084           kludge of needing a dummy sheet.
9085         (areaformat) : Ignore colour index, use the stored colour.  Add some
9086           more debug info.
9087         (lineformat) : Ditto.
9088         (markerformat) : Ditto.
9089         (ms_excel_chart) : Take an optional ExcelSheet.
9090           Parse BIFF_NUMBER records when they appear.
9091         (ms_excel_read_chart) : Take an optional ExcelSheet.
9093 2000-07-05  Michael Meeks  <michael@helixcode.com>
9095         * ms-obj.c (ms_obj_realize): rename sheet_object_container constructor.
9097         * s/reproid/repo_id/
9099 2000-06-27  Jody Goldberg <jgoldberg@home.com>
9101         * ms-formula-write.c (write_node) : Handle new ExprFunction.
9103         * ms-formula-read.c (excel_formula_build_dummy_handle) : Use
9104           function_lookup_by_name.
9106         * ms-excel-read.c (ms_excel_set_xf) : Right borders dominate left
9107           borders.
9109 2000-06-23  Jody Goldberg <jgoldberg@home.com>
9111         * ms-excel-read.c (ms_excel_sheet_append_comment) : Add a lag variable
9112           to support proper merging of comments.
9113         (BIFF_NOTE) : Init the lag variable.
9115 2000-06-21  Jon K Hellan  <hellan@acm.org>
9117         * ms-excel-write.c (palette_put_defaults): Ensure that black with
9118         index 8 can't be swapped out.
9119         (fixup_fill_colors): Use index 8 instead of 0 for black in
9120         foreground. Excel is unable to open the cell format dialog for
9121         cells where foreground pattern color or border color is index 0.
9122         (build_xf_data): Borders: Use index 8 instead of 0 for black.
9124         * ms-excel-read.c (ms_excel_read_cell): Add more references to BIFF
9125         documentation.
9126         (ms_excel_read_workbook): Ditto
9128 2000-06-20  Jody Goldberg <jgoldberg@home.com>
9130         * ms-excel-read.c (ms_excel_externname) : Catch external names that
9131           are OLE or DDE links.
9133 2000-06-18  Jody Goldberg <jgoldberg@home.com>
9135         * Release 0.56
9137 2000-06-19  Jody Goldberg <jgoldberg@home.com>
9139         * ms-excel-write.c (excel_cell_get) : Add some invariants as
9140           protection.
9141         (pre_cell) : Be more careful about handling cells that are potentially
9142           out of bounds.
9144 2000-06-18  Jody Goldberg <jgoldberg@home.com>
9146         * Release 0.55
9148 2000-06-18  Jody Goldberg <jgoldberg@home.com>
9150         * ms-excel-read.c (biff_boundsheet_data_new) : Guess at some
9151           undocumented behavior.  It appears that when a sheet has a NULL
9152           name it is actually 'Sheet#'.
9154 2000-06-15  Jon K Hellan  <hellan@acm.org>
9156         * ms-excel-write.c (write_db_cell): No longer use uninitialized
9157         rc_start [i]. Purify complained, although we immediately threw
9158         away the result.
9160 2000-06-15  Jody Goldberg <jgoldberg@home.com>
9162         * ms-excel-write.c (write_formula) : Incorrect offsets for formula
9163           values with booleans and errors.
9165 2000-06-14  Morten Welinder  <terra@diku.dk>
9167         * ms-formula-write.c (ms_excel_write_formula): Plug leak.
9169         * ms-excel-write.c (ms_excel_check_write): In case of error, clear
9170         out the state.
9171         (ms_excel_write_free_state): "New" function.
9172         (write_workbook): Don't free workbook here.
9173         (ms_excel_write_workbook): Do it here and plug a leak.
9175         * boot.c (excel_save): Free the state.
9177 2000-06-07  Jody Goldberg <jgoldberg@home.com>
9179         * ms-excel-read.c (biff_format_data_lookup) : FORMAT records supercede
9180           the internal table.
9182 2000-06-05  Michael Meeks  <michael@helixcode.com>
9184         s/eBiff_version/MsBiffVersion/g;
9185         s/eBiffV([0-9]*)/MS_BIFF_V\1/g;
9186         s/eBiffVUnknown/MS_BIFF_V_UNKNOWN/g;
9188         s/eBiff_filetype/MsBiffFileType/g;
9189         s/eBiffT/MS_BIFF_TYPE_/g;
9190         s/eBiff_hidden/MsBiffHidden/g;
9191         s/eBiffHVisible/MS_BIFF_H_VISIBLE/g;
9192         s/eBiffHHidden/MS_BIFF_H_HIDDEN/g;
9193         s/eBiffHVeryHidden/MS_BIFF_H_VERY_HIDDEN/g;
9194         s/eBiff_locked/MsBiffLocked/g;
9195         s/eBiffLLocked/MS_BIFF_L_LOCKED/g;
9196         s/eBiffLUnlocked/MS_BIFF_L_UNLOCKED/g;
9197         s/eBiff_xftype/MsBiffXfType/g;
9198         s/eBiffXStyle/MS_BIFF_X_STYLE/g;
9199         s/eBiffXCell/MS_BIFF_X_CELL/g;
9200         s/eBiff_format/MsBiffFormat/g;
9201         s/eBiffFMS/MS_BIFF_F_MS/g;
9202         s/eBiffFLotus/MS_BIFF_F_LOTUS/g;
9203         s/eBiff_eastern/MsBiffEastern/g;
9204         s/eBiffEContext/MS_BIFF_E_CONTEXT/g;
9205         s/eBiffEleftToRight/MS_BIFF_E_LEFT_TO_RIGHT/g;
9206         s/eBiffErightToLeft/MS_BIFF_E_RIGHT_TO_LEFT/g;
9207         s/eBiffFontUnderline/MsBiffFontUnderline/g;
9208         s/eBiffFUNone/MS_BIFF_F_U_NONE/g;
9209         s/eBiffFUSingleAcc/MS_BIFF_F_U_SINGLE_ACC/g;
9210         s/eBiffFUDoubleAcc/MS_BIFF_F_U_DOUBLE_ACC/g;
9211         s/eBiffFUSingle/MS_BIFF_F_U_SINGLE/g;
9212         s/eBiffFUDouble/MS_BIFF_F_U_DOUBLE/g;
9213         s/eBiffFontScript/MsBiffFontScript/g;
9214         s/eBiffFSNone/MS_BIFF_F_S_NONE/g;
9215         s/eBiffFSSub/MS_BIFF_F_S_SUB/g;
9216         s/eBiffFSSuper/MS_BIFF_F_S_SUPER/g;
9217         s/eBiffHAlign/MsBiffHAlign/g;
9218         s/eBiffHAGeneral/MS_BIFF_H_A_GENERAL/g;
9219         s/eBiffHALeft/MS_BIFF_H_A_LEFT/g;
9220         s/eBiffHACenter/MS_BIFF_H_A_CENTER/g;
9221         s/eBiffHARight/MS_BIFF_H_A_RIGHT/g;
9222         s/eBiffHAFill/MS_BIFF_H_A_FILL/g;
9223         s/eBiffHAJustify/MS_BIFF_H_A_JUSTIFTY/g;
9224         s/eBuffHACenterAcrossSelection/MS_BIFF_H_A_CENTER_ACROSS_SELECTION/g;
9225         s/eBiffVAlign/MsBiffVAlign/g;
9226         s/eBiffVATop/MS_BIFF_V_A_TOP/g;
9227         s/eBiffVACenter/MS_BIFF_V_A_CENTER/g;
9228         s/eBiffVABottom/MS_BIFF_V_A_BOTTOM/g;
9229         s/eBiffVAJustify/MS_BIFF_V_A_JUSTIFY/g;
9230         s/eBiffOrient/MsBiffOrient/g;
9231         s/eBiffOHoriz/MS_BIFF_O_HORIZ/g;
9232         s/eBiffOVertHorizText/MS_BIFF_O_VERT_HORIZ/g;
9233         s/eBiffOVertVertText/MS_BIFF_O_VERT_VERT/g;
9234         s/eBiffOVertVertText2/MS_BIFF_O_VERT_VERT2/g;
9235         s/eBiffDifferences/MsBiffDifferences/g;
9236         s/eBiffDFormatbit/MS_BIFF_D_FORMAT_BIT/g;
9237         s/eBiffDFontbit/MS_BIFF_D_FONT_BIT/g;
9238         s/eBiffDAlignbit/MS_BIFF_D_ALIGN_BIT/g;
9239         s/eBiffDBorderbit/MS_BIFF_D_BORDER_BIT/g;
9240         s/eBiffDFillbit/MS_BIFF_D_FILL_BIT/g;
9241         s/eBiffDLockbit/MS_BIFF_D_LOCK_BIT/g;
9242         s/BIFF_BOF_DATA/MsBiffBofData/g;
9243         s/eBiffMaxRows/MsBiffMaxRows/g;
9244         s/eBiffMaxRowsV7/MS_BIFF_MAX_ROWS_V7/g;
9245         s/eBiffMaxRowsV8/MS_BIFF_MAX_ROWS_V8/g;
9247 2000-06-05  Michael Meeks  <michael@helixcode.com>
9249         * ms-excel-read.c (sst_bound_check): Update so we can't miss
9250         adjacent records and we check for continues.
9252 2000-06-03  Michael Meeks  <michael@helixcode.com>
9254         * ms-obj.c (ms_read_TXO): fix memory corruption bug with continue.
9256         * ms-escher.c (ms_escher_read_Blip): update for Oaf.
9258         * ms-biff.c (ms_biff_query_new): kill merging.
9259         (ms_biff_merge_continues): kill forever.
9260         (ms_biff_query_next_merge): rename to (ms_biff_query_next): and
9261         clean. (ms_biff_query_unmerge): kill.
9263 2000-06-02  Michael Meeks  <michael@helixcode.com>
9265         * ms-excel-read.c (biff_get_text): hack nasty auto-header
9266         detection. (read_sst): split from (ms_excel_read_workbook).
9267         (get_xtn_lens): split from (biff_get_text).
9268         (get_utf8_chars, get_string, sst_boundcheck): implement.
9270 2000-01-31  Michael Meeks  <mmeeks@gnu.org>
9272         * ms-obj.c (ms_read_TXO): re-implement to swallow CONTINUEs &
9273         make safer.
9275         * ms-biff.c (ms_biff_query_next_merge): hack do_merge = FALSE
9276         for now; big clean possible later.
9278         * ms-escher.c (ms_escher_read_Blip): always use image-generic;
9279         it works, disable writing image files unless debugging.
9280         (write_file): conditional compile out.
9281         (ms_escher_get_data): add BIFF_CONTINUE.
9283 2000-01-30  Michael Meeks  <michael@mejm2.dow.cam.ac.uk>
9285         * ms-excel-read.c (ms_excel_read_sheet): kill blank_sheet_pos.
9287 2000-05-30  Michael Meeks  <michael@helixcode.com>
9289         * Makefile.am (INCLUDES): kill explicit libole2 include.
9291 2000-05-20  Jody Goldberg <jgoldberg@home.com>
9293         * Release 0.54
9295 2000-05-18  Jody Goldberg <jgoldberg@home.com>
9297         * ms-excel-read.c (ms_excel_read_mergecells) : Produce a warning.
9299 2000-05-11  Michael Meeks  <michael@helixcode.com>
9301         * boot.c (excel_load): add basic hooks.
9303         * excel.h: ditto.
9305 2000-05-16  Michael Meeks  <michael@helixcode.com>
9307         * Makefile.am (INCLUDES): add libole2 include.
9309 2000-05-11  Michael Meeks  <michael@helixcode.com>
9311         * *.[ch]: update libole2 includes.
9313         * Makefile.am (INCLUDES): kill libole2 kludge.
9315 2000-05-09  Jody Goldberg <jgoldberg@home.com>
9317         * Release 0.53
9319 2000-05-05  Jody Goldberg <jgoldberg@home.com>
9321         * ms-formula-read.c (ms_excel_parse_formula) : Improve warning when we
9322           encounter unknown ptgAttr flags.
9324 2000-05-03  Jody Goldberg <jgoldberg@home.com>
9326         * ms-excel-read.c : Include eval.h to suppress warning.
9328 2000-05-03  Jody Goldberg <jgoldberg@home.com>
9330         * ms-excel-write.c (write_cell) : Use parse_pos_init_cell.
9332         * ms-excel-read.c (ms_excel_read_formula) : No need to manually
9333           cleanout the old value.  The various assignment routines take care
9334           of that.
9335           Honour the recalc flags for expressions.  Array expressions are
9336           still unconditionally recalced, but the common case is handled
9337           correctly.
9339 2000-04-24  Jody Goldberg <jgoldberg@home.com>
9341         * ms-excel-read.c : format police.
9343 2000-04-21  Jody Goldberg <jgoldberg@home.com>
9345         * ms-excel-read.c (ms_excel_sheet_insert) : Use cell_set_value
9346           rather than cell_set_text to avoid attempting to parse the string.
9348 2000-04-20  Jody Goldberg <jgoldberg@home.com>
9350         * ms-excel-read.c (ms_excel_sheet_insert) : formats are no longer
9351           associated with individual cells.  Only create a cell if it has
9352           content.
9353         (ms_excel_formula_shared) : Rework to return the expression.  Only set
9354           it if it is an array.
9355         (ms_excel_read_formula) : Use error values for problems not strings.
9356           Use cell_set_expr_and_value when possible.
9357         (ms_excel_read_workbook) : Disable optimization that was culling blank
9358           sheets.  It was causing a complete recalc of all loaded books for
9359           eavy deleted sheet.
9361 2000-04-20  Dan Winship  <danw@helixcode.com>
9363         * ms-escher.c (ms_escher_blip_new): update for changes to bonobo
9365 2000-04-09  Morten Welinder  <terra@diku.dk>
9367         * ms-excel-read.c (ms_excel_sheet_append_comment): Constify.
9368         (ms_excel_sheet_set_comment): Ditto.
9369         (ms_excel_read_sheet): Plug leak.
9371 2000-04-08  Jon K Hellan  <hellan@acm.org>
9373         * ms-excel-read.c (ms_excel_set_xf, ms_excel_read_formula,
9374         ms_excel_read_sheet):  Use
9375         gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
9376         output.
9377         (ms_excel_read_workbook): Remove unused variable to silence
9378         warning.
9380         * ms-excel-write.c (write_externsheets): Output
9381         gnum_sheet->name_quoted instead of gnum_sheet->name. FIXME: Is
9382         this correct?
9383         (write_sheet): Use gnum_sheet->name_unquoted instead of
9384         gnum_sheet->name in debug output.
9385         (write_workbook): Output gnum_sheet->name_unquoted instead of
9386         gnum_sheet->name.
9388         * ms-formula-read.c (ms_excel_parse_formula): Use
9389         gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
9390         output.
9392         * ms-obj.c (object_anchor_to_position): Ditto.
9394 2000-04-06  Jody Goldberg <jgoldberg@home.com>
9396         * ms-excel-read.c (ms_excel_read_workbook) : Move deep freeze/thaw to
9397           a higher level.
9399 2000-04-06  Jody Goldberg <jgoldberg@home.com>
9401         * ms-formula-read.c (ms_excel_parse_formula) : Adjust to change in
9402           value_new_range.
9404 2000-04-04  Jody Goldberg <jgoldberg@home.com>
9406         * ms-obj.c (ms_obj_read_biff8_obj) : Be more careful about when to
9407           dump debug info when the stated record size disagrees with the
9408           actual.
9410 2000-03-24  Jody Goldberg <jgoldberg@home.com>
9412         * *.[ch] : Update copywrite years.
9414         * ms-obj.c (ms_read_OBJ) : improve debug output.
9415         (ms_obj_read_biff8_obj) : Try a new heuristic for dealing with trailing IMDATA.
9417 2000-03-23  Jody Goldberg <jgoldberg@home.com>
9419         * ms-excel-read.c (biff_xf_data_new) : Support horizontal alignment
9420           center_across_selection.
9422         * ms-excel-write.c (halign_to_excel) : Ditto.
9424         * ms-obj.c (object_anchor_to_position) : remove some debug code.
9426 2000-03-23  Jon K Hellan  <hellan@acm.org>
9428         * boot.c (excel_load): No longer add ".gnumeric" to filename. Set
9429         save info. Tag filename as MANUAL. We could make it AUTO soon.
9430         (excel_init): Tag saver as MANUAL.
9432 2000-03-22  Jody Goldberg <jgoldberg@home.com>
9434         * ms-excel-read.c (biff_xf_data_new) : Add some warnings for
9435           unsupported rotated text.
9437 2000-03-21  Jody Goldberg <jgoldberg@home.com>
9439         * ms-excel-util.c (init_xl_font_widths) : Add Geneva.
9441         * ms-excel-read.c (biff_xf_data_new) : Have the horizontal alignment
9442           type center_across_selection default to 'center' instead.
9443         (ms_excel_read_workbook) : Be more explicit about NOT supporting 1904
9444           dates as yet.
9446 2000-03-14  Jody Goldberg <jgoldberg@home.com>
9448         * ms-excel-read.c (biff_xf_data_new) : Remove warning about parent
9449           styles not == 0.  I finally understand what the semantics of this
9450           are.  Style 0 is 'Normal' this test was doing nothing accept
9451           discriminating agains 'Comma' and its friends.  We need to extend
9452           the gnumeric notion of styles to include the limited form of
9453           inheritance embodied by XL.
9455         * ms-obj.c (object_anchor_to_position) : Be VERY careful.
9457 2000-03-13  Jody Goldberg <jgoldberg@home.com>
9459         * ms-obj.c (object_anchor_to_position) : Be more careful handling out
9460           of bounds conditions.  Part of bug 7312.
9462 2000-03-09  Jody Goldberg <jgoldberg@home.com>
9464         * ms-excel-read.c (ms_excel_get_style_from_xf) : Tweak colour
9465           selection for contrasting colours.  FIXME : We really need to find
9466           something more definative than this guess work.
9468         * ms-excel-read.c (ms_excel_read_selection) : Do not reset the
9469           edit cursor.  It needs more work to be correct.
9471 2000-03-09  Jody Goldberg <jgoldberg@home.com>
9473         * ms-excel-util.[ch] (lookup_font_base_char_width) : Delete.
9475         * ms-excel-read.c (ms_excel_get_style_from_xf) : Adjust bottom and
9476           right borders to be top & left of neighbouring cells.
9477         (ms_excel_set_xf) : Ditto.
9478         (ms_excel_set_xf_segment) : Ditto.
9480 2000-03-05  Jon K Hellan  <hellan@acm.org>
9482         * ms-excel-write.c (lookup_base_char_width_for_write): Rename to
9483         init_base_char_width_for_write. Init width and default width.
9484         (get_base_char_width): Add is_default parameter.
9485         (write_colinfo, write_default_col_width): Use it.
9487         * ms-excel-write.h (struct _ExcelSheet): Add base_char_width_default.
9489         * ms-excel-write.c (excel_font_to_string, excel_font_new,
9490         excel_font_hash, excel_font_equal, write_font): Handle underline,
9491         strikethrough.
9493         * ms-excel-write.h (struct _ExcelFont): Ditto
9495 2000-03-05  Jody Goldberg <jgoldberg@home.com>
9497         * ms-excel-read.c (ms_excel_get_style_from_xf) : enable strikethrough.
9499 2000-03-01  Jody Goldberg <jgoldberg@home.com>
9501         * ms-excel-read.c (biff_font_data_new) : Fix old typo.
9503 2000-02-29  Jody Goldberg <jgoldberg@home.com>
9505         * ms-excel-read.c (ms_excel_get_style_from_xf) : Add support for
9506           importing underlines.
9508 2000-02-18  Jody Goldberg <jgoldberg@home.com>
9510         * ms-excel-read.c (ms_excel_get_style_from_xf) : Hard code 'auto'
9511           border colours to black for now.  We are not guessing well.
9513 2000-02-15  Jody Goldberg <jgoldberg@home.com>
9515         * ms-obj.c (object_anchor_to_position) : Improve debug output.
9517         * ms-excel-read.c (ms_excel_sheet_new) : Add new member base_char_width_default.
9518         (print_font_mapping_debug_info) : Delete.
9519         (lookup_base_char_width_for_read) : Rename init_base_char_width_for_read,
9520           and use lookup_font_base_char_width_new to init the width and the
9521           default_width.
9522         (get_base_char_width) : Adjust.
9523         (ms_excel_read_colinfo) : Width is different from default_width...  Idiots!
9524         (ms_excel_read_default_col_width) : Ditto.
9526         * ms-excel-util.c : Add lookup tables for various standard widths of
9527           MS fonts.  Use a quick and dirty linear scaling to calculate the
9528           widths of arbitrary font sizes.
9530 2000-02-14  Jody Goldberg <jgoldberg@home.com>
9532         * ms-excel-read.c (ms_excel_read_row) : heights are specified
9533           including margins and 1 grid line.  Do not use get_units_net_of_margins.
9534         (get_units_net_of_margins) : Delete.
9536 2000-02-13  Jody Goldberg <jgoldberg@home.com>
9538         * ms-excel-read.c (ms_excel_read_workbook) : Adjust WINDOW size
9539           measurements from points to pixels.
9541 2000-02-12  Jody Goldberg <jgoldberg@home.com>
9543         * ms-excel-read.c (ms_excel_read_default_col_width) : Margins are
9544           internal now.
9545         (ms_excel_read_default_row_height) : Ditto.
9546         (ms_excel_read_colinfo) : Ditto.
9547         (ms_excel_read_row) : Adjust to changes in margins and step closer to
9548           handling think margins.
9550         * ms-excel-write.c (write_rowinfo) : Use the size_pts member directly.
9551         (write_colinfos) : ditto.
9553         * ms-obj.c (object_anchor_to_position) : Adjust to name and semantic
9554           changes of size_pixels.  Denominate things in pixels.
9556 2000-02-06  Michael Meeks  <michael@helixcode.com>
9558         * ms-excel-read.c (ms_excel_read_workbook): Move failed sheet removal
9559         here + add pristine culling instead of 0 byte in sheet header, may
9560         introduce bugs but will help fix sheet_is_pristine. Fix potential
9561         sheet object leak. (ms_excel_read_sheet): do not detach in error case.
9563 2000-01-30  Jon K Hellan  <hellan@acm.org>
9565         * ms-excel-write.c (write_sheet): Correct the max no. of rows check.
9567 2000-01-29  Jody Goldberg <jgoldberg@home.com>
9569         * ms-excel-read.c (ms_excel_read_workbook) : Correct the error
9570           handling.
9572 2000-01-29  Jon K Hellan  <hellan@acm.org>
9574         Megacommit.
9576         The purpose of the changeset is twofold:
9578         1. Use CommandContexts for error reporting for file read/save.
9579         2. This allows us to let FileFormatOpen return 0 on success, -1 on
9580            failure, same as FileFormatSave. The convention to return NULL
9581            on success was highly ideosyncratic.
9583         * excel.h (ms_excel_read_workbook, ms_excel_write_workbook) Add
9584         CommandContext. Return int.
9586         * ms-excel-read.c (ms_excel_read_workbook): Add
9587         CommandContext. Return 0 on success, -1 on failure. Use
9588         gnumeric_error_read to display messages.
9590         * ms-excel-write.c (write_sheet): Check max no. of rows for the
9591         format.
9592         (new_sheet): Return the ExcelSheet. Let caller add it to
9593         wb->sheets.
9594         (pre_pass): Add CommandContext.
9595         (free_workbook): New function, previously in write_workbook.
9596         (write_workbook): Change parameter from Workbook to ExcelWorkbook.
9597         Move deallocation to free_workbook.
9598         (check_sheet): New function. Check if we are able to save the
9599         sheet.
9600         (ms_excel_check_write): New function. Check if we are able to save
9601         to the file. Do initialization previously in
9602         ms_excel_write_workbook.
9603         (ms_excel_write_workbook): Add CommandContext. Add state. Change
9604         wb from Workbook to ExcelWorkbook. Use gnumeric_error_save to
9605         report problems. Return 0 on success, -1 on failure.
9607         * ms-excel-biff.h: Define enum for max no. of rows. Fix typo.
9609         * boot.c (excel_load, excel_save, excel_save_98, excel_save_95):
9610         Add CommandContext.
9611         (excel_load): Return 0 on success, -1 on failure.
9612         Use gnumeric_error_read to display messages. Remove "Opening .. "
9613         message on stdout.
9614         (excel_probe_write): New function. Check if we are able to save to
9615         the file.
9616         (excel_save): Use gnumeric_error_save to display messages.
9617         Return 0 on success, -1 on failure.
9619 2000-01-18  Jody Goldberg <jgoldberg@home.com>
9621         * ms-formula-read.c (ms_excel_parse_formula) : Add OPER_UNARY_PLUS.
9623         * ms-formula-write.c (write_node) : Ditto.
9625         * ms-excel-read.c (get_units_net_of_margins) : Return 1 when faced
9626           with < 0 sized things.
9627         (ms_excel_read_row) : Support hidden rows.
9628         (ms_excel_read_colinfo) : Support hidden columns.
9630 2000-01-17  Frank Chiulli  <fc-linux@home.com>
9632         * ms-summary.c (ms_summary_write): Turn on writing out the
9633           DocumentSummaryInformation stream.
9635 2000-01-17  Jody Goldberg <jgoldberg@home.com>
9637         * ms-excel-write.c : Remove unused xml includes.
9639 2000-01-17  Jody Goldberg <jgoldberg@home.com>
9641         * ms-chart.c (ms_excel_chart) : Apparently BIFF_NUMBER records show up
9642           in charts.
9644         * ms-excel-read.c (ms_excel_read_workbook) : Improve sizing of
9645           window, Use the support for some of the new preferences
9646           hiding scrollbars, and notebooktabs.
9648         * ms-excel-read.c (ms_excel_read_sheet) : Use support for
9649           hidden grid lines, hidden formulas, hidden zeros, hidden
9650           row/col headers.  Use the information on where the upper left
9651           corner is.
9653 2000-01-14  Jon K Hellan  <hellan@acm.org>
9655         * ms-excel-write.h: (ExcelWorkbook): Make
9656         sheet->cells an array of arrays.
9658         * ms-excel-write.c (excel_cell_get): Make inline.
9659         (excel_cell_get, new_sheet, new_sheet, free_sheet): Make
9660         sheet->cells an array of arrays.
9662 2000-01-13  Jody Goldberg <jgoldberg@home.com>
9664         * ms-excel-read.c (ms_excel_read_workbook) : Move magic scale hack
9665           into a single #define.  Use workbook_view_set_size.
9667 2000-01-10  Jody Goldberg <jgoldberg@home.com>
9669         * ms-obj.c (ms_read_TXO) : Return the string generated rather than
9670           leaking it.
9671         (ms_read_OBJ) : Don't warn about comments, they are not sheet objects
9672           which breaks the whole function of this routine but they are not
9673           unexpected.  If we can figur eout how to store the string associated
9674           with the TXO nearby with this object and get that cleaned up on
9675           time and referencable by obj-ID then we can fix comment import.
9677         * ms-excel-read.c (ms_excel_read_sheet) : Improve handling for
9678           WINDOW1 and warn about more unsupported cases.  Tweak zoom factor
9679           by 1.4 to be less ugly. (ICK !  HACK!)
9680         (ms_excel_read_workbook) : WINDOW2 is a sheet level
9681           descriptor.  Add handle for WINDOW1.
9682         (ms_excel_sheet_new) : ICK!  hard code a scale
9683           factor of 1.4 to get things to be less ugly.
9685 2000-01-05  Jon K Hellan  <hellan@acm.org>
9687         * ms-excel-write.c (write_colinfos): Fix off by one error.
9688         (write_sheet_bools): Ditto.
9690 2000-01-03  Jody Goldberg <jgoldberg@home.com>
9692         * ms-excel-read.c (ms_excel_read_sheet) : extend support for WINDOW2.
9693         (ms_excel_read_selection) : Remove hack to set visible location.
9695 1999-12-30  Jody Goldberg <jgoldberg@home.com>
9697         * ms-excel-read.c (ms_excel_workbook_new) : Return error messages.
9698         (ms_excel_read_workbook) : If a file is password protected do NOT
9699           attempt to read it.
9701         * boot.c (excel_load) : return error messages.
9703 1999-12-23  Jon K Hellan  <hellan@acm.org>
9705         * ms-excel-write.c (write_bits): Use "The Free Software
9706         Foundation" as name.
9708         * excel.h (WRITEACCESS_LEN): Define it.
9710 1999-12-21  Jon K Hellan  <hellan@acm.org>
9712         * ms-excel-write.c (write_index, write_db_cell, write_block,
9713         write_sheet): Write row info records in blocks of 32. Excel was
9714         unable to read files we made if they were over 517 rows. Limit is
9715         now pushed to 16544.
9716         (write_index): Assertion no longer true - removed it. Refer to
9717         Excel doc page.
9718         (write_db_cell): Write offsets for all rows in block in single
9719         record. Add number of rows parameter.
9720         (write_block): New function. Write a block of rows. Previously
9721         part of write_sheet, but changed for blocked row info.
9722         (write_sheet): Move inner loop to write_block.
9723         (new_sheet): Initialize sheet->cells to 0.
9725         * excel.h (ROW_BLOCK_MAX_LEN): Define.
9727 1999-12-21  Jon K Hellan  <hellan@acm.org>
9729         * ms-excel-write.c (fixup_fill_colors): Fix minor bug.
9731 1999-12-17  Jon K Hellan  <hellan@acm.org>
9733         * ms-excel-write.h (struct _ExcelCol ): define it
9734         (struct _ExcelSheet): Add base_char_width
9736         * ms-excel-write.c (log_put_color, palette_get_index,
9737         gather_palette, write_palette, excel_font_new, excel_font_hash,
9738         excel_font_equal, after_put_format, map_pattern_index_to_excel,
9739         halign_to_excel, valign_to_excel, fixup_fill_colors,
9740         get_xf_differences, log_xf_data, build_xf_data,
9741         write_xf_magic_record, write_value, write_formula, write_cell,
9742         write_mulblank, pre_pass): Cosmetics
9743         (write_font, write_fonts, write_format, write_formats,
9744         write_xf_record, write_xf, write_workbook): Conform to
9745         conventional parameter order
9746         (orientation_to_excel, border_type_to_excel): Make inline
9747         (write_default_row_height): New function. Write default row
9748         height.
9749         (lookup_base_char_width_for_write): New function. Locate font for
9750         measuring base char width, and call measuring function.
9751         (get_base_char_width): New function: Return base char width for
9752         column sizing.
9753         (write_default_col_width): New function. Write default col width.
9754         (write_colinfo): New function. Write column info for a run of
9755         identical columns
9756         (write_colinfos): New function. Write column info for all columns.
9757         (write_sheet_bools): Use write_default_row_height,
9758         write_default_col_width, write_colinfos.
9759         (write_sheet_bools):
9760         (write_rowinfo): Write true row height. Add sheet to signature.
9761         (write_sheet): Add sheet to write_rowinfo call.
9762         (new_sheet): Initialize base_char_width.
9764         * ms-excel-util.h: #include <sheet.h>
9765         (EXCEL_DEFAULT_CHAR_WIDTH): Move here from ms-excel-read.h
9766         (lookup_font_base_char_width): Declare it.
9768         * ms-excel-util.c (lookup_font_base_char_width): New
9769         function. Measure "base character width" of font. Previously in
9770         lookup_base_char_width in ms-excel-read.c
9772         * ms-excel-read.c: #include ms-excel-util.h
9773         (lookup_base_char_width_for_read): Renamed from
9774         lookup_base_char_width because of similar, but different function
9775         in ms-excel-write.c. Split in two. Font locating stays here. Font
9776         measuring moved to new function lookup_font_base_char_width in
9777         ms-excel-util.c
9778         (get_base_char_width): Use lookup_base_char_width_for_read.
9779         (ms_excel_read_default_row_height): Refer to Excel doc page.
9780         (ms_excel_read_default_col_width): Ditto
9782 1999-12-14  Jon K Hellan  <hellan@acm.org>
9784         * ms-excel-write.h (XF_MAGIC, PALETTE_ALSO_BLACK, FILL_MAGIC,
9785         BORDER_MAGIC): define
9786         (PALETTE_WHITE, PALETTE_BLACK): Fix typo, they were switched around.
9788         * ms-excel-write.c (put_colors): Include border colors.
9789         (excel_font_new): Newline to conform to coding style.
9790         (fonts_get_font): New function. Get font, given index.
9791         (fonts_free, write_fonts): Use it.
9792         (write_font): Fix boldstyle typo.
9793         (formats_get_format): New function. Get format, given index.
9794         (formats_free, write_format): Use it.
9795         (xf_get_mstyle): New function. Get mstyle, given index.
9796         (xf_free): Use it.
9797         (halign_to_excel):
9798         New function. Map horizontal alignment to Excel bitfield
9799         (valign_to_excel):
9800         New function. Map vertical alignment to Excel bitfield.
9801         (orientation_to_excel):
9802         New function. Map text orientation to Excel bitfield.
9803         (border_type_to_excel):
9804         New function. Map border type to Excel bitfield.
9805         (fixup_fill_colors):
9806         New function. Kluge fill foreground and background colors.
9807         (get_xf_differences): Fill out map of differences to parent style.
9808         (log_xf_data):
9809         New function. Log XF data for a record about to be written. Pulled
9810         out of write_xf_record.
9811         (build_xf_data): New function. Build XF data for a style. Pulled
9812         out of write_xf_record, but uses BiffXFData struct. Add support
9813         for borders, alignments, wrap, rotation. Change some
9814         local variable names for consistency with import code.
9815         (write_xf_magic_record): Comment magic color value.
9816         (write_xf_record): Change signature, take BiffXFData instead of
9817         mstyle. Simplify by moving out logging and marshaling. Make more
9818         complex by writing borders, alignment, wrap, rotation.
9819         (write_xf): Use xf_get_mstyle, build_xf_data, log_xf_data.
9821         * ms-excel-util.h: Fix typo.
9823         * ms-excel-xf.h: New file for BiffXFData struct def.
9825         * ms-excel-read.c: Move BiffXFData struct def to
9826         ms-excel-xf.h. Include ms-excel-xf.h. Remove include "border.h" -
9827         ms-excel-xf.h includes it.
9828         (ms_excel_get_style_from_xf): Express some bewilderment.
9830         * ms-excel-biff.h: Define enums for horizontal alignment, vertical
9831         alignment, text orientation, difference bits
9833 1999-12-11  Frank Chiulli  <fchiulli@home.com>
9835         * ms-summary.c (ms_summary_write): comment out DocumentSummary.
9837         * boot.c (excel_save): re-enable summary write.
9839 1999-12-14 Valerie A Henson  <val@nmt.edu>
9841         * ms-obj.c: s/dump/ms_ole_dump/
9843         * ms-biff.c: s/dump/ms_ole_dump/
9845         * ms-formula-read.c: s/dump/ms_ole_dump/
9847         * ms-excel-read.c: s/dump/ms_ole_dump/
9849 1999-12-09  Jon K Hellan  <hellan@acm.org>
9851         * ms-excel-write.c (excel_font_hash, excel_font_equal, excel_font_free):
9852         fixup pointer bits.
9854 1999-12-08  Jon K Hellan  <hellan@acm.org>
9856         * ms-excel-write.c: (palette_color_to_int): New function. Convert
9857         EXCEL_PALETTE_ENTRY to guint.
9858         (style_color_to_int): New function. Convert StyleColor to guint.
9859         (log_put_color): New function. Debug log when color added to
9860         palette
9861         (palette_put_defaults): New function. Put Excel default colors to
9862         palette.
9863         (palette_init): New function. Initialize palette table.
9864         (palette_free): New function. Free palette table.
9865         (palette_get_index): New function. Get color index.
9866         (put_color): New function. Add color to palette.
9867         (put_colors): New function. Add colors in MStyle to palette
9868         (gather_palette): New function. Add all colors in workbook to
9869         palette.
9870         (write_palette): Use color info from styles. Make void.
9871         (excel_font_to_string): New function. Return string desc. of font
9872         (excel_font_new): New function. Make an ExcelFont (font + color).
9873         (excel_font_free): New function. Free an ExcelFont.
9874         (excel_font_hash): New function. Hash function for ExcelFonts.
9875         (excel_font_equal): New function. Compare ExcelFonts.
9876         (fonts_init): New function. Initialize font table
9877         (fonts_free): New function. Free font table.
9878         (fonts_get_index): New function. Get index of ExcelFont
9879         (after_put_font): New function. Debug log when font is added to
9880         table.
9881         (put_font): New function. Add font to table.
9882         (gather_fonts): New function. Add all fonts in workbook to table.
9883         (write_font): New function. Write a font to file. Essentially,
9884         inner loop of the old version of write_fonts.
9885         (write_fonts): Rewritten. Make void
9886         (after_put_format): New function. Debug log when format is added
9887         to table.
9888         (formats_put_magic): New function. Add builit-in formats to table.
9889         (formats_init): New function. Initialize format table
9890         (formats_free): New function. Free format table
9891         (formats_get_index): New function. Get index of format
9892         (put_format): New function. Add a format to table
9893         (gather_formats): New function. Add all formats in workbook to
9894         table.
9895         (write_format): New function. Write a format to file. Essentially,
9896         inner loop of the old version of write_formats.
9897         (write_formats): Rewritten. Make void.
9898         (cell_used_map_new): New function. Make bitmap for cells in use.
9899         (cell_mark_used): New function. Mark cell in use in bitmap.
9900         (cell_is_used): New function. Return true if cell marked in use in
9901         bitmap.
9902         (get_default_mstyle): New function. Get default mstyle of
9903         sheet. Placeholder function until this info is exported from
9904         sheet.
9905         (xf_init): New function. Initialize xf/mstyle table.
9906         (xf_free): Rewritten. New signature. Release allocated style data.
9907         (after_put_mstyle): New function. Debug log when MStyle added to
9908         table.
9909         (put_mstyle): New function. Add MStyle to table.
9910         (excel_cell_get): New function. Get ExcelCell record for cell
9911         position.
9912         (pre_cell): Constify key. Add cell MStyle to table. Cache some
9913         info
9914         (pre_blank): New function. Add MStyle of blank cell to table.
9915         (pre_blanks): New function. Add MStyles of all blank cells in
9916         workbook to table.
9917         (gather_styles): New function. Add all MStyles in workbook to
9918         table.
9919         (map_pattern_index_to_excel): New function. Map Gnumeric pattern
9920         index to Excel ditto.
9921         (write_xf_magic_record): New function. Essentially, the old
9922         version of write_xf_record.
9923         (write_xf_record): Rewritten. Use style info from worksheet.
9924         (write_xf): Use style info from worksheet. Changed signature.
9925         (write_value): Let ms_excel_write_debug govern debug logging.
9926         (write_formula): Add xf parameter. Write true xf index
9927         (write_cell): ExcelCell parameter instead of Cell, bringing in xf.
9928         Write true xf index.  Let ms_excel_write_debug govern debug
9929         logging.
9930         (write_mulblank): Add xf_list parameter. Write true xf
9931         index. Remove #define XF_MAGIC. Add debug logging. Add
9932         ms_biff_put_commit.
9933         (write_index): Let ms_excel_write_debug govern debug logging.
9934         (write_sheet): Let ms_excel_write_debug govern debug logging.
9935         (write_sheet): Use ExcelCell instead of Cell. Pass xf or xf_list
9936         to called functions.
9937         (new_sheet): Initialize sheet->cells, sheet->cell_used_map
9938         (free_sheet): Free sheet->cells, sheet->cell_used_map
9939         (pre_pass): Rewrite. Change signature
9940         (write_workbook): Initialize font, format, palette and xf tables.
9941         Free xf list.
9942         (ms_excel_write_workbook): Flush debug log at end.
9944         * ms-excel-write.h: Define TwoWayIndex, ExcelFont, ExcelCell,
9945         ExcelRow. Redefined Palette, Fonts, Formats, XF. Add cells and
9946         cell_used_map to ExcelSheet. Add xf to ExcelWorkbook.  Define
9947         AfterPutFunc. Declare ms_excel_write_debug.  Move #defines from
9948         ms-excel-write.c. Move function declarations last.
9950         * ms-excel-util.c New file.
9951         (two_way_index_new): New function. Make TwoWayTable.
9952         (two_way_index_free): New function. Destroy TwoWayTable
9953         (two_way_index_put): New function. Put a key to TwoWayTable
9954         (two_way_index_replace): New function. Replace key for index in
9955         TwoWayTable
9956         (two_way_index_key_to_idx): New function. Find index given key
9957         (two_way_index_idx_to_key): New function. Find key given index
9959         * ms-excel-util.h New file.
9961         * ms-excel-read.c (ms_excel_read_cell): Add \n to debug print.
9963 1999-12-06  Michael Meeks  <mmeeks@gnu.org>
9965         * ms-excel-write.c (new_sheet): Update to sheet_get_extent.
9967 1999-12-01  Morten Welinder  <terra@diku.dk>
9969         * ms-excel-read.c (lookup_base_char_width): Plug leaks.
9970         (biff_xf_data_destroy): Ditto.
9972 1999-11-30  Michael Meeks  <mmeeks@gnu.org>
9974         * boot.c (excel_save): Disable summary info export.
9976 1999-11-30  Michael Meeks  <mmeeks@gnu.org>
9978         * ms-excel-read.c: Add ms_excel_write_debug.
9980 1999-11-30  Jon K Hellan  <hellan@acm.org>
9982         * ms-excel-read.c (biff_format_data_lookup): Add debug.
9983         (lookup_base_char_width): add commenting.
9984         (ms_excel_read_workbook): Add fflush.
9986 1999-11-28  Michael Meeks  <mmeeks@gnu.org>
9988         * gnumeric-chart.c (gnumeric_chart_destroy): check the series
9989         is valid before freeing.
9991 1999-11-28  Michael Meeks  <mmeeks@gnu.org>
9993         * ms-excel-read.c (biff_name_data_destroy): add comment.
9995         * ms-chart.c (ms_excel_chart): destroy state.chart.
9997 1999-11-26  Jody Goldberg <jgoldberg@home.com>
9999         * ms-formula-read.c (ms_excel_parse_formula) : DOH!
10000           why wait to implement the implicit intersetion in the core.
10001           We know that this will require such an intersection.  So do
10002           the work here.  This results in the same sheet that XL produces
10003           if you turn off the 'use labels as names' feature.
10005 1999-11-26  Jody Goldberg <jgoldberg@home.com>
10007         * ms-formula-read.c (ms_excel_parse_formula) : Add support for
10008           extended-ptg ElfColV and ElfRowV.  They seem to refer to the
10009           use of an implicit vector defined by a column header.
10010           ie A1 = 'bob'  A2 = 2 B2 = '=bob^2'
10011           The eptg would indicate that 'bob' in B2 refered to the column below
10012           A1.  Presumably implicit intersection (not implemented yet) would
10013           handle the rest.
10015 1999-11-25  Jody Goldberg <jgoldberg@home.com>
10017         * ms-obj.c (object_anchor_to_position) : Use 1/1024 for pre-XL97
10018           objects.  Do not scale the margins.
10020 1999-11-23  Jody Goldberg <jgoldberg@home.com>
10022         * ms-excel-read.c (biff_font_data_new) : Improve debug info.
10023         (ms_excel_get_style_from_xf) : Ditto.
10024         (ms_excel_set_xf) : Ditto.
10026 1999-11-22  Jody Goldberg <jgoldberg@home.com>
10028         * ms-excel-read.c (get_units_net_of_margins) : Don't crash when the
10029           col/row info is NULL.
10031         * ms-excel-read.c (ms_excel_get_xf) : Improve error
10032           message when faced with invalid xf index.
10034 1999-11-21  Jody Goldberg <jgoldberg@home.com>
10036         * ms-excel-read.c (ms_excel_read_selection) : Bug 3609.
10037           Make sure the current cell is visible.
10039 1999-11-19  Jon K Hellan  <hellan@acm.org>
10041         * ms-excel-read.c (ms_excel_read_row): New funtion: Process a BIFF
10042         row info record. Previously in ms_excel_read_cell.
10043         (ms_excel_read_colinfo): New function: Process a BIFF column
10044         info record. Previously in ms_excel_read_cell.
10045         (ms_excel_read_cell): Move some code to ms_excel_read_row and
10046         ms_excel_read_colinfo
10047         (ms_excel_read_default_row_height): New function: Process a BIFF
10048         default row height record. Previously in ms_excel_read_sheet.
10049         (ms_excel_read_default_col_width): New function: Process a BIFF
10050         default column width record. Previously in ms_excel_read_sheet.
10051         (ms_excel_read_sheet): Move some code to
10052         ms_excel_read_default_row_height and ms_excel_read_default_col_width.
10054 1999-11-19  Michael Meeks  <mmeeks@gnu.org>
10056         * boot.c (excel_probe): Check for the right streams, not just an
10057         ole file.
10059 1999-11-18  Michael Meeks  <mmeeks@gnu.org>
10061         * ms-excel-read.c (lookup_base_char_width): kill double init of
10062         sample & add check.
10064 1999-11-18  Jon K Hellan  <hellan@acm.org>
10066         * ms-obj.c (ms_parse_object_anchor): Just extract anchor data,
10067         don't try to convert to pixels. Extracted anchor data has type
10068         anchor_point[4], i.e. 4 pairs of col/row number and fractions of
10069         col/row.
10070         (ms_obj_realize): Now receives uninterpreted anchor data. Thus,
10071         conversion to position is delayed until the entire sheet has been
10072         read. Use object_anchor_to_position to interpret. 'anchor'
10073         variable renamed to 'position'.
10074         (object_anchor_to_position): New function: Convert an anchor to
10075         position in points. Based on data interpretation in previous
10076         version of ms_parse_object_anchor.  Interpret as 256th's rather
10077         than 1024th's vertically. Base computation on actual cell
10078         width/height.
10080         * ms-obj.h (type anchor_point): define it.
10081         (type MSObj): Change type of anchor from int[4] to
10082         anchor_point[4].
10083         Update signature of ms_parse_object_anchor.
10085         * ms-excel-read.h (_ExcelSheet): Add base_char_width member.
10086         (EXCEL_DEFAULT_CHAR_WIDTH): Define it.
10087         * ms-excel-read.c (get_substitute_font):
10088         New function: Try to find a gnome font which matches the Excel font.
10089         (ms_excel_get_style_from_xf): Use get_substitute_font.
10090         (ms_excel_sheet_new): Initialize base_char_width to 0, i.e. unknown.
10091         (print_font_mapping_debug_info): Debug print in separate routine.
10092         (get_base_char_width): New function: Return base char width for
10093         column sizing. If not yet known, call lookup_base_char_width to
10094         find it.
10095         (lookup_base_char_width): New function. See get_base_char_width.
10096         (get_row_height_units): New function. We could adjust excel
10097         heights here, but there seems to be no need.
10098         (get_units_net_of_margins): New function. Subtract margins from a
10099         point size.
10100         (ms_excel_read_cell):
10101         case BIFF_ROW: Specify height in points, not pixels.  Use
10102         get_row_height_units and get_units_net_of_margins. Call
10103         sheet_row_set_height_units rather than sheet_row_set_height.
10104         case BIFF_COLINFO: Specify width in points, not pixels.  Scale
10105         column based on actual font. Use get_base_char_width and
10106         get_units_net_of_margins. Call sheet_col_set_width_units rather
10107         than sheet_col_set_width.
10108         (ms_excel_read_sheet):
10109         case BIFF_DEFAULTROWHEIGHT: Handle it. Like BIFF_ROW, but use
10110         sheet_row_set_internal_height on default style.
10111         case BIFF_DEFCOLWIDTH: Handle it. Like BIFF_COLINFO, but use
10112         sheet_col_set_internal_height on default style.
10114         * ms-escher.c (_MSEscherHeader):
10115         Change type of anchor to anchor_point[4]
10117 1999-11-18  Michael Meeks  <mmeeks@gnu.org>
10119         * ms-excel-read.c (ms_excel_read_guts): rename.
10121 1999-11-17  Jody Goldberg <jgoldberg@home.com>
10123         * ms-excel-read.c (ms_excel_read_mergecells) : New function.
10124           Test parser for merged cells.
10125         (ms_excel_read_sheet) : Use it.
10126         (biff_xf_data_new) : Fix typo.
10128         * ms-excel-read.c (black_or_white_contrast) : Use new
10129           style_color{black,white} functions.
10130         (ms_excel_palette_get) : Ditto.
10131         (ms_excel_get_style_from_xf) : Ditto.
10133 1999-11-17  Michael Meeks  <mmeeks@gnu.org>
10135         * ms-excel-read.c (biff_xf_data_new): Quieten.
10136         (ms_excel_palette_get): Return black on failure.
10137         (biff_get_text): quieten various warnings.
10139 1999-11-16  Jody Goldberg <jgoldberg@home.com>
10141         * ms-excel-read.c (ms_excel_read_GUTS) : New function.
10142         (ms_excel_read_sheet) : used here.
10144 1999-11-15  Jody Goldberg <jgoldberg@home.com>
10146         * ms-excel-read.c (biff_xf_data_new) : Add warnings about
10147           unsupported alignment and format features.  This explains
10148           why travel.xls looks odd.
10150 1999-11-14  Frank Chiulli <fchiulli@home.com>
10152         * ms-summary.c (set_summary_item) : Process all the sections in a
10153           stream.  Pass the section's PropertySetID to sum_name_to_excel
10154           rather than the stream's.
10156 1999-11-13  Jody Goldberg <jgoldberg@home.com>
10158         * ms-excel-write.c (write_sheet) : Make static.
10159         * gnumeric-chart.h (typedef) : Fix prototype.
10161 1999-11-09  Michael Meeks  <mmeeks@gnu.org>
10163         * ms-excel-read.c (ms_excel_get_style_from_xf, biff_xf_map_border):
10164         Update to new STYLE_BORDER enums.
10166 1999-11-08  Jody Goldberg <jgoldberg@home.com>
10168         * ms-excel-read.c (biff_xf_data_new) : Reverse sense on diagonals.
10170 1999-11-08  Michael Meeks  <mmeeks@gnu.org>
10172         * ms-summary.c (ms_summary_read): quieten.
10174 1999-11-08  Frank Chiulli  <fchiulli@home.com>
10176         * ms-summary.c :  Added support for DocumentSummaryInformation stream.
10177           Added new field, ps_id (Property Set ID), to mapping_t structure and
10178           initialized excel_to_gnum_mapping[] appropriately.
10180         * ms-summary.c (sum_name_to_excel) : New function to convert a summary
10181           name to a MsOleSummaryPID.
10183         * ms-summary.c (read_summary_items) : Added new argument - psid (Property
10184           Set ID).  It also checks to see that the summary item is in current
10185           Summary stream as identified by psid.  Added support for additional
10186           summary types (boolean, short, time).
10188         * ms-summary.c (ms_summary_read) : Reads DocumentSummaryInformation
10189           stream and summary items therein.
10191         * ms-summary.c (set_summary_item) : Processes additional summary types
10192           (boolean, int, short, time).
10194         * ms-summary.c (ms_summary_write) : Now also writes out the
10195           DocumentSummaryInformation stream.
10197 1999-11-07  Michael Meeks  <mmeeks@gnu.org>
10199         * boot.c (excel_save): Invert sense of return value to reflect success.
10201         * ms-excel-read.c (biff_name_data_get_name): Move name parsing
10202         back here; we have read all the sheets this time so inter-sheet
10203         references in names work. Add 'inserted' flag (biff_name_data_new):
10204         Kill returning the name + add comment. Add stuff to TODO.
10206 1999-11-07  Jody Goldberg <jgoldberg@home.com>
10208         * ms-excel-read.c (ms_excel_set_xf) : Remove debug
10209           statement accidentally left in.
10211 1999-11-06  Jody Goldberg <jgoldberg@home.com>
10213         * ms-excel-read.c (black_or_white_contrast) : Revert to 50% as a
10214           contrast boundary (3*0x10000/2) ~= 0x1800
10216         * ms-excel-read.c (ms_excel_get_style_from_xf) : Add more debug
10217           output, and support 0 as a contrast colour.
10219 1999-11-05  Jody Goldberg <jgoldberg@home.com>
10221         * ms-excel-read.c (ms_excel_palette_get) : Split the contrast logic
10222           into a new function
10223         (black_or_white_contrast) : The new function.
10224         (ms_excel_get_style_from_xf) : Add a hand coded table to decide what
10225           colours to contrast with which while importing.
10226         (biff_xf_data_new) : Fix diagonal border import.
10227         (ms_excel_workbook_detach) : Do not multiply delete a sheet.
10229         * ms-chart.c : Adjust to changes in ms_excel_palette_get.
10231 1999-11-05  Michael Meeks  <mmeeks@gnu.org>
10233         * ms-excel-read.c (ms_excel_get_style_from_xf): update.
10235         * ms-excel-write.c (write_xf_record): pass MStyle *.
10236         (xf_lookup): ditto.
10238 1999-11-03  Jody Goldberg <jgoldberg@home.com>
10240         * ms-excel-read.c (excel_map_pattern_index_from_excel) : Adjust map
10241           from XL pattern index to gnumeric pattern index to swap diag and
10242           rev-diag.
10244         * ms-excel-read.c (ms_excel_get_style_from_xf) : Set the pattern on
10245           import.
10247 1999-10-31  Michael Meeks  <mmeeks@gnu.org>
10249         * ms-excel-write.c (new_sheet): Fix silly bug, rows not cols
10250         for maxy. (write_names): add version precondition.
10252 1999-10-30  Daniel Risacher  <magnus@alum.mit.edu>
10254         * ms-excel-read.c (biff_get_text): tiny fix to debugging code
10255         (biff_name_data_new): actually return the new data
10256         (biff_name_data_get_name): Moved code that adds names to the
10257         workbook to ms_excel_read_name()
10258         (ms_excel_read_name): Add name definitions to workbook when
10259         definition is read, rather than when used.
10260         Formatting.
10262         * ms-formula-write.c (write_ref): minor change to comply with
10263           spec for references.
10264         (write_node): Handle OPER_NAME.
10265         Formatting.
10267         * ms-excel-write.c (write_names): New function.  Writes name
10268           definitions.  Called from write_workbook().
10269         Formatting.
10271         * ms-excel-write.h: Added names to struct _ExcelWorkbook
10273 1999-10-30  Michael Meeks  <mmeeks@gnu.org>
10275         * ms-excel-read.c (ms_excel_get_xf): kill const.
10276         (ms_excel_read_cell): initialize range_end.
10278 1999-10-26  Jody Goldberg <jgoldberg@home.com>
10280         * ms-formula-read.c (FormulaFuncData) : Fix typo for
10281         SERIESNUM -> SERIESSUM.
10283 1999-10-26  Jukka-Pekka Iivonen  <iivonen@iki.fi>
10285         * ms-formula-read.c (formula_func_data): Fixed the number of
10286         arguments in GETPIVOTDATA to two.
10288 1999-10-24  Michael Meeks  <mmeeks@gnu.org>
10290         * ms-excel-read.c (ms_excel_get_style_from_xf): add another ref.
10292 1999-10-24  Jody Goldberg <jgoldberg@home.com>
10294         * ms-excel-read.c (ms_excel_read_cell:MULBLANK) : pre-merge the XF
10295           records in a mulblank sequence.  Improves load time.
10297         * ms-excel-read.c (ms_excel_get_style_from_xf) : New function
10298           split from ms_excel_set_xf.  It calculates and caches the MStyle
10299           associated with an XF record.
10301 1999-10-22  Michael Meeks  <mmeeks@gnu.org>
10303         * ms-excel-read.c (ms_excel_palette_get): fix leak.
10305 1999-10-18  Morten Welinder  <terra@diku.dk>
10307         * ms-formula-read.c (ms_excel_parse_formula): Fix for non-shared
10308         references to cells below row 256.
10310         * ms-excel-read.c (ms_excel_sheet_insert): Set XF before sheet_cell_fetch
10311         for big speedup. (ms_excel_read_formula): ditto.
10313 1999-10-19  Michael Meeks  <mmeeks@gnu.org>
10315         * ms-excel-read.c (ms_excel_get_stylefont ms_excel_set_xf): use new
10316         'helper' functions.
10318 1999-10-08  Jody Goldberg <jgoldberg@home.com>
10320         * ms-excel-read.c : More minor tweaking of adjustment ratios.
10321           We need some real documentation on this stuff.
10323         * ms-escher.c (ms_escher_get_data) : Use printf instead of
10324           g_return_if_fail.  It makes it easier to debug when the messages ar
10325           in line.
10327         * ms-obj.c (ms_read_OBJ) : Print the object type name whenever
10328           possible.
10329         (ms_obj_read_biff8_obj) : Looks like a PictOpt record in an object
10330           signifies that the next BIFF record after the OBJ must be an IMDATA.
10331         (ms_obj_parse_anchor) : Move the zoom application back here until we
10332           split the anchors into distance and cell pairs.  The old code was
10333           zooming the col/row distances twice.
10335 1999-10-08  Morten Welinder  <terra@diku.dk>
10337         * ms-formula-read.c (ms_excel_parse_formula): Plug leaks.
10339 1999-10-03  Jody Goldberg <jgoldberg@home.com>
10341         * boot.c (excel_probe) : Only free the MsOle object if it
10342           was created successfully.
10344 1999-10-02  Jody Goldberg <jgoldberg@home.com>
10346         * *.c : Ensure that we include config.h first.
10348         * *.[ch] : Update and add Copyright notices.
10350 1999-09-29  Jody Goldberg <jgoldberg@home.com>
10352         * ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
10353           reverse order, to decrease the load on the insert routines.
10355 1999-09-26  Jody Goldberg <jgoldberg@home.com>
10357         * ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
10358           XL periodically sends column widths for phantom columns.
10360 1999-10-19  Morten Welinder <terra@diku.dk>
10362         * ms-formula-read.c (ms_excel_parse_formula): Get row as 16 bit value,
10363         for both AREA_3D and AREA[N].
10365 1999-10-18  Michael Meeks  <mmeeks@gnu.org>
10367         * ms-excel-read.c (ms_excel_set_xf): Ref count colors correctly.
10369 1999-10-16  Michael Meeks  <mmeeks@gnu.org>
10371         * ms-excel-read.c (ms_excel_set_cell_font): renamed + kill Cell.
10372         (style_optimize): kill Cell argument.
10373         (ms_excel_set_cell_xf): use style_attach + kill Cell arg. + renamed.
10374         (ms_excel_sheet_insert, ms_excel_read_formula),
10375         (ms_excel_sheet_insert_val): update removing Cell argument.
10376         (ms_excel_sheet_insert_blank): Create.
10377         (ms_excel_read_cell): use insert_blank.
10379 1999-10-15  Michael Meeks  <mmeeks@gnu.org>
10381         * ms-excel-read.c (ms_excel_set_cell_xf): Update style creation +
10382         only setup border if it non NULL, fixup optimization regions.
10383         (ms_excel_set_cell_font): update + add array argument.
10384         (style_optimize): split out. (ms_excel_read_sheet): Add post-optimize.
10386 1999-10-13  Michael Meeks  <mmeeks@gnu.org>
10388         * ms-excel-read.c (ms_excel_set_cell_font): New String in style.
10390 1999-10-11  Michael Meeks  <mmeeks@gnu.org>
10392         * ms-excel-read.c (ms_excel_set_cell_xf): better optimize region
10393         generation.
10395 1999-10-10  Michael Meeks  <mmeeks@gnu.org>
10397         * ms-excel-read.c (ms_excel_sheet_new): Initialize range.
10398         (ms_excel_set_cell_xf): Add range optimization.
10399         (ms_bug_get_padding): Kill.
10401         * ms-excel-read.h (ExcelSheet): Add style_optimize field.
10403 1999-10-09  Jody Goldberg <jgoldberg@home.com>
10405         * ms-excel-read.c (ms_excel_set_cell_xf): Adapt to new Border support.
10407 1999-10-07  Michael Meeks  <mmeeks@gnu.org>
10409         * ms-excel-read.c (ms_excel_set_cell_xf): Large hack to new style
10410         code. (biff_font_data_get_style_font): kill it.
10411         (biff_font_data_new): remove setting up fd->style_font.
10412         (biff_font_data_destroy): kill style_font bits.
10414 1999-10-03  Jody Goldberg <jgoldberg@home.com>
10416         * boot.c (excel_probe) : Only free the MsOle object if it
10417           was created successfully.
10419 1999-09-29  Jody Goldberg <jgoldberg@home.com>
10421         * ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
10422           reverse order, to decrease the load on the insert routines.
10424 1999-09-26  Jody Goldberg <jgoldberg@home.com>
10426         * ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
10427           XL periodically sends column widths for phantom columns.
10429 1999-10-19  Morten Welinder <terra@diku.dk>
10431         * ms-formula-read.c (ms_excel_parse_formula): Get row as 16 bit value,
10432         for both AREA_3D and AREA[N].
10434 1999-10-18  Michael Meeks  <mmeeks@gnu.org>
10436         * ms-excel-read.c (ms_excel_set_xf): Ref count colors correctly.
10438 1999-10-16  Michael Meeks  <mmeeks@gnu.org>
10440         * ms-excel-read.c (ms_excel_set_cell_font): renamed + kill Cell.
10441         (style_optimize): kill Cell argument.
10442         (ms_excel_set_cell_xf): use style_attach + kill Cell arg. + renamed.
10443         (ms_excel_sheet_insert, ms_excel_read_formula),
10444         (ms_excel_sheet_insert_val): update removing Cell argument.
10445         (ms_excel_sheet_insert_blank): Create.
10446         (ms_excel_read_cell): use insert_blank.
10448 1999-10-15  Michael Meeks  <mmeeks@gnu.org>
10450         * ms-excel-read.c (ms_excel_set_cell_xf): Update style creation +
10451         only setup border if it non NULL, fixup optimization regions.
10452         (ms_excel_set_cell_font): update + add array argument.
10453         (style_optimize): split out. (ms_excel_read_sheet): Add post-optimize.
10455 1999-10-13  Michael Meeks  <mmeeks@gnu.org>
10457         * ms-excel-read.c (ms_excel_set_cell_font): New String in style.
10459 1999-10-11  Michael Meeks  <mmeeks@gnu.org>
10461         * ms-excel-read.c (ms_excel_set_cell_xf): better optimize region
10462         generation.
10464 1999-10-10  Michael Meeks  <mmeeks@gnu.org>
10466         * ms-excel-read.c (ms_excel_sheet_new): Initialize range.
10467         (ms_excel_set_cell_xf): Add range optimization.
10468         (ms_bug_get_padding): Kill.
10470         * ms-excel-read.h (ExcelSheet): Add style_optimize field.
10472 1999-10-09  Jody Goldberg <jgoldberg@home.com>
10474         * ms-excel-read.c (ms_excel_set_cell_xf): Adapt to new Border support.
10476 1999-10-07  Michael Meeks  <mmeeks@gnu.org>
10478         * ms-excel-read.c (ms_excel_set_cell_xf): Large hack to new style
10479         code. (biff_font_data_get_style_font): kill it.
10480         (biff_font_data_new): remove setting up fd->style_font.
10481         (biff_font_data_destroy): kill style_font bits.
10483 1999-10-02  Jody Goldberg <jgoldberg@home.com>
10485         * *.c : Ensure that we include config.h first.
10487         * *.[ch] : Update and add Copyright notices.
10489 1999-09-29  Jody Goldberg <jgoldberg@home.com>
10491         * ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
10492           reverse order, to decrease the load on the insert routines.
10494 1999-09-26  Jody Goldberg <jgoldberg@home.com>
10496         * ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
10497           XL periodically sends column widths for phantom columns.
10499 1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
10501         * ms-excel-read.c (biff_name_data_new): add sheet scope.
10502         (ms_excel_read_name): Use the 2nd 'copy' of idx since its the
10503         only valid one. (biff_name_data_get_name): Create using scope.
10505 1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
10507         * Makefile.am: remove the 'ole' test program
10509         * ole.c: Removed, see module libole2 in test/test-ole.
10511         * ms-escher.c (ms_escher_read_ClientData): Remove realize & queue
10512         objects instead. Add precondition on state->sheet.
10514 1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
10516         * ole.c (ms_biff_query_next_merge, ms_biff_query_new): inline.
10518 1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
10520         * ms-excel-read.c (ms_excel_read_sheet): return FALSE for
10521         blank sheets: duh. (ms_excel_sheet_destroy): add destroy_objs.
10522         (ms_excel_read_cell): remove const on lastcol.
10524 1999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>
10526         * Makefile.am (ole_LDADD): use libole2.la
10528         * ms-obj.c (ms_obj_realize): remove object destruction.
10529         (ms_obj_destroy): add. (ms_excel_sheet_destroy_objs): Create.
10530         (ms_excel_sheet_realize_objs): remove list free.
10532         * ms-excel-read.c (ms_excel_read_sheet): add return type
10533         to save possible cock-up. (ms_excel_read_workbook): only
10534         realize objects if loaded OK.
10536 1999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>
10538         * ole.c (decompress_vba): an idea.
10539         (dump_vba_module): + hooks.
10541 1999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>
10543         * ole.c (decompress_vba): remove unused + clean headers.
10545 1999-09-25  Jody Goldberg <jgoldberg@home.com>
10547         * ms-excel-read.c (ms_excel_read_formula) : Improve debug
10548           printouts, to facilitate match problems cells to inputs
10549           behaviors.
10550         (ms_excel_read_cell:MULBLANK) : Rework to include last_col
10551           and simplify logic on iteration. Plus more debug.
10552         (ms_excel_read_cell:RSTING) : More debug.
10553         (ms_excel_read_cell:BIFF_ROW) : Add explicit comment on
10554           unit -> pixel scaling factor.
10555         (ms_excel_read_cell:BIFF_COLINFO) : Ditto.
10557         * ms-escher.c : Continue work on OPT records.
10559 1999-09-24  Jody Goldberg <jgoldberg@home.com>
10561         * ms-excel-read.c (ms_excel_read_cell) : Add and document
10562           point -> pixel scaling for rows and columns.
10564         * ms-excel-read.c (ms_excel_palette_get) : Change my guess
10565           at what the therhold pseudo-luminosity is.
10567 1999-09-23  Michael Meeks  <michael@nuclecu.unam.mx>
10569         * ole.c (enter_dir): Change logic.
10571 1999-09-22  Michael Meeks  <michael@nuclecu.unam.mx>
10573         * ms-excel-write.c (write_bits): Fix TABID.
10574         (write_sheet_tail): Add current selected sheet save & V8 WINDOW2
10575         (write_bits): only save PANEs if we need to.
10576         (write_fonts): always write 5 fonts instead of 4.
10577         (write_xf): Add USESELFS.
10578         (write_sheet): 0x200|INDEX.
10579         (write_sheet_bools): remove -1 from sheet->maxy for V8.
10581         * ole.c (do_biff_raw): Remove stream position to help 'diff'.
10583         * ms-obj.c (ms_obj_realize): Turn off auto-sizing of images to
10584         tango with improved sizing capable image components.
10586 1999-09-23  Jody Goldberg <jgoldberg@home.com>
10588         * ole.c (dump_vba) : Remove the escher code.  The new version needs to
10589           much context to be useable at this level.
10590         (enter_dir) : Improve error message, and fix thinko.
10592         * ms-excel-read.c (ms_excel_read_cell) : Fix importing of column
10593           widths.
10595         * ms-obj.c (ms_obj_realize) : Create a visual placeholder for charts.
10596           Check for NULL sheet.
10598         * ms-escher.c : Lots more OPT record types.
10599         (ms_escher_read_ClientData) : Only set the blip type
10600           if we are a picture.
10602 1999-09-21  Michael Meeks  <michael@nuclecu.unam.mx>
10604         * ms-obj.c (ms_parse_object_anchor): remove zoom.
10605         (ms_obj_realize): Add zoom here.
10607         * ms-excel-read.c (ms_excel_read_sheet): queue objects for later.
10608         (ms_excel_read_workbook): Realise sheet objects after read.
10609         (ms_excel_sheet_new): NULL obj queue ptr.
10611         * ms-obj.c: Add lots of missing cross references.
10612         (ms_excel_sheet_realize_objs): Implement.
10614 1999-09-21  Jody Goldberg <jgoldberg@home.com>
10616         * ms-excel-read.c (ms_excel_read_workbook) : Prefer 'workbook' to
10617           'book' so that we use Biff8 for dual stream files.
10619         * ms-obj.c : Add some #ifndef NO_DEBUG_EXCEL
10621 1999-09-20  Michael Meeks  <michael@nuclecu.unam.mx>
10623         * ms-formula-write.c (formula_cache_new_std): Split.
10624         (get_formula_index): cleaned. (write_funcall): Split from
10625         (write_node): in preparation for more lovely complexity.
10626         (formula_cache_new_ename): create. (write_string): constify
10627         (write_node): Improve integer writing efficiency.
10629         * ms-excel-write.c (write_sheet_bools): Added write.
10630         (biff_put_text): constify. (new_sheet): clean debug.
10632         * ms-formula-write.c (ms_formula_build_pre_data, ms_formula_write_pre_data):
10633         stub.
10635         * ms-excel-write.c (write_workbook): Fix _loads_ of leaks.
10636         (free_sheet): create. (pre_pass): pre-pass of the workbook's sheets.
10637         (pre_cell): Scan cells for interesting things.
10639         * excel.h: remove cache stuff.
10641         * ms-formula-write.h: move it here.
10643         * ms-formula-write.c (get_formula_index, cache_init/shutdown): work
10644         on a per sheet basis.
10646         * boot.c (excel_shutdown, excel_init): remove formula cache.
10648         * ms-excel-write.h: Add formula cache.
10650         * ms-escher.c (ms_escher_read_Blip): Add support for image-generic
10651         for jpeg, move DIB to a safe place.
10653 1999-09-20  Michael Meeks  <michael@nuclecu.unam.mx>
10655         * ole.c: massive, huge, big clean to new API; ahh that feels good,
10656         add 'help' command. Break escher debug for now.
10658         * Makefile.am: re-enabled 'ole'
10660         * ms-biff.h: removed all mention of quirks.
10662         * ms-biff.c (ms_biff_query_copy): dangerous: removed, clean quirk stuff.
10664 1999-09-20  Jody Goldberg <jgoldberg@home.com>
10666         * ms-obj.[ch]: Remove a few #if ENABLE_BONOBO checks
10667           and add an include for sheet-object.h. Improve debug
10668           info.
10670 1999-09-20  Jukka-Pekka Iivonen  <iivonen@iki.fi>
10672         * ms-obj.[ch]: Added a few #if ENABLE_BONOBO checks to make it
10673         compile again.
10675 1999-09-20  Jody Goldberg <jgoldberg@home.com>
10677         * ms-escher.c (ms_escher_read_ClientData) : Handle unknown object
10678           types.
10680         * ms-summary.c (set_summary_item) : Made static.
10682         * ms-obj.c (ms_obj_realize) : New function.
10683         (ms_parse_object_anchor) : Ditto.
10685         * ms-excel-read.c (ms_excel_read_workbook) : Use
10686           ms_obj_realize.
10687         (ms_excel_read_sheet) : Ditto.
10688         (ms_excel_read_formula) : Make reading a string more
10689           robust, and support length = 0 as a valid string.
10691 1999-09-19  Michael Meeks  <michael@nuclecu.unam.mx>
10693         * Makefile.am: comment out ole.
10695         * ms-summary.c (sum_name_to_excel): made static.
10697         * ms-excel-write.c (ms_excel_write_workbook): updated.
10699         * ms-excel-read.c (ms_excel_read_workbook): use better API.
10700         (find_workbook): removed.
10702         * ms-biff.c (ms_biff_query_copy): Updated duplicate.
10704         * boot.c (excel_probe, excel_save, excel_load): new ole api.
10706         * ms-excel-write.c (ms_excel_write_workbook): fix leak.
10708 1999-09-18  Morten Welinder  <terra@diku.dk>
10710         * ole.c (cur_dir, delim): static.
10712 1999-09-18  Jody Goldberg <jgoldberg@home.com>
10714         * gnumeric-chart.c (gnumeric_chart_destroy) : implement.
10715         (gnumeric_chart_new) : Create.
10717         * ms-chart.c (ms_excel_chart) : Init the chart.
10718         (BC_R(ifmt), BC_R(ai)) : Handle invalid/missing formats.
10720         * ms-escher.c : More radical changes to support just in time
10721           merging.  This seems to solve the last of the problems of which
10722           records to merge and which not.  Everything seems to add up.
10723         (ms_escher_parse) : Enable by default.
10725         * ms-excel-read.c (ms_excel_workbook_destroy) : Release blips on
10726           exit.
10728 1999-09-17  Jody Goldberg <jgoldberg@home.com>
10730         * ms-excel-read.c (ms_excel_workbook_get_sheet) : Make extern.
10732 1999-09-15  Frank Chiulli  <fchiulli@home.com>
10734         * plugins/excel/boot.c (excel_save): Add a call to ms_summary_write
10735         (ms-summary.c) to write out the SummaryInformation stream.
10737         * plugins/excel/ms-summary.h: Make ms_summary_write public.
10739         * plugins/excel/ms-summary.c (ms_summary_write, sum_name_to_excel,
10740         set_summary_item): New routines to support writing the
10741         SummaryInformation stream.
10743 1999-09-17  Michael Meeks  <michael@nuclecu.unam.mx>
10745         * ole.c (main, do_draw, dump_escher): dump raw data.
10747 1999-09-17  Jody Goldberg <jgoldberg@home.com>
10749         * ms-escher.c : Adjust const.
10750         (ms_escher_read_ClientAnchor) : Yahoo!  figured out object placement !!
10751         (ms_escher_read_OPT) : Some cleanup of the property names.
10753 1999-09-16  Michael Meeks  <michael@nuclecu.unam.mx>
10755         * ms-excel-read.c (ms_excel_read_sheet): add sheet param to _get_drawing
10756         (ms_excel_read_workbook): ditto & init 'eschers' to NULL.
10758         * ms-obj.c (ms_obj_read_text): add sheet param to _get_drawing
10760         * ms-chart.c (BC_W): ditto.
10762         * ms-escher.c (ms_escher_hack_get_drawing): Add Sheet param.
10763         (escher_record_new_blip, escher_record_destroy, ms_escher_read_Blip),
10764         (ms_escher_read_ClientAnchor): Hack up image loading.
10765         include config.h
10767         * ms-excel-read.h (_ExcelWorkbook): Add eschers list.
10769 1999-09-16  Jody Goldberg  <jgoldberg@home.com>
10771         * ms-escher.c (ms_escher_read_CLSID, ms_escher_read_ColorMRU,
10772                 ms_escher_read_SplitMenuColors) : Initial implementation.
10773         (ms_escher_read_Spgr) : Add names of Shapes.
10774         (ms_escher_read_ClientAnchor) : Wild guess at what the format is.
10775         (ms_escher_read_OPT) : Start naming some of the properties.
10776         (ms_escher_read_SpgrContainer) : be very careful.
10778 1999-09-15  Jody Goldberg  <jgoldberg@home.com>
10780         * ms-escher.c : Massive re-org.
10781         * ms-obj.c (ms_obj_read_text_impl) : Export, and improve warning
10782           message for TXO.
10783         (ms_obj_read_text_impl) : The drawing will read the TXO.
10785 1999-09-12  Michael Meeks  <michael@nuclecu.unam.mx>
10787         * ms-excel-write.c (write_sheet_bools): write grid-lines & margins &
10788         scads of other bits.
10790         * ms-excel-read.c (ms_excel_read_sheet): Add preconditions & load
10791         print info for grid-lines, & scads of other stuff. (margin_read): Create.
10793 1999-09-11  Michael Meeks  <michael@nuclecu.unam.mx>
10795         * ms-excel-write.c (write_value): Clean unused 'head'
10796         (write_sheet_tail): Add zoom factor write.
10798         * ms-excel-read.c (ms_excel_read_sheet): Add BIFF_SETUP decode.
10799         Add Zoom factor reading, add lots of printing records & debug dumps.
10801 1999-09-08  Jody Goldberg <jgoldberg@home.com>
10803         * ms-excel-read.c : Add selection.h
10805 1999-09-08  Michael Meeks  <michael@ximian.com>
10807         * README: More random thoughts to pass the time of day.
10809 1999-09-05  Jody Goldberg <jgoldberg@home.com>
10811         * ms-excel-write.c (write_value) : Always use mode 2 for ints.
10812           Add a comment to the write float code suggesting an extension to use
10813           mode 3 for doubles with only 2 digits after the decimal.
10815 1999-08-26  Michael Meeks  <michael@ximian.com>
10817         * ms-escher.c (biff_to_flat_data): Added back the full conditions
10818         on merging drawing groups.
10820         * ole.c (dump_escher): Realised it is a vanillaish container.
10822         * ms-escher.c (BSE_new): Fix silly buglets.
10823         (esh_header_new, esh_header_next): prettyify;
10824         (ms_escher_read): Update length type.
10826 1999-08-25  Michael Meeks  <michael@ximian.com>
10828         * ms-escher.c (esh_header_next): re-order for clarity.
10829         (BSE_new): Fiddling with bits: thanks to Caolan.
10831 1999-08-25  Jukka-Pekka Iivonen  <iivonen@iki.fi>
10833         * ms-formula-read.c (formula_func_data): Fixed the number of
10834         arguments in ISPMT to four.
10836 1999-08-20  Michael Meeks  <michael@ximian.com>
10838         * ms-formula-write.c (get_formula_index): Added a comment about
10839         Excel's add-in formula names.
10841 1999-08-17  Michael Meeks  <michael@ximian.com>
10843         * ms-excel-read.[ch]: Remove sheet blank bit.
10845         * ms-chart.c (BC_R): Remove sheet->blank reference.
10847 1999-08-16  Jody Goldberg <jgoldberg@home.com>
10849         * ms-formula-write.c (write_node) : Add OPER_PERCENT
10850         * ms-formula-read.c (ms_excel_parse_formula) : Ditto.
10852         * ms-obj.c : Make less verbose.
10854         * ms-excel-read.c : Add several new biff-types and do more
10855           checking for 'odd-balls' with most significant byte == 1.
10856           Disable the 'blank sheet' optimization for now to avoid memory
10857           errors when a 'blank' sheet gets put into the externsheet hash.
10859 1999-08-16  Jody Goldberg <jgoldberg@home.com>
10861         * ms-formula-write.c (write_node) : correct typo.
10862           We can now write & read samples/logfuns.xls without
10863           loosing formulas or values.
10865 1999-08-15  Jody Goldberg <jgoldberg@home.com>
10867         * ms-excel-write.c (write_value) : Add support for VALUE_BOOLEAN,
10868           VALUE_ERROR, VALUE_EMPTY.
10869         (write_formula) : Ditto.
10870         * ms-formula-write.c (write_node) : Ditto.
10872 1999-08-15  Morten Welinder  <terra@diku.dk>
10874         * ms-excel-read.c (ms_excel_read_workbook): First use, then
10875         destroy.
10877 1999-08-13  Michael Meeks  <michael@ximian.com>
10879         * ole.c (enter_dir): Major re-work, to use paths.
10881 1999-08-12  Jody Goldberg <jgoldberg@home.com>
10883         * ms-formula-read.c (ms_excel_parse_formula) :
10884         FORMULA_PTG_PERCENT is expr/100 not expr*100.
10885         (excel_builtin_formats) : Correct typo.
10887 1999-08-09  Miguel de Icaza  <miguel@gnu.org>
10889         * boot.c (excel_load): Changed calling conventions.
10891         * ms-excel-read.c (ms_excel_read_workbook): Adjusted to use the
10892         new file-open convention
10894 1999-08-08  Michael Meeks  <michael@ximian.com>
10896         * ole.c (dump_vba_module): Kill leak & fix logic.
10897         (dump_vba): destroy correct directory.
10899 1999-08-06  Michael Meeks  <michael@ximian.com>
10901         * ole.c (list_files): Fix so it shows directories...
10902         (get_file_handle, list_files, really_put, main): Use current_directory.
10903         (enter_dir): Implemented 'cd' command
10904         (do_copyout: Implemented splitting (really_get): from (do_get).
10905         (dump_vba): Started.
10907 1999-08-05  Michael Meeks  <michael@ximian.com>
10909         * ms-summary.c (ms_summary_read): Trivial fix to kill warning.
10911 1999-08-02  Jody Goldberg <jgoldberg@home.com>
10913         * ms-obj.c (ms_obj_read_pre_biff8_obj) : New function to catch
10914           charts.
10915         (ms_obj_read_obj) : Use ms_obj_read_pre_biff8_obj.
10917         * ms-excel-read.c (ms_excel_read_cell) : Catch use of chart
10918           records when we expect a cell.
10919         (ms_excel_read_formula) : Clarify error message.
10920         (biff_name_data_new) : Partial support for local vs global names.
10921         (biff_name_data_get_name) : Reformat to improve readability.
10922         (ms_excel_read_formula) : Ditto.
10924         * ms-chart.c (ms_excel_biff_dimensions) : Don't print unless
10925           we're debugging.
10927         * ms-obj.c (ms_obj_read_biff8_obj) : Don't print checkbox link
10928           unless we're debugging.
10930 1999-07-30  Jody Goldberg  <jgoldberg@home.com>
10932         * ms-excel-read.c (ms_excel_read_error) : Delete
10933           (ms_excel_read_cell) : Use VALUE_ERROR, and VALUE_EMPTY.
10934           (ms_excel_read_selection) : Split out into separate function.
10936         * ms-formula-read.c (ms_excel_parse_formula,
10937           make_function) : VALUE_ERROR.
10939 1999-07-31  Morten Welinder  <terra@diku.dk>
10941         * ms-excel-read.c (ms_excel_read_formula): Kill warning that is no
10942         longer valid.
10943         (ms_excel_read_error): Fix leak that I introduced.
10945 1999-07-31  Michael Meeks  <michael@edenproject.org>
10947         * ms-excel-read.c (biff_get_text): Hacked to deal with continues
10948         nicely.
10949         (ms_excel_read_workbook): Fixed up nasty version stuff.
10950         Commented out ms_bug_padd stuff.
10952         * ms-biff.[ch]: Commented out all padding and quirks stuff.
10954 1999-07-30  Michael Meeks  <michael@edenproject.org>
10956         * ms-excel-read.c (ms_excel_read_formula): quiet wierd
10957         warning... why is this suddenly prevalent.
10959 1999-07-28  Michael Meeks  <michael@edenproject.org>
10961         * ms-excel-write.c (biff_put_text): kill warnings.
10963         * ms-escher.c (read_DgContainer, SpgrContainer_new): ditto.
10965         * ms-biff.c (ms_biff_put_var_next): Remove padding, daft,
10966         (ms_biff_put_set_quirk): ditto.
10967         (ms_biff_query_peek_next): Implemented.
10970 1999-07-28  Michael Meeks  <michael@edenproject.org>
10972         * ms-biff.c (no_quirks, ms_biff_query_new):
10973         New quirk support :-)
10974         (ms_bug_get_padding): Moved into ms-excel-read.c
10975         (ms_biff_put_var_next, ms_biff_merge_continues): Cleaner quirk stuff.
10976         (ms_biff_put_set_quirk): I pray this is never used =)
10977         (ms_biff_put_new, ms_biff_put_var_next): Quirky.
10979 1999-07-28  Jody Goldberg  <jgoldberg@home.com>
10981         * ms-excel-read.c (ms_excel_read_cell) : Correct the error message
10982           for SST overflow.
10984 1999-07-27  Jody Goldberg  <jgoldberg@home.com>
10986         * ms-excel-read.c (ms_excel_read_supporting_wb) : Make this
10987           quieter, and add some comments explaining that we have no idea
10988           what this does or how it works.
10990 1999-07-26  Jody Goldberg  <jgoldberg@home.com>
10992         * ms-chart.c (BC_R(chartline)) : More state checking.
10993           (BC_R(legend)) : Implement.
10994           (BC_R(series)) : Store series in chart objects.
10995           (ms_excel_biff_dimensions) :
10997         * ms-obj.c : Closer ties with ms-escher.c.
10999         * ms-formula-read.c : Changes for VALUE_ERROR. COUNTBLANK
11000           takes 1 argument.
11002 1999-07-26  Michael Meeks  <michael@edenproject.org>
11004         * ms-summary.c (ms_summary_read): Update to ms_ole_summary_close.
11006         * ole.c (do_summary): ditto.
11008         * ms-excel-read.c (ms_excel_read_workbook): Comment out
11009         dependencies freeze/thaw.
11011         * ms-excel-write.c (write_cell): Update to new PP code.
11013         * ms-excel-read.c (find_workbook): Remove ms_ole_directory_new.
11014         (biff_name_data_get_name): Update to new PP code.
11016         * ole.c (get_file_handle, list_files): ditto.
11018 1999-07-25  Michael Meeks  <michael@edenproject.org>
11020         * ms-excel-read.c (ms_excel_read_workbook): Add freeze / thaw
11021         dependencies.
11023 1999-07-22  Michael Meeks  <michael@edenproject.org>
11025         * ole.c: Major summary hack, cleaned old cruft & made beautiful.
11027         * ms-summary.c: Re-write to use new summary stuff in libole2.
11029 1999-07-19  Michael Meeks  <michael@edenproject.org>
11031         * *.[ch]: Big macro prettify. Moved biff type handling macros into
11032         libole2/ms-ole.h, and renamed:
11033                 s/BIFF_GET_GUINT/MS_OLE_GET_GUINT/g
11034                 s/BIFF_SET_GUINT/MS_OLE_SET_GUINT/g
11036 1999-07-14  Michael Meeks  <michael@edenproject.org>
11038         * ms-summary.c: Big clean, quiet and sensible handling of
11039         errors.
11041         * boot.c (excel_load): Put summary call back in.
11042         Add excel_read_debug, dump summary info if > 0
11044 1999-07-13  Michael Meeks  <michael@edenproject.org>
11046         * Makefile.am: Added ms-summary.[ch]
11048         * ms-summary.[ch]: Created.
11050         * boot.c (excel_load): Add summary hook.
11051         Update comments
11053 1999-07-13  Jody Goldberg  <jgoldberg@home.com>
11055         * ms-excel-read.c (ms_excel_read_formula): Improve handling of failure
11056           cases to ensure that we set the values and formats even if formulas
11057           get confused.
11058         (ms_excel_formula_shared): Back out change to set value on error.
11059         (ms_excel_get_xf) : 0 and 15 may be defaults but we now have their
11060           records so no need to treat them specially.  Seems to be no need
11061           to check for StyleXF vs CellXF...
11062         (ms_excel_set_cell_xf) : It may be the default but we have the XF data
11063           for it now so USE IT.
11064         (biff_name_data_new, biff_name_data_destroy) : Const add flag to
11065           log NAME vs EXTERNNAME.
11066         (biff_name_data_get_name) : Remove vile hack for 1 vs 0 based names.
11067         (ms_excel_read_name) : More version madness.
11068         (BIFF_BOF) : More detailed version info.
11070         ms-formula-read.c : ARRRGGGGHHHHH!  both NAME and NAME_X are 1 based.
11071         (PTG_NAME) : Different versions, very different sizes.
11073 1999-07-13  Michael Meeks  <michael@edenproject.org>
11075         * ms-excel-read.c (ms_excel_formula_shared): Fixup previous patch.
11076         (ms_excel_read_formula): Re-arrange logic.
11077         (ms_excel_set_cell_xf): Add check on 'xf' back in ...
11079 1999-07-11  Michael Meeks  <michael@edenproject.org>
11081         * ms-excel-read.c (ms_excel_read_formula): Catch NULL cell->text
11082         (ms_excel_formula_shared): Check on cell... & add position to debug.
11083         (ms_excel_sheet_append_comment): Add paranoid blank text setting.
11085 1999-07-13  Jody Goldberg  <jgoldberg@home.com>
11087         * ms-excel-read.c (ms_excel_read_workbook SST) : Zero sized strings use
11088           3 bytes (length + header) not 2.
11089         (ms_excel_read_cell LABELSST) : Blank strings should have value
11090           wrappers.
11091         (ms_excel_parse_formula) : Support missing trailing args for
11092           builtin functions.
11094         * ms-formula-read.c : Keep stack by prepending and popping, rather
11095           than appending.
11096         (INDEX) : correct missing number of args.
11098 1999-07-12  Jody Goldberg  <jgoldberg@home.com>
11100         * ms-excel-read.[ch] : Remove XF_style_records.  All XF records are
11101           kept in one list.  The fixes the indexing problems we've been
11102           having with XF records. No more XF_MAGIC_OFFSET !!
11103         (biff_name_data_get_name) : Pre-Biff5 seems to use 0 based names, post
11104           seems to be 1 base ??  Check this.
11106         * ms-formula-read.c (excel_formula_build_dummy_handler) : New function.
11107         (make_function) : split out from here and used for external and builtin
11108           functions.
11109         (MATCH) : correct the number of arguments.
11110         (ms_excel_parse_formula) : The size of the array is stored at the end
11111           too.  This fixes formulas with multiple arrays.
11113         * *.[ch] make the data streams const while reading.
11115 1999-07-12  Jody Goldberg  <jgoldberg@home.com>
11117         * ms-excel-read.c (biff_name_data_get_name) : Off by one error in the
11118           range check.  Improve debug notification when something bad happens.
11119         (ms_excel_get_xf) : Improve debug messages to help find the problem
11120           with xf indicies in old files.
11122 1999-07-12  Jody Goldberg  <jgoldberg@home.com>
11124         * ms-chart.c : More record types.
11126         * ms-escher.c : More record types.
11128         * ms-excel-read.c (ms_excel_formula_shared) : For some reason XL
11129           periodicly :
11130             - creates a shared formula
11131             - declares its use in a range
11132             - then doesn't use it in the upper left corner of the range
11133             - and refers to the formula by a different cell in the range ??
11134         (BIFF_PRECISION) : remove dump, and #if 0, for now until gnumeric
11135             supports this.
11137 1999-07-11  Jody Goldberg  <jgoldberg@home.com>
11139         * ms-excel-read.c (biff_font_data_new) : don't delay creation of
11140           style_font.
11141         (ms_excel_get_font) : new function split from.
11142         (ms_excel_set_cell_font) : here.
11143         (ms_excel_get_xf) : new function split from.
11144         (ms_excel_set_cell_xf) : here.
11145         (biff_xf_data_new) : dont delay setting the style_format.
11146         (BIFF_COLINFO) : Attempt to use the XF->font->height as a proxy for
11147           charwidth ??  Anyone have a better idea ?
11149 1999-07-10  Jody Goldberg  <jgoldberg@home.com>
11151         * ms-excel-read.c : BIFF_COLINFO adjust in charwidth magic number to
11152           produce column widths that match my screenshot.
11154         * TODO: updated.
11156 1999-07-10  Michael Meeks  <michael@edenproject.org>
11158         * ms-formula-read.c (formula_func_data): Fix REPT = 2 args,
11159         add VDB = var arg.
11161         * ms-excel-read.c (biff_get_externsheet_name): Silly but fatal bug
11162         a child could spot: written by yours truly :-)
11164 1999-07-09  Jody Goldberg  <jgoldberg@home.com>
11166         * ms-obj.c : Conditionalize the debug info for text objects.
11168 1999-07-09  Miguel de Icaza  <miguel@gnu.org>
11170         * ms-excel-write.c (biff_put_text): Intiialize variable.
11172 1999-07-09  Jody Goldberg  <jgoldberg@home.com>
11174         * ms-chart.c (BC_R(chart)) : Correctly handle the fixed point
11175           sizes.
11176         (BC_R(ai)) : Figure the missing link association is bubbles.
11178 1999-07-09  Jody Goldberg  <jgoldberg@home.com>
11180         * ms-chart.c : Actually make a series object !  After finding another
11181           Excel documentation error.
11183         * ms-obj.c : Conditionalize a debug printout.
11185         * ms-excel-read.c (biff_name_data_get_name) : Indicies are ONE based.
11187 1999-07-09  Michael Meeks  <michael@edenproject.org>
11189         * ms-excel-read.c (ms_excel_read_workbook): Update this with
11190         Jody's changes, hope I didn't loose anything.
11192         * ms-biff.c (ms_biff_query_next_merge): Add test for valid
11193         length before reading.
11195 1999-07-08  Jody Goldberg  <jgoldberg@home.com>
11197         * libole2/ms-ole.[ch] (dump) : constify.
11199         * ms-chart.[ch] : Prepare to handle Charts not associated with a sheet.
11200         Add more record types, improve debug messages.  Begin connection
11201         to 'escher' stuff for gelframes.  Stubs for real chart SERIES objects.
11202         Support for Text Objects.
11204         * ms-excel-read.c : Ditto.  Include cleanups.
11205         Some debug level rationalization.
11206         (ms_excel_externname) : Combine Biff7&8 use biff_get_text.
11208         * ms-escher.[ch] : Start looking at this to parse the CHART_GELFRAME
11209           record.  Clear out the massive accumulation of includes.
11211         * ms-excel-biff.h : Include cleanups.
11213         * ms-obj.[ch] : Include cleanups.
11214             Versioned the object record parsing (Currently only Biff8).
11215             (ms_obj_read_biff8_obj) : New function with more error checking.
11216             (ms_obj_read_text_object) : New function to read text objects.
11218         * ole.c : Print biff types in hex to match documentation.
11220 1999-07-09  Michael Meeks  <michael@edenproject.org>
11222         * ms-excel-read.c: Major warning cleaning offensive.
11223         (ms_excel_read_workbook): Hush CodePage, DSF, EOF & clean style.
11224         (ms_excel_read_sheet): Hush WINDOW2
11225         (ms_excel_read_name): Hush spurious newlines.
11226         (ms_excel_read_supporting_wb): Hush now, be a good little function.
11228         * boot.c (excel_load): ditto.
11230         * TODO: updated.
11232         * ms-formula-read.c: s/PARSE_LIST/ParseList/
11233         Update a few stylistic bits...
11235 1999-07-08  Michael Meeks  <michael@edenproject.org>
11237         * ms-excel-read.c (ms_excel_read_formula): Turn error into
11238         warning.
11240         * ms-excel-write.c (biff_put_text): Fiddled, this needs serious
11241         fixing ...
11243         * ms-excel-read.c (biff_name_data_get_name): Removed daft
11244         debug churning out.
11246 1999-07-08  Michael Meeks  <michael@edenproject.org>
11248         * ms-excel-read.h (_ExcelWorkbook): Removed internal_names and
11249         comments.
11251         * ms-excel-write.c (write_bits): Merged write_constants
11252         into this + add 'wb' parameter.
11253         (write_bits): Add TABID, DSF records.
11254         Add PROT4REV, PROT4REVPASS.
11255         (write_fonts): Changed put_text from eBiffV7, AS_PER_VER.
11257         * ms-excel-read.c (ms_excel_read_workbook): Update DFS -> DSF
11259         * biff-types.h (BIFF_DSF): Mod. from DFS.
11261 1999-07-08  Michael Meeks  <michael@edenproject.org>
11263         * ms-formula-read.c (ms_excel_parse_formula): Add magic 0x17
11264         for special undocumented 'Addin Name' support.
11266 1999-07-07  Michael Meeks  <michael@edenproject.org>
11268         * ms-excel-read.c (ms_excel_read_name): Fix crucial bug
11269         in name_def_data calc.
11270         (ms_excel_read_name): Removed all 'internal_names' stuff.
11272 1999-07-06  Michael Meeks  <michael@edenproject.org>
11274         * ms-formula-read.c (ms_excel_parse_formula): PTG_NAME:
11275         use biff_name_data_get_name; fixups: Jody don't do this, this
11276         was all on the Names branch !
11278         * ms-excel-read.c (biff_name_data_new): Changed to take Workbook
11279         not sheet, updated to use GPtrArray.
11280         (biff_name_data_get_name): Changed to return ExprTree.
11281         (biff_name_data_destroy): Updated.
11282         (ms_excel_workbook_destroy): Remove old name hash table stuff.
11283         (ms_excel_read_name): Fix memory leak before Morten gets there :)
11284         use biff_name_data_new.
11285         (ms_excel_read_name): Allocate name.
11286         (ms_excel_get_name): Culled.
11288         * ms-excel-read.h (_ExcelWorkbook): Changed name_data to GPtrArray
11289         Changed _name_get_data to return ExprTree.
11291         * ms-formula-read.c (getRefV7): Removed ExcelSheet * parameter.
11292         cleaned function indenting.
11293         (getRefV8): Ditto. + update all references.
11294         s/cell_name(/cell_name (
11295         s/sheet->wb/wb/
11297         * ms-chart.c (BC_R): Updated parse_formula.
11299         * ms-formula-read.c (ms_excel_parse_formula): s/sheet->ver/wb->ver/
11300         updated all calls to itself to add 'wb'.
11302         * ms-excel-read.c (ms_excel_workbook_new): Setup 'ver'
11303         (ms_excel_read_workbook): Update call.
11305         * ms-excel-read.h (_ExcelWorkbook): Add 'ver' field.
11307         * ms-excel-read.c: Updated all ms_excel_parse_formulae: this
11308         isn't as balmy as it seems... we should only be using the sheet
11309         data where we need to as Names have no associated sheet.
11311         * ms-formula-read.c (ms_excel_parse_formula): Add workbook.
11313         * ms-formula-read.h (ms_excel_parse_formula): ditto.
11315 1999-07-06  Jody Goldberg  <jgoldberg@home.com>
11317         * ms-excel-biff.h : remove _eBiff_wrap.
11319         * ms-excel-read.c : replace _eBiff_wrap with a boolean.
11320         (ms_excel_set_cell_xf) : Send xf->wrap.
11321         (excel_map_pattern_index_from_excel) : New function.
11322         (biff_xf_data_new) : Used here.
11324 1999-07-06  Michael Meeks  <michael@edenproject.org>
11326         * ms-excel-read.c (ms_excel_read_name): Fix up Names definition
11327         offset, start to manualy merge name stuff.
11329         * ole.c: Fix summary reading code: works now, try it on a
11330         SummaryInformation stream.
11332 1999-07-05  Jody Goldberg  <jgoldberg@home.com>
11334         * ms-formula-read.c : Improve debug messages a bit.
11335         (FORMULA_PTG_NAME) : initial stub implemetation.
11336         (make_function) : The dodgy special case seems to apply to functions
11337           with no arguments too.
11339         * ms-excel-read.c : Rework handling of Shared/Array formulas.
11340           They must follow a FORMULA record and come before a STRING
11341           record if the cell contains a string.  The upper left corner
11342           of shared formulas, and all of arrays now format correctly.
11343           (EXTERNNAME) : Rework the handling to apply to biff7 and biff8.
11344           Still only reading the names, not conecting them for real.
11346 1999-07-05  Morten Welinder  <terra@diku.dk>
11348         * ms-excel-read.c (biff_shared_formula_new): Constify.  Copy data
11349         because it seems it can be freed underneath us.
11350         (biff_shared_formula_destroy): Consequently free data.
11351         (ms_excel_workbook_destroy): Free global strings.
11352         (ms_excel_palette_destroy): Fix leak.
11354         * ms-excel-read.c (ms_excel_read_supporting_wb): Warning killer.
11355         (ms_excel_read_workbook): Ditto.  Fill in some code page info.
11356         (ms_excel_read_cell): Ditto.
11358         * ms-biff.c (biff_getdouble): Re-instate the "BYTE" in
11359         G_BYTE_ORDER...
11360         (biff_getdouble): Constify.
11362 1999-07-04  Michael Meeks  <michael@edenproject.org>
11364         * ms-formula-read.c (formula_func_data): Fixed ISREF, ISPMT.
11366         * ms-excel-write.c (write_mulblank): Add 0x200 to BLANK
11368         * biff-types.h (BIFF_PASSWORD): convert back from
11369         PASSguint16 :-)
11371         * ms-formula-write.c (write_arrays): Fix memory leak.
11373         * ms-excel-read.c (ms_excel_read_formula): Add S59DE9 reference.
11375         * ms-excel-write.c (write_cell): Updated constant so formulae get
11376         evaluated correctly.
11377         (write_formula): Split out complexity, Added STRING result storage.
11379         * ms-formula-write.c (write_string): Un-dofus the string writing
11380         fix Excel crash on any formula string.
11382         * ms-excel-write.c (write_cell): Fixup always calc. & on load,
11383         don't seem to be needed.
11384         Implement class specifiers throughout where needed.
11386         * ms-formula-write.c (OP_*): Helper macros for getting the class
11387         right on each PTG.
11389         * formula-types.h: Added class defines.
11391         * ms-excel-write.c (write_sheet_bools): Removed magic 0x44 from
11392         last byte of BIFF_COLINFO. Commented out GCW: unnecessary and
11393         wrong.
11394         (write_window1): Fiddled with the magic numbers.
11395         (write_sheet_bools): Add 0x200 to DEFAULTROWHEIGHT.
11396         (write_sheet): ditto to INDEX.
11398 1999-07-03  Michael Meeks  <michael@edenproject.org>
11400         * ms-formula-write.c (ms_excel_write_formula): Added critical
11401         magic 3 padding bytes s Array's are saved properly.
11403         * ms-excel-write.c (write_sheet): Size optimisation for blank
11404         rows.
11406 1999-07-02  Michael Meeks  <michael@edenproject.org>
11408         * ole.c (syntax_error): Update help.
11409         (read_records, dump_summary, do_summary): Start of summary info
11410         reading.
11411         (do_biff_raw): Cleaned unused var.
11412         (esh_header_contained): commented out.
11414 1999-07-02  Michael Meeks  <michael@edenproject.org>
11416         * ms-formula-read.c: more stylistic fiddling on great
11417         new debug stuff from Jody...
11419         * *.[ch]:
11420         s/MsOle_SEEK_SET/MsOleSeekSet/g
11421         s/MsOle_SEEK_CUR/MsOleSeekCur/g
11422         s/ms_ole_seek_t/MsOleSeek/g
11423         s/MsOle_PPS_STORAGE/MsOlePPSStorage/g
11424         s/MsOle_PPS_STREAM/MsOlePPSStream/g
11425         s/MsOle_PPS_ROOT/MsOlePPSRoot/g
11426         s/PPS_TYPE/PPSType/g
11427         s/ms_ole_pos_t/MsOlePos/g
11429 1999-07-02  Jody Goldberg  <jgoldberg@home.com>
11431         * ms-chart.c : Stylistic consistancy.
11432         s/BIFF_CHART_WRITER/ExcelChartWriter/g
11433         s/BIFF_CHART_READER/ExcelChartReader/g
11434         s/BIFF_CHART_HANDLER/ExcelChartHandler/g
11435         s/GUPPI_CHART_STATE/GuppiChartState/g
11436         s/BIFF_CHART_STATE/ExcelChartState/g
11437         s:\([^/]\)\* :\1*:g
11439 1999-07-02  Michael Meeks  <michael@edenproject.org>
11441         * *.[ch]: Much stylistic fiddling:
11442         s/MS_EXCEL_SHEET/ExcelSheet/g
11443         s/MS_EXCEL_WORKBOOK/ExcelWorkbook/g
11444         s/BIFF_BOUNDSHEET_DATA/BiffBoundsheetData/g
11445         s/BIFF_SHARED_FORMULA_KEY/BiffSharedFormulaKey/g
11446         s/BIFF_SHARED_FORMULA/BiffSharedFormula/g
11447         s/MS_EXCEL_PALETTE/ExcelPalette/g
11448         s/BIFF_FONT_DATA/BiffFontData/g
11449         s/BIFF_EXTERNSHEET_DATA/BiffExternSheetData/g
11450         s/BIFF_FORMAT_DATA/BiffFormatData/g
11451         s/BIFF_QUERY/BiffQuery/g
11452         s/BIFF_PUT/BiffPut/g
11453         s/GETBYTE/GET_GUINT8/g
11454         s/GETWORD/GET_GUINT16/g
11455         s/GETDLONG/GET_GUINT64/g
11456         s/GETLONG/GET_GUINT32/g
11457         s/BYTE/guint8/g
11458         s/WORD/guint16/g
11459         s/LONG/guint32/g
11460         s/MS_OLE_STREAM/MsOleStream/g
11461         s/MS_OLE_DIRECTORY/MsOleDirectory/g
11462         s/MS_OLE/MsOle/g
11464         * ms-excel-read.c: Large bout of indenting / formatting
11465         updates, sorry if you have patches ...
11467 1999-07-02  Michael Meeks  <michael@edenproject.org>
11469         * boot.c: Added 'main.h' to include debug symbol.
11471 1999-07-02  Michael Meeks  <michael@edenproject.org>
11473         * ms-excel-read.c (ms_excel_read_workbook): Actually
11474         insert the workbook_destroy at the end ( Huge leak ).
11476 1999-07-01  Michael Meeks  <michael@edenproject.org>
11478         * ms-excel-write.c (ms_excel_write_get_externsheet_idx):
11479         Stubbed.
11480         (write_cell): More, verbose debug.
11481         (write_index): shut it up.
11482         (write_sheet): Fix a rather serious logic error that was
11483         loosing us cells.
11484         (write_sheet): Added error message for huge sheets... needs
11485         more cunning indexing code.
11487         * ms-formula-write.c (write_cellref_v[78]): Fixed
11488         order of relative col/row bits. Implemented latter.
11489         (write_ref): Implemented BiffV8 support.
11490         (write_string): Added MISSARG support.
11491         (write_area): Implemented BiffV8 support, and
11492         3D area support.
11494         * ms-formula-write.c (write_node): Split out
11495         (write_ref): attempted to implement inter-sheet
11496         references.
11498         * ms-excel-write.c (ms_excel_write_get_sheet_idx):
11499         Created.
11501 1999-07-01  Morten Welinder  <terra@diku.dk>
11503         * boot.c: Clean out an incredible accumulation of #includes.
11505 1999-07-01  Jody Goldberg  <jgoldberg@home.com>
11507         * formula-types.h : Add some missing ptg types.
11509         * ms-excel-read.c : ms_excel_read_debug, ms_excel_formula_debug,
11510             ms_excel_color_debug, ms_excel_chart_debug.  Declare and use these
11511             to allow command line control so that we can ask remote users for
11512             debug info.
11513           (excel_builtin_formats) : Correct some typos.
11514           (ms_excel_read_formula) : Document errors in Excel SDK.
11515           (ms_excel_get_name) : Handle workbook local names. (stub)
11516           (ms_excel_read_name) : re-enable with name lookup. not connected yet.
11518         * ms-excel-read.h : Add internal_names to workbook.
11519         (ms_excel_get_name) : declare.
11521         * ms-formula-read.c : switch to new debug scheme.
11522           More verbose warnings for errors so we dont ignore them.
11523           (FORMULA_PTG_NAME) : Partial implementation until I have time to look
11524           at the branch.
11525           (FORMULA_PTG_PERCENT) : Guess at this one.
11526           Begin to handle 'extended' ptgs.  Very minimal docs.
11528 1999-07-01  Michael Meeks  <michael@edenproject.org>
11530         * ms-formula-write.c (ms_formula_cache_init),
11531         (ms_formula_cache_shutdown, cache_remove):
11532         Implemented.
11534         * excel.h: Added formula_cache functions.
11536         * boot.h (excel_init): Added excel_shutdown
11538         * boot.c (excel_shutdown): Created.
11540 1999-07-01  Michael Meeks  <michael@edenproject.org>
11542         * ms-formula-write.c (write_string): Created
11543         Implemented throughout for simplicity.
11545         * ms-excel-write.c (biff_put_text): Expanded to allow
11546         more flexible string writing.
11548         * ms-excel-write.h: Added type to specify string write.
11550         * ms-formula-write.c: All biff_put_text's write length
11551         correctly.
11552         Implemented Area PTGs
11554         * ms-excel-read.c (ms_excel_read_formula): Fix silly
11555         bug with broken formuale.
11557         * ms-biff.c (ms_biff_put_var_seekto): Added seekto
11558         API for fiddly biff types.
11560         * ms-excel-write.c (biff_put_text): Made external
11562         * ms-formeula-write.c: Created.
11564 1999-06-30  Michael Meeks  <michael@edenproject.org>
11566         * ms-formula-read.c (ms_excel_parse_formula): Updated
11567         Operation handling for new structure ( array ).
11569         * ms-excel-read.c (biff_get_global_string): Removed.
11571         * ms-formula-read.c: Updated func_data, and
11572         formula_op_data for Miguel and correctness.
11573         Cleaned FORMULA_NO_PRECEDENCE.
11575         * excel.h: Move and rename FormulaFuncData.
11577         * ms-excel-write.c: Moved structures to header.
11578         Renamed all structures to make Miguel happy.
11580         * Makefile.am: Added ms-formula-write.[ch]
11582 1999-06-30  Michael Meeks  <michael@edenproject.org>
11584         * ms-formula-read.h: Split out types.
11586         * formula-types.h: Imported from above.
11588         * ms-excel-write.c (write_value): Fix LABEL versioning.
11590 1999-06-30  Michael Meeks  <michael@edenproject.org>
11592         * ms-excel-write.c:(write_value): Hard-coded
11593         version stuff onto NUMBER & RK.
11594         (write_xf_record): Added hack to produce
11595         identical XF table to test case.
11596         (write_rowinfo): Added 0x200
11597         (write_sheet_bools): ditto to DIMENSIONS.
11599 1999-06-30  Jody Goldberg  <jgoldberg@home.com>
11601         * biff-types.h : Add some undocumented BIFF types, move INDEX,
11602           DEFAULTROWHEIGHT into lsb territory.
11604         * ms-excel-read.c (ms_excel_palette_new) : Correct debug messages.
11605         (ms_excel_palette_get) : Improve debug messages, and assume that
11606           0, 64, 127 are all contrast states.
11607         (ms_excel_set_cell_colors) : Tail merge with ms_excel_set_cell_xf,
11608           handle special case of fill-pattern=0.  Now all the color sheets
11609           look OK !! Next step, patterns.
11610         (ms_excel_read_formula, ms_excel_read_boolerr) : Read current values so
11611           we can set styles.  Empty strings are undocumented :-(
11612         (ms_excel_read_cell) : Handle array formulas.
11613         (ms_excel_read_sheet, ms_excel_read_workbook) : Add some unhandled
11614           record types so that we can start to enable state checking.
11615         (ms_excel_unexpected_biff) : New function for warning about state.
11616         (biff_xf_data_new) : Don't map pattern types as if they were borders.
11618         * ms-formula-read.c (make_function) : Generate a dummy handler for
11619           unknown functions.
11620           (unknownFunctionHandler) : A dummy handler returning NAME for unknown
11621           functions.
11623         * ms-chart.c : Use ms_excel_unexpected_biff, handle some
11624           undocumented codes, and fill in more record types.
11626 1999-06-30  Michael Meeks  <michael@edenproject.org>
11628         * ms-excel-write.c (write_sheet_bools): Updated
11629         BIFF_COLINFO.
11630         (write_value): Fixed up write_value to handle
11631         numbers more correctly.
11632         (write_window1): fixed WINDOW1 magic numbers.
11633         (write_formats): Updated format's upper bits.
11634         (write_sheet_tail): Mended broken selection.
11636 1999-06-29  Michael Meeks  <michael@edenproject.org>
11638         * ms-excel-write.c (write_sheet_tail): Updated
11639         magic selection. Added magic GCW.
11640         (write_constants): Update to help debugging; I'm
11641         not really an egotist.
11642         (write_formats): Added constants from air.
11643         (write_index): Correct to absolute index.
11644         Fix all mis-alignments of streamPos read ( lots ).
11645         (biff_bof_write): Return streamPos to help with
11646         realignment.
11648         * ole.c (do_biff_raw): Added position readout.
11650 1999-06-29  Michael Meeks  <michael@edenproject.org>
11652         * ms-excel-write.c (biff_boundsheet_write_last): Use
11653         correct type.
11654         Added streamPos to Workbook for INDEX calcs.
11655         (write_index): Implemented.
11656         (write_sheet): Added write_index, and necessary bits.
11658         * ms-excel-read.c (biff_nasty_font_check_function):
11659         removed, wonderful !
11660         (biff_font_data_get_style_font): Updated & cleaned.
11662 1999-06-28  Michael Meeks  <michael@edenproject.org>
11664         * ms-excel-write.c (write_formats): Write some magic
11665         standard number formats.
11667 1999-06-27  Michael Meeks  <michael@edenproject.org>
11669         * ms-excel-read.c: excel_builtin_formats: Populated with
11670         NULL's in sensible places to clean maintainability.
11672         * ms-formula-read.c (ms_excel_parse_formula): Add fix for
11673         broken array formulae causing infinite loop.
11675         * ms-excel-read.c (ms_excel_read_cell): Fix Morten's fatal
11676         cock-up in value_new_string (NULL).
11678         * ms-excel-write.c (write_mulblank): Implemented.
11679         (write_sheet): Started to get DBCELL / Index type code in
11680         place.
11681         Cleaned nasty cell hash iterator, and closure. We now rely
11682         on the optimal handling of max_col/row_used in the sheet.
11684         * ms-excel-read.c (ms_excel_read_cell): Insert blank into
11685         the correct column, not just the same one all the time.
11687         * ms-excel-write.c (write_palette): Write default palette.
11689         * ms-excel-read.c: Externalised default palette, and format
11690         data.
11692         * excel.h: ditto.
11694 1999-06-25  Michael Meeks  <michael@edenproject.org>
11696         * ms-excel-read.c: Minor fiddles setting blank flag in some new
11697         places, and types changed to gboolean.
11699         * ms-excel-read.h (_MS_EXCEL_SHEET): changed 'blank' to gboolean.
11701 1999-06-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
11703         * ms-excel-read.c (biff_font_data_get_style_font): Use
11704         style_font_ref here instead of creating a new font.
11706 1999-06-22  Morten Welinder  <terra@diku.dk>
11708         * ms-excel-read.c (biff_get_rk): Handle negative ints and ints/100
11709         right.  Thanks to Jody for finding this.
11711 1999-06-21  Morten Welinder  <terra@diku.dk>
11713         * ms-formula-read.c (make_function): Handle constant symbols.
11715         * ms-excel-read.c (ms_excel_read_cell): Insert bools as values,
11716         not constant expresssions.
11717         (biff_get_text): Make a little more quiet.
11718         (ms_excel_read_cell): Insert strings as values, not via text.
11720         * ms-excel-read.c (ms_excel_read_cell): Handle errors and boolean
11721         constants without going through text.  (In particular, this gets
11722         errors right and prepares for a proper bool type.)
11724         * ms-formula-read.c (ms_excel_parse_formula): Fix error constants.
11726 1999-06-21  Michael Meeks  <michael@edenproject.org>
11728         * ms-excel-read.c (ms_excel_read_cell): Remove Jody's
11729         check against NULL pointers, insert_form handles them.
11731         * ms-chart.c (BC_R): make call to dump_tree conditional
11733         * ms-excel-write.c (write_sheet_bools): Various fixes.
11734         (write_value): Change RSTRING -> LABEL
11736         * README (TODO): Updated.
11738         * ms-excel-write.c (write_externsheets): Fix for single sheet
11739         workbooks.
11740         (write_formats): Write the format index code!
11741         (write_sheet_bools): Divide default col width by 16
11743         * ms-excel-write.h (ms_excel_write_workbook): Cleaned and fixed
11744         header.
11746 1999-06-21  Jody Goldberg  <jgoldberg@home.com>
11748         * biff-types.h : Move NAME from 218 -> 18, rename Chart biff types to
11749         lower case to facilitate decls.
11750         * ms-biff.[ch] (dump_biff) : export.
11751         * ms-excel-read.[ch] : (ms_biff_bof_data_new, ms_biff_bof_data_destroy)
11752         export.
11753         * ms-formula-read.c : Improve handling of array formulas.
11754         * ms-obj.c : Adjust signatures, and split chart handling into its own
11755         file.
11756         * ole.c : Count BACKWARDS to allow BIFF types with high bytes to
11757         override those with only low bytes specified.
11758         * Makefile.am : Add ms-chart.
11759         * ms-chart.[ch] : New files.  No real functionality.  60% complete.
11761 1999-06-17  Michael Meeks  <michael@edenproject.org>
11763         * ms-formula-read.c (formula_func_data): Fixed up, should work
11764         again.
11766 1999-06-17  Morten Welinder  <terra@diku.dk>
11768         * ms-formula-read.c (make_function): Yet another leak fix.
11770         * ms-formula-read.c (expr_tree_unary): Obsolete.  Use
11771         expr_tree_new_unary instead.
11772         (expr_tree_cellref): Obsolete.  Use expr_tree_new_var instead.
11773         (expr_tree_value): Obsolete.  Use expr_tree_new_constant instead.
11774         (expr_tree_string): Simplify.
11775         (ms_excel_parse_formula): Use expr_tree_string.  Use
11776         expr_tree_new_binary.
11777         (make_function): Use expr_tree_new_funcall.  Fix leak.
11779         * ms-excel-read.c (ms_excel_read_name): Don't print null pointers.
11780         (ms_excel_read_workbook): Ditto.
11782 1999-06-17  Jukka-Pekka Iivonen  <iivonen@iki.fi>
11784         * ms-formula-read.c (formula_func_data): LOG, ROMAN, TRUNC, and
11785         BETADIST made var args.
11787 1999-06-17  Michael Meeks  <michael@edenproject.org>
11789         * ms-formula-read.c (make_function): Added debug.
11790         (formula_func_data): Expand comments.
11792 1999-06-17  Jody Goldberg  <jgoldberg@home.com>
11794         * ms-formula-read.c (formula_func_data): Fixed some
11795         minor errors.
11797 1999-06-16  Jukka-Pekka Iivonen  <iivonen@iki.fi>
11799         * ms-formula-read.c (formula_func_data): SUMIF made var args.
11801 1999-06-15  Morten Welinder  <terra@diku.dk>
11803         * ms-formula-read.c (ms_excel_parse_formula): Handle bools.  Plug
11804         leak.
11805         (make_function): Plug leak.
11807         * ms-excel-read.c (biff_font_data_get_style_font): Supply correct
11808         size when initialising.
11809         (biff_nasty_font_check_function): Revert last change.  Extra
11810         parameter ptsize.
11812 1999-06-15  Jody Goldberg  <jgoldberg@home.com>
11814         * ms-formula-read.c (formula_func_data): Repopulate using xlcall.h and
11815         reading the docs for each function to deduce the number of args.
11817 1999-06-14  Morten Welinder  <terra@diku.dk>
11819         * ms-excel-read.c (biff_nasty_font_check_function): Load fontset,
11820         not font.
11821         (biff_font_data_get_style_font): Make sure size constraints don't
11822         conflict.
11824 1999-06-15  Michael Meeks  <michael@edenproject.org>
11826         * ms-excel-read.c (biff_font_data_get_style_font): Add check
11827         for NULL font name; return default font.
11829 1999-06-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
11831         * ms-formula-read.c (formula_func_data): LOG, ROMAN, and TRUNC
11832         made var args.
11834 1999-06-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
11836         * ms-formula-read.c (formula_func_data): PRODUCT, ROUNDDOWN,
11837         ROUNDUP, SUBTOTAL, SUMSQ, and SUMIF fixed.  SUMX2MY2 and SUMX2PY2
11838         added but they don't work (I don't know why?).
11840 1999-06-13  Michael Meeks  <michael@edenproject.org>
11842         * ms-excel-read.c (ms_excel_set_cell_colors): Remove identical color
11843         warning. This is a useful bug at the moment.
11845 1999-06-13  Jody Goldberg  <jgoldberg@home.com>
11846         * ms-excel-read.c (biff_get_error_text) : Use new global error strings.
11847         (ms_excel_default_palette) : New function.
11848         (ms_excel_palette_new) : Colors are stored
11849                     <DontCare><Blue><Green><Red>
11850             rather than
11851                     <DontCare><Red><Green><Blue>
11852         (ms_excel_palette_get) : Clone bytes to scale colors, begin to
11853         handle more of the 'special' color indices and guess that indices
11854         are offset by 8.
11855         (ms_excel_palette_destroy) : Don't delete the default palette.
11856         (ms_excel_set_cell_colors) : Don't filter too many bits, support
11857         initial contrast methods.
11858         (ms_excel_set_cell_font) : Ditto.
11859         (ms_excel_set_cell_xf) : Ditto.
11860         (biff_xf_data_new) : Default palette to internal palette.
11862 1999-06-12  Michael Meeks  <michael@edenproject.org>
11864         * ms-excel-read.c (ms_excel_read_supporting_wb):
11865         Renamed from _WB.
11866         (ms_excel_read_name): Remove buggy names assert.
11868 1999-06-11  Jody Goldberg  <jgoldberg@home.com>
11870         * biff-types.h: Add some missing types as defined in
11871         the Excel 97 Developers kit.  Begin coverage of Chart specific records.
11872         Improve documentation of 'odd-ball' entries and collsions in the low
11873         order numbering scheme.
11875         * ms-obj.c (ms_obj_read_obj) : Remove unused sheet param
11876         to facilitate support for Workbook level objects.  Extend known object
11877         types.
11878         * ms-obj.h (ms_obj_read_obj) : Ditto.
11880         * ms-obj.c (ms_chart_biff_read) : Initial experimental
11881         harness for excel charts.
11882         * ms-obj.h (ms_chart_biff_read) : Ditto.
11884         * ms-excel-read.c (biff_name_data_new) : Take Workbook instead of sheet.
11885             (ms_biff_unknown_code) : New function split out from.
11886             (ms_excel_read_workbook) : Here.
11887             (ms_excel_read_name) : New function split out from.
11888             (ms_excel_read_cell) : Here.
11889             (ms_excel_externname): New function split out from
11890             (ms_excel_read_cell) : Here.
11891             (ms_excel_read_supporting_WB) : New function.  Will probably
11892             split up in the future when the filename encoding is clarified.
11893             (ms_excel_read_workbook) : Precheck for odd-balls and chart types.
11894             Add hooks for other fields.
11896 1999-06-09  Michael Meeks  <michael@edenproject.org>
11898         * ms-excel-read.c (ms_excel_read_workbook): Added version
11899         printout.
11900         (ms_excel_set_cell_colors): More debug.
11901         (biff_font_data_new): Added strange truncation of font
11902         color_idx.
11903         (ms_excel_palette_get): >= 0.
11905 1999-06-08  Michael Meeks  <michael@edenproject.org>
11907         * ms-formula-read.c (formula_func_data): correct DAYS360,
11908         add TIMEVALUE.
11910 1999-06-07  Michael Meeks  <michael@edenproject.org>
11912         * ms-formula-read.c (formula_func_data): Fix ATAN2 -> PI
11914 1999-06-02  Michael Meeks  <michael@edenproject.org>
11916         * ms-formula-read.c (ms_excel_parse_formula): Elucidate
11917         error messages.
11918         (ms_excel_parse_formula): clean debug.
11919         (formula_func_data): Fix COUNT and BETADIST.
11921 1999-06-01  Michael Meeks  <michael@edenproject.org>
11923         * ms-excel-write.c (write_sheet_bools): Added yet more
11924         magic numbers.
11925         (write_sheet_tail): Implemented WINDOW2, SELECTION as
11926         magic.
11927         (ms_excel_write_workbook): Fix silly big dimension block.
11929         * boot.c (excel_init): Put Excel 95 on by default.
11931         * ms-excel-write.c (write_bits): Added WINDOW1 bit.
11932         (write_fonts): Add slight difference in duplicate fonts.
11933         (write_xf_record): Added more fields.
11935 1999-05-31  Michael Meeks  <michael@edenproject.org>
11937         * ms-excel-write.c (biff_bof_write): Fixed _major_
11938         bug in BOF writing.
11939         (write_xf_record): Version fix.
11940         (write_bits): Lots of silly little records.
11941         (write_workbook): Write bits.
11942         (write_sheet_bools): Added lots of flags.
11943         (write_sheet): Added sheet_bools.
11945         * boot.c (excel_init): Changed 98->97 in text.
11947         * ms-excel-write.c (write_workbook): Fix serious list
11948         bug freeing list then using it !
11950 1999-05-30  Michael Meeks  <michael@edenproject.org>
11952         * ms-excel-write.c: Changed to biff_put_commit
11953         throught.
11954         (write_fonts): Added more magic numbers.
11956         * ms-biff.c (ms_biff_put_commit): Added, and made
11957         other commits static.
11959         * ms-excel-write.c: Indenting fixes.
11960         (write_constants): CODEPAGE support.
11961         (write_workbook): Added missing write_xf call.
11963 1999-05-30  Nick Lamb <njl98r@ecs.soton.ac.uk>
11965         * ms-formula-read.c (getRefV8, getRefV7): Fix shared
11966         formulae absolute references.
11968 1999-05-28  Michael Meeks  <michael@ximian.com>
11970         * ms-excel-write.c: Minimal Pallete / XF writing.
11971         Basic font writing.
11972         (biff_put_text): Horrendous bug fixed.
11973         (write_magic_interface): Magic...
11975 1999-05-26  Michael Meeks  <michael@ximian.com>
11977         * biff-types.h: Fleshed out defines, now the 'compatible'
11978         staroffice file is dumped nicely.
11980         * ole.c (read_types): Added fudge in case files are nearby.
11982         * ms-excel-write.c (ms_excel_write_workbook): Force Big
11983         Block file.
11984         (write_value): Set vesion on biff_put_text for RSTRING to V7.
11986 1999-05-24  Michael Meeks  <michael@ximian.com>
11988         * ole.c (main): Added 'debug' option to dump allocation.
11990 1999-05-21  Nick Lamb <njl98r@ecs.soton.ac.uk>
11992         * ms-formula-read.c: Lots of new formulae translations.
11994 1999-05-20  Michael Meeks  <michael@ximian.com>
11996         * ole.c (main): Change ole_new to ole_open.
11997         (list_files): Added assertion.
11999         * boot.c (excel_load): Same.
12001 1999-05-19  Michael Meeks  <michael@ximian.com>
12003         * ole.c (main): Add New OLE file creation support.
12005         * ms-excel-read.c (ms_excel_set_cell_xf): Cleaned silly
12006         debug.
12008 1999-05-19  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12010         * ms-formula-read.c (formula_func_data): LOGNORMDIST and NORMSDIST
12011         fixed.
12013 1999-05-17  Michael Meeks  <michael@ximian.com>
12015         * ms-formula-read.c (formula_func_data): Function data from
12016         Luke Plant.
12018         * ms-biff.h: Add biff_setdouble prototype.
12020         * ms-excel-read.c: Updated commenting.
12022         * ms-biff.c (ms_bug_get_padding): Quietened.
12023         Implemented 'tell' throught
12024         (ms_biff_put_var_commit): Fixed seeking over end.
12026 1999-05-16  Michael Meeks  <michael@ximian.com>
12028         * ms-excel-write.c (biff_put_text): Fix silly assertion.
12030         * ms-excel-read.c: Added debug to reading side,
12031         Cleaned conditional debug to use #defines
12033         * ms-excel-write.c (write_sheet): Save a number in each
12034         sheet to stop their destruction.
12036         * ms-excel-biff.h: Added helper set row,col,xf macros.
12038         * ms-biff.c (ms_biff_put_var_commit): Fixed.
12039         Added streamPos setting on commit.
12041         * ms-excel-write.c: Large updates.
12043 1999-05-16  Michael Meeks  <michael@ximian.com>
12045         * ms-formula-read.c (make_function): Allow fn_idx == 0
12046         add translation for RANK.
12048 1999-05-15  Michael Meeks  <michael@ximian.com>
12050         * ms-excel.[ch] -> ms-excel-read.[ch],
12052         * ms-formula.[ch] -> ms-formual-read.[ch]
12054         * All files incldes updated to obey above.
12056         * ms-biff.c (ms_biff_put_new): Implemented,
12057         (ms_biff_put_destroy): Implemented.
12058         Various other functions updated / fixed.
12060         * ms-excel-write.c (ms_excel_write_workbook): Change stream name
12061         depending on the version.
12062         Close streams / directory entries correctly.
12063         (write_workbook): Created.
12065 1999-05-15  Michael Meeks  <michael@ximian.com>
12067         * Makefile.am: stop 'ole' being installed.
12069 1999-05-15  Michael Meeks  <michael@ximian.com>
12071         * ms-formula.c (ms_excel_parse_formula): Cleaned debug.
12073         * boot.c (excel_init): Added write hooks.
12074         (excel_save_95, excel_save_98, excel_save): Created.
12076 1999-05-14  Michael Meeks  <michael@ximian.com>
12078         * ms-formula.c (ms_excel_parse_formula): Finaly got the ARRAY
12079         docs sorted, deciphered inconsistancies etc.
12081 1999-05-14  Michael Meeks  <michael@ximian.com>
12083         * ms-formula.c (ms_excel_parse_formula): Implemented V7. 3D refs
12084         and 3D Area references.
12085         (make_inter_sheet_ref_v7): Created to deal with V7 references.
12087         * ole.c (really_put): Changed to ms_ole_get_root.
12089         * ms-excel-biff.h: moved biff_version to 'excel.h'.
12091         * *.c: Re-ordered includes.
12093         * ms-excel-write.c (ms_excel_write_workbook): Fleshed out.
12095         * ms-biff.c (biff_put*): Fleshed out.
12097         * ms-biff.h (BIFF_SET_GUINT*): Added BIFF setting macros.
12099 1999-05-13  Michael Meeks  <michael@ximian.com>
12101         * ms-formula.c (ms_excel_parse_formula): Updated Array support.
12103         * ms-excel.c (ms_excel_set_cell_colors): Kills colors where
12104         backgnd & foregnd are same, needs pattern stuff to work
12105         before it can be fixed.
12106         (ms_excel_palette_get): Sorted special idx=64 color & added
12107         sanity check.
12109 1999-05-13  Michael Meeks  <michael@ximian.com>
12111         * ms-biff.h (ms_biff_query_next): Macrofied.
12113         * ms-biff.c (ms_bug_get_padding): Routine to overcome
12114         nastiness in MS' flawed implementation of CONTINUE records.
12115         (ms_biff_query_next_merge, ms_biff_merge_continues),
12116         (ms_biff_query_unmerge): Add padding corrective.
12118 1999-05-12  Michael Meeks  <michael@ximian.com>
12120         * ms-biff.h: Major overhaul, added some fields to be implemented.
12121         Added stubs for new BIFF write-side.
12123         * ms-biff.c (biff_setdouble): Implemented.
12125         * ms-excel.c (ms_excel_read_cell): BIFF_NUMBER: Removed last
12126         vestige of nasty number->text->number sillyness.
12128         * Makefile.am (libexcel_a_SOURCES): Added excel.h,
12129         ms-excel-write.[ch].
12131         * boot.c (excel_load): Updated name & headers.
12133         * ms-excel.c (ms_excel_write_workbook): Stubbed.
12135         * ms-excel.h: Split out excel specifics into smaller header.
12136         Renamed functions to remove nasty mixed case.
12138 1999-05-12  Michael Meeks  <michael@ximian.com>
12140         * ole.c (main): Add check on ptr to fix NULL pointers getting
12141         to strcasecmp.
12142         (do_copyin): Added mass-copy in/out function.
12144 1999-05-10  Michael Meeks  <michael@ximian.com>
12146         * ms-excel.c (ms_excel_read_sheet): Added new
12147         workbook_focus_sheet stuff.
12149 1999-05-10  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
12151         * Makefile.am (INCLUDES): Use -I$(srcdir)/libole2 instead of
12152         -Ilibole2 to allow srcdir!=builddir.
12154 1999-05-09  Michael Meeks  <michael@ximian.com>
12156         * ms-formula.c (make_function): More useful debug.
12157         Added Database function translation.
12159 1999-05-08  Michael Meeks  <michael@ximian.com>
12161         * ole.c (do_get, do_put): Sill fread/write no brainer.
12162         (main): Less verbose.
12164         * README: Updated to list more useful options.
12166 1999-05-08  Michael Meeks  <michael@ximian.com>
12168         * ms-biff.c (ms_biff_query_copy): Updated to use new
12169         global ms_ole_stream_copy.
12171         * Makefile.am: Split out 'ole' program, added libole2
12172         subdir. Added ms-biff.c.
12174         * libole2/ Created, moved ole.c, ms-ole.[ch] there.
12176 1999-05-08  Michael Meeks  <michael@ximian.com>
12178         * ole.c (main): Large re-structure, split out into smaller
12179         functions.
12181         * ms-formula.c (ms_excel_parse_formula): Hack at ARRAY
12182         functionality...
12184         * ms-excel.c (ms_excel_sheet_set_comment): Fix for setting
12185         comments on blank cells; was fatal.
12187 1999-05-07  Michael Meeks  <michael@ximian.com>
12189         * ms-formula.c (ms_excel_parse_formula): Fixed horrible bug
12190         in PTG_ATTR, not stopping on duff attr.
12192         * ms-excel.c (ms_excel_read_cell): Cleans to ARRAY_FORMULA.
12194 1999-05-06  Michael Meeks  <michael@ximian.com>
12196         * ms-ole.c (ms_biff_query_new, ms_biff_merge_continues)
12197         Better merge support.
12199         * ms-biff.h (_BIFF_QUERY): Added merge count
12201 1999-05-06  Michael Meeks  <michael@ximian.com>
12203         * ms-excel.c (ms_excelReadWorkbook): Added freeze /
12204         thaw redraws for speed.
12206         * ms-escher.c (OPT_new): Expanded.
12207         (BStoreContainer_destroy): Added debug.
12209         * ole.c: Updated functions from ms-escher.c
12210         (main): Correctly skip over previously merged stuff.
12212 1999-05-05  Michael Meeks  <michael@ximian.com>
12214         * ms-formula.c (parse_list_push_raw): Cleaned debug.
12215         (parse_list_push): Added (different) debug.
12216         (formula_func_data): Fixed comments.
12217         (duplicate_formula): Removed.
12219 1999-05-05  Michael Meeks  <michael@ximian.com>
12221         * ms-excel.c (ms_excel_read_cell): Updated debug.
12222         (ms_excel_sheet_insert_val): Fixed prototype.
12224         * ms-formula.c (expr_tree_unary): Added helper fn.
12225         (ms_excel_parse_formula): Added +/- unary op. loading.
12226         Remove redundant guff from formula_op_data.
12228         * ms-formula.h: Removed FORMULA_ARRAY_DATA: redundant.
12229         Added PTG_U_PLUS, PTG_U_MINUS.
12231 1999-05-04  Morten Welinder  <terra@diku.dk>
12233         * ms-excel.c (ms_excel_workbook_new): Fix argument list.
12235 1999-05-02  Michael Meeks  <michael@ximian.com>
12237         * ms-excel.c (biff_get_externsheet_name): Converted to return
12238         a Sheet *
12239         (ms_excel_sheet_shared_formula): Returns ExprTree.
12240         (biff_boundsheet_data_new): Added EXCEL_SHEET * to BOUNDSHEET_DATA
12241         this really needs rationalising !
12242         Fixed all things that use ms_formula stuff...
12244         * ms-formula.c: The most comprehensive re-write of the entire
12245         formula parsing structure. 80% + of code changed. Now smaller,
12246         cleaner, meaner, leaner ... and featuring all your favorite bugs.
12248 1999-05-02  Michael Meeks  <michael@ximian.com>
12250         * ms-excel.c (biff_xf_data_destroy): Changed prototype.
12251         (ms_excel_workbook_destroy, ms_excel_workbook_new),
12252         (ms_excel_set_cell_xf, biff_xf_data_new):
12253         Updated XF to GPtrArray, this saves a hash lookup per cell.
12254         (ms_excel_workbook_new): excel_sheets -> GPtrArray
12255         (ms_excel_workbook_attach): Drasticaly simplified
12256         (ms_excel_sheet_set_index): Removed.
12258         * ms-excel.h (_MS_EXCEL_WORKBOOK): Changed XF hashes
12259         to PtrArray's for speed & elegance.
12261 1999-05-02  Michael Meeks  <michael@ximian.com>
12263         * ms-excel.c (ms_excel_read_sheet): Add check before
12264         ms_excel_sheet_destroy.
12265         (ms_excel_read_sheet): Cleaned debug, and made it nicer.
12266         (ms_excel_workbook_detach): Fixed semantics of workbook_detach
12267         and plug large memory leak.
12269 1999-05-02  Michael Meeks  <michael@ximian.com>
12271         * ms-formula.c (ms_excel_parse_formula): Removed annoying
12272         debug killing performance.
12274         * ms-excel.c (ms_excel_sheet_insert_val): Created.
12275         (biff_get_rk): Removed impossible clause.
12276         Returns a Value now for speed; also increases accuracy.
12277         (ms_excel_read_cell): BIFF_RK, BIFF_MULRK: Removed nasty
12278         buffer and ugly printf.
12279         (ms_excel_sheet_insert): Made static, & removed from .h
12281 1999-04-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12283         * ms-ole.c (ms_ole_new): Applied patch from Michael Meeks to allow
12284         opening of excel files in read-only mode.
12286 1999-04-29  Michael Meeks  <michael@edenproject.org>
12288         * ms-ole.c (ms_ole_new): Revert to read-only mapping on failure.
12289         (MW: there has got to be a reason why we don't start that way.)
12291 1999-04-29  Morten Welinder  <terra@diku.dk>
12293         * ms-excel.c (ms_excel_workbook_detach): Add new extra parameter
12294         to workbook_detach_sheet.
12296 1999-04-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12298         * ms-excel.c (ms_excel_workbook_detach): Check the return value of
12299         workbook_detach_sheet.
12300         (ms_excel_read_sheet): If detaching fails, there is a dependency.
12302 Tue Apr 20 16:34:38 1999  Morten Welinder  <terra@diku.dk>
12304         * ms-obj.c (ms_obj_read_obj): Initialise type.
12306 1999-04-19  Morten Welinder  <terra@diku.dk>
12308         * ms-excel.c (biff_get_rk): Fixed up mask on eIEEE.
12310 1999-04-19  Michael Meeks  <michael@edenproject.org>
12312         * ms-escher.c (read_DgContainer): Removed redundant
12313         debug.
12315         * ms-ole.c (ms_biff_merge_continues): Silly ordering
12316         bug fix. And memory leak removed.
12318         * ms-excel.c (ms_excelReadWorkbook): Silly string table
12319         length bug. Wehn we truncate, cut the length as well.
12321         * ole.c (syntax_error): Updated help.
12322         (main): [old] added 'biffraw'
12324 1999-04-19  Morten Welinder  <terra@diku.dk>
12326         * ms-formula.c (ms_excel_parse_formula): Fix for
12327         strings: use quotes.
12329         * ms-excel.c (ms_excel_sheet_append_comment): Fix.
12330         (biff_font_data_get_style_font): removed assert, and
12331         use g_snprintf
12332         (ms_excelReadWorkbook): Removed duff
12333         comments, and some debug.
12335 1999-04-19  Michael Meeks  <michael@edenproject.org>
12337         * ms-biff.h (_BIFF_QUERY): Set length to guint32
12338         (BIFF_GETLONG): Added various casts.
12340         * ms-ole.c (ms_ole_read_ptr_bb, ms_ole_read_ptr_sb):
12341         Re-enabled, and fixed silly bug.
12342         (dump): the 'int' type behaves very strangely.
12344 1999-04-18  Michael Meeks  <michael@edenproject.org>
12346         * ms-ole.c: Rather important fixes. How did it ever
12347         work before !.
12349 1999-04-18  Michael Meeks  <michael@edenproject.org>
12351         * ms-ole.c, ms-ole.h: MASSIVE hack. invalidates
12352         pretty much all the previous ole changelog entries.
12353         (dump): Updated type.
12355         * ms-excel.c (ms_biff_bof_data_new): Removed assert.
12356         (biff_get_externsheet_name): Removed assert.
12357         (ms_excel_parse_formula): Commented out array support.
12359 1999-04-18  Michael Meeks  <michael@edenproject.org>
12361         * ms-excel.c (ms_excel_workbook_new): Added flag so
12362         only reads first group & merges rest.
12364         * ms-escher.c (biff_to_flat_data): Improved merge
12365         heuristic.
12367 1999-04-18  Michael Meeks  <michael@edenproject.org>
12369         * ms-escher.c (bse_type_to_name): Created.
12370         (bse_type_to_name): Created.
12371         (BSE_new): Updated.
12372         (esh_header_contained): Moved duplicated code
12373         into this and added check.
12374         (esh_header_next): Added debug.
12375         (write_file): Writes a pixmap to disk.
12377 1999-04-15  Michael Meeks  <michael@edenproject.org>
12379         * ms-excel.c (ms_excelReadWorkbook): Put PRECISION
12380         output conditional on debug.
12381         Put escher_hack_get_drawing on condition of --debug
12383         * ms-formula.c (ms_excel_parse_formula): Added
12384         'Optimised Choose' functionality.
12385         (formula_func_data): Inserted CHOOSE.
12386         (ms_excel_parse_formula): Patch for broken MS files.
12387         Updated 'Name' records.
12389 1999-04-15  Michael Meeks  <michael@edenproject.org>
12391         * boot.c: Fixed includes to remove annoying warning.
12392         (excel_load): Add workbook_set_filename for style.
12394         * ms-excel.c (ms_excel_workbook_detach): Added debug
12395         if can't remove sheet for some reason.
12397         * ms-ole.c (pps_get_text): Hacked in some better
12398         unicode support. Might work cross-platform now.
12399         (ms_ole_new): Added name printout to help debug.
12400         (ms_ole_directory_next): Conditional'd debug.
12401         (directory_setup): clean debug.
12403         * ms-excel.c (ms_excel_set_cell_colors): Removed debug.
12405 1999-04-15  Michael Meeks  <michael@edenproject.org>
12407         * ms-formula.c (ms_excel_parse_formula): PTG_AREAN added,
12408         and PTG_AREA updated to include 'shared' flag.
12409         (ms_excel_parse_formula): Added PTG_ARRAY code.
12411         * ms-formula.h (FORMULA_PTG_ARRAY): Added PTG_ARRAY
12413         * ms-excel.c (ms_excel_read_cell): Added more sensible
12414         floating point printing throught.
12416         * ms-excel.h (MS_EXCEL_DOUBLE_FORMAT): Created to
12417         standardise number transfer.
12419 1999-04-14  Michael Meeks  <michael@edenproject.org>
12421         * ms-formula.h: Updated ms_excel_parse_formula prototype.
12423         * ms-excel.c (ms_excel_read_cell): Added 'shared' flag
12424         to all ms_excel_parse_formula instances.
12425         (biff_get_error_text): Set arg to const.
12426         (ms_excel_sheet_shared_formula): Removed debug.
12427         (ms_excel_read_cell): Removed debug.
12428         (ms_excel_sheet_insert): const text arg.
12430         * ms-excel.h: Updated prototypes.
12432         * ms-formula.c (ms_excel_parse_formula): RefN replaced.
12433         updated prototype & args. Updated optimised if call.
12434         (getRefV8, getRefV7): Attempt at shared formulae.
12435         Fairly brutal hack: seems to work :-)
12437 1999-04-14  Michael Meeks  <michael@edenproject.org>
12439         * ms-excel.c (biff_get_text): Remove platform dependance.
12440         (biff_get_error_text): Changed type.
12441         (biff_boundsheet_data_new): s/int strlen/int slen/
12442         (biff_font_data_destroy): Free after last use.
12443         (biff_get_rk): Changed IEEEx10 to IEEEx100
12444         (ms_excel_read_cell): COL_INFO: Fixed width cast.
12445         Thanks to great bug reports by Morten Welinder.
12447         * ms-excel.h: Add const to biff_error_get_text.
12449         * ms-ole.c (SET_GUINT8): Fix GET_<TYPE> macros.
12451         * ms-biff.h (BIFF_GETWORD): Patch from Morten Welinder to
12452         improve GET<TYPE> macros.
12454 1999-04-14  Michael Meeks  <michael@edenproject.org>
12456         * ole.c (dump_escher): Fatal Escher cockup removed, makes
12457         the problem look more complex and realistic.
12458         Indenting added.
12460         * ms-escher.c (read_DgContainer): Created.
12461         (SpgrContainer_new): Created.
12462         (ms_escher_hack_get_drawing): Add debug.
12463         (SpContainer_new): Created.
12464         There must be a good way of doing this recursively.
12466 1999-04-13  Michael Meeks <michael@ximian.com>
12468         * ms-escher.c (esh_header_next): Fixedup to use correct lengths.
12469         Various major bits of work, started parsing the heirarchical
12470         bitstream. Escher looks better than BIFF, 32bit clean seemingly.
12472         * ole.c: Copied in updates.
12473         (dump_escher): Recursive dump of structures.
12475 1999-04-13  Michael Meeks <michael@ximian.com>
12477         * ms-ole.c(ms_biff_query_copy): Fix nasty bug: duplicate
12478         stream pos record too.
12480         * escher-types.h: Created to hold the drawing layer types.
12482         * ole.c (read_types): Expanded to cope with escher types.
12483         (get_opcode_name): Duplicated into:
12484         (get_biff_opcode_name, get_escher_opcode_name): Created.
12485         (main): Updated biff section.
12486         Added 'draw' = search for drawings and dump section.
12488         * README: Updated to doc. 'draw'
12490 1999-04-12  Michael Meeks <michael@ximian.com>
12492         * ms-objc.c/h renamed ms_obj_read_graphic to
12493         ms_obj_read_obj, the real graphic lurks elsewhere...
12495         * ms-escher.c/h: Created to handle the 'Office drawing layer'
12496         This is a hack and needs better OLE support code.
12498         * ms-ole.c (ms_ole_stream_duplicate): Created, not too bad a hack
12499         (ms_biff_query_data_to_stream): Nasty hack for ms-escher
12501 1999-04-12  Michael Meeks <michael@ximian.com>
12503         * ms-obj.c: Created to deal with the horrors of embedded graphic
12504         objects !
12506         * ms-obj.h: Include for the same
12508         * ms-excel.c: Include ms-obj.h
12509         (ms_excel_read_sheet): Add call to ms_obj_read_graphic.
12511         * biff-types.h: Update comments.
12513         * Makefile.am: Add new files.
12515         * ole.c: Nice header.
12517 1999-04-12  Michael Meeks <michael@ximian.com>
12519         * biff-types.h: Fleshed out.
12521         * ms-excel.c (ms_excel_sheet_set_comment): Created
12522         (ms_excel_sheet_append_comment): Created
12523         (ms_excel_read_sheet): Added BIFF_NOTE support.
12524         (ms_excel_set_cell_xf): Fixed spurious debug, and made more
12525         robust.
12527 1999-04-12  Michael Meeks <michael@ximian.com>
12529         * ms-excel.c: Various unneeded BIFF tags implemented for
12530         completeness.
12532         * biff-types.h: The tag definitions.
12534         * ole.c (read_types): Improved.
12535         (main): Flag duplicates sensibly.
12537 1999-04-12  Michael Meeks <michael@ximian.com>
12539         * ole.c: Added 'biff' command.
12540         Added type file loader/parser and helper function.
12542         * biff-types.h: Created
12544         * ms-excel-biff.h: Moved types out.
12546 1999-04-11  Michael Meeks <michael@ximian.com>
12548         * ole.c: Major update, interactive mode, help, dump command
12549         etc.
12551 1999-04-09  Michael Meeks <michael@ximian.com>
12553         * ms-excel.c (ms_excel_workbook_detach): Paranoid NULLing
12554         of pointers.
12555         Fixed _silly_ bug with g_list_remove !
12556         (ms_excel_workbook_attach): Paranoia checking.
12557         (biff_get_text): Converted int lp to guint32 lp.
12558         (ms_excelReadWorkBook): BIFF_SST: Added overrun check,
12559         some idiot splits the SST table for seemingly no good reason.
12560         Cleaned debug.
12561         (ms_excel_read_cell): Cleaned debug.
12562         (ms_excel_palette_get): Added magic multiplying factor to get
12563         colors to work...
12564         (ms_excel_set_cell_font): Now returns font color
12565         (ms_excel_set_cell_xf): Updated to pass on foregnd col to:
12566         (ms_excel_set_cell_colors): Added priority foregnd col.
12567         BIFF_XF_DATA: Updated colours to pattern colours, and updated
12568         names throughout adding pal_ prefix.
12570         * ole.c: Added, basic OLE2/BIFF helper program
12572         * Makefile.am: Updated to include ole.c
12574 1999-04-06  Michael Meeks <michael@ximian.com>
12576         * ms-formula.h: Add PTG_AREAN, PTG_REFN.
12578         * ms-formula.c: Debug for these cases.
12579         (ms_excel_parse_formula): Added shared row/col.
12580         Updated ms_excel_sheet_shared_formula call.
12582         * ms-excel.c (ms_excel_sheet_shared_formula): Include
12583         new arguments.
12584         (ms_excel_read_cells): Update all parse_formula calls.
12585         (ms_excel_set_cell_xf): Set auto_return argument to 0 for
12586         cell_set_alignment.
12587         move cell_set_colors to last thing.
12589         * ms-excel.h: Update prototype.
12591 1999-04-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12593         * ms-ole.c (biff_getdouble): Move biff_getdouble here, and apply
12594         fix from Tung Nguyen (tung.nguyen@pgs.com)
12596 1999-04-03  Michael Meeks  <michael@ximian.com>
12598         * ms-excel.c (ms_excel_read_sheet): removed fixup_array_formulae.
12599         (ms_excel_read_cell): Large SHRFMLA / ARRAY fixups.
12600         (biff_share_formula_new,destroy,hash,equal): Implemented.
12601         (ms_excel_sheet_new): Removed GList array_formulae and insert
12602         shared formula hash table.
12603         (ms_excel_sheet_destroy): Deal with hash table.
12604         (ms_excel_sheet_shared_formula): Returns shared formula text
12605         (ms_excel_set_cell_xf): Cleaned unused variables.
12607         * ms-excel.h: Added ms_excel_sheet_shared_formula prototype
12609         * ms-formula.c (ms_excel_fixup_array_formula): Removed.
12610         (ms_excel_parse_formula): Sorted FORMULA_PTG_EXP.
12612         * ms-formula.h: Removed prototype.
12614 1999-04-02  Michael Meeks  <michael@ximian.com>
12616         * ms-formula.c (ms_excel_parse_formula): PTG_ATTR: corrected
12617         debug output semantics.
12618         Set IF to var-arg ( fn: 0x1 ).
12619         Various Debug bits made conditional.
12620         Implemented 'optimised' = 'hopelessly obfuscated' IF function.
12621         Ignored 'Volatile' PTG_ATTR.
12622         Added INT to table.
12624         * ms-excel.c (ms_excel_set_cell_xf): Made static for safety.
12625         (ms_excelReadWorkbook): BIFF_SST: fixed up a few types.
12626         (biff_get_text): Fixed types.
12628         * ms-excel.h: removed prototype for same.
12629         fixed biff_get_text type.
12631 1999-04-01  Michael Meeks  <michael@ximian.com>
12633         * ms-excel.c (ms_excelReadWorkbook): Major string table fix
12634         should now work internationally.
12635         (biff_get_text): Major arguments change, now returns the rather
12636         grim byte length field if needed through a guint32 *
12637         Changed all references to biff_get_text throughout.
12639         * ms-excel.h: Updated biff_get_text prototype.
12641         * ms-formula.c: Changed all references to biff_get_text throughout.
12643 1999-03-31  Michael Meeks  <michael@ximian.com>
12645         * ms-excel.c (ms_excel_read_sheet): Added SELECTION support.
12646         Added basic WINDOW2 support.
12647         (ms_excel_read_cell): COLINFO, fixed fatal bug in hidden column code.
12649         * ms-formula.c (ms_excel_parse_formula): Removed debug.
12651 1999-03-30  Michael Meeks  <michael@ximian.com>
12653         * ms-formula.c (ms_excel_parse_formula): Rehashed function
12654         and operator search function so it uses a flat array instead
12655         of a linear search.
12656         fully populated formula_func_data array, and removed unused /
12657         constant fields.
12659         * ms-formula.h: Removed dead wood from OP_DATAa & FUNC_DATA
12660         structs.
12662 1999-03-26  Michael Meeks  <michael@ximian.com>
12664         * ms-formula.c: Removed duplicate for fn 0x65
12666 1999-03-24  Thomas Meeks  <thomas@ximian.com>
12668         * ms-formula.c: Added mappings for Address, Area, Hyperlink,
12669         Offset, Column, Columns.
12671 1999-03-12  Michael Meeks  <michael@ximian.com>
12673         * ms-excel.c (biff_name_data_new, biff_name_data_get_name),
12674         (biff_name_data_destroy, ms_excel_read_cell): Implemented
12675         the BIFF_EXTERNNAME case.
12676         (ms_excel_workbook_new, ms_excel_workbook_destroy):
12677         Name table hashing functions.
12678         (ms_excel_read_cell): Cleaned debug on BIFF_HEADER / FOOTER.
12680         * ms-formula.c (ms_excel_parse_formula): Large API change to
12681         simplify several cases, and clean dirty code.
12682         (make_function): Special 0xff case on functions. For use with
12683         external functions, the names of which come in via:
12684         (_excel_parse_formula): FORMULA_PTG_NAME_X, hacked into
12685         rough shape.
12687         * ms-excel.c: All instances of ms_excel_parse_formula updated.
12689 1999-03-11  Michael Meeks  <michael@ximian.com>
12691         * ms-ole.c (ms_ole_destroy, ms_ole_new): Killed debug
12692         output before we are sure its an OLE file.
12694 1999-03-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12696         * ms-excel.c (find_workbook): Use g_strncasecmp here.
12698 1999-03-10  Michael Meeks  <michael@ximian.com>
12700         * ms-formula.c: Inserted all the statistics formulae from
12701         5.0a into the translation table.
12703 1999-03-09  Michael Meeks  <michael@ximian.com>
12705         * ms-formula.c (ms_excel_parse_formula): Hacked out the
12706         bad array formula support. Moved most of it to ms-excel.c
12708         * ms-excel.c (ms_excel_read_cell): Updated BIFF_ARRAY and
12709         BIFF_FORMULA cases; splitting and adding array loop.
12710         BIFF_COLINFO, BIFF_ROW: Updated fudge factors in sizing
12711         and implemented column sizing.
12713 1999-03-07  Michael Meeks  <michael@ximian.com>
12715         * ms-formula.c: Changed FORMULA_PTG_STR to cope with both
12716         versions of string properly.
12717         Inserted innumerable time and text functions into the
12718         translation table.
12720 1999-03-07  Michael Meeks  <michael@ximian.com>
12722         * ms-excel.c: Changed to use cell_set_text_simple to save
12723         many redundant re-draws: big speedup.
12724         hacked up a set_row_height call
12726 1999-03-05  Michael Meeks <michael@ximian.com>
12728         * ms-ole.c: Variously made debug conditional on OLE_DEBUG
12729         * ms-excel.c: ditto for EXCEL_DEBUG
12731 1999-02-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12733         * ms-ole.c (ms_ole_write_sb): Do not use C++ comments.
12735 1999-02-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12737         * ms-ole.c (ms_ole_destroy): Free the correct pointer (we were
12738         releasing the same pointer twice).
12740 1999-01-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12742         * ms-ole.c (ms_ole_destroy): Free f->header_root_list if set.
12744 1999-01-03  Jeff Garzik  <jgarzik@Pobox.com>
12746         * ms-excel.c, ms-formula.c:
12747         A printf fix.
12748         Warning fixes.
12750 1998-12-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12752         * boot.c (excel_init): New file, adds the excel booting
12753         mechanism.