Update Spanish translation
[gnumeric.git] / plugins / excel / ChangeLog
blob5c984545f38e9e5b9a9dc63a07b1053e949f94d3
1 2018-08-19  Morten Welinder <terra@gnome.org>
3         * Release 1.12.43
5 2018-08-09  Morten Welinder <terra@gnome.org>
7         * Release 1.12.42
9 2018-05-07  Morten Welinder <terra@gnome.org>
11         * Release 1.12.41
13 2018-04-29  Morten Welinder <terra@gnome.org>
15         * Release 1.12.40
17 2018-03-13  Morten Welinder <terra@gnome.org>
19         * Release 1.12.39
21 2017-12-28  Morten Welinder <terra@gnome.org>
23         * Release 1.12.38
25 2017-12-01  Morten Welinder <terra@gnome.org>
27         * Release 1.12.37
29 2017-11-26  Morten Welinder  <terra@gnome.org>
31         * xlsx-write.c (xlsx_write_sheet): Add comments to legacy drawing
32         requirements.  (So much for "legacy").
34         * xlsx-write-drawing.c (xlsx_write_legacy_object): Extend to
35         handle cell comment objects.
37         * xlsx-write.c (xlsx_write_comments): Preserve spaces in comments.
39 2017-11-20  Morten Welinder  <terra@gnome.org>
41         * ms-formula-write.c (xl_map_char_to_type): Improve debug output.
42         (write_funcall): Avoid a critical for ERROR function.  This might
43         not be right -- need to check what XL wants for this.
45 2017-11-18  Morten Welinder <terra@gnome.org>
47         * Release 1.12.36
49 2017-10-26  Morten Welinder  <terra@gnome.org>
51         * xlsx-read-drawing.c (xlsx_ser_trendline_intercept): Read
52         intercept.
54         * xlsx-write-drawing.c (xlsx_write_axis): Make axis tag for
55         contour charts match what XL wants.  Even if it isn't obvious why.
56         (xlsx_write_one_chart): Save a view3D for contour charts.
57         (xlsx_write_one_plot): Fix writing trendline equation.  Don't
58         write a trendline name if there isn't one.  Write intercept=0 when
59         not linear.
61 2017-10-24  Morten Welinder  <terra@gnome.org>
63         * xlsx-write-drawing.c (xlsx_write_axis): Write a pseudo-3d axis
64         as a serAx.
65         (xlsx_write_one_plot): Start work on surface charts.
67 2017-10-23  Morten Welinder  <terra@gnome.org>
69         * xlsx-write-drawing.c (xlsx_write_one_plot): Recognize the third
70         axis.
72 2017-10-21  Morten Welinder  <terra@gnome.org>
74         * xlsx-read-drawing.c (dtd): Add stubs for floor, sidewall, and
75         backwall.
76         (xlsx_chart_contour): Use XLContourPlot object.
78 2017-10-11  Morten Welinder  <terra@gnome.org>
80         * xlsx-read.c (xlsx_wb_name_end): Ignore bogus Print_Area names.
82 2017-07-06  Morten Welinder <terra@gnome.org>
84         * Release 1.12.35
86 2017-03-20  Morten Welinder <terra@gnome.org>
88         * Release 1.12.34
90 2017-03-16  Morten Welinder  <terra@gnome.org>
92         * xlsx-read-drawing.c (xlsx_drawing_dtd): Fill out the grammar a
93         bit more to quiet some warnings.
95 2017-03-08  Morten Welinder  <terra@gnome.org>
97         * xlsx-write.c (by_hlink_order): Simplify order.
98         (xlsx_write_hlink): Properly handle location.
100         * ms-excel-util.c (xls_collect_hlinks): Sort ranges.
102         * xlsx-read.c (xlsx_CT_HyperLinks): Handle external links with
103         anchors.
105 2017-02-28  Jean Brefort  <jean.brefort@normalesup.org>
107         * xlsx-write-drawing.c (xlsx_write_go_style_full): do not export
108         transparent fill style if auto.
110 2017-02-26  Jean Brefort  <jean.brefort@normalesup.org>
112         * xlsx-write-drawing.c (xlsx_write_go_style_full): always export a
113         transparent fill style. [#779160]
114         (xlsx_write_one_chart): simplify legend style export.
116 2017-02-21  Jean Brefort  <jean.brefort@normalesup.org>
118         * xlsx-write-drawing.c (xlsx_write_one_chart): export legend style.
120 2017-02-18  Morten Welinder  <terra@gnome.org>
122         * ms-excel-write.c (excel_write_sheet): Don't write hyperlinks to
123         biff7 and before.  The strings come out wrong.
125         * xlsx-write.c (xlsx_write_hlinks): Impose an ordering on links.
127 2017-02-16  Jean Brefort  <jean.brefort@normalesup.org>
129         * xlsx-write-drawing.c (xlsx_write_layout), (xlsx_write_one_chart): first
130         attempt to export a manual position.
132 2017-02-15  Jean Brefort  <jean.brefort@normalesup.org>
134         * xlsx-read-drawing.c (xlsx_chart_text), (xlsx_text_value),
135         (xlsx_body_pr): read text value.
136         * xlsx-write-drawing.c (xlsx_write_one_chart): export legend position.
138 2017-02-15  Jean Brefort  <jean.brefort@normalesup.org>
140         * xlsx-write-drawing.c (xlsx_write_series_dim): Fix xlsx export of chart
141         series names. [#778618]
143 2017-02-14  Morten Welinder  <terra@gnome.org>
145         * xlsx-read.c (themed_color_from_name): New function to handle
146         alias colours tx1 and tx2.
147         (themed_color): Use themed_color_from_name.
148         (themed_color_from_name): Flip light/dark -- it refers to theme.
149         Map bg1 and bg2 too.
150         (xlsx_file_open): Have defaults for mapped colours.
152         * xlsx-read-drawing.c (xlsx_draw_color_themed): Use
153         themed_color_from_name.
154         (xlsx_chart_dtd): Add effectLst to grammar.
156 2017-02-07  Morten Welinder  <terra@gnome.org>
158         * xlsx-read.c (wrap_sheet_new): New function to ensure we start
159         with blank header and footer.  Fixes #778292.
161 2017-01-30  Morten Welinder <terra@gnome.org>
163         * Release 1.12.33
165 2017-01-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
167         * xlsx-read.c (xlsx_CT_PageSetup): the default for fitTo* is 1
168         * xlsx-write.c (xlsx_write_print_info):  the default for fitTo* is 1
170 2016-08-20  Morten Welinder <terra@gnome.org>
172         * Release 1.12.32
174 2016-06-29  Morten Welinder <terra@gnome.org>
176         * Release 1.12.31
178 2016-06-24  Morten Welinder  <terra@gnome.org>
180         * xlsx-read.c (theme_dtd): Ignore miter specs.
182 2016-06-17  Morten Welinder <terra@gnome.org>
184         * Release 1.12.30
186 2016-05-06  Morten Welinder <terra@gnome.org>
188         * Release 1.12.29
190 2016-04-26  Morten Welinder  <terra@gnome.org>
192         * xlsx-read.c (xlsx_cell_val_end): Be slightly more relaxed about
193         the syntax of references to the shared strings table.  Fixes
194         #765544.
196 2016-03-22  Morten Welinder <terra@gnome.org>
198         * Release 1.12.28
200 2016-02-08  Morten Welinder  <terra@gnome.org>
202         * xlsx-read-drawing.c (xlsx_chart_layout_target): Do proper
203         parsing.  Fixes #761727.
205 2016-02-07  Morten Welinder  <terra@gnome.org>
207         * xlsx-read-drawing.c (xlsx_rpr_latin): Check that null style.
208         Fixes #761663.
210 2016-02-06  Morten Welinder <terra@gnome.org>
212         * Release 1.12.27
214 2016-01-14  Morten Welinder  <terra@gnome.org>
216         * ms-formula-read.c (excel_parse_formula1): Add missing length
217         check.  Fixes #760545.
219 2016-01-13  Jean Brefort  <jean.brefort@normalesup.org>
221         * ms-chart.c (end): Add missing array length check. Fixes #760546.
223 2016-01-07  Morten Welinder  <terra@gnome.org>
225         * ms-obj.c (ms_obj_read_biff8_obj): Add missing length check for
226         scroll bars.  Fixes #760232.
228         * ms-excel-read.c (excel_formula_shared): Length check for v0.
229         Fixes #760231.
231         * ms-chart.c (ms_excel_chart_read): Initialize .legend to NULL.
232         Fixes #760229.
234         * ms-excel-read.c (excel_read_NAME): Fix computation of array
235         length.  Fixes #760104.
237         * ms-formula-read.c (excel_parse_formula1): Check that
238         non-parsable data is actually there before dumping it.
240 2016-01-05  Morten Welinder  <terra@gnome.org>
242         * ms-formula-read.c (excel_parse_formula1): Fix string length
243         capping.  Fixes #760106.
245 2016-01-04  Morten Welinder  <terra@gnome.org>
247         * ms-excel-read.c (excel_sheet_new): Undo last change.  Fix
248         #760103 differently.
250         * ms-obj.c (ms_obj_read_biff8_obj): Fuzzed file fixes.  Fixes
251         #760101 and #760105.
253 2016-01-03  Morten Welinder  <terra@gnome.org>
255         * ms-excel-read.c (excel_sheet_new): Always create a new sheet.
256         Fixes #760103.
258 2016-01-02  Morten Welinder  <terra@gnome.org>
260         * ms-formula-read.c (excel_parse_formula1): Check for recursive
261         shared formulae.  Fixes #760043.
263         * ms-biff.c (ms_biff_query_next): Don't handle CONTINUE records
264         for BOUNDSHEET.  Fixes #760089.
266 2015-12-28  Morten Welinder <terra@gnome.org>
268         * Release 1.12.26
270 2015-12-25  Morten Welinder <terra@gnome.org>
272         * Release 1.12.25
274 2015-12-22  Morten Welinder  <terra@gnome.org>
276         * ms-excel-write.c (excel_write_DV): Use a special formula context
277         for list validation.
279         * ms-formula-write.c (excel_write_formula): Handle said formula
280         context.
282         * ms-obj.h (MSObj): Rename field combo_in_autofilter to
283         auto_combo.
285 2015-10-17  Morten Welinder  <terra@gnome.org>
287         * ms-excel-read.c (excel_read_NAME): Handle deleted and selfref
288         sheet.
290         * ms-formula-read.c (excel_parse_formula1): Handle deleted sheet.
292 2015-09-20  Morten Welinder <terra@gnome.org>
294         * Release 1.12.24
296 2015-07-28  Morten Welinder <terra@gnome.org>
298         * Release 1.12.23
300 2015-07-07  Morten Welinder  <terra@gnome.org>
302         * ms-excel-read.c (excel_parse_name): Handle non-local Print_Area.
303         Fixes #752081.
305         * ms-biff.c (ms_biff_query_bound_check): When we span records --
306         unhandled -- signal that as an error.  Fixes #752080.
308 2015-07-06  Jean Brefort  <jean.brefort@normalesup.org>
310         * ms-excel-read.c (excel_read_BOF): fuzzed file issue. [#751989]
312 2015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
314         * ms-chart.c (end): one more NULL value issue. [#751969]
315         * ms-excel-read.c (sst_read_string): fix test with undsigned integer.
316         Fixs #751968.
318 2015-07-04  Jean Brefort  <jean.brefort@normalesup.org>
320         * ms-excel-read.c (excel_read_FONT): don't read missing data. [#751909]
322 2015-07-03  Jean Brefort  <jean.brefort@normalesup.org>
324         * ms-chart.c (end): protect against missing value. Fixes #751945.
326 2015-07-04  Jean Brefort  <jean.brefort@normalesup.org>
328         * ms-excel-read.c (excel_read_sheet), (excel_read_BOF): don't leak charts,
329         see #751578.
331 2015-07-04  Jean Brefort  <jean.brefort@normalesup.org>
333         * ms-escher.c (ms_escher_read_container): protect against wrong record
334         length. Fixes #751249.
336 2015-07-04  Jean Brefort  <jean.brefort@normalesup.org>
338         * ms-chart.c (set_radial_axes), (end): make axis type change more secure.
340 2015-07-04  Jean Brefort  <jean.brefort@normalesup.org>
342         * ms-chart.c (xl_chart_import_trend_line): add check for array index in
343         xl_chart_import_trend_line(). Fixes #751920.
345 2015-07-03  Jean Brefort  <jean.brefort@normalesup.org>
347         * ms-chart.c (end): protect against missing value. Fixes #751908.
349 2015-07-03  Jean Brefort  <jean.brefort@normalesup.org>
351         * ms-chart.c (end): fix Y and Z axes exchange in 3D plots. Fixes #751744.
353 2015-07-02  Morten Welinder  <terra@gnome.org>
355         * ms-obj.c (read_pre_biff8_read_expr): Check record length.
357 2015-07-01  Morten Welinder  <terra@gnome.org>
359         * xls-read-pivot.c (xls_read_SXVIEW): Protect against underflow in
360         length.  Fixes #751662.
362 2015-06-29  Morten Welinder  <terra@gnome.org>
364         * ms-excel-read.c (excel_formula_shared): Handle duplicates in
365         shared formula tables.  This shouldn't happen in proper files.
366         Fixes part of #751660.
368         * ms-formula-read.c (excel_parse_formula1): Survive bogus array
369         constant.  Fixes #751659.
371 2015-06-29  Morten Welinder  <terra@gnome.org>
373         * ms-excel-read.c (excel_read_CF): Plug leak when reading fuzzed
374         file.
376 2015-06-28  Jean Brefort  <jean.brefort@normalesup.org>
378         * ms-chart.c (end): fuzzed file fix. [#751758]
380 2015-06-25  Jean Brefort  <jean.brefort@normalesup.org>
382         * ms-chart.c (end): more unexisting series issues. See #751270, comment #2
384 2015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
386         * ms-chart.c (end), (ms_excel_chart_read): don't use unexisting series and
387         initialize XLChartReadState::style_element. Fixes #751384.
389 2015-06-22  Morten Welinder  <terra@gnome.org>
391         * ms-escher.c (ms_escher_read_container): Catch crazy length field
392         causing a loop.  Fixes #751258.
394 2015-06-22  Jean Brefort  <jean.brefort@normalesup.org>
396         * ms-chart.c (3dbarshape), (3d), (ai), (alruns), (area),
397         (areaformat), (attachedlabel), (axesused), (axis), (axisparent),
398         (bar), (boppop), (catserrange), (chart), (chartformat),
399         (chartline), (dat), (defaulttext), (dropbar), (fbi), (fontx),
400         (ifmt), (legend), (legendxn), (line), (lineformat), (markerformat),
401         (objectlink), (pie), (pieformat), (plotgrowth), (serauxerrbar),
402         (serauxtrend), (serfmt), (trendlimits), (seriestext), (serparent),
403         (sertocrt), (shtprops), (siindex), (surf), (text), (tick), (units),
404         (valuerange): fix data size checks.
406 2015-06-22  Jean Brefort  <jean.brefort@normalesup.org>
408         * ms-excel-read.c (excel_read_PANE): check data size. [#751271]
410 2015-06-22  Jean Brefort  <jean.brefort@normalesup.org>
412         * ms-chart.c (end): skip NULL excel series. [#751270]
414 2015-06-21  Jean Brefort  <jean.brefort@normalesup.org>
416         * ms-chart.c (ms_excel_chart_read): initialize XLChartReadState::is_contour.
418 2015-06-20  Morten Welinder  <terra@gnome.org>
420         * ms-chart.c (ai): Avoid expression leak on broken file.
422         * xlsx-read.c (attr_uint): Typo.
424         * xls-read-pivot.c (xls_read_pivot_cache): Don't trust large
425         record counts.
426         * xlsx-read-pivot.c (xlsx_CT_pivotCacheRecords): Ditto.  Also read
427         count as unsigned.
429         * ms-chart.c (trendlimits): Bail if we don't have a series.  Fixes
430         #751253.
432         * ms-excel-read.c (sst_read_string): Handle errors from
433         excel_get_chars.  Fixes #751254.
435 2015-06-16  Morten Welinder  <terra@gnome.org>
437         * xlsx-read.c (xlsx_file_open): Plug leaks.
439         * ms-excel-write.c (excel_convert_string): Ensure multi-NUL
440         terminator.  Fixes #750856.
441         (excel_convert_string): Plug leak.
443 2015-06-15  Morten Welinder  <terra@gnome.org>
445         * xlsx-read.c (xlsx_comments_dtd): Fix dtd by not including
446         children in parent scope.
448 2015-06-12  Morten Welinder  <terra@gnome.org>
450         * xlsx-read.c (xlsx_collection_begin): Don't reallocation if a
451         collection occurs twice.  Fixes #750864.
453         * ms-excel-util.c (xls_header_footer_import): Allocate if needed.
454         Fixes #750853.
456 2015-06-11  Morten Welinder  <terra@gnome.org>
458         * ms-excel-read.c (excel_read_AUTOFILTER): Handle invalid filter
459         condition.  Fixes #750811.
460         (excel_read_SST): Fuzzed file fix.  #750810.
462 2015-06-01  Morten Welinder  <terra@gnome.org>
464         * ms-obj.c (ms_read_TXO): Zero out markup earlier.  Fixes #750046.
466         * ms-excel-read.c (excel_fill_bmp_header): Don't read beyond
467         buffer.
468         (excel_read_os2bmp): Check that image length makes sense.  Fixes
469         #750043.
470         (excel_read_FONT): Fix record length check.  Fixes #750044.
472 2015-05-30  Jean Brefort  <jean.brefort@normalesup.org>
474         * ms-escher.c (ms_escher_read_BSE), (ms_escher_read_Blip),
475         (ms_escher_read_Spgr), (ms_escher_read_ChildAnchor): fixed data access
476         in fuzzed files. [#750042]
478 2015-05-28  Morten Welinder  <terra@gnome.org>
480         * ms-excel-read.c (xls_read_range32): Clamp to sane dimensions.
482 2015-05-15  Morten Welinder  <terra@gnome.org>
484         * ms-excel-read.c (excel_formula_shared): Catch duplicate shared
485         formulas for the same cell.
487 2015-05-14  Morten Welinder  <terra@gnome.org>
489         * ms-excel-read.c (excel_read_FILEPASS): Constify.
491         * md5.c (md5_read_ctx): Don't require aligned memory.
493 2015-05-13  Morten Welinder  <terra@gnome.org>
495         * ms-excel-read.c (excel_get_text_fixme): Eliminate.
497 2015-05-12  Morten Welinder  <terra@gnome.org>
499         * ms-excel-read.c (excel_read_DV): Stop using
500         excel_get_text_fixme.  Fixes #749270.
502         * ms-excel-write.c (extract_txomarkup): Handle missing text.
504 2015-05-11  Morten Welinder  <terra@gnome.org>
506         * ms-excel-util.c (xls_header_footer_import): Handle terminating
507         "&".  Fixes #749235.
509         * xls-read-pivot.c (xls_read_pivot_cache_values): Set the right
510         size on error.  Fixes #749234.
512 2015-05-10  Morten Welinder  <terra@gnome.org>
514         * ms-excel-read.c (excel_read_CONDFMT): Plug leaks.
516         * ms-obj.c (ms_read_TXO): Fix maxlen calculation for UTF-16.
518         * ms-chart.c (chart_write_MARKERFORMAT): Shape map was missing an
519         item.
521         * xlsx-read-drawing.c (xlsx_data_label_pos): Terminate enum list.
522         (xlsx_ser_labels_pos): Ditto.
523         (xlsx_ser_trendline_type): Ditto.
524         (xlsx_axis_mark): Ditto.
525         (xslx_chart_tick_label_pos): Ditto.
526         (xlsx_scatter_style): Ditto.
528 2015-05-09  Morten Welinder  <terra@gnome.org>
530         * xlsx-read-drawing.c (xlsx_read_chart): Handle missing series.
531         [#749166]
532         (xlsx_read_chart): Free left-over styles.
534         * ms-excel-read.c (excel_read_NAME): Take record length into
535         account.
537 2015-05-09  Jean Brefort  <jean.brefort@normalesup.org>
539         * xlsx-write.c (xlsx_write_font): fix out of bounds read. [#749121]
541 2015-05-08  Morten Welinder  <terra@gnome.org>
543         * xlsx-write-drawing.c (xlsx_write_series_dim): GogSeriesDesc does
544         not have a dimension -1, so don't access it.
546 2015-05-07  Morten Welinder  <terra@gnome.org>
548         * ms-excel-write.c (blipinf_new): Handle NULL image.  Fixes
549         #749069.
551 2015-05-06  Morten Welinder  <terra@gnome.org>
553         * xlsx-read.c (xlsx_file_open): Plug leaks related to fuzzed
554         files.  Fixes #749030.
556 2015-05-04  Morten Welinder  <terra@gnome.org>
558         * xlsx-read-drawing.c (xlsx_axis_custom_unit): Allow negative
559         units too.
561 2015-05-04  Jean Brefort  <jean.brefort@normalesup.org>
563         * xlsx-read-drawing.c (xlsx_axis_custom_unit): read custom scaling
564         factor.
565         * xlsx-write-drawing.c (xlsx_write_axis): write it back. [#748295]
567 2015-04-28  Morten Welinder  <terra@gnome.org>
569         * ms-excel-read.c (sst_read_string): Prevent string overrun.
570         Fixes #748597.
572 2015-04-26  Morten Welinder  <terra@gnome.org>
574         * xlsx-write.c (xlsx_shared_string): Retry hash lookup when we
575         clear the format.
576         (xlsx_write_cells): Handle string values with formats other than
577         markup.  Fixes #748477.
579 2015-04-24  Morten Welinder  <terra@gnome.org>
581         * xlsx-write-drawing.c (xlsx_write_go_style_full): Export
582         rotatation.
584 2015-04-23  Morten Welinder  <terra@gnome.org>
586         * xlsx-read.c: simplify parsing and fix attribute namespace
587         issues.
589 2015-04-21  Morten Welinder  <terra@gnome.org>
591         * xlsx-read-drawing.c (xlsx_chart_ring_hole): read hole size.
593 2015-04-17  Jean Brefort  <jean.brefort@normalesup.org>
595         * xlsx-read-drawing.c (xlsx_chart_layout_manual): fix plot area manual
596         layout import. [#748016]
598 2015-04-16  Morten Welinder <terra@gnome.org>
600         * Release 1.12.22
602 2015-04-16  Morten Welinder  <terra@gnome.org>
604         * xlsx-write.c (xlsx_write_comments): Write comments in id order
605         since we refer to them by their implied id based on the order.
607 2015-04-15  Morten Welinder  <terra@gnome.org>
609         * xlsx-write.c (xlsx_write_comments): Write comment authors in
610         deterministic order.
612         * ms-excel-util.c (xls_collect_validations): Rename from
613         excel_collect_validations and move from ms-excel-write.c.
614         Sort ranges.
616         * xlsx-write.c (xlsx_write_validations): Impose an ordering of
617         validation entries.
619 2015-04-13  Morten Welinder  <terra@gnome.org>
621         * xlsx-read-drawing.c (xlsx_chart_pie_angle): Read firstSliceAng.
623         * xlsx-read.c (xlsx_ext_tabtextcolor): New function for round trip
624         of tab text color.
626         * xlsx-write-drawing.c (xlsx_write_one_plot): Move c:holeSize to
627         where the schema says it should be.
629 2015-04-11  Morten Welinder  <terra@gnome.org>
631         * ms-excel-read.c (excel_read_FORMULA): Only print recalc tag in
632         debug mode for V5+.
634         * xlsx-read-color.c (xlsx_draw_color_gamma): Implement.
636         * xlsx-write.c (xlsx_write_workbook): Plug pivot leak.
638 2015-04-10  Morten Welinder  <terra@gnome.org>
640         * ms-excel-util.c (xls_collect_hlinks): Rename from
641         excel_collect_hlinks.  Move from-ms-excel-write.c.  Plug leak.
643         * xlsx-write-docprops.c (xlsx_map_to_date_core): Plug leaks.
645 2015-04-06  Morten Welinder  <terra@gnome.org>
647         * xlsx-write-drawing.c (xlsx_write_one_plot): Always write series'
648         style.
650 2015-04-05  Morten Welinder  <terra@gnome.org>
652         * xlsx-read-drawing.c (xlsx_chart_add_plot): Add backplane here.
653         (xlsx_plot_area): Not here, but push a dummy object.
655 2015-04-04  Morten Welinder  <terra@gnome.org>
657         * xlsx-read-drawing.c (xlsx_plot_area_end): Get rid of the
658         Backplane we tentatively added.
660 2015-03-31  Morten Welinder  <terra@gnome.org>
662         * xlsx-read-color.c: New file extracted from xlsx-read-drawing.c
663         and xlsx-read.c
664         (xlsx_draw_color_hsl_channel): Implement.
666         * xlsx-read.c (theme): Apply colour modifications.
668 2015-03-30  Morten Welinder  <terra@gnome.org>
670         * xlsx-read-drawing.c (xlsx_draw_color_rgba_channel): Rename from
671         xlsx_draw_color_alpha.  Handle all four channels.
672         (xlsx_draw_color_hsl_channel): Hook up hue-sat-lum modification.
673         (xlsx_draw_color_scrgb): Properly parse <scrgbClr>.
674         (xlsx_chart_drawing_dtd): more grammar.
676 2015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
678         * ms-chart.c (ms_excel_chart_read): support absolute sheet object anchoring.
679         * ms-escher.c (ms_escher_clientanchor): ditto.
680         * ms-excel-read.c (ms_sheet_obj_anchor_to_pos),
681         (ms_sheet_realize_obj): ditto.
682         * ms-excel-write.c (excel_write_autofilter_objs),
683         (excel_write_other_v8): ditto.
684         * xlsx-read-drawing.c (xlsx_draw_anchor_start),
685         (xlsx_drawing_twoCellAnchor_end), (xlsx_drawing_oneCellAnchor_end),
686         (xlsx_drawing_absoluteAnchor_end), (xlsx_drawing_anchor_pos),
687         (xlsx_vml_client_data_end): ditto.
688         * xlsx-read.c: ditto.
689         * xlsx-write-drawing.c (xlsx_write_drawing_objects): ditto.
691 2015-03-28  Morten Welinder  <terra@gnome.org>
693         * xlsx-read-drawing.c (xlsx_axis_crossax): Improve parsing.  Take
694         default values of many enum attributes into account.
695         (xlsx_draw_color_alpha): Fix clamping.
697 2015-03-23  Morten Welinder  <terra@gnome.org>
699         * xlsx-write-drawing.c (xlsx_write_chart_text): Move overlay
700         attribute here.
701         (xlsx_write_go_style_full): Fix noFill/solidFill writing.
703 2015-03-16  Morten Welinder  <terra@gnome.org>
705         * xlsx-write-drawing.c (xlsx_write_go_style_full): Ensure that XL
706         doesn't see lines where none are wanted.
708 2015-03-13  Morten Welinder  <terra@gnome.org>
710         * xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Only set
711         style if the object has style.  SheetObjectImage does not.
713         * xlsx-read.c (xlsx_ext_begin): Ignore unknown stuff inside.
715 2015-03-09  Morten Welinder  <terra@gnome.org>
717         * xlsx-read-drawing.c (cb_axis_set_position): Set position of
718         present axis, not of crossed axis.  The latter is more complicated
719         and breaks down with multiple axes.
721 2015-03-08  Morten Welinder  <terra@gnome.org>
723         * xlsx-read-drawing.c (xlsx_axis_cleanup): Perform axis-renaming
724         as the last step in cleanup.
726         * xlsx-write-drawing.c (xlsx_write_one_plot): Don't write axes
727         here; return a list of needed axes instead.
728         (xlsx_write_plots): Write the union of needed axes after all the
729         plots.
731 2015-03-07  Morten Welinder  <terra@gnome.org>
733         * xlsx-write-drawing.c (xlsx_write_plots): Write all plots, not
734         just the first one.
736         * xlsx-write.c: Use new go_xml_out_add_double.
738         * xlsx-write-drawing.c: Use new go_xml_out_add_double.
740         * xlsx-write-docprops.c (xlsx_write_docprops_app): Use string for
741         version, nont floating point.
743         * xlsx-write-drawing.c (xlsx_write_chart_float): Drop def_val
744         argument.
746 2015-03-04  Morten Welinder  <terra@gnome.org>
748         * xlsx-read-drawing.c (xlsx_create_axis_object): Handle log axis.
749         * xlsx-write-drawing.c (xlsx_write_axis): Ditto.
751 2015-03-04  Morten Welinder <terra@gnome.org>
753         * Release 1.12.21
755 2015-03-04  Morten Welinder  <terra@gnome.org>
757         * xlsx-write-drawing.c (xlsx_write_drawing_objects): Fix
758         relationship.  Write a prstGeom for the image.
760 2015-03-01  Morten Welinder  <terra@gnome.org>
762         * ms-excel-read.c (ms_sheet_realize_obj): Don't let the sheet
763         object take over the memory.  We might need it later.
765 2015-02-25  Morten Welinder  <terra@gnome.org>
767         * xlsx-write.c (xlsx_write_sheet): Also write combos and lists.
768         * xlsx-write-drawing.c (xlsx_write_legacy_object): Ditto.
770 2015-02-24  Morten Welinder  <terra@gnome.org>
772         * xlsx-read.c (xlsx_parse_rel_by_id): Debug code.
774         * xlsx-read-drawing.c (xlsx_vml_drop_style): Don't create objects
775         here -- that'll just leak.
777         * xlsx-write-drawing.c (xlsx_write_axis): Pick the crossing axis
778         within the relevant plot.
780         * xlsx-read-drawing.c (cb_axis_set_position): Don't use
781         g_return_if_fail for data validation.
783         * xlsx-write-drawing.c (xlsx_write_one_plot): Write only the axes
784         we reference.
786         * xlsx-read-drawing.c (xlsx_create_axis_object): Move setting of
787         "invisible" here.
789 2015-02-23  Morten Welinder  <terra@gnome.org>
791         * xlsx-read-drawing.c (xlsx_chart_dtd): Handle gostyle extension
792         here too.
794         * xlsx-write-drawing.c (xlsx_write_chart): Add gnmx namespace as
795         needed.
797         * xlsx-read-drawing.c (xlsx_vml_adj): Read scroll bar value too.
799 2015-02-20  Morten Welinder  <terra@gnome.org>
801         * xlsx-read-drawing.c (xlsx_vml_client_data_end): Better handling
802         of anchor: don't overrun col/row limit; use point, not pixels;
803         take invible cols/rows into account.
805         * xlsx-write-drawing.c (xlsx_write_legacy_drawing_objects): Define
806         and reference shapetype.
807         (xlsx_write_legacy_drawing_objects): Export label too.
809 2015-02-19  Morten Welinder  <terra@gnome.org>
811         * xlsx-write-drawing.c (xlsx_write_go_style_full): Write gradient
812         position as "50%", not "50000".  Excel understands either, but the
813         schemas wants the first.  Note, that online schemas seem to differ
814         and want the latter.
816         * xlsx-read.c (attr_percent): New function to read either syntax.
818 2015-02-17  Morten Welinder  <terra@gnome.org>
820         * ms-excel-write.c (excel_collect_validations): Plug leak.
821         (excel_write_DV): Don't free ranges here.
823         * xlsx-write-drawing.c (xlsx_go_style_has_font): Simplify now that
824         we have a sane auto_font.
826 2015-02-16  Morten Welinder  <terra@gnome.org>
828         * ms-chart.c (chart_write_axis): Only output font record when it's
829         not automatic.
830         (BC_R(fontx)): When we see a font record, it's not auto_font.
832         * xlsx-read-drawing.c (xlsx_draw_text_run_props): Fix reading of
833         fonts, notably of the auto-font flag.  Part of #744632.
835         * xlsx-write-drawing.c (xlsx_write_one_plot): Plug leak.
836         (xlsx_write_plot_1_5_type): Plug leak.
838 2015-02-14  Morten Welinder  <terra@gnome.org>
840         * xlsx-write-drawing.c (xlsx_write_go_style_full): When needed
841         store our pattern in extension structure.  MS docs say other
842         consumers should ignore, but let's see.
843         (xlsx_write_go_style_full): If translation loses information,
844         store complete arrow details in extension.
846 2015-02-13  Morten Welinder  <terra@gnome.org>
848         * xlsx-write-drawing.c (xlsx_write_go_style_full): When we must
849         use fill in the line style, use a:noFill to indicate no line.
850         (xlsx_write_drawing_objects): Fix output of default background.
852 2015-02-12  Morten Welinder  <terra@gnome.org>
854         * xlsx-read-drawing.c (xlsx_chart_line_headtail): Improve arrow
855         import with xls_arrow_from_xl.
857         * ms-excel-util.c (xls_arrow_from_xl): New function extracted...
858         * ms-excel-read.c (handle_arrow_head): ...from here.
860         * xlsx-write-drawing.c (xlsx_write_go_style_full): Improve arrow
861         export with xls_arrow_to_xl.
863         * ms-excel-util.c (xls_arrow_to_xl): New function extraced from...
864         * ms-excel-write.c (write_arrow): ...here
866         * xlsx-write.c (xlsx_write_col): Always write column width.
867         Otherwise Excel might see zero.
869 2015-02-10  Morten Welinder  <terra@gnome.org>
871         * xlsx-write-drawing.c (xlsx_write_drawing_objects): Save arrow
872         direction.
874         * xlsx-write.c (xlsx2_file_save, xlsx_file_save): Initialize
875         counter.
877         * xlsx-write-docprops.c (xlsx_write_docprops): Plug leak.
879 2015-02-09  Morten Welinder  <terra@gnome.org>
881         * xlsx-read-drawing.c (xlsx_chart_line_headtail): First cut at
882         arrow heads.  Needs work.
884 2015-02-08  Morten Welinder  <terra@gnome.org>
886         * xlsx-write-drawing.c (xlsx_write_drawing_objects): Add leak
887         checking.
889         * xlsx-write.c (xlsx_write_workbook): Plug leaks.
891 2015-02-06  Morten Welinder  <terra@gnome.org>
893         * xlsx-write.c (xlsx_write_sheet): Handle sheet widgets.
895         * xlsx-write-drawing.c (xlsx_write_legacy_drawing_objects): First
896         cut at writing sheet widgets.
898         * xlsx-read-drawing.c (xlsx_vml_client_data_start)
899         (xlsx_vml_client_data_end): First attempt at reading scrollbars,
900         radio buttons, checkboxes, buttons, and spin buttons.
901         (xlsx_vml_shape): Reset position so we don't depend on junk.
902         (xlsx_vml_client_data_end): Resolve NaNs in position gracefully.
903         (xlsx_vml_adj): New function to read adjustment details.
905 2015-02-04  Morten Welinder <terra@gnome.org>
907         * Release 1.12.20
909 2015-02-03  Morten Welinder  <terra@gnome.org>
911         * xlsx-read-drawing.c (xlsx_chart_line): Default is no markers.
912         (xlsx_chart_line_marker): Set has-markers as requested.
914         * xlsx-write.c (xlsx_write_sheet): Don't complain over sheet
915         filter combos.
917         * xlsx-write-drawing.c (xlsx_write_go_style_full): Write font
918         information.
920         * xlsx-read-drawing.c (xlsx_tx_pr): Set the right auto_color flag.
922 2015-02-02  Morten Welinder  <terra@gnome.org>
924         * xlsx-read-drawing.c (xlsx_chart_push_obj): Optionally check for leaks.
925         (xlsx_axis_end): Plug leak.
927         * xlsx-write-drawing.c (xlsx_write_axis): Make axis visible.
929 2015-02-01  Morten Welinder  <terra@gnome.org>
931         * xlsx-write.c (xlsx_write_comments): We cannot use xml:space in
932         comments.
934         * xlsx-read.c (xlsx_comment_end): Plug leak.
936 2015-01-30  Morten Welinder  <terra@gnome.org>
938         * ms-obj.c (ms_obj_read_biff8_obj): Gather orientation.
940         * ms-excel-read.c (ms_sheet_realize_obj): Set orientation.
942 2015-01-28  Morten Welinder  <terra@gnome.org>
944         * ms-excel-write.c (excel_write_other_v8): Export sliders as-if
945         they were scrollbars.
947 2015-01-27  Morten Welinder  <terra@gnome.org>
949         * xlsx-write-drawing.c (xlsx_write_axis): Fix crossing for
950         inverted axis.
952 2015-01-26  Morten Welinder  <terra@gnome.org>
954         * xlsx-write.c (xlsx_write_sheet): Warn about dropped objects.
956         * xlsx-read-drawing.c (xlsx_body_pr): Fix reading angle.  In xlsx
957         positive angles are measured clock-wise.
959         * xlsx-write-drawing.c (xlsx_write_go_style_full): Make sure auto
960         markers don't get rotated or flipped.
962 2015-01-23  Morten Welinder  <terra@gnome.org>
964         * xlsx-write-drawing.c (xlsx_write_go_style_full): Use rotation to
965         handle marker triangles other than up.
967         * xlsx-read-drawing.c (xlsx_rpr_latin): Read typeface from xlsx charts.
968         (xlsx_sppr_xfrm): Rotate marker shapes.
970 2015-01-23  Morten Welinder <terra@gnome.org>
972         * Release 1.12.19
974 2015-01-21  Morten Welinder  <terra@gnome.org>
976         * xlsx-read-drawing.c (xlsx_read_chart): Reset chart position here
977         so we don't accidentally give the first object a (0,0) position.
979 2015-01-21  Morten Welinder  <terra@gnome.org>
981         * xlsx-write-drawing.c (xlsx_write_one_plot): varyColor defaults
982         to TRUE, so be sure to output it for line plots etc.
983         (xlsx_write_one_plot): Set smooth for anything but linear
984         interpolation.
986 2015-01-20  Morten Welinder  <terra@gnome.org>
988         * xlsx-write-drawing.c (xlsx_write_one_plot): Initial export of
989         trend lines.
991         * xlsx-read-drawing.c (xlsx_ser_trendline_type): Initial import of
992         trend lines.
994 2015-01-19  Morten Welinder  <terra@gnome.org>
996         * xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Fix
997         operator precedence.
998         (xlsx_axis_end): Re-use the id of an automatically generated axis
999         if there is one we can delete that happens to have the right role.
1001         * xlsx-write-drawing.c (xlsx_write_one_plot): Use
1002         xlsx_plottype_from_type_name for readability.
1004         * xlsx-utils.c (xlsx_plottype_from_type_name): New function.
1006 2015-01-17  Morten Welinder  <terra@gnome.org>
1008         * xlsx-write-drawing.c (xlsx_get_axid): New function allowing us
1009         to get away from storing truncated pointers as axis ids.
1011         * xlsx-read-drawing.c (xlsx_chart_bar_overlap)
1012         (xlsx_chart_bar_gap): Fix reading percentages.
1013         (xlsx_chart_no_fill): Handle noFill when used to avoid lines
1014         between data points.
1016         * xlsx-write-drawing.c (xlsx_write_axis): Factor this out from
1017         xlsx_write_one_plot.  Write axis label.
1018         (xlsx_write_one_chart): Write chart title.
1020         * xlsx-read-drawing.c (xlsx_plot_area): Keep the backplane in
1021         default style.
1023         * xlsx-write-drawing.c (xlsx_write_go_style): Write marker colors.
1025         * xlsx-read-drawing.c (xlsx_chart_solid_fill): Fix reading marker
1026         colors.
1028         * xlsx-write-drawing.c (xlsx_write_go_style): Write marker size.
1030         * xlsx-read-drawing.c (xlsx_chart_marker_size): Read marker size.
1032         * xlsx-write.c (xlsx_write_cols): Make sure we include a width for
1033         default-style columns.  Otherwise XL will see zero width.
1035 2015-01-16  Morten Welinder  <terra@gnome.org>
1037         * xlsx-write-drawing.c (xlsx_write_go_style): Export line style.
1038         (xlsx_write_go_style): Have a first go at exporting marker shapes.
1040         * xlsx-read-drawing.c (xlsx_style_line_start): Also point to the
1041         right auto_color location so we don't end up ignoring the colors
1042         we read.
1044 2014-12-16  Morten Welinder  <terra@gnome.org>
1046         * xlsx-write-docprops.c (xlsx_meta_write_props_custom_type):
1047         Booleans should be saved as "true" or "false", not "t" and "f".
1048         Excel refuses to understand the latter.
1049         (xlsx_meta_write_props_custom): Don't reuse prop ids.  Excel does
1050         not like that.
1052         * xlsx-utils.c (xlsx_func_hypgeomdist_output_handler): New handler
1053         for HYPGEOMDIST.
1055 2014-11-01  Morten Welinder  <terra@gnome.org>
1057         * ms-escher.c (ms_escher_get_data): Plug leak.
1059         * ms-excel-read.c (excel_read_MULRK): Catch crazy column numbers
1060         early.
1062 2014-10-30  Morten Welinder  <terra@gnome.org>
1064         * ms-excel-read.c (excel_font_get): In case of error, fall back to
1065         font 0 if we have that.
1066         (ms_wb_get_font_markup): Plug leak.
1068         * ms-obj.c (ms_obj_map_forms_obj): Plug leak.
1070 2014-10-28  Morten Welinder  <terra@gnome.org>
1072         * ms-chart.c (ms_excel_chart_read): Fix double free.
1074 2014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1076         * xlsx-read-drawing.c (xlsx_axis_format): add some support for axis format.
1077         * xlsx-write-drawing.c (xlsx_write_one_plot): ditto.
1079 2014-10-24  Morten Welinder  <terra@gnome.org>
1081         * ms-excel-read.c (excel_get_chars): Plug leak.
1083         * xlsx-read.c (xlsx_file_open): Plug leak.
1085         * xlsx-read-drawing.c (cb_axis_set_position): Plus leak.
1087 2014-09-25  Morten Welinder <terra@gnome.org>
1089         * Release 1.12.18
1091 2014-09-20  Morten Welinder  <terra@gnome.org>
1093         * xlsx-write.c (xlsx_write_cells): xml:space evidently isn't
1094         allowed in here.
1096 2014-09-18  Jean Brefort  <jean.brefort@normalesup.org>
1098         * ms-chart.c (chart_write_axis): save axis format. [#736656]
1099         * ms-excel-write.c (set_ifmt), (excel_write_add_object_format):
1100         * ms-excel-write.h:
1102 2014-09-10  Morten Welinder  <terra@gnome.org>
1104         * xlsx-read.c: Factor out rich text nodes into a macro.  This
1105         replaces having three copies, more or less up to date.
1107 2014-09-08  Morten Welinder  <terra@gnome.org>
1109         * xlsx-read.c (xlsx_cell_inline_begin, xlsx_cell_inline_end): New
1110         functions to deal with non-shared rich text strings.
1112         * xlsx-write.c (xlsx_write_cells): Write string values that are
1113         not formula results and not shared using the proper "inlineStr"
1114         type.  Neither Excel nor LO really cares, but someone else does,
1115         see bug 736202.  As a side effect, this will improve the rich-text
1116         situation.
1118 2014-07-27  Morten Welinder  <terra@gnome.org>
1120         * ms-excel-write.c (excel_write_DIMENSION): Fix off-by-one, see
1121         #733771.
1123 2014-06-09  Morten Welinder <terra@gnome.org>
1125         * Release 1.12.17
1127 2014-06-05  Morten Welinder  <terra@gnome.org>
1129         * xlsx-write.c (xlsx_write_rich_text): Fix color attribute.  Only
1130         write xml:space attribute when text has spaces.
1131         (xlsx_write_rich_text): Only write xml:space in contexts where the
1132         schema allow it.  The shared strings table does not allow it.
1134 2014-06-03  Morten Welinder  <terra@gnome.org>
1136         * xlsx-write.c (xlsx_write_rich_text): Add two missing "break;".
1137         Write only attributes that are present.  Handle superscript/subscript.
1138         (xlsx_write_shared_strings): Handle rich text.
1139         (xlsx_write_cells): Don't actually store a markup format as a cell
1140         format.
1142         * xlsx-read.c (xlsx_run_color): Handle indexed colours.
1143         (xlsx_run_weight): Fix handling of bold.
1144         (xlsx_run_underline): Fix handling of underline.
1145         (xlsx_run_vertalign): New function for superscript/subscript.
1146         (add_attr): New function to ensure start_index and end_index get
1147         initialized.
1149 2014-06-02  Morten Welinder  <terra@gnome.org>
1151         * xlsx-read.c (handle_delayed_names): Handle empty string for
1152         expression as #REF for the benefit of LO.
1154 2014-05-31  Morten Welinder  <terra@gnome.org>
1156         * xlsx-write.c (xlsx_write_cells): Support value formats.  Fixes
1157         #724517.
1158         (xlsx_write_workbook): Make styles hash use proper hash and
1159         equality functions.
1161 2014-05-23  Morten Welinder <terra@gnome.org>
1163         * Release 1.12.16
1165 2014-04-30  Morten Welinder <terra@gnome.org>
1167         * Release 1.12.15
1169 2014-04-24  Morten Welinder  <terra@gnome.org>
1171         * xlsx-read-drawing.c (xlsx_chart_title_end): Fix manual
1172         positioning of chart titles.
1173         (xlsx_chart_layout_mode): Read as enum, not bool.  (We still
1174         ignore.)
1176 2014-04-20  Morten Welinder  <terra@gnome.org>
1178         * xlsx-read-drawing.c (xlsx_chart_solid_fill): When we see a
1179         GO_STYLE_FONT marker, solidFill refers to font colour.
1180         (xlsx_chart_text_start): Set sp_type flag GO_STYLE_FONT.
1181         (xlsx_chart_text): Clear flag.
1182         (xlsx_style_line_start): Handle line width.
1184 2014-04-19  Morten Welinder  <terra@gnome.org>
1186         * xlsx-read-drawing.c: Constify simple_enum tables and make sure
1187         to check the return value.
1189 2014-04-19  Morten Welinder  <terra@gnome.org>
1191         * xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Fix
1192         reading object positions.
1194 2014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1196         * xlsx-write-drawing.c (xlsx_pts_to_emu): new
1197         (xlsx_write_object_anchor): add offset arguments
1198         (xlsx_write_objects): pass offsets to xlsx_write_object_anchor
1200 2014-04-17  Morten Welinder  <terra@gnome.org>
1202         * xlsx-read-drawing.c (xlsx_chart_gridlines): Handle minorgrid
1203         too.
1204         (xlsx_axis_info_free): Plug leak.
1206 2014-04-16  Jean Brefort  <jean.brefort@normalesup.org>
1208         * ms-chart.c (valuerange): ignore the cross value when auto crossing.
1210 2014-04-14  Morten Welinder  <terra@gnome.org>
1212         * xlsx-read.c (xlsx_ext_begin): Don't complain over "ext".
1214 2014-04-13  Morten Welinder <terra@gnome.org>
1216         * Release 1.12.14
1218 2014-04-12  Morten Welinder  <terra@gnome.org>
1220         * xlsx-read-drawing.c: Add more xml grammer.
1222 2014-03-21  Morten Welinder  <terra@gnome.org>
1224         * ms-excel-write.c (txomarkup_new): Take also string argument.
1225         Don't delete last run without attributes unless it is beyond the
1226         string.
1228         * ms-excel-read.c (ms_wb_get_font_markup): Defined a font's pango
1229         attributes in terms of how it differs from font 0.
1231         * xlsx-write.c (xlsx_find_font): Use new gnm_style_equal_elem.
1232         (xlsx_find_border): Ditto.
1233         (xlsx_find_fill): Ditto.
1235         * xlsx-utils.c (xlsx_output_string, xlsx_string_parser): New
1236         function.  Fixes #726824.
1238         * xlsx-read.c (xlsx_cond_fmt_rule_begin): Match
1239         xlsx_write_cond_rule changes.
1241         * xlsx-write.c (xlsx_write_cond_rule): Write alternate formulas
1242         even for "Starts with" and friends.
1244         * xlsx-read.c (xlsx_cond_fmt_formula_end): Don't throw critical if
1245         we fail to parse the expression.
1247 2014-03-20  Morten Welinder  <terra@gnome.org>
1249         * xlsx-write.c (xlsx_write_background): Be careful about fields
1250         ordering.  Excel cares.
1251         (xlsx_write_cond_rule): Fix misunderstanding about type names.
1253 2014-03-19  Morten Welinder  <terra@gnome.org>
1255         * xlsx-write.c (xlsx_find_predefined_fill): Take care not to drop
1256         a background colour even if we have a "none" fill.
1258         * xlsx-read.c (xlsx_cond_fmt_rule_end): Reverse the
1259         alternate-expression uses for certain conditions.
1261         * xlsx-write.c (xlsx_write_dxfs): New function.
1263         * xlsx-read.c (xlsx_CT_CustomFilter): Avoid mixing enums.
1264         (xlsx_cond_fmt_formula_end): Parse expressions in the right parse
1265         position.
1266         (xlsx_cond_fmt_rule_begin): Don't complain over type "expression".
1267         (xlsx_dxf_numfmt): New function to read conditional number
1268         formats.
1270 2014-03-18  Morten Welinder <terra@gnome.org>
1272         * Release 1.12.13
1274 2014-03-17  Morten Welinder  <terra@gnome.org>
1276         * ms-excel-write.c (cb_write_condition): Fix handling of font
1277         weight.
1279 2014-03-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1281         * xlsx-read.c (xlsx_styles_dtd): add stubs
1283 2014-03-16  Morten Welinder  <terra@gnome.org>
1285         * ms-excel-util.c (xls_header_footer_import): Treat a NULL string
1286         as an empty string.  Redhat #1076912.
1288 2014-03-15  Morten Welinder  <terra@gnome.org>
1290         * ms-excel-write.c (cb_write_condition): Store superscript and
1291         subscript in the right place.
1293         * ms-excel-read.c (excel_read_CF): Improve record length checks.
1295 2014-03-12  Morten Welinder  <terra@gnome.org>
1297         * ms-excel-write.c (cb_write_condition): Use
1298         gnm_style_cond_get_alternate_expr for conditions not available in
1299         xls.
1301         * ms-excel-read.c (excel_read_CF): Undo the alternate expression
1302         stuff.
1304 2014-03-10  Morten Welinder  <terra@gnome.org>
1306         * xlsx-read.c (xlsx_CT_vertAlign): Read super/subscript.
1307         (xlsx_CT_CustomFilter): Preliminary reading of auto filters.
1309         * xlsx-write.c (xlsx_write_fonts): Save super/sub attribute.
1311 2014-03-05  Morten Welinder  <terra@gnome.org>
1313         * ms-formula-write.c (excel_write_prep_expr): Rewrite in terms of
1314         gnm_expr_walk.
1316 2014-03-03  Morten Welinder <terra@gnome.org>
1318         * Release 1.12.12
1320 2014-03-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1322         * xlsx-write.c (xlsx_write_autofilters): write blank filter info
1324 2014-03-01  Morten Welinder  <terra@gnome.org>
1326         * xlsx-write.c (xlsx_write_autofilters): First stab at writing
1327         most auto-filter selections.
1329         * ms-excel-read.c (excel_sheet_insert_val): Don't set value
1330         format.  We already the full style for the cell in
1331         excel_set_xf.  Fixes #725453.
1333 2014-02-28  Morten Welinder  <terra@gnome.org>
1335         * crypt-md4.c: Add missing include.  (From Gentoo.)
1337 2014-02-26  Morten Welinder  <terra@gnome.org>
1339         * ms-biff.c (ms_biff_query_next): Do auto-continue for
1340         BIFF_MERGECELLS.  We don't generate that ourselves, but it's
1341         valid.
1343         * boot.c (excel_save): Make sure to save macros in the
1344         _VBA_PROJECT_CUR directory that we loaded them from.
1345         (excel_save): Restore \001Ole member too.
1346         (excel_save): Save the entire _VBA_PROJECT_CUR directory.
1348 2014-02-25  Morten Welinder  <terra@gnome.org>
1350         * ms-container.c (ms_container_read_markup): Return NULL when no
1351         attributes are present.  idx==0 is the normal font.
1353         * ms-excel-write.c (excel_write_string_in_chunks): BIFF_TXO uses
1354         BIFF_CONTINUE records in a non-standard way.
1356         * ms-biff.c (ms_biff_query_dump, ms_biff_put_len_next)
1357         (ms_biff_put_var_write): Write symbolic opcode name too.
1359         * xlsx-read.c (xlsx_comment_start): Use cell_comment_set_pos to
1360         the anchor gets set up in a standard way.
1362         * ms-biff.c (ms_biff_put_new): No need for bp->buf anymore.
1364 2014-02-24  Morten Welinder  <terra@gnome.org>
1366         * xlsx-write.c (xlsx_write_cells): Export row height when it is
1367         not default, even if it is not user-set.
1368         (xlsx_write_style_write_alignment): Fix rotation export for
1369         downward angles.
1371 2014-02-23  Morten Welinder  <terra@gnome.org>
1373         * ms-excel-util.c (xls_header_footer_export): New function
1374         extracted from...
1375         * xlsx-write.c (xlsx_write_print_info_hf): ...here.
1377         * ms-excel-util.c (xls_header_footer_import): New function
1378         extracted from...
1379         * xlsx-read.c (xlsx_CT_header_footer): ...here.
1381         * ms-excel-write.c (excel_write_HEADER_FOOTER): Properly translate
1382         magic codes.
1384         * xlsx-read.c (xlsx_CT_header_footer): Read headerfooter info.
1386         * xlsx-write.c (xlsx_write_print_info): headerFooter before page
1387         breaks.  Evidently Excel cares.
1389 2014-02-22  Morten Welinder  <terra@gnome.org>
1391         * ms-biff.c (ms_biff_query_next): Handle BIFF_CONTINUE for a whole
1392         bunch of record types containing strings or formulae.
1394         * ms-excel-read.c (excel_read_IMDATA): No need to handle
1395         BIFF_CONTINUE here.
1397         * ms-formula-read.c (undo_save_hacks): Undo the
1398         long-string-constant hack in write_string.
1400         * ms-excel-write.c (excel_convert_string): New function.
1401         (excel_write_comments_biff7): Avoid infinite loop when a comment
1402         contains characters that cannot be represented in the codepage.
1403         (excel_write_string): Use excel_convert_string.
1405 2014-02-21  Morten Welinder  <terra@gnome.org>
1407         * ms-excel-read.c (excel_read_FORMULA): Try to handle missing
1408         expression length.
1410         * ms-biff.c (ms_biff_query_next): Handle CONTINUE record for
1411         BIFF_FORMULA_v0, BIFF_FORMULA_v2, BIFF_STRING_v0, adn
1412         BIFF_STRING_v2 too.
1414         * ms-excel-write.c (excel_write_string): Improve handling of
1415         string overflow.
1417         * ms-formula-write.c (write_string): Split long strings into 255
1418         character chunks: ("s1"&"s2"&...)
1420 2014-02-20  Morten Welinder  <terra@gnome.org>
1422         * xlsx-write.c (xlsx_write_print_info): First stab at exporting
1423         headers and footers.
1425         * ms-excel-write.c (excel_write_XF): Fix reversed diagonal border
1426         bits.
1428 2014-02-19  Morten Welinder  <terra@gnome.org>
1430         * ms-excel-write.c (rotation_to_excel_v7): Fix rotation at 270
1431         degrees.
1433         * xlsx-write.c (xlsx_write_fonts): Handle underline.
1435         * ms-excel-write.c (excel_write_HEADER_FOOTER): Use one-byte
1436         strings for BIFF7 and earlier.  That matches the way we read
1437         things.
1439 2014-02-17  Morten Welinder  <terra@gnome.org>
1441         * xlsx-utils.c (xlsx_conventions_new): use same
1442         decimal_digits as in gnumeric export.
1444         * ms-biff.c (ms_biff_query_next): Handle continuation records
1445         here for certain opcodes.  Fixes part of #724399.
1447 2014-02-16  Morten Welinder <terra@gnome.org>
1449         * Release 1.12.11
1451 2014-02-16  Morten Welinder  <terra@gnome.org>
1453         * ms-excel-write.c (excel_write_string): Fix hand.  #724399.
1455 2014-02-11  Morten Welinder <terra@gnome.org>
1457         * Release 1.12.10
1459 2014-01-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1461         * xlsx-read.c (xlsx_theme_dtd): add more stubs
1463 2013-12-21  Morten Welinder  <terra@gnome.org>
1465         * ms-excel-read.c (excel_read_XF): Fix length check.  Fixes
1466         #715002.
1468         * ms-obj.c (read_pre_biff8_read_name_and_fmla): Fix and improve
1469         length check.  Fixes #720358 and #719349.
1471 2013-12-13  Morten Welinder  <terra@gnome.org>
1473         * ms-excel-read.c (excel_read_WINDOW2): Don't crash of truncated
1474         record.  Fixes #720426.
1476         * xlsx-read.c (xlsx_cell_end): Make sure state->texpr ends up
1477         NULL.  Fixes #720425.
1479 2013-11-28  Morten Welinder <terra@gnome.org>
1481         * Release 1.12.9
1483 2013-11-26  Jean Brefort  <jean.brefort@normalesup.org>
1485         * ms-excel-write.c (excel_write_string): fix large strings export. [715110#]
1486         (excel_write_ClientTextbox): fix test.
1488 2013-11-25  Morten Welinder  <terra@gnome.org>
1490         * ms-excel-write.c (excel_write_string): Fix buffer allocation.
1492 2013-11-22  Morten Welinder  <terra@gnome.org>
1494         * ms-excel-write.c (excel_write_RSTRING): Truncate markup at text
1495         length.  Fixes #715003.
1497 2013-11-21  Morten Welinder  <terra@gnome.org>
1499         * ms-obj.c (read_pre_biff8_read_text): Fix fuzzed file problem
1500         #712731.
1502         * xlsx-read.c (xlsx_file_open): A severely malformed document can
1503         leave an expression in the state.  Free that.  Fixes #712788.
1505 2013-11-20  Morten Welinder  <terra@gnome.org>
1507         * ms-escher.c (ms_escher_get_data): Fix fuzzed file crash.  Fixes
1508         #712772.  Plug leak.
1510 2013-11-19  Morten Welinder  <terra@gnome.org>
1512         * ms-excel-read.c (excel_read_CF): Check record size.  Fixes
1513         #712708.
1515         * xlsx-read-drawing.c (xlsx_style_line_end): Clear the current
1516         color.  Fixes #712700.
1518         * ms-excel-read.c (excel_read_MERGECELLS): Fix FMR [#712685]
1520 2013-11-11  Morten Welinder  <terra@gnome.org>
1522         * ms-excel-write.c (excel_write_ClientTextbox): Fix fuzzed file
1523         crash.  [#708091]
1525 2013-10-07  Morten Welinder <terra@gnome.org>
1527         * Release 1.12.8
1529 2013-09-13  Morten Welinder  <terra@gnome.org>
1531         * ms-excel-read.c (ms_wb_parse_expr): Clear the whole thing,
1532         notably the v7 part.  Fixes #707875.
1534 2013-09-01  Morten Welinder <terra@gnome.org>
1536         * Release 1.12.7
1538 2013-08-27  Morten Welinder <terra@gnome.org>
1540         * Release 1.12.6
1542 2013-08-20  Morten Welinder  <terra@gnome.org>
1544         * ms-excel-write.c (excel_write_prep_validations): Handle range
1545         with no validation (and therefore with an input message).
1547 2013-08-19  Morten Welinder <terra@gnome.org>
1549         * Release 1.12.5
1551 2013-08-15  Morten Welinder  <terra@gnome.org>
1553         * ms-excel-write.c (excel_write_autofilter_names): Fix last fix.
1554         Sometimes we already have _FilterDatabase as a name.  If so,
1555         brutally use it.  Fixes #705947.
1557 2013-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1559         * ms-chart.c (BC_R(shtprops)): check whether we have enough data
1561 2013-08-14  Morten Welinder  <terra@gnome.org>
1563         * ms-container.c (ms_container_read_markup): Add/reinstate bounds
1564         check.  Fixes #705866.
1566 2013-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1568         * excel-xml-read.c (xl_xml_cell_start): remember how many cols
1569         to merge
1570         (xl_xml_cell_end): correctly calc new cell position
1571         (xl_xml_sheet_start): use maximum sheet size
1572         (excel_xml_dtd): add some elements
1574 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1576         * xlsx-read-drawing.c (xlsx_chart_dtd): add more elements
1578 2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1580         * ms-excel-read.c (excel_read_LABEL): check for NULL fd
1582 2013-08-02  Jean Brefort  <jean.brefort@normalesup.org>
1584         * ms-chart.c (axislineformat): fix crah on fuzzed xls reading [#705353],
1585         (chart_write_AI): write all formulas to .xls, even if not  supported by
1586         excel [#705311],
1587         (chart_write_plot): export bubble size scale. [see #705311]
1589 2013-08-01  Morten Welinder  <terra@gnome.org>
1591         * ms-excel-read.c (excel_read_MULRK): Fix sanity check.  Fixes
1592         #705319.
1594 2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1596         * xlsx-write.c (xlsx_write_borders): check for NULL borders
1598 2013-07-26  Morten Welinder  <terra@gnome.org>
1600         * xlsx-read.c (xlsx_file_open): Release state.val, just in case.
1602 2013-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1604         * xlsx-write-pivot.c (xlsx_write_pivot_val): check for NULL
1605         value
1606         (xlsx_write_pivot_cache_records): ditto
1608 2013-07-10  Morten Welinder <terra@gnome.org>
1610         * Release 1.12.4
1612 2013-07-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1614         * ms-excel-read.c (excel_read_HLINK): check for NULL data
1616 2013-07-09  Morten Welinder  <terra@gnome.org>
1618         * ms-formula-read.c (getRefV8): Take GnmSheetSize argument.
1619         Verify row against that.  All callers changed.  Fixes #703306.
1621 2013-07-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1623         * xlsx-read.c (xlsx_sheet_dtd): attach protectedRange to the
1624         correct parent
1626 2013-07-02  Morten Welinder  <terra@gnome.org>
1628         * ms-excel-write.c (excel_write_autofilter_names): Use
1629         expr_name_unref, not expr_name_remove since the fake name is not
1630         in any scope.  Fixes #703308.
1632 2013-06-30  Morten Welinder  <terra@gnome.org>
1634         * ms-excel-read.c (excel_read_BOUNDSHEET): Check record length.
1635         Fixes #703307.
1637 2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1639         * xlsx-read-drawing.c (xlsx_axis_crosses_at): check for null
1640         axis->info
1641         (xlsx_axis_crosses): check for null axis->info
1643 2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1645         * ms-formula-read.c (ms-formula-read.c): add another
1646         synonym
1648 2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1650         * xlsx-utils.c (xlsx_func_betadist_handler): delete again
1651         (xlsx_func_dist_handler): remove density scaling argument,
1652         change all callers
1653         (xlsx_conventions_new): disconnect xlsx_func_betadist_handler
1655 2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1657         * xlsx-utils.c (xlsx_func_betadist_handler): new
1658         (xlsx_func_dist_handler): add density scaling argument, change
1659         all callers
1660         (xlsx_conventions_new): connect xlsx_func_betadist_handler
1662 2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1664         * xlsx-utils.c (xlsx_func_lognormdist_handler): new
1665         (xlsx_func_negbinomdist_handler): new
1666         (xlsx_conventions_new): connect the above two
1668 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1670         * xlsx-utils.c (xlsx_func_binominv_handler): use GnmExprList
1671         rather than GSList
1672         (xlsx_func_dist_handler): new
1673         (xlsx_func_chisqdist_handler): new
1674         (xlsx_func_fdist_handler): new
1675         (xlsx_conventions_new): connect the last two
1677 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1679         * xlsx-utils.c (xlsx_func_erf_output_handler): new
1680         (xlsx_conventions_new): connect the above and add erf.precise
1681         translation
1683 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1685         * xlsx-utils.c (xlsx_conventions_new): add MODE.SNGL
1686         translation
1688 2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1690         * xlsx-utils.c (xlsx_func_betainv_output_handler): new
1691         (xlsx_func_gammainv_output_handler): new
1692         (xlsx_func_lognorminv_output_handler): new
1693         (xlsx_func_tinv_output_handler): new
1694         (xlsx_conventions_new): connect the above
1696 2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1698         * xlsx-utils.c (xlsx_write_r_q_func): add argument and change
1699         all callers to use ....RT function if available
1700         (xlsx_func_r_q_output_handler): add argument and change all
1701         callers
1703 2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1705         * xlsx-utils.c (xlsx_write_r_q_func): add argument and change
1706         all callers
1707         (xlsx_func_r_q_output_handler): add argument and change all
1708         callers
1709         (xlsx_func_binominv_output_handler): use xlsx_func_r_q_output_handler
1711 2013-06-25  Morten Welinder <terra@gnome.org>
1713         * Release 1.12.3
1715 2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1717         * xlsx-utils.c (xlsx_func_r_q_output_handler): use variable
1718         rather than hard code (wrong) constant
1720 2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1722         * xlsx-utils.c (xlsx_write_r_q_func): new
1723         (xlsx_func_r_q_output_handler): new
1724         (xlsx_func_norminv_output_handler): new
1725         (xlsx_func_chisqinv_output_handler): use
1726         xlsx_func_r_q_output_handler
1727         (xlsx_func_finv_output_handler): ditto
1728         (xlsx_conventions_new): connect
1729         xlsx_func_norminv_output_handler
1731 2013-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1733         * xlsx-utils.c (xlsx_func_binominv_output_handler):
1734         simplify the expression if some of the flags are constant
1736 2013-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1738         * xlsx-utils.c (xlsx_func_binominv_output_handler):
1739         translate the expression even for more than 3 arguments
1741 2013-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1743         * xlsx-utils.c (xlsx_func_floor_output_handler): new
1744         (xlsx_conventions_new): connect new handler
1746 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1748         * ms-formula-read.c (ms-formula-read.c): add more
1749         synonyms
1750         * xlsx-utils.c (xlsx_conventions_new): add more
1751         synonyms
1753 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1755         * ms-formula-read.c (ms-formula-read.c): add
1756         "f.inv" --> "r.qf"
1757         * xlsx-utils.c (xlsx_func_finv_output_handler): new
1758         (xlsx_conventions_new): connect new handler and add
1759         "f.inv" --> "r.qf" translation
1761 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1763         * ms-formula-read.c (ms-formula-read.c): add
1764         "chisq.inv" --> "r.qchisq"
1765         * xlsx-utils.c (xlsx_func_chisqinv_output_handler): new
1766         (xlsx_conventions_new): connect new handler and add
1767         "chisq.inv" --> "r.qchisq" translation
1769 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1771         * xlsx-utils.h: remove duplicates
1772         (xlsx_conventions_new): add argument
1773         * xlsx-read.c (xlsx_file_open): add argument to
1774         xlsx_conventions_new
1775         * xlsx-write.c (xlsx_write_workbook): ditto
1776         * xlsx-utils.c (xlsx_func_map_in): recognize our own functions
1777         (xlsx_func_map_out): new
1778         (xlsx_func_binominv_output_handler): new
1779         (xlsx_conventions_new): add argument and initialize
1780         output hashes and function translator
1782 2013-06-21  Morten Welinder  <terra@gnome.org>
1784         * ms-formula-read.c (make_function): Eliminate typo.  Fixes
1785         #702789.
1787 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1789         * xlsx-utils.c (XLSXExprConventions): add field
1790         (xlsx_func_map_in): chcek and use handler
1791         (xlsx_func_binominv_handler): new
1792         (xlsx_conventions_new): initialize xlfn_handler_map
1793         (xlsx_conventions_free): free the hash here
1795 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1797         * xlsx-utils.c (XLSXExprConventions): add field
1798         (xlsx_func_map_in): do not initialize xlfn_map here
1799         (xlsx_conventions_new): but here
1800         (xlsx_conventions_free): free the hash here.
1802 2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1804         * xlsx-utils.c (xlsx_func_map_in): new
1805         (xlsx_conventions_new): connect the above
1807 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1809         * ms-formula-read.c (xl2010_synonyms): add more functions
1811 2013-06-20  Morten Welinder  <terra@gnome.org>
1813         * ms-formula-read.c (xl2010_synonyms): Map new function names to
1814         the ones we used.
1816 2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1818         * xlsx-read.c (xlsx_pattern): set a default pattern
1820 2013-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1822         * ms-excel-read.c (excel_read_CF_border): change GnmStyleCond
1823         argument to GnmStyle
1824         (excel_read_CF): pass the overlay not the empty condition to
1825         excel_read_CF_border
1827 2013-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1829         * xlsx-read.c (xlsx_workbook_dtd): avoid duplication
1831 2013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1833         * xlsx-read.c (xlsx_validation_expr): check for null validation;
1835 2013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1837         * xlsx-read-drawing.c: connect "ext" handler
1838         * xlsx-read.c: declare xlsx_ext_begin early
1840 2013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1842         * xlsx-read.c (xlsx_read_external_book): also try an alternative url
1843         (xlsx_read_external_sheetname): check whether we have a book before
1844         adding sheets to it.
1846 2013-06-16  Morten Welinder  <terra@gnome.org>
1848         * xlsx-read-drawing.c (xlsx_blip_start): Handle errors in getting
1849         blip.  Fixes #702379.
1851 2013-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1853         * xlsx-read.c (xlsx_read_chart): there may not be any plots in a chart.
1855 2013-06-13  Morten Welinder  <terra@gnome.org>
1857         * ms-excel-read.c (excel_read_COLINFO): Fix crash.  [#702182]
1859 2013-06-13  Jean Brefort  <jean.brefort@normalesup.org>
1861         * ms-chart.c (end): don't crash when exchanging missing axes. [#702126]
1863 2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1865         * xlsx-write.c (xlsx_write_print_info): fix typo
1866         * xlsx-read.c (xlsx_sheet_page_setup): read more attributes
1867         (xlsx_CT_PageSetup): read more attributes
1869 2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1871         * xlsx-write.c (xlsx_write_print_info): always write fitTo*
1872         (xlsx_write_sheet): write pageSetUpPr
1874 2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1876         * xlsx-read.c (xlsx_set_paper_from_code): update paper list
1878 2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1880         * xlsx-write.c (xlsx_find_paper_code): use the complete list
1881         (xlsx_write_print_info): write all applicable attributes
1883 2013-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1885         * xlsx-read.c (xlsx_parse_distance): new
1886         (attr_distance): new
1887         (xlsx_paper_size): new
1888         (xlsx_set_paper_from_code): new
1889         (xlsx_CT_PageSetup): handle paper size
1891 2013-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1893         * xlsx-write.c (xlsx_write_print_info): write paper size
1894         (xlsx_add_pt): new
1895         (xlsx_find_paper_code): new
1897 2013-06-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1899         * xlsx-read.c (xlsx_CT_PageSetup): new
1900         * xlsx-write.c (xlsx_write_print_info): write orientation
1902 2013-06-05  Morten Welinder  <terra@gnome.org>
1904         * ms-excel-write.c (excel_write_HLINKs): Don't remove hlinks here.
1905         (excel_sheet_new): Collect hlinks regardless of biff version.
1906         Fixes #701604.
1908 2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1910         * xlsx-read.c (xlsx_ext_begin): new
1911         (xlsx_sheet_dtd): connect the above
1912         (xlsx_workbook_dtd): connect the above
1913         (xlsx_styles_dtd): connect the above
1915 2013-04-29  Morten Welinder  <terra@gnome.org>
1917         * xlsx-read.c (xlsx_cell_end): Don't create empty cells.
1919 2013-04-26  Morten Welinder <terra@gnome.org>
1921         * Release 1.12.2
1923 2013-04-22  Morten Welinder  <terra@gnome.org>
1925         * boot.c (excel_enc_file_open): Plug leak.
1927         * ms-excel-read.c (excel_read_FONT): Ensure ->script, ->underline,
1928         and ->codepage are set.
1929         (gnm_xl_importer_new): Set more pivot fields.
1931 2013-04-20  Morten Welinder  <terra@gnome.org>
1933         * ms-excel-read.c (excel_read_name_str): Make sure we don't end up
1934         requesting (size_t)-1 characters worth of data.  Fixes #698424,
1935         initial item.
1936         (ms_wb_parse_expr): NULL the dummy container vtable.
1938 2013-04-15  Morten Welinder  <terra@gnome.org>
1940         * ms-formula-write.c (write_arrays): Handle empty values properly.
1942         * ms-formula-read.c (excel_parse_formula1): Handle empty values in
1943         array constants.  Fix handling of booleans and errors in array
1944         constants.
1945         (excel_parse_name): Add argument for array data length.  All
1946         callers changed.  Fixes #654211.
1948         * ms-excel-write.c (excel_write_PAGE_BREAK): Make implied cast of
1949         columnm/row number to guint16 explicit.  See #693979.
1951 2013-04-14  Morten Welinder  <terra@gnome.org>
1953         * ms-excel-write.c (excel_write_NAME): Store the name's length in
1954         characters, not bytes.  This matches the read side and fixes
1955         #608780.
1957 2013-04-10  Morten Welinder  <terra@gnome.org>
1959         * ms-formula-write.c (do_excel_write_prep_expr): Fix unintentional
1960         duplication of externnames.
1962         * ms-excel-write.h (struct _XLSExporter): Change externnames
1963         member to a GPtrArray of char*.
1965         * formula-types.h (ExcelFuncDesc): Add explicit index.
1967         * ms-formula-read.c (make_function): Fix importing of GAMMA (and
1968         others) from LibreOffice's xls files.
1970 2013-04-09  Morten Welinder  <terra@gnome.org>
1972         * ms-formula-read.c (make_function): Fix importing of IFERROR and
1973         perhaps other newer functions.
1975 2013-03-09  Morten Welinder <terra@gnome.org>
1977         * Release 1.12.1
1979 2013-02-24  Jean Brefort  <jean.brefort@normalesup.org>
1981         * ms-chart.c (get_style), (ms_excel_chart_read): add explicit casts to
1982         fix some warnings.
1983         * xlsx-read-drawing.c (xlsx_style_line_start): ditto.
1985 2013-02-22  Morten Welinder  <terra@gnome.org>
1987         * ms-excel-write.c (gather_styles): Use sheet_cells, not
1988         sheet_cell_foreach, so the output won't depend on hash order.
1990 2013-02-14  Jean Brefort  <jean.brefort@normalesup.org>
1992         * ms-chart.c (get_style): reversed previous change.
1993         * xlsx-read-drawing.c (xlsx_style_line_start): ditto.
1995 2013-02-10  Jean Brefort  <jean.brefort@normalesup.org>
1997         * ms-chart.c (get_style): use go_style_new() instead of gog_style_new().
1998         * xlsx-read-drawing.c (xlsx_style_line_start): ditto.
2000 2013-02-10  Jean Brefort  <jean.brefort@normalesup.org>
2002         * xlsx-read-drawing.c (xlsx_drawing_preset_geom): fix uninitialized an 
2003         variable issue. [#693492]
2005 2013-02-05  Jean Brefort  <jean.brefort@normalesup.org>
2007         * ms-chart.c (ms_excel_chart_read): don't use deprecated gog_style_new().
2009 2013-01-03  Morten Welinder  <terra@gnome.org>
2011         * ms-excel-read.h (XL_EXTERNSHEET_MAGIC_SELFREF)
2012         (XL_EXTERNSHEET_MAGIC_DELETED): Intorduce symbolic names for magic
2013         constants.  All users changed.
2015 2013-01-01  Morten Welinder  <terra@gnome.org>
2017         * ms-excel-write.c (excel_font_overlay_pango): Don't use
2018         deprecated goffice stuff.
2020 2012-12-24  Morten Welinder  <terra@gnome.org>
2022         * xlsx-write-drawing.c (xlsx_write_one_plot): Silence warning.
2024 2012-12-18  Morten Welinder <terra@gnome.org>
2026         * Release 1.12.0
2028 2012-12-18  Morten Welinder  <terra@gnome.org>
2030         * xlsx-write-drawing.c (xlsx_write_chart): Avoid creating empty
2031         charts files.  Fixes #690203.
2033 2012-11-29  Morten Welinder <terra@gnome.org>
2035         * Release 1.11.91
2037 2012-11-16  Morten Welinder <terra@gnome.org>
2039         * Release 1.11.90
2041 2012-11-06  Morten Welinder  <terra@gnome.org>
2043         * xlsx-read.c (xlsx_cond_fmt_formula_end): Plug leak.
2045 2012-10-17  Morten Welinder  <terra@gnome.org>
2047         * xlsx-write.c (count_default_rows): Delete.
2048         (xlsx_write_cells): Simplify and speed up using
2049         sheet_style_get_nondefault_rows.
2051 2012-10-06  Morten Welinder  <terra@gnome.org>
2053         * xlsx-write.c (xlsx_write_cells): Get all cells in the order we
2054         need them instead of doing a million lookups.  Don't write styles
2055         that match the column default -- especially not for cells with
2056         style only.
2057         (xlsx_write_cols): Write column default styles.
2059 2012-09-06  Morten Welinder <terra@gnome.org>
2061         * Release 1.11.6
2063 2012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2065         * xlsx-read-pivot.c (xlsx_CT_pivotCacheDefinition): also look for
2066         refreshedDateIso
2068 2012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2070         * plugin.xml.in: refer to ISO/IEC 29500:2008 and emphasize the
2071         Standards compliance
2073 2012-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2075         * xlsx-read.c (xlsx_webpub_begin): new
2076         (xlsx_workbook_dtd): new
2078 2012-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2080         * xlsx-read.c (xlsx_border_begin_v2): new
2081         (xlsx_file_open): use version info to set the saver
2083 2012-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2085         * boot.c (excel_read_metadata), (excel_save): replace deprecated functions
2086         calls.
2088 2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2090         * ms-excel-read.c (excel_read_AUTOFILTER): adjust call to
2091         gnm_filter_condition_new_bucket
2092         * xlsx-read.c (xlsx_CT_Top10): adjust call to
2093         gnm_filter_condition_new_bucket
2095 2012-08-01  Jean Brefort  <jean.brefort@normalesup.org>
2097         * excel-xml-read.c (parse_color): Rename style_color_new_i8.
2098         * ms-excel-read.c (excel_palette_get), (excel_read_WINDOW2): ditto.
2100 2012-07-18  Morten Welinder  <terra@gnome.org>
2102         * ms-excel-read.c (excel_read_LABEL): Fix crash [#679992].
2103         (excel_read_XF_OLD): Fix length check.
2104         (excel_read_FORMAT): Fix length check for pre-v7 records.
2105         (excel_read_FONT): Guess codepage for <=v4 records.
2107 2012-07-15  Morten Welinder <terra@gnome.org>
2109         * Release 1.11.5
2111 2012-06-25  Morten Welinder <terra@gnome.org>
2113         * Release 1.11.4
2115 2012-04-21  Morten Welinder <terra@gnome.org>
2117         * Release 1.11.3
2119 2012-03-27  Morten Welinder  <terra@gnome.org>
2121         * ms-excel-write.c (excel_write_selections): Evidently we should
2122         not restrict the cursor position to the pane.  Fixes #671513 [2].
2124         * ms-excel-read.c (excel_read_SELECTION): Read in sane order.
2126         * ms-excel-write.c (excel_write_SELECTION): Write in reverse
2127         order.
2129 2012-03-12  Morten Welinder  <terra@gnome.org>
2131         * ms-formula-write.c (write_node): Handle sets.
2133         * ms-excel-write.c (excel_write_chart_v8): Regularlize code and
2134         output object name too.
2136         * ms-chart.c (chart_write_LEGEND): Include the style when writing
2137         text.
2139 2012-03-11  Morten Welinder  <terra@gnome.org>
2141         * ms-excel-write.c (excel_write_SETUP): Export paper size.
2143         * ms-excel-util.c (xls_paper_name): Extract from ms-excel-read.c
2144         (xls_paper_size): New pseudo-inverse of above.
2146         * ms-excel-write.c (excel_write_obj_v8): Handle graphs here too.
2147         (excel_sheet_new): Put graphs into the regular object queue too.
2149 2012-03-10  Morten Welinder  <terra@gnome.org>
2151         * ms-excel-write.c (excel_write_DEFAULT_ROW_HEIGHT)
2152         (excel_write_ROWINFO): Add 1e-6 to toughen against rounding
2153         errors.
2155         * ms-excel-read.c (excel_read_COLINFO): Drop work-around for buggy
2156         pre-Gnumeric 1.7.5 export.  This fixes hard-size-set detection for
2157         11_1040.xls
2159         * ms-excel-write.c (excel_write_objs_v8): Unify writing of objects
2160         to help fix stacking issues.
2161         (excel_sheet_new): Eliminate special lists for lines and
2162         textboxes.
2163         (cb_write_condition): Make export of conditional italic match
2164         import.
2166 2012-03-09  Morten Welinder  <terra@gnome.org>
2168         * xlsx-write.c (xlsx_write_sheet): Use new
2169         sheet_style_most_common.
2171         * ms-excel-write.c (excel_sheet_extent): Use new
2172         sheet_style_get_nondefault_extent.
2173         (gather_styles): Gather styles for all columns.
2174         (excel_write_colinfos): Ensure a column style for all columns.
2175         (excel_sheet_write_block): Drop only styles that differ from the
2176         column default.  Visibility is irrelevant.
2177         (excel_sheet_new): Use new sheet_style_most_common.
2179 2012-03-08  Morten Welinder  <terra@gnome.org>
2181         * ms-formula-write.c (excel_write_formula): Base length
2182         calculation on position, not length.  That matters if we have
2183         seeked.
2185         * ms-excel-write.c (excel_write_image_v8): Reimplement based on
2186         excel_write_textbox_or_widget_v8.
2187         (excel_write_textbox_or_widget_v8): Don't write text style
2188         properties unless we have a text.
2189         (excel_write_vector_blip, excel_write_raster_blip): Constify.
2191         * ms-excel-read.c (excel_fill_bmp_header): Fix incorrect use of
2192         sizeof.
2194 2012-03-07  Morten Welinder  <terra@gnome.org>
2196         * ms-obj.c (ms_obj_read_pre_biff8_obj): Use symbolic object type
2197         names, not magic constants.
2199         * ms-excel-read.c (ms_sheet_parse_expr_internal): Fix crash when
2200         debugging was turned on.
2202         * ms-excel-write.c (cb_write_condition): Actually save the font
2203         flags.  Part of #671531.
2204         (excel_write_ClientTextbox): Fix confusion between byte offsets
2205         and character offsets.
2206         (excel_write_RSTRING): Ditto.  Part of #671531.
2207         (cb_write_condition): Fix pattern export.  Part of #671531.
2209 2012-03-06  Morten Welinder  <terra@gnome.org>
2211         * ms-excel-write.c (cb_write_condition): Handle lack of style
2212         conditions.
2213         (excel_write_prep_conditions): Ditto.
2214         (put_colors): Ditto.  Fixes crash of #671267.
2215         (write_sheet_head): Export page breaks even if we have one of
2216         horizontal/vertical.  Part of #671531.
2218 2012-03-02  Morten Welinder <terra@gnome.org>
2220         * Release 1.11.2
2222 2012-01-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2224         * xlsx-read.c (attr_bool): accept "true"
2225         (xlsx_run_style): If val is missing it defaults to TRUE
2226         (xlsx_run_color): fix the range of values for the pango color
2227         attribute
2228         (xlsx_comment_text): rename to xlsx_r_text
2229         (cb_trunc_attributes): new
2230         (xlsx_comment_rich_text): rename to xlsx_rich_text and make sure
2231         the attributes do not spill into the next run
2232         (xlsx_sstitem_start): new
2233         (xlsx_sstitem_end): use state->r_text
2234         (xlsx_shared_strings_dtd): connect rich text items
2236 2012-01-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2238         * xlsx-read.c (xlsx_cell_inline_text_end): new
2239         (xlsx_sheet_dtd): connect the above
2241 2011-12-27  Jean Brefort  <jean.brefort@normalesup.org>
2243         * xlsx-read-drawing.c (xlsx_chart_text_start),
2244         (xlsx_draw_text_run_props): always set a font size.
2246 2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2248         * xlsx-read-docprops.c (xlsx_read_core_keys): use G_VALUE_INIT
2249         * xlsx-read.c: add dead-kittens.h
2251 2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2253         * excel-xml-read.c (xl_xml_selection): adjust call to
2254         sv_selection_add_full
2255         * ms-excel-read.c (excel_read_SELECTION): adjust calls to
2256         sv_selection_add_full and sv_selection_add_pos
2258 2011-11-27  Morten Welinder <terra@gnome.org>
2260         * Release 1.11.1
2262 2011-11-24  Morten Welinder <terra@gnome.org>
2264         * Release 1.11.0
2266 2011-11-21  Morten Welinder  <terra@gnome.org>
2268         * xlsx-read.c (start_update_progress): Handle NULL xin.
2269         (xlsx_file_open): Use right input stream for progress update.
2270         Fixes an FMR.
2272 2011-11-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2274         * ms-excel-read.c (excel_read_SETUP): rename
2275         PRINT_ERROR and PRINT_COMMENTS constants
2276         * ms-excel-write.c (excel_write_SETUP): ditto
2278 2011-10-29  Jean Brefort  <jean.brefort@normalesup.org>
2280         * xlsx-read-drawing.c (xlsx_blip_start): don't set an invalid
2281         image type.
2283 2011-10-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2285         * ms-excel-read.c (ms_wb_get_font_markup): use
2286         subscript/superscript attributes
2287         * ms-excel-write.c (excel_font_overlay_pango): export
2288         subscript/superscript attributes (and fix PANGO_ATTR_RISE
2289         handling)
2291 2011-10-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2293         * xlsx-write.c (xlsx_write_sheet): don't miss cell content that
2294         yields empty cells
2296 2011-10-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2298         * ms-excel-read.c (excel_choose_border): new
2299         (excel_set_xf): check for border consistency
2301 2011-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2303         * ms-excel-read.c (gnm_xl_get_codepage): use guint
2305 2011-08-29  Jean Brefort  <jean.brefort@normalesup.org>
2307         * xlsx-read-drawing.c (xlsx_ser_labels_show_val),
2308         (xlsx_ser_labels_show_cat), (xlsx_ser_labels_start),
2309         (xlsx_data_label_show_val), (xlsx_data_label_show_cat),
2310         (xlsx_data_label_start): set a default separator.
2312 2011-08-28  Jean Brefort  <jean.brefort@normalesup.org>
2314         * ms-chart.c (end), (xl_chart_import_error_bar),
2315         (ms_excel_chart_read), (store_dim), (chart_write_series): moved
2316         two helpers to goffice.
2317         * xlsx-read-drawing.c (xlsx_tx_pr), (xlsx_draw_text_run_props),
2318         (xlsx_ser_labels_show_val), (xlsx_ser_labels_show_cat),
2319         (xlsx_ser_labels_pos), (xlsx_ser_labels_start),
2320         (xlsx_ser_labels_end), (xlsx_data_label_pos),
2321         (xlsx_data_label_index), (xlsx_data_label_show_val),
2322         (xlsx_data_label_show_cat), (xlsx_data_label_start),
2323         (xlsx_chart_ser_f), (xlsx_chart_solid_fill),
2324         (xlsx_draw_color_themed): fix various data labels import issues.
2326 2011-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2328         * xlsx-read-drawing.c (xlsx_ser_data_show_val),
2329         (xlsx_ser_data_show_cat), (xlsx_ser_data_pos),
2330         (xlsx_ser_data_start), (xlsx_chart_ser_f): import data labels,
2331         (xlsx_chart_solid_fill): fix fill color.
2333 2011-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2335         * xlsx-read-drawing.c (xlsx_chart_ser_f): fix import of series names.
2337 2011-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2339         * ms-excel-write.c (cb_cell_pre_pass): avoid synthesizing the same style several
2340         times
2342 2011-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2344         * ms-excel-write.c (cb_cell_pre_pass): synthesize wrap-text style if necessary
2345         (build_xf_data): we need to write wrap-text in variant 4
2347 2011-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2349         * xlsx-read-docprops.c (xlsx_read_docprops_*): handle progress reports
2350         * xlsx-read.c (maybe_update_progress): new
2351         (start_update_progress): new
2352         (end_update_progress): new
2353         (xlsx_CT_Row): handle progress reports
2354         (xlsx_CT_RowsCols_end): handle progress reports
2355         (xlsx_sheet_begin): handle progress reports
2356         (xlsx_comment_end): ditto
2357         (xlsx_wb_end): ditto
2358         (xlsx_file_open): ditto
2360 2011-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2362         * xlsx-read-drawing.c (xlsx_scatter_style): also read incorrect "markers"
2363         * xlsx-write-drawing.c (xlsx_write_chart): write "marker" rather than "markers"
2365 2011-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2367         * plugins/excel/boot.c (excel_enc_file_open): new
2368         (excel_file_open): use excel_enc_file_open
2369         * plugins/excel/excel.h (excel_read_workbook): add argument
2370         * plugins/excel/ms-excel-read.c (excel_read_FONT): for charset 0 consider
2371         encoding override
2372         (gnm_xl_get_codepage): new
2373         (gnm_xl_importer_new): add argument, change caller and convert codepage override
2374         (excel_read_workbook): add argument and change all callers
2375         * plugins/excel/ms-excel-read.h (_GnmXLImporter): add field
2376         * plugins/excel/plugin.xml.in: add new encoding dependent file opener
2378 2011-08-12  Valek Filippov <frob@gnome.org>
2380         * plugins/excel/ms-excel-read.c (excel_read_FONT): convert charset to codepage
2381         and store in ExcelFont
2382         (excel_get_chars): set str_iconv based on codepage and change all callers
2383         (plugins/excel/ms-excel-read.h): change charset to codepage in ExcelFont
2385 2011-08-11  Valek Filippov <frob@gnome.org>
2387         * plugins/excel/ms-excel-read.c (excel_read_FONT): store charset in ExcelFont
2388         (excel_read_LABEL): pass charset to excel_get_text_fixme
2389         (excel_get_text_fixme): pass charset to excel_get_text
2390         (excel_get_chars): set str_iconv based on charset and change all callers
2391         (plugins/excel/ms-excel-read.h): add charset to ExcelFont
2393 2011-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2395         * plugins/excel/plugin.xml.in: use TM symbol
2397 2011-07-31  Morten Welinder <terra@gnome.org>
2399         * Release 1.10.17
2401 2011-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2403         * excel-xml-read.c: Use G_GNUC_UNUSED
2404         (excel_xml_dtd): add PageMargins
2405         (xl_xml_data_end): parse numbers carefully
2406         (excel_xml_file_open): switch to C locale
2408 2011-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2410         * xlsx-read.c (xlsx_wb_name_end): check for "_xlnm." prefix
2411         * xlsx-write.c (xlsx_write_named_expression): also write permanent
2412         expressions
2414 2011-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2416         * xlsx-write.c (xlsx_write_named_expression): new
2417         (xlsx_write_definedNames): new
2418         (xlsx_write_workbook): call xlsx_write_definedNames
2420 2011-07-03  Jean Brefort  <jean.brefort@normalesup.org>
2422         * xlsx-read-drawing.c (xlsx_chart_text_start), (xlsx_chart_text),
2423         (xlsx_read_chart): fixed loading xlsx files with empty chart titles.
2425 2011-07-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2427         * xlsx-write-docprops.c (xlsx_map_prop_name_to_output_fun):
2428         use GSF_META_NAME_MM_CLIP_COUNT
2429         * xlsx-read-docprops.c: use GSF_META_NAME_MM_CLIP_COUNT
2431 2011-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2433         * xlsx-write-docprops.c (xlsx_read_core_keys): implement
2435 2011-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2437         * xlsx-write-docprops.c (xlsx_map_to_keys): new
2438         (xlsx_map_prop_name_to_output_fun): connect xlsx_map_to_keys
2439         (xlsx_meta_write_props): depend on xlsx_map_prop_name_to_output_fun
2440         even for keywords
2442 2011-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2444         * xlsx-utils.h (XL_NS_PROP_CUSTOM): new
2445         * xlsx-read.c (XLSXReadState): new field meta_prop_name
2446         (XL_NS_PROP_CUSTOM): new namespace
2447         * xlsx-read-docprops.c (xlsx_read_property_begin): new
2448         (xlsx_read_property_end): new
2449         (xlsx_read_custom_property_type): new
2450         (xlsx_read_custom_property): new
2451         (xlsx_read_property_date): new
2452         (xlsx_docprops_custom_dtd): new
2453         (xlsx_docprops_extended_dtd): add elements
2454         (xlsx_read_docprops_custom): new
2455         (xlsx_read_docprops): call xlsx_read_docprops_custom
2457 2011-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2459         * xlsx-write.c: new includes (for xlsx-write-docprops.c)
2460         * xlsx-write-docprops.c (xlsx_map_time_to_int): new
2461         (xlsx_map_to_int): new
2462         (xlsx_map_to_bool): new
2463         (xlsx_map_to_date_core): new
2464         (xlsx_map_prop_name_to_output_fun): new
2465         (xlsx_meta_write_props_extended): use xlsx_map_prop_name_to_output_fun
2466         (xlsx_map_prop_type): replaced by xlsx_map_prop_name_to_output_fun
2467         (xlsx_meta_write_props): use xlsx_map_prop_name_to_output_fun
2468         (xlsx_map_to_pid): new
2469         (xlsx_meta_write_props_custom): new
2470         (xlsx_write_docprops_custom): call xlsx_meta_write_props_custom
2472 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2474         * xlsx-write-docprops.c (xlsx_write_docprops_custom):
2475         enable
2476         * xlsx-write.c (ns_docprops_custom): new
2477         (xlsx_write_fills): Kspread needs the formats implied by
2478         Excel
2480 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2482         * xlsx-write-docprops.c (xlsx_write_docprops_app): The
2483         AppVersion format should really be d.dddd.
2485 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2487         * xlsx-read-docprops.c (xlsx_read_core_prop_type): renamed
2488         to xlsx_read_prop_type
2489         (xlsx_read_core_prop): renamed to xlsx_read_prop
2490         (xlsx_read_core_prop_dt): renamed to xlsx_read_prop_dt
2491         (xlsx_read_prop_int): new
2492         (xlsx_read_prop_boolean): new
2493         (xlsx_docprops_extended_dtd): new
2494         (xlsx_read_docprops_extended): implement
2495         * xlsx-read.c (xlsx_ns): add name spaces
2496         * xlsx-utils.h (XL_NS_PROP): new
2497         (XL_NS_PROP_VT): new
2498         * xlsx-write-docprops.c (xlsx_write_docprops_app): The
2499         AppVersion format is prescribed to d.dddd.
2501 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2503         * xlsx-write.c (ns_docprops_extended_vt): new
2504         * xlsx-write-docprops.c (xlsx_map_prop_name_extended): new
2505         (xlsx_meta_write_props_extended): new
2506         (xlsx_write_docprops_app): write more properties
2507         (xlsx_write_docprops_core): no need to remove the generator
2508         meta data, we only write selected props anyways.
2510 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2512         * xlsx-write.c (xlsx_write_predefined_fills): new
2513         (xlsx_write_fills): use the above
2514         (xlsx_find_predefined_fill): new
2515         (xlsx_find_fill): use xlsx_find_predefined_fill
2517 2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2519         * xlsx-read-docprops.c (new)
2520         * Makefile.am: add xlsx-read-docprops.c
2521         * xlsx-utils.h: add XL_NS_PROP_*
2522         * xlsx-write.c (xlsx_write_fills): start with some fills
2523         expected by Excel
2524         (xlsx_write_style): apparently Excel writes apply*
2525         attributes always. So do we now.
2526         * xlsx-read.c: add some includes, including
2527         xlsx-read-docprops.c
2528         (xlsx_ns): som emore namespaces
2529         (xlsx_file_open): call xlsx_read_docprops from
2530         xlsx-read-docprops.c
2532 2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2534         * xlsx-write.c (xlsx_write_style): usually write an xfId,
2535         write apply* attributes only if they are false (nobody
2536         seems to write true ones)
2537         (xlsx_write_cellStyleXfs): write a named style record to refer
2538         to
2539         (xlsx_write_cellXfs): adust call to xlsx_write_style
2540         (xlsx_get_style_id): new, extracted from xlsx_write_cells
2541         (xlsx_write_cells): use xlsx_get_style_id
2542         (xlsx_write_workbook): make sure we write the default style
2543         first
2545 2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2547         * xlsx-write.c: add include
2548         * xlsx-write-docprops.c (xlsx_map_prop_type): add more items
2549         (xlsx_meta_write_props): also write keywords
2551 2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2553         * xlsx-write.c (xlsx_write_shared_strings): xml:space is
2554         not allowed
2555         (xlsx_write_styles): ditto
2556         (xlsx_write_workbook): ditto
2557         * xlsx-write-docprops.c (xlsx_write_docprops_app): ditto
2558         (xlsx_write_docprops_core): ditto
2560 2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2562         * xlsx-write.c (xlsx_write_fonts): check the font names
2563         just in case
2564         (xlsx_write_rich_text): we definitely need to check the text
2566 2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2568         * xlsx-write.c (xlsx_write_num_formats): the format strings
2569         need to be properly encoded for xlm
2571 2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2573         * xlsx-write.c (xlsx_write_borders): fix element order
2575 2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2577         * xlsx-write.c (ns_docprops_core_cp): new
2578         (ns_docprops_core_dc): new
2579         (ns_docprops_core_dcmitype): new
2580         (ns_docprops_core_dcterms): new
2581         (ns_docprops_core_xsi): new
2582         * xlsx-write-docprops.c (xlsx_map_prop_type): new
2583         (xlsx_map_prop_name): new
2584         (xlsx_meta_write_props): new
2585         (xlsx_write_docprops_core): imlement
2587 2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2589         * Makefile.am: add xlsx-write-docprops.c
2590         * xlsx-write.c (ns_docprops_extended): new
2591         (xlsx_write_workbook): call xlsx_write_docprops
2592         * xlsx-write-docprops.c: new
2594 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2596         * xlsx-read-drawing.c (xlsx_drawing_dtd): add srcRect
2598 2011-06-16  Morten Welinder <terra@gnome.org>
2600         * Release 1.10.16
2602 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2604         * xlsx-write.c (xlsx_write_border): use the appripriate
2605         element name based on ECMA-376 edition
2606         (xlsx_write_workbook): in edition 2 "codePage" was replaced by
2607         "characterSet"
2608         (xlsx2_file_save): new
2609         * plugin.xml.in: add file saver for ECMA-376 2nd edition
2610         * xlsx-write-pivot.c (xlsx_write_pivot_cache_definition):
2611         2nd edition replaced "refreshedDate" attribute with
2612         "refreshedDateIso"
2614 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2616         * xlsx-write.c (xlsx_write__rich_text): handle NULL attribute
2617         list
2619 2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2621         * xlsx-write.c (xlsx_write_border): write diagonal border element
2622         (xlsx_write_borders): support diagonal elements
2623         * xlsx-read.c (xlsx_col_border_begin): new
2624         (xlsx_border_end): fix reference counting
2625         (xlsx_border_diagonal_end): new
2627 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2629         * xlsx-write.c (xlsx_write_border): use edition 1 elements
2630         (xlsx_write_cells): also write styles for empty cells
2632 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2634         * xlsx-write.c (xlsx_find_border): new
2635         (xlsx_write_border): new
2636         (xlsx_write_borders): implement
2637         (xlsx_write_style): handle borders
2638         (xlsx_write_cellXfs): add argument, change all callers
2639         (xlsx_write_styles): call xlsx_write_borders
2640         * xlsx-read.c: for borders "left" and "right" are really called
2641         "start" and "end"
2643 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2645         * xlsx-write.c (xlsx_find_font): new
2646         (xlsx_write_fonts): implement
2647         (xlsx_find_fill): check for straight equality
2648         (xlsx_write_style): handle font-info
2649         (xlsx_write_cellXfs): add argument, change all callers
2650         (xlsx_write_styles): call xlsx_write_fonts
2652 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2654         * xlsx-write.c (xlsx_load_buildin_num_formats): new
2655         (xlsx_write_num_formats): new
2656         (xlsx_write_style): connect to the number formats
2657         (xlsx_write_cellXfs): add argument, change all callers
2658         (xlsx_write_styles): call xlsx_write_num_formats
2660 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2662         * xlsx-write.c (xlsx_write_color_element): new
2663         (xlsx_find_fill): new
2664         (xlsx_write_fills): implement
2665         (xlsx_write_style): use written fills
2666         (xlsx_write_cellXfs): ditto
2667         (xlsx_write_styles): connect xlsx_write_fills with xlsx_write_cellXfs
2668         (xlsx_write_cells): GPOINTER_TO_INT(0) yields NULL, so shift when
2669         storing 0-based indices
2671 2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2673         * xlsx-write.c (xlsx_write_style_want_alignment): new
2674         (xlsx_write_style_write_alignment): new
2675         (xlsx_write_style): new
2676         (xlsx_write_cellXfs): new
2677         (xlsx_write_styles): connect xlsx_write_cellXfs
2678         (xlsx_write_cells): llink to styles
2679         (xlsx_write_workbook): initialize and finalize style lists
2681 2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2683         * xlsx-utils.h (xlsx_get_gradient_direction): new
2684         * xlsx-utils.c (xlsx_get_gradient_direction): new
2685         * xlsx-read-drawing.c (xlsx_chart_grad_linear): use
2686         xlsx_get_gradient_direction
2688 2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2690         * xlsx-read.c (xlsx_cell_begin): don't overwrite an existing row style
2691         (xlsx_CT_Row): the row style should only be used if customFormat == 1
2692         (xlsx_CT_GradientFill): consider this a solid colour fill until we
2693         really import the gradients
2695 2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2697         * xlsx-read.c (elem_color): add allow_alpha argument, change all
2698         callers and set alpha to 0xFF if it is not allowed
2699         (xlsx_pattern_fg_bg): if we are reading a colour for a solid fill, ignore
2700         alpha. LibreOffice 3.3.2 sets the alpha to 0 and Excel seems to ignore it
2701         (xlsx_font_color): ditto
2703 2011-05-22  Morten Welinder  <terra@gnome.org>
2705         * ms-excel-write.c (excel_write_autofilter_names): Use proper
2706         ctor/dtor methods for GnmNamedExpr.
2707         (excel_write_autofilter_names): Use new
2708         expr_name_set_is_placeholder.
2710 2011-05-21  Morten Welinder <terra@gnome.org>
2712         * Release 1.10.15
2714 2011-05-20  Morten Welinder  <terra@gnome.org>
2716         * xlsx-write.c (xlsx_write_rich_text): Clamp "start" too.
2718 2011-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2720         * ms-chart.c (chart_write_LEGEND): use
2721         GNM_*_KILL_SWITCH_WARNING
2723 2011-05-04  Jean Brefort  <jean.brefort@normalesup.org>
2725         * xlsx-read-drawing.c (xlsx_chart_pop_obj): don't set a style to a
2726         NULL object,
2727         (xlsx_axis_mark): pass a true boolean to make gobject happy,
2728         (xlsx_axis_end): don't exchange radar plots axes,
2729         (xlsx_chart_legend_pos): add new enum values not in spec, but occuring,
2730         (xlsx_chart_solid_fill): set line color to line, not fill.
2732 2011-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2734         * ms-chart.c (chart_write_LEGEND): disable -Wswitch for this function
2736 2011-05-03  Jean Brefort  <jean.brefort@normalesup.org>
2738         * xlsx-read-drawing.c (xlsx_style_line_start): don't crash on NULL
2739         style,
2740         (cb_axis_set_position): fix axis crossing position.
2741         * xlsx-write-drawing.c (xlsx_write_chart): partially fix circular
2742         axis position.
2744 2011-04-08  Jean Brefort  <jean.brefort@normalesup.org>
2746         * xlsx-read-drawing.c: import some legacy drwawings.
2747         * xlsx-read.c: ditto.
2749 2011-04-04  Morten Welinder  <terra@gnome.org>
2751         * ms-obj.c (ms_obj_read_pre_biff8_obj): Improve record length
2752         check.
2754 2011-03-24  Morten Welinder <terra@gnome.org>
2756         * Release 1.10.14
2758 2011-03-23  Morten Welinder  <terra@gnome.org>
2760         * xlsx-read-drawing.c (xlsx_axis_crosses): Avoid using
2761         uninitialized values if an attribute is missing.
2763 2011-03-22  Jean Brefort  <jean.brefort@normalesup.org>
2765         * xlsx-read-drawing.c (xlsx_chart_push_obj), (xlsx_chart_pop_obj),
2766         (xlsx_chart_text_start), (xlsx_chart_text), (xlsx_body_pr),
2767         (xlsx_axis_mark), (xslx_chart_tick_label_pos),
2768         (xlsx_chart_marker_end), (xlsx_chart_start_dummy),
2769         (xlsx_read_chart): import axis ticks format.
2770         * xlsx-read.c: add a GOStyle stack.
2772 2011-03-21  Jean Brefort  <jean.brefort@normalesup.org>
2774         * xlsx-read-drawing.c (xlsx_draw_text_run_props),
2775         (xlsx_sheet_drawing), (xlsx_sheet_legacy_drawing): add a dtd for lecacy
2776         drawing.
2777         * xlsx-read.c: ditto.
2778         * xlsx-utils.h: ditto.
2780 2011-03-20  Jean Brefort  <jean.brefort@normalesup.org>
2782         * xlsx-read-drawing.c (xlsx_chart_push_obj), (xlsx_chart_pop_obj),
2783         (xlsx_chart_text_start), (xlsx_chart_text), (xlsx_chart_p_start),
2784         (xlsx_chart_text_content), (xlsx_draw_text_run_props),
2785         (xlsx_rel_size_anchor_start), (xlsx_rel_size_anchor),
2786         (xlsx_user_shape_pos), (xlsx_user_shape), (xlsx_user_shape_end),
2787         (xlsx_axis_crosses), (xlsx_chart_style_end),
2788         (xlsx_draw_color_themed), (xlsx_chart_marker_end),
2789         (xlsx_chart_layout_manual), (cb_axis_set_position),
2790         (xlsx_read_chart): import labels and positions.
2792 2011-03-19  Jean Brefort  <jean.brefort@normalesup.org>
2794         * xlsx-read-drawing.c (xlsx_chart_user_shapes): add missing dtd entries,
2795         (xlsx_chart_legend), (xlsx_chart_legend_pos), (xlsx_plot_area),
2796         (xlsx_chart_layout_manual), (xlsx_chart_layout_target),
2797         (xlsx_chart_layout_dim), (xlsx_chart_layout_mode): work on positions.
2798         * xlsx-read.c: ditto.
2800 2011-03-18  Jean Brefort  <jean.brefort@normalesup.org>
2802         * xlsx-read-drawing.c (xlsx_chart_user_shapes),
2803         (xlsx_chart_text_start), (xlsx_chart_text): add chartDrawing namespace.
2804         * xlsx-read.c: ditto.
2805         * xlsx-utils.h: ditto.
2807 2011-03-18  Jean Brefort  <jean.brefort@normalesup.org>
2809         * xlsx-read-drawing.c (xlsx_chart_text_start), (xlsx_chart_text): import
2810         text in sheet filled objects.
2811         * xlsx-write-drawing.c (xlsx_write_series_dim): don't export strings as
2812         values.
2814 2011-03-15  Jean Brefort  <jean.brefort@normalesup.org>
2816         * xlsx-read-drawing.c (xlsx_draw_color_end): fixed some auto style issues.
2817         * xlsx-write-drawing.c (xlsx_write_plot_1_5_type),
2818         (xlsx_write_series_dim), (xlsx_write_go_style), (xlsx_write_chart): ditto.
2820 2011-03-14  Jean Brefort  <jean.brefort@normalesup.org>
2822         * xlsx-write-drawing.c (xlsx_write_chart): export radial plot axes,
2823         anf fix overlap in barcol plots.
2825 2011-03-13  Morten Welinder  <terra@gnome.org>
2827         * xlsx-utils.c (xlsx_lookup_external_wb): It looks like [0] is
2828         used to refer to the "self" workbook.
2830 2011-03-12  Jean Brefort  <jean.brefort@normalesup.org>
2832         * Makefile.am: add new xlsx drawing/chart files.
2833         * xlsx-read-drawing.c: new file, better import of styles.
2834         * xlsx-read.c: moved drawing/chart code to xlsx-read-drawing.c.
2835         * xlsx-write-drawing.c: new file with enhanced chart export.
2836         * xlsx-write.c: moved drawing/chart code to xlsx-write-drawing.c.
2838 2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>
2840         * xlsx-read.c (xlsx_chart_ser_f), (xlsx_chart_text_start),
2841         (xlsx_chart_text): accept formulas in labels.
2842         * xlsx-write.c (xlsx_write_series_dim), (xlsx_write_rgbarea),
2843         (xlsx_write_go_style), (xlsx_write_chart): export chart background.
2845 2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>
2847         * xlsx-read.c (xlsx_chart_xy), (xlsx_scatter_style): import the scatter
2848         plot default series style.
2850 2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>
2852         * xlsx-read.c (xlsx_plot_axis_id), (xlsx_axis_crosses_at),
2853         (cb_axis_set_position): import axis crossing position. [#642941]
2855 2011-03-04  Morten Welinder  <terra@gnome.org>
2857         * xlsx-read.c (xlsx_sheet_begin): Use attr_enum.
2858         (xlsx_wb_name_begin, xlsx_wb_name_end): Collect names and define
2859         as stubs.
2860         (handle_delayed_names): Define all collected names properly.
2862 2011-03-04  Jean Brefort  <jean.brefort@normalesup.org>
2864         * xlsx-read.c (xlsx_axis_end), (xlsx_chart_p_start),
2865         (xlsx_chart_text_content): import multiple runs chart titles. [#643814]
2867 2011-03-03  Morten Welinder  <terra@gnome.org>
2869         * xlsx-read.c (xlsx_chart_text): Avoid criticals in the absense of
2870         chart text.
2871         (xlsx_sheet_begin): Import sheet state.  Fixes #643815.
2873 2011-02-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2875         * xlsx-write.c (xlsx_axis_crosses_at): new
2876         (xlsx_chart_dtd): connect xlsx_axis_crosses_at
2878 2011-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2880         * xlsx-write.c (xlsx_write_comments): skip NULL author
2881         (see glib bug #642944)
2883 2011-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2885         * xlsx-read.c (xlsx_chart_dtd): add c:crossesAt
2886         (xlsx_cell_expr_begin): don't ignore shared expressions with
2887         duplicate id
2889 2011-02-02  Morten Welinder <terra@gnome.org>
2891         * Release 1.10.13
2893 2011-01-06  Morten Welinder  <terra@gnome.org>
2895         * xls-read-pivot.c (xls_read_SXVIEW): The record contains a cache
2896         index, not a cache id.
2897         (xls_read_SXVI): Fix debug print.
2899 2010-12-26  Jean Brefort  <jean.brefort@normalesup.org>
2901         * ms-chart.c (areaformat), (chart_write_LINEFORMAT): enhance color support.
2902         [#637658]
2904 2010-12-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2906         * ms-excel-read.c (excel_read_FONT): try to make cppcheck happy
2908 2010-12-17  Jean Brefort  <jean.brefort@normalesup.org>
2910         * ms-excel-read.c (ms_sheet_realize_obj): make object invisible outline
2911         persistent. [#637393]
2912         * ms-excel-write.c (excel_write_textbox_or_widget_v8):
2914 2010-11-25  Morten Welinder <terra@gnome.org>
2916         * Release 1.10.12
2918 2010-10-13  Morten Welinder  <terra@gnome.org>
2920         * ms-excel-read.c (excel_read_SELECTION): Work around missing
2921         selection.  Fixes #632050.
2922         (excel_parse_name): Treat global Print_Area a tad better.
2924 2010-10-03  Jean Brefort  <jean.brefort@normalesup.org>
2926         * xlsx-write.c (xlsx_write_rich_text): really assign the buffer before
2927         using it.
2929 2010-10-01  Morten Welinder <terra@gnome.org>
2931         * Release 1.10.11
2933 2010-10-01  Jean Brefort  <jean.brefort@normalesup.org>
2934         * xlsx-read.c (elem_color), (xlsx_run_weight), (xlsx_run_style),
2935         (xlsx_run_family), (xlsx_run_size), (xlsx_run_strikethrough),
2936         (xlsx_run_underline), (xlsx_run_color), (xlsx_comments_start),
2937         (xlsx_comments_end), (xlsx_comment_author_end),
2938         (xlsx_comment_start), (xlsx_comment_end), (xlsx_comment_text),
2939         (xlsx_comment_rich_text), (xlsx_wb_end), (xlsx_file_open): read cell
2940         comments. [#630627]
2941         * xlsx-write.c (xlsx_write_rich_text), (write_comment_author),
2942         (xlsx_write_comments), (xlsx_write_sheet), (xlsx_file_save): write cell
2943         comments.
2945 2010-09-15  Jean Brefort  <jean.brefort@normalesup.org>
2947         * ms-chart.c (tick), (chart_write_axis): export/import tick label rotation
2948         angle. [#629675]
2950 2010-09-04  Morten Welinder <terra@gnome.org>
2952         * Release 1.10.10
2954 2010-08-16  Morten Welinder <terra@gnome.org>
2956         * Release 1.10.9
2958 2010-07-30  Morten Welinder <terra@gnome.org>
2960         * Release 1.10.8
2962 2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2964         * excel-xml-read.c (xl_xml_font): add UNDERLINE_*_LOW
2965         * ms-excel-read.c (xls_uline_to_gnm_underline): new
2966         (excel_get_style_from_xf): use xls_uline_to_gnm_underline
2967         (ms_wb_get_font_markup): use gnm_translate_underline_to_pango
2968         (excel_read_CF): use xls_uline_to_gnm_underline
2969         * ms-excel-write.c (map_underline_to_xl) rename
2970           to map_style_underline_to_xl and use new map_underline_to_xl,
2971           change all callers
2972         (map_underline_to_xl): new
2973         (excel_font_to_string): add UNDERLINE_*_LOW
2974         (excel_font_overlay_pango): use gnm_translate_underline_from_pango
2975         (excel_font_from_go_font): fix typo
2976         (excel_write_FONT): use map_underline_to_xl
2977         * xlsx-read.c (xlsx_font_uline): add UNDERLINE_*_LOW
2978         (xlsx_font_valign): fix typo
2980 2010-07-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2982         * ms-excel-read.h (ExcelFont): change underline field from PangoUnderline
2983           to MsBiffFontUnderline
2984         * ms-excel-read.c (excel_read_FONT): underline field of ExcelFont is not
2985           a GnmUnderline but (now) a MsBiffFontUnderline
2986         (excel_get_style_from_xf): convert underline from MsBiffFontUnderline
2987           to GnmUnderline
2989 2010-07-26  Morten Welinder  <terra@gnome.org>
2991         * ms-excel-write.c (write_arrow): Fix argument type for "id".
2993 2010-07-13  Jean Brefort  <jean.brefort@normalesup.org>
2995         * ms-chart.c (chart_write_AREAFORMAT): fixed the auto flag. [see
2996         #624263]
2998 2010-07-10  Jean Brefort  <jean.brefort@normalesup.org>
3000         * ms-chart.c (end): do not crash when a chart has more than one
3001         plot. [#623960]
3003 2010-07-09  Morten Welinder  <terra@gnome.org>
3005         * ms-excel-write.c (excel_write_SETUP): Avoid right-shift bigger
3006         than type.
3008 2010-06-28  Morten Welinder <terra@gnome.org>
3010         * Release 1.10.7
3012 2010-06-23  Morten Welinder  <terra@gnome.org>
3014         * xlsx-read.c (xlsx_CT_RowsCols_end): New function.
3015         (xlsx_CT_Col): Delay applying the style so we can merge areas.
3016         Fixes #622365.
3018 2010-06-16  Morten Welinder <terra@gnome.org>
3020         * Release 1.10.6
3022 2010-05-30  Morten Welinder <terra@gnome.org>
3024         * Release 1.10.5
3026 2010-05-20  Morten Welinder <terra@gnome.org>
3028         * Release 1.10.4
3030 2010-05-07  Morten Welinder <terra@gnome.org>
3032         * Release 1.10.3
3034 2010-04-29  Morten Welinder  <terra@gnome.org>
3036         * ms-excel-write.c (excel_write_DOPER): Fix saving of integers.
3037         (excel_write_AUTOFILTERINFO): Fix swapped "and" and "or".
3039 2010-04-23  Morten Welinder  <terra@gnome.org>
3041         * ms-excel-read.c (supbook_get_sheet): Return "deleted sheet" for
3042         external references so we don't end up with sheet-local refs.
3043         (excel_read_SUPBOOK): Clean up using new docs.
3045 2010-04-21  Jean Brefort  <jean.brefort@normalesup.org>
3047         * ms-chart.c (ai), (objectlink), (end), (ms_excel_chart_read): import
3048         chart title when it is actually the series label. [#616262]
3050 2010-04-16  Morten Welinder <terra@gnome.org>
3052         * Release 1.10.2
3054 2010-04-15  Morten Welinder  <terra@gnome.org>
3056         * ms-excel-write.c (excel_write_textbox_or_widget_v8): Take
3057         bp->length into account too.
3059 2010-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3061         * xlsx-write.c (xlsx_write_workbook): write 1900/1904 date base
3062         info
3064 2010-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3066         * xlsx-read.c (xlsx_CT_WorkbookPr): new
3067         (xlsx_workbook_dtd); hook up xlsx_CT_WorkbookPr
3069 2010-03-31  Jean Brefort  <jean.brefort@normalesup.org>
3071         * ms-chart.c (chart_write_AREAFORMAT): export transparent patterns as
3072         no filling.
3074 2010-03-29  Morten Welinder  <terra@gnome.org>
3076         * ms-formula-write.c (write_funcall): Guess argument types for
3077         functions that the excel format doesn't know about.
3078         (guess_arg_types): New function.
3080         * ms-excel-write.c (excel_write_externsheets_v7,
3081         excel_write_externsheets_v8): Fix letter case for extername
3082         records.
3084 2010-03-08  Morten Welinder <terra@gnome.org>
3086         * Release 1.10.1
3088 2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3090         * xlsx-write.c (xlsx_write_cells): use value_get_as_gstring
3091           rather than value_get_as_string. [#610372]
3093 2010-02-13  Morten Welinder <terra@gnome.org>
3095         * Release 1.10.0
3097 2010-01-29  Jean Brefort  <jean.brefort@normalesup.org>
3099         * ms-excel-write.c (excel_write_textbox_or_widget_v8): export transparency
3100         for filled objects.
3102 2010-01-29  Jean Brefort  <jean.brefort@normalesup.org>
3104         * ms-excel-read.c (ms_sheet_realize_obj): really import transparent objects.
3106 2010-01-19  Morten Welinder <terra@gnome.org>
3108         * Release 1.9.18
3110 2009-12-29  Jody Goldberg <jody@gnome.org>
3112         * xls-read-pivot.c (xls_read_SXVI) : new stub.  Currently only notices
3113           when XL wants to hide things.
3114         (xls_read_SXVD) : used from here.
3116 2009-12-24  Jean Brefort  <jean.brefort@normalesup.org>
3118         * xlsx-read-pivot.c (xlsx_CT_Number),
3119         (xlsx_CT_pivotCacheDefinition): fixed double/gnm_float issues.
3120         * xlsx-read.c (xlsx_axis_bound), (elem_color), (xlsx_CT_Row),
3121         (xlsx_CT_Col), (xlsx_CT_SheetFormatPr), (xlsx_CT_PageMargins),
3122         (xlsx_CT_Top10), (xlsx_CT_Pane), (xlsx_CT_FontSize): ditto.
3124 2009-12-21  Jean Brefort  <jean.brefort@normalesup.org>
3126         * ms-chart.c (lineformat), (chart_write_LINEFORMAT): fix import export
3127         of line type in scatter plots. [#605043]
3129 2009-12-15  Morten Welinder <terra@gnome.org>
3131         * Release 1.9.17
3133 2009-12-09  Jean Brefort  <jean.brefort@normalesup.org>
3135         * ms-chart.c (end): always initialize matrix bounds. [#593937]
3137 2009-11-29  Morten Welinder <terra@gnome.org>
3139         * Release 1.9.16
3141 2009-11-01  Morten Welinder <terra@gnome.org>
3143         * Release 1.9.15
3145 2009-10-16  Morten Welinder  <terra@gnome.org>
3147         * ms-excel-read.c (excel_read_DIMENSIONS): Store dimensions for
3148         clipboard use.
3150 2009-10-15  Morten Welinder  <terra@gnome.org>
3152         * ms-excel-write.c (excel_write_line_v8): Fix handling of
3153         direction.
3154         (excel_write_textbox_or_widget_v8, excel_write_line_v8): Export
3155         line styles.
3157 2009-10-14  Morten Welinder  <terra@gnome.org>
3159         * ms-escher.c (ms_escher_read_OPT): Don't arbitrarily add 1 to
3160         MS_OBJ_ATTR_OUTLINE_STYLE's value.
3162         * ms-excel-read.c (ms_sheet_realize_obj): Read dash style
3163         correctly.
3164         (xl_pattern_to_line_type): Fix mapping.
3166         * ms-excel-write.c (excel_write_line_v8): Export line start arrow
3167         head too.
3169 2009-10-13  Morten Welinder  <terra@gnome.org>
3171         * ms-formula-write.c (excel_write_array_formula): Set
3172         allow_sheetless_ref to avoid t8001 failure.
3174         * ms-obj.c (ms_objv8_write_spinbutton, ms_objv8_write_adjustment):
3175         New functions.
3177 2009-10-12  Morten Welinder  <terra@gnome.org>
3179         * ms-formula-write.c (excel_write_formula): Handle new
3180         EXCEL_CALLED_FROM_OBJ.
3181         (CTXT_NAME_OBJ): Rename from CTXT_NAME.
3183         * ms-obj.c (ms_objv8_write_macro_fmla): Use EXCEL_CALLED_FROM_OBJ.
3185         * ms-excel-write.c (excel_write_textbox_v8): Don't write macro
3186         records yet.
3188         * ms-obj.c (ms_objv8_write_checkbox_fmla,
3189         ms_objv8_write_macro_fmla): Pad length; use NAME context.
3190         (ms_objv8_write_checkbox_link): Take extra "active" argument.  All
3191         callers changed.
3193 2009-10-11  Morten Welinder  <terra@gnome.org>
3195         * ms-excel-write.c (excel_write_textbox_v8): Call
3196         ms_objv8_write_radiobutton_data when appropriate.
3198         * ms-obj.c (ms_objv8_write_radiobutton_data): New function.
3200         * ms-escher.c (ms_escher_clientdata): Drop argument that turned
3201         out to be not useful.
3203 2009-10-11  Morten Welinder <terra@gnome.org>
3205         * Release 1.9.14
3207 2009-10-09  Morten Welinder  <terra@gnome.org>
3209         * ms-excel-write.c (excel_write_autofilter_names): Initialize
3210         nexpr.pos completely.
3212         * ms-excel-read.c (excel_read_NAME): Fix FMR in debug code.
3214         * ms-obj.c (ms_obj_read_biff8_obj): Read the macro reference too.
3216 2009-10-08  Morten Welinder  <terra@gnome.org>
3218         * ms-escher.c (ms_escher_opt_add_bool): New function.
3220         * ms-excel-write.c (excel_write_line_v8): Simplify using
3221         ms_escher_opt_add_bool.
3223 2009-10-07  Morten Welinder  <terra@gnome.org>
3225         * ms-excel-write.c (excel_write_textbox_v8): Export
3226         checkbox/radiobutton link and current value.
3228         * ms-obj.c (ms_objv8_write_checkbox_fmla,
3229         ms_objv8_write_checkbox_data): New functions.
3231         * ms-escher.c (ms_escher_opt_add_color): New function.
3233         * ms-excel-write.c (excel_write_textbox_v8): Make sure the textbox
3234         gets to be part of the container.  Export line and background
3235         colours.  Export outline width.
3236         (excel_write_line_v8): Export line colour and width.
3238         * ms-escher.c (ms_escher_opt_end): Docs were wrong.  Do not
3239         include own header in length.
3240         (ms_escher_opt_add_str_wchar): Fix type error.
3242 2009-10-06  Morten Welinder  <terra@gnome.org>
3244         * ms-excel-read.c (ms_sheet_realize_obj): Restore colour reading.
3245         (ms_sheet_map_color): Add new "pauto" argument.  All callers
3246         changed.
3248 2009-10-05  Morten Welinder  <terra@gnome.org>
3250         * ms-excel-write.c (excel_write_textbox_v8): Export
3251         object name.
3252         (excel_sheet_new): Prepare for handling lines.
3253         (blipinf_new): Plug leak.
3254         (extract_txomarkup): Plug leak.
3255         (xf_init, cb_cell_pre_pass, cb_accum_styles,
3256         excel_write_ClientTextbox): Plug leak.
3257         (excel_write_line_v8): Export lines and arrows.
3259         * ms-biff.h (_BiffPut): Change type of streamPos to gsf_off_t.
3261         * ms-chart.c (chart_write_axis): Don't dump uninitialized memory
3262         into file.
3263         (map_1_5d_type): Plug leak.
3265         * ms-biff.c (ms_biff_put_len_next): Make sure we don't mix _var_
3266         and _len_ calls.  Make sure we commit.
3268 2009-10-04  Morten Welinder  <terra@gnome.org>
3270         * ms-excel-write.c (excel_write_textbox_v8): Attempt to handle
3271         rectangles and ovals.
3273         * ms-escher.c (ms_escher_get_inst, ms_escher_set_inst,
3274         ms_escher_spcontainer_start, ms_escher_spcontainer_end,
3275         ms_escher_sp, ms_escher_opt_start, ms_escher_opt_end,
3276         ms_escher_opt_add_simple, ms_escher_clientanchor,
3277         ms_escher_clientdata): New functions.
3279         * ms-excel-write.c (excel_write_textbox_v8): Use new Escher output
3280         utilities.
3282 2009-10-02  Morten Welinder  <terra@gnome.org>
3284         * ms-excel-write.c (excel_sheet_new): Display name of sheet
3285         objects we cannot export.
3287         * ms-excel-read.c (ms_sheet_realize_obj): Set object name if we
3288         have it.
3290         * ms-escher.c (ms_escher_read_OPT): Assume pointers are UTF-16
3291         strings, not UTF-8.  Fits objs.xls
3293         * ms-excel-write.c (excel_sheet_new): Don't complain over filter
3294         combos.  They are handled, but differently.
3296 2009-10-01  Morten Welinder  <terra@gnome.org>
3298         * ms-excel-write.c (excel_sheet_new): Exclude GNM_SO_FILLED_TYPE
3299         objects with no text as we do not export them right.  [#596886]
3301 2009-09-20  Morten Welinder <terra@gnome.org>
3303         * Release 1.9.13
3305 2009-09-05  Morten Welinder <terra@gnome.org>
3307         * Release 1.9.12
3309 2009-09-05  Jean Brefort  <jean.brefort@normalesup.org>
3311         * all files: renamed go-color.h macros.
3313 2009-09-05  Jean Brefort  <jean.brefort@normalesup.org>
3315         * ms-chart.c (end): don't use z values as x or y when there are no
3316         labels or categories. [See #593937]
3318 2009-09-04  Jean Brefort  <jean.brefort@normalesup.org>
3320         * ms-chart.c (axis), (xl_axis_get_elem), (valuerange): use gnm_go_data
3321         instead of simple go_data [#594068],
3322         (end): don't require x and y values for surfaces.
3324 2009-09-01  Jean Brefort  <jean.brefort@normalesup.org>
3326         * ms-chart.c: renamed GOColor macros.
3327         * ms-excel-read.c: ditto.
3328         * ms-excel-write.c: ditto.
3329         * xlsx-read.c: ditto.
3330         * xlsx-write.c: ditto.
3332 2009-08-31  Jean Brefort  <jean.brefort@normalesup.org>
3334         * ms-chart.c (lineformat), (ms_excel_chart_read),
3335         (style_is_completely_auto), (chart_write_style),
3336         (chart_write_DROPBAR): replace GOStyle::outline.
3337         * ms-excel-read.c (ms_sheet_realize_obj): ditto.
3338         * ms-excel-write.c (extract_gog_object_style): ditto.
3339         * xlsx-read.c (xlsx_draw_line_dash): ditto.
3341 2009-08-30  Morten Welinder <terra@gnome.org>
3343         * Release 1.9.11
3345 2009-08-15  Morten Welinder <terra@gnome.org>
3347         * Release 1.9.10
3349 2009-06-20  Morten Welinder <terra@gnome.org>
3351         * Release 1.9.9
3353 2009-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3355         * xlsx-write.c (xlsx_write_breaks): Quiet enum handling
3357 2009-06-16  Morten Welinder  <terra@gnome.org>
3359         * boot.c: Quiet pivot debugging.
3361 2009-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3363         * ms-excel-read.c (excel_parse_name): If it looks like the print area
3364           could have been one of our old "whole sheet" areas, set it to nil.
3366 2009-06-09  Jody Goldberg <jody@gnome.org>
3368         * xls-read-pivot.c (xls_read_SXIVD) : ignore magic index of 0xfffe.
3369           Need to figure out what it does.
3371 2009-06-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3373         * ms-excel-write.c (excel_write_PAGE_BREAK): don't save automatic
3374           page breaks
3376 2009-05-23  Morten Welinder <terra@gnome.org>
3378         * Release 1.9.8
3380 2009-05-19  Morten Welinder  <terra@gnome.org>
3382         * ms-excel-read.c (excel_read_WINDOW1): Normalize bools, or else
3383         gobject will complain.
3385 2009-05-18  Morten Welinder  <terra@gnome.org>
3387         * ms-excel-read.c (excel_read_WINDOW1): Use g_object_set instead
3388         of poking directly into a WorkbookView.
3390 2009-05-14  Jon K Hellan  <hellan@acm.org>
3392         * ms-excel-util.c (init_xl_font_widths): Add DejaVu fonts with
3393         same metrics as Bitstream Vera.
3395 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3397         * xlsx-write.c (xlsx_write_cols): and don't commit debugging code
3399 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3401         * xlsx-write.c (xlsx_write_cols): fix off-by-one error [#569862]
3403 2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3405         * xlsx-write.c (xlsx_write_sheet): write the tags in schema ordering
3407 2009-05-06  Morten Welinder <terra@gnome.org>
3409         * Release 1.9.7
3411 2009-05-06  Morten Welinder  <terra@gnome.org>
3413         * ms-excel-read.c (excel_read_init): Use the GnmFunc's case in the
3414         hash.
3416 2009-05-05  Morten Welinder  <terra@gnome.org>
3418         * ms-excel-write.c (excel_sheet_write_block): Add one-element
3419         cache.  Fixes #581378.
3421 2009-05-02  Jean Brefort  <jean.brefort@normalesup.org>
3423         * ms-chart.c (get_style), (ms_excel_chart_read): use reimplemented
3424         gog_style_new().
3426 2009-04-28  Jody Goldberg <jody@gnome.org>
3428         * xlsx-read.c : initial work on reading external refs.   Still broken
3429           for refs to sheets with spaces in their names '[1]A Space!A1' thanks
3430           to massively silly quoting conventions.  This will take a parser
3431           re-org to handle.
3433 2009-04-26  Morten Welinder  <terra@gnome.org>
3435         * ms-excel-write.c (excel_sheet_extent): Fix off-by-one when we
3436         overflow the area available.
3438 2009-04-25  Morten Welinder <terra@gnome.org>
3440         * Release 1.9.6
3442 2009-04-22  Morten Welinder  <terra@gnome.org>
3444         * ms-container.c (ms_container_read_markup): Fix badly
3445         misunderstood field.  Fixes #579835.
3447 2009-04-16  Jean Brefort  <jean.brefort@normalesup.org>
3449         * ms-chart.c: (get_style): create a GogStyle object, not a GOStyle.
3451 2009-04-15  Morten Welinder  <terra@gnome.org>
3453         * ms-obj.c (ms_read_TXO): Fix text problem.  [#578878]
3455 2009-04-10  Jean Brefort  <jean.brefort@normalesup.org>
3457         * ms-chart.c: fixed after GogStyle -> GOStyle rename.
3458         * ms-excel-read.c: ditto.
3459         * ms-excel-write.c: ditto.
3460         * xlsx-read.c: ditto.
3462 2009-04-11  Jody Goldberg <jody@gnome.org>
3464         * plugin.xml.in : get rid of bogus .sml suffix now that we have
3465           probing.
3466         * excel-xml-read.c : accept title and description in metadata
3467         (xl_xml_col_start) : only assign width > 0.
3468         (xl_xml_num_fmt) : fix previous patch.
3470 2009-04-02  Morten Welinder  <terra@gnome.org>
3472         * ms-excel-write.c (excel_sheet_new): Limit maxcols to what we
3473         actually have.  Fixes #577758.
3475 2009-04-01  Morten Welinder  <terra@gnome.org>
3477         * xlsx-write.c (xlsx_write_sheet): Fix access to ->sheet.
3478         (xlsx_write_objects): Plug leak.
3480 2009-03-31  Morten Welinder  <terra@gnome.org>
3482         * xlsx-write.c: Partial fix for #168875.
3483         * ms-excel-read.c: Ditto.
3484         * ms-excel-write.c: Ditto.
3486         * ms-obj.c (read_pre_biff8_read_name_and_fmla): Add sanity checks.
3487         (ms_obj_read_pre_biff8_obj): Add and fix sanity checks.  Fixes
3488         #577504.
3490         * ms-excel-read.c (excel_read_MERGECELLS): Fix sanity check.
3491         Fixes #577503.
3493         * ms-chart.c (ms_excel_chart_read): Leak less on errors.
3494         (BC_R(scatter)): Add sanity check for V8 case.  Fixes #577400.
3496         * ms-excel-read.c (excel_read_CF): Add sanity checks.  Fixes
3497         #577399.
3499         * ms-biff.c (ms_biff_query_next): If the read fails, make sure
3500         ->length is zero to match the NULL ->data.
3502 2009-03-30  Morten Welinder  <terra@gnome.org>
3504         * ms-chart.c (ms_excel_chart_read): Add sanity check.  Fixes
3505         #577351.
3507         * ms-excel-read.c (excel_read_IMDATA): Add sanity check.  Fixes
3508         #577348.
3510         * ms-container.c (ms_container_get_blip): Add sanity check.  Fixes
3511         #577260.
3513         * ms-excel-read.c (excel_read_MULBLANK): Add sanity checks.  Fixes
3514         #577259.
3516 2009-03-29  Morten Welinder  <terra@gnome.org>
3518         * ms-obj.c (ms_read_TXO): Add sanity check.
3520         * ms-biff.c (ms_biff_query_peek_next): Read the length field too
3521         and make sure there's enough left to read the data.  Fixes
3522         #577205.
3524         * ms-chart.c (lineformat): Add sanity check.  Fixes #577208.
3526 2008-12-10  Jody Goldberg <jody@gnome.org>
3528         * excel-xml-read.c (xl_xml_probe_start_element) : new.
3529         (excel_xml_file_probe) : use the new gsf_xml_probe.
3531         * plugin.xml.in : SpreadsheetML has a probe function now.
3533 2009-03-22  Morten Welinder <terra@gnome.org>
3535         * Release 1.9.5
3537 2009-03-20  Morten Welinder  <terra@gnome.org>
3539         * ms-excel-read.c (excel_read_LABEL_markup): Fix sanity check
3540         off-by-one.
3542         * ms-container.c (ms_container_read_markup): Fix termination
3543         condition.  #576112.
3544         (ms_container_read_markup): Fix sanity check off-by-one.
3546         * ms-excel-read.c (excel_read_init): Use magic formats for 0x0e,
3547         0x0f, and 0x16.  Keep the nameless magic for 0x10.
3549 2009-03-16  Morten Welinder  <terra@gnome.org>
3551         * ms-excel-read.c (excel_read_LABEL_markup): Verify that offsets
3552         are sane.
3553         (excel_read_LABEL_markup): Ditto.  Fixes #575452.
3555 2009-03-15  Morten Welinder  <terra@gnome.org>
3557         * ms-excel-read.c (excel_read_init): Reinstate, but without
3558         looking at go_format_builtins.
3560 2009-03-15  Morten Welinder  <terra@gnome.org>
3562         * ms-excel-read.c (excel_read_init): Do not localize formats 14,
3563         15, 16, and 22.
3565         * ms-chart.c (ms_excel_chart_read_NUMBER,
3566         ms_excel_chart_read_LABEL): Add extra sanity check.  Fixes #575393.
3568 2009-03-14  Morten Welinder  <terra@gnome.org>
3570         * ms-excel-write.c (excel_font_from_go_font): Don't crash if the
3571         font descriptor lacks a family.  Part of #575318.
3572         (cb_NOTE_v8): If there is no author, just use the empty string.
3574 2009-03-10  Morten Welinder  <terra@gnome.org>
3576         * ms-excel-read.c (ms_biff_bof_data_new): Handle BIFF_BOF_v8
3577         records indicating MS_BIFF_V2/MS_BIFF_V3/MS_BIFF_V4 files.  (And
3578         indicating broken tools too, of course.)
3580 2009-02-22  Morten Welinder <terra@gnome.org>
3582         * Release 1.9.4
3584 2009-02-20  Morten Welinder  <terra@gnome.org>
3586         * ms-chart.c (chart_create_obj): Bullet proof.
3588 2009-02-18  Morten Welinder  <terra@gnome.org>
3590         * ms-formula-write.c (do_excel_write_prep_expr): Use
3591         excel_func_by_name hash table instead of linear search.
3593         * ms-excel-read.c (excel_read_init): Set up new hash table
3594         excel_func_by_name.
3596 2009-02-17  Morten Welinder  <terra@gnome.org>
3598         * ms-formula-read.c (excel_func_desc): Rename entry 92 back to
3599         "SERIES" hoping that won't break anything.  Fixes #572127.
3601 2009-01-31  Morten Welinder  <terra@gnome.org>
3603         * ms-formula-read.c (excel_parse_formula1): Use
3604         gnm_expr_new_range_ctor, not build_binop.
3606 2009-01-23  Morten Welinder  <terra@gnome.org>
3608         * ms-excel-write.c (excel_sheet_write_block): Handle the case of a
3609         missing cell better.  Partially fixes #568929.
3611 2009-01-16  Jean Brefort  <jean.brefort@normalesup.org>
3613         * ms-chart.c: (chart_write_AI): support GOData simple
3614         instances [#567953],
3615         (chart_write_axis_sets): do not write invalid AXESUSED field, see
3616         #567823.
3618 2009-01-15  Morten Welinder  <terra@gnome.org>
3620         * ms-excel-read.c (excel_read_DELTA): Check tolerance.  Fixes
3621         #567823.
3622         (excel_read_CALCCOUNT): Check count.
3624 2009-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3626         * ms-chart.c: (axesused): Don't use g_return_val_if_fail for data
3627         dependent errors.
3629 2009-01-11  Morten Welinder  <terra@gnome.org>
3631         * ms-formula-write.c (write_node): Don't introduce parentheses
3632         around explicit parentheses.  Fixes #567380.
3634 2008-12-15  Morten Welinder  <terra@gnome.org>
3636         * ms-chart.c (BC_R): Don't use g_return_val_if_fail for data
3637         dependent errors.  Fixes #564499.
3639 2008-12-12  Morten Welinder  <terra@gnome.org>
3641         * ms-excel-util.c (two_way_table_move): Make sure we keep
3642         unique_keys correct.  See #564078.
3644 2008-12-11  Morten Welinder  <terra@gnome.org>
3646         * ms-excel-write.c (map_pattern_to_xl): Throw in some translations
3647         of Gnumeric-specific patterns.  Fixes #564078.
3649 2008-12-08  Jean Brefort  <jean.brefort@normalesup.org>
3651         * ms-chart.c: (3d): use an int for an integer property, not a double.
3653 2008-11-11  Jean Brefort  <jean.brefort@normalesup.org>
3655         * ms-chart.c: (3d), (chart_write_plot): some work on 3d import/export,
3656         (ms_excel_chart_write): fixed segfault when exporting an empty contour
3657         plot. [#557027]
3659 2008-10-21  Morten Welinder  <terra@gnome.org>
3661         * ms-chart.c (BC_R(end)): Don't look first series if there are no
3662         series.  Fixes #557077.
3664 2008-10-18  Jody Goldberg <jody@gnome.org>
3666         * Release 1.9.3
3668 2008-10-02  Morten Welinder  <terra@gnome.org>
3670         * ms-excel-write.c (excel_write_NAME): Don't write a formula for
3671         place-holders.
3673 2008-10-01  Morten Welinder  <terra@gnome.org>
3675         * ms-excel-write.c (excel_foreach_name): Use new
3676         workbook_foreach_name.
3678 2008-10-13  Jody Goldberg <jody@gnome.org>
3680         * ms-obj.c (ms_read_OBJ) : standalone OBJ records outside escher
3681           groups appear to use the old style. [#546887]
3683 2008-10-09  Jody Goldberg <jody@gnome.org>
3685         * xlsx-read.c (xlsx_pattern_fg_bg) : merge _fg and _bg and
3686           restore/comment on why there seems to be a need for magic in the
3687           case of conditional formats.
3689 2008-10-09  Jody Goldberg <jody@gnome.org>
3691         * xlsx-read.c (indexed_color) : return a GOColor.
3692         (themed_color) : new.  Has some magic to use the theme indicies as
3693           lookups into a hard coded map.d
3694         (xlsx_draw_color_themed) : simplified, the theme_colors_by_name is always defined.
3695         (hue_to_color) : new.
3696         (apply_tint) : new.  Could be moved into goffice.
3697         (elem_color) : handle tints, and themes.
3698         (xlsx_get_style_xf) : new.
3699         (xlsx_pattern_fg) : drop the magic pattern based inversion.
3700         (xlsx_pattern_bg) : ditto.
3701         (xlsx_border_end) : add protection.
3702         (xlsx_xf_begin) : merge parent styles when available.
3703         (xlsx_cell_style) : it is an index into the style_xfs, not the cell_xfs.
3704         (xlsx_file_open) : read themes before styles.
3706 2008-09-11  Jody Goldberg <jody@gnome.org>
3708         * ms-excel-read.c (excel_read_TAB_COLOR) : no sense checking for NULL.
3709           [Coverity #197]
3711 2008-09-02  Jody Goldberg <jody@gnome.org>
3713         * boot.c (excel_file_open) : store VBA if it is available
3714             *
3715 2008-08-29  Jody Goldberg <jody@gnome.org>
3717         * Release 1.9.2
3719 2008-08-29  Morten Welinder  <terra@gnome.org>
3721         * ms-excel-read.c (excel_wb_get_fmt): Handle broken 1.6 formats.
3723 2008-08-02  Jean Brefort  <jean.brefort@normalesup.org>
3725         * xlsx-read.c: Fixed axis position.
3727 2008-08-01  Jean Brefort  <jean.brefort@normalesup.org>
3729         * ms-chart.c: (axis), (valuerange): set the "cross-axis-id" property.
3731 2008-07-28  Jean Brefort  <jean.brefort@normalesup.org>
3733         * ms-chart.c: (ai): add a warning, (tick): import text orientation,
3734         (chart_write_AI): fix AI export (reverses 2008-02-29 change),
3735         (chart_write_axis): export text orientation [#544935].
3737 2008-07-02  Jody Goldberg <jody@gnome.org>
3739         * xlsx-read.c (xlsx_CT_worksheet) : new.  Looks for related pivot
3740           tables.  If the gsf extension necessary is available.
3741         (cb_find_pivots) : new.
3743 2008-06-30  Jody Goldberg <jody@gnome.org>
3745         * xlsx-read.c (xlsx_CT_PivotCache) : new, read a cache.
3746         * xlsx-read-pivot.c : New.
3747         * Makefile.am : dist xlsx-read-pivot.c
3749 2008-02-29  Jean Brefort  <jean.brefort@normalesup.org>
3751         * ms-chart.c (chart_write_AI): Do not export non-existing values
3752         (fixes some criticals, see #519788).
3754 2008-06-29  Morten Welinder  <terra@gnome.org>
3756         * ms-chart.c (xl_chart_import_error_bar): More checks on parent.
3757         Fixes #540697.
3759 2008-06-25  Jody Goldberg <jody@gnome.org>
3761         * Release 1.9.1
3763 2008-06-22  Jody Goldberg <jody@gnome.org>
3765         * ms-biff.c (ms_biff_query_next) : don't return anything if the record
3766           looks suspicious. [#539666]
3768 2008-06-22  Jody Goldberg <jody@gnome.org>
3770         * ms-chart.c (chart_realize_obj) : throw in a warning (not used yet).
3771         (chart_create_obj) : call out to the container.
3773 2008-06-19  Morten Welinder  <terra@gnome.org>
3775         * ms-chart.c (end): Fix corrupted-file crash.  [#539178]
3777 2008-06-13  Jody Goldberg <jody@gnome.org>
3779         * ms-obj.c (ms_obj_read_expr) : handle empty expressions without a
3780           calc id.
3781         (ms_obj_read_biff8_obj) : drop the debug spew.
3783         * ms-excel-read.c (excel_read_EXTERNNAME) : rework the logic to
3784           differentiate between name/DDE/OLE, and always load the name itself
3785           even if we do not support DDE/OLE.
3786         (excel_read_EXTERNSHEET_v7) : hush.
3787         (excel_read_HEADER_FOOTER) : drop the size checks (they were wrong for
3788           older sheets) they are unnecessary.  The biff_text handles it better.
3789         (excel_biff_text_1) : use the same structure as the logic in ...
3790         (excel_biff_text_2) : ... here.  And make it clear that we only need
3791           two bytes.
3793         * ms-chart.c (BC_R(surf)) :  This is only 2 bytes, not 6.
3795 2008-06-12  Jody Goldberg <jody@gnome.org>
3797         * ms-excel-read.c (gnm_xl_importer_free) : don't free a name that
3798           failed to import.
3799         (excel_parse_name) : Do not free the name string here.
3800         (excel_read_EXTERNNAME) : get the name string even for DDE and OLE.
3801           Fix the test for DDE links.
3802           Improve the warning for unsupported types, and win32 proof them.
3803           free the name string here.
3804         (excel_read_NAME) : and free it here too.
3805         (excel_read_SUPBOOK) : relax the size check to <=.  If there are no
3806           sheets in the external link (e.g. DDE links) then this is the whole
3807           record.  Remove the warning about unknown encoding.  There is no
3808           requirement that the first character be one of the magic encoding
3809           flags.
3811 2008-06-11  Morten Welinder  <terra@gnome.org>
3813         * ms-excel-util.c (two_way_table_put): If we free the key because
3814         it is a duplicate, continue with the valid version, not the freed.
3815         Fixes #537625.
3817 2008-05-07  Morten Welinder  <terra@gnome.org>
3819         * ms-excel-write.c (ExcelStyleVariant): New type.
3820         (xf_init): Create cell_style_variant hash.  Change domain type of
3821         xf.two_way_table to ExcelStyleVariant.  All users changed.
3822         (xf_free): Destroy cell_style_variant.
3823         (cb_cell_pre_pass): If a string cell needs quoting, mark it as
3824         variant 1.
3825         (excel_sheet_write_block): Use proper variant.
3826         (build_xf_data): Set ->format properly.
3827         (excel_write_XF): Propagate ->format into XF.  Fixes #530704.
3829 2008-05-04  Jody Goldberg <jody@gnome.org>
3831         * Release 1.9.0
3833 2008-05-04  Jody Goldberg <jody@gnome.org>
3835         * xlsx-read.c : Add stub for 'functionGroup'
3837 2008-05-02  Morten Welinder  <terra@gnome.org>
3839         * ms-excel-read.c (excel_read_XF): Dump more of the xf when debugging.
3841 2008-05-02  Jody Goldberg <jody@gnome.org>
3843         * ms-excel-read.c (ms_biff_bof_data_new) : make the version info spew
3844           optional.
3846 2008-04-27  Morten Welinder  <terra@gnome.org>
3848         * ms-excel-read.c (excel_sheet_insert_val): Don't set formats for
3849         blanks and bools.  Fixes #530259.
3851 2008-03-29  Morten Welinder  <terra@gnome.org>
3853         * ms-formula-read.c (excel_parse_formula1): Fix swapped length
3854         checks.  Fixes #524926.
3856 2008-03-12  Morten Welinder  <terra@gnome.org>
3858         * ms-excel-read.c (excel_wb_get_fmt): Replace invalid formats by
3859         General.
3861 2008-03-07  Jean Brefort  <jean.brefort@normalesup.org>
3863         * xlsx-read.c: (xlsx_chart_text): create GnmGOData instead
3864         of GOData, (xlsx_axis_cleanup): do not unref a non deletable axis.
3866 2008-02-29  Jean Brefort  <jean.brefort@normalesup.org>
3868         * ms-chart.c: (ms_excel_chart_read): do not leak the default lot style,
3869         (store_dim): accept vectors with nul length,
3870         (chart_write_axis): fix export of invisible axis.
3872 2008-02-29  Jean Brefort  <jean.brefort@normalesup.org>
3874         * ms-chart.c (BC_R(end)): Drop axes that the plot cannot handle.
3875         Fixes a number of criticals from #518939.
3877 2008-02-27  Morten Welinder  <terra@gnome.org>
3879         * ms-chart.c (set_radial_axes): If clearing the parent fails, the
3880         ref-count is not as expected to stop messing with the object.
3881         Fixes #518939.  Mostly.
3883 2008-02-23  Morten Welinder  <terra@gnome.org>
3885         * ms-excel-read.c (excel_externsheet_v8): Take guint16 argument to
3886         prevent negative lookups.
3888 2008-02-19  Morten Welinder  <terra@gnome.org>
3890         * ms-escher.c (ms_escher_get_data): Add a few checks before Sum1
3891         finds this.
3893 2008-02-17  Morten Welinder  <terra@gnome.org>
3895         * ms-obj.c (ms_read_OBJ): Return error indicator.
3896         * ms-escher.c (ms_escher_read_ClientData): Handle errors from
3897         ms_read_OBJ.  Fixes #517106.
3899 2008-02-15  Morten Welinder  <terra@gnome.org>
3901         * ms-chart.c (ms_excel_chart_read): Check record length here for
3902         all chart record types.  (Derived from Jean's patch to #515343.)
3903         Fixes #514513, #515343, #515873, #515876.
3904         (BC(register_handlers)): Fix the minimum length of siindex
3905         records.
3907 2008-02-08  Morten Welinder  <terra@gnome.org>
3909         * ms-chart.c: Sprinkle some length checks.  Fixes #515269,
3910         #515275, and #515335.
3912         * ms-excel-read.c (excel_read_SUPBOOK): Add length checks.  Fixes
3913         #515155.
3915 2008-02-07  Morten Welinder  <terra@gnome.org>
3917         * ms-biff.c (ms_biff_query_bound_check): Return (guint32)-1 on
3918         error so we can tell.
3920         * ms-excel-read.c (gnm_xl_importer_free): Be more careful when
3921         freeing sst.
3922         (sst_read_string): Be more careful.  This code is a mess.
3924         * ms-chart.c (xl_chart_import_error_bar): Avoid crash in missing
3925         parent-series case.  Fixes #514630.
3927         * ms-formula-read.c (excel_parse_formula1, excel_parse_formula):
3928         Grow a maxlen argument and make sure we do not read more.  Fixes
3929         #514637.
3931         * ms-excel-read.c (excel_read_string_header, excel_get_text): Grow
3932         an array_length argument and make sure we do not read more array
3933         data than call.  All callers changed.
3934         (excel_biff_text, excel_biff_text_1, excel_biff_text_2): New
3935         Biff-record based wrappers for excel_get_text.
3936         (excel_formula_shared): Make sure to copy the data behind the
3937         expression too.
3939 2008-02-05  Morten Welinder  <terra@gnome.org>
3941         * ms-escher.c (ms_escher_read_Blip): Don't construct bogus blip.
3942         Fixes #514510.
3944         * ms-excel-read.c (excel_read_FONT): Add length checks.  Fixes
3945         #514506.
3947 2008-02-04  Morten Welinder  <terra@gnome.org>
3949         * ms-excel-read.c (excel_biff_text, excel_biff_text_1,
3950         excel_biff_text_2): New functions.  Use these where possible to
3951         add length checks.
3953         * ms-chart.c (ai): Handle missing series.  Fixes #514435.
3954         (fontx): Add length checks.  Fixes #514436.
3955         * ms-biff.c (ms_biff_query_set_decrypt): Handle empty record.
3956         Fixes #514437.
3958         * ms-excel-read.c (excel_read_FORMULA): When we see multiple
3959         expressions for a single cell, don't leak.  Fixes #514295.
3960         (excel_cell_fetch): New function.
3961         (excel_read_FORMULA, excel_read_LABEL, excel_sheet_insert_val):
3962         Use excel_cell_fetch so we range check cell position.
3964         * ms-chart.c (ms_excel_chart_read): Factor the rest of cases out
3965         into functions so XL_CHECK_CONDITION can be used.  Fixes #514229
3966         and several other similar issues.
3968         * ms-excel-read.c (excel_read_DEF_ROW_HEIGHT): Add length checks.
3969         Fixes #514230.
3971 2008-02-03  Morten Welinder  <terra@gnome.org>
3973         * ms-excel-read.c (excel_read_sheet): Factor the rest of cases out
3974         into functions so XL_CHECK_CONDITION can be used.  Fixes #513963
3975         and several other similar issues.
3977 2008-02-02  Morten Welinder  <terra@gnome.org>
3979         * ms-excel-read.c (excel_read_workbook) [BIFF_DSF]: Properly check
3980         record length.  Fixes #513835.
3981         (excel_read_HLINK): Be even stricter about record lengths.
3983 2008-02-01  Morten Welinder  <terra@gnome.org>
3985         * ms-excel-read.c (excel_read_NAME): Properly check record length.
3986         Fixes #513608.
3987         (excel_read_FORMAT): Ditto.  Fixes #513608.
3988         (excel_read_ROW): Ditto.  Fixes #513787.
3990         * ms-chart.c (BC_R): Ditto.  Fixes #513790.
3992 2008-01-31  Morten Welinder  <terra@gnome.org>
3994         * ms-excel-read.c (excel_read_BOOLERR): Properly check record
3995         length.
3996         (excel_read_HEADER_FOOTER): Ditto.
3997         (excel_read_REFMODE): Ditto.  Fixes #513364.
3998         (excel_read_PAGE_BREAK): Ditto.  Fixes #513361.
3999         (excel_set_xf): Ditto.  Fixes #513551.
4001 2008-01-30  Morten Welinder  <terra@gnome.org>
4003         * ms-excel-read.c (excel_read_EXTERNNAME): Fix the error case.
4004         Fixes #513005.
4005         (excel_read_LABEL): Properly check record length.  Fixes #513313.
4006         (excel_read_SELECTION): Properly check record length.  Fixes #513317.
4008 2008-01-29  Morten Welinder  <terra@gnome.org>
4010         * ms-excel-write.c (excel_write_string): Fix length written for
4011         the unicode case (with length measured in characters).
4013 2008-01-29  Morten Welinder  <terra@gnome.org>
4015         * ms-excel-read.c (excel_read_EXTERNSHEET_v8): Check q->length
4016         properly.  Fixes #512984.
4018 2008-01-15  Morten Welinder  <terra@gnome.org>
4020         * ms-excel-read.c (excel_read_HLINK): Improve error checks.
4021         Fixes 505330.
4023 2008-01-12  Jean Brefort  <jean.brefort@normalesup.org>
4025         * ms-chart.c: (ms_excel_chart_write): save graph title if any and
4026         if the first chart has no title. [#301720]
4028 2007-12-21  Jody Goldberg <jody@gnome.org>
4030         * Release 1.8.0
4032 2007-12-12  Jean Brefort  <jean.brefort@normalesup.org>
4034         * ms-chart.c: (lineformat), (ms_excel_chart_read),
4035         (chart_write_LINEFORMAT), (chart_write_axis),
4036         (ms_excel_chart_write): fix import / export of lines format. [#502968]
4037         * ms-excel-read.c: (xl_pattern_to_line_type),
4038         (ms_sheet_realize_obj): ditto.
4039         * ms-excel-read.h: ditto.
4041 2007-12-07  Morten Welinder  <terra@gnome.org>
4043         * ms-chart.c (ms_excel_chart_read): Copy list of contributors
4044         because it will change underneath us.  [#501656]
4046 2007-12-03  Jody Goldberg <jody@gnome.org>
4048         * Release 1.7.91
4050 2007-11-28  Jean Brefort  <jean.brefort@normalesup.org>
4052         * ms-chart.c: (axislineformat): always set the style, even for
4053         invisible axes,
4054         (objectlink): started work on series labels import,
4055         (set_radial_axes),(radar), (radararea), load radar plot axes. [#499349]
4056         (end): a better auto marker test for #344950,
4057         (ms_excel_chart_read), reparent invisible axis children before
4058         deleting the axis.
4059         (chart_write_axis_sets): write radar plots axes.
4060         * ms-excel-read.c: (excel_read_BOF): reverse objects stack order.
4062 2007-11-23  Jody Goldberg <jody@gnome.org>
4064         * xlsx-read.c (xlsx_CT_PageMargins) : enable top/bottom.
4065           Convert header/footer from inches to pts.
4067 2007-11-19  Jody Goldberg <jody@gnome.org>
4069         * Release 1.7.90
4071 2007-11-18  Jody Goldberg <jody@gnome.org>
4073         * ms-excel-write.c (excel_write_HLINKs) : implement.
4074         * ms-excel-read.c (excel_read_HLINK) : enable file and unc links.
4075         * plugin.xml.in : prefer biff8 to biff7 when matching by suffix.
4077 2007-11-17  Morten Welinder  <terra@gnome.org>
4079         * ms-formula-write.c (write_funcall): Fix error message.
4081 2007-11-15  Morten Welinder  <terra@gnome.org>
4083         * ms-excel-write.c (excel_sheet_free): Plug leaks.  [#497191]
4085 2007-11-12  Morten Welinder  <terra@gnome.org>
4087         * xlsx-read.c (xlsx_CT_Selection): Plug leak.
4089 2007-11-15  Jean Brefort  <jean.brefort@normalesup.org>
4091         * ms-chart.c: (areaformat): set fill.auto_fill to FALSE for
4092         transparent backgounds,
4093         (XL_gog_series_set_dim), (ms_excel_chart_read): fix compiler warnings.
4095 2007-11-12  Jean Brefort  <jean.brefort@normalesup.org>
4097         * ms-chart.c: (axislineformat), (ms_excel_chart_read),
4098         (chart_write_axis): use the "invisible" property for axis when
4099         appropriate.
4101 2007-11-06  Jean Brefort  <jean.brefort@normalesup.org>
4103         * ms-chart.c: (xl_axis_get_elem): don't set cross auto each
4104         time there is an auto parameter, just for cross.
4106 2007-11-04  Morten Welinder <terra@gnome.org>
4108         * Release 1.7.14
4110 2007-11-01  Morten Welinder  <terra@gnome.org>
4112         * ms-excel-write.c (excel_write_ClientTextbox): Survive NULL
4113         label.  Patches over #492377.
4114         (excel_write_string): Handle NULL txt here, just in case.
4116 2007-10-29  Morten Welinder  <terra@gnome.org>
4118         * ms-chart.c: use g_printerr where appropriate.
4119         (objectlink): Plug another leak.
4121 2007-10-29  Morten Welinder  <terra@gnome.org>
4123         * ms-chart.c (ms_excel_chart_read): Avoid freeing a value when
4124         trying to copy it.
4125         (seriestext): Fix leak.
4127 2007-10-29  Jean Brefort  <jean.brefort@normalesup.org>
4129         * ms-chart.c: (axislineformat): set s->xaxis to NULL after deletion,
4130          (ms_excel_chart_read): initialize state.interpolation. [#491131]
4132 2007-10-27  Morten Welinder  <terra@gnome.org>
4134         * ms-excel-write.c (cb_write_macro_NAME): Don't delete
4135         efunc->macro_name here.  That won't work when we write the
4136         dual-format.
4137         (free_excel_func): New function.
4138         (excel_write_state_new): Install free_excel_func as value
4139         destructor for the hash.  Fixes #490828.
4141 2007-10-27  Jean Brefort  <jean.brefort@normalesup.org>
4143         * ms-chart.c: enhance axes labels import, export them, and fix
4144         export of line patterns.
4146 2007-10-24  Morten Welinder  <terra@gnome.org>
4148         * ms-formula-write.c (excel_formula_write_NAME_v7): Use a
4149         sequential id instead of casting the expression address to a
4150         number.
4152 2007-10-21  Morten Welinder <terra@gnome.org>
4154         * Release 1.7.13
4156 2007-09-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
4158         * ms-chart.c (ms_excel_chart_write): remove unused zoom argument in
4159         gog_renderer_update call.
4161 2007-09-28  Jean Brefort  <jean.brefort@normalesup.org>
4163         * ms-chart.c: do not use WITH_GOFFICE_0_4 anymore.
4165 2007-09-27  Jody Goldberg <jody@gnome.org>
4167         * xlsx-read.c : Fix import of existing conditional format types.
4168           We can not handle the computed range formats yet.
4170 2007-09-24  Jody Goldberg <jody@gnome.org>
4172         * ms-chart.c (BC_R(end)) : Don't leak a style when faced with an empty
4173           label.
4175 2007-09-21  Morten Welinder  <terra@gnome.org>
4177         * md5.c: Switch to GPL2 version, see  bug #478398.  (Patch by
4178           Hans de Goede)
4180 2007-09-16  Jody Goldberg <jody@gnome.org>
4182         * xlsx-read.c (xlsx_plot_area_start) : new.
4183         (xlsx_plot_area_end) : new.
4184         (xlsx_chart_logbase) : new.
4185         (xlsx_draw_line_dash) : new.
4186         (xlsx_chart_marker_symbol) : new.
4187         (xlsx_chart_marker_end) : assign the marker symbol here, so that we
4188           can get handle auto
4189         (xlsx_chart_gridlines) : new.
4190         (xlsx_chart_pop) : new.
4192 2007-09-16  Jody Goldberg <jody@gnome.org>
4194         * xlsx-read.c (xlsx_plot_area_start) : new.
4195         (xlsx_plot_area_end) : new.
4196         (xlsx_chart_logbase) : new.
4197         (xlsx_draw_line_dash) : new.
4198         (xlsx_chart_marker_symbol) : new.
4199         (xlsx_chart_marker_end) : assign the marker symbol here, so that we
4200           can get handle auto
4201         (xlsx_chart_gridlines) : new.
4202         (xlsx_chart_pop) : new.
4204 2007-09-16  Jody Goldberg <jody@gnome.org>
4206         * xlsx-read.c (xlsx_plot_area_start) : new.
4207         (xlsx_plot_area_end) : new.
4208         (xlsx_chart_logbase) : new.
4209         (xlsx_draw_line_dash) : new.
4210         (xlsx_chart_marker_symbol) : new.
4211         (xlsx_chart_marker_end) : assign the marker symbol here, so that we
4212           can get handle auto
4213         (xlsx_chart_gridlines) : new.
4214         (xlsx_chart_pop) : new.
4216 2007-09-16  Jody Goldberg <jody@gnome.org>
4218         * xlsx-read.c (attr_rgb) : new.
4219         (xlsx_chart_push_obj) : new.
4220         (xlsx_chart_pop_obj) : new.
4221         (simple_bool) : new.
4222         (xlsx_vary_colors) : use it.
4223         (simple_int) : new.
4224         (xlsx_chart_pie_sep) : use it.
4225         (xlsx_chart_bar_overlap) : ditto.
4226         (xlsx_chart_bar_gap) : ditto.
4227         (simple_float) : new.
4228         (simple_enum) : new.
4229         (xlsx_chart_bar_dir) : use it.
4230         (xlsx_chart_add_plot) : new.
4231         (xlsx_chart_pie) : use it.
4232         (xlsx_chart_ring) : use it.
4233         (xlsx_chart_bar) : use it.
4234         (xlsx_chart_area) : use it.
4235         (xlsx_chart_line) : use it.
4236         (xlsx_chart_xy) : use it.
4237         (xlsx_chart_bubble) : use it.
4238         (xlsx_chart_radar) : use it.
4240         (xlsx_axis_info_free) : new.
4241         (xlsx_plot_axis_id) : new.
4242         (xlsx_axis_id) : new.
4243         (xlsx_axis_start) : new.
4244         (xlsx_axis_delete) : new.
4245         (xlsx_axis_orientation) : new.
4246         (xlsx_axis_pos) : new.
4247         (xlsx_axis_bound) : new.
4248         (xlsx_axis_crosses) : new.
4249         (xlsx_axis_end) : new.
4250         (xlsx_chart_ser_f) : handle series names.
4252         (xlsx_chart_pt_start) : new.
4253         (xlsx_chart_pt_end) : new.
4254         (xlsx_chart_pt_index) : new.
4255         (xlsx_chart_pt_sep) : new.
4256         (xlsx_chart_style_start) : new.
4257         (xlsx_chart_style_end) : new.
4258         (xlsx_style_line_start) : new.
4259         (xlsx_style_line_end) : new.
4260         (xlsx_chart_no_fill) : new.
4261         (xlsx_chart_solid_fill) : new.
4262         (xlsx_draw_color_themed) : new.
4263         (xlsx_draw_color_rgb) : new.
4264         (xlsx_draw_color_alpha) : new.
4265         (xlsx_draw_color_end) : new.
4266         (xlsx_chart_marker_start) : new.
4267         (xlsx_chart_marker_end) : new.
4268         (xlsx_chart_text) : new.
4269         (xlsx_chart_text_content) : new.
4271         (cb_axis_set_position) : new.
4272         (xlsx_axis_cleanup) : new.
4273         (xlsx_read_chart) : set up the extensions to handle styles, and
4274           connect up the axis after parsing.
4276         * ms-chart.c (excel_font_from_go_font) : take a XLExportBase.
4277         (chart_write_text) : fix call to excel_font_from_go_font.
4278         (chart_write_axis) : ditto.
4280         * xlsx-write.c (xlsx_write_series_dim) : silence a warning.
4282 2007-09-15  Jean Brefort  <jean.brefort@normalesup.org>
4284         * ms-chart.c: (chart_write_axis_sets): use "Backplane" instead of
4285         "Grid" when goffice is 0.5,
4287 2007-09-15  Jean Brefort  <jean.brefort@normalesup.org>
4289         * ms-chart.c: (end): use "Backplane" instead of "Grid" when goffice is 0.5,
4290         (chart_write_text), (ms_excel_chart_write): made some work on titles
4291         position export.
4293 2007-09-13  Jean Brefort  <jean.brefort@normalesup.org>
4295         * ms-chart.c: (end), (chart_write_text), (chart_write_axis),
4296         (ms_excel_chart_write): export text with style and import chart
4297         titles [#301720].
4298         * ms-excel-write.c: (excel_font_from_go_font),
4299         (extract_gog_object_style): export fonts used in charts.
4300         * ms-excel-write.h: ditto.
4302 2007-09-08  Jody Goldberg <jody@gnome.org>
4304         * xlsx-read.c (xlsx_vary_colors) : new.
4306         * ms-chart.c (chart_write_LEGEND) : new code split from.
4307         (chart_write_axis_sets) : here.
4308         * ms-chart.c (BC_R(boppop)) : place holder to at least get the pie.
4310 2007-09-04  Jody Goldberg <jody@gnome.org>
4312         * Release 1.7.12
4314 2007-09-01  Jody Goldberg <jody@gnome.org>
4316         * xlsx-write.c (xlsx_write_init_row) : new.
4317         (xlsx_write_cells) : add a simple compression mechanism to avoid
4318           producing an empty row element if there is no useful content.
4319         (xlsx_write_hlink) : fix the namespace of the "id" attr.
4320         (xlsx_write_hlinks) : yay consistency!  No count for this collection.
4321         (xlsx_write_chart_bool) : always generate a val, ignore the supposed
4322           default value. (fixes pie varyColor)
4323         (xlsx_write_chart) : vary pie color is not the default.  We need to
4324           generate it.
4325         (xlsx_write_objects) : nvGraphicFramePr and xfrm are required.
4326         (xlsx_write_sheet) : re-order placement of protection element.
4328 2007-08-25  Jean Brefort  <jean.brefort@normalesup.org>
4330         * ms-chart.c: (gelframe): should now compile with goffice-0.4
4332 2007-08-25  Jean Brefort  <jean.brefort@normalesup.org>
4334         * ms-chart.c: (gelframe): return if type is less that 5, otherwise
4335           set fill type and colors not auto.
4337 2007-08-25  Jody Goldberg <jody@gnome.org>
4339         * xlsx-read.c (xlsx_chart_legend) : new.
4341 2007-08-24  Jody Goldberg <jody@gnome.org>
4343         * xlsx-read.c (xlsx_CT_DataValidation_begin) : don't lose the input
4344           messages.
4346 2007-08-24  Jody Goldberg <jody@gnome.org>
4348         * xlsx-write.c (xlsx_write_validation) : LTE and GT were swapped.
4349         * xlsx-read.c (xlsx_CT_DataValidation_begin) : ditto.
4351 2007-08-24  Jody Goldberg <jody@gnome.org>
4353         * xlsx-read.c (xlsx_chart_pie) : new.
4354         (xlsx_chart_ring) : new.
4355         (xlsx_chart_bar) : new.
4356         (xlsx_chart_area) : new.
4357         (xlsx_chart_line) : new.
4358         (xlsx_chart_xy) : new.
4359         (xlsx_chart_bubble) : new.
4360         (xlsx_chart_radar) : new.
4361         (xlsx_plot_end) : new.
4362         (xlsx_chart_ser) : new.
4363         (xlsx_chart_ser_f) : new.
4364         (xlsx_ser_type_start) : new.
4365         (xlsx_ser_type_end) : new.
4366         (xlsx_drawing_twoCellAnchor) : new.
4367         (xlsx_drawing_twoCellAnchor_end) : new.
4368         (xlsx_drawing_pos) : new.
4369         (xlsx_read_chart) : create the chart.
4371 2007-08-23  Jody Goldberg <jody@gnome.org>
4373         * xlsx-write.c (xlsx_write_merges) : split into a function for
4374           cleanliness.
4375         (xlsx_write_validation) : new partial implementation.
4376         (xlsx_write_validations) : new.  Uses excel_collect_validations.
4377         (xlsx_write_sheet) : call the new routines.
4379         * xlsx-read.c (xlsx_parse_sqref) : normalize the ranges to be extra
4380           careful, and document that they are in reverse order.
4381         (xlsx_CT_DataValidation_begin) : finish, and cache the top left corner
4382           of the 1st sqRef.
4383         (xlsx_validation_expr) : parse relative to the first corner, not A1.
4385         * ms-excel-write.c (excel_write_DV) : split extraction code out into.
4386         (excel_collect_validations) : here.
4388 2007-08-03  Jody Goldberg <jody@gnome.org>
4390         * ms-excel-read.c (excel_read_HLINK) : fix import of local links.
4392 2007-08-05  Jean Brefort  <jean.brefort@normalesup.org>
4394         * ms-chart.c: (chart_write_series), (chart_write_plot): free
4395         strings returned by g_object_get.
4397 2007-08-04  Jean Brefort  <jean.brefort@normalesup.org>
4399         * ms-chart.c: fixed interpolation mode import/export after
4400           the change in goffice.
4402 2007-07-27  Jody Goldberg <jody@gnome.org>
4404         * ms-chart.c (end) : don't leak a style of the legend doesn't have a
4405           frame.
4407 2007-07-26  Jody Goldberg <jody@gnome.org>
4409         * ms-obj.c (ms_obj_read_expr) : new.
4410         (read_pre_biff8_read_expr) : use it here.
4411         (ms_obj_read_pre_biff8_obj) : here.
4412         (ms_obj_map_forms_obj) : and here.  Also check for source ranges for
4413           combos and lists. [#451384]
4415 2007-07-25  Jody Goldberg <jody@gnome.org>
4417         * ms-excel-read.c (excel_read_SHEETPROTECTION) : size check was too
4418           detailed.
4420 2007-07-24  Jody Goldberg <jody@gnome.org>
4422         * Release 1.7.11
4424 2007-07-13  Jody Goldberg <jody@gnome.org>
4426         * ms-obj.c (ms_obj_read_biff8_obj) : send the actual record, not
4427           the 4 byte header that loses 4 trailing bytes.
4428         (ms_obj_map_forms_obj) : Use existing tools to properly handle
4429          longer names and objects with data sources (combos/lists).
4431         * xlsx-write.c (xlsx_write_calcPR) : new.
4433 2007-07-09  Jody Goldberg <jody@gnome.org>
4435         * xlsx-read.c (xlsx_CT_CalcPr) : new. Read the iterate and recalc
4436           properties.  Need to add the refmode.
4437         * xlsx-write.c (xlsx_write_calcPR) : ditto.
4438         (xlsx_write_workbook) : called from here.
4440 2007-07-14  Jody Goldberg <jody@gnome.org>
4442         Report form coverity.
4443         * ms-obj.c (ms_read_TXO) : remove failure modes for items we do not
4444           actually use.  alignments are enumerated from 1, not 0.
4446 2007-06-21  Jody Goldberg <jody@gnome.org>
4448         * ms-excel-read.h : delete MsBiffFontUnderline, there was no need for
4449           an intermediate type.
4451         * ms-excel-write.c (excel_write_PAGE_BREAK) : just hard code the
4452           min/max.  The values seem constant in all my tests.
4454         * ms-excel-biff.h : Start some cleanup, and begin to follow the naming
4455           convention 'XLS_...' for binary and 'XLSX_...' for oox.
4456           Define some Maximas.
4458 2007-06-16  Jody Goldberg <jody@gnome.org>
4460         * ms-excel-read.c (excel_read_PAGE_BREAK) : new.
4461         (excel_read_sheet) : called from here.
4463         * ms-excel-write.c (excel_write_PAGE_BREAK) : new.
4464         (write_sheet_head) : called from here.
4466         * xlsx-read.c (xlsx_CT_PageBreak) : new.
4467         (xlsx_CT_PageBreaks_begin) : new.
4468         (xlsx_CT_PageBreaks_end) : new.
4470         * xlsx-write.c (xlsx_write_breaks) : new.
4471         (xlsx_write_print_info) : called from here.
4473 2007-06-06  Jody Goldberg <jody@gnome.org>
4475         * ms-excel-util.c (init_xl_font_widths) : add Calibri.
4477 2007-06-12  Jody Goldberg <jody@gnome.org>
4479         * plugin.xml.in  : Use 'Office 2007' as the description for the writer
4480           too.
4482 2007-06-10  Jody Goldberg <jody@gnome.org>
4484         * xlsx-write.c : Move the OpenPkg support out of here and into libgsf.
4485         * xlsx-read.c : ditto.
4486         (xlsx_parse_rel_by_id) : new wrapper to handle errors from
4487           gsf_open_pkg_parse_rel_by_id.
4489 2007-06-10  Jody Goldberg <jody@gnome.org>
4491         * xlsx-read.c (xlsx_CT_SheetProtection) : new.
4492         * xlsx-write.c (xlsx_write_protection) : new.
4493         (xlsx_write_sheet) : called from here.
4495         * ms-excel-read.c (excel_read_SHEETPROTECTION) : new.
4496         (excel_read_sheet) : called here.
4498         * ms-excel-write.c (excel_write_SHEETPROTECTION) : new.
4499         (excel_write_sheet) : called here after the validations.
4501 2007-06-01  Jean Brefort  <jean.brefort@normalesup.org>
4503         * ms-chart.c: do not delete a valid axis.
4505 2007-05-25  Morten Welinder  <terra@gnome.org>
4507         * plugin.xml.in: Add mime types for most of the savers.
4509 2007-05-16  Jean Brefort  <jean.brefort@normalesup.org>
4511         * ms-chart.c: (fontx), (tick), (end): import legend and
4512         axis labels font. [#437858]
4514 2007-05-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4516         * ms-excel-write.c (excel_write_SETUP): adjust for new
4517           arguments of print_info_get_margins
4518         (excel_write_WSBOOL): ditto
4519         * ms-excel-read.c (excel_init_margins): use print_info_set_edge_to_*
4520         (excel_read_sheet): use print_info_set_edge_to_*
4521         * xlsx-write.c (xlsx_write_print_info): adjust for new
4522           arguments of print_info_get_margin
4524 2007-05-07  Jean Brefort  <jean.brefort@normalesup.org>
4526         * ms-chart.c: (axis), (catserrange), (lineformat), (valuerange),
4527         (end), (ms_excel_chart_read), (chart_write_axis),
4528         (chart_write_axis_sets), (ms_excel_chart_write): fix import/export
4529         of axis sets. [#318610]
4531 2007-05-03  Morten Welinder <terra@gnome.org>
4533         * Release 1.7.10
4535 2007-05-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4537         * ms-excel-write.c (write_sheet_head): change PrintUnit content
4538         * ms-excel-read.c (excel_print_unit_init_inch): deleted
4539         (excel_init_margins): use GO_IN_TO_PT
4540         (excel_read_sheet): ditto
4541         * xlsx-write.c (xlsx_write_print_info): change PrintUnit content
4543 2007-04-29  Jody Goldberg <jody@gnome.org>
4545         * plugin.xml.in : remove duplicate xlsx entry
4547 2007-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4549         * ms-excel-write.c (excel_write_SETUP): use
4550           print_info_get_paper_orientation
4551         (write_sheet_head): print_info might be modified
4552         * ms-excel-read.c (excel_read_SETUP): use
4553           print_info_set_paper_orientation
4555 2007-04-21  Morten Welinder <terra@gnome.org>
4557         * Release 1.7.9
4559 2007-04-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4561         * ms-excel-write.c (write_sheet_head): use print_info_get_margins
4562         * ms-excel-read.c (paper_size_table): use PWG 5101.1-2002
4563         (excel_read_SETUP): use modified paper_size_table
4564         * xlsx-write.c (xlsx_write_print_info): use print_info_get_margins
4566 2007-03-19  Jody Goldberg <jody@gnome.org>
4568         * xlsx-write.c (xlsx_write_cells) : keep f before v, but do not try to
4569           export an attribute of c once we have started the f or v.
4570         (xlsx_write_cells) : export array formulas.
4571         (xlsx_write_cells) : export bool values a "1" "0" rather than
4572           value_get_as_string.
4574 2007-03-18  Jody Goldberg <jody@gnome.org>
4576         * xlsx-read.c (xlsx_file_open) : Visible error if no workbook is
4577           found.
4579         * xlsx-write.c (xlsx_write_sheet) : Define some new constants for the
4580           spreadsheet, and relationship namespaces.  Then update them to the
4581           versions used in the official 2007 release.
4582         (xlsx_write_shared_strings) : ditto.
4583         (xlsx_write_styles) : ditto.
4584         (xlsx_write_workbook) : ditto.
4585         (xlsx_write_col) : up the accuracy of width export to match XL 2007.
4586           put hidden before other flags to ease visual inspection of xml.
4587         (xlsx_write_cols) : skip initial empty cols, and include the last col.
4589 2007-03-16  Morten Welinder  <terra@gnome.org>
4591         * ms-excel-read.c (excel_read_FONT): In case we get a NULL
4592         fontname, assume "Arial".  Fixes #418868.
4594 2007-03-05  Jody Goldberg <jody@gnome.org>
4596         * xlsx-utils.c (xlsx_cellref_as_string) : no need to use the
4597           convention for the sheet_sep, hard code it.
4598         (xlsx_rangeref_as_string) : ditto.
4599         (xlsx_expr_conv_new) : adapt to changes.
4601 2007-01-11  Jody Goldberg <jody@gnome.org>
4603         * ms-escher.c (ms_escher_read_OPT_bools) : improve debug stream.
4604         (ms_escher_read_OPT) : add a few more properties based on the results
4605           of the test file that fills in as many properties as I could find
4606           samples/excel/objs.xls.
4607         (ms_escher_sp_new) : new. unused as yet.
4608         (ms_escher_sp_free) : ditto.
4609         (ms_escher_sp_len) : ditto.
4610         (ms_escher_sp_add_OPT) : ditto.
4611         (ms_escher_sp_set_anchor) : ditto.
4612         (ms_escher_sp_write) : ditto.
4614         * ms-obj.c (ms_obj_read_biff8_obj) : do not generate a warning for
4615           combos with no link, or the special autofilter combos.
4616         (ms_obj_read_biff8_obj) : include the id in the debug spew.
4617         (ms_obj_read_biff8_obj) : Do not warn about unknown flags that we know
4618           are unknown :-)
4619         (ms_objv8_write_note) : new basic stub.
4621         * ms-excel-write.c (excel_write_textbox_v8) : cheap hack to handle
4622           comments somewhat at an invented anchor.
4623         (cb_NOTE_v8) : new.
4624         (excel_write_objs_v8) : keep track of the number of comments too.
4625         (excel_sheet_new) : count comments too.  General tidyup in prep for
4626           moving to generated escher.
4628 2007-03-04  Morten Welinder <terra@gnome.org>
4630         * Release 1.7.8
4632 2007-02-16  Morten Welinder <terra@gnome.org>
4634         * Release 1.7.7
4636 2007-01-06  Morten Welinder  <terra@gnome.org>
4638         * xlsx-read.c (xlsx_cell_val_end): Use gnm_strto, not strtod.
4640 2006-12-19  Jody Goldberg <jody@gnome.org>
4642         * ms-excel-write.c (excel_write_autofilter_objs) : minor
4643           simplification.
4645 2006-12-19  Jody Goldberg <jody@gnome.org>
4647         * xlsx-read.c (xlsx_get_num_fmt) : handle the standard builtins
4648           and paste over the unicode variants of the documented locale
4649           specific variants.
4651 2006-12-18  Jody Goldberg <jody@gnome.org>
4653         * ms-container.c (ms_container_parse_expr) : handle 0 length
4654           expressions as NULL.  Looks like combos & lists with no links are
4655           exported with length 0.
4657 2006-12-17  Jody Goldberg <jody@gnome.org>
4659         * Release 1.7.6
4661 2006-12-17  Jean Brefort  <jean.brefort@normalesup.org>
4663         * ms-chart.c: (lineformat): use auto color for series only when
4664         the color index is equal to the series index. [#166820]
4666 2006-12-16  Jody Goldberg <jody@gnome.org>
4668         * ms-excel-read.c (excel_read_COLINFO) : silence warning due to
4669           kludge.
4671 2006-12-16  Jody Goldberg <jody@gnome.org>
4673         Start work on autofilters, only Top10 is implemented for in or out.
4674         * xlsx-read.c (xlsx_CT_Filters_begin) : new.
4675           Massive renaming to use '_begin' rather than '_start' just because I
4676           like the sound better.
4677         * xlsx-write.c (xlsx_write_autofilters) : new.
4679 2006-12-16  Jody Goldberg <jody@gnome.org>
4681         * ms-excel-read.c (ms_sheet_realize_obj) : link in the content
4682           expression, and the linked cell for combo and list objects.
4683         * ms-obj.c (ms_obj_read_biff8_obj) : read ListboxData which seems to
4684           contain the content expression.
4686 2006-12-11  Morten Welinder  <terra@gnome.org>
4688         * ms-excel-write.c (log_put_color): Remove "inline" -- it's
4689         pointless and triggers a gcc bug.  (gcc bug #30153)
4691 2006-12-04  Jody Goldberg <jody@gnome.org>
4693         * Release 1.7.5
4695 2006-11-24  Jody Goldberg <jody@gnome.org>
4697         * ms-obj.c (ms_obj_attr_get_ptr) : change signature to better
4698           distiguish between NULL and not-specified.
4699         * ms-excel-read.c (ms_sheet_realize_obj) : Using NULL as the default
4700           was a bad idea.  We could not differentiate between empty text which
4701           got stored as NULL, and not specified which should use the default.
4702           Use the new signature to ms_obj_attr_get_ptr to handle this
4703           correctly. (test case : checkboxes in 375620 with no labels)
4705 2006-11-24  Jody Goldberg <jody@gnome.org>
4707         * xlsx-write.c (xlsx_write_col) : set 'bestFit' if the column has a
4708           size different from the default and it has _not_ been set by the
4709           user.
4710         * ms-excel-write.c (excel_write_COLINFO) : ditto.  Set the
4711           undocumented flags customWidth and bestFit based on the OfficeOpen
4712           docs.
4713         * ms-excel-read.c (excel_read_COLINFO) : the undocumented bestfit and
4714           customwidth flags are not a perfect match with our hard_size.  Use
4715           customwith && !bestfit == hard_size.  That should match even the
4716           mis-exported xls from older gnumeric's and OOo.
4717         * xlsx-read.c (xlsx_CT_Col) : ditto, but there are no worries about
4718           older gnumeric's or OOo mis-generating.
4720 2006-11-20  Jody Goldberg <jody@gnome.org>
4722         * Release 1.7.4
4724 2006-11-19  Morten Welinder <terra@gnome.org>
4726         * Release 1.7.3
4728 2006-11-09  Jody Goldberg <jody@gnome.org>
4730         * xlsx-read.c (xlsx_file_open) : use the new
4731           gnm_push_C_locale/gnm_pop_C_locale utils.
4732         * xlsx-write.c (xlsx_file_save) : ditto.
4734 2006-10-27  Jon K Hellan  <hellan@acm.org>
4736         * ms-excel-read.c (excel_read_MERGECELLS): Accept overlapping
4737         merges, as Excel does.
4739 2006-10-24  Jon K Hellan  <hellan@acm.org>
4741         * ms-obj.c (ms_read_TXO): Handle UTF-16, and switching between
4742         single byte and UTF-16 between CONTINUE records [#340293].
4744 2006-10-17  Jody Goldberg <jody@gnome.org>
4746         * Release 1.7.2
4748 2006-10-12  Jean Brefort  <jean.brefort@normalesup.org>
4750         * ms-chart.c: (serfmt): add missing braces.
4752 2005-07-06  Jon K Hellan  <hellan@acm.org>
4754         * ms-excel-read.c (ms_sheet_realize_obj): Realize Excel 95 images
4755         [#155696].
4757         * ms-obj.h: Add MS_OBJ_ATTR_IS_GOBJECT_MASK and
4758         MS_OBJ_ATTR_IMDATA. Widen MS_OBJ_ATTR_MASK.
4760         * ms-obj.[ch] (ms_obj_attr_new_gobject,
4761         ms_obj_attr_get_gobject): New. Add support for GObject attributes.
4762         (ms_obj_attr_destroy): Handle GObject attributes.
4763         (ms_obj_read_pre_biff8_obj): Save Excel 95 image as attribute.
4765 2006-10-09  Jon K Hellan  <hellan@acm.org>
4767         * ms-excel-read.c (excel_read_HLINK): Fix bug with URLs having
4768         target frames.
4770 2006-10-02  Jody Goldberg <jody@gnome.org>
4772         * Release 1.7.1
4774 2006-09-30  Jean Brefort  <jean.brefort@normalesup.org>
4776         * ms-chart.c: (end): Don't use auto_shape or auto_dash when plot has
4777         no marker/line and series have while importing from excel. [#319727]
4780 2006-09-29  Jean Brefort  <jean.brefort@normalesup.org>
4782         * ms-chart.c: (serfmt), (chart_write_SERFMT),
4783         (style_is_completely_auto), (chart_write_style): implemented serfmt
4784         to import/export interpolation type for splines. [#349457].
4786 2006-09-24  Jody Goldberg <jody@gnome.org>
4788         * xlsx-read.c : Some initial work at parsing charts.
4789           Only an outline of a parser for now, no actual work.
4791 2006-09-23  Jody Goldberg <jody@gnome.org>
4793         * ms-excel-read.c (excel_read_SETUP) : Do not warn of print scale of
4794           0, according to the OfficeOpen docs that means 'auto' we treat it as
4795           100.
4797         * ms-excel-write.c (cb_check_names) : We no longer write placeholders,
4798           no need to check for them.
4799         (excel_foreach_name) : Ditto.
4800         (excel_write_NAME) : Do not export place holders.
4801         (excel_write_autofilter_names) : Add a hook to warn of multiple
4802           autofilters in one sheet.     [#346217]
4804 2006-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4806         * ms-formula-read.c (parse_list_pop): use %p for pointers #346045
4807         * ms-formula-write.c (sheet_pair_hash): extinguish warning #346045
4809 2006-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4811         * ms-excel-write.c (excel_sheet_extent): use ngettext #123860
4813 2006-06-03  Jody Goldberg <jody@gnome.org>
4815         * xlsx-read.c (xlsx_ns) : add the namespace for beta2.
4816         (xlsx_shared_strings_dtd) : s/sstItem/si/ for beta2.
4817         * xlsx-write.c (gsf_outfile_open_pkg_close) : move to the new
4818           spreadsheetml namespace.
4819         (xlsx_write_styles) : ditto.
4820         (xlsx_write_shared_strings) : ditto.
4821         (xlsx_write_sheet) : ditto.
4823 2006-05-31  Jody Goldberg <jody@gnome.org>
4825         * ms-excel-write.c (gather_styles) : Use sheet_cell_foreach, rather
4826           than accessing Sheet::cell_hash directly.  This will make it easier
4827           to jump to the quad tree later.
4828         (excel_write_workbook) : use the new sheet_cells_count rather than
4829           accessing Sheet::cell_hash.
4831 2006-05-22  Jody Goldberg <jody@gnome.org>
4833         * ms-formula-read.c (excel_parse_formula1) : disable the long lived
4834           warning about extended attr 0 with 3 and 0xA.  It has something to
4835           do with singleton arrays, but does not seem important.
4837 2006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
4839         * boot.c: replaced gi18n.h by gi18n-lib.h.
4840         * excel-xml-read.c: ditto.
4841         * ms-excel-read.c: ditto.
4842         * ms-excel-write.c: ditto.
4843         * ms-formula-read.c: ditto.
4844         * ms-formula-write.c: ditto.
4845         * xlsx-read.c: ditto.
4846         * xlsx-write.c: ditto.
4848 2006-05-19  Morten Welinder  <terra@gnome.org>
4850         * ms-formula-read.c (excel_parse_formula): Avoid critical on array
4851         formulas.
4852         * ms-excel-read.c: Add more checks for corrupted files.
4854 2006-05-18  Morten Welinder  <terra@gnome.org>
4856         * ms-formula-read.c (excel_parse_formula): Reinstate the call for
4857         expression sharing.
4859         * ms-excel-read.c: Don't use g_return_if_fail and
4860         g_return_val_if_fail for condition relating to file contents.  (They
4861         produce CRITICALS and Jon Kaare will complain one day.)
4863 2006-05-16  Morten Welinder  <terra@gnome.org>
4865         * ms-excel-read.c (excel_read_MULRK): Add some bullet-proofing.
4866         [#341917]
4868 2006-05-08  Jody Goldberg <jody@gnome.org>
4870         * Release 1.7.0
4872 2006-04-29  Jody Goldberg <jody@gnome.org>
4874         * ms-excel-write.c (excel_write_WINDOW2) : merge excel_write_PANE into
4875           here and fix export of H or V only freezes.
4877 2006-04-23  Jody Goldberg <jody@gnome.org>
4879         * xlsx-write.c : new.  Basic export and some code that will move to
4880           libgsf for 'Open Package' support.
4881         * plugin.xml.in : Add xlsx export.
4882         * Makefile.am : ditto.
4884 2006-04-23  Jody Goldberg <jody@gnome.org>
4886         * ms-excel-read.c (excel_read_EXTERNSHEET_v7) : patch
4887           tweak to import broken quoted sheetname from gnumeric-1.0.x eg
4888           Libro1.xls.
4890 2006-04-23  Jody Goldberg <jody@gnome.org>
4892         * ms-chart.c (ms_excel_chart_read) : Don't set the graph and chart
4893           styles to blank unless this is a full sheet object.  Fixes the
4894           import of older charts that are not wrapped in BOF records eg
4895           ms699.xls.
4897 2006-04-18  Morten Welinder  <terra@gnome.org>
4899         * boot.c (excel_file_open): Don't leak the meta_data object.
4901 2006-04-16  Jody Goldberg <jody@gnome.org>
4903         * xlsx-read.c : new.  Basic import and some code that will move to
4904           libgsf for 'Open Package' support.
4905         * plugin.xml.in : Add xlsx import.
4906         * Makefile.am : ditto.
4908 2006-04-15  Jody Goldberg <jody@gnome.org>
4910         * ms-excel-write.c (halign_to_excel) : add HALIGN_DISTRIBUTED.
4911         * ms-excel-read.c (excel_read_TAB_COLOR) : office 12 seems to add some
4912           bytes.
4914 2006-04-09  Jean Brefort  <jean.brefort@normalesup.org>
4916         * ms-chart.c: (xl_chart_import_trend_line), (ms_excel_chart_read),
4917         (chart_write_trend_line), (chart_write_series): fix import/export
4918         of trend lines (only those supported by xl).
4920 2006-04-08  Jean Brefort  <jean.brefort@normalesup.org>
4922         * ms-chart.c: (xl_chart_import_reg_curve): import power regression
4923         and moving average lines.
4925 2006-04-07  Jody Goldberg <jody@gnome.org>
4927         http://bugzilla.gnome.org/show_bug.cgi?id=336858
4928         * ms-excel-read.c (excel_read_EXTERNNAME) : be more careful about
4929           bounds checking.  Looks like 'miniCalc' generates EXTERNNAME with no
4930           expressions at all for it's external functions.
4932 2006-03-30  Morten Welinder  <terra@gnome.org>
4934         * ms-formula-write.c (write_node): Add missing table entry for
4935         array elements.  Write the right PTG for data tables.
4936         (excel_write_array_formula): New function.
4937         (excel_write_formula): Change to take a texpr.  All callers
4938         changed.
4940         * ms-formula-write.h (ExcelFuncContext): Elminate
4941         EXCEL_CALLED_FROM_ARRAY which is now implicit.
4943 2006-03-22  Jody Goldberg <jody@gnome.org>
4945         * ms-chart.c (BC_R(lineformat)) : store the format in outline as well
4946           as line.  We do not know where it's going to be used.
4948 2006-03-19  Morten Welinder  <terra@gnome.org>
4950         * ms-formula-write.c (write_node): Handle integers in VALUE_FLOAT
4951         records better.
4953 2005-12-28  Jody Goldberg <jody@gnome.org>
4955         * boot.c (excel_file_open) : use the new workbook_set_meta_data rather
4956           than kludging GObject data.
4958 2006-03-16  Morten Welinder  <terra@gnome.org>
4960         * ms-excel-read.c (excel_get_style_from_xf): Even though the third
4961         argument of style_border_fetch isn't used yet, get it right.
4963 2006-03-16  Morten Welinder  <terra@gnome.org>
4965         * ms-excel-read.c (excel_read_EXTERNNAME): Use NULL, not 0.
4966         * ms-biff.c (ms_biff_query_next): Ditto.
4967         (ms_biff_query_destroy): Ditto.
4968         (ms_biff_put_new): Ditto.
4969         (ms_biff_put_len_next): Ditto.
4970         (ms_biff_put_len_commit): Ditto.
4972 2006-03-13  Morten Welinder  <terra@gnome.org>
4974         * ms-excel-write.c (write_sheet_head): Write protection flags.
4975         * ms-excel-read.c (excel_read_sheet_PROTECT): Store falg.
4976         (excel_read_workbook_PROTECT): New function.
4977         (excel_read_workbook): Read protection flags.
4978         Patch from Klokan Petr Pridal.  [#330129]
4980 2006-03-13  Morten Welinder  <terra@gnome.org>
4982         * ms-container.h (MSContainerClass): Make the parse_expr method
4983         return a texpr.  All users changed.
4985         * ms-formula-read.c (excel_parse_formula): Make this return a
4986         texpr.  All users fixed.
4987         * ms-container.c (ms_container_parse_expr): Ditto.
4988         * ms-obj.c (ms_obj_attr_new_expr): Ditto.
4990 2006-03-10  Jody Goldberg <jody@gnome.org>
4992         * ms-formula-read.c (excel_parse_formula) : back port handling of
4993           AttrChoose and AttrGoto
4995 2006-03-10  Jody Goldberg <jody@gnome.org>
4997         * ms-formula-read.c (excel_parse_formula) : don't forget to re-push
4998           the new set with the extra element.
5000 2006-02-27  Morten Welinder  <terra@gnome.org>
5002         * ms-excel-write.c (blipinf_new): Fix potential 64-bit issue.
5004 2006-02-21  Morten Welinder  <terra@gnome.org>
5006         * ms-chart.c (ms_excel_chart_write): Plug minor leak.
5008 2006-01-20  Jody Goldberg <jody@gnome.org>
5010         * ms-excel-write.c (excel_write_FORMULA) : adjust to new
5011           GNM_EXPR_OP_ARRAY handling
5012         * ms-formula-write.c (excel_write_prep_expr) : ditto.
5013         (write_node) : ditto.
5015 2006-01-17  Morten Welinder  <terra@gnome.org>
5017         * ms-chart.c (chart_write_AI): Allocate right amount of memory.
5019 2005-12-22  Stepan Kasal  <kasal@ucw.cz>
5021         * ms-excel-write.c (excel_write_externsheets_v8): Use the actual
5022           number of sheets in the magic self referential SUPBOOK record.
5023         * ms-excel-read.c (supbook_get_sheet): Use EXCEL_SUP_BOOK_SELFREF
5024           to recognize the self referential SUPBOOK record.
5025         (excel_read_EXTERNSHEET_v8): Simplify the read of sup_index.
5026         * ms-excel-read.h (ExcelExternSheetV8): Remove the unused member wb.
5028 2005-12-05  Jean Brefort  <jean.brefort@normalesup.org>
5030         * ms-chart.c: (axislineformat): do not set style before setting parent,
5031         (object_swap_children): new helper function,
5032         (end): also swap axis children for bar charts and do not access
5033         directly GOMarker fields (now a private structure),
5034         (xl_chart_import_error_bar): fixed some import issues,
5035         (chart_write_error_bar): implement error bars export,
5036         (chart_write_reg_curve): fix an indexation bug,
5037         (chart_write_series): export error bars,
5038         (ms_excel_chart_write): use go_marker_set_shape.
5040 2005-11-27  Jean Brefort  <jean.brefort@normalesup.org>
5042         * biff-types.h: add new custom biff code for goffice regression curves.
5043         * ms-chart.c: (ai), (serauxtrend), (trendlimits),
5044         (register_handlers), (xl_chart_import_reg_curve),
5045         (style_is_completely_auto), (chart_write_style),
5046         (chart_write_error_bar), (chart_write_reg_curve),
5047         (chart_write_series), (ms_excel_chart_write): export regression
5048         curves and enhance import.
5050 2005-11-18  Jean Brefort  <jean.brefort@normalesup.org>
5052         http://bugzilla.gnome.org/show_bug.cgi?id=321678
5053         * ms-chart.c: (ms_excel_chart_read): do not import series without
5054         chart group as error bars or regrssion curves for MS_BIFF_V4 or earlier.
5056 2005-11-16  Jody Goldberg <jody@gnome.org>
5058         http://bugzilla.gnome.org/show_bug.cgi?id=321678
5059         * ms-chart.c (xl_chart_import_reg_curve) : if the parent has no series
5060           there is not much we can do.
5062         http://bugzilla.gnome.org/show_bug.cgi?id=321677
5063         * ms-chart.c (BC_R(gelframe)) : don't crash when faced with an
5064           unsupported plot type that has a gradient.
5066 2005-11-14  Jody Goldberg <jody@gnome.org>
5068         * Release 1.6.1
5070 2005-11-08  Morten Welinder  <terra@gnome.org>
5072         * ms-excel-write.c (blipinf_new): Don't crash if blip->type ends
5073         up NULL.  Fixes crash from #321009.
5075 2005-11-05  Jody Goldberg <jody@gnome.org>
5077         * excel-xml-read.c : Support DateTime values
5079 2005-10-23  Jody Goldberg <jody@gnome.org>
5081         * excel-xml-read.c (xl_xml_col_start) :
5082           - add hidden.
5083           - support spans
5084           - support styles
5085           - support sizes (still off by what seems like a constant factor ??
5086             of 12.5% ??)
5087         (xl_xml_row_start) : ditto.
5088         (xl_xml_pane) : init edit pos to A1.
5089         (xl_xml_selection) : new. handle selection
5090         (xl_xml_editpos_col) : new. handle edit position
5091         (xl_xml_editpos_row) : new. ditto.
5092         (xl_xml_data_start) : load Data::Type here
5093         (xl_xml_cell_start) : not here.  Store the expr.
5094         (xl_xml_data_end) : store exprs and values.
5095         (xl_xml_named_range) : new.  No entirely functional.
5096           It does not handle implicit fwd declatation of names.
5098 2005-10-12  Jody Goldberg <jody@gnome.org>
5100         * ms-formula-read.c (excel_parse_formula) : Ignore the data for Attr
5101           CHOOSE that specifies which element to select.  We do not need it.
5102         * ms-excel-read.c (excel_read_FORMULA) : Use val_offset consistently
5104 2005-10-10  Jody Goldberg <jody@gnome.org>
5106         * Release 1.6.0
5108 2005-10-03  Jody Goldberg <jody@gnome.org>
5110         * excel-xml-read.c : Implement based on inspection of exported result
5111           of a test xls (Did not read or download the schemas).  No support
5112           for expressions or names yet.
5114 2005-10-02  Jody Goldberg <jody@gnome.org>
5116         * plugin.xml.in : enable SpreadsheetML importer
5118         * excel-xml-read.c : implement
5120         * ms-formula-write.c (write_funcall) : handle macros.
5121           exporting Analysis.xls
5123         * ms-formula-read.c (excel_parse_formula) : REF_3D, and AREA_3D for
5124           biff7 seem to use the shared flag to define whether to sign extend.
5126         * ms-excel-read.c (excel_parse_name) : name expressions are parsed as
5127           shared.  Not sure about this.  This seems to work for the oo name
5128           and relref tests.  Do more validation.
5129         (ms_wb_get_font_markup) : suppress warning.
5130         (excel_read_BOOLERR) : new split from.
5131         (excel_read_sheet) : here.
5133         * ms-chart.c (BC_R(alruns)) : do not leak content. [#157059]
5134         (BC_R(pieformat)) : The magic 0xfffd in dataformat seems to do
5135           something here too.  Without it plots that had a default separation
5136           were thinking that it was just for 1 pt.
5138 2005-09-30  Jean Brefort  <jean.brefort@normalesup.org>
5140         * ms-chart.c: (text), (xl_chart_import_error_bar): fixed style leaks.
5142 2005-09-30  Jean Brefort  <jean.brefort@normalesup.org>
5144         * ms-chart.c: (xl_chart_import_reg_curve): set the correct value to the
5145         "affine" property.
5147 2005-09-28  Jody Goldberg <jody@gnome.org>
5149         * ms-chart.c (xl_chart_import_reg_curve) : split out from
5150           ms_excel_chart_read.
5151         (xl_chart_import_error_bar) : ditto.
5153         * ms-excel-write.c (excel_font_overlay_pango) : check super/sub scripts.
5154         (excel_font_hash) : ditto.
5155         (excel_font_equal) : ditto.
5156         (excel_font_new) : init the super/sub status
5157         (map_underline_to_xl) : new.
5158         (map_script_to_xl) : new.
5159         (cb_write_condition) : handle super/sub script.
5160         (excel_write_FONT) : ditto.
5161         (excel_font_new) : ditto.
5163         * ms-excel-read.c (ms_wb_get_font_markup) : The super/subscript
5164           distances were broken.  Use 5000 not 500.  Seems like we may want a
5165           scale in there too.
5166         (excel_read_FONT) : Use GOFontScript
5167         (excel_get_style_from_xf) : store the script (super/sub)
5168         (excel_read_CF) : handle scripts.
5170 2005-09-26  Jean Brefort  <jean.brefort@normalesup.org>
5172         * ms-chart.c: (axislineformat): read the areaformat for type 3
5173         to avoid a style leak.
5175 2005-09-21  Jean Brefort  <jean.brefort@normalesup.org>
5177         * ms-chart.c: (chart_write_MARKERFORMAT): don't use style if NULL.
5179 2005-09-21  Jean Brefort  <jean.brefort@normalesup.org>
5181         * ms-chart.c: (markerformat): enhance markers import for MS_BIFF_V8
5182         (chart_write_MARKERFORMAT): enhanced export as well.
5184 2005-09-18  Jody Goldberg <jody@gnome.org>
5186         * ms-chart.c (BC_R(radar)) : XL defaults to having markers, goffice
5187           does not.
5188         * ms-chart.c (chart_write_plot) : check marker status for radar plots.
5190 2005-09-14  Jean Brefort  <jean.brefort@normalesup.org>
5192         * ms-chart.c: (ms_excel_chart_read): import polynomial, exponential and
5193         logarithmic regression curves.
5195 2005-09-08  Jody Goldberg <jody@gnome.org>
5197         * Release 1.5.90
5199 2005-09-06  Jody Goldberg <jody@gnome.org>
5201         * ms-excel-read.c (excel_formula_shared) : finish TABLE importer.
5202         * ms-excel-write.c (excel_write_FORMULA) : finish TABLE exporter.
5204 2005-09-04  Jody Goldberg <jody@gnome.org>
5206         * ms-excel-write.c (excel_write_ClientTextbox) : property is called
5207           'text' not 'label'
5209 2005-09-04  Jody Goldberg <jody@gnome.org>
5211         * ms-chart.c (chart_write_AI) : Move logic from #152317 here.
5212           If we are writing an expression with only a string constant do not
5213           quote it.
5215 2005-08-29  Jody Goldberg <jody@gnome.org>
5217         * ms-formula-read.c (excel_parse_formula) : support data tables.
5218         * ms-excel-read.c (excel_formula_shared) : ditto.
5219         * ms-formula-write.c (write_node) : ditto.
5220         * ms-excel-write.c (excel_write_FORMULA) : ditto.
5222 2005-08-27  Jody Goldberg <jody@gnome.org>
5224         * ms-obj.c (ms_obj_map_forms_obj) : no need to warn about record with
5225           no expressions. (Wallenbach/Formulas-2003/chap05/character\ set.xls)
5227 2005-08-28  Morten Welinder <terra@gnome.org>
5229         * Release 1.5.5
5231 2005-08-28  Morten Welinder <terra@gnome.org>
5233         * Release 1.5.4
5235 2005-08-25  Stepan Kasal  <kasal@ucw.cz>
5237         * ms-chart.c (BC_R(text)): Comment out declarations of variables for
5238         commented out code.
5240 2005-08-24  Jody Goldberg <jody@gnome.org>
5242         * ms-excel-write.c (excel_font_new) : typo. [#314206]
5244 2005-08-17  Jean Brefort  <jean.brefort@normalesup.org>
5246         * ms-chart.c (ms_excel_chart_write): fix a compilation warning
5247         introduced yesterday and also a multiple chart export problem
5248         (#310967).
5250 2005-08-15  Morten Welinder <terra@gnome.org>
5252         * Release 1.5.3
5254 2005-08-15  Jean Brefort  <jean.brefort@normalesup.org>
5256         * ms-chart.c: (ms_excel_chart_write): unref state.root_view.
5258 2005-08-05  Stepan Kasal  <kasal@ucw.cz>
5260         * ms-excel-write.c (excel_write_string): Fix warning.
5262 2005-08-04  Jody Goldberg <jody@gnome.org>
5264         From Nick Lamb <njl98r@ecs.soton.ac.uk>
5265         * ms-excel-read.c (excel_read_XF_OLD) : improve alignment and
5266           rotation handling.
5268 2005-08-04  Jody Goldberg <jody@gnome.org>
5270         * ms-excel-read.c (excel_read_XF) : Add HALIGN_DISTRIBUTED. no idea
5271           what that does.
5273         * ms-obj.c (ms_read_OBJ) : no docs for OBJ before biff5.  Ignore to
5274           avoid problems.
5276         * ms-excel-util.c (init_xl_font_widths) : make the font hash case
5277           insensitive.
5279 2005-08-02  Jean Brefort  <jean.brefort@normalesup.org>
5281         * ms-chart.c (ms_excel_chart_read): fixed import x error bars.
5283 2005-08-01  Jody Goldberg <jody@gnome.org>
5285         * ms-excel-read.c (excel_read_WINDOW2) : Don't crash if there is no
5286           view.
5287         (excel_read_SELECTION) : ditto.
5288         (excel_read_PANE) : ditto. #309544
5290         * ms-excel-read.c (excel_palette_get) : add the tooltip colour
5291           ordinals
5293 2005-07-29  Jody Goldberg <jody@gnome.org>
5295         * ms-chart.c (BC_R(objectlink)) : store the style for labels
5296         (BC_R(fontx)) : lookup the font and assign it to a style.  Need to
5297           finish GOFont to store the remaining attributes.
5298         * ms-excel-read.c (excel_font_get_gofont) : new.
5299         (excel_read_FONT) : init the gofont member.
5300         (excel_font_free) : unref it here.
5302 2005-07-15  Jody Goldberg <jody@gnome.org>
5304         * ms-excel-write.c (excel_write_SETUP) : remove unecessary scaling.
5306 2005-07-15  Jon K Hellan  <hellan@acm.org>
5308         * ms-excel-write.c (excel_write_SETUP): Fix typo.
5310 2005-07-06  Jody Goldberg <jody@gnome.org>
5312         * ms-chart.c (BC_R(objectlink)) : fix leak. [#157058]
5314 2005-07-15  Jody Goldberg <jody@gnome.org>
5316         * ms-obj.c (ms_read_TXO) : handle CONTINUES for text
5317         (read_pre_biff8_read_text) : renamed from read_pre_biff8_read_str.
5318           Handle continues in text and markup.  The layout is _very_ odd.
5319           It seems that XL can write things it can not read.
5320         (read_pre_biff8_read_name_and_fmla) : handle the name reading inline,
5321           that is different from read_text.  The CONTINUE handling is very
5322           different.
5324         * ms-excel-write.c (excel_write_SETUP) : rewrite to handle the new
5325           flags.
5326         (write_sheet_head) : export value for BIFF_PRINTHEADERS and only
5327           export the left/right margins if they are set.
5329         * ms-excel-read.c : Store the ver in the importer rather than the
5330           container.
5331           s/ExcelWorkbook/GnmXLImporter/
5332           s/ewb/importer/
5333         (excel_get_chars) : renamed from ms_biff_get_chars.  Take an importer
5334           and use it's iconv rather than a global.
5335         (excel_get_text) : renamed from biff_get_text.  Take an importer
5336           rather than a ver.
5337         (excel_read_BOUNDSHEET) : new need for a ver arg, just use the importer.
5338         (esheet_ver) : new.
5339         (gnm_xl_importer_set_version) : new.
5340         (gnm_xl_importer_set_codepage) : rename from
5341           excel_iconv_open_for_import and store the iconv in the importer rather
5342           than as a global.  Add improved fallback and debug info.
5343         (excel_palette_get) : merge default palette handing into here and add
5344           0x7fff as a synonym for black.  We need a better solution for themed
5345           colours eventually.  Change signature to take an importer rather
5346           than the palette object directly.  That keeps us from digging into
5347           the import object directly.
5348         (excel_get_default_palette) : delete.
5349         (excel_read_XF_OLD) : use ver from importer, no need for arg.
5350         (excel_read_XF) : ditto.
5351         (excel_read_FORMULA) : clarify up the debug info.
5352         (ms_wb_get_font_markup) : better fallback for invalid fonts.
5353         (gnm_xl_importer_new) : renamed from excel_workbook_new and remove the
5354           version tag.  The importer is now created without a version, and we
5355           init that later.  It also has a larger life cycle with the plan to
5356           extend that and have gnumeric create it for the new in/out framework
5357           use gobjects.
5358         (gnm_xl_importer_free) : renamed from excel_workbook_destroy and close
5359           the iconv.
5360         (excel_read_name_str) : take an importer rather than a ver.
5361         (excel_read_SETUP) : rewrite to store the new biff8+ properties for
5362           comments and errors, and to add n_copies, and start page.
5363         (excel_read_CF) : turn off some debugging.
5364         (excel_read_sheet) : add handler for BIFF_PRINTHEADERS.
5365         (excel_read_BOF) : merge the standalone worksheet handler with the
5366           others.  Do not create the importer here, that get's passed in.
5367         (excel_read_workbook) : no need to set the global iconv here, the
5368           importer handles it.  Create the importer much earlier as a step
5369           towards gobjectificatin.
5371         * ms-chart.c (BC_R (ver)) : new to get the version from the importer
5372         (BC_R(area)) :
5373         (BC_R(attachedlabel)) :
5374         (BC_R(bar)) :
5375         (BC_R(line)) :
5376         (BC_R(markerformat)) :
5377         (BC_R(pie)) :
5378         (BC_R(scatter)) :
5379         (BC_R(series)) :
5380         (BC_R(shtprops)) :
5381         (BC_R(surf)) : Use it in place of passing in the ver
5382         (ms_excel_chart_read) : no need to pass version around
5383         (ms_chart_map_color) : adjust to change in excel_palette_get
5385         * ms-biff.c (ms_biff_password_hash) :
5386         (ms_biff_crypt_seq) :
5387         (ms_biff_pre_biff8_query_set_decrypt) :
5388         (ms_biff_query_set_decrypt) :
5389         (verify_password) : silence some sign difference warnings
5391 2005-07-11  Jody Goldberg <jody@gnome.org>
5393         * ms-excel-read.c (excel_read_IMDATA) : Read the CONTINUE records
5394           associated with the IMDATA even when not debugging. (#127756).
5396 2005-07-11  Jon K Hellan  <hellan@acm.org>
5398         * ms-excel-write.c (excel_write_SETUP): Export page
5399         orientation. I.e.: get the meaning of "orientation set" flag
5400         right, and don't mark it "invalid".
5402 2005-07-09  Jon K Hellan  <hellan@acm.org>
5404         * ms-excel-read.c (excel_read_workbook): Read BOF before entering
5405         record reading loop (#152528).
5407 2005-07-04  Jean Brefort  <jean.brefort@normalesup.org>
5409         * ms-chart.c: (ms_excel_chart_read): correctly import error bars
5410         for line plots (#309457).
5412 2005-07-01  Jean Brefort  <jean.brefort@normalesup.org>
5414         * ms-chart.c: (axislineformat): import axis grids,
5415         (chart_write_axis): export axis grids.
5417 2005-07-01  Jean Brefort  <jean.brefort@normalesup.org>
5419         * ms-chart.c: import error bars, (linear) regression curves and stock
5420         plots, export stock plots.
5422 2005-06-28  Jody Goldberg <jody@gnome.org>
5424         * ms-excel-write.c (cb_write_condition) : no need to unmap the kludge
5425           to handle overlays with back colours and no pattern.  We handle that
5426           in the core now.
5427         * ms-excel-read.c (excel_read_CF) : rather than kludging it here.  It
5428           was breaking when applying a conditional to a base that already had
5429           a pattern.
5431 2005-06-27  Jody Goldberg <jody@gnome.org>
5433         * ms-excel-read.c (excel_read_FORMULA) : improve debug output
5435 2005-06-22  Jody Goldberg <jody@gnome.org>
5437         * ms-excel-write.c (map_color_to_palette) : simplify
5438           and remove the direct comparisons to colours.  Just take an
5439           index and return it on NULL or auto.
5440         (xl_le_set_range) : new.
5441         (write_border) : new.
5442         (cb_write_condition) : new.
5443         (excel_write_conditions) : new.
5444         (excel_write_DVALs) : renamed from excel_write_DVAL.
5445         (excel_write_prep_conditions) : new.
5446         (put_colors) : look in conditional styles too.
5448         * ms-excel-read.c (excel_read_CF_border) : new.
5449         (excel_read_CF) : implement.
5450         (excel_read_CONDFMT) : complete.
5452 2005-06-13  Jody Goldberg <jody@gnome.org>
5454         * Release 1.5.2
5456 2005-06-02  Jody Goldberg <jody@gnome.org>
5458         * ms-formula-read.c (excel_parse_formula) : slight improvement of
5459           extended ptg parsing.  Use the test workbook to tell which items put
5460           something on the stack and which do not.
5462 2006-06-02  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5464         * plugins/excel/ms-chart.c (BC_R): use gog_object_set_position_flags.
5466 2005-05-25  Jody Goldberg <jody@gnome.org>
5468         * ms-excel-read.c (excel_read_sheet) : store the default style after
5469           we parse the sheet.  For older xls formats XF records happen after
5470           the BOF.
5472 2005-05-24  Morten Welinder  <terra@gnome.org>
5474         * ms-biff.c (ms_biff_query_destroy): Work harder at not leaving
5475         passwords in memory.
5476         (makekey): Ditto.
5477         (verify_password): Ditto.
5479         * ms-excel-read.c (excel_read_FILEPASS): Plug leak.
5481 2005-05-18  Jody Goldberg <jody@gnome.org>
5483         http://bugzilla.gnome.org/show_bug.cgi?id=166611
5484         * ms-formula-read.c (excel_parse_formula) : Create a fwd declaration
5485           of a NAME record that has not been read yet being used in a PTG_NAME.
5487         * ms-excel-read.c (excel_read_NAME) : keep a count of the name
5488           records and use fwd declaration if they exist.
5489         (excel_workbook_destroy) : move the names array into the workbook from
5490           the container.
5491         (excel_workbook_new) : ditto.
5493 2005-05-18  Jody Goldberg <jody@gnome.org>
5495         http://bugzilla.gnome.org/show_bug.cgi?id=304528
5496         * ms-chart.c (ms_excel_chart_read) : don't leak the array for invalid
5497           series (Analysis.xls).  Handle missing siindex record (chap03-1.xls).
5499 2005-05-19  Jody Goldberg <jody@gnome.org>
5501         http://bugzilla.gnome.org/show_bug.cgi?id=304558
5502         * ms-excel-read.c (excel_read_COLINFO) : we can't draw columns without
5503           margins yet so map their width to 4pts rather than hiding them.
5505 2005-05-17  Jody Goldberg <jody@gnome.org>
5507         * ms-chart.c (ms_excel_chart_read) : add some protection
5509 2005-05-17  Morten Welinder  <terra@gnome.org>
5511         * ms-chart.c (excel_chart_series_new): Set data[i].series also.
5513 2005-05-16  Jean Brefort  <jean.brefort@normalesup.org>
5515         * ms-chart.c: (ai): replace a g_assert by a warning,
5516         (seriestext): add a const to fix a compilation warning,
5517         (end): fix default-style-has-lines,
5518         (chart_write_AI): fix a compilation warning and labels export,
5519         (ms_excel_chart_write): export GogSurfaceSeries.
5521 2005-05-16  Morten Welinder  <terra@gnome.org>
5523         * ms-excel-read.c: Always set ->text_dir.
5525 2005-05-16  Jody Goldberg <jody@gnome.org>
5527         * ms-excel-write.c (excel_write_XF) : remove debug spew
5529 2005-05-14  Jean Brefort  <jean.brefort@normalesup.org>
5531         * ms-chart.c: (chart_write_AI): fixed tests, (chart_write_axis_sets ):
5532         add a missing break.
5534 2005-05-13  Jean Brefort  <jean.brefort@normalesup.org>
5536         * ms-chart.c: (chart_write_AI): don't forget toi export the >AI record
5537         even for constant labels!
5539 2005-05-13  Jean Brefort  <jean.brefort@normalesup.org>
5541         * ms-chart.c: (seriestext): use a constant GnmExpr instead of
5542         a GODataScalarStr, (chart_write_AI): export constant series labels,
5543         (chart_write_siindex): fix a stupid bug.
5546 2005-05-13  Jean Brefort  <jean.brefort@normalesup.org>
5548         * ms-chart.c: (chart_write_AI): fix a crash condition. Constant series
5549         names are not exported yet.
5551 2005-05-12  Jody Goldberg <jody@gnome.org>
5553         * ms-excel-read.c (excel_read_ROW) : fix debug spew
5555 2005-05-12  Jody Goldberg <jody@gnome.org>
5557         * ms-pivot.c (excel_read_pivot_caches) : don't produce warnings for
5558           files without OLE2 wrapper
5560 2005-05-12  Jean Brefort  <jean.brefort@normalesup.org>
5562         * ms-chart.c: export series data when constant;
5564 2005-05-10  Jody Goldberg <jody@gnome.org>
5566         * Release 1.5.1
5568 2005-05-09  Morten Welinder  <terra@gnome.org>
5570         * ms-chart.c (chart_write_axis): Fix C99ism.
5572 2005-04-23  Jody Goldberg <jody@gnome.org>
5574         * ms-formula-read.c (excel_func_desc) : We do not need the VARARG vs
5575           FIXED flags anymore min_args vs max_args is enough.  Replace both
5576           with XL_STD.
5577         (make_function) : No need to generate warnings about VAR vs FIXED
5578         * ms-formula-write.c (write_funcall) : Use max_args from the func
5579           descriptor
5581 2005-05-07  Jean Brefort  <jean.brefort@normalesup.org>
5583         * ms-chart.c: (excel_chart_series_new), (ai), (series), (siindex),
5584         (switch), (while), (if): enhanced import of data, and make some work
5585         on coutour plots export.
5587 2005-05-04  Jody Goldberg <jody@gnome.org>
5589         * ms-formula-read.c : Add ISHYPERLINK
5591         * ms-excel-write.c (excel_write_COLINFO) : patch a minor leak.
5593         * boot.c (excel_read_metadata) : close the meta data streams.
5594         (excel_file_open) : let the summary props overide the document.
5596 2005-04-10  Jean Brefort  <jean.brefort@normalesup.org>
5598         * ms-chart.c: (3d), (ai), (axis), (surf), (switch):
5599         import contours and surfaces plots.
5601 2005-04-09  Jody Goldberg <jody@gnome.org>
5603         * boot.c (excel_save) : Use the new GsfDocMetaData api
5604         (excel_read_metadata) : ditto.
5605         (excel_file_open) : ditto.
5607 2005-03-24  Stepan Kasal  <kasal@ucw.cz>
5609         * Makefile.am (excel_la_LIBADD): Add an explanation for $(Z_LIBS).
5611 2005-03-23  Jody Goldberg <jody@gnome.org>
5613         * ms-excel-read.c (excel_read_workbook) : add a hook to read pivot
5614           table caches.  It doesn't do much yet, but it's a start.
5615         * ms-biff.c (ms_biff_query_copy_decrypt) : new TODO
5616         * boot.c : Add a debug hook for pivots, and remove pointless comments
5617         * biff-types.h : update for the pivot table and cache elements
5618         * Makefile.am : Add ms-pivot.[ch]
5620 2005-03-23  Morten Welinder  <terra@gnome.org>
5622         * ms-escher.c (ms_escher_read_OPT): Use g_fopen, not fopen.
5623         * ms-excel-read.c (excel_read_IMDATA): Ditto.
5625 2005-03-15  Jody Goldberg <jody@gnome.org>
5627         * ms-excel-write.c (excel_write_workbook) : init n when totaling the
5628           number of cells.
5630 2005-03-14  Jean Brefort  <jean.brefort@normalesup.org>
5632         * ms-chart.c: import/export logarithmic axis.
5634 2005-03-13  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5636         * ms-chart.c (BC_R): use gog_chart_get_axes.
5637         (chart_write_axis_sets): use gog_chart_get_axis_set.
5638         s/AXIS_ELEM/GOG_AXIS_ELEM
5640 2005-03-12  Jody Goldberg <jody@gnome.org>
5642         * ms-excel-read.c (excel_read_DV) : Lists also have no use for
5643           operators.
5644           Invert the use_dropdown flag.  XL stores that as 'suppress combo'
5645         * ms-excel-write.c (excel_write_DV) : invert user_dropdown
5647 2005-03-11  Jean Brefort <jean.brefort@normalesup.org>
5649         * ms-chart.c (valuerange): import logarithmix axis mapping.
5651 2005-02-16  Jody Goldberg <jody@gnome.org>
5653         * ms-excel-write.c (excel_write_workbook) : Use count_io_progress_set
5654           so that we can remove workbook_io_progress_set.
5656 2005-02-09  Jody Goldberg <jody@gnome.org>
5658         * ms-excel-read.c (excel_read_BOUNDSHEET) : set the visibility of
5659           imported sheets.
5661 2005-02-08  Jody Goldberg <jody@gnome.org>
5663         * ms-excel-read.c (excel_read_SETUP) : drop debug spew
5665 2005-02-08  Morten Welinder  <terra@gnome.org>
5667         * ms-excel-write.c (txomarkup_new): Work around Pango bug #166700.
5668         Don't compare freed pointer against NULL.  Fixes #166532.
5670 2005-02-07  Jody Goldberg <jody@gnome.org>
5672         * ms-excel-write.c (excel_write_SETUP) : store the fit to pages width
5673           and height.
5674         (excel_write_WSBOOL) : set the fit to page flag.
5676         * ms-excel-read.c (excel_read_WSBOOL) : read the fit to page flag.
5677         (excel_read_SETUP) : read the fit to pages width and height.
5679 2005-02-08  Jody Goldberg <jody@gnome.org>
5681         * Release 1.5.0
5683 2005-02-07  Morten Welinder  <terra@gnome.org>
5685         * ms-excel-write.c (excel_font_overlay_pango): Plug leak.
5686         [#166561]
5688 2004-12-07  Jody Goldberg <jody@gnome.org>
5690         * ms-excel-write.c (excel_write_WINDOW2) : export sheet level rtl
5691           setting (we could move it to SheetView)
5692         (build_xf_data) : store the text dir.
5693         (excel_write_XF) : write it.
5695         * ms-excel-read.c (excel_read_WINDOW2) : read sheet level rtl flag
5696         (excel_read_XF) : read the text dir.
5697         (excel_get_style_from_xf) : store the text dir.
5699 2005-01-17  Jody Goldberg <jody@gnome.org>
5701         * Release 1.4.2
5703 2005-01-16  Jody Goldberg <jody@gnome.org>
5705         * ms-excel-write.c (excel_write_COLINFO) : fix the breakage
5707         http://bugzilla.gnome.org/show_bug.cgi?id=163236
5708         * ms-formula-read.c (excel_func_desc) : Merge in the latest OOo data
5709           and some new research
5711         * boot.c (plugin_init) : add some function table validation tests.
5712           We'll want more as the data structures get cleaned up
5714 2005-01-14  Jody Goldberg <jody@gnome.org>
5716         http://bugzilla.gnome.org/show_bug.cgi?id=155719
5717         * ms-excel-write.c (writer_header_footer) : quick and easy
5718           implementation.
5719         * ms-excel-read.c (xl_hf_strstr) : simple handling of XL's ampersand
5720           escaping.
5721         (excel_read_HEADER_FOOTER) : implement.
5723 2005-01-13  Jody Goldberg <jody@gnome.org>
5725         http://bugzilla.gnome.org/show_bug.cgi?id=163409
5726         * ms-excel-write.c (excel_write_COLINFO) : handle ci == NULL
5727           so that we can export empty cols with formats.  If the format is the
5728           same as the sheet default don't bother to export.
5729         (excel_write_colinfos) : we may need to export empty cols.
5731 2005-01-10  Jody Goldberg <jody@gnome.org>
5733         http://bugzilla.gnome.org/show_bug.cgi?id=163406
5734         * ms-excel-util.c (init_xl_font_widths) : fix entries for Bitstream
5735           Vera and Sans
5737 2005-01-10  Jody Goldberg <jody@gnome.org>
5739         * ms-formula-write.c (write_arrays) : handle booleans and errors in
5740           arrays
5742 2004-11-13  Jody Goldberg <jody@gnome.org>
5744         * ms-excel-read.c (ms_sheet_realize_obj) : We have a clear separation
5745           between create and realize now, we should use it.  This routine sets
5746           the content.
5747         (ms_sheet_create_obj) : this one creates objects for use later.
5748           I am not entire happy with this split.  It no longer feels
5749           necessary but it is much too close to release to contemplate
5750           cleaning it up.
5752 2004-12-17  Jody Goldberg <jody@gnome.org>
5754         http://bugzilla.gnome.org/show_bug.cgi?id=161534
5755         * ms-excel-read.c (excel_read_DIMENSIONS) : be extra anal with
5756           dimension records because they have ordinal zero
5758 2004-11-20  J.H.M. Dassen (Ray) <jdassen@debian.org>
5760         * ms-excel-read.c (excel_read_SETUP): Also import paper sizes for which
5761         gnome-print doesn't have names.
5763 2004-12-09  Jody Goldberg <jody@gnome.org>
5765         * Release 1.4.1
5767 2004-12-09  Jody Goldberg <jody@gnome.org>
5769         * ms-chart.c (BC_R(surf)) : prep but leave ifdefed to avoid problems
5770           with XL's funky representation of axes.
5772 2004-11-28  Jody Goldberg <jody@gnome.org>
5774         * Release 1.4.0
5776 2004-11-28  Jody Goldberg <jody@gnome.org>
5778         * ms-excel-read.c (excel_read_WINDOW2) : document rtl
5779         * ms-excel-write.c (excel_write_WINDOW2) : ditto
5781 2004-11-19  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5783         * ms-chart.c (BC_R(radararea)): type of area radar is
5784         GogRadarAreaPlot.
5785         (chart_write_plot): ditto.
5787 2004-11-16  Jody Goldberg <jody@gnome.org>
5789         * ms-chart.c (ms_excel_chart_write) : ultra-basic handling of graphs
5790           with multiple charts
5792 2004-11-15  Jody Goldberg <jody@gnome.org>
5794         * ms-excel-read.c (excel_read_SETUP) : hide some spurious debug spew
5796 2004-11-15  Jody Goldberg <jody@gnome.org>
5798         http://bugzilla.gnome.org/show_bug.cgi?id=157997
5799         * ms-excel-read.c (ms_sheet_realize_obj) : a temp patch for the object
5800           double unrefing.  A more significant patch is waiting for after
5801           release.
5803 2004-11-14  J.H.M. Dassen (Ray) <jdassen@debian.org>
5805         * ms-excel-read.c (excel_read_SETUP): Import paper sizes. This works
5806           now that we have delayed instantiation of print configs. For now it
5807           only works for paper sizes for which gnome-print has names though.
5809 2004-11-07  Jody Goldberg <jody@gnome.org>
5811         * Release 1.3.93
5813 2004-10-31  Jody Goldberg <jody@gnome.org>
5815         * Release 1.3.92
5817 2004-11-01  Morten Welinder  <terra@gnome.org>
5819         * ms-excel-read.c (ms_biff_get_chars): Give g_iconv the right kind
5820         of pointer.
5822         * ms-excel-write.c (excel_write_string): Ditto.
5823         (excel_write_string_len): Change second argument to be size_t*.
5825         * ms-excel-read.h (ms_biff_get_chars): Give g_iconv the right kind
5826         of pointer.
5828         * ms-excel-write.h (excel_write_string_len): Change second
5829         argument to be size_t*.
5831         * ms-escher.c (ms_escher_get_data): Fix confusion between
5832         ptrdiff_t and int.
5834 2004-10-18  Jon K Hellan  <hellan@acm.org>
5836         * ms-obj.c (ms_obj_read_pre_biff8_obj): Unref pixbuf returned by
5837         excel_read_IMDATA.
5839         * ms-excel-read.c (excel_read_os2bmp): New. Handle headerless OS/2
5840         bitmap.
5841         (excel_read_IMDATA): Call excel_read_os2bmp to handle OS/2
5842         BMP. Other format may be dumped to file.
5843         (excel_read_sheet): Unref pixbuf returned by excel_read_IMDATA.
5845 2004-10-15  Morten Welinder  <terra@gnome.org>
5847         * ms-excel-write.c (excel_sheet_new): Don't free the same thing
5848         twice.
5850 2004-10-11  Morten Welinder  <terra@gnome.org>
5852         * ms-excel-read.c (ms_sheet_realize_obj): Plug leak.
5854 2004-10-10  Jody Goldberg <jody@gnome.org>
5856         * ms-obj.c (ms_obj_map_forms_obj) : move here and pull in the linked
5857           cell data when available.
5859 2004-10-08  Jody Goldberg <jody@gnome.org>
5861         * ms-obj.c (ms_obj_read_biff8_obj) : some simple mapping from Forms
5862           objects to things we understand.  No properties imported yet.
5864         http://bugzilla.gnome.org/show_bug.cgi?id=154734
5865         * ms-chart.c (BC_R(end)) : cheesy swapping of the formatting
5866           associated with X and Y axes for bar plots.
5868 2004-10-05  Jody Goldberg <jody@gnome.org>
5870         * Release 1.3.91
5872 2004-09-16  Stepan Kasal  <kasal@ucw.cz>
5874         * Makefile.am (excel_la_LIBADD): New variable, set to $(Z_LIBS).
5875         (INCLUDES): add $(Z_CPPFLAGS)
5877 2004-09-24  Jody Goldberg <jody@gnome.org>
5879         * ms-obj.c (ms_obj_attr_new_flag) : add some safety checking
5880         (ms_obj_read_pre_biff8_obj) : merge up the handling of similar
5881           structures to get more consistent import.
5883         * ms-excel-write.c (excel_write_objs) : now that text boxes and
5884           rectangles are the same we need to do more work to figure out which
5885           are which.  Make a list and use that in place of repeated lookups.
5886         (excel_sheet_new) : make the list here.
5887         (excel_write_state_new) : use the list.
5888         (excel_sheet_free) : new.
5889         (excel_write_state_free) : use excel_sheet_free.
5891         * ms-excel-read.c (ms_sheet_map_color) : rework to use GOColor
5892         (ms_sheet_realize_obj) : simplify greatly by using GObject properties
5893           with common names in the sheet objects and merging the handling of
5894           related types (text==rectangle ...)
5895         (ms_sheet_create_obj) : Use the new object types in a step towards
5896           removing this function.
5898         * ms-escher.c (ms_escher_read_OPT_bools) : new.
5899         (ms_escher_read_OPT) : read the boolean blocks as a group to avoid
5900           kludging around the infrastructure for 1:1 properties.
5901          While in here make the debug spew for complex options more useful
5902          Store PTR properties
5904 2004-09-17  Jody Goldberg <jody@gnome.org>
5906         * ms-excel-read.c (ms_sheet_realize_obj) : default to outline with == 1
5908 2004-09-22  Jody Goldberg <jody@gnome.org>
5910         http://bugzilla.gnome.org/show_bug.cgi?id=153260
5911         * ms-excel-write.c (excel_write_BOF) : use the versioned ids directly
5912         (excel_write_FORMULA) : ARRAY is v2 for the versions we can export
5914         * ms-excel-read.c (excel_unexpected_biff) : tweak the typing for
5915           printf
5916         (ms_biff_bof_data_new) : straight to opcodes.
5917         (excel_read_PALETTE) : ditto.
5918         (excel_formula_shared) : ditto.
5919         (excel_read_DEF_ROW_HEIGHT) : ditto.
5920         (excel_read_FORMULA) : ditto, but be careful.  Use the BOF version,
5921           not the record.  Our export was dropping the version.
5922         (excel_read_ROW) : better handling for old versions.
5924         * ms-chart.c (ms_excel_chart_read) : use raw opcodes for non-chart
5925           records
5927         * ms-biff.c : Drop all the ms_op ls_op nonsense and just store opcode
5928           a straight 16 bit id.
5930         * biff-types.h : Rework to include explicit versioning for all records
5931           We were hitting too many odd ball records with invalid versioning
5932           Not just 0x1<byte>, but also 0x8<byte> even though that is a valid
5933           version.
5935 2004-09-16  Jody Goldberg <jody@gnome.org>
5937         * ms-excel-read.c (xl_find_fontspec) : Scale the right direction
5939 2004-09-18  J.H.M. Dassen (Ray) <jdassen@debian.org>
5941         * ms-excel-read.c: Added comments on how the paper size information can
5942           be used once gnome-print's API has been extended.
5944 2004-09-17  Jody Goldberg <jody@gnome.org>
5946         * ms-escher.c (ms_escher_read_OPT) : make debug spew slightly easier
5947           to read.
5949 2004-09-16  Jon K Hellan  <hellan@acm.org>
5951         * ms-excel-write.c (xf_init): Register default XF, its font and
5952         format here.
5953         (pre_pass): Not here.
5955 2004-09-15  Jon K Hellan  <hellan@acm.org>
5957         * ms-excel-write.c (txomarkup_new): New. Factored out of
5958         cb_cell_pre_pass.
5959         (cb_cell_pre_pass): See above.
5960         (excel_write_ClientTextbox): Change first parameter to
5961         ExcelWriteState. Save markup.
5962         (excel_write_textbox): See above.
5963         (extract_txomarkup): New. Extract markup for text object and store
5964         in hash table.
5966 2004-09-14  Jody Goldberg <jody@gnome.org>
5968         * ms-excel-util.c (init_xl_font_widths) : rework the font table
5969           completely to use more closely calibrated size info.
5971         * ms-excel-read.c (base_char_width_for_read) : delete
5972         (xl_find_fontspec) : new.
5973         (excel_read_COLINFO) : rework to simplify by using the new font table,
5974           and sync it with the exporter.
5975         (excel_read_DEF_COL_WIDTH) : ditto.
5976         (excel_read_sheet) : Store the default style on import.  We have no
5977           way of modifying it at run time, so we might as well use it for
5978           export.
5980 2004-09-09  Jody Goldberg <jody@gnome.org>
5982         * ms-chart.c (BC_R(pieformat)) : Store the separation for singletons
5983         (cb_store_singletons) : Check for pie separation and use it
5985 2004-09-09  Jody Goldberg <jody@gnome.org>
5987         * ms-chart.c (excel_chart_series_new) : init singletons
5988         (excel_chart_series_delete) : free singletons if necessary
5989         (BC_R(end)) : Create any singletons for the newly created series
5991 2004-09-09  Morten Welinder  <terra@gnome.org>
5993         * ms-excel-read.c (excel_read_PALETTE): Plug leak.
5995 2004-09-08  Jody Goldberg <jody@gnome.org>
5997         * Release 1.3.90
5999 2004-09-07  Jody Goldberg <jody@gnome.org>
6001         * ms-excel-write.c (palette_init) : Just use biff8 palette.  We're
6002           going to dump a custom palette anyway so it does not really matter
6004 2004-09-04  Jon K Hellan  <hellan@acm.org>
6006         * ms-excel-write.c (excel_write_ClientTextbox,
6007         excel_write_textbox): Implement simple text box export.
6008         (excel_write_objs, excel_sheet_new): Export text boxes.
6010 2004-09-03  Jody Goldberg <jody@gnome.org>
6012         * ms-excel-write.c (palette_init) : Export the xlp5 colours too
6014         * ms-obj.c (ms_obj_read_pre_biff8_obj) : remove some unnecssary
6015           pre-conditions that got confused when there was no name even when we
6016           were not expecting one.
6017         (excel_get_default_palette) : get a corrected palette for biff7.
6019         * ms-excel-read.c (ms_sheet_realize_obj) : merge the realization of
6020           text/label/rectangle/oval they all inherit from sheet-object-filled.
6022         * ms-escher.c (ms_escher_read_OPT) : Make some headway understanding
6023           booleans and use that to fix outline and fill handling.
6025 2004-09-02  Jody Goldberg <jody@gnome.org>
6027         http://bugzilla.gnome.org/show_bug.cgi?id=151618
6028         * plugins/excel/ms-chart.c (BC_R(end)) : Add the plot to the chart
6029           before setting it up so that the initial setup does not override the
6030           formating
6032 2004-08-31  Jody Goldberg <jody@gnome.org>
6034         * ms-biff.c (ms_biff_crypt_seq) : Add some bounds checking
6035           We need more docs in here.
6037 2004-08-30  Jody Goldberg <jody@gnome.org>
6039         * ms-excel-write.c (excel_write_BOUNDSHEET) : Export the sheet types
6040           we can import (worksheet, chart, xlm).
6041           Export sheet visibility too
6043 2004-08-31  Morten Welinder  <terra@gnome.org>
6045         * md5.c (wvMD5Init, wvMD5Update): Use ANSI prototypes.
6047 2004-08-29  Jody Goldberg <jody@gnome.org>
6049         * plugin.xml.in : disable the non-functional spreadsheetml importer
6051 2004-08-29  Jody Goldberg <jody@gnome.org>
6053         * Release 1.3.2
6055 2004-08-29  Jody Goldberg <jody@gnome.org>
6057         http://bugzilla.gnome.org/show_bug.cgi?id=151150
6058         * ms-chart.c (ms_excel_chart_write) : bar/col plots center axis ticks
6060 2004-08-27  Jody Goldberg <jody@gnome.org>
6062         * ms-chart.c (ms_excel_chart_write) : MS Xl can not handle plots with
6063           no data.  Drop them with a warning.
6065         * ms-excel-write.c (excel_write_workbook) : We only need a header if
6066           we're going to export an image.
6068 2004-08-26  Jon K Hellan  <hellan@acm.org>
6070         * ms-excel-write.c: Remove ENABLE_METAFILE ifdef
6072 2004-08-22  Jody Goldberg <jody@gnome.org>
6074         * ms-chart.c (BC_R(area,bar,line)) : Use the in_3d placeholders in
6075           plot_1_5d, we already export it.
6077 2004-08-21  Jon K Hellan  <hellan@acm.org>
6079         * ms-excel-read.c (excel_read_IMDATA): Add comment about OS/2 BMP
6080         format.
6082 2004-08-20  Jody Goldberg <jody@gnome.org>
6084         * ms-excel-read.c (excel_read_BOUNDSHEET) : Fix differentiation
6085           between sheet and chart, then handle both.
6086         (excel_read_BOF) : Handle full page charts.
6088         * ms-chart.c (BC_R(pieformat)) : no need to limit separation here.
6089           The plot can handle it.
6091 2004-08-17  Jon K Hellan  <hellan@acm.org>
6093         * ms-excel-write.c: Enable WMF/EMF export.
6094         (blipinf_free): Don't crash if blip is NULL. That's supposed to
6095         happen.
6096         (excel_write_vector_blip): Fix off by 8 bytes error.
6098 2004-08-12  Jody Goldberg <jody@gnome.org>
6100         * ms-excel-util.c (init_xl_font_widths) : adjust the sizes for 'Sans'
6101           to conform to XL's notion of an unknown font
6103 2004-08-15  Jody Goldberg <jody@gnome.org>
6105         * ms-formula-write.c (write_node) : get closer to matching the classes
6106           for the more obscure variants, OOo is wrong, but I don't have a
6107           clear map on what is right yet.
6109         * ms-excel-write.c (excel_write_BOF) : update the version in the BOF a
6110           bit.
6112         * ms-formula-read.c : tweak the expected return types for SUM,
6113           TRANSPOSE, MINVERSE, and MMULT
6115 2004-08-11  Jon K Hellan  <hellan@acm.org>
6117         * ms-excel-read.c (excel_formula_shared): Simplify using g_memdup.
6118         (excel_read_IMDATA): Initialize variables.
6120         * ms-escher.c (ms_escher_blip_new, ms_escher_read_ClientAnchor):
6121         Ditto.
6123         * crypt-md4.c: Include crypt-md4.h and make signatures consistent
6124         with it.
6126         * crypt-md4.h: Add include guards.
6128 2004-08-11  Jon K Hellan  <hellan@acm.org>
6130         Export images.
6132         * Makefile.am (excel_la_SOURCES): Add crypt-md4.[ch]
6134         * crypt-md4.[ch]. New files. MD4 checksum to use as BLIP
6135         id. Grabbed from Ethereal, originally from Samba.
6137         * ms-excel-write.c:
6138         (blipinf_new): New function. Initialize a record for image data.
6139         (blipinf_free): New function. Free an image data record.
6140         (excel_write_image): New function. Write an image Sp record
6141         referencing a BLIP.
6142         (excel_write_objs): Include images in record length. Write images.
6143         (excel_sheet_new): Save image info.
6144         (excel_write_image_bytes): New function. Save image in chunks,
6145         letting the biff layer insert CONTINUE records.
6146         (excel_write_vector_blip): New function. Save a vector format BLIP.
6147         (excel_write_raster_blip): New function. Save a raster format BLIP.
6148         (get_bliptype): New function. Get bliptype record.
6149         (excel_write_blip): New function. Save an image BLIP.
6150         (excel_write_blips): New function. Save the images as BLIPs.
6151         (excel_write_workbook): Get length of BLIP records. Call
6152         excel_write_blips.
6153         (excel_write_state_new): Initialize cur_blip.
6154         (excel_write_state_free): Free BLIP lists from sheets.
6156         * ms-excel-write.h (struct ExcelWriteSheet): Add blips, num_blips.
6157         (struct _ExcelWriteState): Add cur_blip.
6159 2004-07-10  Jody Goldberg <jody@gnome.org>
6161         * ms-excel-write.c (excel_write_workbook) : write WINDOW1 for all the views
6162         (excel_write_sheet) : Drop the WINDOW1 here but expand to write a
6163           WINDOW2, PANE, SCL, SELECTION tuple for all views, not just the
6164           current
6166 2004-07-19  Jody Goldberg <jody@gnome.org>
6168         * Release 1.3.1
6170 2004-07-05  Jody Goldberg <jody@gnome.org>
6172         * ms-excel-read.c (excel_read_IMDATA) : Add an optional mechanism for
6173           doing something with the data.  Still not entirely sure what format
6174           it is.  I'd hoped BMP but that does not appear to work.
6176         * biff-types.h : Add a few more records
6178 2004-06-29  Jody Goldberg <jody@gnome.org>
6180         * ms-excel-read.c (excel_read_REFMODE) : new.
6181         * ms-excel-write.c (write_sheet_head) : export REFMODE
6183 2004-06-26  Jody Goldberg <jody@gnome.org>
6185         * boot.c (excel_read_metadata) : Failure is a warning, not
6186           catastrophic
6188         * ms-chart.c (ms_excel_chart_write) : do not write FBI
6189         (chart_write_axis_sets) : Handle transposed X-Y (bars)
6191 2004-06-22  Jody Goldberg <jody@gnome.org>
6193         * ms-excel-write.c (extract_gog_object_style) : handle no fmt for axis.
6194         (excel_write_objs) : the count is +1, not the spid
6196 2004-06-20  Jody Goldberg <jody@gnome.org>
6198         * ms-excel-write.c (palette_get_index) : make public
6199         (excel_write_start_drawing) : new to handle spids across sheets.
6200         (excel_write_autofilter_objs) : use it.
6201         (excel_write_chart) : use it.
6202         (excel_write_objs) : do more detailed obj setup here.
6203         (put_color) : minor simplification.
6204         (extract_gog_object_style) : new
6205         (excel_write_state_new) : use it to collect the colors for the
6206           palette.
6207         (excel_sheet_new) : decide on sheet obejcts to export here.
6209         * ms-escher.c (-excel_write_MS_O_DRAWING_GROUP) : delete
6211         * ms-chart.c (}) : First pass at a basicly working chart exporter
6213 2004-06-13  Jody Goldberg <jody@gnome.org>
6215         * ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : merge the xp and 2k
6216           versions and tidy up.  This will likely need some work for blips
6218         * ms-chart.c (chart_write_plot) : implement the plot types we can
6219           import.
6220         (chart_write_axis) : provide a default for inverted and
6221           log-scale so that we only set them if lookup succeeds.
6222         (ms_excel_write_chart) : more work.  gnumeric and OOo can
6223           now import the basic column charts.  XL does not like the colours
6224           and gets the formating wrong, but it can at least read a single
6225           chart happilly.
6227         * ms-excel-write.c (excel_write_chart) : put the spid in the write
6228           spot I was off by two bytes.
6229         (excel_write_autofilter_objs) : Move the container wrapper from here
6230         (excel_write_objs) : to this new routine so that it can be shared by
6231           filters and charts.  We are now close to bit perfect matches to XP.
6233 2004-06-07  Jody Goldberg <jody@gnome.org>
6235         * ms-excel-write.c (excel_write_chart) : add and End after the common
6237         * ms-chart.c (chart_write_color) : write.
6239 2004-06-08  Morten Welinder  <terra@gnome.org>
6241         * ms-excel-read.c (excel_read_FILEPASS): Use gnm_destroy_password.
6243 2004-06-05  Jody Goldberg <jody@gnome.org>
6245         * ms-excel-write.c (excel_write_chart) : sync the sizes when exporting
6246           the anchor and object id.
6248 2004-06-01  Jody Goldberg <jody@gnome.org>
6250         * ms-chart.c (BC_R(end)) : patch style leak
6252 2004-05-31  Jody Goldberg <jody@gnome.org>
6254         * ms-chart.c : more fill in the blanks work towards export.
6255         (BC_R(seriestext)) : Use the simpler GODataScalarStr
6257 2004-05-26  Jody Goldberg <jody@gnome.org>
6259         * ms-excel-write.c (excel_write_AUTOFILTERINFO) : Use the right buffer
6261 2004-05-24  Jody Goldberg <jody@gnome.org>
6263         * ms-chart.c : more work towards chart export
6265         * ms-biff.c (ms_biff_put_2byte) : fix.
6267 2004-05-21  Jody Goldberg <jody@gnome.org>
6269         * ms-excel-read.c (excel_read_WSBOOL) : add more comments.
6271         * ms-chart.c (ms_excel_write_chart) : start filling in some of the
6272           blanks.  No where near functional, but at least we can operate in
6273           'paint by numbers' mode for a while.
6275         * ms-biff.c (ms_biff_put_empty) : new util
6276         (ms_biff_put_2byte) : ditto.
6278         * ms-excel-write.c : Use the new utilities to clarify the code.
6279         (excel_write_SETUP) : make public for use in chart export
6280         (excel_write_SCL) : make public for use in chart export
6282 2004-05-20  Morten Welinder  <terra@gnome.org>
6284         * ms-escher.c (ms_escher_read_Blip): We were reading 8 bytes too
6285         few.
6287 2004-05-15  Jody Goldberg <jody@gnome.org>
6289         * ms-excel-write.c (excel_write_BOF) : init the len for bifftypes
6290           before biff8.
6291         http://bugzilla.gnome.org/show_bug.cgi?id=103054
6292         (write_sheet_head) : put externsheet tables in every sheet for biff7
6293         (excel_write_externsheets_v8) : The self reference is for the addin,
6294           not the others.  Fixes 103054 for XL97
6295         (excel_write_workbook) : NAME records start at 0, not at the end of
6296           the externname table
6298         * boot.c (excel_file_open) : 95 in should export as 95
6299         (find_content_stream) : keep track of what type of stream this is.
6301         * ms-chart.c (BC_R(axislineformat)) : deleted axis still exist, and
6302           they hide their labels here rather than in tick.  Don't apply grid
6303           line styles to the axis.
6305 2004-05-10  Jody Goldberg <jody@gnome.org>
6307         * ms-chart.c (BC_R(end)) : doh!  Use the ExcelSeries::has_legend to
6308           set the GogSeries not the GogSeries on itself.
6310 2004-05-09  Jody Goldberg <jody@gnome.org>
6312         * ms-excel-read.c (excel_read_WINDOW2) : It seems like there can be
6313           multiple WINDOW2, SCL, PANE, SELECTION blocks when there are
6314           multiple windows.  For now we don't support importing multiple views
6315           so we need to at leat not break if a previous view was frozen.
6317 2004-05-07  Jody Goldberg <jody@gnome.org>
6319         * ms-biff.c (ms_biff_put_var_write) : Quick and simple support for
6320           continue.  It will not split a block of content, but it will split
6321           between blocks (attempted writes).
6323 2004-05-06  Jody Goldberg <jody@gnome.org>
6325         * ms-obj.c (ms_obj_attr_get_*) : Take an attrbag rather than an obj to
6326          be more useful.
6328         * ms-escher.c (ms_escher_read_container) : add a
6329           'return_attrs_in_container' kludge parameter.
6330         (ms_escher_parse) : make the return of the attributes optional and
6331           actually make it work.
6332         (ms_escher_read_OPT) : load properties for gradients.
6334         * ms-chart.c (BC_R(gelframe)) : support gradients
6335         (BC_R(legend)) : store the legend object.
6336         (BC_R(legendxn)) : notice deleted legend elements.
6337         (BC_R(text)) : import the text colour.
6338         (BC_R(end)) : support legend styles and clarify the grid vs plotarea
6339           distinction.
6341 2004-05-03  Jody Goldberg <jody@gnome.org>
6343         * excel-xml-read.c : some tweaks to get a layout that will support
6344           richtext.
6346 2004-05-04  Morten Welinder  <terra@gnome.org>
6348         * ms-excel-write.c (excel_write_DV): Map VALIDATION_OP_NONE to
6349         VALIDATION_OP_BETWEEN on save.
6351         * ms-excel-read.c (excel_read_DV): Make sure
6352         VALIDATION_TYPE_CUSTOM is paired with VALIDATION_OP_NONE.
6354 2004-04-29  Jody Goldberg <jody@gnome.org>
6356         * ms-excel-write.c (excel_font_overlay_pango) : new.
6357         (excel_write_RSTRING) : new.
6358         (cb_cell_pre_pass) : merge cb_collect_value_fmts, sst_collect_str
6359           add support for richtext
6360         (excel_write_cell) : export RSTRINGS for richtext
6362 2004-04-22  Jody Goldberg <jody@gnome.org>
6364         http://bugzilla.gnome.org/show_bug.cgi?id=136086
6365         * ms-excel-write.c (excel_sheet_write_DBCELL) : optimization was a bit
6366           optimistic.  Even if there are no values, we still need to export
6367           rows with visible formating (borders, backgrounds, ...)
6369 2004-04-21  Morten Welinder  <terra@gnome.org>
6371         * ms-excel-read.c (excel_read_LABEL): Plug leak.
6373 2004-04-20  Jody Goldberg <jody@gnome.org>
6375         * ms-excel-read.c (sst_read_string) : Use the right string when
6376           calculating offsets.
6378 2004-04-19  Jody Goldberg <jody@gnome.org>
6380         * ms-chart.c (BC_R(end)) : graph style wants outline not line
6381         (ms_excel_read_chart) : there is not 'Graph' concept in xls, remove
6382           it's style.  Charts default to blank too.
6384 2004-04-19  Jody Goldberg <jody@gnome.org>
6386         * ms-excel-read.c (excel_sheet_insert_val) : fix the fix.
6387           We do need to apply the style, even if we're not going to assigned
6388           the format to the value.
6390 2004-04-19  Jody Goldberg <jody@gnome.org>
6392         * ms-excel-read.c (sst_read_string) : don't forget the last markup
6393           element.  Leave some debug in here to figure out what's going on
6394           with quick test.
6396 2004-04-19  Jody Goldberg <jody@gnome.org>
6398         * ms-excel-read.c (excel_sheet_insert_val) : only assign a format if
6399           there is no existing markup.
6400         (sst_bound_check) : do some extra checking to ensure the existence of
6401           unbroken region of desired length.
6402         (sst_read_string) : handle rich text.
6404 2004-04-18  Jody Goldberg <jody@gnome.org>
6406         * ms-obj.c (ms_obj_read_pre_biff8_obj) : fix the name offset for
6407           polygons
6409         * ms-excel-read.c : convert global_string char * array into an
6410           ExcelStringEntry sst array with strings and markup in preparation
6411           for reading richtext from an SST.
6413 2004-04-17  Jody Goldberg <jody@gnome.org>
6415         * ms-excel-read.c (excel_read_HEADER_FOOTER) : new to handle biff8 vs
6416         biff7
6417         (excel_read_LABEL_markup) : new.  Handle biff[57] and biff8 RSTRING
6418           markup
6420 2004-04-17  Jody Goldberg <jody@gnome.org>
6422         * ms-excel-read.c (excel_read_str_name) : new.
6423         (excel_read_str_name) : split from here.
6424         (excel_read_EXTERNNAME) : used here too.
6426         * ms-excel-read.c (excel_read_XF_OLD) : differentiate biff2 vs biff3
6427           and biff4.
6429 2004-04-15  Jody Goldberg <jody@gnome.org>
6431         * ms-chart.c (ms_excel_read_chart_BOF) : ignore the version in the BOF
6432           it lies.  Use the container's version.
6434         * ms-excel-read.c (excel_read_NAME) : rework to handle unicode
6435           suffixes and to some general cleanup.
6437 2004-04-14  Jody Goldberg <jody@gnome.org>
6439         * ms-excel-read.c (excel_read_DEF_ROW_HEIGHT) : handle biff2
6440         (excel_read_WINDOW2) : ditto.
6441         (excel_read_EXTERNSHEET_v7) : be smarter about handling the buggy
6442           files from 1.0.7 that exported quoted sheet names.
6444 2004-04-12  Jody Goldberg <jody@gnome.org>
6446         * ms-excel-read.c : Use GO_UNIT in place of inches_to_points.
6448 2004-03-28  Jody Goldberg <jody@gnome.org>
6450         * Release 1.3.0
6452 2004-03-18  Jody Goldberg <jody@gnome.org>
6454         * ms-excel-write.c (excel_write_WINDOW2) : We only support frozen
6455           panes.  Set the flag indicating that this was only a freeze, not a
6456           split too.
6457         (excel_write_PANE) : docs are wrong.  The field indicates what type of
6458           freezing.
6459         (excel_write_selections) : rework to match XL.
6460         (excel_write_SCL) : Only write the record if zoom != 100%
6461         (excel_write_BOF) : update BOF to XP sp2
6463         * ms-excel-read.c (excel_read_SELECTION) : Allow the active pane from
6464           the PANE record to override the default of 3.
6465         (excel_read_PANE) : store the active pane.
6467 2004-03-16  Jody Goldberg <jody@gnome.org>
6469         http://bugzilla.gnome.org/show_bug.cgi?id=137377
6470         * ms-obj.c (ms_read_TXO) : init markup even if there is no string.
6472 2004-03-11  Jody Goldberg <jody@gnome.org>
6474         http://bugzilla.gnome.org/show_bug.cgi?id=136730
6475         * ms-excel-read.c (excel_get_xf) : be more flexible and handle xls
6476           generated with no XF records.
6477         (excel_get_style_from_xf) : ditto.
6478         (excel_sheet_insert_val) : ditto.
6480         * ms-obj.c (ms_obj_read_pre_biff8_obj) : despite the name
6481           PangoAttributes::end_index is exclusive, not inclusive.
6483 2004-03-08  Jody Goldberg <jody@gnome.org>
6485         * ms-excel-read.c (excel_read_XF) : throw in a simple heuristic for
6486           when to set a valueformat.  At issue is that we want to display
6487           dates/times formatted, but do not want to display accounting
6488           formats.  This kludge disables the application for any format that
6489           has more than one condition.  It's not strictly a solution, but it
6490           will solve the common problems.
6492 2004-03-06  Jody Goldberg <jody@gnome.org>
6494         * ms-obj.c (ms_obj_read_pre_biff8_obj) : handle outline width for text
6495           boxes.
6496         * ms-excel-read.c (ms_sheet_create_obj) : ditto.
6498 2004-03-06  Jody Goldberg <jody@gnome.org>
6500         * ms-obj.c (ms_obj_attr_new_markup) : new.
6501         (ms_obj_attr_get_markup) : new.
6502         (ms_obj_attr_destroy) : teach about PangoAttrList
6503         (append_txorun) : new.
6504         (ms_obj_read_pre_biff8_obj) : font colours come with the FONT info in
6505           txoruns.  The docs are wrong the colour in the record is useless.
6506           Remove some extra debug spew.
6508         * ms-excel-read.c (excel_wb_get_fmt) : no point using pointers to
6509           ints.  Just use G_INT_TO_POINTER.
6510         (ms_sheet_get_fmt) : ditto.
6511         (excel_read_BOUNDSHEET) : ditto.
6512         (excel_workbook_new) : ditto.
6513         (excel_workbook_reset_style) : ditto.
6514         (base_char_width_for_read) : ditto.
6515         (excel_read_FORMAT) : ditto.
6516         (excel_read_FONT) : ditto.
6517         (excel_get_font) : ditto.
6518           Also no need for this to take a sheet, take a workbook.
6519         (biff_font_data_destroy) : free the new optional attr lists.
6520         (ms_sheet_create_obj) : Use markup rather than a single colour.
6521         (biff_guint16_hash (guint16 const *d)
6522         (biff_guint32_hash (guint32 const *d)
6523         (biff_guint16_equal) : delete.
6524         (biff_guint32_equal) : delete.
6525         (excel_get_style_from_xf) : remove some useless code now that font
6526           substitution is handled at the app level.
6527         (add_attr) : new.
6528         (ms_wb_get_font_markup) : new.  build a PangoAttrList from a FONT record.
6530         * ms-container.c (ms_container_get_fmt) : automatically chain up
6531         (ms_container_get_markup) : new.
6533         * ms-chart.c (chart_get_fmt) : delete.
6535 2004-03-03  Jody Goldberg <jody@gnome.org>
6537         * ms-formula-read.c (excel_formula_parses_ref_sheets) : extend to
6538           handle local 3d references properly.
6540 2004-02-22  Jody Goldberg <jody@gnome.org>
6542         * ms-chart.c (BC_R(end)) : We're using GogRadar rather than GogRadial.
6543           Set the no-marker state using the right name.
6544         (BC_R(radararea)) : set the area flag to indicate filled.
6546 2004-02-21  Jody Goldberg <jody@gnome.org>
6548         * ms-excel-util.c (two_way_table_new) : store the destroy func.
6549         (two_way_table_put) : patch leak and use the destroy func on things
6550           that are already in the table.
6552         * ms-chart.c (BC_R(radar)) : connect the new engine
6553         (BC_R(radararea)) : ditto.
6555 2004-02-09  Morten Welinder  <terra@gnome.org>
6557         * ms-biff.c (ms_biff_query_next): Change to return gboolean and
6558         fix the g_return_val_if_fail results.
6560 2004-02-04  Jody Goldberg <jody@gnome.org>
6562         * ms-excel-read.c (excel_read_CODENAME) : new routine to store the
6563           codename for later use while round tripping.
6564         (excel_read_sheet) : use it here.
6565         (excel_read_workbook) : use it here.
6567         * ms-excel-write.c (excel_write_CODENAME) : new routine to use the
6568           stored codename rather than generating one on the fly.
6569         (excel_write_sheet) : use it here.
6570         (excel_write_workbook) : and here.
6572 2004-01-29  Jody Goldberg <jody@gnome.org>
6574         From Nick Lamb <njl98r@ecs.soton.ac.uk>
6575         * ms-excel-read.c (excel_read_FILEPASS) : new.
6576         (excel_read_sheet) : use it here.
6577         (excel_read_workbook) : and here.
6579 2004-01-28  Jean Brefort  <jean.brefort@ac-dijon.fr>
6581         * plugins/excel/ms-chart.c: (scatter):add import of bubble plots
6583 2004-01-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
6585         * ms-excel-read.c (excel_read_SETUP): use print_info_set_orientation
6586         * ms-excel-write.c (excel_write_SETUP): ditto
6588 2004-01-16  Jody Goldberg <jody@gnome.org>
6590         * ms-escher.c (ms_escher_get_data) : as pointed out by Nick Lamb
6591           some gelframe records can get rather big.
6593 2004-01-14  Jody Goldberg <jody@gnome.org>
6595         From Nick Lamb <njl98r@ecs.soton.ac.uk>
6596         * ms-biff.c : Merge in patch to support xor based 'encryption'
6598 2004-01-12  Jody Goldberg <jody@gnome.org>
6600         http://bugzilla.gnome.org/show_bug.cgi?id=130791
6601         * ms-formula-write.c (excel_write_prep_expr) : fix cut-n-paste-o in
6602           change for 1.2.2 that added macros and broke plugin functions.
6604 2004-01-07  Jody Goldberg <jody@gnome.org>
6606         * ms-excel-read.c (excel_read_SELECTION) : disable some debug spew.
6608 2004-01-07  Jon K Hellan  <hellan@acm.org>
6610         * ms-chart.c (BC_R(legend)): Initialize pos for XL_pos = 7.
6612 2004-01-05  Jody Goldberg <jody@gnome.org>
6614         http://bugzilla.gnome.org/show_bug.cgi?id=130577
6615         * ms-excel-write.c (excel_write_SELECTION) : generalize a bit.
6616         (excel_write_selections) : new wrapper to handle selectins for each pane
6618         http://bugzilla.gnome.org/show_bug.cgi?id=130579
6619         * ms-excel-read.c (excel_read_SELECTION) : we only care about
6620           selections in the primary pane.
6622 2003-12-24  Jody Goldberg <jody@gnome.org>
6624         * ms-excel-write.c (excel_write_WRITEACCESS) : don't free memory we do
6625           no own.
6626         (excel_write_COUNTRY) : init both fields.
6627         (write_sheet_head) : pre biff8 it was part of the sheet record.  Its
6628           hard to tell if this should be part of every sheet or just the first.
6629           I've seen both.
6630         (write_workbook) : biff8 puts the COUNTRY record in the workbook area.
6632 2003-12-23  Jody Goldberg <jody@gnome.org>
6634         * Release 1.2.3
6636 2003-12-22  Jody Goldberg <jody@gnome.org>
6638         * ms-chart.c (BC_R(ifmt)) : pull in axis value format.
6640 2003-12-19  Jon K Hellan  <hellan@acm.org>
6642         * ms-excel-write.c (excel_write_WRITEACCESS): Use
6643         gnm_get_real_name to get user name.
6645 2003-12-18  Jody Goldberg <jody@gnome.org>
6647         * ms-chart.c (XL_gog_series_set_dim) : Don't leak data we're not
6648           expecting.
6649         (BC_R(get_style)) : new.  creates the style as necessary, and flags it
6650           to ignore the object's default settings.
6652 2003-12-13  Jody Goldberg <jody@gnome.org>
6654         http://bugzilla.gnome.org/show_bug.cgi?id=127625
6655         * ms-excel-read.c (excel_sheet_destroy) : kludge around autofilters in
6656          XL97 that have no related drop downs (eg guia.xls)
6658 2003-11-26  Jody Goldberg <jody@gnome.org>
6660         * Release 1.2.2
6662 2003-11-25  Jody Goldberg <jody@gnome.org>
6664         * ms-formula-write.c (excel_write_prep_expr) : handle macros.
6665         (write_funcall) : ditto.
6667         * ms-formula-read.c : add specs for the text_B_ functions
6668         (excel_parse_formula) : improve debug info.
6669           Fix unicode strings.
6671         * ms-excel-write.c (write_workbook) : unsigned does not go < 0
6672         (cb_enumerate_macros) : new.
6673         (cb_write_macro_NAME) : new.
6674         (excel_write_names) : new.
6676         * ms-excel-read.c (get_xtn_lens) : add a limiter on the rich text
6677           warning.
6678         (excel_formula_shared) : add some debug.
6679         (excel_read_NAME) : register macro functions.
6680         (excel_read_ROW) : disable debug spew.
6681         (excel_read_CF) : ditto.
6682         (excel_read_DIMENSIONS) : ditto.
6683         (excel_read_GUTS) : ditto.
6684         (excel_read_HLINK) : target frame is first (according to
6685           xls-export-crash.xls) and the docs.
6686         (excel_read_SUPBOOK) : handle external workbooks with unicode names.
6688         * ms-escher.c (ms_escher_parse) : return the property bag.
6690 2003-11-20  Jody Goldberg <jody@gnome.org>
6692         * ms-chart.c (BC_R(radar)) : Add a note.
6694 2003-11-20  Jody Goldberg <jody@gnome.org>
6696         * ms-formula-read.c (make_function) : Take a Workbook to allow for
6697         for book local function lookup.
6699 2003-11-20  Jody Goldberg <jody@gnome.org>
6701         * ms-excel-write.c (excel_sheet_new) : Include row/col info in the
6702           extent calculation.
6704         * ms-excel-write.c (excel_write_GUTS) : max col/row outline levels are
6705           one based.
6707 2003-11-19  Andreas J. Guelzow  <aguelzow@taliesin.ca>
6709         * ms-excel-read.c (excel_read_SETUP): use print_info_set_n_copies
6711 2003-11-18  Jody Goldberg <jody@gnome.org>
6713         * ms-chart.c (BC_R(lineformat)) : Handle 'invisible'
6714         (BC_R(markerformat)) : none is never auto.
6715         (BC_R(end)) : Set the plot defaults for line and XY.
6717 2003-11-17  Jody Goldberg <jody@gnome.org>
6719         http://bugzilla.gnome.org/show_bug.cgi?id=127204
6720         * ms-chart.c (ms_excel_read_chart) : remove any grids that were
6721           automaticly created if there were none in the input stream.
6723         * plugins/excel/ms-chart.c (BC_R(areaformat)) : we need to consider
6724           pattern = 0 as NONE only if it is not autoformat.  Our theme engine
6725           does not change fill types, so it would ignore styles with fill=NONE
6727 2003-11-15  Jody Goldberg <jody@gnome.org>
6729         * ms-excel-write.c (write_sheet_head) : save the manual recalc flag.
6731 2003-11-14  Jody Goldberg <jody@gnome.org>
6733         http://bugzilla.gnome.org/show_bug.cgi?id=126908
6734         * ms-excel-read.c (ms_sheet_create_obj) : gnumeric defaults to
6735           different outline and background colours.  Set them if the file does
6736           not so that things look xl-ish.
6738 2003-11-13  Jody Goldberg <jody@gnome.org>
6740         * ms-excel-write.c (excel_write_sheet) : store a CODENAME
6741         (write_workbook) : ditto.
6743         * boot.c (excel_save) : store the saved properties if we have them
6744         (excel_file_open) : store CompObj and properties.
6745         (excel_read_metadata) : its easier to blob the stream.
6747 2003-10-27  Jody Goldberg <jody@gnome.org>
6749         * boot.c (find_content_stream) : Move this logic here.
6750         (excel_file_open) : from here.
6751         (excel_file_probe) : so that this can share it.
6753 2003-10-25  Jody Goldberg <jody@gnome.org>
6755         * ms-excel-write.c (excel_write_SELECTION) : doh!
6757 2003-10-18  Jody Goldberg <jody@gnome.org>
6759         http://bugzilla.gnome.org/show_bug.cgi?id=124244        [unable to open group]
6760         * ms-excel-read.c (excel_read_COLINFO) : set collapsed even if level == 0
6761         (excel_read_ROW) : ditto.
6763 2003-10-13  Jody Goldberg <jody@gnome.org>
6765         * ms-biff.c (ms_biff_query_next) : fail if we run out of data part way
6766           through a record.
6768         * ms-excel-read.c (excel_read_XF_OLD) : init all flags to FALSE.
6770 2003-10-08  Jody Goldberg <jody@gnome.org>
6772         * Release 1.2.1
6774 2003-10-08  Jody Goldberg <jody@gnome.org>
6776         * ms-chart.c (conditional_set_double) : Use the new const val GOData
6777           to support manual axis bounds and invert the logic to be correct.
6778         (BC_R(seriestext)) : store the text associated with axis and chart
6779           labels.
6780         (BC_R(end)) : free strings associated with text records if they
6781           haven't been used yet.
6783 2003-09-30  Jody Goldberg <jody@gnome.org>
6785         * ms-excel-read.c (excel_read_HLINK) : typo 0x80 rather than 0x8 was
6786           breaking import of local workbook links (Thanks to Tim for noticing)
6788 2003-09-29  Jody Goldberg <jody@gnome.org>
6790         From Nick Lamb <njl195@zepler.org.uk>
6791         * boot.c (excel_file_probe) : bug in libgsf < 1.8.3 that would not
6792           seek back to 0 on failed gsf_infile_msole_new.
6794 2003-09-27  Jody Goldberg <jody@gnome.org>
6796         * ms-formula-write.c (write_funcall) : Use the last specified type for
6797          the remainder of the args in a vararg function.
6799         * ms-formula-read.c : AND,OR, and IF args appear to be V not R
6801 2003-09-27  Jody Goldberg <jody@gnome.org>
6803         * ms-excel-write.c (excel_write_SST) : be extra careful about unicode
6804           characters > 0xfeff
6806 2003-09-25  Jody Goldberg <jody@gnome.org>
6808         * ms-escher.c (ms_escher_read_OPT) : dump the complex data too so that
6809           we don't forget it exists.
6811         * ms-chart.c (excel_chart_series_new) : init style.
6812         (excel_chart_series_delete) : unref style if necessary.
6813         (BC_R(color)) : DOH!  they use bgr no rgb.
6814         (BC_R(areaformat)) : handle none, and start work on pattern map.
6815         (BC_R(begin)) : make prettier with newline.
6816         (BC_R(dataformat)) : don't create the style here.  Do it on demand in
6817           {area,line,marker}format.
6818         (BC_R(frame)) : notice the difference between a chart and a grid.
6819         (BC_R(markerformat)) : create the styles on demand.
6820         (conditional_set_double) : prep for importing manual axis bounds.
6821         (BC_R(valuerange)) : ditto.  Still need a static GOData.
6822         (BC_R(end)) : hook the series and plot default styles in.
6823           Enable styles for charts and grids.
6825 2003-09-23  Jody Goldberg <jody@gnome.org>
6827         * ms-chart.c (BC_R(lineformat)) : fix import of axis line styles.
6829 2003-09-13  Nick Lamb <njl195@zepler.org.uk>
6831         * ms-excel-read.c (excel_sheet_new) : typo fix
6832         (excel_read_FORMAT) : Early BIFF uses smaller datatypes
6833         (excel_read_FONT) : Implement for early BIFF
6834         (excel_get_xf) : More early BIFF hacks
6835         (excel_read_XF_OLD) : New function, read OLD XF structures
6836         (excel_workbook_add_XF) : Obsoleted, removed
6837         (excel_formula_shared) : Early BIFF uses smaller datatypes
6838         (excel_workbook_reset_style) : New function, needed for XLW files
6839         (excel_read_EXTERNNAME) : typo fix, Early BIFF fixes
6840         (excel_read_NAME) : Early BIFF uses smaller datatypes
6841         (excel_read_sheet) : Style is per-sheet in XLW files, what default?
6842          Use excel_read_XF_OLD instead of excel_workbook_add_XF
6843         (excel_read_BOF) : Stop using excel_workbook_add_XF,
6844          report XL4 workbooks to stderr just like all other file types
6846         * ms-formula-read.c (excel_parse_formula) :
6847          Handle PTG_SHEET and PTG_SHEET_END, at least for known examples
6848          Also early BIFF as usual has smaller datatypes
6850 2003-09-21  Jody Goldberg <jody@gnome.org>
6852         * ms-formula-read.c (excel_parse_formula) : disable debug spew.
6854 2003-09-21  Jody Goldberg <jody@gnome.org>
6856         * ms-formula-write.c (xl_map_char_to_type) : new util.
6857         (xl_get_op_class) : wrapper to help calculate the result class.
6858         (write_cellref_v7) : handle operand classes.
6859         (write_cellref_v8) : handle operand classes.
6860         (excel_formula_write_CELLREF) : ditto and operator mapping.
6861         (excel_formula_write_AREA) : ditto.
6862         (write_funcall) : ditto.
6863         (excel_formula_write_NAME_v8) : ditto.
6864         (excel_formula_write_NAME_v7) : ditto.
6865         (write_node) : ditto.
6866         (excel_write_formula) : collect more information on the calling context
6868 2003-09-18  Jody Goldberg <jody@gnome.org>
6870         * ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : Add UserDefined to
6871           silence some warnings.
6873 2003-09-16  Jody Goldberg <jody@gnome.org>
6875         * ms-formula-write.c : push all the 'shared' arguments into the
6876           PolishData that we're passing around anyway.
6878         * ms-formula-write.c (excel_write_prep_expr) : register functions that
6879           exist only in arrays too.
6881         * ms-excel-util.c (init_xl_font_widths) : add Albany
6883 2003-09-15  Jody Goldberg <jody@gnome.org>
6885         * ms-chart.c (ms_excel_read_chart) : patch leak.
6887 2003-09-15  Jody Goldberg <jody@gnome.org>
6889         * Release 1.2.0
6891 2003-09-15  Jody Goldberg <jody@gnome.org>
6893         * ms-chart.c (BC_R(legend)) : handle the legend's position.
6895         * ms-excel-util.c : "Arial Cyr" in addition to "Arial CYR"
6897 2003-09-14  Jody Goldberg <jody@gnome.org>
6899         * ms-chart.c (BC_R(pie)) : don't confuse center diameter with
6900           separation, use it to distinguish between pie and ring.
6901         (BC_R(pieformat)) : handle separation here.
6903 2003-09-13  Jody Goldberg <jody@gnome.org>
6905         * ms-chart.c (BC_R(tick)) : enable.  Looks like axis label enabling
6906           should be here.  Wonder what that flag in lineformat is for ??
6908 2003-09-13  Jody Goldberg <jody@gnome.org>
6910         * ms-chart.c (BC_R(lineformat)) : disable axis label setting for now
6911           it seems over zealous.
6913 2003-09-13  Jody Goldberg <jody@gnome.org>
6915         * ms-chart.c (BC_R(color)) : disable debug spew.
6916         (BC_R(lineformat)) : impl.
6917         (BC_R(markerformat)) : impl.
6919 2003-09-10  Jody Goldberg <jody@gnome.org>
6921         * Release 1.1.90
6923 2003-09-03  Jody Goldberg <jody@gnome.org>
6925         * ms-excel-util.c (init_xl_font_widths) : 128pt does not seem like a
6926           good yard stick for Courier, Use 64, and scale it.
6927         Arial Narrow is even worse, size it based on 32pt
6929 2003-08-22  Jody Goldberg <jody@gnome.org>
6931         * ms-excel-read.c (excel_read_BOF) : fix the warning.  We need the
6932           stream pos at the _start_ of the sheet.
6934 2003-08-21  Jody Goldberg <jody@gnome.org>
6936         * Release 1.1.20
6938 2003-08-20  Jody Goldberg <jody@gnome.org>
6940         * ms-excel-read.c (excel_read_BOF) : finding a sheet not listed in the
6941           right place is a warning not a failure.
6943         * ms-excel-write.c (excel_write_DV) : handle missing titles and msgs
6945 2003-08-09  Jody Goldberg <jody@gnome.org>
6947         * ms-chart.c (BC_R(areaformat)) : use the new GogStyle extensions.
6949 2003-07-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
6951         * ms-excel-read.c (excel_workbook_destroy): remove last argument
6952           in workbook_sheet_reorder
6954 2003-08-01  Jody Goldberg <jody@gnome.org>
6956         * ms-excel-util.c (init_xl_font_widths) : add a bunch of arial
6957           encodings.
6959 2003-07-31  Jody Goldberg <jody@gnome.org>
6961         * ms-chart.c (BC_R(line)) : connect to the new line plot.
6962         (BC_R(area)) : connect to the new area plot.
6964 2003-07-28  Jody Goldberg <jody@gnome.org>
6966         * ms-formula-read.c (make_function) : dup the name because plugins get
6967           removed before symbols do and we would crash referencing a static
6968           string from the plugin.
6969         (PHONETIC) : appears to have 1 arg (optional ?)
6971 2003-07-24  Jody Goldberg <jody@gnome.org>
6973         * ms-biff.c (ms_biff_pre_biff8_query_set_decrypt) : new placeholder.
6974         (ms_biff_query_set_decrypt) : take a version so that we can correctly
6975           recognize encrypted files for versions before biff8.
6977 2003-07-19  Jody Goldberg <jody@gnome.org>
6979         * ms-obj.c (ms_obj_read_pre_biff8_obj) : Parse scollbars and spinners
6981         * ms-excel-read.c (ms_sheet_realize_obj) : apparently spinners use
6982           scrollbar records.  Pass the current value too.
6984         * ms-excel-write.c (excel_write_SST) : simplify a bit to avoid a
6985         potential corner case that would generate an empty CONTINUE.
6987 2003-07-18  Jody Goldberg <jody@gnome.org>
6989         * ms-excel-write.c (excel_write_SST) : handle strings > 8224 bytes.
6990         (excel_sheet_write_block) : improve warning message and fallback to
6991           the default style when there is a problem.
6993 2003-07-17  Jody Goldberg <jody@gnome.org>
6995         * ms-excel-util.c (init_xl_font_widths) : add Bitstream Vera, and its
6996           alias 'Sans'
6998         * ms-formula-read.c (parse_list_push) : be more
6999           resilient in the face of missing args.
7001 2003-07-16  Jody Goldberg <jody@gnome.org>
7003         * ms-excel-read.c (ms_biff_get_chars) : make public.
7004         * ms-obj.c (ms_read_TXO) : use ms_biff_get_chars.
7006 2003-07-16  Jody Goldberg <jody@gnome.org>
7008         * ms-obj.c (ms_read_OBJ) : always register the object.
7010         * ms-container.c : Make the obj_queue a GSList.
7011         (ms_container_get_obj) : new.
7012         (ms_container_realize_objs) : only realize MSObjs that have gnumeric
7013           objects.
7015         * ms-escher.c (ms_escher_header_init) : init new 'release_attrs' flag
7016           to allow us to pass management of an attr bag to an object, but still
7017           retain access to it.
7018          (ms_escher_header_release) : honour the flag.
7019          (ms_escher_read_ClientData) : set the flag.
7021         * ms-excel-read.c (excel_read_NOTE) : Discover an undocumented flag.
7022           0x100 == no indicator visible
7023           While we're here store the author, and the inidcator position.
7024         (excel_read_HLINK) : frames are 0x80 not 0x8
7025         (ms_sheet_realize_obj) : cheat to handle cell comments.  In xl97 and
7026           up the comment objects store the possition of the display box, not the
7027           position of the indicator.  We need a better comment object.
7028         (ms_sheet_realize_obj) : Store the text for text boxes too.
7029         (ms_sheet_create_obj) : no need to set a blank text, we assign it later.
7030         (ms_sheet_create_obj) : create comments.
7032 2003-07-07  Jody Goldberg <jody@gnome.org>
7034         * ms-excel-read.c (excel_palette_get) : fix error message.
7036 2003-07-02  Andreas J. Guelzow <aguelzow@taliesin.ca>
7038         * ems-excel-write.c (xcel_sheet_new): add some spaces in strings
7040 2003-06-21  Jody Goldberg <jody@gnome.org>
7042         * ms-chart.c (BC_R(chartformat)) : vary_style_by_element is now in plot
7043         * ms-excel-write.c : Start work on escher wrapper for exporting charts
7044           in XL97.  NOT ENABLED OR FINISHED.
7046 2003-06-11  Jody Goldberg <jody@gnome.org>
7048         * ms-excel-write.c (excel_sheet_new) : Capitalize and mark Excel as a
7049            trademark.
7051 2003-06-11  Jody Goldberg <jody@gnome.org>
7053         * ms-chart.c (ms_excel_read_chart) : handle NULL sogs.  That currently
7054           indicates an attempt to read a chart in its own notebook tab.
7056 2003-06-07  Jody Goldberg <jody@gnome.org>
7058         * Release 1.1.19
7060 2003-06-07  Jody Goldberg <jody@gnome.org>
7062         * Release 1.1.18
7064 2003-05-30  Jody Goldberg <jody@gnome.org>
7066         * ms-chart.c (excel_chart_series_delete) : unref the data if nothing
7067           has used it.
7068         (BC_R(end)) : if we use the series clear the pointer.
7070 2003-05-25  Jody Goldberg <jody@gnome.org>
7072         * ms-chart.c : remove xml, jump to goffice and disable anything that
7073           does not obviously connect to GOG for now.  All we get are plot
7074           types and series for now, no formating.
7076 2003-05-21  Jody Goldberg <jody@gnome.org>
7078         * ms-chart.c (BC_R(gelframe)) : enable debugging when dumping
7079           gelframes.
7081         * ms-escher.c (ms_escher_parse) : accept gelframes.
7082         (ms_escher_read_OPT) : the length _includes_ the header, don't try to
7083           read that too.
7084         (ms_escher_read_Blip) : ditto.
7085           weaken size restriction for uncompression.
7086           test-xls/billeterie2000-6.xls has a blip that is larger than its
7087           compressed content, dunno why.
7089 2003-05-20  Morten Welinder  <terra@gnome.org>
7091         * ms-excel-read.c: Adapt to StyleColor changes.
7092         * ms-excel-write.c: Adapt to StyleColor changes.
7094 2003-05-19  Jody Goldberg <jody@gnome.org>
7096         * ms-excel-read.c (excel_read_CF) : tone down the amoutn of debug spew.
7098         * ms-excel-read.c (excel_read_XCT) : work around more undocumented xls crack.
7099           What the #$!@#&%!@ do negative counts mean.
7101 2003-05-12  Jody Goldberg <jody@gnome.org>
7103         * ms-excel-write.c (excel_write_FORMULA) : set the alwaysCalc flag for
7104           cells with dynamic depends.
7106 2003-05-11  Jody Goldberg <jody@gnome.org>
7108         * Release 1.1.17
7110 2003-04-28  Morten Welinder  <terra@gnome.org>
7112         * ms-excel-read.c (biff_string_get_flags): Fix 0/FALSE confusion.
7113         (biff_xf_data_destroy): Ditto.
7115 2003-04-21  Jody Goldberg <jody@gnome.org>
7117         * ms-excel-write.c (excel_write_MERGECELLS) : handle too many merges
7118           for a single biff record.
7119         * ms-biff.c (ms_biff_max_record_len) : new.
7121 2003-04-09  Morten Welinder  <terra@gnome.org>
7123         * boot.c (excel_file_probe): Guard against gsf read error.
7124         (excel_file_open): Ditto.
7125         (excel_file_open):
7127 2003-03-26  Jody Goldberg <jody@gnome.org>
7129         * ms-excel-read.c (excel_read_tab_color) : no need to operate on the
7130           pixel directly.  Use the rgb in the StyleColor.
7131         (excel_read_WINDOW2) : ditto.
7133 2003-03-18  Jody Goldberg <jody@gnome.org>
7135         * boot.c : suppress warning
7137 2003-03-18  Jody Goldberg <jody@gnome.org>
7139         * ms-excel-read.c (excel_read_EXTERNSHEET_v7) : work around a bug in
7140           1.0.x export that quoted names in EXTERNSHEET.
7141         (excel_read_workbook) : recognize 1.0.x files.
7142         (excel_workbook_new) : init the new flag.
7144 2003-03-07  Morten Welinder  <terra@diku.dk>
7146         * ms-chart.c (register_handlers): Use G_N_ELEMENTS.
7148         * ms-obj.c (ms_read_OBJ): Ditto.
7150         * ms-excel-write.c (excel_write_builtin_name): Ditto.
7151         (excel_write_FORMATs): Ditto.
7152         (map_pattern_index_to_excel): Ditto.
7154         * ms-excel-read.c (excel_map_pattern_index_from_excel): Ditto.
7156 2003-03-05  Jody Goldberg <jody@gnome.org>
7158         * ms-biff.c (ms_biff_query_next) : more Morten warnings.
7159         (ms_biff_query_peek_next) : ditto.
7161         * ms-obj.c (ms_obj_read_biff8_obj) : TRUE on error in precondition
7163 2003-02-05  Jody Goldberg <jody@gnome.org>
7165         * ms-excel-write.c (excel_write_FORMAT) : biff8 formats have 2 byte
7166           lengths, biff7 has 1 byte.
7168         * ms-excel-read.c (excel_read_FORMULA) : Add a quick size check.
7170 2003-02-04  Jody Goldberg <jody@gnome.org>
7172         * boot.c (excel_file_probe) : actually return the flag, and support
7173           non-ole formats.
7175 2003-01-28  Jody Goldberg <jody@gnome.org>
7177         * Release 1.1.16
7179 2003-01-25  Jody Goldberg <jody@gnome.org>
7181         * excel-xml-read.c (xl_xml_wb) : quick framework to parse xml from
7182           Office XP.  Just a descriptor for now no real work.
7184 2003-01-21  Jody Goldberg <jody@gnome.org>
7186         * ms-excel-write.c (excel_foreach_name) : doh!
7188 2003-01-08  Jody Goldberg <jody@gnome.org>
7190         * ms-excel-write.c (excel_sheet_new) : fix the text of the warning
7191           messages.
7192         (excel_foreach_name) : loop over the gnumeric data structures rather
7193           than the ExcelState wrappers so that we can do things before the
7194           ExcelSheets are created.
7196         * ms-biff.c (MAX_BIFF7_RECORD_SIZE) : increase this a smidge to match
7197           the actual limit and allow export to handle all 16k rows in xl95.
7199 2003-01-06  Jody Goldberg <jody@gnome.org>
7201         * ms-excel-write.c (excel_write_state_new) : bp is not valid yet
7202           take biff7 and biff8 flags directly.
7204 2003-01-02  Jody Goldberg <jody@gnome.org>
7206         * ms-excel-read.c (excel_read_1904) : Enable 1904 support.
7207         * ms-excel-write.c (write_workbook) : Set 1904 flag as necessary.
7209 2002-12-31  Jody Goldberg <jody@gnome.org>
7211         * Release 1.1.15
7213 2002-12-30  Jody Goldberg <jody@gnome.org>
7215         * ms-excel-write.c (excel_write_WRITEACCESS) : patch small leak, and
7216           add a sanity failsafe.
7218 2002-12-29  Jody Goldberg <jody@gnome.org>
7220         * ms-biff.c (ms_biff_put_new) : Use the canonical name that is
7221           available in glibc, and libiconv.
7223 2002-12-30  Jon K Hellan  <hellan@acm.org>
7225         * ms-excel-read.c (excel_read_workbook): Pass filename to
7226         cmd_context_get_password.
7228 2002-12-30  Morten Welinder  <terra@diku.dk>
7230         * ms-excel-read.c (excel_formula_shared): Return NULL on failure,
7231         not FALSE.
7233 2002-12-25  Jody Goldberg <jody@gnome.org>
7235         * ms-excel-write.c (excel_write_state_new) : register sheets with
7236           filters.  check validation exppressions for sheets.
7237         (excel_write_prep_validations) : new.
7238         (excel_sheet_new) : init validation lists here if necessary.
7239         (excel_write_DVAL) : not here.
7241 2002-12-24  Jody Goldberg <jody@gnome.org>
7243         * ms-excel-read.c (excel_read_NAME) : arrrggghh MS kills me.
7245         * ms-formula-read.c (excel_parse_formula) : disabled a bit too much
7246           debug info and broke the code.
7248 2002-12-24  Jody Goldberg <jody@gnome.org>
7250         * ms-excel-read.c (ms_sheet_create_obj) : cut-n-paste-o in line creation
7251           support font color for text boxes.
7252           (excel_palette_get) : just call colour 64 black if it gets this far.
7253             It only happens for shet objects and we need to do more research
7254             on how to handle these.
7255         (excel_read_DV) : fix double free
7257         * ms-obj.c (ms_obj_read_pre_biff8_obj) : be more picky about what we
7258           call an arrow head.  Fix the directions for lines.  Find the
7259           undocumented flag to fix named objects.
7261 2002-12-22  Jody Goldberg <jody@gnome.org>
7263         * Release 1.1.14
7265 2002-12-22  Jody Goldberg <jody@gnome.org>
7267         * Release 1.1.13
7269 2002-12-21  Jody Goldberg <jody@gnome.org>
7271         * ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : new.
7272         * ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the biff8
7273           combos.  Thats it we're done.
7275 2002-12-20  Jody Goldberg <jody@gnome.org>
7277         * ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the fields
7278           to handle the last 1/4 of the puzzle.  The only thing missing now is
7279           exporting the combos for biff8.
7280         (excel_write_DOPER) : new.
7282 2002-12-18  Jody Goldberg <jody@gnome.org>
7284         * ms-excel-write.c (excel_write_AUTOFILTERINFO) : new.
7285         (write_sheet_head) : use it here to export the 1st 1/4 of autofilters.
7286         (excel_write_NAME) : support hidden names.
7287         (excel_write_autofilter_names) : create pretend names for the 1st
7288          filter in each sheet.
7289         (write_workbook) : use excel_write_autofilter_names to generate the
7290           next 1/4 of autofilters.
7291         (excel_write_autofilter_objs) : generate simple biff7 style objects
7292           for the filter combos.
7293         (excel_write_sheet) : Use excel_write_autofilter_objs for the next 1/4.
7295 2002-12-17  Jody Goldberg <jody@gnome.org>
7297         * ms-formula-write.c (excel_write_prep_expr) : make it public.
7298         (excel_write_prep_expressions) : just do the initialization not the
7299           dep walking.
7300         (excel_formula_write_NAME_v8) : new.
7301         (write_node) : handle names for biff8.
7303         * ms-excel-write.c (excel_write_BOF) : no need to clone XL2k bug that
7304           erroneously calls XL95 XL97.
7305         (excel_write_externsheets_v7) : we also export the selfref magic.
7306         (excel_write_NAME) : renamed from excel_write_NAME_v7 and extended to
7307           support biff8.
7308         (write_workbook) : export names for BIFF8 too.
7309         (cb_check_names) : new.
7310         (excel_write_state_new) : prep the expressions in names too.
7312 2002-12-16  Morten Welinder  <terra@diku.dk>
7314         * ms-excel-write.c (excel_write_map_errcode): Base on
7315         value_error_classify.
7317 2002-12-16  Morten Welinder  <terra@diku.dk>
7319         * ms-excel-read.c (biff_get_error): Rename from
7320         biff_get_error_text and return a full error instead.  Add evalpos
7321         argument.  All callers changed.
7323 2002-12-15  Jody Goldberg <jody@gnome.org>
7325         * ms-container.c (ms_container_finalize) : cull out unused
7326           placeholders.
7328 2002-12-13  Jody Goldberg <jody@gnome.org>
7330         * ms-formula-read.c : Tack on a 'shared' flag in alot of places to
7331         control the use of _REF/_AREA vs _REFN/_AREAN
7333         * ms-excel-write.c (excel_write_BOF) : bump generated BOF to look like
7334           MS excel 2k.
7335         (vip_hash) : new.
7336         (vip_equal) : new.
7337         (excel_write_DV) : new.
7338         (excel_write_DVAL) : new.
7339         (excel_write_NAME_v7) : export names using shared formula conventions.
7340         (excel_write_sheet) : export validation.
7341         (write_workbook) :  add a XL9FILE flag.
7343         * ms-excel-read.c (excel_read_DV) : several small tweaks
7344           1) string lengths are 2 bytes
7345           2) Use the option flags to enable/disable input msg and validation
7346           3) Parse expressions relative to the top left of the first range
7347           4) Parse as shared expressions
7349 2002-12-13  Jon K Hellan  <hellan@acm.org>
7351         * ms-excel-read.c (excel_read_HLINK): Fix typo.
7353 2002-12-08  Jody Goldberg <jody@gnome.org>
7355         * ms-excel-read.c (excel_prepare_autofilter) : don't fully register
7356           the magic filter name.
7358 2002-12-06  Jody Goldberg <jody@gnome.org>
7360         * ms-excel-read.c (excel_read_AUTOFILTER) : don't forget the unicode
7361           header for biff8.
7363 2002-12-03  Morten Welinder  <terra@diku.dk>
7365         * ms-excel-read.c (excel_print_unit_init_inch): Convert to
7366         GnomePrintUnit.
7367         (excel_init_margins): Ditto.
7368         (excel_read_SETUP): Ditto.
7369         * ms-excel-write.c (excel_write_margin): Ditto.
7370         (excel_write_SETUP): Ditto.
7372 2002-11-30  Jody Goldberg <jody@gnome.org>
7374         * ms-excel-read.c (excel_read_AUTOFILTER) : finish.
7375         (read_DOPER) : finish.
7377 2002-11-29  Jody Goldberg <jody@gnome.org>
7379         * ms-excel-write.c (excel_write_WINDOW1) : make view const
7380         (excel_write_state_new) : ditto.
7382         * ms-excel-read.c (excel_prepare_autofilter) : new.
7383         (excel_read_NAME) : handle autofilters.
7385         * ms-escher.c (ms_escher_read_ClientTextbox) : store the text.
7387         * plugins/excel/boot.c (excel_save) : make the view const not the
7388           output.
7389         (excel_dsf_file_save) : ditto.
7390         (excel_biff8_file_save) : ditto.
7391         (excel_biff7_file_save) : ditto.
7393 2002-11-26  Jody Goldberg <jody@gnome.org>
7395         * ms-excel-read.c (ms_sheet_create_obj) : use the new label setting
7396           utilities.
7398 2002-11-28  Jon K Hellan  <hellan@acm.org>
7400         * boot.c (excel_save, excel_dsf_file_save, excel_biff8_file_save)
7401         (excel_biff7_file_save): Receive gsf output stream from higher
7402         layer rather than creating and closing it here.
7404 2002-11-25  Jody Goldberg <jody@gnome.org>
7406         * ms-excel-read.c (excel_set_xf) : remove bogus optimization.
7407         (excel_set_xf_segment) : ditto.  We can not assume that the default is
7408           the current format.  See 'Tax2001-23.xls'
7410 2002-11-24  Jody Goldberg <jody@gnome.org>
7412         * ms-formula-read.c (excel_formula_parses_ref_sheets) : fix typo.
7413           check the source not the destination.
7415 2002-11-24  Jody Goldberg <jody@gnome.org>
7417         * ms-obj.c (ms_obj_read_pre_biff8_obj) : add some fun.
7419 2002-11-20  Jody Goldberg <jody@gnome.org>
7421         * ms-formula-write.c (excel_formula_write_NAME_v7) : support qualified
7422           names.
7424         * ms-excel-read.c (excel_read_EXTERNSHEET_v7) : fix handling of the
7425           sheet local names.
7427         * boot.c (excel_file_open) : Try the output even more and assign the
7428           savers as level AUTO.
7429         * plugin.xml.in : ditto.
7431 2002-11-17  Jody Goldberg <jody@gnome.org>
7433         * biff-types.h : s/SXVX/SXVS/ ancient typo
7435 2002-11-15  Jody Goldberg <jody@gnome.org>
7437         * Release 1.1.12
7439 2002-11-15  Jody Goldberg <jody@gnome.org>
7441         * ms-formula-write.c : tidy up sheet hanlding in references.
7443         * ms-excel-write.c (excel_write_NAME_v7) : new.
7444         (excel_foreach_name) : ditto.
7445         (write_workbook) : produce names for biff7 including sheet local and
7446           placeholders.
7448 2002-11-14  Jon K Hellan  <hellan@acm.org>
7450         * plugin.xml.in: Remove "open" and "import" attributes.
7452 2002-11-13  Jody Goldberg <jody@gnome.org>
7454         * ms-excel-write.c (excel_write_comments_biff7) : fix. #$^! libxml had
7455           poluted the global name space with function 'comment' which I
7456           accidentally used as a variable name without defining it.
7458 2002-11-13  Jody Goldberg <jody@gnome.org>
7460         * ms-excel-write.c (excel_sheet_write_block) : speedup empty rows.
7461           And use the undocumented optimized form for the DBCELL (#rows == 0)
7462           when dealing with sparse regions.
7463         (excel_write_ROWINFO) : ignore empty rows.
7465 2002-11-13  Jody Goldberg <jody@gnome.org>
7467         * ms-formula-read.c (excel_parse_formula) : fix typo that broke 3d
7468           references.
7470         * ms-formula-write.c (sheet_pair_add_if_unknown) : new.
7471         (excel_write_prep_expr) : use it for refs and regions.
7473         * ms-excel-write.c (excel_write_state_free) : release the function and
7474           sheet pair tables.
7475         (excel_write_SCL) : new. Clean up and support zoom > 100
7476         (cb_write_sheet_pairs) : new.
7477         (excel_write_externsheets_v8) : generate sheet pairs for the
7478           externsheet.  Still no support for external links.
7479         (excel_write_get_externsheet_idx) : implement.
7481 2002-11-12  Jody Goldberg <jody@gnome.org>
7483         * ms-excel-write.c : Don't use StyleFont.  In the case where a font
7484           does not exist on the display system it does the wrong thing.
7485           MStyle can contain an invalid font.  StyleFont gets remapped to the
7486           default.
7488 2002-11-12  Jody Goldberg <jody@gnome.org>
7490         * ms-excel-write.c (palette_get_index) : add a warning if we are going
7491           to lose a colour.
7492         (gather_palette) : improve debug.
7494         * ms-excel-util.c (two_way_table_move) : rename from
7495           two_way_table_replace and fix.
7497 2002-11-11  Jody Goldberg <jody@gnome.org>
7499         * ms-formula-write.c (write_cellref_v7) : fix signature.
7500         (write_cellref_v8) : ditto.
7501         (write_ref) : fix biff8 case.
7503         * ms-excel-write.c (gather_styles) : we already gathered the most
7504           common styles earlier.
7505         (excel_sheet_new) : most common style in a column does not extend the
7506           column.
7508         * ms-biff.c (ms_biff_put_len_next) : handle correct max biff record
7509           sizes for biff7 vs biff8.  Looks like they teaked things so that the
7510           dbcell records will always fit in 1 biff record.
7511         (ms_biff_put_len_commit) : ditto.
7513 2002-11-10  Jody Goldberg <jody@gnome.org>
7515         * ms-biff.c (ms_biff_put_new) : take a codepage as an argument.
7516         * ms-excel-write.c (excel_write_v7) : pass in the code page we stored
7517           on import.
7518         (excel_write_v8) : ignore the codepage. biff8 uses unicode.
7520         * ms-excel-read.c (excel_read_workbook) : store the codepage we
7521           imported with.
7523 2002-11-10  Jody Goldberg <jody@gnome.org>
7525         * ms-formula-write.c (write_arrays) : rewrite.
7527 2002-11-10  Jody Goldberg <jody@gnome.org>
7529         * ms-formula-write.c (write_string) : Use excel_write_string.
7530         (write_arrays) : Use it here, but this code is suspect.
7532         * ms-excel-write.c (excel_write_string_len) : new routine to find char
7533           and byte lengths of strings.
7534         (current_workbook_iconv) : delete.
7535         (biff_convert_text) : delete.
7536         (biff_put_text) : delete.
7537         (excel_write_string) : new replacement for biff_put_text that does the
7538           conversion and writting inline rather than from a buffer, has
7539           smarter unicode handling and a more useful set of flags.
7540         (excel_write_externsheets_v7) : Use it here.
7541         (excel_write_externsheets_v8) : Use it here.
7542         (excel_write_NAME_v7) : Use it here.
7543         (excel_write_BOUNDSHEET) : Use it here.
7544         (excel_write_FONT) : Use it here.
7545         (excel_write_FORMAT) : Use it here.
7546         (excel_write_value) : Use it here.
7547         (excel_write_FORMULA) : Use it here.
7548         (excel_write_comments_biff7) : Use it here.
7549         (excel_write_SST) : Handle the unicode caes.
7550         (excel_write_WRITEACCESS) : new to handle biff7 vs biff8
7551         (excel_utf8_has_multibyte) : delete.
7552         (write_workbook) : Use excel_write_WRITEACCESS and clean up the
7553           codepage handling to conform to
7554           biff7 == single byte vs biff8 == unicode.
7556         * ms-excel-biff.h (EX_SETSTRLEN) : delete.
7558         * ms-biff.c (ms_biff_put_new) : Add a buffer and iconv handler to
7559           simplify string handling.  excel95 gets locale specific handler.
7560           excel97 and up goes to utf16-le.
7561         (ms_biff_put_destroy) : cleanup.
7563 2002-11-07  Jody Goldberg <jody@gnome.org>
7565         * ms-excel-write.c (excel_write_state_new) : merge biff7 and biff8
7566           versions.
7567         (excel_write_externsheets_v8) : basic initial implementation handles
7568           externnames.
7570         * ms-excel-read.c (excel_read_workbook) : add a flag to indicate dual
7571           stream file.
7573         * boot.c (excel_file_open) : set the saver reasonably intellifently.
7574         (excel_save) : support dual stream files.
7575         (excel_dsf_file_save) : new.
7576         * plugin.xml.in : enable dual stream files
7578 2002-11-05  Jody Goldberg <jody@gnome.org>
7580         * plugin.xml.in : enable excel97
7582         * ms-excel-write.c (excel_write_value) : use BIFF8 SST records.
7583         (excel_write_state_free) : clean up SST here.
7584         (excel_write_state_new) : shared routine for biff7 and biff8.
7585         (excel_utf8_has_multibyte) : quicky utility.
7586         (excel_write_SST) : initial basic implementation still needs unicode
7587           support.
7588         (excel_write_BOF) : renamed from biff_bof_write and sync versions with
7589           XL 2k.
7591 2002-11-04  Jody Goldberg <jody@gnome.org>
7593         * boot.c (excel_save) : prep for biff8 save, and double stream files.
7595         * ms-excel-read.c (excel_read_XF) : fix rotation.
7596         (excel_read_SST) : improve debug info.
7598         * ms-excel-write.c (write_xf_record) : write the BIFF8 support.
7599         (rotation_to_excel) : new.
7601 2002-11-04  J.H.M. Dassen (Ray) <jdassen@debian.org>
7603         * ms-biff.c, ms-escher.c, ms-excel-read.c, ms-excel-write.c,
7604           ms-formula-write.c, ms-obj.c: Included headers for some standard
7605           library functions.
7607 2002-11-04  Nick Lamb <njl98r@ecs.soton.ac.uk>
7609         * biff-types.h: Add BIFF_INTEGER
7610         * ms-excel-read.c: More non-OLE Excel file support.
7612 2002-11-02  J.H.M. Dassen (Ray) <jdassen@debian.org>
7614         * ms-obj.h: Added declaration of ms_obj_new .
7616 2002-11-01  Jody Goldberg <jody@gnome.org>
7618         * Release 1.1.11
7620 2002-10-31  Jody Goldberg <jody@gnome.org>
7622         * ms-formula-read.c (excel_parse_formula) : adjust the name and
7623           externname handling.
7625         * ms-excel-read.c (excel_workbook_new) : make supbook an array rather
7626           than a ptr array.
7627         (excel_workbook_destroy) : cleanup the new data structures.
7628         (excel_read_EXTERNNAME) : revamp handling for biff8 to store in a
7629           distinct structure from the NAMEs, and associate that with the
7630           SUPBOOK even though the docs claim otherwise.  I suspect the docs
7631           were written for Biff7 and not updated.  This is the only thing that
7632           makes sense based on the record ordering.
7633         (excel_read_NAME) : merge in the ms_container_add_name code.
7634         (excel_externsheet_v8) : simplify the interface and return the structure
7635         (supbook_get_sheet) : adjust to the new data structures.
7636         (excel_read_SUPBOOK) : be more expressive.  We're ready to handle
7637           externals now.  Just need to write a parser for the links.
7639         * ms-container.c (ms_container_get_name) : No sense having it here.
7640           The code is specific to the PTG handler.  move it there.
7641         (ms_container_add_name) : also more specific to the NAME and
7642           EXTERNNAME handlers.  Move it there.
7644 2002-10-30  Jody Goldberg <jody@gnome.org>
7646         * ms-excel-read.c (excel_read_NAME) : handle unicode names.
7648 2002-10-28  Morten Welinder  <terra@diku.dk>
7650         * ms-escher.c (ms_escher_read_ClientTextbox): Don't leak text even
7651         though we haven't implemented the feature.  (I'm tired of hunting
7652         this leak down.)
7654 2002-10-28  Jody Goldberg <jody@gnome.org>
7656         * ms-excel-write.c (excel_write_WINDOW2) : go back to selecting the
7657           current sheet.
7658         (excel_write_WINDOW1) : store the currently selected sheet here too.
7660         * ms-excel-read.c (excel_read_EXTERNSHEET_v7) : kludge around screw up
7661           in opencalc exporter.
7663 2002-10-27  Nick Lamb <njl98r@ecs.soton.ac.uk>
7665         * ms-excel-read.c: Factor out some code into new functions, more
7666           support for non-OLE Excel files, especially formulae.
7668 2002-10-27  Jody Goldberg <jody@gnome.org>
7670         * Release 1.1.10
7672 2002-10-26  Jody Goldberg <jody@gnome.org>
7674         * ms-excel-write.c : Start rationalizing things.
7675         * ms-formula-write.c : ditto.  Lots of adjustments.
7676         - start handling biff7 externsheets correctly
7677         - fix handling of non builtin functions
7679         * ms-excel-read.c (excel_add_name) : delete.
7680         (excel_workbook_get_name) : ditto.
7682         * ms-formula-read.c : Hopefully the last major tweak to names and
7683           externsheets for biff7.  This now loads all test cases smoothly.
7684           It seems that biff7 stores per bof sets of externsheets.
7686         * ms-container.c (ms_container_init) : Add a version and a workbook
7687           pointer.  Init the new biff7 extern handling data structures.
7688         (ms_container_finalize) : and release them here.
7689         (ms_container_get_name) : new to handle biff7 or biff8 magic.
7690         (ms_container_add_name) : ditto.
7692         * ms-chart.c (BC_R(ai)) : parse the expression as ourselves, not the
7693           container.
7694         (chart_parse_expr) : implement.
7695         (ms_excel_chart) : handle EXTERNSHEET and EXTERNCOUNT for biff7 style
7696           storage with per BOF EXTERN*.
7698         * ms-biff.c (ms_biff_put_destroy) : take responsibility for the output
7699           stream.
7701         * boot.c (excel_save) : check that we can open the output file before
7702           we bother collecting things for export.
7704 2002-10-25  Jody Goldberg <jody@gnome.org>
7706         * ms-excel-read.c (excel_read_XF) : init shrink to fit in the non
7707           biff8 case.
7709 2002-10-24  Jody Goldberg <jody@gnome.org>
7711         * ms-excel-read.c (excel_parse_name) : patch leak.
7713 2002-10-25  Morten Welinder  <terra@diku.dk>
7715         * ms-biff.c (skip_bytes): Make scratch buffer static to ensure
7716         it's initialised.  Add assert, just in case.
7718 2002-10-24  Morten Welinder  <terra@diku.dk>
7720         * ms-excel-read.c (excel_read_XCT): Fix typo, I think.
7722 2002-10-21  Jody Goldberg <jody@gnome.org>
7724         * ms-formula-read.c (excel_parse_formula) : Ok. take a 2nd crack at
7725           the externsheet handling in area3d and ref3d for biff7.  It seems
7726           like XL2k generates different indicies when exporting as XL95 than
7727           XL95 did.  So have a fall back.  If the theory that
7728             a+1 == -ixals, a, b are 0 based
7729           fails.  Go back to
7730             a   == ixals, and a, b are 1 based
7732 2002-10-21  Jody Goldberg <jody@gnome.org>
7734         * ms-formula-read.c (ms_excel_parse_formula) : improve readability of
7735           debug spew and send thing to stderr.
7736         Fix handling of extern names and refrences.  This time I think we've
7737         finally got it.
7739 2002-10-21  Jody Goldberg <jody@gnome.org>
7741         * ms-excel-read.c : tidy up naming conventions
7742             excel_read_<BIFFTAG>
7743           - Use fprintf to keep g_warning and printfs in sync
7744           - Use esheet for ExcelSheets and ewb for ExcelWorkbooks
7745           - Use Sheet and wb for the gnumeric variants
7746         (ms_excel_sheet_new) : check to see if the sheet already exists
7747           in case it was implicitly created in a SUPBOOK or EXTERNSHEET.
7748           This will be useful when we start restoring external links shortly.
7749         (ms_excel_workbook_attach) : delete.
7750         (ms_excel_workbook_detach) : delete.
7751         (ms_excel_sheet_destroy) : clear out the sheet local extensheet
7752           records for biff5.
7753         (excel_read_BOUNDSHEET) : use ms_excel_sheet_new.
7754         (excel_externsheet_v8) : rewrite to handle self ref.  Only partially
7755           done.
7756         (supbook_get_sheet) : ditto.
7757         (excel_read_EXTERNSHEET_v8) : ditto.
7758         (excel_externsheet_v7) : fix to use local externsheets.
7759         (excel_read_EXTERNSHEET_v7) : rewrite and prep for external
7760           references.
7761         (excel_workbook_get_name) : work around 'self ref' records for biff8.
7762         (excel_parse_name) : work on scoping.  works for biff7 not biff8.
7763         (ms_excel_handle_delayed_NAMEs) : delete.  the externsheet records are
7764           enough.
7765         (excel_read_EXTERNNAME) : builtin names are just short forms for
7766           names, they have special meanings to XL but no special behavior.
7767         (excel_read_NAME) : ditto.  Use the new externsheet setup and drop all
7768           of the delayed parsing goo.
7769         (excel_read_XCT) : new.  prep for external references.
7770         (excel_read_CALCMODE) : new.  now that we support manual recalc.
7772 2002-10-17  Jody Goldberg <jody@gnome.org>
7774         * ms-excel-read.c (ms_excel_parse_NAME) : It looks like some
7775           builtinnames are just names, no definitions. eg 'Database'
7776           It also looks like these sheet_indexes apply to externsheet records
7777           for <= biff7 (see pivot.xls) rather than boundsheets.
7779 2002-10-13  Jody Goldberg <jody@gnome.org>
7781         * ms-excel-read.c (ms_excel_read_pane) : the sizes are only valid if
7782           there is a freeze in that direction.
7784         * ms-excel-read.c (ms_excel_read_dv) : Fix handling of empty strings
7785           and improve validation.  NOTE : This is likely to come up again.
7786           We need to know when there is always a 1 byte header, and when there
7787           isn't in biff_get_text.
7789 2002-10-09  Morten Welinder  <welinder@rentec.com>
7791         * ms-obj.h (struct _MSObj): Avoid "gboolean ... : 1".
7792         * ms-excel-read.h (struct _ExcelSheet): Avoid "gboolean ... : 1".
7794 2002-10-10  Nick Lamb <njl98r@ecs.soton.ac.uk>
7796         * plugin.xml.in: Excel 4.x had .XLW workbooks as well as .XLS
7797         * boot.c: Try to load non-OLE files too
7799 2002-10-09  Morten Welinder  <terra@diku.dk>
7801         * ms-excel-read.c (ms_excel_workbook_destroy): Don't leak
7802         ->supbooks.
7804 2002-10-08  Jody Goldberg <jody@gnome.org>
7806         * ms-excel-write.c (write_names) : Fix leak by not inserting copies of
7807           of the name string.
7808           1) no need to copy
7809           2) no need to do a string compare
7811 2002-10-07  Jody Goldberg <jody@gnome.org>
7813         * ms-excel-read.c (ms_excel_read_workbook) : handle workbook protected
7814           files (thanks jpablo).
7816 2002-10-04  Jody Goldberg <jody@gnome.org>
7818         * ms-excel-read.c (ms_excel_parse_NAME) : ahhh, I understand now.
7819           names with expr_len == 0 represent the placeholders used for unknown
7820           names.
7822 2002-10-02  Jody Goldberg <jody@gnome.org>
7824         * ms-chart.c (BC_R) : handle empty text.
7826         * boot.c : simplify now that IOContext inherits from CommandContext
7827           Move the metadata export here for symetry with the import.
7829 2002-09-30  Jody Goldberg <jody@gnome.org>
7831         * plugin.xml.in : disable 97 until it is ready for widespread use
7833 2002-09-30  Jody Goldberg <jody@gnome.org>
7835         * Release 1.1.9
7837 2002-09-30  Jody Goldberg <jody@gnome.org>
7839         * boot.c (excel_file_open) : typo
7841 2002-09-27  Jody Goldberg <jody@gnome.org>
7843         * boot.c (excel_save) : restore macros.
7845         * boot.c (excel_file_open) : handle confused files that misname the
7846           streams.  Store macros if they exist.
7848 2002-09-26  Jody Goldberg <jody@gnome.org>
7850         * ms-formula-read.c (ms_excel_parse_formula) : fix handling of 26 & 27.
7851           The docs are confusing.  The cached data is appended not to the
7852           subexpression but to the entire string.  While we're here add a stub
7853           for tables.
7855 2002-09-26  Jody Goldberg <jody@gnome.org>
7857         * ms-formula-read.c (ms_excel_parse_formula) : supply handling of
7858           pgts 26 & 27.  We can ignore them but they frequently wrap the
7859           intersection operator, the export will be a pain in the butt.
7861 2002-09-25  Jody Goldberg <jody@gnome.org>
7863         * ms-formula-read.c (binary_ops) : enable intersection
7864           still needs work.
7865         * ms-formula-write.c (ms_formula_build_pre_data) : ditt.
7866         (write_node) : ditto.
7868 2002-09-15  Jody Goldberg <jody@gnome.org>
7870         * ms-formula-read.c (const) : DateDif takes 3 arguments.
7872 2002-09-10  Morten Welinder  <terra@diku.dk>
7874         * ms-escher.c: Make shade_ParamMask be within int's range by
7875         casting it.
7876         * ms-escher.c: Avoid trailing commas in enums.
7878 2002-09-05  Jody Goldberg <jody@gnome.org>
7880         * ms-formula-write.c (ms_formula_write_pre_data) : remove some obvious
7881           silliness
7883 2002-09-04  Jody Goldberg <jody@gnome.org>
7885         * *.c : remove ifdef WITH_BONOBOization of graphs
7887 2002-08-30  Jody Goldberg <jody@gnome.org>
7889         * boot.c (excel_read_metadata) : new.
7890         (excel_file_open) : read the doc and summary meta info streams.
7891           Don't do anything with the data yet, but start the ball rolling.
7893 2002-08-30  Morten Welinder  <terra@diku.dk>
7895         * ms-excel-read.c (ms_excel_read_formula): Avoid copying of
7896         string.
7897         (ms_excel_parse_formula): Ditto.
7899 2002-08-29  Morten Welinder  <terra@diku.dk>
7901         * ms-excel-util.c (two_way_table_new): Take an extra arg for
7902         getting rid of keys.  All callers changed.
7904         * ms-excel-write.c (formats_init): Supply an unreffer to
7905         two_way_table_new.
7907 2002-08-29  Morten Welinder  <terra@diku.dk>
7909         * ms-excel-write.c (free_workbook): Plug leaks.
7911 2002-08-28  Jody Goldberg <jody@gnome.org>
7913         * ms-excel-read.c (ms_excel_read_workbook) :
7914           excel_iconv_open_for_import moved to libgsf.
7916 2002-08-28  Jody Goldberg <jody@gnome.org>
7918         * ms-excel-read.c (ms_excel_read_workbook) : gnm_iconv_close moved to
7919           libgsf.
7920         * ms-excel-write.c (write_workbook) : ditto.
7921         * ms-summary.c (ms_summary_read) : ditto.
7922         (ms_summary_write) : ditto.
7924 2002-08-25  Jody Goldberg <jody@gnome.org>
7926         * Release 1.1.8
7928 2002-08-25  Jody Goldberg <jody@gnome.org>
7930         * ms-excel-write.c (excel_write_externsheets) : store the unquoted
7931           name.
7932         (excel_write_SELECTION) : swap args to be consistent.
7933           Store current pane == 3 rather than 0 to silence the warning when
7934           loading our sheets in MS Excel.
7935         (ms_excel_write_workbook) : add some dummy metadata streams.
7937 2002-08-21  Jody Goldberg <jody@gnome.org>
7939         * ms-obj.c (ms_obj_new) : add a convenience routine to be safe.
7940         (ms_read_OBJ) : Use it here.
7942 2002-08-19  Jon K Hellan  <hellan@acm.org>
7944         * ms-biff.c (ms_biff_query_peek_next, ms_biff_put_var_seekto,
7945         ms_biff_put_var_commit, ms_biff_put_len_commit): Use glib's seek
7946         enum instead of the enum which used to be in libgsf.
7948         * ms-excel-write.c (biff_boundsheet_write_last, write_index): Ditto.
7950 2002-08-18  Jody Goldberg <jody@gnome.org>
7952         * ms-excel-util.c (excel_iconv_open_for_import) : fix unicode codepage
7953           to be actual unicode with the high bit lopped off, which I hope is
7954           synonymous with 8859-1.  This still needs to be translated into
7955           UTF-8.
7957 2002-08-17  Jon K Hellan  <hellan@acm.org>
7959         * ms-chart.c (BC_R): Fix typos.
7961 2002-08-17  Jody Goldberg <jody@gnome.org>
7963         * ms-excel-util.c (get_locale_charset_name) : delete.
7964         (excel_iconv_open_for_import) : realize that 1200 and 1201 are both
7965           unicode and that we only want to convert to UTF-8.
7966         (excel_wcstombs) : die die die.  We may need this again one day when
7967           exporting UTF-8 back to xl 95.  But we'll cross that bridge when we
7968           come to it.
7970         * ms-excel-read.c (get_chars) : internally text should always be UTF-8.
7971         (ms_excel_read_workbook) : fix the warning.
7972           I've found some references for the code pages.
7974 2002-08-16  Jon K Hellan  <hellan@acm.org>
7976         * ms-excel-read.c (ms_excel_read_SUPBOOK): Shut up warning.
7978 2002-08-15  Jon K Hellan  <hellan@acm.org>
7980         * ms-excel-write.c (biff_boundsheet_write_last, write_index):
7981         Change type of oldpos variable to gsf_off_t.
7983 2002-08-13  Jody Goldberg <jody@gnome.org>
7985         * ms-obj.c (ms_obj_read_pre_biff8_obj) : support colours for polygons.
7987         * ms-excel-read.c (ms_sheet_create_obj) : Add support for polygon
7988           colours.
7989         (ms_sheet_obj_anchor_to_pos) : hmm, our supposition that >= 97 ==
7990           1/256 and < 97 == 1024 seems wrong in the face of chap03-1.
7992 2002-08-12  Jody Goldberg <jody@gnome.org>
7994         * Release 1.1.7
7996 2002-08-12  Jody Goldberg <jody@gnome.org>
7998         * ms-obj.c (ms_object_attr_new_array) : new.
7999         (ms_object_attr_get_expr) : ditto.
8000         (ms_object_attr_destroy) : support arrays.
8001         (ms_obj_read_pre_biff8_obj) : Parse the coord list for polygons.
8003         * ms-excel-read.c (ms_excel_read_SUPBOOK) : do a touch more.
8004         Still need to write the encoded path parser.
8006         * ms-excel-read.c (ms_excel_read_cf) : don't leak.
8008 2002-08-11  Jody Goldberg <jody@gnome.org>
8010         * ms-formula-read.c (ms_excel_parse_formula) : add bounds testing to
8011           reading const strings.  It will save us from corrupt data, and
8012           rescue us from the misexported xls in 1.0.6,1.0.7
8014         * ms-excel-read.c (biff_xf_data_new) : read shrink to fit.
8015         (ms_excel_parse_NAME) : Ignore 0 length expressions.
8017         * ms-formula-read.c (expr_tree_error) : new.
8018         (parse_list_pop) : use it more loudly here.
8019         (ms_excel_parse_formula) : and here.
8021 2002-08-09  Jody Goldberg <jody@gnome.org>
8023         * ms-excel-read.c (ms_excel_read_workbook) : silence the warnings
8024           caused by reading the padding at the end of files.
8026 2002-08-08  Jody Goldberg <jody@gnome.org>
8028         * ms-formula-read.c (ms_excel_parse_formula) : improve handling of
8029           arrays.
8031         * ms-excel-read.c (biff_boundsheet_data_new) : improve debug spew.
8032         (sst_read_string) : no need to pass version an sst is biff8 specific.
8033         (ms_excel_read_SST) : ditto.
8034         (ms_excel_read_EXSST) : new convience routine.
8035         (biff_boundsheet_data_new) : move boundsheet_data_by_index into a ptr
8036           array, and store the gnumeric sheets directly.
8037         (ms_excel_workbook_new) : use g_hash_table_new_full to make cleanup
8038           easier.
8039         (ms_excel_workbook_destroy) : simplify.
8040         (ms_excel_read_SETUP) : support the 'print comments' flag
8041         (ms_excel_read_MULRK) : split into its own function.
8042         (ms_excel_read_MULBLANK) : ditto.
8043         (ms_excel_read_SCL) : ditto
8044         (ms_excel_read_sheet) : spew the sheet password in case we need to
8045           generate it.
8046         (ms_excel_SUPBOOK) : I finally understand the self reference magic.
8047           More work to do to support external links.
8048         (ms_excel_workbook_get_externsheet_v8) : improve the warnings on error.
8049         (ms_excel_externsheet_v8) : those sheet indicies are BOUNDSHEET
8050           references if the supbook is a self reference.  We cannot directly
8051           access the Gnumeric sheets because XL has hidden elements that skew
8052           the index.
8053         (ms_excel_workbook_get_externsheet_v7) : ditto.
8054         (ms_excel_externsheet_v7) : store the sheet directly.
8056         * ms-excel-write.c (write_magic_interface) : biff8 stores the code
8057           page in the interface header for some reason.
8058         (ms_excel_write_EOF) : rename from biff_write_eof.
8059         (excel_write_SETUP) : new.
8060         (write_wsbool) : remove duplicate code.
8061         (excel_write_COUNTRY) : new.
8062         (write_sheet_head) : tidy.
8063         (excel_write_sheet_tail) : SCL is not version specific.
8064         (sst_collect_str) : new.
8065         (ms_excel_write_SST) : prepare to write an SST (not finished)
8067 2002-08-07  Jody Goldberg <jody@gnome.org>
8069         * ms-excel-write.c (init_base_char_width_for_write) : delete.
8070         (style_get_char_width) : renamed from get_base_char_width as it is now
8071           just a wrapper around the
8072         (ms_excel_write_DEFCOLWIDTH) : renamed from write_default_col_width
8073           and use the right font in the width calculations.
8074         (ms_excel_write_COLINFO) : renamed from write_colinfo and use the
8075           right font in the width calculations.
8077 2002-08-06  Morten Welinder  <terra@diku.dk>
8079         * *.c: use gsf_le_get_double and gsf_le_set_double.
8081 2002-08-05  Jody Goldberg <jody@gnome.org>
8083         * ms-biff.c (ms_biff_put_var_write) : const.
8085         * ms-excel-write.c (write_magic_interface) : Use the symbolic names.
8086         (biff_put_text) : no need to write 8byte text 1 byte at a time.
8088 2002-08-06  Morten Welinder  <terra@diku.dk>
8090         * md5.h (UINT4): Portability fix.
8092         * rc4.h: Guard.
8093         * md5.h: Guard.
8094         * biff-types.h: Guard.
8095         * escher-types.h: Guard.
8096         * formula-types.h: Guard.
8098 2002-08-04  Jody Goldberg <jody@gnome.org>
8100         * ms-formula-read.c (ms_excel_parse_formula) : remove bogisity about
8101           'Magic Addin Name'
8103 2002-07-22  Zbigniew Chyla  <cyba@gnome.pl>
8105         * plugin.xml.in: Set loader type to "Gnumeric_Builtin:module".
8107 2002-08-01  Jody Goldberg <jody@gnome.org>
8109         * ms-excel-write.c (biff_put_text) : set the unicode flag on the
8110           string header for unicode strings.  This routine needs to be cleaned
8111           up to handle UTF-8 -> UTF-16 if necessary.
8112         (biff_boundsheet_write_first) : tidy and make the name len 1 byte.
8113         (gather_palette) : convert to new two way table convention.
8114         (gather_fonts) : ditto.
8115         (gather_formats) : ditto.
8116         (xf_free) : ditto.
8117         (after_put_mstyle) : ditto.
8118         (put_mstyle) : simplify.
8119         (xf_init) : delete.
8120         (cell_used_map_new) : delete.
8121         (cell_mark_used ) : delete.
8122         (cell_is_used) : delete.
8123         (excel_cell_get) : delete.
8124         (pre_cell) : delete.
8125         (pre_blank) : delete.
8126         (pre_blanks) : delete.
8127         (pre_colstyle) : delete.
8128         (gather_styles) : greatly simplify by using the knowledge that there
8129           is a per sheet hash of the styles in use.
8130         (cb_accum_styles) : new.
8131         (write_cell) : Use the gnumeric data structures directly.
8132         (write_block) : ditto.
8133         (ms_excel_write_wsbool) : new.
8134         (write_sheet_head) : use ms_excel_write_wsbool.
8135         (excel_sheet_new) : no more need for large cell map.
8136         (excel_sheet_free) : ditto.
8138         * ms-excel-util.c (two_way_table_new) : Allow for ptr tp ptr
8139           comparisons as an optimization.
8140         (two_way_table_free) : ditto.
8141         (two_way_table_put) : ditto.
8142         (two_way_table_replace) : ditto.
8143         (two_way_table_key_to_idx) : ditto.
8145         * boot.c (excel_save) : bah!  I forgot to commit this.  export is
8146           broken without it.
8148 2002-07-21  Jody Goldberg <jody@gnome.org>
8150         * Release 1.1.6
8152 2002-07-19  Jody Goldberg <jody@gnome.org>
8154         * ms-excel-read.c (ms_excel_read_hlink) : improve bounds checking.
8156 2002-07-19  Jody Goldberg <jody@gnome.org>
8158         * plugins/excel/ms-excel-read.c (ms_excel_read_hlink) : tidy up and
8159           support custom tool tips.
8161 2002-07-18  Jody Goldberg <jody@gnome.org>
8163         * ms-excel-read.c (ms_excel_read_imdata) : only read the amount of
8164           data in the imrecord.  not all continues add infinitum.  Fixes
8165           guia.xls.
8167         * ms-obj.c (ms_read_TXO) : don't expect continue records if there is
8168           no text.  Fixes guia2.xls.
8170 2002-07-16  Jody Goldberg <jody@gnome.org>
8172         * ms-excel-read.c (ms_excel_read_sheet) : reorder 0x1xx entries to be
8173           in increasing order and support hlinks.
8174         (ms_excel_read_hlink) : new.
8176 2002-07-14  Jody Goldberg <jody@gnome.org>
8178         * ms-obj.c (ms_obj_read_pre_biff8_obj) : move the
8179           initialization of the prop bag from here.
8180         (ms_read_OBJ) : to here.  Fixes the guia2 hash warnings.
8182 2002-07-09  Morten Welinder  <terra@diku.dk>
8184         * boot.c (excel_file_open): Don't leak the stream.
8186 2002-06-27  Jody Goldberg <jody@gnome.org>
8188         * ms-excel-read.c (ms_excel_read_selection) : put the edit_pos in the
8189           right place.
8191         * ms-excel-write.c (write_sheet_tail) : Use stern_brocot to get a
8192           reasonable fraction.
8193         (write_sheet_selection) : split the writing of the selection out into
8194           here and implement it.
8196 2002-06-22  Jody Goldberg <jody@gnome.org>
8198         * ms-formula-write.c (operations) : export intersection.
8200         * ms-formula-read.c (ms_excel_parse_formula) : enable mem_func
8201           support.
8202         (binary_ops) : use range_ctor for RANGE.
8204 2002-06-20  Jody Goldberg <jody@gnome.org>
8206         * ms-excel-read.c (ms_excel_workbook_new) : store the workbookview.
8207         (ms_excel_read_selection) : selection is now in the view.
8209 2002-06-06  Jody Goldberg <jody@gnome.org>
8211         * ms-excel-read.c (ms_excel_read_workbook) : convert to gsf.
8212           No need to handle the ole here.  Just take a GsfInput.  That way we
8213           can try to parse non ole files too :-)
8215         * ms-biff.c (ms_biff_query_set_decrypt) : convert to Gsf.
8216         (ms_biff_query_new) : ditto.
8217         (ms_biff_query_peek_next) : ditto.
8218         (ms_biff_query_next) : ditto.
8220         * boot.c (excel_file_probe) : convert to GsfInput.
8221         (excel_file_open) : ditto.
8223         * biff-types.h : add a few under-documented opcodes.
8225 2002-05-28  Jody Goldberg <jody@gnome.org>
8227         * ms-biff.c (ms_biff_query_peek_next) : we only need the opcode, not
8228           the length.
8230 2002-05-14  Jody Goldberg <jody@gnome.org>
8232         http://bugzilla.gnome.org/show_bug.cgi?id=81766
8233         * ms-excel-read.c (ms_excel_read_formula) : work around undocumented
8234           'feature' that will store a 0 length RECORD for empty strings.
8236 2002-05-29  Jody Goldberg <jody@gnome.org>
8238         * Release 1.1.4
8240 2002-05-15  Jody Goldberg <jody@gnome.org>
8242         * ms-biff.c (verify_password) : support unicode passwords.
8244 2002-05-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
8246         * ms-excel-read.c (ms_excel_init_margins) : margins are now in
8247           print_config
8248         (ms_excel_read_setup) : ditto
8249         (ms_excel_read_sheet) : ditto
8250         * ms-excel-write.c (margin_write) : ditto
8251         (write_sheet_head) : use modified margin_write
8253 2002-05-05  Jody Goldberg <jody@gnome.org>
8255         * ms-obj.c (ms_obj_read_biff8_obj) : tack on a flag to handle the
8256           magic associated with combos for filters.
8257         * ms-excel-read.c (ms_sheet_create_obj) : respect the new flag.
8259 2002-04-29  Jody Goldberg <jody@gnome.org>
8261         * Release 1.1.3
8263 2002-04-21  Jody Goldberg <jody@gnome.org>
8265         * ms-excel-read.c (ms_excel_externsheet_v8) : handle references to
8266           deleted sheets.
8268         * ms-escher.c (ms_escher_read_Blip) : remove some debug cruft.
8270 2002-04-15  Jon K Hellan  <hellan@acm.org>
8272         * boot.c: s/main.h/libgnumeric.h/
8274         * ms-excel-write.c: Ditto.
8276 2002-04-13  Jody Goldberg <jody@gnome.org>
8278         * ms-excel-read.c (ms_excel_read_AUTOFILTER) : start work on filters.
8279         (ms_excel_read_sheet) : support the filter records.
8281 2002-04-13  Jon K Hellan  <hellan@acm.org>
8283         * ms-chart.c: s/ENABLE_BONOBO/WITH_BONOBO/
8285         * ms-excel-read.c: Ditto
8287 2002-03-27  Jody Goldberg <jody@gnome.org>
8289         * ms-biff.c (ms_biff_query_set_decrypt) : protect against NULL
8290           passwords.
8292 2002-03-25  Jody Goldberg <jody@gnome.org>
8294         * Release 1.1.2
8296 2002-03-26  Jody Goldberg <jody@gnome.org>
8298         * ms-biff.c (wvMD5StoreDigest) : new from libwv-7.1
8299         (makekey) : ditto.
8300         (verify_password) : tweaked from libwv.
8301         (skip_bytes) : new.
8302         (ms_biff_query_set_decrypt) : new.
8303         (ms_biff_query_new) : support encryption.
8304         (ms_biff_query_next) : ditto.
8305         (ms_biff_query_destroy) : ditto.
8307         * ms-excel-read.c (ms_biff_bof_data_new) : Use the un-decoded data.
8308         (ms_excel_read_sheet) : comment that it seems like bytes 12 & 16 are
8309           not encrypted.
8310         (biff_boundsheet_data_new) : stream start pos seems un encrypted.
8312 2002-03-22  Jon K Hellan  <hellan@acm.org>
8314         * ms-excel-read.c (ms_excel_get_style_from_xf): Be prepared for
8315         color 65 as pattern color.
8317 2002-03-20  Jody Goldberg <jody@gnome.org>
8319         * ms-excel-read.c (ms_excel_read_sheet) : 15 is the
8320           default fmt for cells.  0 is the default style fmt that is its
8321           parent.
8322         (ms_excel_set_xf) : not strictly correct.  We should apply if the col,
8323           row is different.
8324         (ms_excel_set_xf_segment) : no need to apply if it is the default.
8326 2002-03-18  Morten Welinder  <terra@diku.dk>
8328         * ms-excel-read.h (_ExcelWorkbook): Add sharer.
8330         * ms-excel-read.c (ms_excel_workbook_new): Initialize sharer.
8331         (ms_excel_workbook_destroy): Destroy sharer.
8333         * ms-formula-read.c (ms_excel_parse_formula): Share resulting
8334         formulae.
8336 2002-03-16  Jody Goldberg <jody@gnome.org>
8338         * ms-excel-read.c (ms_excel_workbook_destroy) : we can have NULL
8339           names as place holders.
8341 2002-03-15  Jody Goldberg <jody@gnome.org>
8343         * ms-excel-read.c (ms_excel_sheet_destroy) : make deleting the
8344           gnum_sheet optional.
8346         * ms-excel-read.c (ms_excel_parse_NAME) : add a ref.
8347         (ms_excel_workbook_destroy) : don't leak the sheets, or the names.
8349 2002-03-15  Andreas J. Guelzow <aguelzow@taiesin.ca>
8351         * ms-excel-read.c : calculate desired tab_text_color upon reading of
8352           tab_color
8354 2002-03-14  Jody Goldberg <jody@gnome.org>
8356         * ms-obj.c (ms_obj_read_pre_biff8_obj) : doh! Fix sense of result so
8357           that reading works.
8359 2002-03-11  Jody Goldberg <jody@gnome.org>
8361         * ms-excel-read.c (ms_excel_externname) : Store the name for use as a
8362           function.
8364 2002-03-10  Jody Goldberg <jody@gnome.org>
8366         * Release 1.1.1
8368 2002-03-08  Jody Goldberg <jody@gnome.org>
8370         * ms-excel-read.c (ms_excel_workbook_new) : store an iocontext.
8371           init the delayed name list for xl95.
8372         (ms_excel_parse_NAME) : split out of.
8373         (ms_excel_read_NAME) : here.
8374         (ms_excel_handle_delayed_NAMEs) : new.
8375         (ms_excel_externsheet_v8) : be quiet.
8376         (ms_excel_read_workbook) : check for delayed names on EOF.
8378 2002-03-07  Jody Goldberg <jody@gnome.org>
8380         * ms-excel-read.c (ms_excel_externsheet_v8) : don't warn for local
8381           name records.
8382         (ms_excel_read_NAME) : typo.
8384 2002-03-07  Jody Goldberg <jody@gnome.org>
8386         * ms-excel-read.c : revamp extensheet handling and name import.
8387           Still does not work for XL95, but things should be ok for >= 97.
8388           Getting closer to supporting external references.
8390 2002-03-02  Jody Goldberg <jody@gnome.org>
8392         * ms-excel-write.c (write_externsheets) : Use unquoted.  This code
8393           needs some love.
8395 2002-03-02  Jody Goldberg <jody@gnome.org>
8397         * ms-excel-read.c (ms_excel_read_formula) : avoid leaking when faced
8398           with bad input.
8399         (ms_excel_read_formula) : ditto.
8401 2002-02-28  Jody Goldberg <jody@gnome.org>
8403         * ms-formula-write.c (write_area) : write explicitly scoped addreses
8404           as area3d not area.  Use tx = 0xffff and warn that we only support
8405           locale sheets.
8407         * ms-excel-write.c (write_bits) : better attribution and dump names.
8408         (write_workbook) : let write_bits handle the names.
8410 2002-02-26  Jody Goldberg <jody@gnome.org>
8412         * ms-escher.c (ms_escher_get_data) : clarify the interface.
8413         (ms_escher_read_BSE) : fix call to ms_escher_get_data.
8414         (ms_escher_read_Sp) : ditto.
8415         (ms_escher_read_ClientAnchor) : ditto.
8416         (ms_escher_read_OPT) : ditto.
8417         (ms_escher_read_container) : ditto.
8418         (ms_escher_read_Blip) : support decompress and validate emf & wmf.
8420         * ms-excel-util.c (excel_iconv_open_for_import) : recognize that
8421         cp1200 makes no sense in that context and fall back to 8859-1.
8423 2002-02-24  Jody Goldberg <jody@gnome.org>
8425         http://bugzilla.gnome.org/show_bug.cgi?id=72459
8426         * ms-formula-write.c (write_node) : fix typo.
8428 2002-02-26  Morten Welinder  <terra@diku.dk>
8430         * ms-excel-read.c (biff_get_rk): Improve precision ever so
8431         slightly on numbers that are scaled by 0.01.
8433 2002-02-25  Jon K Hellan  <hellan@acm.org>
8435         * ms-excel-read.c (ms_sheet_create_image): New function. Factor
8436         image creation out of ms_sheet_create_obj and also handle cropping.
8437         (ms_sheet_create_obj): Call ms_sheet_create_image.
8439 2002-02-23  Jon K Hellan  <hellan@acm.org>
8441         * plugin.xml.in: Recognize *.xlt extension.
8443 2002-02-21  Morten Welinder  <terra@diku.dk>
8445         * ms-excel-write.c (init_base_char_width_for_write): Constify.
8446         (ms_excel_write_workbook): Constify.
8448         * ms-excel-read.c (get_substitute_font): Constify.
8449         (ms_excel_get_style_from_xf): Constify.
8450         (biff_boundsheet_data_new): Constify.
8452         * ms-summary.c (read_summary_items): Constify.
8454         * ms-excel-util.c (get_locale_charset_name): Constify.  Remove
8455         code conditioned on HAVE_ICONV && !HAVE_ICONV.
8457         * ms-escher.c (ms_escher_read_BSE): Constify.
8459 2002-02-20  Morten Welinder  <terra@diku.dk>
8461         * ms-excel-write.c (write_value): Fix format.
8463         * ms-excel-read.c (ms_excel_read_name): Constify.
8465         * ms-formula-read.c (formula_func_data): Constify.
8467         * ms-excel-util.c (two_way_table_put): Constify.
8469 2002-02-19  Jon K Hellan  <hellan@acm.org>
8471         * ms-excel-read.c (ms_excel_palette_get): Update documentation.
8472         (ms_excel_get_style_from_xf): Remove case 0.
8473         (biff_xf_data_new): Save difference bits. We don't use them yet,
8474         though. Documentation is wrong, background color is one bit more
8475         than documented
8477         * ms-excel-write.h (struct _ExcelFont): Add is_auto member.
8478         (PALETTE_BLACK): Change from 0 to 8.
8479         (PALETTE_WHITE): Change from 1 to 9.
8480         (PALETTE_AUTO_PATTERN, PALETTE_AUTO_BACK, PALETTE_AUTO_FONT,
8481         FILL_NONE, FILL_SOLID): Define
8483         * ms-excel-write.c (write_window2): Write grid / auto pattern
8484         color.
8485         (style_color_to_int): Rename to style_color_to_rgb888.
8486         (palette_put_defaults): Call index 8 'PALETTE_BLACK'. Mark both
8487         black and white as in use.
8488         (palette_get_index): Return 8 (PALETTE_BLACK) for black, and 9
8489         (PALETTE_WHITE) for white.
8490         (put_color): Call style_color_to_rgb888 with new name.
8491         (excel_font_new): Call style_color_to_rgb888 with new name. Save
8492         is_auto flag.
8493         (excel_font_hash): Include is_auto in hash func, and shift flags
8494         so they don't just cancel each other.
8495         (excel_font_equal): Include is_auto in comparison.
8496         (write_font): Store as auto color when appropriate.
8497         (fixup_fill_colors): Simplify and merge into build_xf_data.
8498         (style_color_to_pal_index): New function. Return Excel color
8499         index, possibly auto, for a style color.
8500         (get_xf_differences): We have discovered that background color is
8501         stored with 1 bit more than documented. Use this to improve test
8502         for pattern difference between XF and parent style. Locking: XL
8503         default is on, so we're different if locking is off.
8504         (build_xf_data): Store as auto color where appropriate. Use
8505         style_color_to_pal_index.
8506         (write_xf_record): Documentation is wrong - there is no fSxButton
8507         bit. The bg color uses the bit, making bg field 7 bits wide. Don't
8508         store data for borders which aren't there.
8510 2002-02-18  Jody Goldberg <jody@gnome.org>
8512         * Release 1.1.0
8514 2002-02-15  Jody Goldberg <jody@gnome.org>
8516         * ms-escher.c (write_file) : delete.
8517         (ms_escher_read_BSE) : remove the bonobo-ness from here it is none of
8518           excel's business.  Just use the new SheetObjectImage.  While we're
8519           at it avoid a few memory copies of the image.
8520         * ms-excel-read.c (ms_sheet_create_obj) : ditto.
8522         * ms-container.c (ms_container_get_blip) : return non-const.
8524 2002-02-08  Jon K Hellan  <hellan@acm.org>
8526         * ms-excel-read.c (ms_excel_read_window2): No need to unref
8527         pattern_color, sheet_style_set_auto_pattern_color now does that.
8529 2002-02-05  Jon K Hellan  <hellan@acm.org>
8531         * ms-excel-read.c (black_or_white_contrast): Burn.
8532         (ms_excel_palette_get): Simplify to get autocolors right. We used
8533         to be too clever.
8534         (ms_sheet_map_color): Use style_color_new_i8 to convert from
8535         rgb888.
8536         (ms_excel_read_window2): Update pattern color according to
8537         icvHdr/rgbHdr grid color if fDefaultHdr flag says so.
8539 2002-02-03  Jody Goldberg <jody@gnome.org>
8541         * ms-excel-write.c (pre_cell) : adjust to Cell::format moving into the
8542           value.
8544 2002-01-31  Jody Goldberg <jody@gnome.org>
8546         * ms-excel-util.c (init_xl_font_widths) : add Helv.
8548         * ms-excel-read.c (ms_sheet_create_obj) : GObject vs GtkObject
8549         * ms-obj.c (ms_obj_delete) : ditto.
8550         * ms-chart.c (ms_excel_read_chart) : ditto.
8552 2002-01-30  Jody Goldberg <jody@gnome.org>
8554         * ms-formula-read.c (ms_excel_parse_formula) : give a warning when
8555           dealing with references to external workbooks.
8557 2002-01-29  Jody Goldberg <jody@gnome.org>
8559         * ms-excel-read.c (ms_sheet_create_obj) : move to new sheet widget
8560           layout.
8562 2002-01-23  Jody Goldberg <jody@gnome.org>
8564         * ms-summary.c (EXCEL_TO_GNUM_MAPPING_COUNT) : use G_N_ELEMENTS.
8565         (excel_to_gnumeric) : delete unused.
8566         (read_summary_items) : suppress warnings.
8567         (read_summary_items) : fix leak.
8569         * ms-excel-write.c : s/StyleFont::size/StyleFont::size_pts/
8571         * ms-excel-util.c (g_unichar_to_utf8) : delete.
8573 2002-01-21  Jody Goldberg <jody@gnome.org>
8575         * Release 1.0.3
8577 2002-01-21  Jody Goldberg <jody@gnome.org>
8579         * ms-obj.c (ms_object_attr_get_*) : new.
8580         (ms_obj_read_biff8_obj) : read scrollbar attributes.
8582         * ms-excel-read.c (ms_sheet_realize_obj) : Add scrollbars.
8583         (ms_sheet_create_obj) : ditto.
8585 2002-01-20  jody goldberg <jody@gnome.org>
8587         * ms-chart.c (BC_R(vector_details)) : use gnm_vector_date.
8589 2002-01-17  Jody Goldberg <jody@gnome.org>
8591         * ms-obj.c (ms_object_attr_new_expr) : new.
8592         (ms_object_attr_destroy) : handle expressions.
8593         (ms_obj_read_biff8_obj) : use the expression parser for
8594           GR_CHECKBOX_FORMULA.
8596         * ms-formula-read.c (getRefV7) : remove the pointless malloc/free.
8597         (getRefV8) : ditto.
8598         (make_inter_sheet_ref) : delete.
8599         (make_inter_sheet_ref_v7) : ditto.
8601         * ms-excel-read.c (ms_sheet_realize_obj) : add support for a
8602           checkbox's link.  Needs to be done here, AFTER being assigned to a
8603           sheet.
8604         (ms_excel_workboot_get_externsheets) : renamed from
8605           biff_get_externsheet_name, and simplified.
8607 2002-01-14  Jody Goldberg <jody@gnome.org>
8609         * ms-formula-read.c (ms_excel_parse_formula) : fix support for
8610           importing local 3d references, external 3d is still not supported.
8612 2002-01-15  Jody Goldberg <jody@gnome.org>
8614         * Release 1.0.2
8616 2002-01-13  Jody Goldberg <jody@gnome.org>
8618         * ms-excel-read.c (ms_excel_read_tab_color) : turn down the debug
8619           level.
8621 2002-01-12  Jody Goldberg <jody@gnome.org>
8623         * ms-excel-read.c (ms_excel_read_dv) : reorg slightly and enable.
8624         * ms-excel-read.c (ms_excel_read_tab_color) : new function.
8625         (ms_excel_read_sheet) : called from here.
8627 2002-01-11  Jody Goldberg <jody@gnome.org>
8629         * ms-formula-read.c (ms_excel_parse_formula) : fix area 3d and its
8630           missing break.
8632 2002-01-06  Jody Goldberg <jody@gnome.org>
8634         * Release 1.0.1
8636 2002-01-04  Jody Goldberg <jody@gnome.org>
8638         * ms-chart.c (excel_chart_series_write_xml) : more protection for
8639           missing series.
8641 2002-01-03  J.H.M. Dassen (Ray) <jdassen@debian.org>
8643         * ms-escher.c (ms_escher_blip_new) : cast to fix signedness warning.
8644         * ms-excel-read.c (biff_get_text) : likewise
8645         * ms-excel-read.c (get_string) : likewise
8646         * ms-excel-write.c (write_bits) : char -> guint8.
8647         * ms-excel-write.c (write_value) : ditto
8648         * ms-chart.c (excel_chart_series_write_xml) : cast / type change
8649         * ms-chart.c (BC_R) : ditto
8650         * ms-chart.c (BC_R(*)) : ditto
8651         * ms-chart.c (ms_excel_chart) : ditto
8653 2001-12-31  Jody Goldberg <jody@gnome.org>
8655         * Release 1.0.0
8657 2001-12-30  Zbigniew Chyla  <cyba@gnome.pl>
8659         * plugin.xml.in: Fixed typo.
8661         Please, DO NOT change strings few hours before the release!
8663 2001-12-29  Andreas J. Guelzow <aguelzow@taliesin.ca>
8665         * plugin.xml.in : Standardize: MS Excel (tm)
8667 2001-12-27  Jody Goldberg <jody@gnome.org>
8669         * ms-formula-read.c (ms_excel_parse_formula) : enable support for
8670           deleted 3d references.
8672 2001-12-24  Jody Goldberg <jody@gnome.org>
8674         * Release 0.99.1
8676 2001-12-20  Jody Goldberg <jody@gnome.org>
8678         * ms-formula-read.c (ms_excel_parse_formula) : add support for
8679             FORMULA_PTG_REF_ERR.
8680             FORMULA_PTG_AREA_ERR.
8682         * ms-obj.c (ms_read_OBJ) : add protection against missing virtuals.
8683           If the object is a graph read it even if we do not support them in
8684           this context (embedded in another object) or if we do not support
8685           graphs at all.  This enables us to read embedded graphs without
8686           throwing off the rest of the parsing.
8688 2001-12-15  Jody Goldberg <jody@gnome.org>
8690         * Release 0.99.0
8692 2001-12-10  Jody Goldberg <jody@gnome.org>
8694         * ms-summary.c (read_summary_items) : use iconv.
8695         (ms_summary_read) : ditto.
8696         (set_summary_item) : ditto.
8697         (ms_summary_write) : ditto.
8699 2001-12-05  Jody Goldberg <jody@gnome.org>
8701         * ms-excel-write.c (write_formula) : handle array formulas.
8702         * ms-formula-write.c (write_node) : ditto.
8703         (ms_excel_write_formula) : remove pointless malloc & free.
8705 2001-11-25  Jody Goldberg <jody@gnome.org>
8707         * ms-formula-read.c : s/ParseList/ExprList/
8708         * ms-formula-write.c : ditto.
8710 2001-11-20  Jody Goldberg <jgoldberg@home.com>
8712         * ms-excel-read.c (biff_boundsheet_data_new) : Doh!
8714 2001-11-19  Jody Goldberg <jgoldberg@home.com>
8716         * Release 0.76
8718 2001-11-16  Jody Goldberg <jgoldberg@home.com>
8720         * ms-excel-read.c (ms_excel_read_dv) : read things in.  Not stored yet.
8721         (ms_excel_read_range) : new convenience routine.
8722         (ms_excel_read_mergecells) : used here.
8723         (ms_excel_biff_dimensions) : used here.
8724         (ms_excel_read_dv) : used here.
8725         (ms_excel_read_condfmt) : used here, fix import of multiple areas.
8727 2001-11-09  Jody Goldberg <jgoldberg@home.com>
8729         * ms-excel-read.c (ms_excel_read_guts) : adjust to different outline
8730           scoping semantics.  We count from 0.  XL counts from 1.
8732         * boot.c (excel_file_open) : better error message when opening a
8733           non-ole file.
8735 2001-11-05  Jody Goldberg <jgoldberg@home.com>
8737         * plugin.xml.in : enable overwriting files by default.
8739 2001-11-05  Jody Goldberg <jgoldberg@home,com>
8741         * Release 0.75
8743 2001-11-04  Jody Goldberg <jgoldberg@home.com>
8745         * ms-excel-read.c (ms_excel_read_cf) : Handle 'Formula' constraints in
8746         addition to 'Value'.
8747         (ms_excel_read_condfmt) : new routine.
8748         (ms_excel_read_dval) : fix sense of size check.
8749         (ms_excel_read_sheet) : cf records should only be associated
8750           with condfmt.
8752 2001-10-30  Jody Goldberg <jgoldberg@home.com>
8754         * ms-excel-write.c : Use d() debug macors to make things
8755           more readable.  And use esheet in place of sheet to avoid
8756           confusion with gnumeric core.
8757         (write_colinfo) : make xf_index an argument.
8758         (pre_colstyle) : new routine to gather the most common style in each col
8759         (gather_styles) : called from here.
8760         (write_mulblank) : take an array rather than a GList.
8761         (write_block) : only write a blank cell if it is different from the
8762         column default.
8764 2001-10-30  Morten Welinder  <terra@diku.dk>
8766         * ms-chart.c (BC_R-ai): Plug leak.
8767         (BC_R-ifmt): Ditto.
8769 2001-10-27  Jody Goldberg <jgoldberg@home.com>
8771         * ms-excel-read.c (ms_excel_read_dval) : new function.
8772         (ms_excel_read_dv) : new function.
8773         (ms_excel_read_sheet) : call them here and remove warning.
8775 2001-10-29  Jody Goldberg <jgoldberg@home.com>
8777         * Release 0.74
8779 2001-10-29  Jody Goldberg <jgoldberg@home.com>
8781         * ms-excel-read.c (ms_excel_get_xf) : Use a better default in the face
8782           of errors.
8784         * ms-chart.c (chart_get_fmt) : new function to chain to parent.
8785         (ms_excel_chart) : use it here.
8787 2001-10-29  Jody Goldberg <jgoldberg@home.com>
8789         * Release 0.73
8791 2001-10-29  Jody Goldberg <jgoldberg@home.com>
8793         * ms-excel-read.c (biff_name_data_get_name) : adjust to signature
8794           change in expr_tree_new_name.  FIXME : how does XL mark names from
8795           explicit scopes.
8797 2001-10-23  Jody Goldberg <jgoldberg@home.com>
8799         * ms-excel-write.c (write_rowinfo) : remove duplicate code.
8801         * ms-excel-read.c (biff_name_data_get_name) : adjust to new named
8802           expression api.
8804 2001-10-22  Almer S. Tigelaar  <almer@gnome.org>
8806         * ms-excel-read.c (ms_excel_read_cf): Adjust for
8807         changes to style-condition.[ch]
8809 2001-10-18  Jody Goldberg <jgoldberg@home.com>
8811         * Release 0.72
8813 2001-10-18  Jody Goldberg <jgoldberg@home.com>
8815         * ms-chart.c (BC_R(bar)) : typo.
8817 2001-10-18  Jody Goldberg <jgoldberg@home.com>
8819         * ms-chart.c (BC_R(dropbar)) : The docs lie.  it is ok to have
8820           values > 100
8822         * ms-chart.c (BC_R(store_chartgroup_type)) : store the type as a
8823           property rather than a child.
8824         (BC_R(bar)) : store the attributes as children rather than props.
8825         (BC_R(line)) : ditto.
8826         (BC_R(pie)) : ditto.
8827         (BC_R(pieformat)) : ditto.
8828         (BC_R(scatter)) : ditto.
8830 2001-10-15  Jody Goldberg <jgoldberg@home.com>
8832         * ms-excel-write.c (excel_sheet_new) : merge check_sheet into here.
8833           rename according to our standards.  Only complain about being too
8834           large if the content is too large, silently clip the formats.
8836 2001-10-12  Jody Goldberg <jgoldberg@home.com>
8838         * ms-chart.c (BC_R(legend)) : Use more guppi-ish terms for legend
8839           location.
8841 2001-10-07  Jody Goldberg <jgoldberg@home.com>
8843         * Release 0.71
8845 2001-10-03  Jody Goldberg <jgoldberg@home.com>
8847         * ms-chart.c (excel_chart_series_write_xml) : fix this for non bonobo
8848           builds.
8850 2001-09-30  Jody Goldberg <jgoldberg@home.com>
8852         * ms-chart.c (excel_chart_series_write_xml) : Use
8853           gnm_graph_series_add_dimension.
8854         (BC_R(seriestext)) : store constant labels as expresions.
8856 2001-09-28  Jody Goldberg <jgoldberg@home.com>
8858         * ms-chart.c (excel_chart_series_write_xml) : adjust to new xml
8859           structure.
8861 2001-09-27  Jody Goldberg <jgoldberg@home.com>
8863         * ms-obj.c (ms_object_attr_bag_lookup) : accept NULL attrBags.
8865         * ms-escher.c (ms_escher_read_OPT) : oops lost the blip id.
8867 2001-09-27  Jody Goldberg <jgoldberg@home.com>
8869         * ms-excel-read.c (ms_excel_wb_get_fmt) : renamed something
8870           better than biff_format_data_lookup.
8872         * ms-chart.c (BC_R(ai)) : Use ms_container_get_fmt.
8873         (BC_R(ifmt)) : ditto.
8875         * ms-container.c (ms_container_get_fmt) : new function.
8877 2001-09-27  Jody Goldberg <jgoldberg@home.com>
8879         * ms-excel-read.c (ms_sheet_map_color) : new utility.
8880         (ms_sheet_create_obj) : set the fill colour.
8882         * ms-escher.c (ms_escher_read_OPT) : generalize to make things more
8883           efficient.
8885         * ms-obj.c (ms_object_attr_new_uint) : store a uint to facilitate
8886           colors.
8888 2001-09-26  Jody Goldberg <jgoldberg@home.com>
8890         * ms-escher.c (ms_escher_parse) : call ms_escher_header_release.
8891         (ms_escher_read_container) : ditto.
8892         (ms_escher_header_release) : new to handle attrs.
8893         (ms_escher_header_add_attr) : ditto.
8894         (ms_escher_read_ClientData) : pass the attributes to the object
8895           and move the blip handing to the container.
8897         * ms-obj.c (ms_object_attr_new_flag) : new.
8898         (ms_object_attr_new_int) : new.
8899         (ms_object_attr_new_ptr) : new.
8900         (ms_object_attr_destroy) : new.
8901         (ms_object_attr_bag_new) : ditto.
8902         (ms_object_attr_bag_destroy) : ditto.
8903         (ms_object_attr_bag_insert) : ditto.
8904         (ms_object_attr_bag_lookup) : ditto.
8906         * ms-excel-read.c (ms_excel_read_workbook) : interface change to
8907           ms_read_OBJ.
8908         (ms_excel_read_sheet) : ditto.
8909         (ms_sheet_create_obj) : move the blip handing from escher to here.
8911 2001-09-26  Jody Goldberg <jgoldberg@home.com>
8913         * ms-obj.c (ms_read_OBJ) : Init the inversion flags.
8915         * ms-escher.c (ms_escher_read_Sp) : store the inversion flags.
8916         (ms_escher_read_ClientData) : copy the inversion flags.
8917         (ms_escher_init_heade) : init the inversion flags.
8919 2001-09-26  Jody Goldberg <jgoldberg@home.com>
8921         * ms-excel-xf.h (_BiffXFData) : locked and hidden are booleans.
8922         * ms-excel-read.c (biff_xf_data_new) : read them that way.
8923         (ms_excel_get_style_from_xf) : store the protection flags.
8924         * ms-excel-write.c (build_xf_data) : ditto.  Add indent.
8926         * ms-chart.c (BC_R(seriestext)) : handle manually entered series names.
8928 2001-09-25  Jon K Hellan  <hellan@acm.org>
8930         * .cvsignore: Add plugin.xml
8932 2001-09-17  Jody Goldberg <jgoldberg@home.com>
8934         * ms-obj.c (ms_read_OBJ) : init the new object more completely.
8936 2001-09-16  Jody Goldberg <jgoldberg@home.com>
8938         * ms-chart.c : clean up debug routines.
8939         (BC_R(dataformat)) : Use an extra node to handle pt vs series
8940           level formating.
8941         (BC_R(end)) : cleanup dataformats.
8942         (excel_chart_series_write_xml) : just link in the new child rather
8943           than creating it here.
8944         (BC_R(dataformat)) : handle formating pts vs entire series.
8945         (BC_R(markerformat)) : implement
8946         (BC_R(areaformat)) : implement
8947         (BC_R(lineformat)) : implement
8948         (BC_R(pieformat)) : implement
8949         (BC_R(color)) : tweak interface.
8950         (ms_excel_chart) : ignore a few more records.
8952 2001-09-14  Jody Goldberg <jgoldberg@home.com>
8954         * ms-chart.c (excel_chart_series_write_xml) : Use the gal routines for
8955           symetry with the guppi implementation.
8957 2001-09-09  Jody Goldberg <jgoldberg@home.com>
8959         * ms-chart.c (BC_R(pieformat)) : store pie separation.
8960         (BC_R(get_chartgroup_type)) : new function.
8962 2001-09-08  Jody Goldberg <jgoldberg@home.com>
8964         * ms-chart.c (legend) : xml-ize and fix transposition of right & left.
8965         (pie) : Guppi uses radians and has 0 in a different place.
8967 2001-09-04  Jody Goldberg <jgoldberg@home.com>
8969         * ms-obj.c (ms_read_OBJ) : Use ms_destroy_OBJ.
8971         * ms-chart.c (ms_excel_chart) : don't import the spec if we did not
8972           create the graph.
8974 2001-09-03  Jody Goldberg <jgoldberg@home.com>
8976         * ms-excel-read.c (ms_excel_read_cf) : Do some guessing about how they
8977           store the format information.
8978         (ms_excel_read_sheet) : merge in ms_excel_read_cell, and reorder the
8979           records to match their biff order.  call ms_excel_read_cf.
8981 2001-09-02  Jody Goldberg <jgoldberg@home.com>
8983         * biff-types.h : Add CONDFMT
8985 2001-08-29  Jody Goldberg <jgoldberg@home.com>
8987         * ms-chart.c (excel_chart_series_new) : init the xml node.
8988         (excel_chart_series_write_xml) : new.
8989         (BC_R(store_chartgroup_type)) : new utility.
8990         (BC_R(bar)) : convert to xml.
8991         (BC_R(line)): convert to xml.
8992         (BC_R(pie)) : convert to xml.
8993         (BC_R(scatter)) : convert to xml.
8994         (BC_R(chartformat)) : store the general chart group details.
8995         (BC_R(end)) : store the series specs associated with this chartgroup.
8996         (ms_excel_chart) : tweaks for xml.
8998 2001-08-28  Jody Goldberg <jgoldberg@home.com>
9000         * ms-obj.c (ms_read_OBJ) : pass graphs into their parser.
9002         * ms-excel-read.c (ms_sheet_realize_obj) : renamed from
9003           ms_sheet_obj_realize.
9004         (ms_sheet_create_obj) : renamed from ms_sheet_obj_create.
9005           Improve the warnings for unhandled objects.
9006           Pass graphs into the parser.
9008         * ms-container.c (ms_container_workbook) : delete.
9010         * ms-chart.c (ms_excel_chart) : enable some of the xml spec generation.
9011           and take the GnmGraph as an argument.
9012         (ms_excel_read_chart) : take the graph as an argument.
9014 2001-08-27  Jody Goldberg <jgoldberg@home.com>
9016         * ms-excel-read.c (ms_sheet_parse_expr_internal) : disable some of the
9017           debugging spew.
9019 2001-08-26  Zbigniew Chyla  <cyba@gnome.pl>
9021         * boot.c (excel_save):
9022         Remove GNUMERIC_ENABLE_XL_OVERWRITE hack. This is now supported via
9023         flag in plugin.xml file.
9025         * plugin.xml.in: s/file_overwrite/overwrite_files/
9027 2001-08-24  Jody Goldberg <jgoldberg@home.com>
9029         * ms-excel-read.c : fix and prune includes.
9030         * ms-excel-write.c : ditto.
9031         * boot.c : ditto.
9033 2001-08-23  Jody Goldberg <jgoldberg@home.com>
9035         * ms-chart.c (ms_excel_chart) : only delete the series after
9036           processing.  condtionalize some of the debug spew.
9037           condtionalize parsing based on the existence of a graph
9038           condtionalize making the graph on the debug flag (for now)
9039         (BC_R(sertocrt)) : store the chart group.
9040         (BC_R(series_impl)) : merge back into BC_R(series).
9041         (BC_R(vector_details)) : use the gnumeric type directly.
9042         (excel_chart_series_new) : new.
9043         (excel_chart_series_destroy) : new.
9045         * ms-container.c (ms_container_workbook) : new function.
9046         (ms_container_sheet) : ditto.
9048         * ms-excel-read.c (ms_wb_workbook) : new function.
9049         (ms_excel_workbook_new) : used here.
9050         (ms_sheet_workbook) : new function.
9051         (ms_sheet_sheet) : new function.
9052         (ms_excel_sheet_new) : used here.
9054 2001-08-21  Jody Goldberg <jgoldberg@home.com>
9056         * ms-chart.c (gnm_graph_vector_type_name) : use the version in gnumeric-graph.c
9057         (BC_R(vector_details)) : Use the correct index for the debug info.
9059         * ms-excel-read.c (ms_excel_biff_dimensions) : Use range_name.
9061 2001-08-21  Zbigniew Chyla  <cyba@gnome.pl>
9063         * plugin.xml: Removed
9065         * plugin.xml.in: Copied from plugin.xml, prepared for localization.
9067         * Makefile.am: Use xml-i18n-tools to create plugin.xml (with
9068         translations merged from .po file).
9070 2001-08-20  Jody Goldberg <jgoldberg@home.com>
9072         * Release 0.70
9074 2001-08-20  Jody Goldberg <jgoldberg@home.com>
9076         * Makefile.am : Remove unused stubs for gnumeric-chart.
9077         * ms-chart.c : s/ExcelChart/ExcelChartReadState/g
9078         (BC_R(top_state)) : new function.
9079         (map_excel_vec_type_to_gnm) : new function.
9080         (BC_R(vector_details)) : new function.
9081         (BC_R(series_impl)) : Use vector_details.
9082         (BC_R(ai)) : actually handle the vector.
9083         (BC_R(begin)) : keep a stack of the states.
9084         (BC_R(series)) : keep track of the series.
9086         * ms-excel-read.c (ms_sheet_obj_realize) : use the correct anchor specs.
9087           and use the new SheetObjectAnchor mechanism.
9088         (ms_sheet_obj_create) : signatue change for sheet_object_container_new.
9090 2001-08-20  Jody Goldberg <jgoldberg@home.com>
9092         * ms-excel-read.c (ms_excel_read_formula) : improve the debug info.
9093         (ms_excel_read_bof) : Doh!  We modify the sheet counter.
9094         (ms_excel_read_workbook) : signature changes for ms_excel_read_bof.
9096 2001-08-11  Jody Goldberg <jgoldberg@home.com>
9098         * Release 0.69
9100 2001-08-07  Jody Goldberg <jgoldberg@home.com>
9102         * ms-excel-read.c (ms_excel_read_setup) : print scaling is stored as a
9103           percentage in XL and in Gnumeric.  Improve the warning as long as
9104           we're in here.
9106 2001-08-03  Jody Goldberg <jgoldberg@home.com>
9108         Consistently refer to /ExcelSheet/ instances as esheet.
9109         Ensure that the BiffQuery is the first arg.
9110         * ms-excel-read.c (ms_excel_sheet_new) : Explicitly request a full
9111           respan for the update after we load.  I had been relying on there
9112           being a col/row or default col/row sizing to force it.
9114 2001-08-02  Jody Goldberg <jgoldberg@home.com>
9116         * ms-escher.c (ms_escher_blip_new) : be consistent and use #ifdef
9118 2001-07-25  Jody Goldberg <jgoldberg@home.com>
9120         * ms-excel-read.c (ms_excel_read_window2) : Tidy up a bit.
9122         * ms-excel-write.c (write_window2) : support frozen panes.
9123         (write_pane) : Implement.
9125 2001-07-17  Jody Goldberg <jgoldberg@home.com>
9127         * Release 0.68
9129 2001-07-16  Jody Goldberg <jgoldberg@home.com>
9131         * ms-excel-read.c (ms_excel_read_pane) : implement.
9132         (ms_excel_read_window2) : store initial top left.
9134 2001-07-12  Jody Goldberg <jgoldberg@home.com>
9136         * ms-excel-read.c (ms_excel_read_pane) : new function.
9137         (ms_excel_read_sheet) : called from here.
9138         (ms_excel_read_window2) : top left spec is _zero_ based.
9139           Add support for setting the frozen flag.
9140         (ms_excel_sheet_new) : init the freeze flag here.
9142 2001-07-13  Lutz Müller <urc8@rz.uni-karlsruhe.de>
9144         * ms-escher.c (ms_escher_read_ClientData): Syntax and name of
9145         sheet_object_bonobo_load(_persist)_stream changed.
9147 2001-06-28  Jody Goldberg <jgoldberg@home>
9149         * Release 0.67
9151 2001-06-28  Jody Goldberg <jgoldberg@home.com>
9153         * ms-excel-util.c (lookup_font_base_char_width_new) : add more safety.
9155         * ms-excel-write.c (formats_put_magic) : const.
9156         (new_sheet) : ignore spans and merges for extent calcs.
9158         * ms-excel-read.c (ms_excel_read_init) : new function to init the
9159           locale specific date format.
9161         * boot.c (plugin_init) : new function.
9163 2001-06-27  Jody Goldberg <jgoldberg@home.com>
9165         * Release 0.66
9167 2001-06-21  Morten Welinder  <terra@diku.dk>
9169         * ms-excel-read.c (ms_excel_read_supporting_wb): Fix trigraph
9170         stuff and cut down on repeated question marks in general.
9172 2001-06-15  Jody Goldberg <jgoldberg@home.com>
9174         * ms-excel-read.c (ms_excel_sheet_new) : Use CellPos directly.
9176         * ms-formula-read.c (ms_excel_parse_formula) : some cleanup.
9178 2001-06-11  Jody Goldberg <jgoldberg@home.com>
9180         * ms-excel-write.c (write_setup) : new routine.
9181         (write_sheet_bools) : split out from here.
9183         * ms-excel-read.c (ms_excel_read_sheet) : split the setup parser out
9184           of here into.
9185         (ms_excel_read_setup) : here.  and modernize it.  Read the number of
9186           copies and the scaling if specified.
9188 2001-06-12  Zbigniew Chyla  <cyba@gnome.pl>
9190         * boot.c (excel_save): Set up io_progress before calling ms_excel_check_write
9191         and ms_excel_write_workbook.
9193         * ms-excel-read.c
9194         (ms_excel_read_sheet): Added IOContext argument,
9195         call value_io_progress_update on every loop iteration.
9196         (ms_excel_read_workbook): Set up io progress message and helper.
9198         * ms-excel-write.c
9199         (pre_cell): Update io progress.
9200         (pre_blanks): Update io progress at every row.
9201         (gather_styles): Set up io progress helper.
9202         (write_block): Update io progress after every write_cell call.
9203         (ms_excel_write_workbook): Set up io progress helper.
9204         (ms_excel_check_write): Copy IOContext ptr into ExcelWorkbook struct.
9206         * ms-excel-write.h (struct _ExcelWorkbook): Added io_context.
9208 2001-06-03 Jody Goldberg <jgoldberg@home.com>
9209         For Vlad Harchev <hvv@hippo.ru>
9211         * ms-excel-util.h ms-excel-util.c (excel_wcstombs) :
9212           Some utilites to handle encoding changes that fail.
9214         * ms-excel-read.c : Use the utilities.
9216 2001-06-02  Almer S. Tigelaar  <almer@gnome.org>
9218         * (ms_excel_read_row): Set outline using
9219         new functions.
9220         (ms_excel_read_colinfo): Idem.
9222 2001-05-31  Karl Eichwalder  <ke@suse.de>
9224         * boot.c (excel_save): Add dot.
9226 2001-05-29  Zbigniew Chyla  <cyba@gnome.pl>
9228         * boot.c (excel_file_probe): Added FileProbeLevel argument.
9230 2001-05-27  Jody Goldberg <jgoldberg@home.com>
9232         * ms-excel-write.c (write_window2) :
9233           Switch the BIFF_WINDOW2 0x23e -> 0x3e
9234         (write_names) : fix biff type.
9236         * ms-excel-read.c (ms_excel_read_formula) : cleanup some old
9237           inconsistentcies.  keep as many of the BIFF_* using their major
9238           types.
9239           Switch the BIFF_STRING 0x207 -> 0x07
9240           Switch the BIFF_BOOLERR 0x205 -> 0x05
9241         (ms_excel_read_window2) : split this out into a neater bundle.
9243 2001-05-26  Jody Goldberg <jgoldberg@home.com>
9245         * ms-excel-write.c (write_sheet_bools) : Save the iteration
9246           preferences too.  These are workbook level flags.  I am unclear why
9247           XL saves them at the sheet level.
9249         * ms-excel-read.c (ms_excel_read_calccount) : new function.
9250         (ms_excel_read_delta) : ditto.
9251         (ms_excel_read_iteration) : ditto.
9252         (ms_excel_read_sheet) : use them here.
9254 2001-05-18  Jody Goldberg <jgoldberg@home.com>
9256         * ms-excel-read.c (ms_excel_read_formula) : Use cell_queue_recalc
9257           to get appropriate recursion.
9259 2001-05-17  Jody Goldberg <jgoldberg@home.com>
9261         * ms-excel-read.c (ms_excel_formula_shared) : Use a g_warning not a
9262           printf.
9264 2001-05-21  Zbigniew Chyla  <cyba@gnome.pl>
9266         * boot.c (excel_file_probe, excel_file_open, excel97_file_save,
9267         excel95_file_save):
9268         s/FileOpener/GnumFileOpener/
9269         s/FileSaver/GnumFileSaver/
9271 2001-05-20  Jody Goldberg <jgoldberg@home.com>
9273         * Release 0.65
9275 2001-05-13  Michael Meeks  <michael@ximian.com>
9277         * ms-excel-write.c (write_value): commit the VALUE_EMPTY.
9279         * ms-biff.c (ms_biff_put_len_next),
9280         (ms_biff_put_var_next): add conditional debug to help catch
9281         similar problems - none obvious just now.
9283 2001-05-11  Jody Goldberg <jgoldberg@home.com>
9285         * ms-excel-read.c (ms_excel_read_workbook) : clear the global handle
9286           after it is closed.
9288 2001-05-11  Almer S. Tigelaar  <almer@gnome.org>
9290         * ms-excel-write.c (write_sheet_bools): Write dimensions as
9291         unsigned integers.
9292         (biff_put_text): Signedness.
9293         (write_externsheets): Signedness.
9294         (excel_font_to_string): Signedness.
9295         (fonts_free): Signedness.
9296         (write_formats): Signedness.
9297         (xf_free): Signedness.
9298         (pre_cell): Signedness + Unused variabele.
9299         (gather_styles): Signedness.
9300         (map_pattern_index_to_excel): Signedness.
9301         (write_index): Signedness.
9302         (write_block): Signedness.
9303         (write_sheet): Signedness.
9304         (free_workbook): Signedness.
9305         (write_workbook): Signedness.
9306         (check_sheet): Signedness.
9308         * ms-excel-formula-write (write_node): Cast untyped pointer.
9310 2001-05-07  Jody Goldberg <jgoldberg@home.com>
9312         * ms-escher.c (ms_escher_get_data) : suppress warnings.
9313         (ms_escher_read_ClientTextbox) : no side effects in precondition.
9315         * ms-excel-read.c (ms_excel_formula_shared) : ditto.
9317 2001-05-06  Jody Goldberg <jgoldberg@home.com>
9319         * ms-excel-read.c (biff_boundsheet_data_new) : merge in the last of
9320           the i18n patches.
9322 2001-05-05  Jody Goldberg <jgoldberg@home.com>
9324         * ms-excel-read.c (ms_excel_set_xf_segment) : support multiple rows.
9325         (ms_excel_read_row) : use here.
9326         (ms_excel_read_cell) : and here.
9327         (ms_excel_read_colinfo) : start using it here too.
9328         (ms_sheet_obj_create) : Add a place holder for a spinner.
9330         * ms-excel-write.c (pre_cell) : XL does not differentiate between
9331           parse and display formats.  When exporting a cell with General that
9332           has a parse format create a new XF with the parse format as the
9333           display format.
9335 2001-04-30  Morten Welinder  <terra@diku.dk>
9337         * ms-summary.c (sum_name_to_excel): Fix index count.  Constify.
9338         Make static.
9339         (excel_to_gnum_mapping): Make static.
9341 2001-04-29  Jody Goldberg <jgoldberg@home.com>
9343         * ms-excel-write.c (write_window2) : Headers are in default style.
9344           And grid colour is auto, not black.
9346 2001-04-27  Chema Celorio  <chema@celorio.com>
9348         * boot.c (excel_save): add a message explaining that you could set
9349         an env variable to enable XL overwrite. This is not the optimal
9350         solution tho.
9352 2001-04-26  Jody Goldberg <jgoldberg@home.com>
9354         * ms-excel-write.c (write_colinfos) : Rework to simplify and use
9355           colrow_equal.
9356         (write_colinfo) : extract the info from the ColRowInfo directly and
9357           fill in the visibility, outline, and collapse states.
9358         (write_rowinfo) : export visibility, collapse and outline.
9359         (write_guts) : new function.
9360         (new_sheet) : Include blank cols/rows with outline properties in
9361           extent calculation.
9363         * ms-excel-write.h (Excel{Col,Row}) : Delete unnecessary structures.
9365 2001-04-26  Jody Goldberg <jgoldberg@home.com>
9367         * ms-excel-write.c (write_mergecells) : new routine to save merged
9368           regions.
9369         (write_sheet_tail) : called from here.
9371 2001-04-23  Jon K Hellan  <hellan@acm.org>
9373         * ms-biff.c (ms_biff_query_next, ms_biff_query_next,
9374         ms_biff_query_destroy, ms_biff_put_new, ms_biff_put_commit,
9375         ms_biff_put_len_next): Make sure that bp->data = 0 when
9376         bp->data_malloced = 0 & v.v. This helps heap debugging.
9377         (ms_biff_put_len_next): Assert that data pointer is null. If it
9378         weren't the old code would have been leaking.
9380 2001-04-23  Morten Welinder  <terra@diku.dk>
9382         * ms-excel-write.c (ms_excel_check_write): Avoid double free of
9383         the list.
9385 2001-04-20  Jody Goldberg <jgoldberg@home.com>
9387         * ms-excel-read.c (ms_excel_read_wsbool) : new function.
9388         (ms_excel_read_sheet) : called from here.
9390         * ms-excel-write.c (write_wsbool) : new function.
9391         (write_sheet_bools) : called from here.
9393 2001-04-19  Jody Goldberg <jgoldberg@home.com>
9395         * ms-excel-write.c (write_window2) : sigh, when fixing the sizes I did
9396           not change the offsets.  I miss C++ in situations like this.
9397         (ms_excel_check_write) : Free the sheet list.
9399 2001-04-18  Jody Goldberg <jgoldberg@home.com>
9401         * ms-excel-util.c (excel_iconv_win_codepage) : cleanup and remove
9402           warnings in the C locale case.
9404         * ms-excel-write.c (write_sheet_tail) : split WINDOW2 code out of here
9405         (write_window2) : and move it here.  Then comment it up and extend the
9406           logic.
9408 2001-04-17  Jody Goldberg <jgoldberg@home.com>
9410         * plugin.xml : Disable the excel97 save method until it potentially
9411           does more than screw up.
9413 2001-04-15  Vlad Harchev <hvv@hippo.ru>
9415         * ms-excel-util.h ms-excel-util.c :
9416         added framework for doing portable recoding between charsets,
9417         and also functions for finding appropriate Windows codepage
9418         for current locale.
9420         * ms-excel-read.c ms-excel-write.c :
9421         Properly perform charset conversion for all textual data when doing
9422         export or import of .xls files.
9424 2001-04-12  Chema Celorio  <chema@celorio.com>
9426         * boot.c (excel_save): add an env variable so that we can
9427         enable XL overwrite. the variable is named GNUMERIC_ENABLE_XL_OVERWRITE
9429 2001-04-12  Jody Goldberg <jgoldberg@home.com>
9431         * ms-excel-write.c (pre_pass) : Don't unref here.
9433 2001-04-12  Morten Welinder  <terra@diku.dk>
9435         * ms-summary.c (ms_summary_write): Plug leaks.
9437 2001-04-11  Jody Goldberg <jgoldberg@home.com>
9439         * ms-formula-write.c (write_string) : a null string is not a missing
9440           arg.
9442 2001-04-04  Jody Goldberg <jgoldberg@home.com>
9444         * ms-excel-read.c (ms_excel_externsheet) : new function split from
9445         (ms_excel_read_workbook) : here.
9447         * ms-excel-read.c (biff_name_data_new) : begin cleanup.  The
9448           sheet_index is stored in different places for different biff types.
9449           There also appears to be enough data about the sheet names that we
9450           may not need to do this magic delayed instantiation.
9452 2001-04-03  Jody Goldberg <jgoldberg@home.com>
9454         * ms-chart.c (ms_excel_chart) : provide stub handlers for container
9455           virtuals.
9457 2001-04-02  Jody Goldberg <jgoldberg@home.com>
9459         * ms-excel-read.c (ms_excel_read_imdata) : new routine pulled from.
9460         (ms_excel_read_cell) : here.
9462         * ms-obj.c (ms_obj_read_biff8_obj) : used here.
9464 2001-04-04  Morten Welinder  <terra@diku.dk>
9466         * ms-escher.c (ms_escher_blip_destroy): Plug leak.
9468         * ms-excel-util.c (lookup_font_base_char_width_new): Implement
9469         negative caching.
9471 2001-04-01  Jody Goldberg <jgoldberg@home.com>
9473         * ms-escher.c (ms_escher_get_data) : improve diagnostic info.
9475         * ms-obj.c (ms_obj_read_biff8_obj) : when reading the mystery trailing
9476           IMDATA we need to handle CONTINUE.  We really need to figure out
9477           what this is.
9479 2001-04-01  Morten Welinder  <terra@diku.dk>
9481         * ms-chart.c (register_handlers) : Fix prototype.
9483         * gnumeric-chart.c (gnumeric_chart_new): Fix prototype.
9485         * ms-excel-write.c (get_default_mstyle): Fix prototype.
9487 2001-04-01  Morten Welinder  <terra@diku.dk>
9489         * ms-excel-read.c (ms_excel_default_palette): Fix prototype.
9490         (ms_excel_read_cleanup): New function.
9492         * ms-excel-util.c (destroy_xl_font_widths): New function.
9494         * boot.c (plugin_cleanup): New function.
9496 2001-03-31  Zbigniew Chyla  <cyba@gnome.pl>
9498         * .cvsignore: Added *.lo and *.la.
9500 2001-03-30  Jody Goldberg <jgoldberg@home.com>
9502         * ms-container.c (ms_container_init) : Take a parent container.
9503         (ms_container_finalize) : handle NULL blips smoothly.
9504         (ms_container_get_blip) : check the container if we are empty.
9506         * ms-escher.c (ms_escher_read_Blip) : always register a blip, even if
9507           it is NULL, otherwise the index gets confused.  Move the
9508           registration here.
9509         (ms_escher_blip_new) : from here.
9510         (ms_escher_read_ClientData) : replace blips we can't understand with
9511           rectangles.
9513         * ms-chart.c (ms_excel_chart) : Pass in the charts container.
9515         * ms-excel-read.c (ms_excel_workbook_new) : workbook have no parents.
9516         (ms_excel_sheet_new) : Sheets are contained by workbooks.
9518 2001-03-30  Jody Goldberg <jgoldberg@home.com>
9520         * ms-excel-read.c (ms_excel_get_style_from_xf) : Only newer versions
9521           have indents.
9523 2001-03-30  Morten Welinder  <terra@diku.dk>
9525         * ms-escher.c (ms_escher_read_container): Plug leak.
9527 2001-03-30  Jody Goldberg <jgoldberg@home.com>
9529         * boot.c (excel_save) : clarify message.
9531 2001-03-29  Jody Goldberg <jgoldberg@home.com>
9533         * ms-escher.c (ms_escher_read_Blip) : Fix leak plug.
9535 2001-03-29  Jody Goldberg <jgoldberg@home.com>
9537         * ms-obj.c (ms_obj_read_biff8_obj) : It seems certain that the MS docs
9538           are wrong about list boxes.  I hope they don't do the same thing for
9539           other records too.
9541         * ms-escher.c : s/ms_excel_read_debug/ms_excel_escher_debug/
9542         (ms_escher_read_OPT) : Add missing OPT records and cleanup docs.
9543         (ms_escher_read_BSE) : Document the record size and don't attempt to
9544           treat this as a container if its content is of size 0.
9546 2001-03-28  Jody Goldberg <jgoldberg@home.com>
9548         * ms-obj.c (ms_read_TXO) : Fix the minor memory overrun Morten found.
9550 2001-03-18  Jody Goldberg <jgoldberg@home.com>
9552         * ms-excel-util.c (init_xl_font_widths) : recalculate the size of Geneva
9553           for the default case of Geneva not being available.
9555 2001-03-27  Morten Welinder  <terra@diku.dk>
9557         * ms-escher.c (ms_escher_read_Blip): Plug leak.
9559 2001-03-20  Zbigniew Chyla  <cyba@gnome.pl>
9561         * Makefile.am:
9562         Building excel plugin as shared library, added plugin.xml.
9564         * boot.[ch]:
9565         xxx_debug variables from src/main.c moved here.
9566         Converted to real plugin with file_opener and file_saver services.
9568         * plugin.xml: New file.
9570         * gnumeric/plugins/excel/excel.h, plugins/excel/ms-chart.c,
9571         plugins/excel/ms-escher.c, plugins/excel/ms-excel-read.c,
9572         plugins/excel/ms-excel-read.h, plugins/excel/ms-excel-util.c,
9573         plugins/excel/ms-excel-write.c, plugins/excel/ms-excel-write.h,
9574         plugins/excel/ms-formula-read.c, plugins/excel/ms-formula-write.c,
9575         plugins/excel/ms-obj.c:
9576         Adjusted function signatures, don't return TRUE/FALSE if using
9577         IOContext (we don't need boolean value as IOContext now sets
9578         "error_occurred" flag).
9580 2001-03-15  Jody Goldberg <jgoldberg@home.com>
9582         * ms-excel-read.c (ms_excel_read_row) : Handle outline mode.
9583         (ms_excel_read_colinfo) : ditto.
9584         (ms_excel_read_guts) : ditto.
9586 2001-03-17  Jody Goldberg <jgoldberg@home.com>
9588         * Release 0.64
9590 2001-03-02  Jody Goldberg <jgoldberg@home.com>
9592         * ms-formula-read.c (getRefV8) : rewrite to handled sign extension
9593           correctly (I Hope) for the various shared/unshared states.
9594         (getRefV7) : ditto.
9596 2001-02-24  Jody Goldberg <jgoldberg@home.com>
9598         * ms-excel-read.c (ms_excel_read_colinfo) : work around some strange
9599           widths from a test sheet.
9601 2001-02-23  Jody Goldberg <jgoldberg@home.com>
9603         * Release 0.63
9605 2001-02-19  Jon K Hellan  <hellan@acm.org>
9607         * boot.c (excel_load, excel_init): Change file format level to
9608         FILE_FL_MANUAL_REMEMBER.
9610 2001-02-16  Jody Goldberg <jgoldberg@home.com>
9612         * ms-formula-write.c (write_node) : Use some code from expr.c
9613           to simplify binary/unary output and to add parens when necessary.
9615         * ms-excel-write.c (write_formula) : Start at paren level 0.
9616         (write_names) : ditto.
9618 2001-02-16  Jody Goldberg <jgoldberg@home.com>
9620         * Release 0.62
9622 2001-02-15  Jody Goldberg <jgoldberg@home.com>
9624         * ms-excel-read.c (ms_sheet_obj_realize) : Add a missing call to
9625           sheet_object_set_sheet.  Without this the objects are lost in limbo.
9627 2001-02-11  Jody Goldberg <jgoldberg@home.com>
9629         * ms-excel-read.c (ms_sheet_obj_create) : add option button.
9631 2001-02-10  Jon K Hellan  <hellan@acm.org>
9633         * ms-excel-read.c (ms_excel_init_margins): New
9634         function. Initialize margins to Excel defaults.
9635         (ms_excel_sheet_new): Call ms_excel_init_margins.
9637         * ms-excel-write.c (write_sheet_bools): Write margins also for
9638         biff 7 (which is what we actually use).
9640 2001-02-09  Jody Goldberg <jgoldberg@home.com>
9642         * ms-excel-read.c (ms_sheet_obj_create) : don't free the object on
9643           failure.
9645         * ms-obj.c (ms_read_OBJ) : free it here on failure.
9647         * ms-container.c (ms_container_finalize) : fix leak.
9649 2001-02-06  Jody Goldberg <jgoldberg@home.com>
9651         * ms-excel-read.c (ms_excel_read_default_col_width) : typo.
9653 2001-02-06  Jody Goldberg <jgoldberg@home.com>
9655         * ms-excel-read.c (ms_excel_read_default_col_width) : Init and cache
9656           the default column width here directly.
9657         (ms_excel_read_colinfo) : Use the font associated with the specified
9658           xf record to calculate the width.
9659         (get_base_char_width) : delete.
9660         (init_base_char_width_for_read) : rename base_char_width_for_read.
9661         (base_char_width_for_read) : take the xf index as an argument and
9662           return rather than caching the results.
9664 2001-01-30  Jody Goldberg <jgoldberg@home.com>
9666         * ms-excel-write.c (new_sheet) : adjust semantics of get extent.
9668 2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>
9670         * ms-excel-read.c (ms_excel_read_selection):
9671         Rename sheet_selection_reset_only to sheet_selection_reset.
9673 2001-01-17  Michael Meeks  <michael@helixcode.com>
9675         * ms-escher.c (ms_escher_read_Blip): fix eog oafiid.
9677 2001-01-08  Jody Goldberg <jgoldberg@home.com>
9679         * ms-excel-read.c (ms_sheet_obj_create) : remove stale debugging.
9681 2001-01-08  Jody Goldberg <jgoldberg@home.com>
9683         * ms-excel-write.c (put_mstyle) : add a ref when the style is put in
9684           the table.
9685         (xf_free) : release the default style.
9687 2000-12-31  Jody Goldberg <jgoldberg@home.com>
9689         * ms-excel-read.c (ms_excel_set_xf) : remove cruft with triple styles.
9690         (biff_xf_data_new) : Ditto.
9691         (ms_excel_set_xf_segment) : Ditto.
9692         (biff_xf_data_destroy) : Ditto.
9694         * ms-excel-write.c (build_xf_data) : remove cruft with triple styles.
9696 2001-01-01  Jon K Hellan  <hellan@acm.org>
9698         * ms-excel-write.c (write_window1): Take WorkbookView
9699         parameter. Save width, height and flags for
9700         show_horizontal_scrollbar, show_vertical_scrollbar and
9701         show_notebook_tabs
9702         (write_bits, write_sheet_tail): Call write_window1 with
9703         WorkbookView parameter.
9705         * ms-excel-read.c (ms_excel_read_window1): New function -
9706         separated out of ms_excel_read_workbook. Read BIFF WINDOW1 record.
9707         Fix some typos: Some fields were 32bit, should be 16 bit.
9708         (ms_excel_read_workbook): Separated out ms_excel_read_window1.
9710 2000-12-20  Jody Goldberg <jgoldberg@home.com>
9712         * ms-chart.c (BC_R(ai)) : Use ms_container_parse_expr.
9714         * ms-container.c (ms_container_parse_expr) : new function.
9716         * ms-excel-read.c (ms_sheet_parse_expr_internal) : implement parse_expr.
9718 2000-12-17 Jody Goldberg <jgoldberg@home.com>
9720         * Release 0.61
9722 2000-12-09  Jody Goldberg <jgoldberg@home.com>
9724         * ms-excel-read.c (ms_sheet_obj_create) : changes to sheet object
9725           constructor arguments.
9727 2000-12-07  Jody Goldberg <jgoldberg@home.com>
9729         * ms-excel-read.c (ms_excel_get_style_from_xf) : enable indent.
9731 2000-12-7  Jody Goldberg <jgoldberg@home.com>
9733         * Release 0.60
9735 2000-12-05  Jody Goldberg <jgoldberg@home.com>
9737         * ms-excel-read.c (ms_excel_read_mergecells) : enable merged cells.
9739 2000-12-05  Jody Goldberg <jgoldberg@home.com>
9741         * ms-escher.c (ms_escher_read_Blip) : revert to using the old
9742           non-installed image viewer.  The one in eog/viewer does not work.
9743           the one in eog/bonobo does.
9745 2000-12-04  Jody Goldberg <jgoldberg@home.com>
9747         * ms-excel-read.c (ms_sheet_obj_create) : fix warnings.
9749 2000-12-02  Jody Goldberg <jgoldberg@home.com>
9751         * ms-escher.c (ms_escher_read_Blip) : Change image viewers.  The
9752           eog/bonobo viewer is no longer built or installed.
9754         * ms-excel-read.c (ms_excel_read_sheet) : XL docs do not mention that
9755           the PROTECT record can sometimes be of size 0.
9756         (ms_excel_read_workbook) : Ditto.
9757         (ms_excel_read_PROTECT) : new function.
9758         (ms_excel_read_mergecells) : Correct.
9759         (biff_xf_data_new) : remove the warnings about merged cells.
9761 2000-12-01  Jody Goldberg <jgoldberg@home.com>
9763         * ms-obj.c (ms_read_OBJ) : simplify.
9765         * ms-excel-write.c (write_biff7_comments) : slight reorg to handle to
9766           style cell comments.
9768         * ms-excel-read.c (ms_excel_read_comment) : revamp for new cell
9769           comment technique.
9771         * ms-excel-read.c (ms_sheet_obj_anchor_to_pos) : Update to the new
9772           sheetObject anchor scheme.  The sheet does NOT yet support this form
9773           of anchor.  We'll need to add it in the next couple of days.
9774         (ms_sheet_obj_create) : create the sheet objects directly.
9776         * ms-escher.c (ms_escher_read_ClientData) : set the picture here
9777           directly.
9779 2000-12-01  Jody Goldberg <jgoldberg@home.com>
9781         * ms-container.c (ms_container_get_blip) : new function.
9782         (ms_container_init) : Add ability to share blip lists between
9783           containers.  We need to figure out the semantics of this.
9784         (ms_container_finalize) : Ditto.
9785         (ms_container_set_blips) : Ditto.
9787 2000-11-19  Jon K Hellan  <hellan@acm.org>
9789         * ms-excel-write.c (write_externsheets): Make EXTERNCOUNT be the
9790         number of EXTERNSHEETS we actually store. This stops Excel from
9791         crashing. See bug #32096. We still have to figure out what to
9792         store as EXTERNSHEETS and when. What we're doing isn't right.
9794 2000-11-18  Jody Goldberg <jgoldberg@home.com>
9796         * Release 0.59
9798 2000-11-13  Jody Goldberg <jgoldberg@home.com>
9800         * Release 0.58
9802 2000-11-13  Morten Welinder  <terra@diku.dk>
9804         * ms-excel-read.c (ms_excel_get_style_from_xf): Fix some
9805         style_color reference count problems.
9806         (ms_excel_set_xf_segment): Plug leak.
9808 2000-11-10  Jody Goldberg <jgoldberg@home.com>
9810         * excel_builtin_formats : Correct long standing typos.
9812 2000-11-10  Jody Goldberg <jgoldberg@home.com>
9813         Patch from Juan Pablo Mendoza <pablo_juan@yahoo.com>
9815          * ms-excel-write.c (write_biff7_comments): New function.
9816          (write_sheet): Use it.
9818 2000-11-07  Jody Goldberg <jgoldberg@home.com>
9820         * ms-excel-read.c (biff_name_data_get_name) : Cleanup a bit.
9822 2000-11-02  Jody Goldberg <jgoldberg@home.com>
9824         * ms-chart.c (ms_excel_chart) : remove check for BOF type == chart.
9825           in BIFF5 it is possible to.
9827         * ms-excel-read.c (ms_excel_read_sheet) : If we find a CHART_unit
9828           record parse the following records as if they were a chart.
9830 2000-11-01  Jody Goldberg <jgoldberg@home.com>
9832         * ms-excel-read.c (ms_excel_sheet_set_comment) : we do not need to set
9833           the cell's value to empty.  It is created that way.
9834         (ms_excel_read_comment) : Ditto.
9835         (ms_excel_sheet_insert_val) : We have direct access to the display
9836           format.  Use it rather than doing an expensive lookup.
9838 2000-10-29  Jody Goldberg <jgoldberg@home.com>
9840         * ms-excel-read.c : Adjust to the signature changes for reading views
9841           rather than workbooks.
9842         * ms-excel-write.c : ditto.
9843         * boot.c : ditto.
9845 2000-10-28  Jody Goldberg <jgoldberg@home.com>
9847         * ms-excel-util.c (init_xl_font_widths) : Add CG Times.
9849 2000-10-30  Morten Welinder  <terra@diku.dk>
9851         * ms-biff.c (biff_getdouble, biff_setdouble): Delete.  Replace all
9852         callers with gnumeric_get_le_double and gnumeric_set_le_double.
9854 2000-10-21  Jody Goldberg <jgoldberg@home.com>
9856         * ms-excel-read.c (ms_excel_read_row) : Fix bounds.
9857         (ms_excel_set_xf_segment) : Be more careful about bounds.
9859 2000-10-10  Jody Goldberg <jgoldberg@home.com>
9861         * Release 0.57
9863 2000-10-04  Jody Goldberg <jgoldberg@home.com>
9865         * ms-excel-read.c (biff_get_rk) : Fix ancient thinko.  Thanks to
9866           heiko@hexco.de for noticing this.
9868 2000-09-20  Jody Goldberg <jgoldberg@home.com>
9870         * ms-formula-read.c (ms_excel_parse_formula) : Make the warning
9871           quieter.
9873 2000-09-10  Jody Goldberg <jgoldberg@home.com>
9875         * ms-excel-read.c (ms_sheet_obj_realize) : Adjust to new object
9876           creation semantics.  First you create the object.  Then set its
9877           size.
9879 2000-09-06  Jody Goldberg <jgoldberg@home.com>
9881         * ms-excel-read.c (ms_excel_sheet_new) : No need to call set_zoom.
9882           sheet_new does that.
9884 2000-08-24  Jody Goldberg <jgoldberg@home.com>
9886         * ms-excel-write.c (put_format) : Ref formats as we add them.
9888 2000-08-23  Jody Goldberg <jgoldberg@home.com>
9890         * ms-excel-write.c (formats_put_magic) : Fixups after changes to
9891           format tables.  We need to store a StyleFormat, not a string.
9892         (after_put_format) : unref rather than free.
9894 2000-08-21  Jody Goldberg <jgoldberg@home.com>
9896         * ms-excel-write.c (formats_init) : The format table nows stores
9897           pointers to StyleFormats rather than their strings.
9898         (formats_get_format) : Ditto.
9899         (formats_free) : Ditto.
9900         (formats_get_index) : Ditto.
9901         (put_format) : Ditto.
9902         (write_format) : Ditto.
9904         * ms-excel-read.c (biff_format_data_lookup) : Number formats are
9905           stored in XLS using the 'C' locale. eg a french user who sees
9906           '# ##0,00' will actually save '#,##0.00'.
9907         (ms_excel_get_style_from_xf) : Kludge.  We need to actually set
9908           non-borders so that things get over ridden.  The core model needs
9909           improving before this can happen correctly.
9910         (ms_excel_get_style_from_xf) : Ditto.
9912         * ms-escher.c (ms_escher_read_Blip) : Remove gnorba.
9914         * ms-chart.c (ai) : Changes to the interface for StyleFormats.
9915         (ifmt) : Ditto.
9916         (ms_excel_chart) : Init the sheet.  Ignore BIFF_DIMENSION records for
9917           now.  I have no idea what they represenent.
9919 2000-08-20  Jody Goldberg <jgoldberg@home.com>
9921         * ms-excel-read.c (ms_excel_get_style_from_xf) : No need to use
9922           set_text.  Set the StyleFormat directly.
9924 2000-08-16  Jody Goldberg <jgoldberg@home.com>
9926         * ms-excel-util.c (init_xl_font_widths) : Tweak Times New Roman
9927           to match observations.  It seems as if the size is non-linear :-(
9928           We'll need another round of measurements to account for this.
9930 2000-08-15  Jody Goldberg <jgoldberg@home.com>
9932         * ms-chart.c (ms_excel_chart) : conditionalize debug info.
9934 2000-08-14  Jody Goldberg <jgoldberg@home.com>
9936         * ms-excel-read.c (ms_excel_set_xf) : Improve debug info.
9937         (ms_excel_set_xf_segment) : Ditto.
9938         (biff_xf_data_new) : Ditto.
9939         (ms_excel_get_style_from_xf) : Always apply the
9940           borders.  We need to apply even in the case of no border in order to
9941           over ride previously applied defaults.
9942         (ms_excel_read_row) : Apply default style to the entire row.
9944 2000-08-09  Jody Goldberg <jgoldberg@home.com>
9946         * ms-excel-read.c (ms_excel_biff_dimensions) : Move back from
9947           ms-chart.c.  It is specific to sheets.
9949 2000-07-26  Michael Meeks  <michael@helixcode.com>
9951         * README: Add some explanation of why I hate being mailed by people
9952         forking my code.
9954 2000-07-24  Jody Goldberg <jgoldberg@home.com>
9956         * ms-excel-read.c (ms_excel_read_sheet) : Adjust to changes in sheet_set_zoom_factor.
9957         (ms_excel_sheet_new) : Ditto.
9959 2000-07-13  Jody Goldberg <jgoldberg@home.com>
9961         * ms-container.c : Beginings of a some support for workbooks, and charts holding objects.
9962           Blips should become objects.
9964         * *.c : adjust to using the container abstraction.
9966 2000-07-08  Jody Goldberg <jgoldberg@home.com>
9968         * ms-formula-read.c (make_function) : Move the place holder handling
9969           into the core.
9971 2000-07-12  Michael Meeks  <michael@helixcode.com>
9973         * ms-escher.c (ms_escher_blip_destroy): unref not destroy bonobo object.
9975 2000-07-06  Jody Goldberg <jgoldberg@home.com>
9977         * ms-obj.c (ms_read_OBJ) : Take an ExcelSheet.
9979         * ms-escher.c (ms_escher_read_ClientData) : ms_read_OBJ takes a sheet.
9980         * ms-excel-read.c (ms_excel_read_sheet) : Ditto.
9981         (ms_excel_read_workbook) : Ditto.
9983         * ms-chart.c (3dbarshape) : A bit of research into probable values of
9984           the enum.
9985         (ai) : After some thought this makes more sense.  We should only see
9986           an expression if we are linked to the workbook.  Similarly we should
9987           only see a format if one is specified.  We really need to avoid this
9988           kludge of needing a dummy sheet.
9989         (areaformat) : Ignore colour index, use the stored colour.  Add some
9990           more debug info.
9991         (lineformat) : Ditto.
9992         (markerformat) : Ditto.
9993         (ms_excel_chart) : Take an optional ExcelSheet.
9994           Parse BIFF_NUMBER records when they appear.
9995         (ms_excel_read_chart) : Take an optional ExcelSheet.
9997 2000-07-05  Michael Meeks  <michael@helixcode.com>
9999         * ms-obj.c (ms_obj_realize): rename sheet_object_container constructor.
10001         * s/reproid/repo_id/
10003 2000-06-27  Jody Goldberg <jgoldberg@home.com>
10005         * ms-formula-write.c (write_node) : Handle new ExprFunction.
10007         * ms-formula-read.c (excel_formula_build_dummy_handle) : Use
10008           function_lookup_by_name.
10010         * ms-excel-read.c (ms_excel_set_xf) : Right borders dominate left
10011           borders.
10013 2000-06-23  Jody Goldberg <jgoldberg@home.com>
10015         * ms-excel-read.c (ms_excel_sheet_append_comment) : Add a lag variable
10016           to support proper merging of comments.
10017         (BIFF_NOTE) : Init the lag variable.
10019 2000-06-21  Jon K Hellan  <hellan@acm.org>
10021         * ms-excel-write.c (palette_put_defaults): Ensure that black with
10022         index 8 can't be swapped out.
10023         (fixup_fill_colors): Use index 8 instead of 0 for black in
10024         foreground. Excel is unable to open the cell format dialog for
10025         cells where foreground pattern color or border color is index 0.
10026         (build_xf_data): Borders: Use index 8 instead of 0 for black.
10028         * ms-excel-read.c (ms_excel_read_cell): Add more references to BIFF
10029         documentation.
10030         (ms_excel_read_workbook): Ditto
10032 2000-06-20  Jody Goldberg <jgoldberg@home.com>
10034         * ms-excel-read.c (ms_excel_externname) : Catch external names that
10035           are OLE or DDE links.
10037 2000-06-18  Jody Goldberg <jgoldberg@home.com>
10039         * Release 0.56
10041 2000-06-19  Jody Goldberg <jgoldberg@home.com>
10043         * ms-excel-write.c (excel_cell_get) : Add some invariants as
10044           protection.
10045         (pre_cell) : Be more careful about handling cells that are potentially
10046           out of bounds.
10048 2000-06-18  Jody Goldberg <jgoldberg@home.com>
10050         * Release 0.55
10052 2000-06-18  Jody Goldberg <jgoldberg@home.com>
10054         * ms-excel-read.c (biff_boundsheet_data_new) : Guess at some
10055           undocumented behavior.  It appears that when a sheet has a NULL
10056           name it is actually 'Sheet#'.
10058 2000-06-15  Jon K Hellan  <hellan@acm.org>
10060         * ms-excel-write.c (write_db_cell): No longer use uninitialized
10061         rc_start [i]. Purify complained, although we immediately threw
10062         away the result.
10064 2000-06-15  Jody Goldberg <jgoldberg@home.com>
10066         * ms-excel-write.c (write_formula) : Incorrect offsets for formula
10067           values with booleans and errors.
10069 2000-06-14  Morten Welinder  <terra@diku.dk>
10071         * ms-formula-write.c (ms_excel_write_formula): Plug leak.
10073         * ms-excel-write.c (ms_excel_check_write): In case of error, clear
10074         out the state.
10075         (ms_excel_write_free_state): "New" function.
10076         (write_workbook): Don't free workbook here.
10077         (ms_excel_write_workbook): Do it here and plug a leak.
10079         * boot.c (excel_save): Free the state.
10081 2000-06-07  Jody Goldberg <jgoldberg@home.com>
10083         * ms-excel-read.c (biff_format_data_lookup) : FORMAT records supercede
10084           the internal table.
10086 2000-06-05  Michael Meeks  <michael@helixcode.com>
10088         s/eBiff_version/MsBiffVersion/g;
10089         s/eBiffV([0-9]*)/MS_BIFF_V\1/g;
10090         s/eBiffVUnknown/MS_BIFF_V_UNKNOWN/g;
10092         s/eBiff_filetype/MsBiffFileType/g;
10093         s/eBiffT/MS_BIFF_TYPE_/g;
10094         s/eBiff_hidden/MsBiffHidden/g;
10095         s/eBiffHVisible/MS_BIFF_H_VISIBLE/g;
10096         s/eBiffHHidden/MS_BIFF_H_HIDDEN/g;
10097         s/eBiffHVeryHidden/MS_BIFF_H_VERY_HIDDEN/g;
10098         s/eBiff_locked/MsBiffLocked/g;
10099         s/eBiffLLocked/MS_BIFF_L_LOCKED/g;
10100         s/eBiffLUnlocked/MS_BIFF_L_UNLOCKED/g;
10101         s/eBiff_xftype/MsBiffXfType/g;
10102         s/eBiffXStyle/MS_BIFF_X_STYLE/g;
10103         s/eBiffXCell/MS_BIFF_X_CELL/g;
10104         s/eBiff_format/MsBiffFormat/g;
10105         s/eBiffFMS/MS_BIFF_F_MS/g;
10106         s/eBiffFLotus/MS_BIFF_F_LOTUS/g;
10107         s/eBiff_eastern/MsBiffEastern/g;
10108         s/eBiffEContext/MS_BIFF_E_CONTEXT/g;
10109         s/eBiffEleftToRight/MS_BIFF_E_LEFT_TO_RIGHT/g;
10110         s/eBiffErightToLeft/MS_BIFF_E_RIGHT_TO_LEFT/g;
10111         s/eBiffFontUnderline/MsBiffFontUnderline/g;
10112         s/eBiffFUNone/MS_BIFF_F_U_NONE/g;
10113         s/eBiffFUSingleAcc/MS_BIFF_F_U_SINGLE_ACC/g;
10114         s/eBiffFUDoubleAcc/MS_BIFF_F_U_DOUBLE_ACC/g;
10115         s/eBiffFUSingle/MS_BIFF_F_U_SINGLE/g;
10116         s/eBiffFUDouble/MS_BIFF_F_U_DOUBLE/g;
10117         s/eBiffFontScript/MsBiffFontScript/g;
10118         s/eBiffFSNone/MS_BIFF_F_S_NONE/g;
10119         s/eBiffFSSub/MS_BIFF_F_S_SUB/g;
10120         s/eBiffFSSuper/MS_BIFF_F_S_SUPER/g;
10121         s/eBiffHAlign/MsBiffHAlign/g;
10122         s/eBiffHAGeneral/MS_BIFF_H_A_GENERAL/g;
10123         s/eBiffHALeft/MS_BIFF_H_A_LEFT/g;
10124         s/eBiffHACenter/MS_BIFF_H_A_CENTER/g;
10125         s/eBiffHARight/MS_BIFF_H_A_RIGHT/g;
10126         s/eBiffHAFill/MS_BIFF_H_A_FILL/g;
10127         s/eBiffHAJustify/MS_BIFF_H_A_JUSTIFTY/g;
10128         s/eBuffHACenterAcrossSelection/MS_BIFF_H_A_CENTER_ACROSS_SELECTION/g;
10129         s/eBiffVAlign/MsBiffVAlign/g;
10130         s/eBiffVATop/MS_BIFF_V_A_TOP/g;
10131         s/eBiffVACenter/MS_BIFF_V_A_CENTER/g;
10132         s/eBiffVABottom/MS_BIFF_V_A_BOTTOM/g;
10133         s/eBiffVAJustify/MS_BIFF_V_A_JUSTIFY/g;
10134         s/eBiffOrient/MsBiffOrient/g;
10135         s/eBiffOHoriz/MS_BIFF_O_HORIZ/g;
10136         s/eBiffOVertHorizText/MS_BIFF_O_VERT_HORIZ/g;
10137         s/eBiffOVertVertText/MS_BIFF_O_VERT_VERT/g;
10138         s/eBiffOVertVertText2/MS_BIFF_O_VERT_VERT2/g;
10139         s/eBiffDifferences/MsBiffDifferences/g;
10140         s/eBiffDFormatbit/MS_BIFF_D_FORMAT_BIT/g;
10141         s/eBiffDFontbit/MS_BIFF_D_FONT_BIT/g;
10142         s/eBiffDAlignbit/MS_BIFF_D_ALIGN_BIT/g;
10143         s/eBiffDBorderbit/MS_BIFF_D_BORDER_BIT/g;
10144         s/eBiffDFillbit/MS_BIFF_D_FILL_BIT/g;
10145         s/eBiffDLockbit/MS_BIFF_D_LOCK_BIT/g;
10146         s/BIFF_BOF_DATA/MsBiffBofData/g;
10147         s/eBiffMaxRows/MsBiffMaxRows/g;
10148         s/eBiffMaxRowsV7/MS_BIFF_MAX_ROWS_V7/g;
10149         s/eBiffMaxRowsV8/MS_BIFF_MAX_ROWS_V8/g;
10151 2000-06-05  Michael Meeks  <michael@helixcode.com>
10153         * ms-excel-read.c (sst_bound_check): Update so we can't miss
10154         adjacent records and we check for continues.
10156 2000-06-03  Michael Meeks  <michael@helixcode.com>
10158         * ms-obj.c (ms_read_TXO): fix memory corruption bug with continue.
10160         * ms-escher.c (ms_escher_read_Blip): update for Oaf.
10162         * ms-biff.c (ms_biff_query_new): kill merging.
10163         (ms_biff_merge_continues): kill forever.
10164         (ms_biff_query_next_merge): rename to (ms_biff_query_next): and
10165         clean. (ms_biff_query_unmerge): kill.
10167 2000-06-02  Michael Meeks  <michael@helixcode.com>
10169         * ms-excel-read.c (biff_get_text): hack nasty auto-header
10170         detection. (read_sst): split from (ms_excel_read_workbook).
10171         (get_xtn_lens): split from (biff_get_text).
10172         (get_utf8_chars, get_string, sst_boundcheck): implement.
10174 2000-01-31  Michael Meeks  <mmeeks@gnu.org>
10176         * ms-obj.c (ms_read_TXO): re-implement to swallow CONTINUEs &
10177         make safer.
10179         * ms-biff.c (ms_biff_query_next_merge): hack do_merge = FALSE
10180         for now; big clean possible later.
10182         * ms-escher.c (ms_escher_read_Blip): always use image-generic;
10183         it works, disable writing image files unless debugging.
10184         (write_file): conditional compile out.
10185         (ms_escher_get_data): add BIFF_CONTINUE.
10187 2000-01-30  Michael Meeks  <michael@mejm2.dow.cam.ac.uk>
10189         * ms-excel-read.c (ms_excel_read_sheet): kill blank_sheet_pos.
10191 2000-05-30  Michael Meeks  <michael@helixcode.com>
10193         * Makefile.am (INCLUDES): kill explicit libole2 include.
10195 2000-05-20  Jody Goldberg <jgoldberg@home.com>
10197         * Release 0.54
10199 2000-05-18  Jody Goldberg <jgoldberg@home.com>
10201         * ms-excel-read.c (ms_excel_read_mergecells) : Produce a warning.
10203 2000-05-11  Michael Meeks  <michael@helixcode.com>
10205         * boot.c (excel_load): add basic hooks.
10207         * excel.h: ditto.
10209 2000-05-16  Michael Meeks  <michael@helixcode.com>
10211         * Makefile.am (INCLUDES): add libole2 include.
10213 2000-05-11  Michael Meeks  <michael@helixcode.com>
10215         * *.[ch]: update libole2 includes.
10217         * Makefile.am (INCLUDES): kill libole2 kludge.
10219 2000-05-09  Jody Goldberg <jgoldberg@home.com>
10221         * Release 0.53
10223 2000-05-05  Jody Goldberg <jgoldberg@home.com>
10225         * ms-formula-read.c (ms_excel_parse_formula) : Improve warning when we
10226           encounter unknown ptgAttr flags.
10228 2000-05-03  Jody Goldberg <jgoldberg@home.com>
10230         * ms-excel-read.c : Include eval.h to suppress warning.
10232 2000-05-03  Jody Goldberg <jgoldberg@home.com>
10234         * ms-excel-write.c (write_cell) : Use parse_pos_init_cell.
10236         * ms-excel-read.c (ms_excel_read_formula) : No need to manually
10237           cleanout the old value.  The various assignment routines take care
10238           of that.
10239           Honour the recalc flags for expressions.  Array expressions are
10240           still unconditionally recalced, but the common case is handled
10241           correctly.
10243 2000-04-24  Jody Goldberg <jgoldberg@home.com>
10245         * ms-excel-read.c : format police.
10247 2000-04-21  Jody Goldberg <jgoldberg@home.com>
10249         * ms-excel-read.c (ms_excel_sheet_insert) : Use cell_set_value
10250           rather than cell_set_text to avoid attempting to parse the string.
10252 2000-04-20  Jody Goldberg <jgoldberg@home.com>
10254         * ms-excel-read.c (ms_excel_sheet_insert) : formats are no longer
10255           associated with individual cells.  Only create a cell if it has
10256           content.
10257         (ms_excel_formula_shared) : Rework to return the expression.  Only set
10258           it if it is an array.
10259         (ms_excel_read_formula) : Use error values for problems not strings.
10260           Use cell_set_expr_and_value when possible.
10261         (ms_excel_read_workbook) : Disable optimization that was culling blank
10262           sheets.  It was causing a complete recalc of all loaded books for
10263           eavy deleted sheet.
10265 2000-04-20  Dan Winship  <danw@helixcode.com>
10267         * ms-escher.c (ms_escher_blip_new): update for changes to bonobo
10269 2000-04-09  Morten Welinder  <terra@diku.dk>
10271         * ms-excel-read.c (ms_excel_sheet_append_comment): Constify.
10272         (ms_excel_sheet_set_comment): Ditto.
10273         (ms_excel_read_sheet): Plug leak.
10275 2000-04-08  Jon K Hellan  <hellan@acm.org>
10277         * ms-excel-read.c (ms_excel_set_xf, ms_excel_read_formula,
10278         ms_excel_read_sheet):  Use
10279         gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
10280         output.
10281         (ms_excel_read_workbook): Remove unused variable to silence
10282         warning.
10284         * ms-excel-write.c (write_externsheets): Output
10285         gnum_sheet->name_quoted instead of gnum_sheet->name. FIXME: Is
10286         this correct?
10287         (write_sheet): Use gnum_sheet->name_unquoted instead of
10288         gnum_sheet->name in debug output.
10289         (write_workbook): Output gnum_sheet->name_unquoted instead of
10290         gnum_sheet->name.
10292         * ms-formula-read.c (ms_excel_parse_formula): Use
10293         gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
10294         output.
10296         * ms-obj.c (object_anchor_to_position): Ditto.
10298 2000-04-06  Jody Goldberg <jgoldberg@home.com>
10300         * ms-excel-read.c (ms_excel_read_workbook) : Move deep freeze/thaw to
10301           a higher level.
10303 2000-04-06  Jody Goldberg <jgoldberg@home.com>
10305         * ms-formula-read.c (ms_excel_parse_formula) : Adjust to change in
10306           value_new_range.
10308 2000-04-04  Jody Goldberg <jgoldberg@home.com>
10310         * ms-obj.c (ms_obj_read_biff8_obj) : Be more careful about when to
10311           dump debug info when the stated record size disagrees with the
10312           actual.
10314 2000-03-24  Jody Goldberg <jgoldberg@home.com>
10316         * *.[ch] : Update copywrite years.
10318         * ms-obj.c (ms_read_OBJ) : improve debug output.
10319         (ms_obj_read_biff8_obj) : Try a new heuristic for dealing with trailing IMDATA.
10321 2000-03-23  Jody Goldberg <jgoldberg@home.com>
10323         * ms-excel-read.c (biff_xf_data_new) : Support horizontal alignment
10324           center_across_selection.
10326         * ms-excel-write.c (halign_to_excel) : Ditto.
10328         * ms-obj.c (object_anchor_to_position) : remove some debug code.
10330 2000-03-23  Jon K Hellan  <hellan@acm.org>
10332         * boot.c (excel_load): No longer add ".gnumeric" to filename. Set
10333         save info. Tag filename as MANUAL. We could make it AUTO soon.
10334         (excel_init): Tag saver as MANUAL.
10336 2000-03-22  Jody Goldberg <jgoldberg@home.com>
10338         * ms-excel-read.c (biff_xf_data_new) : Add some warnings for
10339           unsupported rotated text.
10341 2000-03-21  Jody Goldberg <jgoldberg@home.com>
10343         * ms-excel-util.c (init_xl_font_widths) : Add Geneva.
10345         * ms-excel-read.c (biff_xf_data_new) : Have the horizontal alignment
10346           type center_across_selection default to 'center' instead.
10347         (ms_excel_read_workbook) : Be more explicit about NOT supporting 1904
10348           dates as yet.
10350 2000-03-14  Jody Goldberg <jgoldberg@home.com>
10352         * ms-excel-read.c (biff_xf_data_new) : Remove warning about parent
10353           styles not == 0.  I finally understand what the semantics of this
10354           are.  Style 0 is 'Normal' this test was doing nothing accept
10355           discriminating agains 'Comma' and its friends.  We need to extend
10356           the gnumeric notion of styles to include the limited form of
10357           inheritance embodied by XL.
10359         * ms-obj.c (object_anchor_to_position) : Be VERY careful.
10361 2000-03-13  Jody Goldberg <jgoldberg@home.com>
10363         * ms-obj.c (object_anchor_to_position) : Be more careful handling out
10364           of bounds conditions.  Part of bug 7312.
10366 2000-03-09  Jody Goldberg <jgoldberg@home.com>
10368         * ms-excel-read.c (ms_excel_get_style_from_xf) : Tweak colour
10369           selection for contrasting colours.  FIXME : We really need to find
10370           something more definative than this guess work.
10372         * ms-excel-read.c (ms_excel_read_selection) : Do not reset the
10373           edit cursor.  It needs more work to be correct.
10375 2000-03-09  Jody Goldberg <jgoldberg@home.com>
10377         * ms-excel-util.[ch] (lookup_font_base_char_width) : Delete.
10379         * ms-excel-read.c (ms_excel_get_style_from_xf) : Adjust bottom and
10380           right borders to be top & left of neighbouring cells.
10381         (ms_excel_set_xf) : Ditto.
10382         (ms_excel_set_xf_segment) : Ditto.
10384 2000-03-05  Jon K Hellan  <hellan@acm.org>
10386         * ms-excel-write.c (lookup_base_char_width_for_write): Rename to
10387         init_base_char_width_for_write. Init width and default width.
10388         (get_base_char_width): Add is_default parameter.
10389         (write_colinfo, write_default_col_width): Use it.
10391         * ms-excel-write.h (struct _ExcelSheet): Add base_char_width_default.
10393         * ms-excel-write.c (excel_font_to_string, excel_font_new,
10394         excel_font_hash, excel_font_equal, write_font): Handle underline,
10395         strikethrough.
10397         * ms-excel-write.h (struct _ExcelFont): Ditto
10399 2000-03-05  Jody Goldberg <jgoldberg@home.com>
10401         * ms-excel-read.c (ms_excel_get_style_from_xf) : enable strikethrough.
10403 2000-03-01  Jody Goldberg <jgoldberg@home.com>
10405         * ms-excel-read.c (biff_font_data_new) : Fix old typo.
10407 2000-02-29  Jody Goldberg <jgoldberg@home.com>
10409         * ms-excel-read.c (ms_excel_get_style_from_xf) : Add support for
10410           importing underlines.
10412 2000-02-18  Jody Goldberg <jgoldberg@home.com>
10414         * ms-excel-read.c (ms_excel_get_style_from_xf) : Hard code 'auto'
10415           border colours to black for now.  We are not guessing well.
10417 2000-02-15  Jody Goldberg <jgoldberg@home.com>
10419         * ms-obj.c (object_anchor_to_position) : Improve debug output.
10421         * ms-excel-read.c (ms_excel_sheet_new) : Add new member base_char_width_default.
10422         (print_font_mapping_debug_info) : Delete.
10423         (lookup_base_char_width_for_read) : Rename init_base_char_width_for_read,
10424           and use lookup_font_base_char_width_new to init the width and the
10425           default_width.
10426         (get_base_char_width) : Adjust.
10427         (ms_excel_read_colinfo) : Width is different from default_width...  Idiots!
10428         (ms_excel_read_default_col_width) : Ditto.
10430         * ms-excel-util.c : Add lookup tables for various standard widths of
10431           MS fonts.  Use a quick and dirty linear scaling to calculate the
10432           widths of arbitrary font sizes.
10434 2000-02-14  Jody Goldberg <jgoldberg@home.com>
10436         * ms-excel-read.c (ms_excel_read_row) : heights are specified
10437           including margins and 1 grid line.  Do not use get_units_net_of_margins.
10438         (get_units_net_of_margins) : Delete.
10440 2000-02-13  Jody Goldberg <jgoldberg@home.com>
10442         * ms-excel-read.c (ms_excel_read_workbook) : Adjust WINDOW size
10443           measurements from points to pixels.
10445 2000-02-12  Jody Goldberg <jgoldberg@home.com>
10447         * ms-excel-read.c (ms_excel_read_default_col_width) : Margins are
10448           internal now.
10449         (ms_excel_read_default_row_height) : Ditto.
10450         (ms_excel_read_colinfo) : Ditto.
10451         (ms_excel_read_row) : Adjust to changes in margins and step closer to
10452           handling think margins.
10454         * ms-excel-write.c (write_rowinfo) : Use the size_pts member directly.
10455         (write_colinfos) : ditto.
10457         * ms-obj.c (object_anchor_to_position) : Adjust to name and semantic
10458           changes of size_pixels.  Denominate things in pixels.
10460 2000-02-06  Michael Meeks  <michael@helixcode.com>
10462         * ms-excel-read.c (ms_excel_read_workbook): Move failed sheet removal
10463         here + add pristine culling instead of 0 byte in sheet header, may
10464         introduce bugs but will help fix sheet_is_pristine. Fix potential
10465         sheet object leak. (ms_excel_read_sheet): do not detach in error case.
10467 2000-01-30  Jon K Hellan  <hellan@acm.org>
10469         * ms-excel-write.c (write_sheet): Correct the max no. of rows check.
10471 2000-01-29  Jody Goldberg <jgoldberg@home.com>
10473         * ms-excel-read.c (ms_excel_read_workbook) : Correct the error
10474           handling.
10476 2000-01-29  Jon K Hellan  <hellan@acm.org>
10478         Megacommit.
10480         The purpose of the changeset is twofold:
10482         1. Use CommandContexts for error reporting for file read/save.
10483         2. This allows us to let FileFormatOpen return 0 on success, -1 on
10484            failure, same as FileFormatSave. The convention to return NULL
10485            on success was highly ideosyncratic.
10487         * excel.h (ms_excel_read_workbook, ms_excel_write_workbook) Add
10488         CommandContext. Return int.
10490         * ms-excel-read.c (ms_excel_read_workbook): Add
10491         CommandContext. Return 0 on success, -1 on failure. Use
10492         gnumeric_error_read to display messages.
10494         * ms-excel-write.c (write_sheet): Check max no. of rows for the
10495         format.
10496         (new_sheet): Return the ExcelSheet. Let caller add it to
10497         wb->sheets.
10498         (pre_pass): Add CommandContext.
10499         (free_workbook): New function, previously in write_workbook.
10500         (write_workbook): Change parameter from Workbook to ExcelWorkbook.
10501         Move deallocation to free_workbook.
10502         (check_sheet): New function. Check if we are able to save the
10503         sheet.
10504         (ms_excel_check_write): New function. Check if we are able to save
10505         to the file. Do initialization previously in
10506         ms_excel_write_workbook.
10507         (ms_excel_write_workbook): Add CommandContext. Add state. Change
10508         wb from Workbook to ExcelWorkbook. Use gnumeric_error_save to
10509         report problems. Return 0 on success, -1 on failure.
10511         * ms-excel-biff.h: Define enum for max no. of rows. Fix typo.
10513         * boot.c (excel_load, excel_save, excel_save_98, excel_save_95):
10514         Add CommandContext.
10515         (excel_load): Return 0 on success, -1 on failure.
10516         Use gnumeric_error_read to display messages. Remove "Opening .. "
10517         message on stdout.
10518         (excel_probe_write): New function. Check if we are able to save to
10519         the file.
10520         (excel_save): Use gnumeric_error_save to display messages.
10521         Return 0 on success, -1 on failure.
10523 2000-01-18  Jody Goldberg <jgoldberg@home.com>
10525         * ms-formula-read.c (ms_excel_parse_formula) : Add OPER_UNARY_PLUS.
10527         * ms-formula-write.c (write_node) : Ditto.
10529         * ms-excel-read.c (get_units_net_of_margins) : Return 1 when faced
10530           with < 0 sized things.
10531         (ms_excel_read_row) : Support hidden rows.
10532         (ms_excel_read_colinfo) : Support hidden columns.
10534 2000-01-17  Frank Chiulli  <fc-linux@home.com>
10536         * ms-summary.c (ms_summary_write): Turn on writing out the
10537           DocumentSummaryInformation stream.
10539 2000-01-17  Jody Goldberg <jgoldberg@home.com>
10541         * ms-excel-write.c : Remove unused xml includes.
10543 2000-01-17  Jody Goldberg <jgoldberg@home.com>
10545         * ms-chart.c (ms_excel_chart) : Apparently BIFF_NUMBER records show up
10546           in charts.
10548         * ms-excel-read.c (ms_excel_read_workbook) : Improve sizing of
10549           window, Use the support for some of the new preferences
10550           hiding scrollbars, and notebooktabs.
10552         * ms-excel-read.c (ms_excel_read_sheet) : Use support for
10553           hidden grid lines, hidden formulas, hidden zeros, hidden
10554           row/col headers.  Use the information on where the upper left
10555           corner is.
10557 2000-01-14  Jon K Hellan  <hellan@acm.org>
10559         * ms-excel-write.h: (ExcelWorkbook): Make
10560         sheet->cells an array of arrays.
10562         * ms-excel-write.c (excel_cell_get): Make inline.
10563         (excel_cell_get, new_sheet, new_sheet, free_sheet): Make
10564         sheet->cells an array of arrays.
10566 2000-01-13  Jody Goldberg <jgoldberg@home.com>
10568         * ms-excel-read.c (ms_excel_read_workbook) : Move magic scale hack
10569           into a single #define.  Use workbook_view_set_size.
10571 2000-01-10  Jody Goldberg <jgoldberg@home.com>
10573         * ms-obj.c (ms_read_TXO) : Return the string generated rather than
10574           leaking it.
10575         (ms_read_OBJ) : Don't warn about comments, they are not sheet objects
10576           which breaks the whole function of this routine but they are not
10577           unexpected.  If we can figur eout how to store the string associated
10578           with the TXO nearby with this object and get that cleaned up on
10579           time and referencable by obj-ID then we can fix comment import.
10581         * ms-excel-read.c (ms_excel_read_sheet) : Improve handling for
10582           WINDOW1 and warn about more unsupported cases.  Tweak zoom factor
10583           by 1.4 to be less ugly. (ICK !  HACK!)
10584         (ms_excel_read_workbook) : WINDOW2 is a sheet level
10585           descriptor.  Add handle for WINDOW1.
10586         (ms_excel_sheet_new) : ICK!  hard code a scale
10587           factor of 1.4 to get things to be less ugly.
10589 2000-01-05  Jon K Hellan  <hellan@acm.org>
10591         * ms-excel-write.c (write_colinfos): Fix off by one error.
10592         (write_sheet_bools): Ditto.
10594 2000-01-03  Jody Goldberg <jgoldberg@home.com>
10596         * ms-excel-read.c (ms_excel_read_sheet) : extend support for WINDOW2.
10597         (ms_excel_read_selection) : Remove hack to set visible location.
10599 1999-12-30  Jody Goldberg <jgoldberg@home.com>
10601         * ms-excel-read.c (ms_excel_workbook_new) : Return error messages.
10602         (ms_excel_read_workbook) : If a file is password protected do NOT
10603           attempt to read it.
10605         * boot.c (excel_load) : return error messages.
10607 1999-12-23  Jon K Hellan  <hellan@acm.org>
10609         * ms-excel-write.c (write_bits): Use "The Free Software
10610         Foundation" as name.
10612         * excel.h (WRITEACCESS_LEN): Define it.
10614 1999-12-21  Jon K Hellan  <hellan@acm.org>
10616         * ms-excel-write.c (write_index, write_db_cell, write_block,
10617         write_sheet): Write row info records in blocks of 32. Excel was
10618         unable to read files we made if they were over 517 rows. Limit is
10619         now pushed to 16544.
10620         (write_index): Assertion no longer true - removed it. Refer to
10621         Excel doc page.
10622         (write_db_cell): Write offsets for all rows in block in single
10623         record. Add number of rows parameter.
10624         (write_block): New function. Write a block of rows. Previously
10625         part of write_sheet, but changed for blocked row info.
10626         (write_sheet): Move inner loop to write_block.
10627         (new_sheet): Initialize sheet->cells to 0.
10629         * excel.h (ROW_BLOCK_MAX_LEN): Define.
10631 1999-12-21  Jon K Hellan  <hellan@acm.org>
10633         * ms-excel-write.c (fixup_fill_colors): Fix minor bug.
10635 1999-12-17  Jon K Hellan  <hellan@acm.org>
10637         * ms-excel-write.h (struct _ExcelCol ): define it
10638         (struct _ExcelSheet): Add base_char_width
10640         * ms-excel-write.c (log_put_color, palette_get_index,
10641         gather_palette, write_palette, excel_font_new, excel_font_hash,
10642         excel_font_equal, after_put_format, map_pattern_index_to_excel,
10643         halign_to_excel, valign_to_excel, fixup_fill_colors,
10644         get_xf_differences, log_xf_data, build_xf_data,
10645         write_xf_magic_record, write_value, write_formula, write_cell,
10646         write_mulblank, pre_pass): Cosmetics
10647         (write_font, write_fonts, write_format, write_formats,
10648         write_xf_record, write_xf, write_workbook): Conform to
10649         conventional parameter order
10650         (orientation_to_excel, border_type_to_excel): Make inline
10651         (write_default_row_height): New function. Write default row
10652         height.
10653         (lookup_base_char_width_for_write): New function. Locate font for
10654         measuring base char width, and call measuring function.
10655         (get_base_char_width): New function: Return base char width for
10656         column sizing.
10657         (write_default_col_width): New function. Write default col width.
10658         (write_colinfo): New function. Write column info for a run of
10659         identical columns
10660         (write_colinfos): New function. Write column info for all columns.
10661         (write_sheet_bools): Use write_default_row_height,
10662         write_default_col_width, write_colinfos.
10663         (write_sheet_bools):
10664         (write_rowinfo): Write true row height. Add sheet to signature.
10665         (write_sheet): Add sheet to write_rowinfo call.
10666         (new_sheet): Initialize base_char_width.
10668         * ms-excel-util.h: #include <sheet.h>
10669         (EXCEL_DEFAULT_CHAR_WIDTH): Move here from ms-excel-read.h
10670         (lookup_font_base_char_width): Declare it.
10672         * ms-excel-util.c (lookup_font_base_char_width): New
10673         function. Measure "base character width" of font. Previously in
10674         lookup_base_char_width in ms-excel-read.c
10676         * ms-excel-read.c: #include ms-excel-util.h
10677         (lookup_base_char_width_for_read): Renamed from
10678         lookup_base_char_width because of similar, but different function
10679         in ms-excel-write.c. Split in two. Font locating stays here. Font
10680         measuring moved to new function lookup_font_base_char_width in
10681         ms-excel-util.c
10682         (get_base_char_width): Use lookup_base_char_width_for_read.
10683         (ms_excel_read_default_row_height): Refer to Excel doc page.
10684         (ms_excel_read_default_col_width): Ditto
10686 1999-12-14  Jon K Hellan  <hellan@acm.org>
10688         * ms-excel-write.h (XF_MAGIC, PALETTE_ALSO_BLACK, FILL_MAGIC,
10689         BORDER_MAGIC): define
10690         (PALETTE_WHITE, PALETTE_BLACK): Fix typo, they were switched around.
10692         * ms-excel-write.c (put_colors): Include border colors.
10693         (excel_font_new): Newline to conform to coding style.
10694         (fonts_get_font): New function. Get font, given index.
10695         (fonts_free, write_fonts): Use it.
10696         (write_font): Fix boldstyle typo.
10697         (formats_get_format): New function. Get format, given index.
10698         (formats_free, write_format): Use it.
10699         (xf_get_mstyle): New function. Get mstyle, given index.
10700         (xf_free): Use it.
10701         (halign_to_excel):
10702         New function. Map horizontal alignment to Excel bitfield
10703         (valign_to_excel):
10704         New function. Map vertical alignment to Excel bitfield.
10705         (orientation_to_excel):
10706         New function. Map text orientation to Excel bitfield.
10707         (border_type_to_excel):
10708         New function. Map border type to Excel bitfield.
10709         (fixup_fill_colors):
10710         New function. Kluge fill foreground and background colors.
10711         (get_xf_differences): Fill out map of differences to parent style.
10712         (log_xf_data):
10713         New function. Log XF data for a record about to be written. Pulled
10714         out of write_xf_record.
10715         (build_xf_data): New function. Build XF data for a style. Pulled
10716         out of write_xf_record, but uses BiffXFData struct. Add support
10717         for borders, alignments, wrap, rotation. Change some
10718         local variable names for consistency with import code.
10719         (write_xf_magic_record): Comment magic color value.
10720         (write_xf_record): Change signature, take BiffXFData instead of
10721         mstyle. Simplify by moving out logging and marshaling. Make more
10722         complex by writing borders, alignment, wrap, rotation.
10723         (write_xf): Use xf_get_mstyle, build_xf_data, log_xf_data.
10725         * ms-excel-util.h: Fix typo.
10727         * ms-excel-xf.h: New file for BiffXFData struct def.
10729         * ms-excel-read.c: Move BiffXFData struct def to
10730         ms-excel-xf.h. Include ms-excel-xf.h. Remove include "border.h" -
10731         ms-excel-xf.h includes it.
10732         (ms_excel_get_style_from_xf): Express some bewilderment.
10734         * ms-excel-biff.h: Define enums for horizontal alignment, vertical
10735         alignment, text orientation, difference bits
10737 1999-12-11  Frank Chiulli  <fchiulli@home.com>
10739         * ms-summary.c (ms_summary_write): comment out DocumentSummary.
10741         * boot.c (excel_save): re-enable summary write.
10743 1999-12-14 Valerie A Henson  <val@nmt.edu>
10745         * ms-obj.c: s/dump/ms_ole_dump/
10747         * ms-biff.c: s/dump/ms_ole_dump/
10749         * ms-formula-read.c: s/dump/ms_ole_dump/
10751         * ms-excel-read.c: s/dump/ms_ole_dump/
10753 1999-12-09  Jon K Hellan  <hellan@acm.org>
10755         * ms-excel-write.c (excel_font_hash, excel_font_equal, excel_font_free):
10756         fixup pointer bits.
10758 1999-12-08  Jon K Hellan  <hellan@acm.org>
10760         * ms-excel-write.c: (palette_color_to_int): New function. Convert
10761         EXCEL_PALETTE_ENTRY to guint.
10762         (style_color_to_int): New function. Convert StyleColor to guint.
10763         (log_put_color): New function. Debug log when color added to
10764         palette
10765         (palette_put_defaults): New function. Put Excel default colors to
10766         palette.
10767         (palette_init): New function. Initialize palette table.
10768         (palette_free): New function. Free palette table.
10769         (palette_get_index): New function. Get color index.
10770         (put_color): New function. Add color to palette.
10771         (put_colors): New function. Add colors in MStyle to palette
10772         (gather_palette): New function. Add all colors in workbook to
10773         palette.
10774         (write_palette): Use color info from styles. Make void.
10775         (excel_font_to_string): New function. Return string desc. of font
10776         (excel_font_new): New function. Make an ExcelFont (font + color).
10777         (excel_font_free): New function. Free an ExcelFont.
10778         (excel_font_hash): New function. Hash function for ExcelFonts.
10779         (excel_font_equal): New function. Compare ExcelFonts.
10780         (fonts_init): New function. Initialize font table
10781         (fonts_free): New function. Free font table.
10782         (fonts_get_index): New function. Get index of ExcelFont
10783         (after_put_font): New function. Debug log when font is added to
10784         table.
10785         (put_font): New function. Add font to table.
10786         (gather_fonts): New function. Add all fonts in workbook to table.
10787         (write_font): New function. Write a font to file. Essentially,
10788         inner loop of the old version of write_fonts.
10789         (write_fonts): Rewritten. Make void
10790         (after_put_format): New function. Debug log when format is added
10791         to table.
10792         (formats_put_magic): New function. Add builit-in formats to table.
10793         (formats_init): New function. Initialize format table
10794         (formats_free): New function. Free format table
10795         (formats_get_index): New function. Get index of format
10796         (put_format): New function. Add a format to table
10797         (gather_formats): New function. Add all formats in workbook to
10798         table.
10799         (write_format): New function. Write a format to file. Essentially,
10800         inner loop of the old version of write_formats.
10801         (write_formats): Rewritten. Make void.
10802         (cell_used_map_new): New function. Make bitmap for cells in use.
10803         (cell_mark_used): New function. Mark cell in use in bitmap.
10804         (cell_is_used): New function. Return true if cell marked in use in
10805         bitmap.
10806         (get_default_mstyle): New function. Get default mstyle of
10807         sheet. Placeholder function until this info is exported from
10808         sheet.
10809         (xf_init): New function. Initialize xf/mstyle table.
10810         (xf_free): Rewritten. New signature. Release allocated style data.
10811         (after_put_mstyle): New function. Debug log when MStyle added to
10812         table.
10813         (put_mstyle): New function. Add MStyle to table.
10814         (excel_cell_get): New function. Get ExcelCell record for cell
10815         position.
10816         (pre_cell): Constify key. Add cell MStyle to table. Cache some
10817         info
10818         (pre_blank): New function. Add MStyle of blank cell to table.
10819         (pre_blanks): New function. Add MStyles of all blank cells in
10820         workbook to table.
10821         (gather_styles): New function. Add all MStyles in workbook to
10822         table.
10823         (map_pattern_index_to_excel): New function. Map Gnumeric pattern
10824         index to Excel ditto.
10825         (write_xf_magic_record): New function. Essentially, the old
10826         version of write_xf_record.
10827         (write_xf_record): Rewritten. Use style info from worksheet.
10828         (write_xf): Use style info from worksheet. Changed signature.
10829         (write_value): Let ms_excel_write_debug govern debug logging.
10830         (write_formula): Add xf parameter. Write true xf index
10831         (write_cell): ExcelCell parameter instead of Cell, bringing in xf.
10832         Write true xf index.  Let ms_excel_write_debug govern debug
10833         logging.
10834         (write_mulblank): Add xf_list parameter. Write true xf
10835         index. Remove #define XF_MAGIC. Add debug logging. Add
10836         ms_biff_put_commit.
10837         (write_index): Let ms_excel_write_debug govern debug logging.
10838         (write_sheet): Let ms_excel_write_debug govern debug logging.
10839         (write_sheet): Use ExcelCell instead of Cell. Pass xf or xf_list
10840         to called functions.
10841         (new_sheet): Initialize sheet->cells, sheet->cell_used_map
10842         (free_sheet): Free sheet->cells, sheet->cell_used_map
10843         (pre_pass): Rewrite. Change signature
10844         (write_workbook): Initialize font, format, palette and xf tables.
10845         Free xf list.
10846         (ms_excel_write_workbook): Flush debug log at end.
10848         * ms-excel-write.h: Define TwoWayIndex, ExcelFont, ExcelCell,
10849         ExcelRow. Redefined Palette, Fonts, Formats, XF. Add cells and
10850         cell_used_map to ExcelSheet. Add xf to ExcelWorkbook.  Define
10851         AfterPutFunc. Declare ms_excel_write_debug.  Move #defines from
10852         ms-excel-write.c. Move function declarations last.
10854         * ms-excel-util.c New file.
10855         (two_way_index_new): New function. Make TwoWayTable.
10856         (two_way_index_free): New function. Destroy TwoWayTable
10857         (two_way_index_put): New function. Put a key to TwoWayTable
10858         (two_way_index_replace): New function. Replace key for index in
10859         TwoWayTable
10860         (two_way_index_key_to_idx): New function. Find index given key
10861         (two_way_index_idx_to_key): New function. Find key given index
10863         * ms-excel-util.h New file.
10865         * ms-excel-read.c (ms_excel_read_cell): Add \n to debug print.
10867 1999-12-06  Michael Meeks  <mmeeks@gnu.org>
10869         * ms-excel-write.c (new_sheet): Update to sheet_get_extent.
10871 1999-12-01  Morten Welinder  <terra@diku.dk>
10873         * ms-excel-read.c (lookup_base_char_width): Plug leaks.
10874         (biff_xf_data_destroy): Ditto.
10876 1999-11-30  Michael Meeks  <mmeeks@gnu.org>
10878         * boot.c (excel_save): Disable summary info export.
10880 1999-11-30  Michael Meeks  <mmeeks@gnu.org>
10882         * ms-excel-read.c: Add ms_excel_write_debug.
10884 1999-11-30  Jon K Hellan  <hellan@acm.org>
10886         * ms-excel-read.c (biff_format_data_lookup): Add debug.
10887         (lookup_base_char_width): add commenting.
10888         (ms_excel_read_workbook): Add fflush.
10890 1999-11-28  Michael Meeks  <mmeeks@gnu.org>
10892         * gnumeric-chart.c (gnumeric_chart_destroy): check the series
10893         is valid before freeing.
10895 1999-11-28  Michael Meeks  <mmeeks@gnu.org>
10897         * ms-excel-read.c (biff_name_data_destroy): add comment.
10899         * ms-chart.c (ms_excel_chart): destroy state.chart.
10901 1999-11-26  Jody Goldberg <jgoldberg@home.com>
10903         * ms-formula-read.c (ms_excel_parse_formula) : DOH!
10904           why wait to implement the implicit intersetion in the core.
10905           We know that this will require such an intersection.  So do
10906           the work here.  This results in the same sheet that XL produces
10907           if you turn off the 'use labels as names' feature.
10909 1999-11-26  Jody Goldberg <jgoldberg@home.com>
10911         * ms-formula-read.c (ms_excel_parse_formula) : Add support for
10912           extended-ptg ElfColV and ElfRowV.  They seem to refer to the
10913           use of an implicit vector defined by a column header.
10914           ie A1 = 'bob'  A2 = 2 B2 = '=bob^2'
10915           The eptg would indicate that 'bob' in B2 refered to the column below
10916           A1.  Presumably implicit intersection (not implemented yet) would
10917           handle the rest.
10919 1999-11-25  Jody Goldberg <jgoldberg@home.com>
10921         * ms-obj.c (object_anchor_to_position) : Use 1/1024 for pre-XL97
10922           objects.  Do not scale the margins.
10924 1999-11-23  Jody Goldberg <jgoldberg@home.com>
10926         * ms-excel-read.c (biff_font_data_new) : Improve debug info.
10927         (ms_excel_get_style_from_xf) : Ditto.
10928         (ms_excel_set_xf) : Ditto.
10930 1999-11-22  Jody Goldberg <jgoldberg@home.com>
10932         * ms-excel-read.c (get_units_net_of_margins) : Don't crash when the
10933           col/row info is NULL.
10935         * ms-excel-read.c (ms_excel_get_xf) : Improve error
10936           message when faced with invalid xf index.
10938 1999-11-21  Jody Goldberg <jgoldberg@home.com>
10940         * ms-excel-read.c (ms_excel_read_selection) : Bug 3609.
10941           Make sure the current cell is visible.
10943 1999-11-19  Jon K Hellan  <hellan@acm.org>
10945         * ms-excel-read.c (ms_excel_read_row): New funtion: Process a BIFF
10946         row info record. Previously in ms_excel_read_cell.
10947         (ms_excel_read_colinfo): New function: Process a BIFF column
10948         info record. Previously in ms_excel_read_cell.
10949         (ms_excel_read_cell): Move some code to ms_excel_read_row and
10950         ms_excel_read_colinfo
10951         (ms_excel_read_default_row_height): New function: Process a BIFF
10952         default row height record. Previously in ms_excel_read_sheet.
10953         (ms_excel_read_default_col_width): New function: Process a BIFF
10954         default column width record. Previously in ms_excel_read_sheet.
10955         (ms_excel_read_sheet): Move some code to
10956         ms_excel_read_default_row_height and ms_excel_read_default_col_width.
10958 1999-11-19  Michael Meeks  <mmeeks@gnu.org>
10960         * boot.c (excel_probe): Check for the right streams, not just an
10961         ole file.
10963 1999-11-18  Michael Meeks  <mmeeks@gnu.org>
10965         * ms-excel-read.c (lookup_base_char_width): kill double init of
10966         sample & add check.
10968 1999-11-18  Jon K Hellan  <hellan@acm.org>
10970         * ms-obj.c (ms_parse_object_anchor): Just extract anchor data,
10971         don't try to convert to pixels. Extracted anchor data has type
10972         anchor_point[4], i.e. 4 pairs of col/row number and fractions of
10973         col/row.
10974         (ms_obj_realize): Now receives uninterpreted anchor data. Thus,
10975         conversion to position is delayed until the entire sheet has been
10976         read. Use object_anchor_to_position to interpret. 'anchor'
10977         variable renamed to 'position'.
10978         (object_anchor_to_position): New function: Convert an anchor to
10979         position in points. Based on data interpretation in previous
10980         version of ms_parse_object_anchor.  Interpret as 256th's rather
10981         than 1024th's vertically. Base computation on actual cell
10982         width/height.
10984         * ms-obj.h (type anchor_point): define it.
10985         (type MSObj): Change type of anchor from int[4] to
10986         anchor_point[4].
10987         Update signature of ms_parse_object_anchor.
10989         * ms-excel-read.h (_ExcelSheet): Add base_char_width member.
10990         (EXCEL_DEFAULT_CHAR_WIDTH): Define it.
10991         * ms-excel-read.c (get_substitute_font):
10992         New function: Try to find a gnome font which matches the Excel font.
10993         (ms_excel_get_style_from_xf): Use get_substitute_font.
10994         (ms_excel_sheet_new): Initialize base_char_width to 0, i.e. unknown.
10995         (print_font_mapping_debug_info): Debug print in separate routine.
10996         (get_base_char_width): New function: Return base char width for
10997         column sizing. If not yet known, call lookup_base_char_width to
10998         find it.
10999         (lookup_base_char_width): New function. See get_base_char_width.
11000         (get_row_height_units): New function. We could adjust excel
11001         heights here, but there seems to be no need.
11002         (get_units_net_of_margins): New function. Subtract margins from a
11003         point size.
11004         (ms_excel_read_cell):
11005         case BIFF_ROW: Specify height in points, not pixels.  Use
11006         get_row_height_units and get_units_net_of_margins. Call
11007         sheet_row_set_height_units rather than sheet_row_set_height.
11008         case BIFF_COLINFO: Specify width in points, not pixels.  Scale
11009         column based on actual font. Use get_base_char_width and
11010         get_units_net_of_margins. Call sheet_col_set_width_units rather
11011         than sheet_col_set_width.
11012         (ms_excel_read_sheet):
11013         case BIFF_DEFAULTROWHEIGHT: Handle it. Like BIFF_ROW, but use
11014         sheet_row_set_internal_height on default style.
11015         case BIFF_DEFCOLWIDTH: Handle it. Like BIFF_COLINFO, but use
11016         sheet_col_set_internal_height on default style.
11018         * ms-escher.c (_MSEscherHeader):
11019         Change type of anchor to anchor_point[4]
11021 1999-11-18  Michael Meeks  <mmeeks@gnu.org>
11023         * ms-excel-read.c (ms_excel_read_guts): rename.
11025 1999-11-17  Jody Goldberg <jgoldberg@home.com>
11027         * ms-excel-read.c (ms_excel_read_mergecells) : New function.
11028           Test parser for merged cells.
11029         (ms_excel_read_sheet) : Use it.
11030         (biff_xf_data_new) : Fix typo.
11032         * ms-excel-read.c (black_or_white_contrast) : Use new
11033           style_color{black,white} functions.
11034         (ms_excel_palette_get) : Ditto.
11035         (ms_excel_get_style_from_xf) : Ditto.
11037 1999-11-17  Michael Meeks  <mmeeks@gnu.org>
11039         * ms-excel-read.c (biff_xf_data_new): Quieten.
11040         (ms_excel_palette_get): Return black on failure.
11041         (biff_get_text): quieten various warnings.
11043 1999-11-16  Jody Goldberg <jgoldberg@home.com>
11045         * ms-excel-read.c (ms_excel_read_GUTS) : New function.
11046         (ms_excel_read_sheet) : used here.
11048 1999-11-15  Jody Goldberg <jgoldberg@home.com>
11050         * ms-excel-read.c (biff_xf_data_new) : Add warnings about
11051           unsupported alignment and format features.  This explains
11052           why travel.xls looks odd.
11054 1999-11-14  Frank Chiulli <fchiulli@home.com>
11056         * ms-summary.c (set_summary_item) : Process all the sections in a
11057           stream.  Pass the section's PropertySetID to sum_name_to_excel
11058           rather than the stream's.
11060 1999-11-13  Jody Goldberg <jgoldberg@home.com>
11062         * ms-excel-write.c (write_sheet) : Make static.
11063         * gnumeric-chart.h (typedef) : Fix prototype.
11065 1999-11-09  Michael Meeks  <mmeeks@gnu.org>
11067         * ms-excel-read.c (ms_excel_get_style_from_xf, biff_xf_map_border):
11068         Update to new STYLE_BORDER enums.
11070 1999-11-08  Jody Goldberg <jgoldberg@home.com>
11072         * ms-excel-read.c (biff_xf_data_new) : Reverse sense on diagonals.
11074 1999-11-08  Michael Meeks  <mmeeks@gnu.org>
11076         * ms-summary.c (ms_summary_read): quieten.
11078 1999-11-08  Frank Chiulli  <fchiulli@home.com>
11080         * ms-summary.c :  Added support for DocumentSummaryInformation stream.
11081           Added new field, ps_id (Property Set ID), to mapping_t structure and
11082           initialized excel_to_gnum_mapping[] appropriately.
11084         * ms-summary.c (sum_name_to_excel) : New function to convert a summary
11085           name to a MsOleSummaryPID.
11087         * ms-summary.c (read_summary_items) : Added new argument - psid (Property
11088           Set ID).  It also checks to see that the summary item is in current
11089           Summary stream as identified by psid.  Added support for additional
11090           summary types (boolean, short, time).
11092         * ms-summary.c (ms_summary_read) : Reads DocumentSummaryInformation
11093           stream and summary items therein.
11095         * ms-summary.c (set_summary_item) : Processes additional summary types
11096           (boolean, int, short, time).
11098         * ms-summary.c (ms_summary_write) : Now also writes out the
11099           DocumentSummaryInformation stream.
11101 1999-11-07  Michael Meeks  <mmeeks@gnu.org>
11103         * boot.c (excel_save): Invert sense of return value to reflect success.
11105         * ms-excel-read.c (biff_name_data_get_name): Move name parsing
11106         back here; we have read all the sheets this time so inter-sheet
11107         references in names work. Add 'inserted' flag (biff_name_data_new):
11108         Kill returning the name + add comment. Add stuff to TODO.
11110 1999-11-07  Jody Goldberg <jgoldberg@home.com>
11112         * ms-excel-read.c (ms_excel_set_xf) : Remove debug
11113           statement accidentally left in.
11115 1999-11-06  Jody Goldberg <jgoldberg@home.com>
11117         * ms-excel-read.c (black_or_white_contrast) : Revert to 50% as a
11118           contrast boundary (3*0x10000/2) ~= 0x1800
11120         * ms-excel-read.c (ms_excel_get_style_from_xf) : Add more debug
11121           output, and support 0 as a contrast colour.
11123 1999-11-05  Jody Goldberg <jgoldberg@home.com>
11125         * ms-excel-read.c (ms_excel_palette_get) : Split the contrast logic
11126           into a new function
11127         (black_or_white_contrast) : The new function.
11128         (ms_excel_get_style_from_xf) : Add a hand coded table to decide what
11129           colours to contrast with which while importing.
11130         (biff_xf_data_new) : Fix diagonal border import.
11131         (ms_excel_workbook_detach) : Do not multiply delete a sheet.
11133         * ms-chart.c : Adjust to changes in ms_excel_palette_get.
11135 1999-11-05  Michael Meeks  <mmeeks@gnu.org>
11137         * ms-excel-read.c (ms_excel_get_style_from_xf): update.
11139         * ms-excel-write.c (write_xf_record): pass MStyle *.
11140         (xf_lookup): ditto.
11142 1999-11-03  Jody Goldberg <jgoldberg@home.com>
11144         * ms-excel-read.c (excel_map_pattern_index_from_excel) : Adjust map
11145           from XL pattern index to gnumeric pattern index to swap diag and
11146           rev-diag.
11148         * ms-excel-read.c (ms_excel_get_style_from_xf) : Set the pattern on
11149           import.
11151 1999-10-31  Michael Meeks  <mmeeks@gnu.org>
11153         * ms-excel-write.c (new_sheet): Fix silly bug, rows not cols
11154         for maxy. (write_names): add version precondition.
11156 1999-10-30  Daniel Risacher  <magnus@alum.mit.edu>
11158         * ms-excel-read.c (biff_get_text): tiny fix to debugging code
11159         (biff_name_data_new): actually return the new data
11160         (biff_name_data_get_name): Moved code that adds names to the
11161         workbook to ms_excel_read_name()
11162         (ms_excel_read_name): Add name definitions to workbook when
11163         definition is read, rather than when used.
11164         Formatting.
11166         * ms-formula-write.c (write_ref): minor change to comply with
11167           spec for references.
11168         (write_node): Handle OPER_NAME.
11169         Formatting.
11171         * ms-excel-write.c (write_names): New function.  Writes name
11172           definitions.  Called from write_workbook().
11173         Formatting.
11175         * ms-excel-write.h: Added names to struct _ExcelWorkbook
11177 1999-10-30  Michael Meeks  <mmeeks@gnu.org>
11179         * ms-excel-read.c (ms_excel_get_xf): kill const.
11180         (ms_excel_read_cell): initialize range_end.
11182 1999-10-26  Jody Goldberg <jgoldberg@home.com>
11184         * ms-formula-read.c (FormulaFuncData) : Fix typo for
11185         SERIESNUM -> SERIESSUM.
11187 1999-10-26  Jukka-Pekka Iivonen  <iivonen@iki.fi>
11189         * ms-formula-read.c (formula_func_data): Fixed the number of
11190         arguments in GETPIVOTDATA to two.
11192 1999-10-24  Michael Meeks  <mmeeks@gnu.org>
11194         * ms-excel-read.c (ms_excel_get_style_from_xf): add another ref.
11196 1999-10-24  Jody Goldberg <jgoldberg@home.com>
11198         * ms-excel-read.c (ms_excel_read_cell:MULBLANK) : pre-merge the XF
11199           records in a mulblank sequence.  Improves load time.
11201         * ms-excel-read.c (ms_excel_get_style_from_xf) : New function
11202           split from ms_excel_set_xf.  It calculates and caches the MStyle
11203           associated with an XF record.
11205 1999-10-22  Michael Meeks  <mmeeks@gnu.org>
11207         * ms-excel-read.c (ms_excel_palette_get): fix leak.
11209 1999-10-18  Morten Welinder  <terra@diku.dk>
11211         * ms-formula-read.c (ms_excel_parse_formula): Fix for non-shared
11212         references to cells below row 256.
11214         * ms-excel-read.c (ms_excel_sheet_insert): Set XF before sheet_cell_fetch
11215         for big speedup. (ms_excel_read_formula): ditto.
11217 1999-10-19  Michael Meeks  <mmeeks@gnu.org>
11219         * ms-excel-read.c (ms_excel_get_stylefont ms_excel_set_xf): use new
11220         'helper' functions.
11222 1999-10-08  Jody Goldberg <jgoldberg@home.com>
11224         * ms-excel-read.c : More minor tweaking of adjustment ratios.
11225           We need some real documentation on this stuff.
11227         * ms-escher.c (ms_escher_get_data) : Use printf instead of
11228           g_return_if_fail.  It makes it easier to debug when the messages ar
11229           in line.
11231         * ms-obj.c (ms_read_OBJ) : Print the object type name whenever
11232           possible.
11233         (ms_obj_read_biff8_obj) : Looks like a PictOpt record in an object
11234           signifies that the next BIFF record after the OBJ must be an IMDATA.
11235         (ms_obj_parse_anchor) : Move the zoom application back here until we
11236           split the anchors into distance and cell pairs.  The old code was
11237           zooming the col/row distances twice.
11239 1999-10-08  Morten Welinder  <terra@diku.dk>
11241         * ms-formula-read.c (ms_excel_parse_formula): Plug leaks.
11243 1999-10-03  Jody Goldberg <jgoldberg@home.com>
11245         * boot.c (excel_probe) : Only free the MsOle object if it
11246           was created successfully.
11248 1999-10-02  Jody Goldberg <jgoldberg@home.com>
11250         * *.c : Ensure that we include config.h first.
11252         * *.[ch] : Update and add Copyright notices.
11254 1999-09-29  Jody Goldberg <jgoldberg@home.com>
11256         * ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
11257           reverse order, to decrease the load on the insert routines.
11259 1999-09-26  Jody Goldberg <jgoldberg@home.com>
11261         * ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
11262           XL periodically sends column widths for phantom columns.
11264 1999-10-19  Morten Welinder <terra@diku.dk>
11266         * ms-formula-read.c (ms_excel_parse_formula): Get row as 16 bit value,
11267         for both AREA_3D and AREA[N].
11269 1999-10-18  Michael Meeks  <mmeeks@gnu.org>
11271         * ms-excel-read.c (ms_excel_set_xf): Ref count colors correctly.
11273 1999-10-16  Michael Meeks  <mmeeks@gnu.org>
11275         * ms-excel-read.c (ms_excel_set_cell_font): renamed + kill Cell.
11276         (style_optimize): kill Cell argument.
11277         (ms_excel_set_cell_xf): use style_attach + kill Cell arg. + renamed.
11278         (ms_excel_sheet_insert, ms_excel_read_formula),
11279         (ms_excel_sheet_insert_val): update removing Cell argument.
11280         (ms_excel_sheet_insert_blank): Create.
11281         (ms_excel_read_cell): use insert_blank.
11283 1999-10-15  Michael Meeks  <mmeeks@gnu.org>
11285         * ms-excel-read.c (ms_excel_set_cell_xf): Update style creation +
11286         only setup border if it non NULL, fixup optimization regions.
11287         (ms_excel_set_cell_font): update + add array argument.
11288         (style_optimize): split out. (ms_excel_read_sheet): Add post-optimize.
11290 1999-10-13  Michael Meeks  <mmeeks@gnu.org>
11292         * ms-excel-read.c (ms_excel_set_cell_font): New String in style.
11294 1999-10-11  Michael Meeks  <mmeeks@gnu.org>
11296         * ms-excel-read.c (ms_excel_set_cell_xf): better optimize region
11297         generation.
11299 1999-10-10  Michael Meeks  <mmeeks@gnu.org>
11301         * ms-excel-read.c (ms_excel_sheet_new): Initialize range.
11302         (ms_excel_set_cell_xf): Add range optimization.
11303         (ms_bug_get_padding): Kill.
11305         * ms-excel-read.h (ExcelSheet): Add style_optimize field.
11307 1999-10-09  Jody Goldberg <jgoldberg@home.com>
11309         * ms-excel-read.c (ms_excel_set_cell_xf): Adapt to new Border support.
11311 1999-10-07  Michael Meeks  <mmeeks@gnu.org>
11313         * ms-excel-read.c (ms_excel_set_cell_xf): Large hack to new style
11314         code. (biff_font_data_get_style_font): kill it.
11315         (biff_font_data_new): remove setting up fd->style_font.
11316         (biff_font_data_destroy): kill style_font bits.
11318 1999-10-03  Jody Goldberg <jgoldberg@home.com>
11320         * boot.c (excel_probe) : Only free the MsOle object if it
11321           was created successfully.
11323 1999-09-29  Jody Goldberg <jgoldberg@home.com>
11325         * ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
11326           reverse order, to decrease the load on the insert routines.
11328 1999-09-26  Jody Goldberg <jgoldberg@home.com>
11330         * ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
11331           XL periodically sends column widths for phantom columns.
11333 1999-10-19  Morten Welinder <terra@diku.dk>
11335         * ms-formula-read.c (ms_excel_parse_formula): Get row as 16 bit value,
11336         for both AREA_3D and AREA[N].
11338 1999-10-18  Michael Meeks  <mmeeks@gnu.org>
11340         * ms-excel-read.c (ms_excel_set_xf): Ref count colors correctly.
11342 1999-10-16  Michael Meeks  <mmeeks@gnu.org>
11344         * ms-excel-read.c (ms_excel_set_cell_font): renamed + kill Cell.
11345         (style_optimize): kill Cell argument.
11346         (ms_excel_set_cell_xf): use style_attach + kill Cell arg. + renamed.
11347         (ms_excel_sheet_insert, ms_excel_read_formula),
11348         (ms_excel_sheet_insert_val): update removing Cell argument.
11349         (ms_excel_sheet_insert_blank): Create.
11350         (ms_excel_read_cell): use insert_blank.
11352 1999-10-15  Michael Meeks  <mmeeks@gnu.org>
11354         * ms-excel-read.c (ms_excel_set_cell_xf): Update style creation +
11355         only setup border if it non NULL, fixup optimization regions.
11356         (ms_excel_set_cell_font): update + add array argument.
11357         (style_optimize): split out. (ms_excel_read_sheet): Add post-optimize.
11359 1999-10-13  Michael Meeks  <mmeeks@gnu.org>
11361         * ms-excel-read.c (ms_excel_set_cell_font): New String in style.
11363 1999-10-11  Michael Meeks  <mmeeks@gnu.org>
11365         * ms-excel-read.c (ms_excel_set_cell_xf): better optimize region
11366         generation.
11368 1999-10-10  Michael Meeks  <mmeeks@gnu.org>
11370         * ms-excel-read.c (ms_excel_sheet_new): Initialize range.
11371         (ms_excel_set_cell_xf): Add range optimization.
11372         (ms_bug_get_padding): Kill.
11374         * ms-excel-read.h (ExcelSheet): Add style_optimize field.
11376 1999-10-09  Jody Goldberg <jgoldberg@home.com>
11378         * ms-excel-read.c (ms_excel_set_cell_xf): Adapt to new Border support.
11380 1999-10-07  Michael Meeks  <mmeeks@gnu.org>
11382         * ms-excel-read.c (ms_excel_set_cell_xf): Large hack to new style
11383         code. (biff_font_data_get_style_font): kill it.
11384         (biff_font_data_new): remove setting up fd->style_font.
11385         (biff_font_data_destroy): kill style_font bits.
11387 1999-10-02  Jody Goldberg <jgoldberg@home.com>
11389         * *.c : Ensure that we include config.h first.
11391         * *.[ch] : Update and add Copyright notices.
11393 1999-09-29  Jody Goldberg <jgoldberg@home.com>
11395         * ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
11396           reverse order, to decrease the load on the insert routines.
11398 1999-09-26  Jody Goldberg <jgoldberg@home.com>
11400         * ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
11401           XL periodically sends column widths for phantom columns.
11403 1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
11405         * ms-excel-read.c (biff_name_data_new): add sheet scope.
11406         (ms_excel_read_name): Use the 2nd 'copy' of idx since its the
11407         only valid one. (biff_name_data_get_name): Create using scope.
11409 1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
11411         * Makefile.am: remove the 'ole' test program
11413         * ole.c: Removed, see module libole2 in test/test-ole.
11415         * ms-escher.c (ms_escher_read_ClientData): Remove realize & queue
11416         objects instead. Add precondition on state->sheet.
11418 1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
11420         * ole.c (ms_biff_query_next_merge, ms_biff_query_new): inline.
11422 1999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
11424         * ms-excel-read.c (ms_excel_read_sheet): return FALSE for
11425         blank sheets: duh. (ms_excel_sheet_destroy): add destroy_objs.
11426         (ms_excel_read_cell): remove const on lastcol.
11428 1999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>
11430         * Makefile.am (ole_LDADD): use libole2.la
11432         * ms-obj.c (ms_obj_realize): remove object destruction.
11433         (ms_obj_destroy): add. (ms_excel_sheet_destroy_objs): Create.
11434         (ms_excel_sheet_realize_objs): remove list free.
11436         * ms-excel-read.c (ms_excel_read_sheet): add return type
11437         to save possible cock-up. (ms_excel_read_workbook): only
11438         realize objects if loaded OK.
11440 1999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>
11442         * ole.c (decompress_vba): an idea.
11443         (dump_vba_module): + hooks.
11445 1999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>
11447         * ole.c (decompress_vba): remove unused + clean headers.
11449 1999-09-25  Jody Goldberg <jgoldberg@home.com>
11451         * ms-excel-read.c (ms_excel_read_formula) : Improve debug
11452           printouts, to facilitate match problems cells to inputs
11453           behaviors.
11454         (ms_excel_read_cell:MULBLANK) : Rework to include last_col
11455           and simplify logic on iteration. Plus more debug.
11456         (ms_excel_read_cell:RSTING) : More debug.
11457         (ms_excel_read_cell:BIFF_ROW) : Add explicit comment on
11458           unit -> pixel scaling factor.
11459         (ms_excel_read_cell:BIFF_COLINFO) : Ditto.
11461         * ms-escher.c : Continue work on OPT records.
11463 1999-09-24  Jody Goldberg <jgoldberg@home.com>
11465         * ms-excel-read.c (ms_excel_read_cell) : Add and document
11466           point -> pixel scaling for rows and columns.
11468         * ms-excel-read.c (ms_excel_palette_get) : Change my guess
11469           at what the therhold pseudo-luminosity is.
11471 1999-09-23  Michael Meeks  <michael@nuclecu.unam.mx>
11473         * ole.c (enter_dir): Change logic.
11475 1999-09-22  Michael Meeks  <michael@nuclecu.unam.mx>
11477         * ms-excel-write.c (write_bits): Fix TABID.
11478         (write_sheet_tail): Add current selected sheet save & V8 WINDOW2
11479         (write_bits): only save PANEs if we need to.
11480         (write_fonts): always write 5 fonts instead of 4.
11481         (write_xf): Add USESELFS.
11482         (write_sheet): 0x200|INDEX.
11483         (write_sheet_bools): remove -1 from sheet->maxy for V8.
11485         * ole.c (do_biff_raw): Remove stream position to help 'diff'.
11487         * ms-obj.c (ms_obj_realize): Turn off auto-sizing of images to
11488         tango with improved sizing capable image components.
11490 1999-09-23  Jody Goldberg <jgoldberg@home.com>
11492         * ole.c (dump_vba) : Remove the escher code.  The new version needs to
11493           much context to be useable at this level.
11494         (enter_dir) : Improve error message, and fix thinko.
11496         * ms-excel-read.c (ms_excel_read_cell) : Fix importing of column
11497           widths.
11499         * ms-obj.c (ms_obj_realize) : Create a visual placeholder for charts.
11500           Check for NULL sheet.
11502         * ms-escher.c : Lots more OPT record types.
11503         (ms_escher_read_ClientData) : Only set the blip type
11504           if we are a picture.
11506 1999-09-21  Michael Meeks  <michael@nuclecu.unam.mx>
11508         * ms-obj.c (ms_parse_object_anchor): remove zoom.
11509         (ms_obj_realize): Add zoom here.
11511         * ms-excel-read.c (ms_excel_read_sheet): queue objects for later.
11512         (ms_excel_read_workbook): Realise sheet objects after read.
11513         (ms_excel_sheet_new): NULL obj queue ptr.
11515         * ms-obj.c: Add lots of missing cross references.
11516         (ms_excel_sheet_realize_objs): Implement.
11518 1999-09-21  Jody Goldberg <jgoldberg@home.com>
11520         * ms-excel-read.c (ms_excel_read_workbook) : Prefer 'workbook' to
11521           'book' so that we use Biff8 for dual stream files.
11523         * ms-obj.c : Add some #ifndef NO_DEBUG_EXCEL
11525 1999-09-20  Michael Meeks  <michael@nuclecu.unam.mx>
11527         * ms-formula-write.c (formula_cache_new_std): Split.
11528         (get_formula_index): cleaned. (write_funcall): Split from
11529         (write_node): in preparation for more lovely complexity.
11530         (formula_cache_new_ename): create. (write_string): constify
11531         (write_node): Improve integer writing efficiency.
11533         * ms-excel-write.c (write_sheet_bools): Added write.
11534         (biff_put_text): constify. (new_sheet): clean debug.
11536         * ms-formula-write.c (ms_formula_build_pre_data, ms_formula_write_pre_data):
11537         stub.
11539         * ms-excel-write.c (write_workbook): Fix _loads_ of leaks.
11540         (free_sheet): create. (pre_pass): pre-pass of the workbook's sheets.
11541         (pre_cell): Scan cells for interesting things.
11543         * excel.h: remove cache stuff.
11545         * ms-formula-write.h: move it here.
11547         * ms-formula-write.c (get_formula_index, cache_init/shutdown): work
11548         on a per sheet basis.
11550         * boot.c (excel_shutdown, excel_init): remove formula cache.
11552         * ms-excel-write.h: Add formula cache.
11554         * ms-escher.c (ms_escher_read_Blip): Add support for image-generic
11555         for jpeg, move DIB to a safe place.
11557 1999-09-20  Michael Meeks  <michael@nuclecu.unam.mx>
11559         * ole.c: massive, huge, big clean to new API; ahh that feels good,
11560         add 'help' command. Break escher debug for now.
11562         * Makefile.am: re-enabled 'ole'
11564         * ms-biff.h: removed all mention of quirks.
11566         * ms-biff.c (ms_biff_query_copy): dangerous: removed, clean quirk stuff.
11568 1999-09-20  Jody Goldberg <jgoldberg@home.com>
11570         * ms-obj.[ch]: Remove a few #if ENABLE_BONOBO checks
11571           and add an include for sheet-object.h. Improve debug
11572           info.
11574 1999-09-20  Jukka-Pekka Iivonen  <iivonen@iki.fi>
11576         * ms-obj.[ch]: Added a few #if ENABLE_BONOBO checks to make it
11577         compile again.
11579 1999-09-20  Jody Goldberg <jgoldberg@home.com>
11581         * ms-escher.c (ms_escher_read_ClientData) : Handle unknown object
11582           types.
11584         * ms-summary.c (set_summary_item) : Made static.
11586         * ms-obj.c (ms_obj_realize) : New function.
11587         (ms_parse_object_anchor) : Ditto.
11589         * ms-excel-read.c (ms_excel_read_workbook) : Use
11590           ms_obj_realize.
11591         (ms_excel_read_sheet) : Ditto.
11592         (ms_excel_read_formula) : Make reading a string more
11593           robust, and support length = 0 as a valid string.
11595 1999-09-19  Michael Meeks  <michael@nuclecu.unam.mx>
11597         * Makefile.am: comment out ole.
11599         * ms-summary.c (sum_name_to_excel): made static.
11601         * ms-excel-write.c (ms_excel_write_workbook): updated.
11603         * ms-excel-read.c (ms_excel_read_workbook): use better API.
11604         (find_workbook): removed.
11606         * ms-biff.c (ms_biff_query_copy): Updated duplicate.
11608         * boot.c (excel_probe, excel_save, excel_load): new ole api.
11610         * ms-excel-write.c (ms_excel_write_workbook): fix leak.
11612 1999-09-18  Morten Welinder  <terra@diku.dk>
11614         * ole.c (cur_dir, delim): static.
11616 1999-09-18  Jody Goldberg <jgoldberg@home.com>
11618         * gnumeric-chart.c (gnumeric_chart_destroy) : implement.
11619         (gnumeric_chart_new) : Create.
11621         * ms-chart.c (ms_excel_chart) : Init the chart.
11622         (BC_R(ifmt), BC_R(ai)) : Handle invalid/missing formats.
11624         * ms-escher.c : More radical changes to support just in time
11625           merging.  This seems to solve the last of the problems of which
11626           records to merge and which not.  Everything seems to add up.
11627         (ms_escher_parse) : Enable by default.
11629         * ms-excel-read.c (ms_excel_workbook_destroy) : Release blips on
11630           exit.
11632 1999-09-17  Jody Goldberg <jgoldberg@home.com>
11634         * ms-excel-read.c (ms_excel_workbook_get_sheet) : Make extern.
11636 1999-09-15  Frank Chiulli  <fchiulli@home.com>
11638         * plugins/excel/boot.c (excel_save): Add a call to ms_summary_write
11639         (ms-summary.c) to write out the SummaryInformation stream.
11641         * plugins/excel/ms-summary.h: Make ms_summary_write public.
11643         * plugins/excel/ms-summary.c (ms_summary_write, sum_name_to_excel,
11644         set_summary_item): New routines to support writing the
11645         SummaryInformation stream.
11647 1999-09-17  Michael Meeks  <michael@nuclecu.unam.mx>
11649         * ole.c (main, do_draw, dump_escher): dump raw data.
11651 1999-09-17  Jody Goldberg <jgoldberg@home.com>
11653         * ms-escher.c : Adjust const.
11654         (ms_escher_read_ClientAnchor) : Yahoo!  figured out object placement !!
11655         (ms_escher_read_OPT) : Some cleanup of the property names.
11657 1999-09-16  Michael Meeks  <michael@nuclecu.unam.mx>
11659         * ms-excel-read.c (ms_excel_read_sheet): add sheet param to _get_drawing
11660         (ms_excel_read_workbook): ditto & init 'eschers' to NULL.
11662         * ms-obj.c (ms_obj_read_text): add sheet param to _get_drawing
11664         * ms-chart.c (BC_W): ditto.
11666         * ms-escher.c (ms_escher_hack_get_drawing): Add Sheet param.
11667         (escher_record_new_blip, escher_record_destroy, ms_escher_read_Blip),
11668         (ms_escher_read_ClientAnchor): Hack up image loading.
11669         include config.h
11671         * ms-excel-read.h (_ExcelWorkbook): Add eschers list.
11673 1999-09-16  Jody Goldberg  <jgoldberg@home.com>
11675         * ms-escher.c (ms_escher_read_CLSID, ms_escher_read_ColorMRU,
11676                 ms_escher_read_SplitMenuColors) : Initial implementation.
11677         (ms_escher_read_Spgr) : Add names of Shapes.
11678         (ms_escher_read_ClientAnchor) : Wild guess at what the format is.
11679         (ms_escher_read_OPT) : Start naming some of the properties.
11680         (ms_escher_read_SpgrContainer) : be very careful.
11682 1999-09-15  Jody Goldberg  <jgoldberg@home.com>
11684         * ms-escher.c : Massive re-org.
11685         * ms-obj.c (ms_obj_read_text_impl) : Export, and improve warning
11686           message for TXO.
11687         (ms_obj_read_text_impl) : The drawing will read the TXO.
11689 1999-09-12  Michael Meeks  <michael@nuclecu.unam.mx>
11691         * ms-excel-write.c (write_sheet_bools): write grid-lines & margins &
11692         scads of other bits.
11694         * ms-excel-read.c (ms_excel_read_sheet): Add preconditions & load
11695         print info for grid-lines, & scads of other stuff. (margin_read): Create.
11697 1999-09-11  Michael Meeks  <michael@nuclecu.unam.mx>
11699         * ms-excel-write.c (write_value): Clean unused 'head'
11700         (write_sheet_tail): Add zoom factor write.
11702         * ms-excel-read.c (ms_excel_read_sheet): Add BIFF_SETUP decode.
11703         Add Zoom factor reading, add lots of printing records & debug dumps.
11705 1999-09-08  Jody Goldberg <jgoldberg@home.com>
11707         * ms-excel-read.c : Add selection.h
11709 1999-09-08  Michael Meeks  <michael@ximian.com>
11711         * README: More random thoughts to pass the time of day.
11713 1999-09-05  Jody Goldberg <jgoldberg@home.com>
11715         * ms-excel-write.c (write_value) : Always use mode 2 for ints.
11716           Add a comment to the write float code suggesting an extension to use
11717           mode 3 for doubles with only 2 digits after the decimal.
11719 1999-08-26  Michael Meeks  <michael@ximian.com>
11721         * ms-escher.c (biff_to_flat_data): Added back the full conditions
11722         on merging drawing groups.
11724         * ole.c (dump_escher): Realised it is a vanillaish container.
11726         * ms-escher.c (BSE_new): Fix silly buglets.
11727         (esh_header_new, esh_header_next): prettyify;
11728         (ms_escher_read): Update length type.
11730 1999-08-25  Michael Meeks  <michael@ximian.com>
11732         * ms-escher.c (esh_header_next): re-order for clarity.
11733         (BSE_new): Fiddling with bits: thanks to Caolan.
11735 1999-08-25  Jukka-Pekka Iivonen  <iivonen@iki.fi>
11737         * ms-formula-read.c (formula_func_data): Fixed the number of
11738         arguments in ISPMT to four.
11740 1999-08-20  Michael Meeks  <michael@ximian.com>
11742         * ms-formula-write.c (get_formula_index): Added a comment about
11743         Excel's add-in formula names.
11745 1999-08-17  Michael Meeks  <michael@ximian.com>
11747         * ms-excel-read.[ch]: Remove sheet blank bit.
11749         * ms-chart.c (BC_R): Remove sheet->blank reference.
11751 1999-08-16  Jody Goldberg <jgoldberg@home.com>
11753         * ms-formula-write.c (write_node) : Add OPER_PERCENT
11754         * ms-formula-read.c (ms_excel_parse_formula) : Ditto.
11756         * ms-obj.c : Make less verbose.
11758         * ms-excel-read.c : Add several new biff-types and do more
11759           checking for 'odd-balls' with most significant byte == 1.
11760           Disable the 'blank sheet' optimization for now to avoid memory
11761           errors when a 'blank' sheet gets put into the externsheet hash.
11763 1999-08-16  Jody Goldberg <jgoldberg@home.com>
11765         * ms-formula-write.c (write_node) : correct typo.
11766           We can now write & read samples/logfuns.xls without
11767           loosing formulas or values.
11769 1999-08-15  Jody Goldberg <jgoldberg@home.com>
11771         * ms-excel-write.c (write_value) : Add support for VALUE_BOOLEAN,
11772           VALUE_ERROR, VALUE_EMPTY.
11773         (write_formula) : Ditto.
11774         * ms-formula-write.c (write_node) : Ditto.
11776 1999-08-15  Morten Welinder  <terra@diku.dk>
11778         * ms-excel-read.c (ms_excel_read_workbook): First use, then
11779         destroy.
11781 1999-08-13  Michael Meeks  <michael@ximian.com>
11783         * ole.c (enter_dir): Major re-work, to use paths.
11785 1999-08-12  Jody Goldberg <jgoldberg@home.com>
11787         * ms-formula-read.c (ms_excel_parse_formula) :
11788         FORMULA_PTG_PERCENT is expr/100 not expr*100.
11789         (excel_builtin_formats) : Correct typo.
11791 1999-08-09  Miguel de Icaza  <miguel@gnu.org>
11793         * boot.c (excel_load): Changed calling conventions.
11795         * ms-excel-read.c (ms_excel_read_workbook): Adjusted to use the
11796         new file-open convention
11798 1999-08-08  Michael Meeks  <michael@ximian.com>
11800         * ole.c (dump_vba_module): Kill leak & fix logic.
11801         (dump_vba): destroy correct directory.
11803 1999-08-06  Michael Meeks  <michael@ximian.com>
11805         * ole.c (list_files): Fix so it shows directories...
11806         (get_file_handle, list_files, really_put, main): Use current_directory.
11807         (enter_dir): Implemented 'cd' command
11808         (do_copyout: Implemented splitting (really_get): from (do_get).
11809         (dump_vba): Started.
11811 1999-08-05  Michael Meeks  <michael@ximian.com>
11813         * ms-summary.c (ms_summary_read): Trivial fix to kill warning.
11815 1999-08-02  Jody Goldberg <jgoldberg@home.com>
11817         * ms-obj.c (ms_obj_read_pre_biff8_obj) : New function to catch
11818           charts.
11819         (ms_obj_read_obj) : Use ms_obj_read_pre_biff8_obj.
11821         * ms-excel-read.c (ms_excel_read_cell) : Catch use of chart
11822           records when we expect a cell.
11823         (ms_excel_read_formula) : Clarify error message.
11824         (biff_name_data_new) : Partial support for local vs global names.
11825         (biff_name_data_get_name) : Reformat to improve readability.
11826         (ms_excel_read_formula) : Ditto.
11828         * ms-chart.c (ms_excel_biff_dimensions) : Don't print unless
11829           we're debugging.
11831         * ms-obj.c (ms_obj_read_biff8_obj) : Don't print checkbox link
11832           unless we're debugging.
11834 1999-07-30  Jody Goldberg  <jgoldberg@home.com>
11836         * ms-excel-read.c (ms_excel_read_error) : Delete
11837           (ms_excel_read_cell) : Use VALUE_ERROR, and VALUE_EMPTY.
11838           (ms_excel_read_selection) : Split out into separate function.
11840         * ms-formula-read.c (ms_excel_parse_formula,
11841           make_function) : VALUE_ERROR.
11843 1999-07-31  Morten Welinder  <terra@diku.dk>
11845         * ms-excel-read.c (ms_excel_read_formula): Kill warning that is no
11846         longer valid.
11847         (ms_excel_read_error): Fix leak that I introduced.
11849 1999-07-31  Michael Meeks  <michael@edenproject.org>
11851         * ms-excel-read.c (biff_get_text): Hacked to deal with continues
11852         nicely.
11853         (ms_excel_read_workbook): Fixed up nasty version stuff.
11854         Commented out ms_bug_padd stuff.
11856         * ms-biff.[ch]: Commented out all padding and quirks stuff.
11858 1999-07-30  Michael Meeks  <michael@edenproject.org>
11860         * ms-excel-read.c (ms_excel_read_formula): quiet wierd
11861         warning... why is this suddenly prevalent.
11863 1999-07-28  Michael Meeks  <michael@edenproject.org>
11865         * ms-excel-write.c (biff_put_text): kill warnings.
11867         * ms-escher.c (read_DgContainer, SpgrContainer_new): ditto.
11869         * ms-biff.c (ms_biff_put_var_next): Remove padding, daft,
11870         (ms_biff_put_set_quirk): ditto.
11871         (ms_biff_query_peek_next): Implemented.
11874 1999-07-28  Michael Meeks  <michael@edenproject.org>
11876         * ms-biff.c (no_quirks, ms_biff_query_new):
11877         New quirk support :-)
11878         (ms_bug_get_padding): Moved into ms-excel-read.c
11879         (ms_biff_put_var_next, ms_biff_merge_continues): Cleaner quirk stuff.
11880         (ms_biff_put_set_quirk): I pray this is never used =)
11881         (ms_biff_put_new, ms_biff_put_var_next): Quirky.
11883 1999-07-28  Jody Goldberg  <jgoldberg@home.com>
11885         * ms-excel-read.c (ms_excel_read_cell) : Correct the error message
11886           for SST overflow.
11888 1999-07-27  Jody Goldberg  <jgoldberg@home.com>
11890         * ms-excel-read.c (ms_excel_read_supporting_wb) : Make this
11891           quieter, and add some comments explaining that we have no idea
11892           what this does or how it works.
11894 1999-07-26  Jody Goldberg  <jgoldberg@home.com>
11896         * ms-chart.c (BC_R(chartline)) : More state checking.
11897           (BC_R(legend)) : Implement.
11898           (BC_R(series)) : Store series in chart objects.
11899           (ms_excel_biff_dimensions) :
11901         * ms-obj.c : Closer ties with ms-escher.c.
11903         * ms-formula-read.c : Changes for VALUE_ERROR. COUNTBLANK
11904           takes 1 argument.
11906 1999-07-26  Michael Meeks  <michael@edenproject.org>
11908         * ms-summary.c (ms_summary_read): Update to ms_ole_summary_close.
11910         * ole.c (do_summary): ditto.
11912         * ms-excel-read.c (ms_excel_read_workbook): Comment out
11913         dependencies freeze/thaw.
11915         * ms-excel-write.c (write_cell): Update to new PP code.
11917         * ms-excel-read.c (find_workbook): Remove ms_ole_directory_new.
11918         (biff_name_data_get_name): Update to new PP code.
11920         * ole.c (get_file_handle, list_files): ditto.
11922 1999-07-25  Michael Meeks  <michael@edenproject.org>
11924         * ms-excel-read.c (ms_excel_read_workbook): Add freeze / thaw
11925         dependencies.
11927 1999-07-22  Michael Meeks  <michael@edenproject.org>
11929         * ole.c: Major summary hack, cleaned old cruft & made beautiful.
11931         * ms-summary.c: Re-write to use new summary stuff in libole2.
11933 1999-07-19  Michael Meeks  <michael@edenproject.org>
11935         * *.[ch]: Big macro prettify. Moved biff type handling macros into
11936         libole2/ms-ole.h, and renamed:
11937                 s/BIFF_GET_GUINT/MS_OLE_GET_GUINT/g
11938                 s/BIFF_SET_GUINT/MS_OLE_SET_GUINT/g
11940 1999-07-14  Michael Meeks  <michael@edenproject.org>
11942         * ms-summary.c: Big clean, quiet and sensible handling of
11943         errors.
11945         * boot.c (excel_load): Put summary call back in.
11946         Add excel_read_debug, dump summary info if > 0
11948 1999-07-13  Michael Meeks  <michael@edenproject.org>
11950         * Makefile.am: Added ms-summary.[ch]
11952         * ms-summary.[ch]: Created.
11954         * boot.c (excel_load): Add summary hook.
11955         Update comments
11957 1999-07-13  Jody Goldberg  <jgoldberg@home.com>
11959         * ms-excel-read.c (ms_excel_read_formula): Improve handling of failure
11960           cases to ensure that we set the values and formats even if formulas
11961           get confused.
11962         (ms_excel_formula_shared): Back out change to set value on error.
11963         (ms_excel_get_xf) : 0 and 15 may be defaults but we now have their
11964           records so no need to treat them specially.  Seems to be no need
11965           to check for StyleXF vs CellXF...
11966         (ms_excel_set_cell_xf) : It may be the default but we have the XF data
11967           for it now so USE IT.
11968         (biff_name_data_new, biff_name_data_destroy) : Const add flag to
11969           log NAME vs EXTERNNAME.
11970         (biff_name_data_get_name) : Remove vile hack for 1 vs 0 based names.
11971         (ms_excel_read_name) : More version madness.
11972         (BIFF_BOF) : More detailed version info.
11974         ms-formula-read.c : ARRRGGGGHHHHH!  both NAME and NAME_X are 1 based.
11975         (PTG_NAME) : Different versions, very different sizes.
11977 1999-07-13  Michael Meeks  <michael@edenproject.org>
11979         * ms-excel-read.c (ms_excel_formula_shared): Fixup previous patch.
11980         (ms_excel_read_formula): Re-arrange logic.
11981         (ms_excel_set_cell_xf): Add check on 'xf' back in ...
11983 1999-07-11  Michael Meeks  <michael@edenproject.org>
11985         * ms-excel-read.c (ms_excel_read_formula): Catch NULL cell->text
11986         (ms_excel_formula_shared): Check on cell... & add position to debug.
11987         (ms_excel_sheet_append_comment): Add paranoid blank text setting.
11989 1999-07-13  Jody Goldberg  <jgoldberg@home.com>
11991         * ms-excel-read.c (ms_excel_read_workbook SST) : Zero sized strings use
11992           3 bytes (length + header) not 2.
11993         (ms_excel_read_cell LABELSST) : Blank strings should have value
11994           wrappers.
11995         (ms_excel_parse_formula) : Support missing trailing args for
11996           builtin functions.
11998         * ms-formula-read.c : Keep stack by prepending and popping, rather
11999           than appending.
12000         (INDEX) : correct missing number of args.
12002 1999-07-12  Jody Goldberg  <jgoldberg@home.com>
12004         * ms-excel-read.[ch] : Remove XF_style_records.  All XF records are
12005           kept in one list.  The fixes the indexing problems we've been
12006           having with XF records. No more XF_MAGIC_OFFSET !!
12007         (biff_name_data_get_name) : Pre-Biff5 seems to use 0 based names, post
12008           seems to be 1 base ??  Check this.
12010         * ms-formula-read.c (excel_formula_build_dummy_handler) : New function.
12011         (make_function) : split out from here and used for external and builtin
12012           functions.
12013         (MATCH) : correct the number of arguments.
12014         (ms_excel_parse_formula) : The size of the array is stored at the end
12015           too.  This fixes formulas with multiple arrays.
12017         * *.[ch] make the data streams const while reading.
12019 1999-07-12  Jody Goldberg  <jgoldberg@home.com>
12021         * ms-excel-read.c (biff_name_data_get_name) : Off by one error in the
12022           range check.  Improve debug notification when something bad happens.
12023         (ms_excel_get_xf) : Improve debug messages to help find the problem
12024           with xf indicies in old files.
12026 1999-07-12  Jody Goldberg  <jgoldberg@home.com>
12028         * ms-chart.c : More record types.
12030         * ms-escher.c : More record types.
12032         * ms-excel-read.c (ms_excel_formula_shared) : For some reason XL
12033           periodicly :
12034             - creates a shared formula
12035             - declares its use in a range
12036             - then doesn't use it in the upper left corner of the range
12037             - and refers to the formula by a different cell in the range ??
12038         (BIFF_PRECISION) : remove dump, and #if 0, for now until gnumeric
12039             supports this.
12041 1999-07-11  Jody Goldberg  <jgoldberg@home.com>
12043         * ms-excel-read.c (biff_font_data_new) : don't delay creation of
12044           style_font.
12045         (ms_excel_get_font) : new function split from.
12046         (ms_excel_set_cell_font) : here.
12047         (ms_excel_get_xf) : new function split from.
12048         (ms_excel_set_cell_xf) : here.
12049         (biff_xf_data_new) : dont delay setting the style_format.
12050         (BIFF_COLINFO) : Attempt to use the XF->font->height as a proxy for
12051           charwidth ??  Anyone have a better idea ?
12053 1999-07-10  Jody Goldberg  <jgoldberg@home.com>
12055         * ms-excel-read.c : BIFF_COLINFO adjust in charwidth magic number to
12056           produce column widths that match my screenshot.
12058         * TODO: updated.
12060 1999-07-10  Michael Meeks  <michael@edenproject.org>
12062         * ms-formula-read.c (formula_func_data): Fix REPT = 2 args,
12063         add VDB = var arg.
12065         * ms-excel-read.c (biff_get_externsheet_name): Silly but fatal bug
12066         a child could spot: written by yours truly :-)
12068 1999-07-09  Jody Goldberg  <jgoldberg@home.com>
12070         * ms-obj.c : Conditionalize the debug info for text objects.
12072 1999-07-09  Miguel de Icaza  <miguel@gnu.org>
12074         * ms-excel-write.c (biff_put_text): Intiialize variable.
12076 1999-07-09  Jody Goldberg  <jgoldberg@home.com>
12078         * ms-chart.c (BC_R(chart)) : Correctly handle the fixed point
12079           sizes.
12080         (BC_R(ai)) : Figure the missing link association is bubbles.
12082 1999-07-09  Jody Goldberg  <jgoldberg@home.com>
12084         * ms-chart.c : Actually make a series object !  After finding another
12085           Excel documentation error.
12087         * ms-obj.c : Conditionalize a debug printout.
12089         * ms-excel-read.c (biff_name_data_get_name) : Indicies are ONE based.
12091 1999-07-09  Michael Meeks  <michael@edenproject.org>
12093         * ms-excel-read.c (ms_excel_read_workbook): Update this with
12094         Jody's changes, hope I didn't loose anything.
12096         * ms-biff.c (ms_biff_query_next_merge): Add test for valid
12097         length before reading.
12099 1999-07-08  Jody Goldberg  <jgoldberg@home.com>
12101         * libole2/ms-ole.[ch] (dump) : constify.
12103         * ms-chart.[ch] : Prepare to handle Charts not associated with a sheet.
12104         Add more record types, improve debug messages.  Begin connection
12105         to 'escher' stuff for gelframes.  Stubs for real chart SERIES objects.
12106         Support for Text Objects.
12108         * ms-excel-read.c : Ditto.  Include cleanups.
12109         Some debug level rationalization.
12110         (ms_excel_externname) : Combine Biff7&8 use biff_get_text.
12112         * ms-escher.[ch] : Start looking at this to parse the CHART_GELFRAME
12113           record.  Clear out the massive accumulation of includes.
12115         * ms-excel-biff.h : Include cleanups.
12117         * ms-obj.[ch] : Include cleanups.
12118             Versioned the object record parsing (Currently only Biff8).
12119             (ms_obj_read_biff8_obj) : New function with more error checking.
12120             (ms_obj_read_text_object) : New function to read text objects.
12122         * ole.c : Print biff types in hex to match documentation.
12124 1999-07-09  Michael Meeks  <michael@edenproject.org>
12126         * ms-excel-read.c: Major warning cleaning offensive.
12127         (ms_excel_read_workbook): Hush CodePage, DSF, EOF & clean style.
12128         (ms_excel_read_sheet): Hush WINDOW2
12129         (ms_excel_read_name): Hush spurious newlines.
12130         (ms_excel_read_supporting_wb): Hush now, be a good little function.
12132         * boot.c (excel_load): ditto.
12134         * TODO: updated.
12136         * ms-formula-read.c: s/PARSE_LIST/ParseList/
12137         Update a few stylistic bits...
12139 1999-07-08  Michael Meeks  <michael@edenproject.org>
12141         * ms-excel-read.c (ms_excel_read_formula): Turn error into
12142         warning.
12144         * ms-excel-write.c (biff_put_text): Fiddled, this needs serious
12145         fixing ...
12147         * ms-excel-read.c (biff_name_data_get_name): Removed daft
12148         debug churning out.
12150 1999-07-08  Michael Meeks  <michael@edenproject.org>
12152         * ms-excel-read.h (_ExcelWorkbook): Removed internal_names and
12153         comments.
12155         * ms-excel-write.c (write_bits): Merged write_constants
12156         into this + add 'wb' parameter.
12157         (write_bits): Add TABID, DSF records.
12158         Add PROT4REV, PROT4REVPASS.
12159         (write_fonts): Changed put_text from eBiffV7, AS_PER_VER.
12161         * ms-excel-read.c (ms_excel_read_workbook): Update DFS -> DSF
12163         * biff-types.h (BIFF_DSF): Mod. from DFS.
12165 1999-07-08  Michael Meeks  <michael@edenproject.org>
12167         * ms-formula-read.c (ms_excel_parse_formula): Add magic 0x17
12168         for special undocumented 'Addin Name' support.
12170 1999-07-07  Michael Meeks  <michael@edenproject.org>
12172         * ms-excel-read.c (ms_excel_read_name): Fix crucial bug
12173         in name_def_data calc.
12174         (ms_excel_read_name): Removed all 'internal_names' stuff.
12176 1999-07-06  Michael Meeks  <michael@edenproject.org>
12178         * ms-formula-read.c (ms_excel_parse_formula): PTG_NAME:
12179         use biff_name_data_get_name; fixups: Jody don't do this, this
12180         was all on the Names branch !
12182         * ms-excel-read.c (biff_name_data_new): Changed to take Workbook
12183         not sheet, updated to use GPtrArray.
12184         (biff_name_data_get_name): Changed to return ExprTree.
12185         (biff_name_data_destroy): Updated.
12186         (ms_excel_workbook_destroy): Remove old name hash table stuff.
12187         (ms_excel_read_name): Fix memory leak before Morten gets there :)
12188         use biff_name_data_new.
12189         (ms_excel_read_name): Allocate name.
12190         (ms_excel_get_name): Culled.
12192         * ms-excel-read.h (_ExcelWorkbook): Changed name_data to GPtrArray
12193         Changed _name_get_data to return ExprTree.
12195         * ms-formula-read.c (getRefV7): Removed ExcelSheet * parameter.
12196         cleaned function indenting.
12197         (getRefV8): Ditto. + update all references.
12198         s/cell_name(/cell_name (
12199         s/sheet->wb/wb/
12201         * ms-chart.c (BC_R): Updated parse_formula.
12203         * ms-formula-read.c (ms_excel_parse_formula): s/sheet->ver/wb->ver/
12204         updated all calls to itself to add 'wb'.
12206         * ms-excel-read.c (ms_excel_workbook_new): Setup 'ver'
12207         (ms_excel_read_workbook): Update call.
12209         * ms-excel-read.h (_ExcelWorkbook): Add 'ver' field.
12211         * ms-excel-read.c: Updated all ms_excel_parse_formulae: this
12212         isn't as balmy as it seems... we should only be using the sheet
12213         data where we need to as Names have no associated sheet.
12215         * ms-formula-read.c (ms_excel_parse_formula): Add workbook.
12217         * ms-formula-read.h (ms_excel_parse_formula): ditto.
12219 1999-07-06  Jody Goldberg  <jgoldberg@home.com>
12221         * ms-excel-biff.h : remove _eBiff_wrap.
12223         * ms-excel-read.c : replace _eBiff_wrap with a boolean.
12224         (ms_excel_set_cell_xf) : Send xf->wrap.
12225         (excel_map_pattern_index_from_excel) : New function.
12226         (biff_xf_data_new) : Used here.
12228 1999-07-06  Michael Meeks  <michael@edenproject.org>
12230         * ms-excel-read.c (ms_excel_read_name): Fix up Names definition
12231         offset, start to manualy merge name stuff.
12233         * ole.c: Fix summary reading code: works now, try it on a
12234         SummaryInformation stream.
12236 1999-07-05  Jody Goldberg  <jgoldberg@home.com>
12238         * ms-formula-read.c : Improve debug messages a bit.
12239         (FORMULA_PTG_NAME) : initial stub implemetation.
12240         (make_function) : The dodgy special case seems to apply to functions
12241           with no arguments too.
12243         * ms-excel-read.c : Rework handling of Shared/Array formulas.
12244           They must follow a FORMULA record and come before a STRING
12245           record if the cell contains a string.  The upper left corner
12246           of shared formulas, and all of arrays now format correctly.
12247           (EXTERNNAME) : Rework the handling to apply to biff7 and biff8.
12248           Still only reading the names, not conecting them for real.
12250 1999-07-05  Morten Welinder  <terra@diku.dk>
12252         * ms-excel-read.c (biff_shared_formula_new): Constify.  Copy data
12253         because it seems it can be freed underneath us.
12254         (biff_shared_formula_destroy): Consequently free data.
12255         (ms_excel_workbook_destroy): Free global strings.
12256         (ms_excel_palette_destroy): Fix leak.
12258         * ms-excel-read.c (ms_excel_read_supporting_wb): Warning killer.
12259         (ms_excel_read_workbook): Ditto.  Fill in some code page info.
12260         (ms_excel_read_cell): Ditto.
12262         * ms-biff.c (biff_getdouble): Re-instate the "BYTE" in
12263         G_BYTE_ORDER...
12264         (biff_getdouble): Constify.
12266 1999-07-04  Michael Meeks  <michael@edenproject.org>
12268         * ms-formula-read.c (formula_func_data): Fixed ISREF, ISPMT.
12270         * ms-excel-write.c (write_mulblank): Add 0x200 to BLANK
12272         * biff-types.h (BIFF_PASSWORD): convert back from
12273         PASSguint16 :-)
12275         * ms-formula-write.c (write_arrays): Fix memory leak.
12277         * ms-excel-read.c (ms_excel_read_formula): Add S59DE9 reference.
12279         * ms-excel-write.c (write_cell): Updated constant so formulae get
12280         evaluated correctly.
12281         (write_formula): Split out complexity, Added STRING result storage.
12283         * ms-formula-write.c (write_string): Un-dofus the string writing
12284         fix Excel crash on any formula string.
12286         * ms-excel-write.c (write_cell): Fixup always calc. & on load,
12287         don't seem to be needed.
12288         Implement class specifiers throughout where needed.
12290         * ms-formula-write.c (OP_*): Helper macros for getting the class
12291         right on each PTG.
12293         * formula-types.h: Added class defines.
12295         * ms-excel-write.c (write_sheet_bools): Removed magic 0x44 from
12296         last byte of BIFF_COLINFO. Commented out GCW: unnecessary and
12297         wrong.
12298         (write_window1): Fiddled with the magic numbers.
12299         (write_sheet_bools): Add 0x200 to DEFAULTROWHEIGHT.
12300         (write_sheet): ditto to INDEX.
12302 1999-07-03  Michael Meeks  <michael@edenproject.org>
12304         * ms-formula-write.c (ms_excel_write_formula): Added critical
12305         magic 3 padding bytes s Array's are saved properly.
12307         * ms-excel-write.c (write_sheet): Size optimisation for blank
12308         rows.
12310 1999-07-02  Michael Meeks  <michael@edenproject.org>
12312         * ole.c (syntax_error): Update help.
12313         (read_records, dump_summary, do_summary): Start of summary info
12314         reading.
12315         (do_biff_raw): Cleaned unused var.
12316         (esh_header_contained): commented out.
12318 1999-07-02  Michael Meeks  <michael@edenproject.org>
12320         * ms-formula-read.c: more stylistic fiddling on great
12321         new debug stuff from Jody...
12323         * *.[ch]:
12324         s/MsOle_SEEK_SET/MsOleSeekSet/g
12325         s/MsOle_SEEK_CUR/MsOleSeekCur/g
12326         s/ms_ole_seek_t/MsOleSeek/g
12327         s/MsOle_PPS_STORAGE/MsOlePPSStorage/g
12328         s/MsOle_PPS_STREAM/MsOlePPSStream/g
12329         s/MsOle_PPS_ROOT/MsOlePPSRoot/g
12330         s/PPS_TYPE/PPSType/g
12331         s/ms_ole_pos_t/MsOlePos/g
12333 1999-07-02  Jody Goldberg  <jgoldberg@home.com>
12335         * ms-chart.c : Stylistic consistancy.
12336         s/BIFF_CHART_WRITER/ExcelChartWriter/g
12337         s/BIFF_CHART_READER/ExcelChartReader/g
12338         s/BIFF_CHART_HANDLER/ExcelChartHandler/g
12339         s/GUPPI_CHART_STATE/GuppiChartState/g
12340         s/BIFF_CHART_STATE/ExcelChartState/g
12341         s:\([^/]\)\* :\1*:g
12343 1999-07-02  Michael Meeks  <michael@edenproject.org>
12345         * *.[ch]: Much stylistic fiddling:
12346         s/MS_EXCEL_SHEET/ExcelSheet/g
12347         s/MS_EXCEL_WORKBOOK/ExcelWorkbook/g
12348         s/BIFF_BOUNDSHEET_DATA/BiffBoundsheetData/g
12349         s/BIFF_SHARED_FORMULA_KEY/BiffSharedFormulaKey/g
12350         s/BIFF_SHARED_FORMULA/BiffSharedFormula/g
12351         s/MS_EXCEL_PALETTE/ExcelPalette/g
12352         s/BIFF_FONT_DATA/BiffFontData/g
12353         s/BIFF_EXTERNSHEET_DATA/BiffExternSheetData/g
12354         s/BIFF_FORMAT_DATA/BiffFormatData/g
12355         s/BIFF_QUERY/BiffQuery/g
12356         s/BIFF_PUT/BiffPut/g
12357         s/GETBYTE/GET_GUINT8/g
12358         s/GETWORD/GET_GUINT16/g
12359         s/GETDLONG/GET_GUINT64/g
12360         s/GETLONG/GET_GUINT32/g
12361         s/BYTE/guint8/g
12362         s/WORD/guint16/g
12363         s/LONG/guint32/g
12364         s/MS_OLE_STREAM/MsOleStream/g
12365         s/MS_OLE_DIRECTORY/MsOleDirectory/g
12366         s/MS_OLE/MsOle/g
12368         * ms-excel-read.c: Large bout of indenting / formatting
12369         updates, sorry if you have patches ...
12371 1999-07-02  Michael Meeks  <michael@edenproject.org>
12373         * boot.c: Added 'main.h' to include debug symbol.
12375 1999-07-02  Michael Meeks  <michael@edenproject.org>
12377         * ms-excel-read.c (ms_excel_read_workbook): Actually
12378         insert the workbook_destroy at the end ( Huge leak ).
12380 1999-07-01  Michael Meeks  <michael@edenproject.org>
12382         * ms-excel-write.c (ms_excel_write_get_externsheet_idx):
12383         Stubbed.
12384         (write_cell): More, verbose debug.
12385         (write_index): shut it up.
12386         (write_sheet): Fix a rather serious logic error that was
12387         loosing us cells.
12388         (write_sheet): Added error message for huge sheets... needs
12389         more cunning indexing code.
12391         * ms-formula-write.c (write_cellref_v[78]): Fixed
12392         order of relative col/row bits. Implemented latter.
12393         (write_ref): Implemented BiffV8 support.
12394         (write_string): Added MISSARG support.
12395         (write_area): Implemented BiffV8 support, and
12396         3D area support.
12398         * ms-formula-write.c (write_node): Split out
12399         (write_ref): attempted to implement inter-sheet
12400         references.
12402         * ms-excel-write.c (ms_excel_write_get_sheet_idx):
12403         Created.
12405 1999-07-01  Morten Welinder  <terra@diku.dk>
12407         * boot.c: Clean out an incredible accumulation of #includes.
12409 1999-07-01  Jody Goldberg  <jgoldberg@home.com>
12411         * formula-types.h : Add some missing ptg types.
12413         * ms-excel-read.c : ms_excel_read_debug, ms_excel_formula_debug,
12414             ms_excel_color_debug, ms_excel_chart_debug.  Declare and use these
12415             to allow command line control so that we can ask remote users for
12416             debug info.
12417           (excel_builtin_formats) : Correct some typos.
12418           (ms_excel_read_formula) : Document errors in Excel SDK.
12419           (ms_excel_get_name) : Handle workbook local names. (stub)
12420           (ms_excel_read_name) : re-enable with name lookup. not connected yet.
12422         * ms-excel-read.h : Add internal_names to workbook.
12423         (ms_excel_get_name) : declare.
12425         * ms-formula-read.c : switch to new debug scheme.
12426           More verbose warnings for errors so we dont ignore them.
12427           (FORMULA_PTG_NAME) : Partial implementation until I have time to look
12428           at the branch.
12429           (FORMULA_PTG_PERCENT) : Guess at this one.
12430           Begin to handle 'extended' ptgs.  Very minimal docs.
12432 1999-07-01  Michael Meeks  <michael@edenproject.org>
12434         * ms-formula-write.c (ms_formula_cache_init),
12435         (ms_formula_cache_shutdown, cache_remove):
12436         Implemented.
12438         * excel.h: Added formula_cache functions.
12440         * boot.h (excel_init): Added excel_shutdown
12442         * boot.c (excel_shutdown): Created.
12444 1999-07-01  Michael Meeks  <michael@edenproject.org>
12446         * ms-formula-write.c (write_string): Created
12447         Implemented throughout for simplicity.
12449         * ms-excel-write.c (biff_put_text): Expanded to allow
12450         more flexible string writing.
12452         * ms-excel-write.h: Added type to specify string write.
12454         * ms-formula-write.c: All biff_put_text's write length
12455         correctly.
12456         Implemented Area PTGs
12458         * ms-excel-read.c (ms_excel_read_formula): Fix silly
12459         bug with broken formuale.
12461         * ms-biff.c (ms_biff_put_var_seekto): Added seekto
12462         API for fiddly biff types.
12464         * ms-excel-write.c (biff_put_text): Made external
12466         * ms-formeula-write.c: Created.
12468 1999-06-30  Michael Meeks  <michael@edenproject.org>
12470         * ms-formula-read.c (ms_excel_parse_formula): Updated
12471         Operation handling for new structure ( array ).
12473         * ms-excel-read.c (biff_get_global_string): Removed.
12475         * ms-formula-read.c: Updated func_data, and
12476         formula_op_data for Miguel and correctness.
12477         Cleaned FORMULA_NO_PRECEDENCE.
12479         * excel.h: Move and rename FormulaFuncData.
12481         * ms-excel-write.c: Moved structures to header.
12482         Renamed all structures to make Miguel happy.
12484         * Makefile.am: Added ms-formula-write.[ch]
12486 1999-06-30  Michael Meeks  <michael@edenproject.org>
12488         * ms-formula-read.h: Split out types.
12490         * formula-types.h: Imported from above.
12492         * ms-excel-write.c (write_value): Fix LABEL versioning.
12494 1999-06-30  Michael Meeks  <michael@edenproject.org>
12496         * ms-excel-write.c:(write_value): Hard-coded
12497         version stuff onto NUMBER & RK.
12498         (write_xf_record): Added hack to produce
12499         identical XF table to test case.
12500         (write_rowinfo): Added 0x200
12501         (write_sheet_bools): ditto to DIMENSIONS.
12503 1999-06-30  Jody Goldberg  <jgoldberg@home.com>
12505         * biff-types.h : Add some undocumented BIFF types, move INDEX,
12506           DEFAULTROWHEIGHT into lsb territory.
12508         * ms-excel-read.c (ms_excel_palette_new) : Correct debug messages.
12509         (ms_excel_palette_get) : Improve debug messages, and assume that
12510           0, 64, 127 are all contrast states.
12511         (ms_excel_set_cell_colors) : Tail merge with ms_excel_set_cell_xf,
12512           handle special case of fill-pattern=0.  Now all the color sheets
12513           look OK !! Next step, patterns.
12514         (ms_excel_read_formula, ms_excel_read_boolerr) : Read current values so
12515           we can set styles.  Empty strings are undocumented :-(
12516         (ms_excel_read_cell) : Handle array formulas.
12517         (ms_excel_read_sheet, ms_excel_read_workbook) : Add some unhandled
12518           record types so that we can start to enable state checking.
12519         (ms_excel_unexpected_biff) : New function for warning about state.
12520         (biff_xf_data_new) : Don't map pattern types as if they were borders.
12522         * ms-formula-read.c (make_function) : Generate a dummy handler for
12523           unknown functions.
12524           (unknownFunctionHandler) : A dummy handler returning NAME for unknown
12525           functions.
12527         * ms-chart.c : Use ms_excel_unexpected_biff, handle some
12528           undocumented codes, and fill in more record types.
12530 1999-06-30  Michael Meeks  <michael@edenproject.org>
12532         * ms-excel-write.c (write_sheet_bools): Updated
12533         BIFF_COLINFO.
12534         (write_value): Fixed up write_value to handle
12535         numbers more correctly.
12536         (write_window1): fixed WINDOW1 magic numbers.
12537         (write_formats): Updated format's upper bits.
12538         (write_sheet_tail): Mended broken selection.
12540 1999-06-29  Michael Meeks  <michael@edenproject.org>
12542         * ms-excel-write.c (write_sheet_tail): Updated
12543         magic selection. Added magic GCW.
12544         (write_constants): Update to help debugging; I'm
12545         not really an egotist.
12546         (write_formats): Added constants from air.
12547         (write_index): Correct to absolute index.
12548         Fix all mis-alignments of streamPos read ( lots ).
12549         (biff_bof_write): Return streamPos to help with
12550         realignment.
12552         * ole.c (do_biff_raw): Added position readout.
12554 1999-06-29  Michael Meeks  <michael@edenproject.org>
12556         * ms-excel-write.c (biff_boundsheet_write_last): Use
12557         correct type.
12558         Added streamPos to Workbook for INDEX calcs.
12559         (write_index): Implemented.
12560         (write_sheet): Added write_index, and necessary bits.
12562         * ms-excel-read.c (biff_nasty_font_check_function):
12563         removed, wonderful !
12564         (biff_font_data_get_style_font): Updated & cleaned.
12566 1999-06-28  Michael Meeks  <michael@edenproject.org>
12568         * ms-excel-write.c (write_formats): Write some magic
12569         standard number formats.
12571 1999-06-27  Michael Meeks  <michael@edenproject.org>
12573         * ms-excel-read.c: excel_builtin_formats: Populated with
12574         NULL's in sensible places to clean maintainability.
12576         * ms-formula-read.c (ms_excel_parse_formula): Add fix for
12577         broken array formulae causing infinite loop.
12579         * ms-excel-read.c (ms_excel_read_cell): Fix Morten's fatal
12580         cock-up in value_new_string (NULL).
12582         * ms-excel-write.c (write_mulblank): Implemented.
12583         (write_sheet): Started to get DBCELL / Index type code in
12584         place.
12585         Cleaned nasty cell hash iterator, and closure. We now rely
12586         on the optimal handling of max_col/row_used in the sheet.
12588         * ms-excel-read.c (ms_excel_read_cell): Insert blank into
12589         the correct column, not just the same one all the time.
12591         * ms-excel-write.c (write_palette): Write default palette.
12593         * ms-excel-read.c: Externalised default palette, and format
12594         data.
12596         * excel.h: ditto.
12598 1999-06-25  Michael Meeks  <michael@edenproject.org>
12600         * ms-excel-read.c: Minor fiddles setting blank flag in some new
12601         places, and types changed to gboolean.
12603         * ms-excel-read.h (_MS_EXCEL_SHEET): changed 'blank' to gboolean.
12605 1999-06-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12607         * ms-excel-read.c (biff_font_data_get_style_font): Use
12608         style_font_ref here instead of creating a new font.
12610 1999-06-22  Morten Welinder  <terra@diku.dk>
12612         * ms-excel-read.c (biff_get_rk): Handle negative ints and ints/100
12613         right.  Thanks to Jody for finding this.
12615 1999-06-21  Morten Welinder  <terra@diku.dk>
12617         * ms-formula-read.c (make_function): Handle constant symbols.
12619         * ms-excel-read.c (ms_excel_read_cell): Insert bools as values,
12620         not constant expresssions.
12621         (biff_get_text): Make a little more quiet.
12622         (ms_excel_read_cell): Insert strings as values, not via text.
12624         * ms-excel-read.c (ms_excel_read_cell): Handle errors and boolean
12625         constants without going through text.  (In particular, this gets
12626         errors right and prepares for a proper bool type.)
12628         * ms-formula-read.c (ms_excel_parse_formula): Fix error constants.
12630 1999-06-21  Michael Meeks  <michael@edenproject.org>
12632         * ms-excel-read.c (ms_excel_read_cell): Remove Jody's
12633         check against NULL pointers, insert_form handles them.
12635         * ms-chart.c (BC_R): make call to dump_tree conditional
12637         * ms-excel-write.c (write_sheet_bools): Various fixes.
12638         (write_value): Change RSTRING -> LABEL
12640         * README (TODO): Updated.
12642         * ms-excel-write.c (write_externsheets): Fix for single sheet
12643         workbooks.
12644         (write_formats): Write the format index code!
12645         (write_sheet_bools): Divide default col width by 16
12647         * ms-excel-write.h (ms_excel_write_workbook): Cleaned and fixed
12648         header.
12650 1999-06-21  Jody Goldberg  <jgoldberg@home.com>
12652         * biff-types.h : Move NAME from 218 -> 18, rename Chart biff types to
12653         lower case to facilitate decls.
12654         * ms-biff.[ch] (dump_biff) : export.
12655         * ms-excel-read.[ch] : (ms_biff_bof_data_new, ms_biff_bof_data_destroy)
12656         export.
12657         * ms-formula-read.c : Improve handling of array formulas.
12658         * ms-obj.c : Adjust signatures, and split chart handling into its own
12659         file.
12660         * ole.c : Count BACKWARDS to allow BIFF types with high bytes to
12661         override those with only low bytes specified.
12662         * Makefile.am : Add ms-chart.
12663         * ms-chart.[ch] : New files.  No real functionality.  60% complete.
12665 1999-06-17  Michael Meeks  <michael@edenproject.org>
12667         * ms-formula-read.c (formula_func_data): Fixed up, should work
12668         again.
12670 1999-06-17  Morten Welinder  <terra@diku.dk>
12672         * ms-formula-read.c (make_function): Yet another leak fix.
12674         * ms-formula-read.c (expr_tree_unary): Obsolete.  Use
12675         expr_tree_new_unary instead.
12676         (expr_tree_cellref): Obsolete.  Use expr_tree_new_var instead.
12677         (expr_tree_value): Obsolete.  Use expr_tree_new_constant instead.
12678         (expr_tree_string): Simplify.
12679         (ms_excel_parse_formula): Use expr_tree_string.  Use
12680         expr_tree_new_binary.
12681         (make_function): Use expr_tree_new_funcall.  Fix leak.
12683         * ms-excel-read.c (ms_excel_read_name): Don't print null pointers.
12684         (ms_excel_read_workbook): Ditto.
12686 1999-06-17  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12688         * ms-formula-read.c (formula_func_data): LOG, ROMAN, TRUNC, and
12689         BETADIST made var args.
12691 1999-06-17  Michael Meeks  <michael@edenproject.org>
12693         * ms-formula-read.c (make_function): Added debug.
12694         (formula_func_data): Expand comments.
12696 1999-06-17  Jody Goldberg  <jgoldberg@home.com>
12698         * ms-formula-read.c (formula_func_data): Fixed some
12699         minor errors.
12701 1999-06-16  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12703         * ms-formula-read.c (formula_func_data): SUMIF made var args.
12705 1999-06-15  Morten Welinder  <terra@diku.dk>
12707         * ms-formula-read.c (ms_excel_parse_formula): Handle bools.  Plug
12708         leak.
12709         (make_function): Plug leak.
12711         * ms-excel-read.c (biff_font_data_get_style_font): Supply correct
12712         size when initialising.
12713         (biff_nasty_font_check_function): Revert last change.  Extra
12714         parameter ptsize.
12716 1999-06-15  Jody Goldberg  <jgoldberg@home.com>
12718         * ms-formula-read.c (formula_func_data): Repopulate using xlcall.h and
12719         reading the docs for each function to deduce the number of args.
12721 1999-06-14  Morten Welinder  <terra@diku.dk>
12723         * ms-excel-read.c (biff_nasty_font_check_function): Load fontset,
12724         not font.
12725         (biff_font_data_get_style_font): Make sure size constraints don't
12726         conflict.
12728 1999-06-15  Michael Meeks  <michael@edenproject.org>
12730         * ms-excel-read.c (biff_font_data_get_style_font): Add check
12731         for NULL font name; return default font.
12733 1999-06-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12735         * ms-formula-read.c (formula_func_data): LOG, ROMAN, and TRUNC
12736         made var args.
12738 1999-06-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12740         * ms-formula-read.c (formula_func_data): PRODUCT, ROUNDDOWN,
12741         ROUNDUP, SUBTOTAL, SUMSQ, and SUMIF fixed.  SUMX2MY2 and SUMX2PY2
12742         added but they don't work (I don't know why?).
12744 1999-06-13  Michael Meeks  <michael@edenproject.org>
12746         * ms-excel-read.c (ms_excel_set_cell_colors): Remove identical color
12747         warning. This is a useful bug at the moment.
12749 1999-06-13  Jody Goldberg  <jgoldberg@home.com>
12750         * ms-excel-read.c (biff_get_error_text) : Use new global error strings.
12751         (ms_excel_default_palette) : New function.
12752         (ms_excel_palette_new) : Colors are stored
12753                     <DontCare><Blue><Green><Red>
12754             rather than
12755                     <DontCare><Red><Green><Blue>
12756         (ms_excel_palette_get) : Clone bytes to scale colors, begin to
12757         handle more of the 'special' color indices and guess that indices
12758         are offset by 8.
12759         (ms_excel_palette_destroy) : Don't delete the default palette.
12760         (ms_excel_set_cell_colors) : Don't filter too many bits, support
12761         initial contrast methods.
12762         (ms_excel_set_cell_font) : Ditto.
12763         (ms_excel_set_cell_xf) : Ditto.
12764         (biff_xf_data_new) : Default palette to internal palette.
12766 1999-06-12  Michael Meeks  <michael@edenproject.org>
12768         * ms-excel-read.c (ms_excel_read_supporting_wb):
12769         Renamed from _WB.
12770         (ms_excel_read_name): Remove buggy names assert.
12772 1999-06-11  Jody Goldberg  <jgoldberg@home.com>
12774         * biff-types.h: Add some missing types as defined in
12775         the Excel 97 Developers kit.  Begin coverage of Chart specific records.
12776         Improve documentation of 'odd-ball' entries and collsions in the low
12777         order numbering scheme.
12779         * ms-obj.c (ms_obj_read_obj) : Remove unused sheet param
12780         to facilitate support for Workbook level objects.  Extend known object
12781         types.
12782         * ms-obj.h (ms_obj_read_obj) : Ditto.
12784         * ms-obj.c (ms_chart_biff_read) : Initial experimental
12785         harness for excel charts.
12786         * ms-obj.h (ms_chart_biff_read) : Ditto.
12788         * ms-excel-read.c (biff_name_data_new) : Take Workbook instead of sheet.
12789             (ms_biff_unknown_code) : New function split out from.
12790             (ms_excel_read_workbook) : Here.
12791             (ms_excel_read_name) : New function split out from.
12792             (ms_excel_read_cell) : Here.
12793             (ms_excel_externname): New function split out from
12794             (ms_excel_read_cell) : Here.
12795             (ms_excel_read_supporting_WB) : New function.  Will probably
12796             split up in the future when the filename encoding is clarified.
12797             (ms_excel_read_workbook) : Precheck for odd-balls and chart types.
12798             Add hooks for other fields.
12800 1999-06-09  Michael Meeks  <michael@edenproject.org>
12802         * ms-excel-read.c (ms_excel_read_workbook): Added version
12803         printout.
12804         (ms_excel_set_cell_colors): More debug.
12805         (biff_font_data_new): Added strange truncation of font
12806         color_idx.
12807         (ms_excel_palette_get): >= 0.
12809 1999-06-08  Michael Meeks  <michael@edenproject.org>
12811         * ms-formula-read.c (formula_func_data): correct DAYS360,
12812         add TIMEVALUE.
12814 1999-06-07  Michael Meeks  <michael@edenproject.org>
12816         * ms-formula-read.c (formula_func_data): Fix ATAN2 -> PI
12818 1999-06-02  Michael Meeks  <michael@edenproject.org>
12820         * ms-formula-read.c (ms_excel_parse_formula): Elucidate
12821         error messages.
12822         (ms_excel_parse_formula): clean debug.
12823         (formula_func_data): Fix COUNT and BETADIST.
12825 1999-06-01  Michael Meeks  <michael@edenproject.org>
12827         * ms-excel-write.c (write_sheet_bools): Added yet more
12828         magic numbers.
12829         (write_sheet_tail): Implemented WINDOW2, SELECTION as
12830         magic.
12831         (ms_excel_write_workbook): Fix silly big dimension block.
12833         * boot.c (excel_init): Put Excel 95 on by default.
12835         * ms-excel-write.c (write_bits): Added WINDOW1 bit.
12836         (write_fonts): Add slight difference in duplicate fonts.
12837         (write_xf_record): Added more fields.
12839 1999-05-31  Michael Meeks  <michael@edenproject.org>
12841         * ms-excel-write.c (biff_bof_write): Fixed _major_
12842         bug in BOF writing.
12843         (write_xf_record): Version fix.
12844         (write_bits): Lots of silly little records.
12845         (write_workbook): Write bits.
12846         (write_sheet_bools): Added lots of flags.
12847         (write_sheet): Added sheet_bools.
12849         * boot.c (excel_init): Changed 98->97 in text.
12851         * ms-excel-write.c (write_workbook): Fix serious list
12852         bug freeing list then using it !
12854 1999-05-30  Michael Meeks  <michael@edenproject.org>
12856         * ms-excel-write.c: Changed to biff_put_commit
12857         throught.
12858         (write_fonts): Added more magic numbers.
12860         * ms-biff.c (ms_biff_put_commit): Added, and made
12861         other commits static.
12863         * ms-excel-write.c: Indenting fixes.
12864         (write_constants): CODEPAGE support.
12865         (write_workbook): Added missing write_xf call.
12867 1999-05-30  Nick Lamb <njl98r@ecs.soton.ac.uk>
12869         * ms-formula-read.c (getRefV8, getRefV7): Fix shared
12870         formulae absolute references.
12872 1999-05-28  Michael Meeks  <michael@ximian.com>
12874         * ms-excel-write.c: Minimal Pallete / XF writing.
12875         Basic font writing.
12876         (biff_put_text): Horrendous bug fixed.
12877         (write_magic_interface): Magic...
12879 1999-05-26  Michael Meeks  <michael@ximian.com>
12881         * biff-types.h: Fleshed out defines, now the 'compatible'
12882         staroffice file is dumped nicely.
12884         * ole.c (read_types): Added fudge in case files are nearby.
12886         * ms-excel-write.c (ms_excel_write_workbook): Force Big
12887         Block file.
12888         (write_value): Set vesion on biff_put_text for RSTRING to V7.
12890 1999-05-24  Michael Meeks  <michael@ximian.com>
12892         * ole.c (main): Added 'debug' option to dump allocation.
12894 1999-05-21  Nick Lamb <njl98r@ecs.soton.ac.uk>
12896         * ms-formula-read.c: Lots of new formulae translations.
12898 1999-05-20  Michael Meeks  <michael@ximian.com>
12900         * ole.c (main): Change ole_new to ole_open.
12901         (list_files): Added assertion.
12903         * boot.c (excel_load): Same.
12905 1999-05-19  Michael Meeks  <michael@ximian.com>
12907         * ole.c (main): Add New OLE file creation support.
12909         * ms-excel-read.c (ms_excel_set_cell_xf): Cleaned silly
12910         debug.
12912 1999-05-19  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12914         * ms-formula-read.c (formula_func_data): LOGNORMDIST and NORMSDIST
12915         fixed.
12917 1999-05-17  Michael Meeks  <michael@ximian.com>
12919         * ms-formula-read.c (formula_func_data): Function data from
12920         Luke Plant.
12922         * ms-biff.h: Add biff_setdouble prototype.
12924         * ms-excel-read.c: Updated commenting.
12926         * ms-biff.c (ms_bug_get_padding): Quietened.
12927         Implemented 'tell' throught
12928         (ms_biff_put_var_commit): Fixed seeking over end.
12930 1999-05-16  Michael Meeks  <michael@ximian.com>
12932         * ms-excel-write.c (biff_put_text): Fix silly assertion.
12934         * ms-excel-read.c: Added debug to reading side,
12935         Cleaned conditional debug to use #defines
12937         * ms-excel-write.c (write_sheet): Save a number in each
12938         sheet to stop their destruction.
12940         * ms-excel-biff.h: Added helper set row,col,xf macros.
12942         * ms-biff.c (ms_biff_put_var_commit): Fixed.
12943         Added streamPos setting on commit.
12945         * ms-excel-write.c: Large updates.
12947 1999-05-16  Michael Meeks  <michael@ximian.com>
12949         * ms-formula-read.c (make_function): Allow fn_idx == 0
12950         add translation for RANK.
12952 1999-05-15  Michael Meeks  <michael@ximian.com>
12954         * ms-excel.[ch] -> ms-excel-read.[ch],
12956         * ms-formula.[ch] -> ms-formual-read.[ch]
12958         * All files incldes updated to obey above.
12960         * ms-biff.c (ms_biff_put_new): Implemented,
12961         (ms_biff_put_destroy): Implemented.
12962         Various other functions updated / fixed.
12964         * ms-excel-write.c (ms_excel_write_workbook): Change stream name
12965         depending on the version.
12966         Close streams / directory entries correctly.
12967         (write_workbook): Created.
12969 1999-05-15  Michael Meeks  <michael@ximian.com>
12971         * Makefile.am: stop 'ole' being installed.
12973 1999-05-15  Michael Meeks  <michael@ximian.com>
12975         * ms-formula.c (ms_excel_parse_formula): Cleaned debug.
12977         * boot.c (excel_init): Added write hooks.
12978         (excel_save_95, excel_save_98, excel_save): Created.
12980 1999-05-14  Michael Meeks  <michael@ximian.com>
12982         * ms-formula.c (ms_excel_parse_formula): Finaly got the ARRAY
12983         docs sorted, deciphered inconsistancies etc.
12985 1999-05-14  Michael Meeks  <michael@ximian.com>
12987         * ms-formula.c (ms_excel_parse_formula): Implemented V7. 3D refs
12988         and 3D Area references.
12989         (make_inter_sheet_ref_v7): Created to deal with V7 references.
12991         * ole.c (really_put): Changed to ms_ole_get_root.
12993         * ms-excel-biff.h: moved biff_version to 'excel.h'.
12995         * *.c: Re-ordered includes.
12997         * ms-excel-write.c (ms_excel_write_workbook): Fleshed out.
12999         * ms-biff.c (biff_put*): Fleshed out.
13001         * ms-biff.h (BIFF_SET_GUINT*): Added BIFF setting macros.
13003 1999-05-13  Michael Meeks  <michael@ximian.com>
13005         * ms-formula.c (ms_excel_parse_formula): Updated Array support.
13007         * ms-excel.c (ms_excel_set_cell_colors): Kills colors where
13008         backgnd & foregnd are same, needs pattern stuff to work
13009         before it can be fixed.
13010         (ms_excel_palette_get): Sorted special idx=64 color & added
13011         sanity check.
13013 1999-05-13  Michael Meeks  <michael@ximian.com>
13015         * ms-biff.h (ms_biff_query_next): Macrofied.
13017         * ms-biff.c (ms_bug_get_padding): Routine to overcome
13018         nastiness in MS' flawed implementation of CONTINUE records.
13019         (ms_biff_query_next_merge, ms_biff_merge_continues),
13020         (ms_biff_query_unmerge): Add padding corrective.
13022 1999-05-12  Michael Meeks  <michael@ximian.com>
13024         * ms-biff.h: Major overhaul, added some fields to be implemented.
13025         Added stubs for new BIFF write-side.
13027         * ms-biff.c (biff_setdouble): Implemented.
13029         * ms-excel.c (ms_excel_read_cell): BIFF_NUMBER: Removed last
13030         vestige of nasty number->text->number sillyness.
13032         * Makefile.am (libexcel_a_SOURCES): Added excel.h,
13033         ms-excel-write.[ch].
13035         * boot.c (excel_load): Updated name & headers.
13037         * ms-excel.c (ms_excel_write_workbook): Stubbed.
13039         * ms-excel.h: Split out excel specifics into smaller header.
13040         Renamed functions to remove nasty mixed case.
13042 1999-05-12  Michael Meeks  <michael@ximian.com>
13044         * ole.c (main): Add check on ptr to fix NULL pointers getting
13045         to strcasecmp.
13046         (do_copyin): Added mass-copy in/out function.
13048 1999-05-10  Michael Meeks  <michael@ximian.com>
13050         * ms-excel.c (ms_excel_read_sheet): Added new
13051         workbook_focus_sheet stuff.
13053 1999-05-10  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
13055         * Makefile.am (INCLUDES): Use -I$(srcdir)/libole2 instead of
13056         -Ilibole2 to allow srcdir!=builddir.
13058 1999-05-09  Michael Meeks  <michael@ximian.com>
13060         * ms-formula.c (make_function): More useful debug.
13061         Added Database function translation.
13063 1999-05-08  Michael Meeks  <michael@ximian.com>
13065         * ole.c (do_get, do_put): Sill fread/write no brainer.
13066         (main): Less verbose.
13068         * README: Updated to list more useful options.
13070 1999-05-08  Michael Meeks  <michael@ximian.com>
13072         * ms-biff.c (ms_biff_query_copy): Updated to use new
13073         global ms_ole_stream_copy.
13075         * Makefile.am: Split out 'ole' program, added libole2
13076         subdir. Added ms-biff.c.
13078         * libole2/ Created, moved ole.c, ms-ole.[ch] there.
13080 1999-05-08  Michael Meeks  <michael@ximian.com>
13082         * ole.c (main): Large re-structure, split out into smaller
13083         functions.
13085         * ms-formula.c (ms_excel_parse_formula): Hack at ARRAY
13086         functionality...
13088         * ms-excel.c (ms_excel_sheet_set_comment): Fix for setting
13089         comments on blank cells; was fatal.
13091 1999-05-07  Michael Meeks  <michael@ximian.com>
13093         * ms-formula.c (ms_excel_parse_formula): Fixed horrible bug
13094         in PTG_ATTR, not stopping on duff attr.
13096         * ms-excel.c (ms_excel_read_cell): Cleans to ARRAY_FORMULA.
13098 1999-05-06  Michael Meeks  <michael@ximian.com>
13100         * ms-ole.c (ms_biff_query_new, ms_biff_merge_continues)
13101         Better merge support.
13103         * ms-biff.h (_BIFF_QUERY): Added merge count
13105 1999-05-06  Michael Meeks  <michael@ximian.com>
13107         * ms-excel.c (ms_excelReadWorkbook): Added freeze /
13108         thaw redraws for speed.
13110         * ms-escher.c (OPT_new): Expanded.
13111         (BStoreContainer_destroy): Added debug.
13113         * ole.c: Updated functions from ms-escher.c
13114         (main): Correctly skip over previously merged stuff.
13116 1999-05-05  Michael Meeks  <michael@ximian.com>
13118         * ms-formula.c (parse_list_push_raw): Cleaned debug.
13119         (parse_list_push): Added (different) debug.
13120         (formula_func_data): Fixed comments.
13121         (duplicate_formula): Removed.
13123 1999-05-05  Michael Meeks  <michael@ximian.com>
13125         * ms-excel.c (ms_excel_read_cell): Updated debug.
13126         (ms_excel_sheet_insert_val): Fixed prototype.
13128         * ms-formula.c (expr_tree_unary): Added helper fn.
13129         (ms_excel_parse_formula): Added +/- unary op. loading.
13130         Remove redundant guff from formula_op_data.
13132         * ms-formula.h: Removed FORMULA_ARRAY_DATA: redundant.
13133         Added PTG_U_PLUS, PTG_U_MINUS.
13135 1999-05-04  Morten Welinder  <terra@diku.dk>
13137         * ms-excel.c (ms_excel_workbook_new): Fix argument list.
13139 1999-05-02  Michael Meeks  <michael@ximian.com>
13141         * ms-excel.c (biff_get_externsheet_name): Converted to return
13142         a Sheet *
13143         (ms_excel_sheet_shared_formula): Returns ExprTree.
13144         (biff_boundsheet_data_new): Added EXCEL_SHEET * to BOUNDSHEET_DATA
13145         this really needs rationalising !
13146         Fixed all things that use ms_formula stuff...
13148         * ms-formula.c: The most comprehensive re-write of the entire
13149         formula parsing structure. 80% + of code changed. Now smaller,
13150         cleaner, meaner, leaner ... and featuring all your favorite bugs.
13152 1999-05-02  Michael Meeks  <michael@ximian.com>
13154         * ms-excel.c (biff_xf_data_destroy): Changed prototype.
13155         (ms_excel_workbook_destroy, ms_excel_workbook_new),
13156         (ms_excel_set_cell_xf, biff_xf_data_new):
13157         Updated XF to GPtrArray, this saves a hash lookup per cell.
13158         (ms_excel_workbook_new): excel_sheets -> GPtrArray
13159         (ms_excel_workbook_attach): Drasticaly simplified
13160         (ms_excel_sheet_set_index): Removed.
13162         * ms-excel.h (_MS_EXCEL_WORKBOOK): Changed XF hashes
13163         to PtrArray's for speed & elegance.
13165 1999-05-02  Michael Meeks  <michael@ximian.com>
13167         * ms-excel.c (ms_excel_read_sheet): Add check before
13168         ms_excel_sheet_destroy.
13169         (ms_excel_read_sheet): Cleaned debug, and made it nicer.
13170         (ms_excel_workbook_detach): Fixed semantics of workbook_detach
13171         and plug large memory leak.
13173 1999-05-02  Michael Meeks  <michael@ximian.com>
13175         * ms-formula.c (ms_excel_parse_formula): Removed annoying
13176         debug killing performance.
13178         * ms-excel.c (ms_excel_sheet_insert_val): Created.
13179         (biff_get_rk): Removed impossible clause.
13180         Returns a Value now for speed; also increases accuracy.
13181         (ms_excel_read_cell): BIFF_RK, BIFF_MULRK: Removed nasty
13182         buffer and ugly printf.
13183         (ms_excel_sheet_insert): Made static, & removed from .h
13185 1999-04-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13187         * ms-ole.c (ms_ole_new): Applied patch from Michael Meeks to allow
13188         opening of excel files in read-only mode.
13190 1999-04-29  Michael Meeks  <michael@edenproject.org>
13192         * ms-ole.c (ms_ole_new): Revert to read-only mapping on failure.
13193         (MW: there has got to be a reason why we don't start that way.)
13195 1999-04-29  Morten Welinder  <terra@diku.dk>
13197         * ms-excel.c (ms_excel_workbook_detach): Add new extra parameter
13198         to workbook_detach_sheet.
13200 1999-04-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13202         * ms-excel.c (ms_excel_workbook_detach): Check the return value of
13203         workbook_detach_sheet.
13204         (ms_excel_read_sheet): If detaching fails, there is a dependency.
13206 Tue Apr 20 16:34:38 1999  Morten Welinder  <terra@diku.dk>
13208         * ms-obj.c (ms_obj_read_obj): Initialise type.
13210 1999-04-19  Morten Welinder  <terra@diku.dk>
13212         * ms-excel.c (biff_get_rk): Fixed up mask on eIEEE.
13214 1999-04-19  Michael Meeks  <michael@edenproject.org>
13216         * ms-escher.c (read_DgContainer): Removed redundant
13217         debug.
13219         * ms-ole.c (ms_biff_merge_continues): Silly ordering
13220         bug fix. And memory leak removed.
13222         * ms-excel.c (ms_excelReadWorkbook): Silly string table
13223         length bug. Wehn we truncate, cut the length as well.
13225         * ole.c (syntax_error): Updated help.
13226         (main): [old] added 'biffraw'
13228 1999-04-19  Morten Welinder  <terra@diku.dk>
13230         * ms-formula.c (ms_excel_parse_formula): Fix for
13231         strings: use quotes.
13233         * ms-excel.c (ms_excel_sheet_append_comment): Fix.
13234         (biff_font_data_get_style_font): removed assert, and
13235         use g_snprintf
13236         (ms_excelReadWorkbook): Removed duff
13237         comments, and some debug.
13239 1999-04-19  Michael Meeks  <michael@edenproject.org>
13241         * ms-biff.h (_BIFF_QUERY): Set length to guint32
13242         (BIFF_GETLONG): Added various casts.
13244         * ms-ole.c (ms_ole_read_ptr_bb, ms_ole_read_ptr_sb):
13245         Re-enabled, and fixed silly bug.
13246         (dump): the 'int' type behaves very strangely.
13248 1999-04-18  Michael Meeks  <michael@edenproject.org>
13250         * ms-ole.c: Rather important fixes. How did it ever
13251         work before !.
13253 1999-04-18  Michael Meeks  <michael@edenproject.org>
13255         * ms-ole.c, ms-ole.h: MASSIVE hack. invalidates
13256         pretty much all the previous ole changelog entries.
13257         (dump): Updated type.
13259         * ms-excel.c (ms_biff_bof_data_new): Removed assert.
13260         (biff_get_externsheet_name): Removed assert.
13261         (ms_excel_parse_formula): Commented out array support.
13263 1999-04-18  Michael Meeks  <michael@edenproject.org>
13265         * ms-excel.c (ms_excel_workbook_new): Added flag so
13266         only reads first group & merges rest.
13268         * ms-escher.c (biff_to_flat_data): Improved merge
13269         heuristic.
13271 1999-04-18  Michael Meeks  <michael@edenproject.org>
13273         * ms-escher.c (bse_type_to_name): Created.
13274         (bse_type_to_name): Created.
13275         (BSE_new): Updated.
13276         (esh_header_contained): Moved duplicated code
13277         into this and added check.
13278         (esh_header_next): Added debug.
13279         (write_file): Writes a pixmap to disk.
13281 1999-04-15  Michael Meeks  <michael@edenproject.org>
13283         * ms-excel.c (ms_excelReadWorkbook): Put PRECISION
13284         output conditional on debug.
13285         Put escher_hack_get_drawing on condition of --debug
13287         * ms-formula.c (ms_excel_parse_formula): Added
13288         'Optimised Choose' functionality.
13289         (formula_func_data): Inserted CHOOSE.
13290         (ms_excel_parse_formula): Patch for broken MS files.
13291         Updated 'Name' records.
13293 1999-04-15  Michael Meeks  <michael@edenproject.org>
13295         * boot.c: Fixed includes to remove annoying warning.
13296         (excel_load): Add workbook_set_filename for style.
13298         * ms-excel.c (ms_excel_workbook_detach): Added debug
13299         if can't remove sheet for some reason.
13301         * ms-ole.c (pps_get_text): Hacked in some better
13302         unicode support. Might work cross-platform now.
13303         (ms_ole_new): Added name printout to help debug.
13304         (ms_ole_directory_next): Conditional'd debug.
13305         (directory_setup): clean debug.
13307         * ms-excel.c (ms_excel_set_cell_colors): Removed debug.
13309 1999-04-15  Michael Meeks  <michael@edenproject.org>
13311         * ms-formula.c (ms_excel_parse_formula): PTG_AREAN added,
13312         and PTG_AREA updated to include 'shared' flag.
13313         (ms_excel_parse_formula): Added PTG_ARRAY code.
13315         * ms-formula.h (FORMULA_PTG_ARRAY): Added PTG_ARRAY
13317         * ms-excel.c (ms_excel_read_cell): Added more sensible
13318         floating point printing throught.
13320         * ms-excel.h (MS_EXCEL_DOUBLE_FORMAT): Created to
13321         standardise number transfer.
13323 1999-04-14  Michael Meeks  <michael@edenproject.org>
13325         * ms-formula.h: Updated ms_excel_parse_formula prototype.
13327         * ms-excel.c (ms_excel_read_cell): Added 'shared' flag
13328         to all ms_excel_parse_formula instances.
13329         (biff_get_error_text): Set arg to const.
13330         (ms_excel_sheet_shared_formula): Removed debug.
13331         (ms_excel_read_cell): Removed debug.
13332         (ms_excel_sheet_insert): const text arg.
13334         * ms-excel.h: Updated prototypes.
13336         * ms-formula.c (ms_excel_parse_formula): RefN replaced.
13337         updated prototype & args. Updated optimised if call.
13338         (getRefV8, getRefV7): Attempt at shared formulae.
13339         Fairly brutal hack: seems to work :-)
13341 1999-04-14  Michael Meeks  <michael@edenproject.org>
13343         * ms-excel.c (biff_get_text): Remove platform dependance.
13344         (biff_get_error_text): Changed type.
13345         (biff_boundsheet_data_new): s/int strlen/int slen/
13346         (biff_font_data_destroy): Free after last use.
13347         (biff_get_rk): Changed IEEEx10 to IEEEx100
13348         (ms_excel_read_cell): COL_INFO: Fixed width cast.
13349         Thanks to great bug reports by Morten Welinder.
13351         * ms-excel.h: Add const to biff_error_get_text.
13353         * ms-ole.c (SET_GUINT8): Fix GET_<TYPE> macros.
13355         * ms-biff.h (BIFF_GETWORD): Patch from Morten Welinder to
13356         improve GET<TYPE> macros.
13358 1999-04-14  Michael Meeks  <michael@edenproject.org>
13360         * ole.c (dump_escher): Fatal Escher cockup removed, makes
13361         the problem look more complex and realistic.
13362         Indenting added.
13364         * ms-escher.c (read_DgContainer): Created.
13365         (SpgrContainer_new): Created.
13366         (ms_escher_hack_get_drawing): Add debug.
13367         (SpContainer_new): Created.
13368         There must be a good way of doing this recursively.
13370 1999-04-13  Michael Meeks <michael@ximian.com>
13372         * ms-escher.c (esh_header_next): Fixedup to use correct lengths.
13373         Various major bits of work, started parsing the heirarchical
13374         bitstream. Escher looks better than BIFF, 32bit clean seemingly.
13376         * ole.c: Copied in updates.
13377         (dump_escher): Recursive dump of structures.
13379 1999-04-13  Michael Meeks <michael@ximian.com>
13381         * ms-ole.c(ms_biff_query_copy): Fix nasty bug: duplicate
13382         stream pos record too.
13384         * escher-types.h: Created to hold the drawing layer types.
13386         * ole.c (read_types): Expanded to cope with escher types.
13387         (get_opcode_name): Duplicated into:
13388         (get_biff_opcode_name, get_escher_opcode_name): Created.
13389         (main): Updated biff section.
13390         Added 'draw' = search for drawings and dump section.
13392         * README: Updated to doc. 'draw'
13394 1999-04-12  Michael Meeks <michael@ximian.com>
13396         * ms-objc.c/h renamed ms_obj_read_graphic to
13397         ms_obj_read_obj, the real graphic lurks elsewhere...
13399         * ms-escher.c/h: Created to handle the 'Office drawing layer'
13400         This is a hack and needs better OLE support code.
13402         * ms-ole.c (ms_ole_stream_duplicate): Created, not too bad a hack
13403         (ms_biff_query_data_to_stream): Nasty hack for ms-escher
13405 1999-04-12  Michael Meeks <michael@ximian.com>
13407         * ms-obj.c: Created to deal with the horrors of embedded graphic
13408         objects !
13410         * ms-obj.h: Include for the same
13412         * ms-excel.c: Include ms-obj.h
13413         (ms_excel_read_sheet): Add call to ms_obj_read_graphic.
13415         * biff-types.h: Update comments.
13417         * Makefile.am: Add new files.
13419         * ole.c: Nice header.
13421 1999-04-12  Michael Meeks <michael@ximian.com>
13423         * biff-types.h: Fleshed out.
13425         * ms-excel.c (ms_excel_sheet_set_comment): Created
13426         (ms_excel_sheet_append_comment): Created
13427         (ms_excel_read_sheet): Added BIFF_NOTE support.
13428         (ms_excel_set_cell_xf): Fixed spurious debug, and made more
13429         robust.
13431 1999-04-12  Michael Meeks <michael@ximian.com>
13433         * ms-excel.c: Various unneeded BIFF tags implemented for
13434         completeness.
13436         * biff-types.h: The tag definitions.
13438         * ole.c (read_types): Improved.
13439         (main): Flag duplicates sensibly.
13441 1999-04-12  Michael Meeks <michael@ximian.com>
13443         * ole.c: Added 'biff' command.
13444         Added type file loader/parser and helper function.
13446         * biff-types.h: Created
13448         * ms-excel-biff.h: Moved types out.
13450 1999-04-11  Michael Meeks <michael@ximian.com>
13452         * ole.c: Major update, interactive mode, help, dump command
13453         etc.
13455 1999-04-09  Michael Meeks <michael@ximian.com>
13457         * ms-excel.c (ms_excel_workbook_detach): Paranoid NULLing
13458         of pointers.
13459         Fixed _silly_ bug with g_list_remove !
13460         (ms_excel_workbook_attach): Paranoia checking.
13461         (biff_get_text): Converted int lp to guint32 lp.
13462         (ms_excelReadWorkBook): BIFF_SST: Added overrun check,
13463         some idiot splits the SST table for seemingly no good reason.
13464         Cleaned debug.
13465         (ms_excel_read_cell): Cleaned debug.
13466         (ms_excel_palette_get): Added magic multiplying factor to get
13467         colors to work...
13468         (ms_excel_set_cell_font): Now returns font color
13469         (ms_excel_set_cell_xf): Updated to pass on foregnd col to:
13470         (ms_excel_set_cell_colors): Added priority foregnd col.
13471         BIFF_XF_DATA: Updated colours to pattern colours, and updated
13472         names throughout adding pal_ prefix.
13474         * ole.c: Added, basic OLE2/BIFF helper program
13476         * Makefile.am: Updated to include ole.c
13478 1999-04-06  Michael Meeks <michael@ximian.com>
13480         * ms-formula.h: Add PTG_AREAN, PTG_REFN.
13482         * ms-formula.c: Debug for these cases.
13483         (ms_excel_parse_formula): Added shared row/col.
13484         Updated ms_excel_sheet_shared_formula call.
13486         * ms-excel.c (ms_excel_sheet_shared_formula): Include
13487         new arguments.
13488         (ms_excel_read_cells): Update all parse_formula calls.
13489         (ms_excel_set_cell_xf): Set auto_return argument to 0 for
13490         cell_set_alignment.
13491         move cell_set_colors to last thing.
13493         * ms-excel.h: Update prototype.
13495 1999-04-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13497         * ms-ole.c (biff_getdouble): Move biff_getdouble here, and apply
13498         fix from Tung Nguyen (tung.nguyen@pgs.com)
13500 1999-04-03  Michael Meeks  <michael@ximian.com>
13502         * ms-excel.c (ms_excel_read_sheet): removed fixup_array_formulae.
13503         (ms_excel_read_cell): Large SHRFMLA / ARRAY fixups.
13504         (biff_share_formula_new,destroy,hash,equal): Implemented.
13505         (ms_excel_sheet_new): Removed GList array_formulae and insert
13506         shared formula hash table.
13507         (ms_excel_sheet_destroy): Deal with hash table.
13508         (ms_excel_sheet_shared_formula): Returns shared formula text
13509         (ms_excel_set_cell_xf): Cleaned unused variables.
13511         * ms-excel.h: Added ms_excel_sheet_shared_formula prototype
13513         * ms-formula.c (ms_excel_fixup_array_formula): Removed.
13514         (ms_excel_parse_formula): Sorted FORMULA_PTG_EXP.
13516         * ms-formula.h: Removed prototype.
13518 1999-04-02  Michael Meeks  <michael@ximian.com>
13520         * ms-formula.c (ms_excel_parse_formula): PTG_ATTR: corrected
13521         debug output semantics.
13522         Set IF to var-arg ( fn: 0x1 ).
13523         Various Debug bits made conditional.
13524         Implemented 'optimised' = 'hopelessly obfuscated' IF function.
13525         Ignored 'Volatile' PTG_ATTR.
13526         Added INT to table.
13528         * ms-excel.c (ms_excel_set_cell_xf): Made static for safety.
13529         (ms_excelReadWorkbook): BIFF_SST: fixed up a few types.
13530         (biff_get_text): Fixed types.
13532         * ms-excel.h: removed prototype for same.
13533         fixed biff_get_text type.
13535 1999-04-01  Michael Meeks  <michael@ximian.com>
13537         * ms-excel.c (ms_excelReadWorkbook): Major string table fix
13538         should now work internationally.
13539         (biff_get_text): Major arguments change, now returns the rather
13540         grim byte length field if needed through a guint32 *
13541         Changed all references to biff_get_text throughout.
13543         * ms-excel.h: Updated biff_get_text prototype.
13545         * ms-formula.c: Changed all references to biff_get_text throughout.
13547 1999-03-31  Michael Meeks  <michael@ximian.com>
13549         * ms-excel.c (ms_excel_read_sheet): Added SELECTION support.
13550         Added basic WINDOW2 support.
13551         (ms_excel_read_cell): COLINFO, fixed fatal bug in hidden column code.
13553         * ms-formula.c (ms_excel_parse_formula): Removed debug.
13555 1999-03-30  Michael Meeks  <michael@ximian.com>
13557         * ms-formula.c (ms_excel_parse_formula): Rehashed function
13558         and operator search function so it uses a flat array instead
13559         of a linear search.
13560         fully populated formula_func_data array, and removed unused /
13561         constant fields.
13563         * ms-formula.h: Removed dead wood from OP_DATAa & FUNC_DATA
13564         structs.
13566 1999-03-26  Michael Meeks  <michael@ximian.com>
13568         * ms-formula.c: Removed duplicate for fn 0x65
13570 1999-03-24  Thomas Meeks  <thomas@ximian.com>
13572         * ms-formula.c: Added mappings for Address, Area, Hyperlink,
13573         Offset, Column, Columns.
13575 1999-03-12  Michael Meeks  <michael@ximian.com>
13577         * ms-excel.c (biff_name_data_new, biff_name_data_get_name),
13578         (biff_name_data_destroy, ms_excel_read_cell): Implemented
13579         the BIFF_EXTERNNAME case.
13580         (ms_excel_workbook_new, ms_excel_workbook_destroy):
13581         Name table hashing functions.
13582         (ms_excel_read_cell): Cleaned debug on BIFF_HEADER / FOOTER.
13584         * ms-formula.c (ms_excel_parse_formula): Large API change to
13585         simplify several cases, and clean dirty code.
13586         (make_function): Special 0xff case on functions. For use with
13587         external functions, the names of which come in via:
13588         (_excel_parse_formula): FORMULA_PTG_NAME_X, hacked into
13589         rough shape.
13591         * ms-excel.c: All instances of ms_excel_parse_formula updated.
13593 1999-03-11  Michael Meeks  <michael@ximian.com>
13595         * ms-ole.c (ms_ole_destroy, ms_ole_new): Killed debug
13596         output before we are sure its an OLE file.
13598 1999-03-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13600         * ms-excel.c (find_workbook): Use g_strncasecmp here.
13602 1999-03-10  Michael Meeks  <michael@ximian.com>
13604         * ms-formula.c: Inserted all the statistics formulae from
13605         5.0a into the translation table.
13607 1999-03-09  Michael Meeks  <michael@ximian.com>
13609         * ms-formula.c (ms_excel_parse_formula): Hacked out the
13610         bad array formula support. Moved most of it to ms-excel.c
13612         * ms-excel.c (ms_excel_read_cell): Updated BIFF_ARRAY and
13613         BIFF_FORMULA cases; splitting and adding array loop.
13614         BIFF_COLINFO, BIFF_ROW: Updated fudge factors in sizing
13615         and implemented column sizing.
13617 1999-03-07  Michael Meeks  <michael@ximian.com>
13619         * ms-formula.c: Changed FORMULA_PTG_STR to cope with both
13620         versions of string properly.
13621         Inserted innumerable time and text functions into the
13622         translation table.
13624 1999-03-07  Michael Meeks  <michael@ximian.com>
13626         * ms-excel.c: Changed to use cell_set_text_simple to save
13627         many redundant re-draws: big speedup.
13628         hacked up a set_row_height call
13630 1999-03-05  Michael Meeks <michael@ximian.com>
13632         * ms-ole.c: Variously made debug conditional on OLE_DEBUG
13633         * ms-excel.c: ditto for EXCEL_DEBUG
13635 1999-02-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13637         * ms-ole.c (ms_ole_write_sb): Do not use C++ comments.
13639 1999-02-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13641         * ms-ole.c (ms_ole_destroy): Free the correct pointer (we were
13642         releasing the same pointer twice).
13644 1999-01-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13646         * ms-ole.c (ms_ole_destroy): Free f->header_root_list if set.
13648 1999-01-03  Jeff Garzik  <jgarzik@Pobox.com>
13650         * ms-excel.c, ms-formula.c:
13651         A printf fix.
13652         Warning fixes.
13654 1998-12-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13656         * boot.c (excel_init): New file, adds the excel booting
13657         mechanism.