12021-06-10  Morten Welinder <terra@gnome.org>
2
3	* Release 1.12.50
4
52021-04-11  Morten Welinder  <terra@gnome.org>
6
7	* xlsx-read.c (xlsx_parse_expr): Turn expressons we cannot parse
8	into ERROR("formula") instead of dropping them on the floor.  See
9	#574.
10
112021-03-29  Morten Welinder  <terra@gnome.org>
12
13	* xlsx-read.c (xlsx_CT_HyperLinks): Also handle file:// links.
14	* xlsx-write.c (xlsx_write_hlink): Ditto.
15
162021-03-14  Morten Welinder <terra@gnome.org>
17
18	* Release 1.12.49
19
202020-08-12  Morten Welinder <terra@gnome.org>
21
22	* Release 1.12.48
23
242020-05-27  Jean Brefort  <jean.brefort@normalesup.org>
25
26	* xlsx-read-drawing.c (xlsx_draw_clientdata): don't set the print
27	flag if we do not import the object.
28
292020-05-09  Morten Welinder <terra@gnome.org>
30
31	* Release 1.12.47
32
332020-05-09  Morten Welinder  <terra@gnome.org>
34
35	* xlsx-read-drawing.c (xlsx_read_cnvpr): hook this up for more
36	instances of cNvPr.
37
382020-05-05  Morten Welinder  <terra@gnome.org>
39
40	* xlsx-read-drawing.c (xlsx_draw_clientdata): Read sheet object
41	print flag.
42	* xlsx-write-drawing.c (xlsx_write_drawing_objects): Write it.
43
442020-05-03  Morten Welinder  <terra@gnome.org>
45
46	* xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Set sheet
47	object name.
48
49	* xlsx-write-drawing.c (xlsx_write_drawing_objects): Write sheet
50	object name for all sheet objects.
51
522019-11-06  Morten Welinder <terra@gnome.org>
53
54	* Release 1.12.46
55
562019-09-02  Jean Brefort  <jean.brefort@normalesup.org>
57
58	* ms-excel-read.c (ms_sheet_realize_obj): fix charts position. [#414]
59	* ms-excel-write.c (excel_write_chart_v8): ditto.
60
612019-07-20  Morten Welinder  <terra@gnome.org>
62
63	* xlsx-write.c (xlsx_write_style): Wrote cell protection too.
64	Fixes #409.
65
662019-05-20  Morten Welinder <terra@gnome.org>
67
68	* Release 1.12.45
69
702019-03-21  Thomas Kuehne  <undisclosed@nowhere>
71
72	* excel-xml-read.c: provide support for common meta data and basic
73	auto filter settings.
74
752018-11-24  Morten Welinder <terra@gnome.org>
76
77	* Release 1.12.44
78
792018-10-02  Morten Welinder  <terra@gnome.org>
80
81	* ms-excel-read.c (excel_read_BOF): No need to set sheet and unref
82	here for old-format full-sheet graph.  It's already done in
83	ms_excel_chart_read.
84
852018-08-19  Morten Welinder <terra@gnome.org>
86
87	* Release 1.12.43
88
892018-08-09  Morten Welinder <terra@gnome.org>
90
91	* Release 1.12.42
92
932018-05-07  Morten Welinder <terra@gnome.org>
94
95	* Release 1.12.41
96
972018-04-29  Morten Welinder <terra@gnome.org>
98
99	* Release 1.12.40
100
1012018-03-13  Morten Welinder <terra@gnome.org>
102
103	* Release 1.12.39
104
1052017-12-28  Morten Welinder <terra@gnome.org>
106
107	* Release 1.12.38
108
1092017-12-01  Morten Welinder <terra@gnome.org>
110
111	* Release 1.12.37
112
1132017-11-26  Morten Welinder  <terra@gnome.org>
114
115	* xlsx-write.c (xlsx_write_sheet): Add comments to legacy drawing
116	requirements.  (So much for "legacy").
117
118	* xlsx-write-drawing.c (xlsx_write_legacy_object): Extend to
119	handle cell comment objects.
120
121	* xlsx-write.c (xlsx_write_comments): Preserve spaces in comments.
122
1232017-11-20  Morten Welinder  <terra@gnome.org>
124
125	* ms-formula-write.c (xl_map_char_to_type): Improve debug output.
126	(write_funcall): Avoid a critical for ERROR function.  This might
127	not be right -- need to check what XL wants for this.
128
1292017-11-18  Morten Welinder <terra@gnome.org>
130
131	* Release 1.12.36
132
1332017-10-26  Morten Welinder  <terra@gnome.org>
134
135	* xlsx-read-drawing.c (xlsx_ser_trendline_intercept): Read
136	intercept.
137
138	* xlsx-write-drawing.c (xlsx_write_axis): Make axis tag for
139	contour charts match what XL wants.  Even if it isn't obvious why.
140	(xlsx_write_one_chart): Save a view3D for contour charts.
141	(xlsx_write_one_plot): Fix writing trendline equation.  Don't
142	write a trendline name if there isn't one.  Write intercept=0 when
143	not linear.
144
1452017-10-24  Morten Welinder  <terra@gnome.org>
146
147	* xlsx-write-drawing.c (xlsx_write_axis): Write a pseudo-3d axis
148	as a serAx.
149	(xlsx_write_one_plot): Start work on surface charts.
150
1512017-10-23  Morten Welinder  <terra@gnome.org>
152
153	* xlsx-write-drawing.c (xlsx_write_one_plot): Recognize the third
154	axis.
155
1562017-10-21  Morten Welinder  <terra@gnome.org>
157
158	* xlsx-read-drawing.c (dtd): Add stubs for floor, sidewall, and
159	backwall.
160	(xlsx_chart_contour): Use XLContourPlot object.
161
1622017-10-11  Morten Welinder  <terra@gnome.org>
163
164	* xlsx-read.c (xlsx_wb_name_end): Ignore bogus Print_Area names.
165
1662017-07-06  Morten Welinder <terra@gnome.org>
167
168	* Release 1.12.35
169
1702017-03-20  Morten Welinder <terra@gnome.org>
171
172	* Release 1.12.34
173
1742017-03-16  Morten Welinder  <terra@gnome.org>
175
176	* xlsx-read-drawing.c (xlsx_drawing_dtd): Fill out the grammar a
177	bit more to quiet some warnings.
178
1792017-03-08  Morten Welinder  <terra@gnome.org>
180
181	* xlsx-write.c (by_hlink_order): Simplify order.
182	(xlsx_write_hlink): Properly handle location.
183
184	* ms-excel-util.c (xls_collect_hlinks): Sort ranges.
185
186	* xlsx-read.c (xlsx_CT_HyperLinks): Handle external links with
187	anchors.
188
1892017-02-28  Jean Brefort  <jean.brefort@normalesup.org>
190
191	* xlsx-write-drawing.c (xlsx_write_go_style_full): do not export
192	transparent fill style if auto.
193
1942017-02-26  Jean Brefort  <jean.brefort@normalesup.org>
195
196	* xlsx-write-drawing.c (xlsx_write_go_style_full): always export a
197	transparent fill style. [#779160]
198	(xlsx_write_one_chart): simplify legend style export.
199
2002017-02-21  Jean Brefort  <jean.brefort@normalesup.org>
201
202	* xlsx-write-drawing.c (xlsx_write_one_chart): export legend style.
203
2042017-02-18  Morten Welinder  <terra@gnome.org>
205
206	* ms-excel-write.c (excel_write_sheet): Don't write hyperlinks to
207	biff7 and before.  The strings come out wrong.
208
209	* xlsx-write.c (xlsx_write_hlinks): Impose an ordering on links.
210
2112017-02-16  Jean Brefort  <jean.brefort@normalesup.org>
212
213	* xlsx-write-drawing.c (xlsx_write_layout), (xlsx_write_one_chart): first
214	attempt to export a manual position.
215
2162017-02-15  Jean Brefort  <jean.brefort@normalesup.org>
217
218	* xlsx-read-drawing.c (xlsx_chart_text), (xlsx_text_value),
219	(xlsx_body_pr): read text value.
220	* xlsx-write-drawing.c (xlsx_write_one_chart): export legend position.
221
2222017-02-15  Jean Brefort  <jean.brefort@normalesup.org>
223
224	* xlsx-write-drawing.c (xlsx_write_series_dim): Fix xlsx export of chart
225	series names. [#778618]
226
2272017-02-14  Morten Welinder  <terra@gnome.org>
228
229	* xlsx-read.c (themed_color_from_name): New function to handle
230	alias colours tx1 and tx2.
231	(themed_color): Use themed_color_from_name.
232	(themed_color_from_name): Flip light/dark -- it refers to theme.
233	Map bg1 and bg2 too.
234	(xlsx_file_open): Have defaults for mapped colours.
235
236	* xlsx-read-drawing.c (xlsx_draw_color_themed): Use
237	themed_color_from_name.
238	(xlsx_chart_dtd): Add effectLst to grammar.
239
2402017-02-07  Morten Welinder  <terra@gnome.org>
241
242	* xlsx-read.c (wrap_sheet_new): New function to ensure we start
243	with blank header and footer.  Fixes #778292.
244
2452017-01-30  Morten Welinder <terra@gnome.org>
246
247	* Release 1.12.33
248
2492017-01-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
250
251	* xlsx-read.c (xlsx_CT_PageSetup): the default for fitTo* is 1
252	* xlsx-write.c (xlsx_write_print_info):  the default for fitTo* is 1
253
2542016-08-20  Morten Welinder <terra@gnome.org>
255
256	* Release 1.12.32
257
2582016-06-29  Morten Welinder <terra@gnome.org>
259
260	* Release 1.12.31
261
2622016-06-24  Morten Welinder  <terra@gnome.org>
263
264	* xlsx-read.c (theme_dtd): Ignore miter specs.
265
2662016-06-17  Morten Welinder <terra@gnome.org>
267
268	* Release 1.12.30
269
2702016-05-06  Morten Welinder <terra@gnome.org>
271
272	* Release 1.12.29
273
2742016-04-26  Morten Welinder  <terra@gnome.org>
275
276	* xlsx-read.c (xlsx_cell_val_end): Be slightly more relaxed about
277	the syntax of references to the shared strings table.  Fixes
278	#765544.
279
2802016-03-22  Morten Welinder <terra@gnome.org>
281
282	* Release 1.12.28
283
2842016-02-08  Morten Welinder  <terra@gnome.org>
285
286	* xlsx-read-drawing.c (xlsx_chart_layout_target): Do proper
287	parsing.  Fixes #761727.
288
2892016-02-07  Morten Welinder  <terra@gnome.org>
290
291	* xlsx-read-drawing.c (xlsx_rpr_latin): Check that null style.
292	Fixes #761663.
293
2942016-02-06  Morten Welinder <terra@gnome.org>
295
296	* Release 1.12.27
297
2982016-01-14  Morten Welinder  <terra@gnome.org>
299
300	* ms-formula-read.c (excel_parse_formula1): Add missing length
301	check.  Fixes #760545.
302
3032016-01-13  Jean Brefort  <jean.brefort@normalesup.org>
304
305	* ms-chart.c (end): Add missing array length check. Fixes #760546.
306
3072016-01-07  Morten Welinder  <terra@gnome.org>
308
309	* ms-obj.c (ms_obj_read_biff8_obj): Add missing length check for
310	scroll bars.  Fixes #760232.
311
312	* ms-excel-read.c (excel_formula_shared): Length check for v0.
313	Fixes #760231.
314
315	* ms-chart.c (ms_excel_chart_read): Initialize .legend to NULL.
316	Fixes #760229.
317
318	* ms-excel-read.c (excel_read_NAME): Fix computation of array
319	length.  Fixes #760104.
320
321	* ms-formula-read.c (excel_parse_formula1): Check that
322	non-parsable data is actually there before dumping it.
323
3242016-01-05  Morten Welinder  <terra@gnome.org>
325
326	* ms-formula-read.c (excel_parse_formula1): Fix string length
327	capping.  Fixes #760106.
328
3292016-01-04  Morten Welinder  <terra@gnome.org>
330
331	* ms-excel-read.c (excel_sheet_new): Undo last change.  Fix
332	#760103 differently.
333
334	* ms-obj.c (ms_obj_read_biff8_obj): Fuzzed file fixes.  Fixes
335	#760101 and #760105.
336
3372016-01-03  Morten Welinder  <terra@gnome.org>
338
339	* ms-excel-read.c (excel_sheet_new): Always create a new sheet.
340	Fixes #760103.
341
3422016-01-02  Morten Welinder  <terra@gnome.org>
343
344	* ms-formula-read.c (excel_parse_formula1): Check for recursive
345	shared formulae.  Fixes #760043.
346
347	* ms-biff.c (ms_biff_query_next): Don't handle CONTINUE records
348	for BOUNDSHEET.  Fixes #760089.
349
3502015-12-28  Morten Welinder <terra@gnome.org>
351
352	* Release 1.12.26
353
3542015-12-25  Morten Welinder <terra@gnome.org>
355
356	* Release 1.12.25
357
3582015-12-22  Morten Welinder  <terra@gnome.org>
359
360	* ms-excel-write.c (excel_write_DV): Use a special formula context
361	for list validation.
362
363	* ms-formula-write.c (excel_write_formula): Handle said formula
364	context.
365
366	* ms-obj.h (MSObj): Rename field combo_in_autofilter to
367	auto_combo.
368
3692015-10-17  Morten Welinder  <terra@gnome.org>
370
371	* ms-excel-read.c (excel_read_NAME): Handle deleted and selfref
372	sheet.
373
374	* ms-formula-read.c (excel_parse_formula1): Handle deleted sheet.
375
3762015-09-20  Morten Welinder <terra@gnome.org>
377
378	* Release 1.12.24
379
3802015-07-28  Morten Welinder <terra@gnome.org>
381
382	* Release 1.12.23
383
3842015-07-07  Morten Welinder  <terra@gnome.org>
385
386	* ms-excel-read.c (excel_parse_name): Handle non-local Print_Area.
387	Fixes #752081.
388
389	* ms-biff.c (ms_biff_query_bound_check): When we span records --
390	unhandled -- signal that as an error.  Fixes #752080.
391
3922015-07-06  Jean Brefort  <jean.brefort@normalesup.org>
393
394	* ms-excel-read.c (excel_read_BOF): fuzzed file issue. [#751989]
395
3962015-07-05  Jean Brefort  <jean.brefort@normalesup.org>
397
398	* ms-chart.c (end): one more NULL value issue. [#751969]
399	* ms-excel-read.c (sst_read_string): fix test with undsigned integer.
400	Fixs #751968.
401
4022015-07-04  Jean Brefort  <jean.brefort@normalesup.org>
403
404	* ms-excel-read.c (excel_read_FONT): don't read missing data. [#751909]
405
4062015-07-03  Jean Brefort  <jean.brefort@normalesup.org>
407
408	* ms-chart.c (end): protect against missing value. Fixes #751945.
409
4102015-07-04  Jean Brefort  <jean.brefort@normalesup.org>
411
412	* ms-excel-read.c (excel_read_sheet), (excel_read_BOF): don't leak charts,
413	see #751578.
414
4152015-07-04  Jean Brefort  <jean.brefort@normalesup.org>
416
417	* ms-escher.c (ms_escher_read_container): protect against wrong record
418	length. Fixes #751249.
419
4202015-07-04  Jean Brefort  <jean.brefort@normalesup.org>
421
422	* ms-chart.c (set_radial_axes), (end): make axis type change more secure.
423
4242015-07-04  Jean Brefort  <jean.brefort@normalesup.org>
425
426	* ms-chart.c (xl_chart_import_trend_line): add check for array index in
427	xl_chart_import_trend_line(). Fixes #751920.
428
4292015-07-03  Jean Brefort  <jean.brefort@normalesup.org>
430
431	* ms-chart.c (end): protect against missing value. Fixes #751908.
432
4332015-07-03  Jean Brefort  <jean.brefort@normalesup.org>
434
435	* ms-chart.c (end): fix Y and Z axes exchange in 3D plots. Fixes #751744.
436
4372015-07-02  Morten Welinder  <terra@gnome.org>
438
439	* ms-obj.c (read_pre_biff8_read_expr): Check record length.
440
4412015-07-01  Morten Welinder  <terra@gnome.org>
442
443	* xls-read-pivot.c (xls_read_SXVIEW): Protect against underflow in
444	length.  Fixes #751662.
445
4462015-06-29  Morten Welinder  <terra@gnome.org>
447
448	* ms-excel-read.c (excel_formula_shared): Handle duplicates in
449	shared formula tables.  This shouldn't happen in proper files.
450	Fixes part of #751660.
451
452	* ms-formula-read.c (excel_parse_formula1): Survive bogus array
453	constant.  Fixes #751659.
454
4552015-06-29  Morten Welinder  <terra@gnome.org>
456
457	* ms-excel-read.c (excel_read_CF): Plug leak when reading fuzzed
458	file.
459
4602015-06-28  Jean Brefort  <jean.brefort@normalesup.org>
461
462	* ms-chart.c (end): fuzzed file fix. [#751758]
463
4642015-06-25  Jean Brefort  <jean.brefort@normalesup.org>
465
466	* ms-chart.c (end): more unexisting series issues. See #751270, comment #2
467
4682015-06-24  Jean Brefort  <jean.brefort@normalesup.org>
469
470	* ms-chart.c (end), (ms_excel_chart_read): don't use unexisting series and
471	initialize XLChartReadState::style_element. Fixes #751384.
472
4732015-06-22  Morten Welinder  <terra@gnome.org>
474
475	* ms-escher.c (ms_escher_read_container): Catch crazy length field
476	causing a loop.  Fixes #751258.
477
4782015-06-22  Jean Brefort  <jean.brefort@normalesup.org>
479
480	* ms-chart.c (3dbarshape), (3d), (ai), (alruns), (area),
481	(areaformat), (attachedlabel), (axesused), (axis), (axisparent),
482	(bar), (boppop), (catserrange), (chart), (chartformat),
483	(chartline), (dat), (defaulttext), (dropbar), (fbi), (fontx),
484	(ifmt), (legend), (legendxn), (line), (lineformat), (markerformat),
485	(objectlink), (pie), (pieformat), (plotgrowth), (serauxerrbar),
486	(serauxtrend), (serfmt), (trendlimits), (seriestext), (serparent),
487	(sertocrt), (shtprops), (siindex), (surf), (text), (tick), (units),
488	(valuerange): fix data size checks.
489
4902015-06-22  Jean Brefort  <jean.brefort@normalesup.org>
491
492	* ms-excel-read.c (excel_read_PANE): check data size. [#751271]
493
4942015-06-22  Jean Brefort  <jean.brefort@normalesup.org>
495
496	* ms-chart.c (end): skip NULL excel series. [#751270]
497
4982015-06-21  Jean Brefort  <jean.brefort@normalesup.org>
499
500	* ms-chart.c (ms_excel_chart_read): initialize XLChartReadState::is_contour.
501
5022015-06-20  Morten Welinder  <terra@gnome.org>
503
504	* ms-chart.c (ai): Avoid expression leak on broken file.
505
506	* xlsx-read.c (attr_uint): Typo.
507
508	* xls-read-pivot.c (xls_read_pivot_cache): Don't trust large
509	record counts.
510	* xlsx-read-pivot.c (xlsx_CT_pivotCacheRecords): Ditto.  Also read
511	count as unsigned.
512
513	* ms-chart.c (trendlimits): Bail if we don't have a series.  Fixes
514	#751253.
515
516	* ms-excel-read.c (sst_read_string): Handle errors from
517	excel_get_chars.  Fixes #751254.
518
5192015-06-16  Morten Welinder  <terra@gnome.org>
520
521	* xlsx-read.c (xlsx_file_open): Plug leaks.
522
523	* ms-excel-write.c (excel_convert_string): Ensure multi-NUL
524	terminator.  Fixes #750856.
525	(excel_convert_string): Plug leak.
526
5272015-06-15  Morten Welinder  <terra@gnome.org>
528
529	* xlsx-read.c (xlsx_comments_dtd): Fix dtd by not including
530	children in parent scope.
531
5322015-06-12  Morten Welinder  <terra@gnome.org>
533
534	* xlsx-read.c (xlsx_collection_begin): Don't reallocation if a
535	collection occurs twice.  Fixes #750864.
536
537	* ms-excel-util.c (xls_header_footer_import): Allocate if needed.
538	Fixes #750853.
539
5402015-06-11  Morten Welinder  <terra@gnome.org>
541
542	* ms-excel-read.c (excel_read_AUTOFILTER): Handle invalid filter
543	condition.  Fixes #750811.
544	(excel_read_SST): Fuzzed file fix.  #750810.
545
5462015-06-01  Morten Welinder  <terra@gnome.org>
547
548	* ms-obj.c (ms_read_TXO): Zero out markup earlier.  Fixes #750046.
549
550	* ms-excel-read.c (excel_fill_bmp_header): Don't read beyond
551	buffer.
552	(excel_read_os2bmp): Check that image length makes sense.  Fixes
553	#750043.
554	(excel_read_FONT): Fix record length check.  Fixes #750044.
555
5562015-05-30  Jean Brefort  <jean.brefort@normalesup.org>
557
558	* ms-escher.c (ms_escher_read_BSE), (ms_escher_read_Blip),
559	(ms_escher_read_Spgr), (ms_escher_read_ChildAnchor): fixed data access
560	in fuzzed files. [#750042]
561
5622015-05-28  Morten Welinder  <terra@gnome.org>
563
564	* ms-excel-read.c (xls_read_range32): Clamp to sane dimensions.
565
5662015-05-15  Morten Welinder  <terra@gnome.org>
567
568	* ms-excel-read.c (excel_formula_shared): Catch duplicate shared
569	formulas for the same cell.
570
5712015-05-14  Morten Welinder  <terra@gnome.org>
572
573	* ms-excel-read.c (excel_read_FILEPASS): Constify.
574
575	* md5.c (md5_read_ctx): Don't require aligned memory.
576
5772015-05-13  Morten Welinder  <terra@gnome.org>
578
579	* ms-excel-read.c (excel_get_text_fixme): Eliminate.
580
5812015-05-12  Morten Welinder  <terra@gnome.org>
582
583	* ms-excel-read.c (excel_read_DV): Stop using
584	excel_get_text_fixme.  Fixes #749270.
585
586	* ms-excel-write.c (extract_txomarkup): Handle missing text.
587
5882015-05-11  Morten Welinder  <terra@gnome.org>
589
590	* ms-excel-util.c (xls_header_footer_import): Handle terminating
591	"&".  Fixes #749235.
592
593	* xls-read-pivot.c (xls_read_pivot_cache_values): Set the right
594	size on error.  Fixes #749234.
595
5962015-05-10  Morten Welinder  <terra@gnome.org>
597
598	* ms-excel-read.c (excel_read_CONDFMT): Plug leaks.
599
600	* ms-obj.c (ms_read_TXO): Fix maxlen calculation for UTF-16.
601
602	* ms-chart.c (chart_write_MARKERFORMAT): Shape map was missing an
603	item.
604
605	* xlsx-read-drawing.c (xlsx_data_label_pos): Terminate enum list.
606	(xlsx_ser_labels_pos): Ditto.
607	(xlsx_ser_trendline_type): Ditto.
608	(xlsx_axis_mark): Ditto.
609	(xslx_chart_tick_label_pos): Ditto.
610	(xlsx_scatter_style): Ditto.
611
6122015-05-09  Morten Welinder  <terra@gnome.org>
613
614	* xlsx-read-drawing.c (xlsx_read_chart): Handle missing series.
615	[#749166]
616	(xlsx_read_chart): Free left-over styles.
617
618	* ms-excel-read.c (excel_read_NAME): Take record length into
619	account.
620
6212015-05-09  Jean Brefort  <jean.brefort@normalesup.org>
622
623	* xlsx-write.c (xlsx_write_font): fix out of bounds read. [#749121]
624
6252015-05-08  Morten Welinder  <terra@gnome.org>
626
627	* xlsx-write-drawing.c (xlsx_write_series_dim): GogSeriesDesc does
628	not have a dimension -1, so don't access it.
629
6302015-05-07  Morten Welinder  <terra@gnome.org>
631
632	* ms-excel-write.c (blipinf_new): Handle NULL image.  Fixes
633	#749069.
634
6352015-05-06  Morten Welinder  <terra@gnome.org>
636
637	* xlsx-read.c (xlsx_file_open): Plug leaks related to fuzzed
638	files.  Fixes #749030.
639
6402015-05-04  Morten Welinder  <terra@gnome.org>
641
642	* xlsx-read-drawing.c (xlsx_axis_custom_unit): Allow negative
643	units too.
644
6452015-05-04  Jean Brefort  <jean.brefort@normalesup.org>
646
647	* xlsx-read-drawing.c (xlsx_axis_custom_unit): read custom scaling
648	factor.
649	* xlsx-write-drawing.c (xlsx_write_axis): write it back. [#748295]
650
6512015-04-28  Morten Welinder  <terra@gnome.org>
652
653	* ms-excel-read.c (sst_read_string): Prevent string overrun.
654	Fixes #748597.
655
6562015-04-26  Morten Welinder  <terra@gnome.org>
657
658	* xlsx-write.c (xlsx_shared_string): Retry hash lookup when we
659	clear the format.
660	(xlsx_write_cells): Handle string values with formats other than
661	markup.  Fixes #748477.
662
6632015-04-24  Morten Welinder  <terra@gnome.org>
664
665	* xlsx-write-drawing.c (xlsx_write_go_style_full): Export
666	rotatation.
667
6682015-04-23  Morten Welinder  <terra@gnome.org>
669
670	* xlsx-read.c: simplify parsing and fix attribute namespace
671	issues.
672
6732015-04-21  Morten Welinder  <terra@gnome.org>
674
675	* xlsx-read-drawing.c (xlsx_chart_ring_hole): read hole size.
676
6772015-04-17  Jean Brefort  <jean.brefort@normalesup.org>
678
679	* xlsx-read-drawing.c (xlsx_chart_layout_manual): fix plot area manual
680	layout import. [#748016]
681
6822015-04-16  Morten Welinder <terra@gnome.org>
683
684	* Release 1.12.22
685
6862015-04-16  Morten Welinder  <terra@gnome.org>
687
688	* xlsx-write.c (xlsx_write_comments): Write comments in id order
689	since we refer to them by their implied id based on the order.
690
6912015-04-15  Morten Welinder  <terra@gnome.org>
692
693	* xlsx-write.c (xlsx_write_comments): Write comment authors in
694	deterministic order.
695
696	* ms-excel-util.c (xls_collect_validations): Rename from
697	excel_collect_validations and move from ms-excel-write.c.
698	Sort ranges.
699
700	* xlsx-write.c (xlsx_write_validations): Impose an ordering of
701	validation entries.
702
7032015-04-13  Morten Welinder  <terra@gnome.org>
704
705	* xlsx-read-drawing.c (xlsx_chart_pie_angle): Read firstSliceAng.
706
707	* xlsx-read.c (xlsx_ext_tabtextcolor): New function for round trip
708	of tab text color.
709
710	* xlsx-write-drawing.c (xlsx_write_one_plot): Move c:holeSize to
711	where the schema says it should be.
712
7132015-04-11  Morten Welinder  <terra@gnome.org>
714
715	* ms-excel-read.c (excel_read_FORMULA): Only print recalc tag in
716	debug mode for V5+.
717
718	* xlsx-read-color.c (xlsx_draw_color_gamma): Implement.
719
720	* xlsx-write.c (xlsx_write_workbook): Plug pivot leak.
721
7222015-04-10  Morten Welinder  <terra@gnome.org>
723
724	* ms-excel-util.c (xls_collect_hlinks): Rename from
725	excel_collect_hlinks.  Move from-ms-excel-write.c.  Plug leak.
726
727	* xlsx-write-docprops.c (xlsx_map_to_date_core): Plug leaks.
728
7292015-04-06  Morten Welinder  <terra@gnome.org>
730
731	* xlsx-write-drawing.c (xlsx_write_one_plot): Always write series'
732	style.
733
7342015-04-05  Morten Welinder  <terra@gnome.org>
735
736	* xlsx-read-drawing.c (xlsx_chart_add_plot): Add backplane here.
737	(xlsx_plot_area): Not here, but push a dummy object.
738
7392015-04-04  Morten Welinder  <terra@gnome.org>
740
741	* xlsx-read-drawing.c (xlsx_plot_area_end): Get rid of the
742	Backplane we tentatively added.
743
7442015-03-31  Morten Welinder  <terra@gnome.org>
745
746	* xlsx-read-color.c: New file extracted from xlsx-read-drawing.c
747	and xlsx-read.c
748	(xlsx_draw_color_hsl_channel): Implement.
749
750	* xlsx-read.c (theme): Apply colour modifications.
751
7522015-03-30  Morten Welinder  <terra@gnome.org>
753
754	* xlsx-read-drawing.c (xlsx_draw_color_rgba_channel): Rename from
755	xlsx_draw_color_alpha.  Handle all four channels.
756	(xlsx_draw_color_hsl_channel): Hook up hue-sat-lum modification.
757	(xlsx_draw_color_scrgb): Properly parse <scrgbClr>.
758	(xlsx_chart_drawing_dtd): more grammar.
759
7602015-03-30  Jean Brefort  <jean.brefort@normalesup.org>
761
762	* ms-chart.c (ms_excel_chart_read): support absolute sheet object anchoring.
763	* ms-escher.c (ms_escher_clientanchor): ditto.
764	* ms-excel-read.c (ms_sheet_obj_anchor_to_pos),
765	(ms_sheet_realize_obj): ditto.
766	* ms-excel-write.c (excel_write_autofilter_objs),
767	(excel_write_other_v8): ditto.
768	* xlsx-read-drawing.c (xlsx_draw_anchor_start),
769	(xlsx_drawing_twoCellAnchor_end), (xlsx_drawing_oneCellAnchor_end),
770	(xlsx_drawing_absoluteAnchor_end), (xlsx_drawing_anchor_pos),
771	(xlsx_vml_client_data_end): ditto.
772	* xlsx-read.c: ditto.
773	* xlsx-write-drawing.c (xlsx_write_drawing_objects): ditto.
774
7752015-03-28  Morten Welinder  <terra@gnome.org>
776
777	* xlsx-read-drawing.c (xlsx_axis_crossax): Improve parsing.  Take
778	default values of many enum attributes into account.
779	(xlsx_draw_color_alpha): Fix clamping.
780
7812015-03-23  Morten Welinder  <terra@gnome.org>
782
783	* xlsx-write-drawing.c (xlsx_write_chart_text): Move overlay
784	attribute here.
785	(xlsx_write_go_style_full): Fix noFill/solidFill writing.
786
7872015-03-16  Morten Welinder  <terra@gnome.org>
788
789	* xlsx-write-drawing.c (xlsx_write_go_style_full): Ensure that XL
790	doesn't see lines where none are wanted.
791
7922015-03-13  Morten Welinder  <terra@gnome.org>
793
794	* xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Only set
795	style if the object has style.  SheetObjectImage does not.
796
797	* xlsx-read.c (xlsx_ext_begin): Ignore unknown stuff inside.
798
7992015-03-09  Morten Welinder  <terra@gnome.org>
800
801	* xlsx-read-drawing.c (cb_axis_set_position): Set position of
802	present axis, not of crossed axis.  The latter is more complicated
803	and breaks down with multiple axes.
804
8052015-03-08  Morten Welinder  <terra@gnome.org>
806
807	* xlsx-read-drawing.c (xlsx_axis_cleanup): Perform axis-renaming
808	as the last step in cleanup.
809
810	* xlsx-write-drawing.c (xlsx_write_one_plot): Don't write axes
811	here; return a list of needed axes instead.
812	(xlsx_write_plots): Write the union of needed axes after all the
813	plots.
814
8152015-03-07  Morten Welinder  <terra@gnome.org>
816
817	* xlsx-write-drawing.c (xlsx_write_plots): Write all plots, not
818	just the first one.
819
820	* xlsx-write.c: Use new go_xml_out_add_double.
821
822	* xlsx-write-drawing.c: Use new go_xml_out_add_double.
823
824	* xlsx-write-docprops.c (xlsx_write_docprops_app): Use string for
825	version, nont floating point.
826
827	* xlsx-write-drawing.c (xlsx_write_chart_float): Drop def_val
828	argument.
829
8302015-03-04  Morten Welinder  <terra@gnome.org>
831
832	* xlsx-read-drawing.c (xlsx_create_axis_object): Handle log axis.
833	* xlsx-write-drawing.c (xlsx_write_axis): Ditto.
834
8352015-03-04  Morten Welinder <terra@gnome.org>
836
837	* Release 1.12.21
838
8392015-03-04  Morten Welinder  <terra@gnome.org>
840
841	* xlsx-write-drawing.c (xlsx_write_drawing_objects): Fix
842	relationship.  Write a prstGeom for the image.
843
8442015-03-01  Morten Welinder  <terra@gnome.org>
845
846	* ms-excel-read.c (ms_sheet_realize_obj): Don't let the sheet
847	object take over the memory.  We might need it later.
848
8492015-02-25  Morten Welinder  <terra@gnome.org>
850
851	* xlsx-write.c (xlsx_write_sheet): Also write combos and lists.
852	* xlsx-write-drawing.c (xlsx_write_legacy_object): Ditto.
853
8542015-02-24  Morten Welinder  <terra@gnome.org>
855
856	* xlsx-read.c (xlsx_parse_rel_by_id): Debug code.
857
858	* xlsx-read-drawing.c (xlsx_vml_drop_style): Don't create objects
859	here -- that'll just leak.
860
861	* xlsx-write-drawing.c (xlsx_write_axis): Pick the crossing axis
862	within the relevant plot.
863
864	* xlsx-read-drawing.c (cb_axis_set_position): Don't use
865	g_return_if_fail for data validation.
866
867	* xlsx-write-drawing.c (xlsx_write_one_plot): Write only the axes
868	we reference.
869
870	* xlsx-read-drawing.c (xlsx_create_axis_object): Move setting of
871	"invisible" here.
872
8732015-02-23  Morten Welinder  <terra@gnome.org>
874
875	* xlsx-read-drawing.c (xlsx_chart_dtd): Handle gostyle extension
876	here too.
877
878	* xlsx-write-drawing.c (xlsx_write_chart): Add gnmx namespace as
879	needed.
880
881	* xlsx-read-drawing.c (xlsx_vml_adj): Read scroll bar value too.
882
8832015-02-20  Morten Welinder  <terra@gnome.org>
884
885	* xlsx-read-drawing.c (xlsx_vml_client_data_end): Better handling
886	of anchor: don't overrun col/row limit; use point, not pixels;
887	take invible cols/rows into account.
888
889	* xlsx-write-drawing.c (xlsx_write_legacy_drawing_objects): Define
890	and reference shapetype.
891	(xlsx_write_legacy_drawing_objects): Export label too.
892
8932015-02-19  Morten Welinder  <terra@gnome.org>
894
895	* xlsx-write-drawing.c (xlsx_write_go_style_full): Write gradient
896	position as "50%", not "50000".  Excel understands either, but the
897	schemas wants the first.  Note, that online schemas seem to differ
898	and want the latter.
899
900	* xlsx-read.c (attr_percent): New function to read either syntax.
901
9022015-02-17  Morten Welinder  <terra@gnome.org>
903
904	* ms-excel-write.c (excel_collect_validations): Plug leak.
905	(excel_write_DV): Don't free ranges here.
906
907	* xlsx-write-drawing.c (xlsx_go_style_has_font): Simplify now that
908	we have a sane auto_font.
909
9102015-02-16  Morten Welinder  <terra@gnome.org>
911
912	* ms-chart.c (chart_write_axis): Only output font record when it's
913	not automatic.
914	(BC_R(fontx)): When we see a font record, it's not auto_font.
915
916	* xlsx-read-drawing.c (xlsx_draw_text_run_props): Fix reading of
917	fonts, notably of the auto-font flag.  Part of #744632.
918
919	* xlsx-write-drawing.c (xlsx_write_one_plot): Plug leak.
920	(xlsx_write_plot_1_5_type): Plug leak.
921
9222015-02-14  Morten Welinder  <terra@gnome.org>
923
924	* xlsx-write-drawing.c (xlsx_write_go_style_full): When needed
925	store our pattern in extension structure.  MS docs say other
926	consumers should ignore, but let's see.
927	(xlsx_write_go_style_full): If translation loses information,
928	store complete arrow details in extension.
929
9302015-02-13  Morten Welinder  <terra@gnome.org>
931
932	* xlsx-write-drawing.c (xlsx_write_go_style_full): When we must
933	use fill in the line style, use a:noFill to indicate no line.
934	(xlsx_write_drawing_objects): Fix output of default background.
935
9362015-02-12  Morten Welinder  <terra@gnome.org>
937
938	* xlsx-read-drawing.c (xlsx_chart_line_headtail): Improve arrow
939	import with xls_arrow_from_xl.
940
941	* ms-excel-util.c (xls_arrow_from_xl): New function extracted...
942	* ms-excel-read.c (handle_arrow_head): ...from here.
943
944	* xlsx-write-drawing.c (xlsx_write_go_style_full): Improve arrow
945	export with xls_arrow_to_xl.
946
947	* ms-excel-util.c (xls_arrow_to_xl): New function extraced from...
948	* ms-excel-write.c (write_arrow): ...here
949
950	* xlsx-write.c (xlsx_write_col): Always write column width.
951	Otherwise Excel might see zero.
952
9532015-02-10  Morten Welinder  <terra@gnome.org>
954
955	* xlsx-write-drawing.c (xlsx_write_drawing_objects): Save arrow
956	direction.
957
958	* xlsx-write.c (xlsx2_file_save, xlsx_file_save): Initialize
959	counter.
960
961	* xlsx-write-docprops.c (xlsx_write_docprops): Plug leak.
962
9632015-02-09  Morten Welinder  <terra@gnome.org>
964
965	* xlsx-read-drawing.c (xlsx_chart_line_headtail): First cut at
966	arrow heads.  Needs work.
967
9682015-02-08  Morten Welinder  <terra@gnome.org>
969
970	* xlsx-write-drawing.c (xlsx_write_drawing_objects): Add leak
971	checking.
972
973	* xlsx-write.c (xlsx_write_workbook): Plug leaks.
974
9752015-02-06  Morten Welinder  <terra@gnome.org>
976
977	* xlsx-write.c (xlsx_write_sheet): Handle sheet widgets.
978
979	* xlsx-write-drawing.c (xlsx_write_legacy_drawing_objects): First
980	cut at writing sheet widgets.
981
982	* xlsx-read-drawing.c (xlsx_vml_client_data_start)
983	(xlsx_vml_client_data_end): First attempt at reading scrollbars,
984	radio buttons, checkboxes, buttons, and spin buttons.
985	(xlsx_vml_shape): Reset position so we don't depend on junk.
986	(xlsx_vml_client_data_end): Resolve NaNs in position gracefully.
987	(xlsx_vml_adj): New function to read adjustment details.
988
9892015-02-04  Morten Welinder <terra@gnome.org>
990
991	* Release 1.12.20
992
9932015-02-03  Morten Welinder  <terra@gnome.org>
994
995	* xlsx-read-drawing.c (xlsx_chart_line): Default is no markers.
996	(xlsx_chart_line_marker): Set has-markers as requested.
997
998	* xlsx-write.c (xlsx_write_sheet): Don't complain over sheet
999	filter combos.
1000
1001	* xlsx-write-drawing.c (xlsx_write_go_style_full): Write font
1002	information.
1003
1004	* xlsx-read-drawing.c (xlsx_tx_pr): Set the right auto_color flag.
1005
10062015-02-02  Morten Welinder  <terra@gnome.org>
1007
1008	* xlsx-read-drawing.c (xlsx_chart_push_obj): Optionally check for leaks.
1009	(xlsx_axis_end): Plug leak.
1010
1011	* xlsx-write-drawing.c (xlsx_write_axis): Make axis visible.
1012
10132015-02-01  Morten Welinder  <terra@gnome.org>
1014
1015	* xlsx-write.c (xlsx_write_comments): We cannot use xml:space in
1016	comments.
1017
1018	* xlsx-read.c (xlsx_comment_end): Plug leak.
1019
10202015-01-30  Morten Welinder  <terra@gnome.org>
1021
1022	* ms-obj.c (ms_obj_read_biff8_obj): Gather orientation.
1023
1024	* ms-excel-read.c (ms_sheet_realize_obj): Set orientation.
1025
10262015-01-28  Morten Welinder  <terra@gnome.org>
1027
1028	* ms-excel-write.c (excel_write_other_v8): Export sliders as-if
1029	they were scrollbars.
1030
10312015-01-27  Morten Welinder  <terra@gnome.org>
1032
1033	* xlsx-write-drawing.c (xlsx_write_axis): Fix crossing for
1034	inverted axis.
1035
10362015-01-26  Morten Welinder  <terra@gnome.org>
1037
1038	* xlsx-write.c (xlsx_write_sheet): Warn about dropped objects.
1039
1040	* xlsx-read-drawing.c (xlsx_body_pr): Fix reading angle.  In xlsx
1041	positive angles are measured clock-wise.
1042
1043	* xlsx-write-drawing.c (xlsx_write_go_style_full): Make sure auto
1044	markers don't get rotated or flipped.
1045
10462015-01-23  Morten Welinder  <terra@gnome.org>
1047
1048	* xlsx-write-drawing.c (xlsx_write_go_style_full): Use rotation to
1049	handle marker triangles other than up.
1050
1051	* xlsx-read-drawing.c (xlsx_rpr_latin): Read typeface from xlsx charts.
1052	(xlsx_sppr_xfrm): Rotate marker shapes.
1053
10542015-01-23  Morten Welinder <terra@gnome.org>
1055
1056	* Release 1.12.19
1057
10582015-01-21  Morten Welinder  <terra@gnome.org>
1059
1060	* xlsx-read-drawing.c (xlsx_read_chart): Reset chart position here
1061	so we don't accidentally give the first object a (0,0) position.
1062
10632015-01-21  Morten Welinder  <terra@gnome.org>
1064
1065	* xlsx-write-drawing.c (xlsx_write_one_plot): varyColor defaults
1066	to TRUE, so be sure to output it for line plots etc.
1067	(xlsx_write_one_plot): Set smooth for anything but linear
1068	interpolation.
1069
10702015-01-20  Morten Welinder  <terra@gnome.org>
1071
1072	* xlsx-write-drawing.c (xlsx_write_one_plot): Initial export of
1073	trend lines.
1074
1075	* xlsx-read-drawing.c (xlsx_ser_trendline_type): Initial import of
1076	trend lines.
1077
10782015-01-19  Morten Welinder  <terra@gnome.org>
1079
1080	* xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Fix
1081	operator precedence.
1082	(xlsx_axis_end): Re-use the id of an automatically generated axis
1083	if there is one we can delete that happens to have the right role.
1084
1085	* xlsx-write-drawing.c (xlsx_write_one_plot): Use
1086	xlsx_plottype_from_type_name for readability.
1087
1088	* xlsx-utils.c (xlsx_plottype_from_type_name): New function.
1089
10902015-01-17  Morten Welinder  <terra@gnome.org>
1091
1092	* xlsx-write-drawing.c (xlsx_get_axid): New function allowing us
1093	to get away from storing truncated pointers as axis ids.
1094
1095	* xlsx-read-drawing.c (xlsx_chart_bar_overlap)
1096	(xlsx_chart_bar_gap): Fix reading percentages.
1097	(xlsx_chart_no_fill): Handle noFill when used to avoid lines
1098	between data points.
1099
1100	* xlsx-write-drawing.c (xlsx_write_axis): Factor this out from
1101	xlsx_write_one_plot.  Write axis label.
1102	(xlsx_write_one_chart): Write chart title.
1103
1104	* xlsx-read-drawing.c (xlsx_plot_area): Keep the backplane in
1105	default style.
1106
1107	* xlsx-write-drawing.c (xlsx_write_go_style): Write marker colors.
1108
1109	* xlsx-read-drawing.c (xlsx_chart_solid_fill): Fix reading marker
1110	colors.
1111
1112	* xlsx-write-drawing.c (xlsx_write_go_style): Write marker size.
1113
1114	* xlsx-read-drawing.c (xlsx_chart_marker_size): Read marker size.
1115
1116	* xlsx-write.c (xlsx_write_cols): Make sure we include a width for
1117	default-style columns.  Otherwise XL will see zero width.
1118
11192015-01-16  Morten Welinder  <terra@gnome.org>
1120
1121	* xlsx-write-drawing.c (xlsx_write_go_style): Export line style.
1122	(xlsx_write_go_style): Have a first go at exporting marker shapes.
1123
1124	* xlsx-read-drawing.c (xlsx_style_line_start): Also point to the
1125	right auto_color location so we don't end up ignoring the colors
1126	we read.
1127
11282014-12-16  Morten Welinder  <terra@gnome.org>
1129
1130	* xlsx-write-docprops.c (xlsx_meta_write_props_custom_type):
1131	Booleans should be saved as "true" or "false", not "t" and "f".
1132	Excel refuses to understand the latter.
1133	(xlsx_meta_write_props_custom): Don't reuse prop ids.  Excel does
1134	not like that.
1135
1136	* xlsx-utils.c (xlsx_func_hypgeomdist_output_handler): New handler
1137	for HYPGEOMDIST.
1138
11392014-11-01  Morten Welinder  <terra@gnome.org>
1140
1141	* ms-escher.c (ms_escher_get_data): Plug leak.
1142
1143	* ms-excel-read.c (excel_read_MULRK): Catch crazy column numbers
1144	early.
1145
11462014-10-30  Morten Welinder  <terra@gnome.org>
1147
1148	* ms-excel-read.c (excel_font_get): In case of error, fall back to
1149	font 0 if we have that.
1150	(ms_wb_get_font_markup): Plug leak.
1151
1152	* ms-obj.c (ms_obj_map_forms_obj): Plug leak.
1153
11542014-10-28  Morten Welinder  <terra@gnome.org>
1155
1156	* ms-chart.c (ms_excel_chart_read): Fix double free.
1157
11582014-10-27  Jean Brefort  <jean.brefort@normalesup.org>
1159
1160	* xlsx-read-drawing.c (xlsx_axis_format): add some support for axis format.
1161	* xlsx-write-drawing.c (xlsx_write_one_plot): ditto.
1162
11632014-10-24  Morten Welinder  <terra@gnome.org>
1164
1165	* ms-excel-read.c (excel_get_chars): Plug leak.
1166
1167	* xlsx-read.c (xlsx_file_open): Plug leak.
1168
1169	* xlsx-read-drawing.c (cb_axis_set_position): Plus leak.
1170
11712014-09-25  Morten Welinder <terra@gnome.org>
1172
1173	* Release 1.12.18
1174
11752014-09-20  Morten Welinder  <terra@gnome.org>
1176
1177	* xlsx-write.c (xlsx_write_cells): xml:space evidently isn't
1178	allowed in here.
1179
11802014-09-18  Jean Brefort  <jean.brefort@normalesup.org>
1181
1182	* ms-chart.c (chart_write_axis): save axis format. [#736656]
1183	* ms-excel-write.c (set_ifmt), (excel_write_add_object_format):
1184	* ms-excel-write.h:
1185
11862014-09-10  Morten Welinder  <terra@gnome.org>
1187
1188	* xlsx-read.c: Factor out rich text nodes into a macro.  This
1189	replaces having three copies, more or less up to date.
1190
11912014-09-08  Morten Welinder  <terra@gnome.org>
1192
1193	* xlsx-read.c (xlsx_cell_inline_begin, xlsx_cell_inline_end): New
1194	functions to deal with non-shared rich text strings.
1195
1196	* xlsx-write.c (xlsx_write_cells): Write string values that are
1197	not formula results and not shared using the proper "inlineStr"
1198	type.  Neither Excel nor LO really cares, but someone else does,
1199	see bug 736202.  As a side effect, this will improve the rich-text
1200	situation.
1201
12022014-07-27  Morten Welinder  <terra@gnome.org>
1203
1204	* ms-excel-write.c (excel_write_DIMENSION): Fix off-by-one, see
1205	#733771.
1206
12072014-06-09  Morten Welinder <terra@gnome.org>
1208
1209	* Release 1.12.17
1210
12112014-06-05  Morten Welinder  <terra@gnome.org>
1212
1213	* xlsx-write.c (xlsx_write_rich_text): Fix color attribute.  Only
1214	write xml:space attribute when text has spaces.
1215	(xlsx_write_rich_text): Only write xml:space in contexts where the
1216	schema allow it.  The shared strings table does not allow it.
1217
12182014-06-03  Morten Welinder  <terra@gnome.org>
1219
1220	* xlsx-write.c (xlsx_write_rich_text): Add two missing "break;".
1221	Write only attributes that are present.  Handle superscript/subscript.
1222	(xlsx_write_shared_strings): Handle rich text.
1223	(xlsx_write_cells): Don't actually store a markup format as a cell
1224	format.
1225
1226	* xlsx-read.c (xlsx_run_color): Handle indexed colours.
1227	(xlsx_run_weight): Fix handling of bold.
1228	(xlsx_run_underline): Fix handling of underline.
1229	(xlsx_run_vertalign): New function for superscript/subscript.
1230	(add_attr): New function to ensure start_index and end_index get
1231	initialized.
1232
12332014-06-02  Morten Welinder  <terra@gnome.org>
1234
1235	* xlsx-read.c (handle_delayed_names): Handle empty string for
1236	expression as #REF for the benefit of LO.
1237
12382014-05-31  Morten Welinder  <terra@gnome.org>
1239
1240	* xlsx-write.c (xlsx_write_cells): Support value formats.  Fixes
1241	#724517.
1242	(xlsx_write_workbook): Make styles hash use proper hash and
1243	equality functions.
1244
12452014-05-23  Morten Welinder <terra@gnome.org>
1246
1247	* Release 1.12.16
1248
12492014-04-30  Morten Welinder <terra@gnome.org>
1250
1251	* Release 1.12.15
1252
12532014-04-24  Morten Welinder  <terra@gnome.org>
1254
1255	* xlsx-read-drawing.c (xlsx_chart_title_end): Fix manual
1256	positioning of chart titles.
1257	(xlsx_chart_layout_mode): Read as enum, not bool.  (We still
1258	ignore.)
1259
12602014-04-20  Morten Welinder  <terra@gnome.org>
1261
1262	* xlsx-read-drawing.c (xlsx_chart_solid_fill): When we see a
1263	GO_STYLE_FONT marker, solidFill refers to font colour.
1264	(xlsx_chart_text_start): Set sp_type flag GO_STYLE_FONT.
1265	(xlsx_chart_text): Clear flag.
1266	(xlsx_style_line_start): Handle line width.
1267
12682014-04-19  Morten Welinder  <terra@gnome.org>
1269
1270	* xlsx-read-drawing.c: Constify simple_enum tables and make sure
1271	to check the return value.
1272
12732014-04-19  Morten Welinder  <terra@gnome.org>
1274
1275	* xlsx-read-drawing.c (xlsx_drawing_twoCellAnchor_end): Fix
1276	reading object positions.
1277
12782014-04-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1279
1280	* xlsx-write-drawing.c (xlsx_pts_to_emu): new
1281	(xlsx_write_object_anchor): add offset arguments
1282	(xlsx_write_objects): pass offsets to xlsx_write_object_anchor
1283
12842014-04-17  Morten Welinder  <terra@gnome.org>
1285
1286	* xlsx-read-drawing.c (xlsx_chart_gridlines): Handle minorgrid
1287	too.
1288	(xlsx_axis_info_free): Plug leak.
1289
12902014-04-16  Jean Brefort  <jean.brefort@normalesup.org>
1291
1292	* ms-chart.c (valuerange): ignore the cross value when auto crossing.
1293
12942014-04-14  Morten Welinder  <terra@gnome.org>
1295
1296	* xlsx-read.c (xlsx_ext_begin): Don't complain over "ext".
1297
12982014-04-13  Morten Welinder <terra@gnome.org>
1299
1300	* Release 1.12.14
1301
13022014-04-12  Morten Welinder  <terra@gnome.org>
1303
1304	* xlsx-read-drawing.c: Add more xml grammer.
1305
13062014-03-21  Morten Welinder  <terra@gnome.org>
1307
1308	* ms-excel-write.c (txomarkup_new): Take also string argument.
1309	Don't delete last run without attributes unless it is beyond the
1310	string.
1311
1312	* ms-excel-read.c (ms_wb_get_font_markup): Defined a font's pango
1313	attributes in terms of how it differs from font 0.
1314
1315	* xlsx-write.c (xlsx_find_font): Use new gnm_style_equal_elem.
1316	(xlsx_find_border): Ditto.
1317	(xlsx_find_fill): Ditto.
1318
1319	* xlsx-utils.c (xlsx_output_string, xlsx_string_parser): New
1320	function.  Fixes #726824.
1321
1322	* xlsx-read.c (xlsx_cond_fmt_rule_begin): Match
1323	xlsx_write_cond_rule changes.
1324
1325	* xlsx-write.c (xlsx_write_cond_rule): Write alternate formulas
1326	even for "Starts with" and friends.
1327
1328	* xlsx-read.c (xlsx_cond_fmt_formula_end): Don't throw critical if
1329	we fail to parse the expression.
1330
13312014-03-20  Morten Welinder  <terra@gnome.org>
1332
1333	* xlsx-write.c (xlsx_write_background): Be careful about fields
1334	ordering.  Excel cares.
1335	(xlsx_write_cond_rule): Fix misunderstanding about type names.
1336
13372014-03-19  Morten Welinder  <terra@gnome.org>
1338
1339	* xlsx-write.c (xlsx_find_predefined_fill): Take care not to drop
1340	a background colour even if we have a "none" fill.
1341
1342	* xlsx-read.c (xlsx_cond_fmt_rule_end): Reverse the
1343	alternate-expression uses for certain conditions.
1344
1345	* xlsx-write.c (xlsx_write_dxfs): New function.
1346
1347	* xlsx-read.c (xlsx_CT_CustomFilter): Avoid mixing enums.
1348	(xlsx_cond_fmt_formula_end): Parse expressions in the right parse
1349	position.
1350	(xlsx_cond_fmt_rule_begin): Don't complain over type "expression".
1351	(xlsx_dxf_numfmt): New function to read conditional number
1352	formats.
1353
13542014-03-18  Morten Welinder <terra@gnome.org>
1355
1356	* Release 1.12.13
1357
13582014-03-17  Morten Welinder  <terra@gnome.org>
1359
1360	* ms-excel-write.c (cb_write_condition): Fix handling of font
1361	weight.
1362
13632014-03-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1364
1365	* xlsx-read.c (xlsx_styles_dtd): add stubs
1366
13672014-03-16  Morten Welinder  <terra@gnome.org>
1368
1369	* ms-excel-util.c (xls_header_footer_import): Treat a NULL string
1370	as an empty string.  Redhat #1076912.
1371
13722014-03-15  Morten Welinder  <terra@gnome.org>
1373
1374	* ms-excel-write.c (cb_write_condition): Store superscript and
1375	subscript in the right place.
1376
1377	* ms-excel-read.c (excel_read_CF): Improve record length checks.
1378
13792014-03-12  Morten Welinder  <terra@gnome.org>
1380
1381	* ms-excel-write.c (cb_write_condition): Use
1382	gnm_style_cond_get_alternate_expr for conditions not available in
1383	xls.
1384
1385	* ms-excel-read.c (excel_read_CF): Undo the alternate expression
1386	stuff.
1387
13882014-03-10  Morten Welinder  <terra@gnome.org>
1389
1390	* xlsx-read.c (xlsx_CT_vertAlign): Read super/subscript.
1391	(xlsx_CT_CustomFilter): Preliminary reading of auto filters.
1392
1393	* xlsx-write.c (xlsx_write_fonts): Save super/sub attribute.
1394
13952014-03-05  Morten Welinder  <terra@gnome.org>
1396
1397	* ms-formula-write.c (excel_write_prep_expr): Rewrite in terms of
1398	gnm_expr_walk.
1399
14002014-03-03  Morten Welinder <terra@gnome.org>
1401
1402	* Release 1.12.12
1403
14042014-03-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1405
1406	* xlsx-write.c (xlsx_write_autofilters): write blank filter info
1407
14082014-03-01  Morten Welinder  <terra@gnome.org>
1409
1410	* xlsx-write.c (xlsx_write_autofilters): First stab at writing
1411	most auto-filter selections.
1412
1413	* ms-excel-read.c (excel_sheet_insert_val): Don't set value
1414	format.  We already the full style for the cell in
1415	excel_set_xf.  Fixes #725453.
1416
14172014-02-28  Morten Welinder  <terra@gnome.org>
1418
1419	* crypt-md4.c: Add missing include.  (From Gentoo.)
1420
14212014-02-26  Morten Welinder  <terra@gnome.org>
1422
1423	* ms-biff.c (ms_biff_query_next): Do auto-continue for
1424	BIFF_MERGECELLS.  We don't generate that ourselves, but it's
1425	valid.
1426
1427	* boot.c (excel_save): Make sure to save macros in the
1428	_VBA_PROJECT_CUR directory that we loaded them from.
1429	(excel_save): Restore \001Ole member too.
1430	(excel_save): Save the entire _VBA_PROJECT_CUR directory.
1431
14322014-02-25  Morten Welinder  <terra@gnome.org>
1433
1434	* ms-container.c (ms_container_read_markup): Return NULL when no
1435	attributes are present.  idx==0 is the normal font.
1436
1437	* ms-excel-write.c (excel_write_string_in_chunks): BIFF_TXO uses
1438	BIFF_CONTINUE records in a non-standard way.
1439
1440	* ms-biff.c (ms_biff_query_dump, ms_biff_put_len_next)
1441	(ms_biff_put_var_write): Write symbolic opcode name too.
1442
1443	* xlsx-read.c (xlsx_comment_start): Use cell_comment_set_pos to
1444	the anchor gets set up in a standard way.
1445
1446	* ms-biff.c (ms_biff_put_new): No need for bp->buf anymore.
1447
14482014-02-24  Morten Welinder  <terra@gnome.org>
1449
1450	* xlsx-write.c (xlsx_write_cells): Export row height when it is
1451	not default, even if it is not user-set.
1452	(xlsx_write_style_write_alignment): Fix rotation export for
1453	downward angles.
1454
14552014-02-23  Morten Welinder  <terra@gnome.org>
1456
1457	* ms-excel-util.c (xls_header_footer_export): New function
1458	extracted from...
1459	* xlsx-write.c (xlsx_write_print_info_hf): ...here.
1460
1461	* ms-excel-util.c (xls_header_footer_import): New function
1462	extracted from...
1463	* xlsx-read.c (xlsx_CT_header_footer): ...here.
1464
1465	* ms-excel-write.c (excel_write_HEADER_FOOTER): Properly translate
1466	magic codes.
1467
1468	* xlsx-read.c (xlsx_CT_header_footer): Read headerfooter info.
1469
1470	* xlsx-write.c (xlsx_write_print_info): headerFooter before page
1471	breaks.  Evidently Excel cares.
1472
14732014-02-22  Morten Welinder  <terra@gnome.org>
1474
1475 	* ms-biff.c (ms_biff_query_next): Handle BIFF_CONTINUE for a whole
1476	bunch of record types containing strings or formulae.
1477
1478	* ms-excel-read.c (excel_read_IMDATA): No need to handle
1479	BIFF_CONTINUE here.
1480
1481	* ms-formula-read.c (undo_save_hacks): Undo the
1482	long-string-constant hack in write_string.
1483
1484	* ms-excel-write.c (excel_convert_string): New function.
1485	(excel_write_comments_biff7): Avoid infinite loop when a comment
1486	contains characters that cannot be represented in the codepage.
1487	(excel_write_string): Use excel_convert_string.
1488
14892014-02-21  Morten Welinder  <terra@gnome.org>
1490
1491	* ms-excel-read.c (excel_read_FORMULA): Try to handle missing
1492	expression length.
1493
1494	* ms-biff.c (ms_biff_query_next): Handle CONTINUE record for
1495	BIFF_FORMULA_v0, BIFF_FORMULA_v2, BIFF_STRING_v0, adn
1496	BIFF_STRING_v2 too.
1497
1498	* ms-excel-write.c (excel_write_string): Improve handling of
1499	string overflow.
1500
1501	* ms-formula-write.c (write_string): Split long strings into 255
1502	character chunks: ("s1"&"s2"&...)
1503
15042014-02-20  Morten Welinder  <terra@gnome.org>
1505
1506	* xlsx-write.c (xlsx_write_print_info): First stab at exporting
1507	headers and footers.
1508
1509	* ms-excel-write.c (excel_write_XF): Fix reversed diagonal border
1510	bits.
1511
15122014-02-19  Morten Welinder  <terra@gnome.org>
1513
1514	* ms-excel-write.c (rotation_to_excel_v7): Fix rotation at 270
1515	degrees.
1516
1517	* xlsx-write.c (xlsx_write_fonts): Handle underline.
1518
1519	* ms-excel-write.c (excel_write_HEADER_FOOTER): Use one-byte
1520	strings for BIFF7 and earlier.  That matches the way we read
1521	things.
1522
15232014-02-17  Morten Welinder  <terra@gnome.org>
1524
1525	* xlsx-utils.c (xlsx_conventions_new): use same
1526	decimal_digits as in gnumeric export.
1527
1528	* ms-biff.c (ms_biff_query_next): Handle continuation records
1529	here for certain opcodes.  Fixes part of #724399.
1530
15312014-02-16  Morten Welinder <terra@gnome.org>
1532
1533	* Release 1.12.11
1534
15352014-02-16  Morten Welinder  <terra@gnome.org>
1536
1537	* ms-excel-write.c (excel_write_string): Fix hand.  #724399.
1538
15392014-02-11  Morten Welinder <terra@gnome.org>
1540
1541	* Release 1.12.10
1542
15432014-01-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1544
1545	* xlsx-read.c (xlsx_theme_dtd): add more stubs
1546
15472013-12-21  Morten Welinder  <terra@gnome.org>
1548
1549	* ms-excel-read.c (excel_read_XF): Fix length check.  Fixes
1550	#715002.
1551
1552	* ms-obj.c (read_pre_biff8_read_name_and_fmla): Fix and improve
1553	length check.  Fixes #720358 and #719349.
1554
15552013-12-13  Morten Welinder  <terra@gnome.org>
1556
1557	* ms-excel-read.c (excel_read_WINDOW2): Don't crash of truncated
1558	record.  Fixes #720426.
1559
1560	* xlsx-read.c (xlsx_cell_end): Make sure state->texpr ends up
1561	NULL.  Fixes #720425.
1562
15632013-11-28  Morten Welinder <terra@gnome.org>
1564
1565	* Release 1.12.9
1566
15672013-11-26  Jean Brefort  <jean.brefort@normalesup.org>
1568
1569	* ms-excel-write.c (excel_write_string): fix large strings export. [715110#]
1570	(excel_write_ClientTextbox): fix test.
1571
15722013-11-25  Morten Welinder  <terra@gnome.org>
1573
1574	* ms-excel-write.c (excel_write_string): Fix buffer allocation.
1575
15762013-11-22  Morten Welinder  <terra@gnome.org>
1577
1578	* ms-excel-write.c (excel_write_RSTRING): Truncate markup at text
1579	length.  Fixes #715003.
1580
15812013-11-21  Morten Welinder  <terra@gnome.org>
1582
1583	* ms-obj.c (read_pre_biff8_read_text): Fix fuzzed file problem
1584	#712731.
1585
1586	* xlsx-read.c (xlsx_file_open): A severely malformed document can
1587	leave an expression in the state.  Free that.  Fixes #712788.
1588
15892013-11-20  Morten Welinder  <terra@gnome.org>
1590
1591	* ms-escher.c (ms_escher_get_data): Fix fuzzed file crash.  Fixes
1592	#712772.  Plug leak.
1593
15942013-11-19  Morten Welinder  <terra@gnome.org>
1595
1596	* ms-excel-read.c (excel_read_CF): Check record size.  Fixes
1597	#712708.
1598
1599	* xlsx-read-drawing.c (xlsx_style_line_end): Clear the current
1600	color.  Fixes #712700.
1601
1602	* ms-excel-read.c (excel_read_MERGECELLS): Fix FMR [#712685]
1603
16042013-11-11  Morten Welinder  <terra@gnome.org>
1605
1606	* ms-excel-write.c (excel_write_ClientTextbox): Fix fuzzed file
1607	crash.  [#708091]
1608
16092013-10-07  Morten Welinder <terra@gnome.org>
1610
1611	* Release 1.12.8
1612
16132013-09-13  Morten Welinder  <terra@gnome.org>
1614
1615	* ms-excel-read.c (ms_wb_parse_expr): Clear the whole thing,
1616	notably the v7 part.  Fixes #707875.
1617
16182013-09-01  Morten Welinder <terra@gnome.org>
1619
1620	* Release 1.12.7
1621
16222013-08-27  Morten Welinder <terra@gnome.org>
1623
1624	* Release 1.12.6
1625
16262013-08-20  Morten Welinder  <terra@gnome.org>
1627
1628	* ms-excel-write.c (excel_write_prep_validations): Handle range
1629	with no validation (and therefore with an input message).
1630
16312013-08-19  Morten Welinder <terra@gnome.org>
1632
1633	* Release 1.12.5
1634
16352013-08-15  Morten Welinder  <terra@gnome.org>
1636
1637	* ms-excel-write.c (excel_write_autofilter_names): Fix last fix.
1638	Sometimes we already have _FilterDatabase as a name.  If so,
1639	brutally use it.  Fixes #705947.
1640
16412013-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1642
1643	* ms-chart.c (BC_R(shtprops)): check whether we have enough data
1644
16452013-08-14  Morten Welinder  <terra@gnome.org>
1646
1647	* ms-container.c (ms_container_read_markup): Add/reinstate bounds
1648	check.  Fixes #705866.
1649
16502013-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1651
1652	* excel-xml-read.c (xl_xml_cell_start): remember how many cols
1653	to merge
1654	(xl_xml_cell_end): correctly calc new cell position
1655	(xl_xml_sheet_start): use maximum sheet size
1656	(excel_xml_dtd): add some elements
1657
16582013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1659
1660	* xlsx-read-drawing.c (xlsx_chart_dtd): add more elements
1661
16622013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1663
1664	* ms-excel-read.c (excel_read_LABEL): check for NULL fd
1665
16662013-08-02  Jean Brefort  <jean.brefort@normalesup.org>
1667
1668	* ms-chart.c (axislineformat): fix crah on fuzzed xls reading [#705353],
1669	(chart_write_AI): write all formulas to .xls, even if not  supported by
1670	excel [#705311],
1671	(chart_write_plot): export bubble size scale. [see #705311]
1672
16732013-08-01  Morten Welinder  <terra@gnome.org>
1674
1675	* ms-excel-read.c (excel_read_MULRK): Fix sanity check.  Fixes
1676	#705319.
1677
16782013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1679
1680	* xlsx-write.c (xlsx_write_borders): check for NULL borders
1681
16822013-07-26  Morten Welinder  <terra@gnome.org>
1683
1684	* xlsx-read.c (xlsx_file_open): Release state.val, just in case.
1685
16862013-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1687
1688	* xlsx-write-pivot.c (xlsx_write_pivot_val): check for NULL
1689	value
1690	(xlsx_write_pivot_cache_records): ditto
1691
16922013-07-10  Morten Welinder <terra@gnome.org>
1693
1694	* Release 1.12.4
1695
16962013-07-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1697
1698	* ms-excel-read.c (excel_read_HLINK): check for NULL data
1699
17002013-07-09  Morten Welinder  <terra@gnome.org>
1701
1702	* ms-formula-read.c (getRefV8): Take GnmSheetSize argument.
1703	Verify row against that.  All callers changed.  Fixes #703306.
1704
17052013-07-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1706
1707	* xlsx-read.c (xlsx_sheet_dtd): attach protectedRange to the
1708	correct parent
1709
17102013-07-02  Morten Welinder  <terra@gnome.org>
1711
1712	* ms-excel-write.c (excel_write_autofilter_names): Use
1713	expr_name_unref, not expr_name_remove since the fake name is not
1714	in any scope.  Fixes #703308.
1715
17162013-06-30  Morten Welinder  <terra@gnome.org>
1717
1718	* ms-excel-read.c (excel_read_BOUNDSHEET): Check record length.
1719	Fixes #703307.
1720
17212013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1722
1723	* xlsx-read-drawing.c (xlsx_axis_crosses_at): check for null
1724	axis->info
1725	(xlsx_axis_crosses): check for null axis->info
1726
17272013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1728
1729	* ms-formula-read.c (ms-formula-read.c): add another
1730	synonym
1731
17322013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1733
1734	* xlsx-utils.c (xlsx_func_betadist_handler): delete again
1735	(xlsx_func_dist_handler): remove density scaling argument,
1736	change all callers
1737	(xlsx_conventions_new): disconnect xlsx_func_betadist_handler
1738
17392013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1740
1741	* xlsx-utils.c (xlsx_func_betadist_handler): new
1742	(xlsx_func_dist_handler): add density scaling argument, change
1743	all callers
1744	(xlsx_conventions_new): connect xlsx_func_betadist_handler
1745
17462013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1747
1748	* xlsx-utils.c (xlsx_func_lognormdist_handler): new
1749	(xlsx_func_negbinomdist_handler): new
1750	(xlsx_conventions_new): connect the above two
1751
17522013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1753
1754	* xlsx-utils.c (xlsx_func_binominv_handler): use GnmExprList
1755	rather than GSList
1756	(xlsx_func_dist_handler): new
1757	(xlsx_func_chisqdist_handler): new
1758	(xlsx_func_fdist_handler): new
1759	(xlsx_conventions_new): connect the last two
1760
17612013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1762
1763	* xlsx-utils.c (xlsx_func_erf_output_handler): new
1764	(xlsx_conventions_new): connect the above and add erf.precise
1765	translation
1766
17672013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1768
1769	* xlsx-utils.c (xlsx_conventions_new): add MODE.SNGL
1770	translation
1771
17722013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1773
1774	* xlsx-utils.c (xlsx_func_betainv_output_handler): new
1775	(xlsx_func_gammainv_output_handler): new
1776	(xlsx_func_lognorminv_output_handler): new
1777	(xlsx_func_tinv_output_handler): new
1778	(xlsx_conventions_new): connect the above
1779
17802013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1781
1782	* xlsx-utils.c (xlsx_write_r_q_func): add argument and change
1783	all callers to use ....RT function if available
1784	(xlsx_func_r_q_output_handler): add argument and change all
1785	callers
1786
17872013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1788
1789	* xlsx-utils.c (xlsx_write_r_q_func): add argument and change
1790	all callers
1791	(xlsx_func_r_q_output_handler): add argument and change all
1792	callers
1793	(xlsx_func_binominv_output_handler): use xlsx_func_r_q_output_handler
1794
17952013-06-25  Morten Welinder <terra@gnome.org>
1796
1797	* Release 1.12.3
1798
17992013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1800
1801	* xlsx-utils.c (xlsx_func_r_q_output_handler): use variable
1802	rather than hard code (wrong) constant
1803
18042013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1805
1806	* xlsx-utils.c (xlsx_write_r_q_func): new
1807	(xlsx_func_r_q_output_handler): new
1808	(xlsx_func_norminv_output_handler): new
1809	(xlsx_func_chisqinv_output_handler): use
1810	xlsx_func_r_q_output_handler
1811	(xlsx_func_finv_output_handler): ditto
1812	(xlsx_conventions_new): connect
1813	xlsx_func_norminv_output_handler
1814
18152013-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1816
1817	* xlsx-utils.c (xlsx_func_binominv_output_handler):
1818	simplify the expression if some of the flags are constant
1819
18202013-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1821
1822	* xlsx-utils.c (xlsx_func_binominv_output_handler):
1823	translate the expression even for more than 3 arguments
1824
18252013-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1826
1827	* xlsx-utils.c (xlsx_func_floor_output_handler): new
1828	(xlsx_conventions_new): connect new handler
1829
18302013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1831
1832	* ms-formula-read.c (ms-formula-read.c): add more
1833	synonyms
1834	* xlsx-utils.c (xlsx_conventions_new): add more
1835	synonyms
1836
18372013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1838
1839	* ms-formula-read.c (ms-formula-read.c): add
1840	"f.inv" --> "r.qf"
1841	* xlsx-utils.c (xlsx_func_finv_output_handler): new
1842	(xlsx_conventions_new): connect new handler and add
1843	"f.inv" --> "r.qf" translation
1844
18452013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1846
1847	* ms-formula-read.c (ms-formula-read.c): add
1848	"chisq.inv" --> "r.qchisq"
1849	* xlsx-utils.c (xlsx_func_chisqinv_output_handler): new
1850	(xlsx_conventions_new): connect new handler and add
1851	"chisq.inv" --> "r.qchisq" translation
1852
18532013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1854
1855	* xlsx-utils.h: remove duplicates
1856	(xlsx_conventions_new): add argument
1857	* xlsx-read.c (xlsx_file_open): add argument to
1858	xlsx_conventions_new
1859	* xlsx-write.c (xlsx_write_workbook): ditto
1860	* xlsx-utils.c (xlsx_func_map_in): recognize our own functions
1861	(xlsx_func_map_out): new
1862	(xlsx_func_binominv_output_handler): new
1863	(xlsx_conventions_new): add argument and initialize
1864	output hashes and function translator
1865
18662013-06-21  Morten Welinder  <terra@gnome.org>
1867
1868	* ms-formula-read.c (make_function): Eliminate typo.  Fixes
1869	#702789.
1870
18712013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1872
1873	* xlsx-utils.c (XLSXExprConventions): add field
1874	(xlsx_func_map_in): chcek and use handler
1875	(xlsx_func_binominv_handler): new
1876	(xlsx_conventions_new): initialize xlfn_handler_map
1877	(xlsx_conventions_free): free the hash here
1878
18792013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1880
1881	* xlsx-utils.c (XLSXExprConventions): add field
1882	(xlsx_func_map_in): do not initialize xlfn_map here
1883	(xlsx_conventions_new): but here
1884	(xlsx_conventions_free): free the hash here.
1885
18862013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1887
1888	* xlsx-utils.c (xlsx_func_map_in): new
1889	(xlsx_conventions_new): connect the above
1890
18912013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1892
1893	* ms-formula-read.c (xl2010_synonyms): add more functions
1894
18952013-06-20  Morten Welinder  <terra@gnome.org>
1896
1897	* ms-formula-read.c (xl2010_synonyms): Map new function names to
1898	the ones we used.
1899
19002013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1901
1902	* xlsx-read.c (xlsx_pattern): set a default pattern
1903
19042013-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1905
1906	* ms-excel-read.c (excel_read_CF_border): change GnmStyleCond
1907	argument to GnmStyle
1908	(excel_read_CF): pass the overlay not the empty condition to
1909	excel_read_CF_border
1910
19112013-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1912
1913	* xlsx-read.c (xlsx_workbook_dtd): avoid duplication
1914
19152013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1916
1917	* xlsx-read.c (xlsx_validation_expr): check for null validation;
1918
19192013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1920
1921	* xlsx-read-drawing.c: connect "ext" handler
1922	* xlsx-read.c: declare xlsx_ext_begin early
1923
19242013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1925
1926	* xlsx-read.c (xlsx_read_external_book): also try an alternative url
1927	(xlsx_read_external_sheetname): check whether we have a book before
1928	adding sheets to it.
1929
19302013-06-16  Morten Welinder  <terra@gnome.org>
1931
1932	* xlsx-read-drawing.c (xlsx_blip_start): Handle errors in getting
1933	blip.  Fixes #702379.
1934
19352013-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1936
1937	* xlsx-read.c (xlsx_read_chart): there may not be any plots in a chart.
1938
19392013-06-13  Morten Welinder  <terra@gnome.org>
1940
1941	* ms-excel-read.c (excel_read_COLINFO): Fix crash.  [#702182]
1942
19432013-06-13  Jean Brefort  <jean.brefort@normalesup.org>
1944
1945	* ms-chart.c (end): don't crash when exchanging missing axes. [#702126]
1946
19472013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1948
1949	* xlsx-write.c (xlsx_write_print_info): fix typo
1950	* xlsx-read.c (xlsx_sheet_page_setup): read more attributes
1951	(xlsx_CT_PageSetup): read more attributes
1952
19532013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1954
1955	* xlsx-write.c (xlsx_write_print_info): always write fitTo*
1956	(xlsx_write_sheet): write pageSetUpPr
1957
19582013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1959
1960	* xlsx-read.c (xlsx_set_paper_from_code): update paper list
1961
19622013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1963
1964	* xlsx-write.c (xlsx_find_paper_code): use the complete list
1965	(xlsx_write_print_info): write all applicable attributes
1966
19672013-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1968
1969	* xlsx-read.c (xlsx_parse_distance): new
1970	(attr_distance): new
1971	(xlsx_paper_size): new
1972	(xlsx_set_paper_from_code): new
1973	(xlsx_CT_PageSetup): handle paper size
1974
19752013-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1976
1977	* xlsx-write.c (xlsx_write_print_info): write paper size
1978	(xlsx_add_pt): new
1979	(xlsx_find_paper_code): new
1980
19812013-06-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1982
1983	* xlsx-read.c (xlsx_CT_PageSetup): new
1984	* xlsx-write.c (xlsx_write_print_info): write orientation
1985
19862013-06-05  Morten Welinder  <terra@gnome.org>
1987
1988	* ms-excel-write.c (excel_write_HLINKs): Don't remove hlinks here.
1989	(excel_sheet_new): Collect hlinks regardless of biff version.
1990	Fixes #701604.
1991
19922013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
1993
1994	* xlsx-read.c (xlsx_ext_begin): new
1995	(xlsx_sheet_dtd): connect the above
1996	(xlsx_workbook_dtd): connect the above
1997	(xlsx_styles_dtd): connect the above
1998
19992013-04-29  Morten Welinder  <terra@gnome.org>
2000
2001	* xlsx-read.c (xlsx_cell_end): Don't create empty cells.
2002
20032013-04-26  Morten Welinder <terra@gnome.org>
2004
2005	* Release 1.12.2
2006
20072013-04-22  Morten Welinder  <terra@gnome.org>
2008
2009	* boot.c (excel_enc_file_open): Plug leak.
2010
2011	* ms-excel-read.c (excel_read_FONT): Ensure ->script, ->underline,
2012	and ->codepage are set.
2013	(gnm_xl_importer_new): Set more pivot fields.
2014
20152013-04-20  Morten Welinder  <terra@gnome.org>
2016
2017	* ms-excel-read.c (excel_read_name_str): Make sure we don't end up
2018	requesting (size_t)-1 characters worth of data.  Fixes #698424,
2019	initial item.
2020	(ms_wb_parse_expr): NULL the dummy container vtable.
2021
20222013-04-15  Morten Welinder  <terra@gnome.org>
2023
2024	* ms-formula-write.c (write_arrays): Handle empty values properly.
2025
2026	* ms-formula-read.c (excel_parse_formula1): Handle empty values in
2027	array constants.  Fix handling of booleans and errors in array
2028	constants.
2029	(excel_parse_name): Add argument for array data length.  All
2030	callers changed.  Fixes #654211.
2031
2032	* ms-excel-write.c (excel_write_PAGE_BREAK): Make implied cast of
2033	columnm/row number to guint16 explicit.  See #693979.
2034
20352013-04-14  Morten Welinder  <terra@gnome.org>
2036
2037	* ms-excel-write.c (excel_write_NAME): Store the name's length in
2038	characters, not bytes.  This matches the read side and fixes
2039	#608780.
2040
20412013-04-10  Morten Welinder  <terra@gnome.org>
2042
2043	* ms-formula-write.c (do_excel_write_prep_expr): Fix unintentional
2044	duplication of externnames.
2045
2046	* ms-excel-write.h (struct _XLSExporter): Change externnames
2047	member to a GPtrArray of char*.
2048
2049	* formula-types.h (ExcelFuncDesc): Add explicit index.
2050
2051	* ms-formula-read.c (make_function): Fix importing of GAMMA (and
2052	others) from LibreOffice's xls files.
2053
20542013-04-09  Morten Welinder  <terra@gnome.org>
2055
2056	* ms-formula-read.c (make_function): Fix importing of IFERROR and
2057	perhaps other newer functions.
2058
20592013-03-09  Morten Welinder <terra@gnome.org>
2060
2061	* Release 1.12.1
2062
20632013-02-24  Jean Brefort  <jean.brefort@normalesup.org>
2064
2065	* ms-chart.c (get_style), (ms_excel_chart_read): add explicit casts to
2066	fix some warnings.
2067	* xlsx-read-drawing.c (xlsx_style_line_start): ditto.
2068
20692013-02-22  Morten Welinder  <terra@gnome.org>
2070
2071	* ms-excel-write.c (gather_styles): Use sheet_cells, not
2072	sheet_cell_foreach, so the output won't depend on hash order.
2073
20742013-02-14  Jean Brefort  <jean.brefort@normalesup.org>
2075
2076	* ms-chart.c (get_style): reversed previous change.
2077	* xlsx-read-drawing.c (xlsx_style_line_start): ditto.
2078
20792013-02-10  Jean Brefort  <jean.brefort@normalesup.org>
2080
2081	* ms-chart.c (get_style): use go_style_new() instead of gog_style_new().
2082	* xlsx-read-drawing.c (xlsx_style_line_start): ditto.
2083
20842013-02-10  Jean Brefort  <jean.brefort@normalesup.org>
2085
2086	* xlsx-read-drawing.c (xlsx_drawing_preset_geom): fix uninitialized an
2087	variable issue. [#693492]
2088
20892013-02-05  Jean Brefort  <jean.brefort@normalesup.org>
2090
2091	* ms-chart.c (ms_excel_chart_read): don't use deprecated gog_style_new().
2092
20932013-01-03  Morten Welinder  <terra@gnome.org>
2094
2095	* ms-excel-read.h (XL_EXTERNSHEET_MAGIC_SELFREF)
2096	(XL_EXTERNSHEET_MAGIC_DELETED): Intorduce symbolic names for magic
2097	constants.  All users changed.
2098
20992013-01-01  Morten Welinder  <terra@gnome.org>
2100
2101	* ms-excel-write.c (excel_font_overlay_pango): Don't use
2102	deprecated goffice stuff.
2103
21042012-12-24  Morten Welinder  <terra@gnome.org>
2105
2106	* xlsx-write-drawing.c (xlsx_write_one_plot): Silence warning.
2107
21082012-12-18  Morten Welinder <terra@gnome.org>
2109
2110	* Release 1.12.0
2111
21122012-12-18  Morten Welinder  <terra@gnome.org>
2113
2114	* xlsx-write-drawing.c (xlsx_write_chart): Avoid creating empty
2115	charts files.  Fixes #690203.
2116
21172012-11-29  Morten Welinder <terra@gnome.org>
2118
2119	* Release 1.11.91
2120
21212012-11-16  Morten Welinder <terra@gnome.org>
2122
2123	* Release 1.11.90
2124
21252012-11-06  Morten Welinder  <terra@gnome.org>
2126
2127	* xlsx-read.c (xlsx_cond_fmt_formula_end): Plug leak.
2128
21292012-10-17  Morten Welinder  <terra@gnome.org>
2130
2131	* xlsx-write.c (count_default_rows): Delete.
2132	(xlsx_write_cells): Simplify and speed up using
2133	sheet_style_get_nondefault_rows.
2134
21352012-10-06  Morten Welinder  <terra@gnome.org>
2136
2137	* xlsx-write.c (xlsx_write_cells): Get all cells in the order we
2138	need them instead of doing a million lookups.  Don't write styles
2139	that match the column default -- especially not for cells with
2140	style only.
2141	(xlsx_write_cols): Write column default styles.
2142
21432012-09-06  Morten Welinder <terra@gnome.org>
2144
2145	* Release 1.11.6
2146
21472012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2148
2149	* xlsx-read-pivot.c (xlsx_CT_pivotCacheDefinition): also look for
2150	refreshedDateIso
2151
21522012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2153
2154	* plugin.xml.in: refer to ISO/IEC 29500:2008 and emphasize the
2155	Standards compliance
2156
21572012-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2158
2159	* xlsx-read.c (xlsx_webpub_begin): new
2160	(xlsx_workbook_dtd): new
2161
21622012-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2163
2164	* xlsx-read.c (xlsx_border_begin_v2): new
2165	(xlsx_file_open): use version info to set the saver
2166
21672012-08-03  Jean Brefort  <jean.brefort@normalesup.org>
2168
2169	* boot.c (excel_read_metadata), (excel_save): replace deprecated functions
2170	calls.
2171
21722012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2173
2174	* ms-excel-read.c (excel_read_AUTOFILTER): adjust call to
2175	gnm_filter_condition_new_bucket
2176	* xlsx-read.c (xlsx_CT_Top10): adjust call to
2177	gnm_filter_condition_new_bucket
2178
21792012-08-01  Jean Brefort  <jean.brefort@normalesup.org>
2180
2181	* excel-xml-read.c (parse_color): Rename style_color_new_i8.
2182	* ms-excel-read.c (excel_palette_get), (excel_read_WINDOW2): ditto.
2183
21842012-07-18  Morten Welinder  <terra@gnome.org>
2185
2186	* ms-excel-read.c (excel_read_LABEL): Fix crash [#679992].
2187	(excel_read_XF_OLD): Fix length check.
2188	(excel_read_FORMAT): Fix length check for pre-v7 records.
2189	(excel_read_FONT): Guess codepage for <=v4 records.
2190
21912012-07-15  Morten Welinder <terra@gnome.org>
2192
2193	* Release 1.11.5
2194
21952012-06-25  Morten Welinder <terra@gnome.org>
2196
2197	* Release 1.11.4
2198
21992012-04-21  Morten Welinder <terra@gnome.org>
2200
2201	* Release 1.11.3
2202
22032012-03-27  Morten Welinder  <terra@gnome.org>
2204
2205	* ms-excel-write.c (excel_write_selections): Evidently we should
2206	not restrict the cursor position to the pane.  Fixes #671513 [2].
2207
2208	* ms-excel-read.c (excel_read_SELECTION): Read in sane order.
2209
2210	* ms-excel-write.c (excel_write_SELECTION): Write in reverse
2211	order.
2212
22132012-03-12  Morten Welinder  <terra@gnome.org>
2214
2215	* ms-formula-write.c (write_node): Handle sets.
2216
2217	* ms-excel-write.c (excel_write_chart_v8): Regularlize code and
2218	output object name too.
2219
2220	* ms-chart.c (chart_write_LEGEND): Include the style when writing
2221	text.
2222
22232012-03-11  Morten Welinder  <terra@gnome.org>
2224
2225	* ms-excel-write.c (excel_write_SETUP): Export paper size.
2226
2227	* ms-excel-util.c (xls_paper_name): Extract from ms-excel-read.c
2228	(xls_paper_size): New pseudo-inverse of above.
2229
2230	* ms-excel-write.c (excel_write_obj_v8): Handle graphs here too.
2231	(excel_sheet_new): Put graphs into the regular object queue too.
2232
22332012-03-10  Morten Welinder  <terra@gnome.org>
2234
2235	* ms-excel-write.c (excel_write_DEFAULT_ROW_HEIGHT)
2236	(excel_write_ROWINFO): Add 1e-6 to toughen against rounding
2237	errors.
2238
2239	* ms-excel-read.c (excel_read_COLINFO): Drop work-around for buggy
2240	pre-Gnumeric 1.7.5 export.  This fixes hard-size-set detection for
2241	11_1040.xls
2242
2243	* ms-excel-write.c (excel_write_objs_v8): Unify writing of objects
2244	to help fix stacking issues.
2245	(excel_sheet_new): Eliminate special lists for lines and
2246	textboxes.
2247	(cb_write_condition): Make export of conditional italic match
2248	import.
2249
22502012-03-09  Morten Welinder  <terra@gnome.org>
2251
2252	* xlsx-write.c (xlsx_write_sheet): Use new
2253	sheet_style_most_common.
2254
2255	* ms-excel-write.c (excel_sheet_extent): Use new
2256	sheet_style_get_nondefault_extent.
2257	(gather_styles): Gather styles for all columns.
2258	(excel_write_colinfos): Ensure a column style for all columns.
2259	(excel_sheet_write_block): Drop only styles that differ from the
2260	column default.  Visibility is irrelevant.
2261	(excel_sheet_new): Use new sheet_style_most_common.
2262
22632012-03-08  Morten Welinder  <terra@gnome.org>
2264
2265	* ms-formula-write.c (excel_write_formula): Base length
2266	calculation on position, not length.  That matters if we have
2267	seeked.
2268
2269	* ms-excel-write.c (excel_write_image_v8): Reimplement based on
2270	excel_write_textbox_or_widget_v8.
2271	(excel_write_textbox_or_widget_v8): Don't write text style
2272	properties unless we have a text.
2273	(excel_write_vector_blip, excel_write_raster_blip): Constify.
2274
2275	* ms-excel-read.c (excel_fill_bmp_header): Fix incorrect use of
2276	sizeof.
2277
22782012-03-07  Morten Welinder  <terra@gnome.org>
2279
2280	* ms-obj.c (ms_obj_read_pre_biff8_obj): Use symbolic object type
2281	names, not magic constants.
2282
2283	* ms-excel-read.c (ms_sheet_parse_expr_internal): Fix crash when
2284	debugging was turned on.
2285
2286	* ms-excel-write.c (cb_write_condition): Actually save the font
2287	flags.  Part of #671531.
2288	(excel_write_ClientTextbox): Fix confusion between byte offsets
2289	and character offsets.
2290	(excel_write_RSTRING): Ditto.  Part of #671531.
2291	(cb_write_condition): Fix pattern export.  Part of #671531.
2292
22932012-03-06  Morten Welinder  <terra@gnome.org>
2294
2295	* ms-excel-write.c (cb_write_condition): Handle lack of style
2296	conditions.
2297	(excel_write_prep_conditions): Ditto.
2298	(put_colors): Ditto.  Fixes crash of #671267.
2299	(write_sheet_head): Export page breaks even if we have one of
2300	horizontal/vertical.  Part of #671531.
2301
23022012-03-02  Morten Welinder <terra@gnome.org>
2303
2304	* Release 1.11.2
2305
23062012-01-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2307
2308	* xlsx-read.c (attr_bool): accept "true"
2309	(xlsx_run_style): If val is missing it defaults to TRUE
2310	(xlsx_run_color): fix the range of values for the pango color
2311	attribute
2312	(xlsx_comment_text): rename to xlsx_r_text
2313	(cb_trunc_attributes): new
2314	(xlsx_comment_rich_text): rename to xlsx_rich_text and make sure
2315	the attributes do not spill into the next run
2316	(xlsx_sstitem_start): new
2317	(xlsx_sstitem_end): use state->r_text
2318	(xlsx_shared_strings_dtd): connect rich text items
2319
23202012-01-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2321
2322	* xlsx-read.c (xlsx_cell_inline_text_end): new
2323	(xlsx_sheet_dtd): connect the above
2324
23252011-12-27  Jean Brefort  <jean.brefort@normalesup.org>
2326
2327	* xlsx-read-drawing.c (xlsx_chart_text_start),
2328	(xlsx_draw_text_run_props): always set a font size.
2329
23302011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2331
2332	* xlsx-read-docprops.c (xlsx_read_core_keys): use G_VALUE_INIT
2333	* xlsx-read.c: add dead-kittens.h
2334
23352011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2336
2337	* excel-xml-read.c (xl_xml_selection): adjust call to
2338	sv_selection_add_full
2339	* ms-excel-read.c (excel_read_SELECTION): adjust calls to
2340	sv_selection_add_full and sv_selection_add_pos
2341
23422011-11-27  Morten Welinder <terra@gnome.org>
2343
2344	* Release 1.11.1
2345
23462011-11-24  Morten Welinder <terra@gnome.org>
2347
2348	* Release 1.11.0
2349
23502011-11-21  Morten Welinder  <terra@gnome.org>
2351
2352	* xlsx-read.c (start_update_progress): Handle NULL xin.
2353	(xlsx_file_open): Use right input stream for progress update.
2354	Fixes an FMR.
2355
23562011-11-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>
2357
2358	* ms-excel-read.c (excel_read_SETUP): rename
2359	PRINT_ERROR and PRINT_COMMENTS constants
2360	* ms-excel-write.c (excel_write_SETUP): ditto
2361
23622011-10-29  Jean Brefort  <jean.brefort@normalesup.org>
2363
2364	* xlsx-read-drawing.c (xlsx_blip_start): don't set an invalid
2365	image type.
2366
23672011-10-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2368
2369	* ms-excel-read.c (ms_wb_get_font_markup): use
2370	subscript/superscript attributes
2371	* ms-excel-write.c (excel_font_overlay_pango): export
2372	subscript/superscript attributes (and fix PANGO_ATTR_RISE
2373	handling)
2374
23752011-10-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2376
2377	* xlsx-write.c (xlsx_write_sheet): don't miss cell content that
2378	yields empty cells
2379
23802011-10-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2381
2382	* ms-excel-read.c (excel_choose_border): new
2383	(excel_set_xf): check for border consistency
2384
23852011-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2386
2387	* ms-excel-read.c (gnm_xl_get_codepage): use guint
2388
23892011-08-29  Jean Brefort  <jean.brefort@normalesup.org>
2390
2391	* xlsx-read-drawing.c (xlsx_ser_labels_show_val),
2392	(xlsx_ser_labels_show_cat), (xlsx_ser_labels_start),
2393	(xlsx_data_label_show_val), (xlsx_data_label_show_cat),
2394	(xlsx_data_label_start): set a default separator.
2395
23962011-08-28  Jean Brefort  <jean.brefort@normalesup.org>
2397
2398	* ms-chart.c (end), (xl_chart_import_error_bar),
2399	(ms_excel_chart_read), (store_dim), (chart_write_series): moved
2400	two helpers to goffice.
2401	* xlsx-read-drawing.c (xlsx_tx_pr), (xlsx_draw_text_run_props),
2402	(xlsx_ser_labels_show_val), (xlsx_ser_labels_show_cat),
2403	(xlsx_ser_labels_pos), (xlsx_ser_labels_start),
2404	(xlsx_ser_labels_end), (xlsx_data_label_pos),
2405	(xlsx_data_label_index), (xlsx_data_label_show_val),
2406	(xlsx_data_label_show_cat), (xlsx_data_label_start),
2407	(xlsx_chart_ser_f), (xlsx_chart_solid_fill),
2408	(xlsx_draw_color_themed): fix various data labels import issues.
2409
24102011-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2411
2412	* xlsx-read-drawing.c (xlsx_ser_data_show_val),
2413	(xlsx_ser_data_show_cat), (xlsx_ser_data_pos),
2414	(xlsx_ser_data_start), (xlsx_chart_ser_f): import data labels,
2415	(xlsx_chart_solid_fill): fix fill color.
2416
24172011-08-22  Jean Brefort  <jean.brefort@normalesup.org>
2418
2419	* xlsx-read-drawing.c (xlsx_chart_ser_f): fix import of series names.
2420
24212011-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2422
2423	* ms-excel-write.c (cb_cell_pre_pass): avoid synthesizing the same style several
2424	times
2425
24262011-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2427
2428	* ms-excel-write.c (cb_cell_pre_pass): synthesize wrap-text style if necessary
2429	(build_xf_data): we need to write wrap-text in variant 4
2430
24312011-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2432
2433	* xlsx-read-docprops.c (xlsx_read_docprops_*): handle progress reports
2434	* xlsx-read.c (maybe_update_progress): new
2435	(start_update_progress): new
2436	(end_update_progress): new
2437	(xlsx_CT_Row): handle progress reports
2438	(xlsx_CT_RowsCols_end): handle progress reports
2439	(xlsx_sheet_begin): handle progress reports
2440	(xlsx_comment_end): ditto
2441	(xlsx_wb_end): ditto
2442	(xlsx_file_open): ditto
2443
24442011-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2445
2446	* xlsx-read-drawing.c (xlsx_scatter_style): also read incorrect "markers"
2447	* xlsx-write-drawing.c (xlsx_write_chart): write "marker" rather than "markers"
2448
24492011-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2450
2451	* plugins/excel/boot.c (excel_enc_file_open): new
2452	(excel_file_open): use excel_enc_file_open
2453	* plugins/excel/excel.h (excel_read_workbook): add argument
2454	* plugins/excel/ms-excel-read.c (excel_read_FONT): for charset 0 consider
2455	encoding override
2456	(gnm_xl_get_codepage): new
2457	(gnm_xl_importer_new): add argument, change caller and convert codepage override
2458	(excel_read_workbook): add argument and change all callers
2459	* plugins/excel/ms-excel-read.h (_GnmXLImporter): add field
2460	* plugins/excel/plugin.xml.in: add new encoding dependent file opener
2461
24622011-08-12  Valek Filippov <frob@gnome.org>
2463
2464	* plugins/excel/ms-excel-read.c (excel_read_FONT): convert charset to codepage
2465	and store in ExcelFont
2466	(excel_get_chars): set str_iconv based on codepage and change all callers
2467	(plugins/excel/ms-excel-read.h): change charset to codepage in ExcelFont
2468
24692011-08-11  Valek Filippov <frob@gnome.org>
2470
2471	* plugins/excel/ms-excel-read.c (excel_read_FONT): store charset in ExcelFont
2472	(excel_read_LABEL): pass charset to excel_get_text_fixme
2473	(excel_get_text_fixme): pass charset to excel_get_text
2474	(excel_get_chars): set str_iconv based on charset and change all callers
2475	(plugins/excel/ms-excel-read.h): add charset to ExcelFont
2476
24772011-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2478
2479	* plugins/excel/plugin.xml.in: use TM symbol
2480
24812011-07-31  Morten Welinder <terra@gnome.org>
2482
2483	* Release 1.10.17
2484
24852011-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2486
2487	* excel-xml-read.c: Use G_GNUC_UNUSED
2488	(excel_xml_dtd): add PageMargins
2489	(xl_xml_data_end): parse numbers carefully
2490	(excel_xml_file_open): switch to C locale
2491
24922011-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2493
2494	* xlsx-read.c (xlsx_wb_name_end): check for "_xlnm." prefix
2495	* xlsx-write.c (xlsx_write_named_expression): also write permanent
2496	expressions
2497
24982011-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2499
2500	* xlsx-write.c (xlsx_write_named_expression): new
2501	(xlsx_write_definedNames): new
2502	(xlsx_write_workbook): call xlsx_write_definedNames
2503
25042011-07-03  Jean Brefort  <jean.brefort@normalesup.org>
2505
2506	* xlsx-read-drawing.c (xlsx_chart_text_start), (xlsx_chart_text),
2507	(xlsx_read_chart): fixed loading xlsx files with empty chart titles.
2508
25092011-07-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2510
2511	* xlsx-write-docprops.c (xlsx_map_prop_name_to_output_fun):
2512	use GSF_META_NAME_MM_CLIP_COUNT
2513	* xlsx-read-docprops.c: use GSF_META_NAME_MM_CLIP_COUNT
2514
25152011-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2516
2517	* xlsx-write-docprops.c (xlsx_read_core_keys): implement
2518
25192011-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2520
2521	* xlsx-write-docprops.c (xlsx_map_to_keys): new
2522	(xlsx_map_prop_name_to_output_fun): connect xlsx_map_to_keys
2523	(xlsx_meta_write_props): depend on xlsx_map_prop_name_to_output_fun
2524	even for keywords
2525
25262011-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2527
2528	* xlsx-utils.h (XL_NS_PROP_CUSTOM): new
2529	* xlsx-read.c (XLSXReadState): new field meta_prop_name
2530	(XL_NS_PROP_CUSTOM): new namespace
2531	* xlsx-read-docprops.c (xlsx_read_property_begin): new
2532	(xlsx_read_property_end): new
2533	(xlsx_read_custom_property_type): new
2534	(xlsx_read_custom_property): new
2535	(xlsx_read_property_date): new
2536	(xlsx_docprops_custom_dtd): new
2537	(xlsx_docprops_extended_dtd): add elements
2538	(xlsx_read_docprops_custom): new
2539	(xlsx_read_docprops): call xlsx_read_docprops_custom
2540
25412011-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2542
2543	* xlsx-write.c: new includes (for xlsx-write-docprops.c)
2544	* xlsx-write-docprops.c (xlsx_map_time_to_int): new
2545	(xlsx_map_to_int): new
2546	(xlsx_map_to_bool): new
2547	(xlsx_map_to_date_core): new
2548	(xlsx_map_prop_name_to_output_fun): new
2549	(xlsx_meta_write_props_extended): use xlsx_map_prop_name_to_output_fun
2550	(xlsx_map_prop_type): replaced by xlsx_map_prop_name_to_output_fun
2551	(xlsx_meta_write_props): use xlsx_map_prop_name_to_output_fun
2552	(xlsx_map_to_pid): new
2553	(xlsx_meta_write_props_custom): new
2554	(xlsx_write_docprops_custom): call xlsx_meta_write_props_custom
2555
25562011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2557
2558	* xlsx-write-docprops.c (xlsx_write_docprops_custom):
2559	enable
2560	* xlsx-write.c (ns_docprops_custom): new
2561	(xlsx_write_fills): Kspread needs the formats implied by
2562	Excel
2563
25642011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2565
2566	* xlsx-write-docprops.c (xlsx_write_docprops_app): The
2567	AppVersion format should really be d.dddd.
2568
25692011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2570
2571	* xlsx-read-docprops.c (xlsx_read_core_prop_type): renamed
2572	to xlsx_read_prop_type
2573	(xlsx_read_core_prop): renamed to xlsx_read_prop
2574	(xlsx_read_core_prop_dt): renamed to xlsx_read_prop_dt
2575	(xlsx_read_prop_int): new
2576	(xlsx_read_prop_boolean): new
2577	(xlsx_docprops_extended_dtd): new
2578	(xlsx_read_docprops_extended): implement
2579	* xlsx-read.c (xlsx_ns): add name spaces
2580	* xlsx-utils.h (XL_NS_PROP): new
2581	(XL_NS_PROP_VT): new
2582	* xlsx-write-docprops.c (xlsx_write_docprops_app): The
2583	AppVersion format is prescribed to d.dddd.
2584
25852011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2586
2587	* xlsx-write.c (ns_docprops_extended_vt): new
2588	* xlsx-write-docprops.c (xlsx_map_prop_name_extended): new
2589	(xlsx_meta_write_props_extended): new
2590	(xlsx_write_docprops_app): write more properties
2591	(xlsx_write_docprops_core): no need to remove the generator
2592	meta data, we only write selected props anyways.
2593
25942011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2595
2596	* xlsx-write.c (xlsx_write_predefined_fills): new
2597	(xlsx_write_fills): use the above
2598	(xlsx_find_predefined_fill): new
2599	(xlsx_find_fill): use xlsx_find_predefined_fill
2600
26012011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2602
2603	* xlsx-read-docprops.c (new)
2604	* Makefile.am: add xlsx-read-docprops.c
2605	* xlsx-utils.h: add XL_NS_PROP_*
2606	* xlsx-write.c (xlsx_write_fills): start with some fills
2607	expected by Excel
2608	(xlsx_write_style): apparently Excel writes apply*
2609	attributes always. So do we now.
2610	* xlsx-read.c: add some includes, including
2611	xlsx-read-docprops.c
2612	(xlsx_ns): som emore namespaces
2613	(xlsx_file_open): call xlsx_read_docprops from
2614	xlsx-read-docprops.c
2615
26162011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2617
2618	* xlsx-write.c (xlsx_write_style): usually write an xfId,
2619	write apply* attributes only if they are false (nobody
2620	seems to write true ones)
2621	(xlsx_write_cellStyleXfs): write a named style record to refer
2622	to
2623	(xlsx_write_cellXfs): adust call to xlsx_write_style
2624	(xlsx_get_style_id): new, extracted from xlsx_write_cells
2625	(xlsx_write_cells): use xlsx_get_style_id
2626	(xlsx_write_workbook): make sure we write the default style
2627	first
2628
26292011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2630
2631	* xlsx-write.c: add include
2632	* xlsx-write-docprops.c (xlsx_map_prop_type): add more items
2633	(xlsx_meta_write_props): also write keywords
2634
26352011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2636
2637	* xlsx-write.c (xlsx_write_shared_strings): xml:space is
2638	not allowed
2639	(xlsx_write_styles): ditto
2640	(xlsx_write_workbook): ditto
2641	* xlsx-write-docprops.c (xlsx_write_docprops_app): ditto
2642	(xlsx_write_docprops_core): ditto
2643
26442011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2645
2646	* xlsx-write.c (xlsx_write_fonts): check the font names
2647	just in case
2648	(xlsx_write_rich_text): we definitely need to check the text
2649
26502011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2651
2652	* xlsx-write.c (xlsx_write_num_formats): the format strings
2653	need to be properly encoded for xlm
2654
26552011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2656
2657	* xlsx-write.c (xlsx_write_borders): fix element order
2658
26592011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2660
2661	* xlsx-write.c (ns_docprops_core_cp): new
2662	(ns_docprops_core_dc): new
2663	(ns_docprops_core_dcmitype): new
2664	(ns_docprops_core_dcterms): new
2665	(ns_docprops_core_xsi): new
2666	* xlsx-write-docprops.c (xlsx_map_prop_type): new
2667	(xlsx_map_prop_name): new
2668	(xlsx_meta_write_props): new
2669	(xlsx_write_docprops_core): imlement
2670
26712011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2672
2673	* Makefile.am: add xlsx-write-docprops.c
2674	* xlsx-write.c (ns_docprops_extended): new
2675	(xlsx_write_workbook): call xlsx_write_docprops
2676	* xlsx-write-docprops.c: new
2677
26782011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2679
2680	* xlsx-read-drawing.c (xlsx_drawing_dtd): add srcRect
2681
26822011-06-16  Morten Welinder <terra@gnome.org>
2683
2684	* Release 1.10.16
2685
26862011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2687
2688	* xlsx-write.c (xlsx_write_border): use the appripriate
2689	element name based on ECMA-376 edition
2690	(xlsx_write_workbook): in edition 2 "codePage" was replaced by
2691	"characterSet"
2692	(xlsx2_file_save): new
2693	* plugin.xml.in: add file saver for ECMA-376 2nd edition
2694	* xlsx-write-pivot.c (xlsx_write_pivot_cache_definition):
2695	2nd edition replaced "refreshedDate" attribute with
2696	"refreshedDateIso"
2697
26982011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2699
2700	* xlsx-write.c (xlsx_write__rich_text): handle NULL attribute
2701	list
2702
27032011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2704
2705	* xlsx-write.c (xlsx_write_border): write diagonal border element
2706	(xlsx_write_borders): support diagonal elements
2707	* xlsx-read.c (xlsx_col_border_begin): new
2708	(xlsx_border_end): fix reference counting
2709	(xlsx_border_diagonal_end): new
2710
27112011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2712
2713	* xlsx-write.c (xlsx_write_border): use edition 1 elements
2714	(xlsx_write_cells): also write styles for empty cells
2715
27162011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2717
2718	* xlsx-write.c (xlsx_find_border): new
2719	(xlsx_write_border): new
2720	(xlsx_write_borders): implement
2721	(xlsx_write_style): handle borders
2722	(xlsx_write_cellXfs): add argument, change all callers
2723	(xlsx_write_styles): call xlsx_write_borders
2724	* xlsx-read.c: for borders "left" and "right" are really called
2725	"start" and "end"
2726
27272011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2728
2729	* xlsx-write.c (xlsx_find_font): new
2730	(xlsx_write_fonts): implement
2731	(xlsx_find_fill): check for straight equality
2732	(xlsx_write_style): handle font-info
2733	(xlsx_write_cellXfs): add argument, change all callers
2734	(xlsx_write_styles): call xlsx_write_fonts
2735
27362011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2737
2738	* xlsx-write.c (xlsx_load_buildin_num_formats): new
2739	(xlsx_write_num_formats): new
2740	(xlsx_write_style): connect to the number formats
2741	(xlsx_write_cellXfs): add argument, change all callers
2742	(xlsx_write_styles): call xlsx_write_num_formats
2743
27442011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2745
2746	* xlsx-write.c (xlsx_write_color_element): new
2747	(xlsx_find_fill): new
2748	(xlsx_write_fills): implement
2749	(xlsx_write_style): use written fills
2750	(xlsx_write_cellXfs): ditto
2751	(xlsx_write_styles): connect xlsx_write_fills with xlsx_write_cellXfs
2752	(xlsx_write_cells): GPOINTER_TO_INT(0) yields NULL, so shift when
2753	storing 0-based indices
2754
27552011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2756
2757	* xlsx-write.c (xlsx_write_style_want_alignment): new
2758	(xlsx_write_style_write_alignment): new
2759	(xlsx_write_style): new
2760	(xlsx_write_cellXfs): new
2761	(xlsx_write_styles): connect xlsx_write_cellXfs
2762	(xlsx_write_cells): llink to styles
2763	(xlsx_write_workbook): initialize and finalize style lists
2764
27652011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2766
2767	* xlsx-utils.h (xlsx_get_gradient_direction): new
2768	* xlsx-utils.c (xlsx_get_gradient_direction): new
2769	* xlsx-read-drawing.c (xlsx_chart_grad_linear): use
2770	xlsx_get_gradient_direction
2771
27722011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2773
2774	* xlsx-read.c (xlsx_cell_begin): don't overwrite an existing row style
2775	(xlsx_CT_Row): the row style should only be used if customFormat == 1
2776	(xlsx_CT_GradientFill): consider this a solid colour fill until we
2777	really import the gradients
2778
27792011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2780
2781	* xlsx-read.c (elem_color): add allow_alpha argument, change all
2782	callers and set alpha to 0xFF if it is not allowed
2783	(xlsx_pattern_fg_bg): if we are reading a colour for a solid fill, ignore
2784	alpha. LibreOffice 3.3.2 sets the alpha to 0 and Excel seems to ignore it
2785	(xlsx_font_color): ditto
2786
27872011-05-22  Morten Welinder  <terra@gnome.org>
2788
2789	* ms-excel-write.c (excel_write_autofilter_names): Use proper
2790	ctor/dtor methods for GnmNamedExpr.
2791	(excel_write_autofilter_names): Use new
2792	expr_name_set_is_placeholder.
2793
27942011-05-21  Morten Welinder <terra@gnome.org>
2795
2796	* Release 1.10.15
2797
27982011-05-20  Morten Welinder  <terra@gnome.org>
2799
2800	* xlsx-write.c (xlsx_write_rich_text): Clamp "start" too.
2801
28022011-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2803
2804	* ms-chart.c (chart_write_LEGEND): use
2805	GNM_*_KILL_SWITCH_WARNING
2806
28072011-05-04  Jean Brefort  <jean.brefort@normalesup.org>
2808
2809	* xlsx-read-drawing.c (xlsx_chart_pop_obj): don't set a style to a
2810	NULL object,
2811	(xlsx_axis_mark): pass a true boolean to make gobject happy,
2812	(xlsx_axis_end): don't exchange radar plots axes,
2813	(xlsx_chart_legend_pos): add new enum values not in spec, but occuring,
2814	(xlsx_chart_solid_fill): set line color to line, not fill.
2815
28162011-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2817
2818	* ms-chart.c (chart_write_LEGEND): disable -Wswitch for this function
2819
28202011-05-03  Jean Brefort  <jean.brefort@normalesup.org>
2821
2822	* xlsx-read-drawing.c (xlsx_style_line_start): don't crash on NULL
2823	style,
2824	(cb_axis_set_position): fix axis crossing position.
2825	* xlsx-write-drawing.c (xlsx_write_chart): partially fix circular
2826	axis position.
2827
28282011-04-08  Jean Brefort  <jean.brefort@normalesup.org>
2829
2830	* xlsx-read-drawing.c: import some legacy drwawings.
2831	* xlsx-read.c: ditto.
2832
28332011-04-04  Morten Welinder  <terra@gnome.org>
2834
2835	* ms-obj.c (ms_obj_read_pre_biff8_obj): Improve record length
2836	check.
2837
28382011-03-24  Morten Welinder <terra@gnome.org>
2839
2840	* Release 1.10.14
2841
28422011-03-23  Morten Welinder  <terra@gnome.org>
2843
2844	* xlsx-read-drawing.c (xlsx_axis_crosses): Avoid using
2845	uninitialized values if an attribute is missing.
2846
28472011-03-22  Jean Brefort  <jean.brefort@normalesup.org>
2848
2849	* xlsx-read-drawing.c (xlsx_chart_push_obj), (xlsx_chart_pop_obj),
2850	(xlsx_chart_text_start), (xlsx_chart_text), (xlsx_body_pr),
2851	(xlsx_axis_mark), (xslx_chart_tick_label_pos),
2852	(xlsx_chart_marker_end), (xlsx_chart_start_dummy),
2853	(xlsx_read_chart): import axis ticks format.
2854	* xlsx-read.c: add a GOStyle stack.
2855
28562011-03-21  Jean Brefort  <jean.brefort@normalesup.org>
2857
2858	* xlsx-read-drawing.c (xlsx_draw_text_run_props),
2859	(xlsx_sheet_drawing), (xlsx_sheet_legacy_drawing): add a dtd for lecacy
2860	drawing.
2861	* xlsx-read.c: ditto.
2862	* xlsx-utils.h: ditto.
2863
28642011-03-20  Jean Brefort  <jean.brefort@normalesup.org>
2865
2866	* xlsx-read-drawing.c (xlsx_chart_push_obj), (xlsx_chart_pop_obj),
2867	(xlsx_chart_text_start), (xlsx_chart_text), (xlsx_chart_p_start),
2868	(xlsx_chart_text_content), (xlsx_draw_text_run_props),
2869	(xlsx_rel_size_anchor_start), (xlsx_rel_size_anchor),
2870	(xlsx_user_shape_pos), (xlsx_user_shape), (xlsx_user_shape_end),
2871	(xlsx_axis_crosses), (xlsx_chart_style_end),
2872	(xlsx_draw_color_themed), (xlsx_chart_marker_end),
2873	(xlsx_chart_layout_manual), (cb_axis_set_position),
2874	(xlsx_read_chart): import labels and positions.
2875
28762011-03-19  Jean Brefort  <jean.brefort@normalesup.org>
2877
2878	* xlsx-read-drawing.c (xlsx_chart_user_shapes): add missing dtd entries,
2879	(xlsx_chart_legend), (xlsx_chart_legend_pos), (xlsx_plot_area),
2880	(xlsx_chart_layout_manual), (xlsx_chart_layout_target),
2881	(xlsx_chart_layout_dim), (xlsx_chart_layout_mode): work on positions.
2882	* xlsx-read.c: ditto.
2883
28842011-03-18  Jean Brefort  <jean.brefort@normalesup.org>
2885
2886	* xlsx-read-drawing.c (xlsx_chart_user_shapes),
2887	(xlsx_chart_text_start), (xlsx_chart_text): add chartDrawing namespace.
2888	* xlsx-read.c: ditto.
2889	* xlsx-utils.h: ditto.
2890
28912011-03-18  Jean Brefort  <jean.brefort@normalesup.org>
2892
2893	* xlsx-read-drawing.c (xlsx_chart_text_start), (xlsx_chart_text): import
2894	text in sheet filled objects.
2895	* xlsx-write-drawing.c (xlsx_write_series_dim): don't export strings as
2896	values.
2897
28982011-03-15  Jean Brefort  <jean.brefort@normalesup.org>
2899
2900	* xlsx-read-drawing.c (xlsx_draw_color_end): fixed some auto style issues.
2901	* xlsx-write-drawing.c (xlsx_write_plot_1_5_type),
2902	(xlsx_write_series_dim), (xlsx_write_go_style), (xlsx_write_chart): ditto.
2903
29042011-03-14  Jean Brefort  <jean.brefort@normalesup.org>
2905
2906	* xlsx-write-drawing.c (xlsx_write_chart): export radial plot axes,
2907	anf fix overlap in barcol plots.
2908
29092011-03-13  Morten Welinder  <terra@gnome.org>
2910
2911	* xlsx-utils.c (xlsx_lookup_external_wb): It looks like [0] is
2912	used to refer to the "self" workbook.
2913
29142011-03-12  Jean Brefort  <jean.brefort@normalesup.org>
2915
2916	* Makefile.am: add new xlsx drawing/chart files.
2917	* xlsx-read-drawing.c: new file, better import of styles.
2918	* xlsx-read.c: moved drawing/chart code to xlsx-read-drawing.c.
2919	* xlsx-write-drawing.c: new file with enhanced chart export.
2920	* xlsx-write.c: moved drawing/chart code to xlsx-write-drawing.c.
2921
29222011-03-05  Jean Brefort  <jean.brefort@normalesup.org>
2923
2924	* xlsx-read.c (xlsx_chart_ser_f), (xlsx_chart_text_start),
2925	(xlsx_chart_text): accept formulas in labels.
2926	* xlsx-write.c (xlsx_write_series_dim), (xlsx_write_rgbarea),
2927	(xlsx_write_go_style), (xlsx_write_chart): export chart background.
2928
29292011-03-05  Jean Brefort  <jean.brefort@normalesup.org>
2930
2931	* xlsx-read.c (xlsx_chart_xy), (xlsx_scatter_style): import the scatter
2932	plot default series style.
2933
29342011-03-05  Jean Brefort  <jean.brefort@normalesup.org>
2935
2936	* xlsx-read.c (xlsx_plot_axis_id), (xlsx_axis_crosses_at),
2937	(cb_axis_set_position): import axis crossing position. [#642941]
2938
29392011-03-04  Morten Welinder  <terra@gnome.org>
2940
2941	* xlsx-read.c (xlsx_sheet_begin): Use attr_enum.
2942	(xlsx_wb_name_begin, xlsx_wb_name_end): Collect names and define
2943	as stubs.
2944	(handle_delayed_names): Define all collected names properly.
2945
29462011-03-04  Jean Brefort  <jean.brefort@normalesup.org>
2947
2948	* xlsx-read.c (xlsx_axis_end), (xlsx_chart_p_start),
2949	(xlsx_chart_text_content): import multiple runs chart titles. [#643814]
2950
29512011-03-03  Morten Welinder  <terra@gnome.org>
2952
2953	* xlsx-read.c (xlsx_chart_text): Avoid criticals in the absense of
2954	chart text.
2955	(xlsx_sheet_begin): Import sheet state.  Fixes #643815.
2956
29572011-02-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2958
2959	* xlsx-write.c (xlsx_axis_crosses_at): new
2960	(xlsx_chart_dtd): connect xlsx_axis_crosses_at
2961
29622011-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2963
2964	* xlsx-write.c (xlsx_write_comments): skip NULL author
2965	(see glib bug #642944)
2966
29672011-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2968
2969	* xlsx-read.c (xlsx_chart_dtd): add c:crossesAt
2970	(xlsx_cell_expr_begin): don't ignore shared expressions with
2971	duplicate id
2972
29732011-02-02  Morten Welinder <terra@gnome.org>
2974
2975	* Release 1.10.13
2976
29772011-01-06  Morten Welinder  <terra@gnome.org>
2978
2979	* xls-read-pivot.c (xls_read_SXVIEW): The record contains a cache
2980	index, not a cache id.
2981	(xls_read_SXVI): Fix debug print.
2982
29832010-12-26  Jean Brefort  <jean.brefort@normalesup.org>
2984
2985	* ms-chart.c (areaformat), (chart_write_LINEFORMAT): enhance color support.
2986	[#637658]
2987
29882010-12-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
2989
2990	* ms-excel-read.c (excel_read_FONT): try to make cppcheck happy
2991
29922010-12-17  Jean Brefort  <jean.brefort@normalesup.org>
2993
2994	* ms-excel-read.c (ms_sheet_realize_obj): make object invisible outline
2995	persistent. [#637393]
2996	* ms-excel-write.c (excel_write_textbox_or_widget_v8):
2997
29982010-11-25  Morten Welinder <terra@gnome.org>
2999
3000	* Release 1.10.12
3001
30022010-10-13  Morten Welinder  <terra@gnome.org>
3003
3004	* ms-excel-read.c (excel_read_SELECTION): Work around missing
3005	selection.  Fixes #632050.
3006	(excel_parse_name): Treat global Print_Area a tad better.
3007
30082010-10-03  Jean Brefort  <jean.brefort@normalesup.org>
3009
3010	* xlsx-write.c (xlsx_write_rich_text): really assign the buffer before
3011	using it.
3012
30132010-10-01  Morten Welinder <terra@gnome.org>
3014
3015	* Release 1.10.11
3016
30172010-10-01  Jean Brefort  <jean.brefort@normalesup.org>
3018	* xlsx-read.c (elem_color), (xlsx_run_weight), (xlsx_run_style),
3019	(xlsx_run_family), (xlsx_run_size), (xlsx_run_strikethrough),
3020	(xlsx_run_underline), (xlsx_run_color), (xlsx_comments_start),
3021	(xlsx_comments_end), (xlsx_comment_author_end),
3022	(xlsx_comment_start), (xlsx_comment_end), (xlsx_comment_text),
3023	(xlsx_comment_rich_text), (xlsx_wb_end), (xlsx_file_open): read cell
3024	comments. [#630627]
3025	* xlsx-write.c (xlsx_write_rich_text), (write_comment_author),
3026	(xlsx_write_comments), (xlsx_write_sheet), (xlsx_file_save): write cell
3027	comments.
3028
30292010-09-15  Jean Brefort  <jean.brefort@normalesup.org>
3030
3031	* ms-chart.c (tick), (chart_write_axis): export/import tick label rotation
3032	angle. [#629675]
3033
30342010-09-04  Morten Welinder <terra@gnome.org>
3035
3036	* Release 1.10.10
3037
30382010-08-16  Morten Welinder <terra@gnome.org>
3039
3040	* Release 1.10.9
3041
30422010-07-30  Morten Welinder <terra@gnome.org>
3043
3044	* Release 1.10.8
3045
30462010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3047
3048	* excel-xml-read.c (xl_xml_font): add UNDERLINE_*_LOW
3049	* ms-excel-read.c (xls_uline_to_gnm_underline): new
3050	(excel_get_style_from_xf): use xls_uline_to_gnm_underline
3051	(ms_wb_get_font_markup): use gnm_translate_underline_to_pango
3052	(excel_read_CF): use xls_uline_to_gnm_underline
3053	* ms-excel-write.c (map_underline_to_xl) rename
3054	  to map_style_underline_to_xl and use new map_underline_to_xl,
3055	  change all callers
3056	(map_underline_to_xl): new
3057	(excel_font_to_string): add UNDERLINE_*_LOW
3058	(excel_font_overlay_pango): use gnm_translate_underline_from_pango
3059	(excel_font_from_go_font): fix typo
3060	(excel_write_FONT): use map_underline_to_xl
3061	* xlsx-read.c (xlsx_font_uline): add UNDERLINE_*_LOW
3062	(xlsx_font_valign): fix typo
3063
30642010-07-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3065
3066	* ms-excel-read.h (ExcelFont): change underline field from PangoUnderline
3067	  to MsBiffFontUnderline
3068	* ms-excel-read.c (excel_read_FONT): underline field of ExcelFont is not
3069	  a GnmUnderline but (now) a MsBiffFontUnderline
3070	(excel_get_style_from_xf): convert underline from MsBiffFontUnderline
3071	  to GnmUnderline
3072
30732010-07-26  Morten Welinder  <terra@gnome.org>
3074
3075	* ms-excel-write.c (write_arrow): Fix argument type for "id".
3076
30772010-07-13  Jean Brefort  <jean.brefort@normalesup.org>
3078
3079	* ms-chart.c (chart_write_AREAFORMAT): fixed the auto flag. [see
3080	#624263]
3081
30822010-07-10  Jean Brefort  <jean.brefort@normalesup.org>
3083
3084	* ms-chart.c (end): do not crash when a chart has more than one
3085	plot. [#623960]
3086
30872010-07-09  Morten Welinder  <terra@gnome.org>
3088
3089	* ms-excel-write.c (excel_write_SETUP): Avoid right-shift bigger
3090	than type.
3091
30922010-06-28  Morten Welinder <terra@gnome.org>
3093
3094	* Release 1.10.7
3095
30962010-06-23  Morten Welinder  <terra@gnome.org>
3097
3098	* xlsx-read.c (xlsx_CT_RowsCols_end): New function.
3099	(xlsx_CT_Col): Delay applying the style so we can merge areas.
3100	Fixes #622365.
3101
31022010-06-16  Morten Welinder <terra@gnome.org>
3103
3104	* Release 1.10.6
3105
31062010-05-30  Morten Welinder <terra@gnome.org>
3107
3108	* Release 1.10.5
3109
31102010-05-20  Morten Welinder <terra@gnome.org>
3111
3112	* Release 1.10.4
3113
31142010-05-07  Morten Welinder <terra@gnome.org>
3115
3116	* Release 1.10.3
3117
31182010-04-29  Morten Welinder  <terra@gnome.org>
3119
3120	* ms-excel-write.c (excel_write_DOPER): Fix saving of integers.
3121	(excel_write_AUTOFILTERINFO): Fix swapped "and" and "or".
3122
31232010-04-23  Morten Welinder  <terra@gnome.org>
3124
3125	* ms-excel-read.c (supbook_get_sheet): Return "deleted sheet" for
3126	external references so we don't end up with sheet-local refs.
3127	(excel_read_SUPBOOK): Clean up using new docs.
3128
31292010-04-21  Jean Brefort  <jean.brefort@normalesup.org>
3130
3131	* ms-chart.c (ai), (objectlink), (end), (ms_excel_chart_read): import
3132	chart title when it is actually the series label. [#616262]
3133
31342010-04-16  Morten Welinder <terra@gnome.org>
3135
3136	* Release 1.10.2
3137
31382010-04-15  Morten Welinder  <terra@gnome.org>
3139
3140	* ms-excel-write.c (excel_write_textbox_or_widget_v8): Take
3141	bp->length into account too.
3142
31432010-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3144
3145	* xlsx-write.c (xlsx_write_workbook): write 1900/1904 date base
3146	info
3147
31482010-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3149
3150	* xlsx-read.c (xlsx_CT_WorkbookPr): new
3151	(xlsx_workbook_dtd); hook up xlsx_CT_WorkbookPr
3152
31532010-03-31  Jean Brefort  <jean.brefort@normalesup.org>
3154
3155	* ms-chart.c (chart_write_AREAFORMAT): export transparent patterns as
3156	no filling.
3157
31582010-03-29  Morten Welinder  <terra@gnome.org>
3159
3160	* ms-formula-write.c (write_funcall): Guess argument types for
3161	functions that the excel format doesn't know about.
3162	(guess_arg_types): New function.
3163
3164	* ms-excel-write.c (excel_write_externsheets_v7,
3165	excel_write_externsheets_v8): Fix letter case for extername
3166	records.
3167
31682010-03-08  Morten Welinder <terra@gnome.org>
3169
3170	* Release 1.10.1
3171
31722010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3173
3174	* xlsx-write.c (xlsx_write_cells): use value_get_as_gstring
3175	  rather than value_get_as_string. [#610372]
3176
31772010-02-13  Morten Welinder <terra@gnome.org>
3178
3179	* Release 1.10.0
3180
31812010-01-29  Jean Brefort  <jean.brefort@normalesup.org>
3182
3183	* ms-excel-write.c (excel_write_textbox_or_widget_v8): export transparency
3184	for filled objects.
3185
31862010-01-29  Jean Brefort  <jean.brefort@normalesup.org>
3187
3188	* ms-excel-read.c (ms_sheet_realize_obj): really import transparent objects.
3189
31902010-01-19  Morten Welinder <terra@gnome.org>
3191
3192	* Release 1.9.18
3193
31942009-12-29  Jody Goldberg <jody@gnome.org>
3195
3196	* xls-read-pivot.c (xls_read_SXVI) : new stub.  Currently only notices
3197	  when XL wants to hide things.
3198	(xls_read_SXVD) : used from here.
3199
32002009-12-24  Jean Brefort  <jean.brefort@normalesup.org>
3201
3202	* xlsx-read-pivot.c (xlsx_CT_Number),
3203	(xlsx_CT_pivotCacheDefinition): fixed double/gnm_float issues.
3204	* xlsx-read.c (xlsx_axis_bound), (elem_color), (xlsx_CT_Row),
3205	(xlsx_CT_Col), (xlsx_CT_SheetFormatPr), (xlsx_CT_PageMargins),
3206	(xlsx_CT_Top10), (xlsx_CT_Pane), (xlsx_CT_FontSize): ditto.
3207
32082009-12-21  Jean Brefort  <jean.brefort@normalesup.org>
3209
3210	* ms-chart.c (lineformat), (chart_write_LINEFORMAT): fix import export
3211	of line type in scatter plots. [#605043]
3212
32132009-12-15  Morten Welinder <terra@gnome.org>
3214
3215	* Release 1.9.17
3216
32172009-12-09  Jean Brefort  <jean.brefort@normalesup.org>
3218
3219	* ms-chart.c (end): always initialize matrix bounds. [#593937]
3220
32212009-11-29  Morten Welinder <terra@gnome.org>
3222
3223	* Release 1.9.16
3224
32252009-11-01  Morten Welinder <terra@gnome.org>
3226
3227	* Release 1.9.15
3228
32292009-10-16  Morten Welinder  <terra@gnome.org>
3230
3231	* ms-excel-read.c (excel_read_DIMENSIONS): Store dimensions for
3232	clipboard use.
3233
32342009-10-15  Morten Welinder  <terra@gnome.org>
3235
3236	* ms-excel-write.c (excel_write_line_v8): Fix handling of
3237	direction.
3238	(excel_write_textbox_or_widget_v8, excel_write_line_v8): Export
3239	line styles.
3240
32412009-10-14  Morten Welinder  <terra@gnome.org>
3242
3243	* ms-escher.c (ms_escher_read_OPT): Don't arbitrarily add 1 to
3244	MS_OBJ_ATTR_OUTLINE_STYLE's value.
3245
3246	* ms-excel-read.c (ms_sheet_realize_obj): Read dash style
3247	correctly.
3248	(xl_pattern_to_line_type): Fix mapping.
3249
3250	* ms-excel-write.c (excel_write_line_v8): Export line start arrow
3251	head too.
3252
32532009-10-13  Morten Welinder  <terra@gnome.org>
3254
3255	* ms-formula-write.c (excel_write_array_formula): Set
3256	allow_sheetless_ref to avoid t8001 failure.
3257
3258	* ms-obj.c (ms_objv8_write_spinbutton, ms_objv8_write_adjustment):
3259	New functions.
3260
32612009-10-12  Morten Welinder  <terra@gnome.org>
3262
3263	* ms-formula-write.c (excel_write_formula): Handle new
3264	EXCEL_CALLED_FROM_OBJ.
3265	(CTXT_NAME_OBJ): Rename from CTXT_NAME.
3266
3267	* ms-obj.c (ms_objv8_write_macro_fmla): Use EXCEL_CALLED_FROM_OBJ.
3268
3269	* ms-excel-write.c (excel_write_textbox_v8): Don't write macro
3270	records yet.
3271
3272	* ms-obj.c (ms_objv8_write_checkbox_fmla,
3273	ms_objv8_write_macro_fmla): Pad length; use NAME context.
3274	(ms_objv8_write_checkbox_link): Take extra "active" argument.  All
3275	callers changed.
3276
32772009-10-11  Morten Welinder  <terra@gnome.org>
3278
3279	* ms-excel-write.c (excel_write_textbox_v8): Call
3280	ms_objv8_write_radiobutton_data when appropriate.
3281
3282	* ms-obj.c (ms_objv8_write_radiobutton_data): New function.
3283
3284	* ms-escher.c (ms_escher_clientdata): Drop argument that turned
3285	out to be not useful.
3286
32872009-10-11  Morten Welinder <terra@gnome.org>
3288
3289	* Release 1.9.14
3290
32912009-10-09  Morten Welinder  <terra@gnome.org>
3292
3293	* ms-excel-write.c (excel_write_autofilter_names): Initialize
3294	nexpr.pos completely.
3295
3296	* ms-excel-read.c (excel_read_NAME): Fix FMR in debug code.
3297
3298	* ms-obj.c (ms_obj_read_biff8_obj): Read the macro reference too.
3299
33002009-10-08  Morten Welinder  <terra@gnome.org>
3301
3302	* ms-escher.c (ms_escher_opt_add_bool): New function.
3303
3304	* ms-excel-write.c (excel_write_line_v8): Simplify using
3305	ms_escher_opt_add_bool.
3306
33072009-10-07  Morten Welinder  <terra@gnome.org>
3308
3309	* ms-excel-write.c (excel_write_textbox_v8): Export
3310	checkbox/radiobutton link and current value.
3311
3312	* ms-obj.c (ms_objv8_write_checkbox_fmla,
3313	ms_objv8_write_checkbox_data): New functions.
3314
3315	* ms-escher.c (ms_escher_opt_add_color): New function.
3316
3317	* ms-excel-write.c (excel_write_textbox_v8): Make sure the textbox
3318	gets to be part of the container.  Export line and background
3319	colours.  Export outline width.
3320	(excel_write_line_v8): Export line colour and width.
3321
3322	* ms-escher.c (ms_escher_opt_end): Docs were wrong.  Do not
3323	include own header in length.
3324	(ms_escher_opt_add_str_wchar): Fix type error.
3325
33262009-10-06  Morten Welinder  <terra@gnome.org>
3327
3328	* ms-excel-read.c (ms_sheet_realize_obj): Restore colour reading.
3329	(ms_sheet_map_color): Add new "pauto" argument.  All callers
3330	changed.
3331
33322009-10-05  Morten Welinder  <terra@gnome.org>
3333
3334	* ms-excel-write.c (excel_write_textbox_v8): Export
3335	object name.
3336	(excel_sheet_new): Prepare for handling lines.
3337	(blipinf_new): Plug leak.
3338	(extract_txomarkup): Plug leak.
3339	(xf_init, cb_cell_pre_pass, cb_accum_styles,
3340	excel_write_ClientTextbox): Plug leak.
3341	(excel_write_line_v8): Export lines and arrows.
3342
3343	* ms-biff.h (_BiffPut): Change type of streamPos to gsf_off_t.
3344
3345	* ms-chart.c (chart_write_axis): Don't dump uninitialized memory
3346	into file.
3347	(map_1_5d_type): Plug leak.
3348
3349	* ms-biff.c (ms_biff_put_len_next): Make sure we don't mix _var_
3350	and _len_ calls.  Make sure we commit.
3351
33522009-10-04  Morten Welinder  <terra@gnome.org>
3353
3354	* ms-excel-write.c (excel_write_textbox_v8): Attempt to handle
3355	rectangles and ovals.
3356
3357	* ms-escher.c (ms_escher_get_inst, ms_escher_set_inst,
3358	ms_escher_spcontainer_start, ms_escher_spcontainer_end,
3359	ms_escher_sp, ms_escher_opt_start, ms_escher_opt_end,
3360	ms_escher_opt_add_simple, ms_escher_clientanchor,
3361	ms_escher_clientdata): New functions.
3362
3363	* ms-excel-write.c (excel_write_textbox_v8): Use new Escher output
3364	utilities.
3365
33662009-10-02  Morten Welinder  <terra@gnome.org>
3367
3368	* ms-excel-write.c (excel_sheet_new): Display name of sheet
3369	objects we cannot export.
3370
3371	* ms-excel-read.c (ms_sheet_realize_obj): Set object name if we
3372	have it.
3373
3374	* ms-escher.c (ms_escher_read_OPT): Assume pointers are UTF-16
3375	strings, not UTF-8.  Fits objs.xls
3376
3377	* ms-excel-write.c (excel_sheet_new): Don't complain over filter
3378	combos.  They are handled, but differently.
3379
33802009-10-01  Morten Welinder  <terra@gnome.org>
3381
3382	* ms-excel-write.c (excel_sheet_new): Exclude GNM_SO_FILLED_TYPE
3383	objects with no text as we do not export them right.  [#596886]
3384
33852009-09-20  Morten Welinder <terra@gnome.org>
3386
3387	* Release 1.9.13
3388
33892009-09-05  Morten Welinder <terra@gnome.org>
3390
3391	* Release 1.9.12
3392
33932009-09-05  Jean Brefort  <jean.brefort@normalesup.org>
3394
3395	* all files: renamed go-color.h macros.
3396
33972009-09-05  Jean Brefort  <jean.brefort@normalesup.org>
3398
3399	* ms-chart.c (end): don't use z values as x or y when there are no
3400	labels or categories. [See #593937]
3401
34022009-09-04  Jean Brefort  <jean.brefort@normalesup.org>
3403
3404	* ms-chart.c (axis), (xl_axis_get_elem), (valuerange): use gnm_go_data
3405	instead of simple go_data [#594068],
3406	(end): don't require x and y values for surfaces.
3407
34082009-09-01  Jean Brefort  <jean.brefort@normalesup.org>
3409
3410	* ms-chart.c: renamed GOColor macros.
3411	* ms-excel-read.c: ditto.
3412	* ms-excel-write.c: ditto.
3413	* xlsx-read.c: ditto.
3414	* xlsx-write.c: ditto.
3415
34162009-08-31  Jean Brefort  <jean.brefort@normalesup.org>
3417
3418	* ms-chart.c (lineformat), (ms_excel_chart_read),
3419	(style_is_completely_auto), (chart_write_style),
3420	(chart_write_DROPBAR): replace GOStyle::outline.
3421	* ms-excel-read.c (ms_sheet_realize_obj): ditto.
3422	* ms-excel-write.c (extract_gog_object_style): ditto.
3423	* xlsx-read.c (xlsx_draw_line_dash): ditto.
3424
34252009-08-30  Morten Welinder <terra@gnome.org>
3426
3427	* Release 1.9.11
3428
34292009-08-15  Morten Welinder <terra@gnome.org>
3430
3431	* Release 1.9.10
3432
34332009-06-20  Morten Welinder <terra@gnome.org>
3434
3435	* Release 1.9.9
3436
34372009-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3438
3439	* xlsx-write.c (xlsx_write_breaks): Quiet enum handling
3440
34412009-06-16  Morten Welinder  <terra@gnome.org>
3442
3443	* boot.c: Quiet pivot debugging.
3444
34452009-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3446
3447	* ms-excel-read.c (excel_parse_name): If it looks like the print area
3448	  could have been one of our old "whole sheet" areas, set it to nil.
3449
34502009-06-09  Jody Goldberg <jody@gnome.org>
3451
3452	* xls-read-pivot.c (xls_read_SXIVD) : ignore magic index of 0xfffe.
3453	  Need to figure out what it does.
3454
34552009-06-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3456
3457	* ms-excel-write.c (excel_write_PAGE_BREAK): don't save automatic
3458	  page breaks
3459
34602009-05-23  Morten Welinder <terra@gnome.org>
3461
3462	* Release 1.9.8
3463
34642009-05-19  Morten Welinder  <terra@gnome.org>
3465
3466	* ms-excel-read.c (excel_read_WINDOW1): Normalize bools, or else
3467	gobject will complain.
3468
34692009-05-18  Morten Welinder  <terra@gnome.org>
3470
3471	* ms-excel-read.c (excel_read_WINDOW1): Use g_object_set instead
3472	of poking directly into a WorkbookView.
3473
34742009-05-14  Jon K Hellan  <hellan@acm.org>
3475
3476	* ms-excel-util.c (init_xl_font_widths): Add DejaVu fonts with
3477	same metrics as Bitstream Vera.
3478
34792009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3480
3481	* xlsx-write.c (xlsx_write_cols): and don't commit debugging code
3482
34832009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3484
3485	* xlsx-write.c (xlsx_write_cols): fix off-by-one error [#569862]
3486
34872009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>
3488
3489	* xlsx-write.c (xlsx_write_sheet): write the tags in schema ordering
3490
34912009-05-06  Morten Welinder <terra@gnome.org>
3492
3493	* Release 1.9.7
3494
34952009-05-06  Morten Welinder  <terra@gnome.org>
3496
3497	* ms-excel-read.c (excel_read_init): Use the GnmFunc's case in the
3498	hash.
3499
35002009-05-05  Morten Welinder  <terra@gnome.org>
3501
3502	* ms-excel-write.c (excel_sheet_write_block): Add one-element
3503	cache.  Fixes #581378.
3504
35052009-05-02  Jean Brefort  <jean.brefort@normalesup.org>
3506
3507	* ms-chart.c (get_style), (ms_excel_chart_read): use reimplemented
3508	gog_style_new().
3509
35102009-04-28  Jody Goldberg <jody@gnome.org>
3511
3512	* xlsx-read.c : initial work on reading external refs.   Still broken
3513	  for refs to sheets with spaces in their names '[1]A Space!A1' thanks
3514	  to massively silly quoting conventions.  This will take a parser
3515	  re-org to handle.
3516
35172009-04-26  Morten Welinder  <terra@gnome.org>
3518
3519	* ms-excel-write.c (excel_sheet_extent): Fix off-by-one when we
3520	overflow the area available.
3521
35222009-04-25  Morten Welinder <terra@gnome.org>
3523
3524	* Release 1.9.6
3525
35262009-04-22  Morten Welinder  <terra@gnome.org>
3527
3528	* ms-container.c (ms_container_read_markup): Fix badly
3529	misunderstood field.  Fixes #579835.
3530
35312009-04-16  Jean Brefort  <jean.brefort@normalesup.org>
3532
3533	* ms-chart.c: (get_style): create a GogStyle object, not a GOStyle.
3534
35352009-04-15  Morten Welinder  <terra@gnome.org>
3536
3537	* ms-obj.c (ms_read_TXO): Fix text problem.  [#578878]
3538
35392009-04-10  Jean Brefort  <jean.brefort@normalesup.org>
3540
3541	* ms-chart.c: fixed after GogStyle -> GOStyle rename.
3542	* ms-excel-read.c: ditto.
3543	* ms-excel-write.c: ditto.
3544	* xlsx-read.c: ditto.
3545
35462009-04-11  Jody Goldberg <jody@gnome.org>
3547
3548	* plugin.xml.in : get rid of bogus .sml suffix now that we have
3549	  probing.
3550	* excel-xml-read.c : accept title and description in metadata
3551	(xl_xml_col_start) : only assign width > 0.
3552	(xl_xml_num_fmt) : fix previous patch.
3553
35542009-04-02  Morten Welinder  <terra@gnome.org>
3555
3556	* ms-excel-write.c (excel_sheet_new): Limit maxcols to what we
3557	actually have.  Fixes #577758.
3558
35592009-04-01  Morten Welinder  <terra@gnome.org>
3560
3561	* xlsx-write.c (xlsx_write_sheet): Fix access to ->sheet.
3562	(xlsx_write_objects): Plug leak.
3563
35642009-03-31  Morten Welinder  <terra@gnome.org>
3565
3566	* xlsx-write.c: Partial fix for #168875.
3567	* ms-excel-read.c: Ditto.
3568	* ms-excel-write.c: Ditto.
3569
3570	* ms-obj.c (read_pre_biff8_read_name_and_fmla): Add sanity checks.
3571	(ms_obj_read_pre_biff8_obj): Add and fix sanity checks.  Fixes
3572	#577504.
3573
3574	* ms-excel-read.c (excel_read_MERGECELLS): Fix sanity check.
3575	Fixes #577503.
3576
3577	* ms-chart.c (ms_excel_chart_read): Leak less on errors.
3578	(BC_R(scatter)): Add sanity check for V8 case.  Fixes #577400.
3579
3580	* ms-excel-read.c (excel_read_CF): Add sanity checks.  Fixes
3581	#577399.
3582
3583	* ms-biff.c (ms_biff_query_next): If the read fails, make sure
3584	->length is zero to match the NULL ->data.
3585
35862009-03-30  Morten Welinder  <terra@gnome.org>
3587
3588	* ms-chart.c (ms_excel_chart_read): Add sanity check.  Fixes
3589	#577351.
3590
3591	* ms-excel-read.c (excel_read_IMDATA): Add sanity check.  Fixes
3592	#577348.
3593
3594	* ms-container.c (ms_container_get_blip): Add sanity check.  Fixes
3595	#577260.
3596
3597	* ms-excel-read.c (excel_read_MULBLANK): Add sanity checks.  Fixes
3598	#577259.
3599
36002009-03-29  Morten Welinder  <terra@gnome.org>
3601
3602	* ms-obj.c (ms_read_TXO): Add sanity check.
3603
3604	* ms-biff.c (ms_biff_query_peek_next): Read the length field too
3605	and make sure there's enough left to read the data.  Fixes
3606	#577205.
3607
3608	* ms-chart.c (lineformat): Add sanity check.  Fixes #577208.
3609
36102008-12-10  Jody Goldberg <jody@gnome.org>
3611
3612	* excel-xml-read.c (xl_xml_probe_start_element) : new.
3613	(excel_xml_file_probe) : use the new gsf_xml_probe.
3614
3615	* plugin.xml.in : SpreadsheetML has a probe function now.
3616
36172009-03-22  Morten Welinder <terra@gnome.org>
3618
3619	* Release 1.9.5
3620
36212009-03-20  Morten Welinder  <terra@gnome.org>
3622
3623	* ms-excel-read.c (excel_read_LABEL_markup): Fix sanity check
3624	off-by-one.
3625
3626	* ms-container.c (ms_container_read_markup): Fix termination
3627	condition.  #576112.
3628	(ms_container_read_markup): Fix sanity check off-by-one.
3629
3630	* ms-excel-read.c (excel_read_init): Use magic formats for 0x0e,
3631	0x0f, and 0x16.  Keep the nameless magic for 0x10.
3632
36332009-03-16  Morten Welinder  <terra@gnome.org>
3634
3635	* ms-excel-read.c (excel_read_LABEL_markup): Verify that offsets
3636	are sane.
3637	(excel_read_LABEL_markup): Ditto.  Fixes #575452.
3638
36392009-03-15  Morten Welinder  <terra@gnome.org>
3640
3641	* ms-excel-read.c (excel_read_init): Reinstate, but without
3642	looking at go_format_builtins.
3643
36442009-03-15  Morten Welinder  <terra@gnome.org>
3645
3646	* ms-excel-read.c (excel_read_init): Do not localize formats 14,
3647	15, 16, and 22.
3648
3649	* ms-chart.c (ms_excel_chart_read_NUMBER,
3650	ms_excel_chart_read_LABEL): Add extra sanity check.  Fixes #575393.
3651
36522009-03-14  Morten Welinder  <terra@gnome.org>
3653
3654	* ms-excel-write.c (excel_font_from_go_font): Don't crash if the
3655	font descriptor lacks a family.  Part of #575318.
3656	(cb_NOTE_v8): If there is no author, just use the empty string.
3657
36582009-03-10  Morten Welinder  <terra@gnome.org>
3659
3660	* ms-excel-read.c (ms_biff_bof_data_new): Handle BIFF_BOF_v8
3661	records indicating MS_BIFF_V2/MS_BIFF_V3/MS_BIFF_V4 files.  (And
3662	indicating broken tools too, of course.)
3663
36642009-02-22  Morten Welinder <terra@gnome.org>
3665
3666	* Release 1.9.4
3667
36682009-02-20  Morten Welinder  <terra@gnome.org>
3669
3670	* ms-chart.c (chart_create_obj): Bullet proof.
3671
36722009-02-18  Morten Welinder  <terra@gnome.org>
3673
3674	* ms-formula-write.c (do_excel_write_prep_expr): Use
3675	excel_func_by_name hash table instead of linear search.
3676
3677	* ms-excel-read.c (excel_read_init): Set up new hash table
3678	excel_func_by_name.
3679
36802009-02-17  Morten Welinder  <terra@gnome.org>
3681
3682	* ms-formula-read.c (excel_func_desc): Rename entry 92 back to
3683	"SERIES" hoping that won't break anything.  Fixes #572127.
3684
36852009-01-31  Morten Welinder  <terra@gnome.org>
3686
3687	* ms-formula-read.c (excel_parse_formula1): Use
3688	gnm_expr_new_range_ctor, not build_binop.
3689
36902009-01-23  Morten Welinder  <terra@gnome.org>
3691
3692	* ms-excel-write.c (excel_sheet_write_block): Handle the case of a
3693	missing cell better.  Partially fixes #568929.
3694
36952009-01-16  Jean Brefort  <jean.brefort@normalesup.org>
3696
3697	* ms-chart.c: (chart_write_AI): support GOData simple
3698	instances [#567953],
3699	(chart_write_axis_sets): do not write invalid AXESUSED field, see
3700	#567823.
3701
37022009-01-15  Morten Welinder  <terra@gnome.org>
3703
3704	* ms-excel-read.c (excel_read_DELTA): Check tolerance.  Fixes
3705	#567823.
3706	(excel_read_CALCCOUNT): Check count.
3707
37082009-01-15  Jean Brefort  <jean.brefort@normalesup.org>
3709
3710	* ms-chart.c: (axesused): Don't use g_return_val_if_fail for data
3711	dependent errors.
3712
37132009-01-11  Morten Welinder  <terra@gnome.org>
3714
3715	* ms-formula-write.c (write_node): Don't introduce parentheses
3716	around explicit parentheses.  Fixes #567380.
3717
37182008-12-15  Morten Welinder  <terra@gnome.org>
3719
3720	* ms-chart.c (BC_R): Don't use g_return_val_if_fail for data
3721	dependent errors.  Fixes #564499.
3722
37232008-12-12  Morten Welinder  <terra@gnome.org>
3724
3725	* ms-excel-util.c (two_way_table_move): Make sure we keep
3726	unique_keys correct.  See #564078.
3727
37282008-12-11  Morten Welinder  <terra@gnome.org>
3729
3730	* ms-excel-write.c (map_pattern_to_xl): Throw in some translations
3731	of Gnumeric-specific patterns.  Fixes #564078.
3732
37332008-12-08  Jean Brefort  <jean.brefort@normalesup.org>
3734
3735	* ms-chart.c: (3d): use an int for an integer property, not a double.
3736
37372008-11-11  Jean Brefort  <jean.brefort@normalesup.org>
3738
3739	* ms-chart.c: (3d), (chart_write_plot): some work on 3d import/export,
3740	(ms_excel_chart_write): fixed segfault when exporting an empty contour
3741	plot. [#557027]
3742
37432008-10-21  Morten Welinder  <terra@gnome.org>
3744
3745	* ms-chart.c (BC_R(end)): Don't look first series if there are no
3746	series.  Fixes #557077.
3747
37482008-10-18  Jody Goldberg <jody@gnome.org>
3749
3750	* Release 1.9.3
3751
37522008-10-02  Morten Welinder  <terra@gnome.org>
3753
3754	* ms-excel-write.c (excel_write_NAME): Don't write a formula for
3755	place-holders.
3756
37572008-10-01  Morten Welinder  <terra@gnome.org>
3758
3759	* ms-excel-write.c (excel_foreach_name): Use new
3760	workbook_foreach_name.
3761
37622008-10-13  Jody Goldberg <jody@gnome.org>
3763
3764	* ms-obj.c (ms_read_OBJ) : standalone OBJ records outside escher
3765	  groups appear to use the old style. [#546887]
3766
37672008-10-09  Jody Goldberg <jody@gnome.org>
3768
3769	* xlsx-read.c (xlsx_pattern_fg_bg) : merge _fg and _bg and
3770	  restore/comment on why there seems to be a need for magic in the
3771	  case of conditional formats.
3772
37732008-10-09  Jody Goldberg <jody@gnome.org>
3774
3775	* xlsx-read.c (indexed_color) : return a GOColor.
3776	(themed_color) : new.  Has some magic to use the theme indicies as
3777	  lookups into a hard coded map.d
3778	(xlsx_draw_color_themed) : simplified, the theme_colors_by_name is always defined.
3779	(hue_to_color) : new.
3780	(apply_tint) : new.  Could be moved into goffice.
3781	(elem_color) : handle tints, and themes.
3782	(xlsx_get_style_xf) : new.
3783	(xlsx_pattern_fg) : drop the magic pattern based inversion.
3784	(xlsx_pattern_bg) : ditto.
3785	(xlsx_border_end) : add protection.
3786	(xlsx_xf_begin) : merge parent styles when available.
3787	(xlsx_cell_style) : it is an index into the style_xfs, not the cell_xfs.
3788	(xlsx_file_open) : read themes before styles.
3789
37902008-09-11  Jody Goldberg <jody@gnome.org>
3791
3792	* ms-excel-read.c (excel_read_TAB_COLOR) : no sense checking for NULL.
3793	  [Coverity #197]
3794
37952008-09-02  Jody Goldberg <jody@gnome.org>
3796
3797	* boot.c (excel_file_open) : store VBA if it is available
3798	    *
37992008-08-29  Jody Goldberg <jody@gnome.org>
3800
3801	* Release 1.9.2
3802
38032008-08-29  Morten Welinder  <terra@gnome.org>
3804
3805	* ms-excel-read.c (excel_wb_get_fmt): Handle broken 1.6 formats.
3806
38072008-08-02  Jean Brefort  <jean.brefort@normalesup.org>
3808
3809	* xlsx-read.c: Fixed axis position.
3810
38112008-08-01  Jean Brefort  <jean.brefort@normalesup.org>
3812
3813	* ms-chart.c: (axis), (valuerange): set the "cross-axis-id" property.
3814
38152008-07-28  Jean Brefort  <jean.brefort@normalesup.org>
3816
3817	* ms-chart.c: (ai): add a warning, (tick): import text orientation,
3818	(chart_write_AI): fix AI export (reverses 2008-02-29 change),
3819	(chart_write_axis): export text orientation [#544935].
3820
38212008-07-02  Jody Goldberg <jody@gnome.org>
3822
3823	* xlsx-read.c (xlsx_CT_worksheet) : new.  Looks for related pivot
3824	  tables.  If the gsf extension necessary is available.
3825	(cb_find_pivots) : new.
3826
38272008-06-30  Jody Goldberg <jody@gnome.org>
3828
3829	* xlsx-read.c (xlsx_CT_PivotCache) : new, read a cache.
3830	* xlsx-read-pivot.c : New.
3831	* Makefile.am : dist xlsx-read-pivot.c
3832
38332008-02-29  Jean Brefort  <jean.brefort@normalesup.org>
3834
3835	* ms-chart.c (chart_write_AI): Do not export non-existing values
3836	(fixes some criticals, see #519788).
3837
38382008-06-29  Morten Welinder  <terra@gnome.org>
3839
3840	* ms-chart.c (xl_chart_import_error_bar): More checks on parent.
3841	Fixes #540697.
3842
38432008-06-25  Jody Goldberg <jody@gnome.org>
3844
3845	* Release 1.9.1
3846
38472008-06-22  Jody Goldberg <jody@gnome.org>
3848
3849	* ms-biff.c (ms_biff_query_next) : don't return anything if the record
3850	  looks suspicious. [#539666]
3851
38522008-06-22  Jody Goldberg <jody@gnome.org>
3853
3854	* ms-chart.c (chart_realize_obj) : throw in a warning (not used yet).
3855	(chart_create_obj) : call out to the container.
3856
38572008-06-19  Morten Welinder  <terra@gnome.org>
3858
3859	* ms-chart.c (end): Fix corrupted-file crash.  [#539178]
3860
38612008-06-13  Jody Goldberg <jody@gnome.org>
3862
3863	* ms-obj.c (ms_obj_read_expr) : handle empty expressions without a
3864	  calc id.
3865	(ms_obj_read_biff8_obj) : drop the debug spew.
3866
3867	* ms-excel-read.c (excel_read_EXTERNNAME) : rework the logic to
3868	  differentiate between name/DDE/OLE, and always load the name itself
3869	  even if we do not support DDE/OLE.
3870	(excel_read_EXTERNSHEET_v7) : hush.
3871	(excel_read_HEADER_FOOTER) : drop the size checks (they were wrong for
3872	  older sheets) they are unnecessary.  The biff_text handles it better.
3873	(excel_biff_text_1) : use the same structure as the logic in ...
3874	(excel_biff_text_2) : ... here.  And make it clear that we only need
3875	  two bytes.
3876
3877	* ms-chart.c (BC_R(surf)) :  This is only 2 bytes, not 6.
3878
38792008-06-12  Jody Goldberg <jody@gnome.org>
3880
3881	* ms-excel-read.c (gnm_xl_importer_free) : don't free a name that
3882	  failed to import.
3883	(excel_parse_name) : Do not free the name string here.
3884	(excel_read_EXTERNNAME) : get the name string even for DDE and OLE.
3885	  Fix the test for DDE links.
3886	  Improve the warning for unsupported types, and win32 proof them.
3887	  free the name string here.
3888	(excel_read_NAME) : and free it here too.
3889	(excel_read_SUPBOOK) : relax the size check to <=.  If there are no
3890	  sheets in the external link (e.g. DDE links) then this is the whole
3891	  record.  Remove the warning about unknown encoding.  There is no
3892	  requirement that the first character be one of the magic encoding
3893	  flags.
3894
38952008-06-11  Morten Welinder  <terra@gnome.org>
3896
3897	* ms-excel-util.c (two_way_table_put): If we free the key because
3898	it is a duplicate, continue with the valid version, not the freed.
3899	Fixes #537625.
3900
39012008-05-07  Morten Welinder  <terra@gnome.org>
3902
3903	* ms-excel-write.c (ExcelStyleVariant): New type.
3904	(xf_init): Create cell_style_variant hash.  Change domain type of
3905	xf.two_way_table to ExcelStyleVariant.  All users changed.
3906	(xf_free): Destroy cell_style_variant.
3907	(cb_cell_pre_pass): If a string cell needs quoting, mark it as
3908	variant 1.
3909	(excel_sheet_write_block): Use proper variant.
3910	(build_xf_data): Set ->format properly.
3911	(excel_write_XF): Propagate ->format into XF.  Fixes #530704.
3912
39132008-05-04  Jody Goldberg <jody@gnome.org>
3914
3915	* Release 1.9.0
3916
39172008-05-04  Jody Goldberg <jody@gnome.org>
3918
3919	* xlsx-read.c : Add stub for 'functionGroup'
3920
39212008-05-02  Morten Welinder  <terra@gnome.org>
3922
3923	* ms-excel-read.c (excel_read_XF): Dump more of the xf when debugging.
3924
39252008-05-02  Jody Goldberg <jody@gnome.org>
3926
3927	* ms-excel-read.c (ms_biff_bof_data_new) : make the version info spew
3928	  optional.
3929
39302008-04-27  Morten Welinder  <terra@gnome.org>
3931
3932	* ms-excel-read.c (excel_sheet_insert_val): Don't set formats for
3933	blanks and bools.  Fixes #530259.
3934
39352008-03-29  Morten Welinder  <terra@gnome.org>
3936
3937	* ms-formula-read.c (excel_parse_formula1): Fix swapped length
3938	checks.  Fixes #524926.
3939
39402008-03-12  Morten Welinder  <terra@gnome.org>
3941
3942	* ms-excel-read.c (excel_wb_get_fmt): Replace invalid formats by
3943	General.
3944
39452008-03-07  Jean Brefort  <jean.brefort@normalesup.org>
3946
3947	* xlsx-read.c: (xlsx_chart_text): create GnmGOData instead
3948	of GOData, (xlsx_axis_cleanup): do not unref a non deletable axis.
3949
39502008-02-29  Jean Brefort  <jean.brefort@normalesup.org>
3951
3952	* ms-chart.c: (ms_excel_chart_read): do not leak the default lot style,
3953	(store_dim): accept vectors with nul length,
3954	(chart_write_axis): fix export of invisible axis.
3955
39562008-02-29  Jean Brefort  <jean.brefort@normalesup.org>
3957
3958	* ms-chart.c (BC_R(end)): Drop axes that the plot cannot handle.
3959	Fixes a number of criticals from #518939.
3960
39612008-02-27  Morten Welinder  <terra@gnome.org>
3962
3963	* ms-chart.c (set_radial_axes): If clearing the parent fails, the
3964	ref-count is not as expected to stop messing with the object.
3965	Fixes #518939.  Mostly.
3966
39672008-02-23  Morten Welinder  <terra@gnome.org>
3968
3969	* ms-excel-read.c (excel_externsheet_v8): Take guint16 argument to
3970	prevent negative lookups.
3971
39722008-02-19  Morten Welinder  <terra@gnome.org>
3973
3974	* ms-escher.c (ms_escher_get_data): Add a few checks before Sum1
3975	finds this.
3976
39772008-02-17  Morten Welinder  <terra@gnome.org>
3978
3979	* ms-obj.c (ms_read_OBJ): Return error indicator.
3980	* ms-escher.c (ms_escher_read_ClientData): Handle errors from
3981	ms_read_OBJ.  Fixes #517106.
3982
39832008-02-15  Morten Welinder  <terra@gnome.org>
3984
3985	* ms-chart.c (ms_excel_chart_read): Check record length here for
3986	all chart record types.  (Derived from Jean's patch to #515343.)
3987	Fixes #514513, #515343, #515873, #515876.
3988	(BC(register_handlers)): Fix the minimum length of siindex
3989	records.
3990
39912008-02-08  Morten Welinder  <terra@gnome.org>
3992
3993	* ms-chart.c: Sprinkle some length checks.  Fixes #515269,
3994	#515275, and #515335.
3995
3996	* ms-excel-read.c (excel_read_SUPBOOK): Add length checks.  Fixes
3997	#515155.
3998
39992008-02-07  Morten Welinder  <terra@gnome.org>
4000
4001	* ms-biff.c (ms_biff_query_bound_check): Return (guint32)-1 on
4002	error so we can tell.
4003
4004	* ms-excel-read.c (gnm_xl_importer_free): Be more careful when
4005	freeing sst.
4006	(sst_read_string): Be more careful.  This code is a mess.
4007
4008	* ms-chart.c (xl_chart_import_error_bar): Avoid crash in missing
4009	parent-series case.  Fixes #514630.
4010
4011	* ms-formula-read.c (excel_parse_formula1, excel_parse_formula):
4012	Grow a maxlen argument and make sure we do not read more.  Fixes
4013	#514637.
4014
4015	* ms-excel-read.c (excel_read_string_header, excel_get_text): Grow
4016	an array_length argument and make sure we do not read more array
4017	data than call.  All callers changed.
4018	(excel_biff_text, excel_biff_text_1, excel_biff_text_2): New
4019	Biff-record based wrappers for excel_get_text.
4020	(excel_formula_shared): Make sure to copy the data behind the
4021	expression too.
4022
40232008-02-05  Morten Welinder  <terra@gnome.org>
4024
4025	* ms-escher.c (ms_escher_read_Blip): Don't construct bogus blip.
4026	Fixes #514510.
4027
4028	* ms-excel-read.c (excel_read_FONT): Add length checks.  Fixes
4029	#514506.
4030
40312008-02-04  Morten Welinder  <terra@gnome.org>
4032
4033	* ms-excel-read.c (excel_biff_text, excel_biff_text_1,
4034	excel_biff_text_2): New functions.  Use these where possible to
4035	add length checks.
4036
4037	* ms-chart.c (ai): Handle missing series.  Fixes #514435.
4038	(fontx): Add length checks.  Fixes #514436.
4039	* ms-biff.c (ms_biff_query_set_decrypt): Handle empty record.
4040	Fixes #514437.
4041
4042	* ms-excel-read.c (excel_read_FORMULA): When we see multiple
4043	expressions for a single cell, don't leak.  Fixes #514295.
4044	(excel_cell_fetch): New function.
4045	(excel_read_FORMULA, excel_read_LABEL, excel_sheet_insert_val):
4046	Use excel_cell_fetch so we range check cell position.
4047
4048	* ms-chart.c (ms_excel_chart_read): Factor the rest of cases out
4049	into functions so XL_CHECK_CONDITION can be used.  Fixes #514229
4050	and several other similar issues.
4051
4052	* ms-excel-read.c (excel_read_DEF_ROW_HEIGHT): Add length checks.
4053	Fixes #514230.
4054
40552008-02-03  Morten Welinder  <terra@gnome.org>
4056
4057	* ms-excel-read.c (excel_read_sheet): Factor the rest of cases out
4058	into functions so XL_CHECK_CONDITION can be used.  Fixes #513963
4059	and several other similar issues.
4060
40612008-02-02  Morten Welinder  <terra@gnome.org>
4062
4063	* ms-excel-read.c (excel_read_workbook) [BIFF_DSF]: Properly check
4064	record length.  Fixes #513835.
4065	(excel_read_HLINK): Be even stricter about record lengths.
4066
40672008-02-01  Morten Welinder  <terra@gnome.org>
4068
4069	* ms-excel-read.c (excel_read_NAME): Properly check record length.
4070	Fixes #513608.
4071	(excel_read_FORMAT): Ditto.  Fixes #513608.
4072	(excel_read_ROW): Ditto.  Fixes #513787.
4073
4074	* ms-chart.c (BC_R): Ditto.  Fixes #513790.
4075
40762008-01-31  Morten Welinder  <terra@gnome.org>
4077
4078	* ms-excel-read.c (excel_read_BOOLERR): Properly check record
4079	length.
4080	(excel_read_HEADER_FOOTER): Ditto.
4081	(excel_read_REFMODE): Ditto.  Fixes #513364.
4082	(excel_read_PAGE_BREAK): Ditto.  Fixes #513361.
4083	(excel_set_xf): Ditto.  Fixes #513551.
4084
40852008-01-30  Morten Welinder  <terra@gnome.org>
4086
4087	* ms-excel-read.c (excel_read_EXTERNNAME): Fix the error case.
4088	Fixes #513005.
4089	(excel_read_LABEL): Properly check record length.  Fixes #513313.
4090	(excel_read_SELECTION): Properly check record length.  Fixes #513317.
4091
40922008-01-29  Morten Welinder  <terra@gnome.org>
4093
4094	* ms-excel-write.c (excel_write_string): Fix length written for
4095	the unicode case (with length measured in characters).
4096
40972008-01-29  Morten Welinder  <terra@gnome.org>
4098
4099	* ms-excel-read.c (excel_read_EXTERNSHEET_v8): Check q->length
4100	properly.  Fixes #512984.
4101
41022008-01-15  Morten Welinder  <terra@gnome.org>
4103
4104	* ms-excel-read.c (excel_read_HLINK): Improve error checks.
4105	Fixes 505330.
4106
41072008-01-12  Jean Brefort  <jean.brefort@normalesup.org>
4108
4109	* ms-chart.c: (ms_excel_chart_write): save graph title if any and
4110	if the first chart has no title. [#301720]
4111
41122007-12-21  Jody Goldberg <jody@gnome.org>
4113
4114	* Release 1.8.0
4115
41162007-12-12  Jean Brefort  <jean.brefort@normalesup.org>
4117
4118	* ms-chart.c: (lineformat), (ms_excel_chart_read),
4119	(chart_write_LINEFORMAT), (chart_write_axis),
4120	(ms_excel_chart_write): fix import / export of lines format. [#502968]
4121	* ms-excel-read.c: (xl_pattern_to_line_type),
4122	(ms_sheet_realize_obj): ditto.
4123	* ms-excel-read.h: ditto.
4124
41252007-12-07  Morten Welinder  <terra@gnome.org>
4126
4127	* ms-chart.c (ms_excel_chart_read): Copy list of contributors
4128	because it will change underneath us.  [#501656]
4129
41302007-12-03  Jody Goldberg <jody@gnome.org>
4131
4132	* Release 1.7.91
4133
41342007-11-28  Jean Brefort  <jean.brefort@normalesup.org>
4135
4136	* ms-chart.c: (axislineformat): always set the style, even for
4137	invisible axes,
4138	(objectlink): started work on series labels import,
4139	(set_radial_axes),(radar), (radararea), load radar plot axes. [#499349]
4140	(end): a better auto marker test for #344950,
4141	(ms_excel_chart_read), reparent invisible axis children before
4142	deleting the axis.
4143	(chart_write_axis_sets): write radar plots axes.
4144	* ms-excel-read.c: (excel_read_BOF): reverse objects stack order.
4145
41462007-11-23  Jody Goldberg <jody@gnome.org>
4147
4148	* xlsx-read.c (xlsx_CT_PageMargins) : enable top/bottom.
4149	  Convert header/footer from inches to pts.
4150
41512007-11-19  Jody Goldberg <jody@gnome.org>
4152
4153	* Release 1.7.90
4154
41552007-11-18  Jody Goldberg <jody@gnome.org>
4156
4157	* ms-excel-write.c (excel_write_HLINKs) : implement.
4158	* ms-excel-read.c (excel_read_HLINK) : enable file and unc links.
4159	* plugin.xml.in : prefer biff8 to biff7 when matching by suffix.
4160
41612007-11-17  Morten Welinder  <terra@gnome.org>
4162
4163	* ms-formula-write.c (write_funcall): Fix error message.
4164
41652007-11-15  Morten Welinder  <terra@gnome.org>
4166
4167	* ms-excel-write.c (excel_sheet_free): Plug leaks.  [#497191]
4168
41692007-11-12  Morten Welinder  <terra@gnome.org>
4170
4171	* xlsx-read.c (xlsx_CT_Selection): Plug leak.
4172
41732007-11-15  Jean Brefort  <jean.brefort@normalesup.org>
4174
4175	* ms-chart.c: (areaformat): set fill.auto_fill to FALSE for
4176	transparent backgounds,
4177	(XL_gog_series_set_dim), (ms_excel_chart_read): fix compiler warnings.
4178
41792007-11-12  Jean Brefort  <jean.brefort@normalesup.org>
4180
4181	* ms-chart.c: (axislineformat), (ms_excel_chart_read),
4182	(chart_write_axis): use the "invisible" property for axis when
4183	appropriate.
4184
41852007-11-06  Jean Brefort  <jean.brefort@normalesup.org>
4186
4187	* ms-chart.c: (xl_axis_get_elem): don't set cross auto each
4188	time there is an auto parameter, just for cross.
4189
41902007-11-04  Morten Welinder <terra@gnome.org>
4191
4192	* Release 1.7.14
4193
41942007-11-01  Morten Welinder  <terra@gnome.org>
4195
4196	* ms-excel-write.c (excel_write_ClientTextbox): Survive NULL
4197	label.  Patches over #492377.
4198	(excel_write_string): Handle NULL txt here, just in case.
4199
42002007-10-29  Morten Welinder  <terra@gnome.org>
4201
4202	* ms-chart.c: use g_printerr where appropriate.
4203	(objectlink): Plug another leak.
4204
42052007-10-29  Morten Welinder  <terra@gnome.org>
4206
4207	* ms-chart.c (ms_excel_chart_read): Avoid freeing a value when
4208	trying to copy it.
4209	(seriestext): Fix leak.
4210
42112007-10-29  Jean Brefort  <jean.brefort@normalesup.org>
4212
4213	* ms-chart.c: (axislineformat): set s->xaxis to NULL after deletion,
4214	 (ms_excel_chart_read): initialize state.interpolation. [#491131]
4215
42162007-10-27  Morten Welinder  <terra@gnome.org>
4217
4218	* ms-excel-write.c (cb_write_macro_NAME): Don't delete
4219	efunc->macro_name here.  That won't work when we write the
4220	dual-format.
4221	(free_excel_func): New function.
4222	(excel_write_state_new): Install free_excel_func as value
4223	destructor for the hash.  Fixes #490828.
4224
42252007-10-27  Jean Brefort  <jean.brefort@normalesup.org>
4226
4227	* ms-chart.c: enhance axes labels import, export them, and fix
4228	export of line patterns.
4229
42302007-10-24  Morten Welinder  <terra@gnome.org>
4231
4232	* ms-formula-write.c (excel_formula_write_NAME_v7): Use a
4233	sequential id instead of casting the expression address to a
4234	number.
4235
42362007-10-21  Morten Welinder <terra@gnome.org>
4237
4238	* Release 1.7.13
4239
42402007-09-28  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>
4241
4242	* ms-chart.c (ms_excel_chart_write): remove unused zoom argument in
4243	gog_renderer_update call.
4244
42452007-09-28  Jean Brefort  <jean.brefort@normalesup.org>
4246
4247	* ms-chart.c: do not use WITH_GOFFICE_0_4 anymore.
4248
42492007-09-27  Jody Goldberg <jody@gnome.org>
4250
4251	* xlsx-read.c : Fix import of existing conditional format types.
4252	  We cannot handle the computed range formats yet.
4253
42542007-09-24  Jody Goldberg <jody@gnome.org>
4255
4256	* ms-chart.c (BC_R(end)) : Don't leak a style when faced with an empty
4257	  label.
4258
42592007-09-21  Morten Welinder  <terra@gnome.org>
4260
4261	* md5.c: Switch to GPL2 version, see  bug #478398.  (Patch by
4262	  Hans de Goede)
4263
42642007-09-16  Jody Goldberg <jody@gnome.org>
4265
4266	* xlsx-read.c (xlsx_plot_area_start) : new.
4267	(xlsx_plot_area_end) : new.
4268	(xlsx_chart_logbase) : new.
4269	(xlsx_draw_line_dash) : new.
4270	(xlsx_chart_marker_symbol) : new.
4271	(xlsx_chart_marker_end) : assign the marker symbol here, so that we
4272	  can get handle auto
4273	(xlsx_chart_gridlines) : new.
4274	(xlsx_chart_pop) : new.
4275
42762007-09-16  Jody Goldberg <jody@gnome.org>
4277
4278	* xlsx-read.c (xlsx_plot_area_start) : new.
4279	(xlsx_plot_area_end) : new.
4280	(xlsx_chart_logbase) : new.
4281	(xlsx_draw_line_dash) : new.
4282	(xlsx_chart_marker_symbol) : new.
4283	(xlsx_chart_marker_end) : assign the marker symbol here, so that we
4284	  can get handle auto
4285	(xlsx_chart_gridlines) : new.
4286	(xlsx_chart_pop) : new.
4287
42882007-09-16  Jody Goldberg <jody@gnome.org>
4289
4290	* xlsx-read.c (xlsx_plot_area_start) : new.
4291	(xlsx_plot_area_end) : new.
4292	(xlsx_chart_logbase) : new.
4293	(xlsx_draw_line_dash) : new.
4294	(xlsx_chart_marker_symbol) : new.
4295	(xlsx_chart_marker_end) : assign the marker symbol here, so that we
4296	  can get handle auto
4297	(xlsx_chart_gridlines) : new.
4298	(xlsx_chart_pop) : new.
4299
43002007-09-16  Jody Goldberg <jody@gnome.org>
4301
4302	* xlsx-read.c (attr_rgb) : new.
4303	(xlsx_chart_push_obj) : new.
4304	(xlsx_chart_pop_obj) : new.
4305	(simple_bool) : new.
4306	(xlsx_vary_colors) : use it.
4307	(simple_int) : new.
4308	(xlsx_chart_pie_sep) : use it.
4309	(xlsx_chart_bar_overlap) : ditto.
4310	(xlsx_chart_bar_gap) : ditto.
4311	(simple_float) : new.
4312	(simple_enum) : new.
4313	(xlsx_chart_bar_dir) : use it.
4314	(xlsx_chart_add_plot) : new.
4315	(xlsx_chart_pie) : use it.
4316	(xlsx_chart_ring) : use it.
4317	(xlsx_chart_bar) : use it.
4318	(xlsx_chart_area) : use it.
4319	(xlsx_chart_line) : use it.
4320	(xlsx_chart_xy) : use it.
4321	(xlsx_chart_bubble) : use it.
4322	(xlsx_chart_radar) : use it.
4323
4324	(xlsx_axis_info_free) : new.
4325	(xlsx_plot_axis_id) : new.
4326	(xlsx_axis_id) : new.
4327	(xlsx_axis_start) : new.
4328	(xlsx_axis_delete) : new.
4329	(xlsx_axis_orientation) : new.
4330	(xlsx_axis_pos) : new.
4331	(xlsx_axis_bound) : new.
4332	(xlsx_axis_crosses) : new.
4333	(xlsx_axis_end) : new.
4334	(xlsx_chart_ser_f) : handle series names.
4335
4336	(xlsx_chart_pt_start) : new.
4337	(xlsx_chart_pt_end) : new.
4338	(xlsx_chart_pt_index) : new.
4339	(xlsx_chart_pt_sep) : new.
4340	(xlsx_chart_style_start) : new.
4341	(xlsx_chart_style_end) : new.
4342	(xlsx_style_line_start) : new.
4343	(xlsx_style_line_end) : new.
4344	(xlsx_chart_no_fill) : new.
4345	(xlsx_chart_solid_fill) : new.
4346	(xlsx_draw_color_themed) : new.
4347	(xlsx_draw_color_rgb) : new.
4348	(xlsx_draw_color_alpha) : new.
4349	(xlsx_draw_color_end) : new.
4350	(xlsx_chart_marker_start) : new.
4351	(xlsx_chart_marker_end) : new.
4352	(xlsx_chart_text) : new.
4353	(xlsx_chart_text_content) : new.
4354
4355	(cb_axis_set_position) : new.
4356	(xlsx_axis_cleanup) : new.
4357	(xlsx_read_chart) : set up the extensions to handle styles, and
4358	  connect up the axis after parsing.
4359
4360	* ms-chart.c (excel_font_from_go_font) : take a XLExportBase.
4361	(chart_write_text) : fix call to excel_font_from_go_font.
4362	(chart_write_axis) : ditto.
4363
4364	* xlsx-write.c (xlsx_write_series_dim) : silence a warning.
4365
43662007-09-15  Jean Brefort  <jean.brefort@normalesup.org>
4367
4368	* ms-chart.c: (chart_write_axis_sets): use "Backplane" instead of
4369	"Grid" when goffice is 0.5,
4370
43712007-09-15  Jean Brefort  <jean.brefort@normalesup.org>
4372
4373	* ms-chart.c: (end): use "Backplane" instead of "Grid" when goffice is 0.5,
4374	(chart_write_text), (ms_excel_chart_write): made some work on titles
4375	position export.
4376
43772007-09-13  Jean Brefort  <jean.brefort@normalesup.org>
4378
4379	* ms-chart.c: (end), (chart_write_text), (chart_write_axis),
4380	(ms_excel_chart_write): export text with style and import chart
4381	titles [#301720].
4382	* ms-excel-write.c: (excel_font_from_go_font),
4383	(extract_gog_object_style): export fonts used in charts.
4384	* ms-excel-write.h: ditto.
4385
43862007-09-08  Jody Goldberg <jody@gnome.org>
4387
4388	* xlsx-read.c (xlsx_vary_colors) : new.
4389
4390	* ms-chart.c (chart_write_LEGEND) : new code split from.
4391	(chart_write_axis_sets) : here.
4392	* ms-chart.c (BC_R(boppop)) : place holder to at least get the pie.
4393
43942007-09-04  Jody Goldberg <jody@gnome.org>
4395
4396	* Release 1.7.12
4397
43982007-09-01  Jody Goldberg <jody@gnome.org>
4399
4400	* xlsx-write.c (xlsx_write_init_row) : new.
4401	(xlsx_write_cells) : add a simple compression mechanism to avoid
4402	  producing an empty row element if there is no useful content.
4403	(xlsx_write_hlink) : fix the namespace of the "id" attr.
4404	(xlsx_write_hlinks) : yay consistency!  No count for this collection.
4405	(xlsx_write_chart_bool) : always generate a val, ignore the supposed
4406	  default value. (fixes pie varyColor)
4407	(xlsx_write_chart) : vary pie color is not the default.  We need to
4408	  generate it.
4409	(xlsx_write_objects) : nvGraphicFramePr and xfrm are required.
4410	(xlsx_write_sheet) : re-order placement of protection element.
4411
44122007-08-25  Jean Brefort  <jean.brefort@normalesup.org>
4413
4414	* ms-chart.c: (gelframe): should now compile with goffice-0.4
4415
44162007-08-25  Jean Brefort  <jean.brefort@normalesup.org>
4417
4418	* ms-chart.c: (gelframe): return if type is less that 5, otherwise
4419	  set fill type and colors not auto.
4420
44212007-08-25  Jody Goldberg <jody@gnome.org>
4422
4423	* xlsx-read.c (xlsx_chart_legend) : new.
4424
44252007-08-24  Jody Goldberg <jody@gnome.org>
4426
4427	* xlsx-read.c (xlsx_CT_DataValidation_begin) : don't lose the input
4428	  messages.
4429
44302007-08-24  Jody Goldberg <jody@gnome.org>
4431
4432	* xlsx-write.c (xlsx_write_validation) : LTE and GT were swapped.
4433	* xlsx-read.c (xlsx_CT_DataValidation_begin) : ditto.
4434
44352007-08-24  Jody Goldberg <jody@gnome.org>
4436
4437	* xlsx-read.c (xlsx_chart_pie) : new.
4438	(xlsx_chart_ring) : new.
4439	(xlsx_chart_bar) : new.
4440	(xlsx_chart_area) : new.
4441	(xlsx_chart_line) : new.
4442	(xlsx_chart_xy) : new.
4443	(xlsx_chart_bubble) : new.
4444	(xlsx_chart_radar) : new.
4445	(xlsx_plot_end) : new.
4446	(xlsx_chart_ser) : new.
4447	(xlsx_chart_ser_f) : new.
4448	(xlsx_ser_type_start) : new.
4449	(xlsx_ser_type_end) : new.
4450	(xlsx_drawing_twoCellAnchor) : new.
4451	(xlsx_drawing_twoCellAnchor_end) : new.
4452	(xlsx_drawing_pos) : new.
4453	(xlsx_read_chart) : create the chart.
4454
44552007-08-23  Jody Goldberg <jody@gnome.org>
4456
4457	* xlsx-write.c (xlsx_write_merges) : split into a function for
4458	  cleanliness.
4459	(xlsx_write_validation) : new partial implementation.
4460	(xlsx_write_validations) : new.  Uses excel_collect_validations.
4461	(xlsx_write_sheet) : call the new routines.
4462
4463	* xlsx-read.c (xlsx_parse_sqref) : normalize the ranges to be extra
4464	  careful, and document that they are in reverse order.
4465	(xlsx_CT_DataValidation_begin) : finish, and cache the top left corner
4466	  of the 1st sqRef.
4467	(xlsx_validation_expr) : parse relative to the first corner, not A1.
4468
4469	* ms-excel-write.c (excel_write_DV) : split extraction code out into.
4470	(excel_collect_validations) : here.
4471
44722007-08-03  Jody Goldberg <jody@gnome.org>
4473
4474	* ms-excel-read.c (excel_read_HLINK) : fix import of local links.
4475
44762007-08-05  Jean Brefort  <jean.brefort@normalesup.org>
4477
4478	* ms-chart.c: (chart_write_series), (chart_write_plot): free
4479	strings returned by g_object_get.
4480
44812007-08-04  Jean Brefort  <jean.brefort@normalesup.org>
4482
4483	* ms-chart.c: fixed interpolation mode import/export after
4484	  the change in goffice.
4485
44862007-07-27  Jody Goldberg <jody@gnome.org>
4487
4488	* ms-chart.c (end) : don't leak a style of the legend doesn't have a
4489	  frame.
4490
44912007-07-26  Jody Goldberg <jody@gnome.org>
4492
4493	* ms-obj.c (ms_obj_read_expr) : new.
4494	(read_pre_biff8_read_expr) : use it here.
4495	(ms_obj_read_pre_biff8_obj) : here.
4496	(ms_obj_map_forms_obj) : and here.  Also check for source ranges for
4497	  combos and lists. [#451384]
4498
44992007-07-25  Jody Goldberg <jody@gnome.org>
4500
4501	* ms-excel-read.c (excel_read_SHEETPROTECTION) : size check was too
4502	  detailed.
4503
45042007-07-24  Jody Goldberg <jody@gnome.org>
4505
4506	* Release 1.7.11
4507
45082007-07-13  Jody Goldberg <jody@gnome.org>
4509
4510	* ms-obj.c (ms_obj_read_biff8_obj) : send the actual record, not
4511	  the 4 byte header that loses 4 trailing bytes.
4512	(ms_obj_map_forms_obj) : Use existing tools to properly handle
4513	 longer names and objects with data sources (combos/lists).
4514
4515	* xlsx-write.c (xlsx_write_calcPR) : new.
4516
45172007-07-09  Jody Goldberg <jody@gnome.org>
4518
4519	* xlsx-read.c (xlsx_CT_CalcPr) : new. Read the iterate and recalc
4520	  properties.  Need to add the refmode.
4521	* xlsx-write.c (xlsx_write_calcPR) : ditto.
4522	(xlsx_write_workbook) : called from here.
4523
45242007-07-14  Jody Goldberg <jody@gnome.org>
4525
4526	Report form coverity.
4527	* ms-obj.c (ms_read_TXO) : remove failure modes for items we do not
4528	  actually use.  alignments are enumerated from 1, not 0.
4529
45302007-06-21  Jody Goldberg <jody@gnome.org>
4531
4532	* ms-excel-read.h : delete MsBiffFontUnderline, there was no need for
4533	  an intermediate type.
4534
4535	* ms-excel-write.c (excel_write_PAGE_BREAK) : just hard code the
4536	  min/max.  The values seem constant in all my tests.
4537
4538	* ms-excel-biff.h : Start some cleanup, and begin to follow the naming
4539	  convention 'XLS_...' for binary and 'XLSX_...' for oox.
4540	  Define some Maximas.
4541
45422007-06-16  Jody Goldberg <jody@gnome.org>
4543
4544	* ms-excel-read.c (excel_read_PAGE_BREAK) : new.
4545	(excel_read_sheet) : called from here.
4546
4547	* ms-excel-write.c (excel_write_PAGE_BREAK) : new.
4548	(write_sheet_head) : called from here.
4549
4550	* xlsx-read.c (xlsx_CT_PageBreak) : new.
4551	(xlsx_CT_PageBreaks_begin) : new.
4552	(xlsx_CT_PageBreaks_end) : new.
4553
4554	* xlsx-write.c (xlsx_write_breaks) : new.
4555	(xlsx_write_print_info) : called from here.
4556
45572007-06-06  Jody Goldberg <jody@gnome.org>
4558
4559	* ms-excel-util.c (init_xl_font_widths) : add Calibri.
4560
45612007-06-12  Jody Goldberg <jody@gnome.org>
4562
4563	* plugin.xml.in  : Use 'Office 2007' as the description for the writer
4564	  too.
4565
45662007-06-10  Jody Goldberg <jody@gnome.org>
4567
4568	* xlsx-write.c : Move the OpenPkg support out of here and into libgsf.
4569	* xlsx-read.c : ditto.
4570	(xlsx_parse_rel_by_id) : new wrapper to handle errors from
4571	  gsf_open_pkg_parse_rel_by_id.
4572
45732007-06-10  Jody Goldberg <jody@gnome.org>
4574
4575	* xlsx-read.c (xlsx_CT_SheetProtection) : new.
4576	* xlsx-write.c (xlsx_write_protection) : new.
4577	(xlsx_write_sheet) : called from here.
4578
4579	* ms-excel-read.c (excel_read_SHEETPROTECTION) : new.
4580	(excel_read_sheet) : called here.
4581
4582	* ms-excel-write.c (excel_write_SHEETPROTECTION) : new.
4583	(excel_write_sheet) : called here after the validations.
4584
45852007-06-01  Jean Brefort  <jean.brefort@normalesup.org>
4586
4587	* ms-chart.c: do not delete a valid axis.
4588
45892007-05-25  Morten Welinder  <terra@gnome.org>
4590
4591	* plugin.xml.in: Add mime types for most of the savers.
4592
45932007-05-16  Jean Brefort  <jean.brefort@normalesup.org>
4594
4595	* ms-chart.c: (fontx), (tick), (end): import legend and
4596	axis labels font. [#437858]
4597
45982007-05-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4599
4600	* ms-excel-write.c (excel_write_SETUP): adjust for new
4601	  arguments of print_info_get_margins
4602	(excel_write_WSBOOL): ditto
4603	* ms-excel-read.c (excel_init_margins): use print_info_set_edge_to_*
4604	(excel_read_sheet): use print_info_set_edge_to_*
4605	* xlsx-write.c (xlsx_write_print_info): adjust for new
4606	  arguments of print_info_get_margin
4607
46082007-05-07  Jean Brefort  <jean.brefort@normalesup.org>
4609
4610	* ms-chart.c: (axis), (catserrange), (lineformat), (valuerange),
4611	(end), (ms_excel_chart_read), (chart_write_axis),
4612	(chart_write_axis_sets), (ms_excel_chart_write): fix import/export
4613	of axis sets. [#318610]
4614
46152007-05-03  Morten Welinder <terra@gnome.org>
4616
4617	* Release 1.7.10
4618
46192007-05-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4620
4621	* ms-excel-write.c (write_sheet_head): change PrintUnit content
4622	* ms-excel-read.c (excel_print_unit_init_inch): deleted
4623	(excel_init_margins): use GO_IN_TO_PT
4624	(excel_read_sheet): ditto
4625	* xlsx-write.c (xlsx_write_print_info): change PrintUnit content
4626
46272007-04-29  Jody Goldberg <jody@gnome.org>
4628
4629	* plugin.xml.in : remove duplicate xlsx entry
4630
46312007-04-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4632
4633	* ms-excel-write.c (excel_write_SETUP): use
4634	  print_info_get_paper_orientation
4635	(write_sheet_head): print_info might be modified
4636	* ms-excel-read.c (excel_read_SETUP): use
4637	  print_info_set_paper_orientation
4638
46392007-04-21  Morten Welinder <terra@gnome.org>
4640
4641	* Release 1.7.9
4642
46432007-04-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4644
4645	* ms-excel-write.c (write_sheet_head): use print_info_get_margins
4646	* ms-excel-read.c (paper_size_table): use PWG 5101.1-2002
4647	(excel_read_SETUP): use modified paper_size_table
4648	* xlsx-write.c (xlsx_write_print_info): use print_info_get_margins
4649
46502007-03-19  Jody Goldberg <jody@gnome.org>
4651
4652	* xlsx-write.c (xlsx_write_cells) : keep f before v, but do not try to
4653	  export an attribute of c once we have started the f or v.
4654	(xlsx_write_cells) : export array formulas.
4655	(xlsx_write_cells) : export bool values a "1" "0" rather than
4656	  value_get_as_string.
4657
46582007-03-18  Jody Goldberg <jody@gnome.org>
4659
4660	* xlsx-read.c (xlsx_file_open) : Visible error if no workbook is
4661	  found.
4662
4663	* xlsx-write.c (xlsx_write_sheet) : Define some new constants for the
4664	  spreadsheet, and relationship namespaces.  Then update them to the
4665	  versions used in the official 2007 release.
4666	(xlsx_write_shared_strings) : ditto.
4667	(xlsx_write_styles) : ditto.
4668	(xlsx_write_workbook) : ditto.
4669	(xlsx_write_col) : up the accuracy of width export to match XL 2007.
4670	  put hidden before other flags to ease visual inspection of xml.
4671	(xlsx_write_cols) : skip initial empty cols, and include the last col.
4672
46732007-03-16  Morten Welinder  <terra@gnome.org>
4674
4675	* ms-excel-read.c (excel_read_FONT): In case we get a NULL
4676	fontname, assume "Arial".  Fixes #418868.
4677
46782007-03-05  Jody Goldberg <jody@gnome.org>
4679
4680	* xlsx-utils.c (xlsx_cellref_as_string) : no need to use the
4681	  convention for the sheet_sep, hard code it.
4682	(xlsx_rangeref_as_string) : ditto.
4683	(xlsx_expr_conv_new) : adapt to changes.
4684
46852007-01-11  Jody Goldberg <jody@gnome.org>
4686
4687	* ms-escher.c (ms_escher_read_OPT_bools) : improve debug stream.
4688	(ms_escher_read_OPT) : add a few more properties based on the results
4689	  of the test file that fills in as many properties as I could find
4690	  samples/excel/objs.xls.
4691	(ms_escher_sp_new) : new. unused as yet.
4692	(ms_escher_sp_free) : ditto.
4693	(ms_escher_sp_len) : ditto.
4694	(ms_escher_sp_add_OPT) : ditto.
4695	(ms_escher_sp_set_anchor) : ditto.
4696	(ms_escher_sp_write) : ditto.
4697
4698	* ms-obj.c (ms_obj_read_biff8_obj) : do not generate a warning for
4699	  combos with no link, or the special autofilter combos.
4700	(ms_obj_read_biff8_obj) : include the id in the debug spew.
4701	(ms_obj_read_biff8_obj) : Do not warn about unknown flags that we know
4702	  are unknown :-)
4703	(ms_objv8_write_note) : new basic stub.
4704
4705	* ms-excel-write.c (excel_write_textbox_v8) : cheap hack to handle
4706	  comments somewhat at an invented anchor.
4707	(cb_NOTE_v8) : new.
4708	(excel_write_objs_v8) : keep track of the number of comments too.
4709	(excel_sheet_new) : count comments too.  General tidyup in prep for
4710	  moving to generated escher.
4711
47122007-03-04  Morten Welinder <terra@gnome.org>
4713
4714	* Release 1.7.8
4715
47162007-02-16  Morten Welinder <terra@gnome.org>
4717
4718	* Release 1.7.7
4719
47202007-01-06  Morten Welinder  <terra@gnome.org>
4721
4722	* xlsx-read.c (xlsx_cell_val_end): Use gnm_strto, not strtod.
4723
47242006-12-19  Jody Goldberg <jody@gnome.org>
4725
4726	* ms-excel-write.c (excel_write_autofilter_objs) : minor
4727	  simplification.
4728
47292006-12-19  Jody Goldberg <jody@gnome.org>
4730
4731	* xlsx-read.c (xlsx_get_num_fmt) : handle the standard builtins
4732	  and paste over the unicode variants of the documented locale
4733	  specific variants.
4734
47352006-12-18  Jody Goldberg <jody@gnome.org>
4736
4737	* ms-container.c (ms_container_parse_expr) : handle 0 length
4738	  expressions as NULL.  Looks like combos & lists with no links are
4739	  exported with length 0.
4740
47412006-12-17  Jody Goldberg <jody@gnome.org>
4742
4743	* Release 1.7.6
4744
47452006-12-17  Jean Brefort  <jean.brefort@normalesup.org>
4746
4747	* ms-chart.c: (lineformat): use auto color for series only when
4748	the color index is equal to the series index. [#166820]
4749
47502006-12-16  Jody Goldberg <jody@gnome.org>
4751
4752	* ms-excel-read.c (excel_read_COLINFO) : silence warning due to
4753	  kludge.
4754
47552006-12-16  Jody Goldberg <jody@gnome.org>
4756
4757	Start work on autofilters, only Top10 is implemented for in or out.
4758	* xlsx-read.c (xlsx_CT_Filters_begin) : new.
4759	  Massive renaming to use '_begin' rather than '_start' just because I
4760	  like the sound better.
4761	* xlsx-write.c (xlsx_write_autofilters) : new.
4762
47632006-12-16  Jody Goldberg <jody@gnome.org>
4764
4765	* ms-excel-read.c (ms_sheet_realize_obj) : link in the content
4766	  expression, and the linked cell for combo and list objects.
4767	* ms-obj.c (ms_obj_read_biff8_obj) : read ListboxData which seems to
4768	  contain the content expression.
4769
47702006-12-11  Morten Welinder  <terra@gnome.org>
4771
4772	* ms-excel-write.c (log_put_color): Remove "inline" -- it's
4773	pointless and triggers a gcc bug.  (gcc bug #30153)
4774
47752006-12-04  Jody Goldberg <jody@gnome.org>
4776
4777	* Release 1.7.5
4778
47792006-11-24  Jody Goldberg <jody@gnome.org>
4780
4781	* ms-obj.c (ms_obj_attr_get_ptr) : change signature to better
4782	  distiguish between NULL and not-specified.
4783	* ms-excel-read.c (ms_sheet_realize_obj) : Using NULL as the default
4784	  was a bad idea.  We could not differentiate between empty text which
4785	  got stored as NULL, and not specified which should use the default.
4786	  Use the new signature to ms_obj_attr_get_ptr to handle this
4787	  correctly. (test case : checkboxes in 375620 with no labels)
4788
47892006-11-24  Jody Goldberg <jody@gnome.org>
4790
4791	* xlsx-write.c (xlsx_write_col) : set 'bestFit' if the column has a
4792	  size different from the default and it has _not_ been set by the
4793	  user.
4794	* ms-excel-write.c (excel_write_COLINFO) : ditto.  Set the
4795	  undocumented flags customWidth and bestFit based on the OfficeOpen
4796	  docs.
4797	* ms-excel-read.c (excel_read_COLINFO) : the undocumented bestfit and
4798	  customwidth flags are not a perfect match with our hard_size.  Use
4799	  customwith && !bestfit == hard_size.  That should match even the
4800	  mis-exported xls from older gnumeric's and OOo.
4801	* xlsx-read.c (xlsx_CT_Col) : ditto, but there are no worries about
4802	  older gnumeric's or OOo mis-generating.
4803
48042006-11-20  Jody Goldberg <jody@gnome.org>
4805
4806	* Release 1.7.4
4807
48082006-11-19  Morten Welinder <terra@gnome.org>
4809
4810	* Release 1.7.3
4811
48122006-11-09  Jody Goldberg <jody@gnome.org>
4813
4814	* xlsx-read.c (xlsx_file_open) : use the new
4815	  gnm_push_C_locale/gnm_pop_C_locale utils.
4816	* xlsx-write.c (xlsx_file_save) : ditto.
4817
48182006-10-27  Jon K Hellan  <hellan@acm.org>
4819
4820	* ms-excel-read.c (excel_read_MERGECELLS): Accept overlapping
4821	merges, as Excel does.
4822
48232006-10-24  Jon K Hellan  <hellan@acm.org>
4824
4825	* ms-obj.c (ms_read_TXO): Handle UTF-16, and switching between
4826	single byte and UTF-16 between CONTINUE records [#340293].
4827
48282006-10-17  Jody Goldberg <jody@gnome.org>
4829
4830	* Release 1.7.2
4831
48322006-10-12  Jean Brefort  <jean.brefort@normalesup.org>
4833
4834	* ms-chart.c: (serfmt): add missing braces.
4835
48362005-07-06  Jon K Hellan  <hellan@acm.org>
4837
4838	* ms-excel-read.c (ms_sheet_realize_obj): Realize Excel 95 images
4839	[#155696].
4840
4841	* ms-obj.h: Add MS_OBJ_ATTR_IS_GOBJECT_MASK and
4842	MS_OBJ_ATTR_IMDATA. Widen MS_OBJ_ATTR_MASK.
4843
4844	* ms-obj.[ch] (ms_obj_attr_new_gobject,
4845	ms_obj_attr_get_gobject): New. Add support for GObject attributes.
4846	(ms_obj_attr_destroy): Handle GObject attributes.
4847	(ms_obj_read_pre_biff8_obj): Save Excel 95 image as attribute.
4848
48492006-10-09  Jon K Hellan  <hellan@acm.org>
4850
4851	* ms-excel-read.c (excel_read_HLINK): Fix bug with URLs having
4852	target frames.
4853
48542006-10-02  Jody Goldberg <jody@gnome.org>
4855
4856	* Release 1.7.1
4857
48582006-09-30  Jean Brefort  <jean.brefort@normalesup.org>
4859
4860	* ms-chart.c: (end): Don't use auto_shape or auto_dash when plot has
4861	no marker/line and series have while importing from excel. [#319727]
4862
4863
48642006-09-29  Jean Brefort  <jean.brefort@normalesup.org>
4865
4866	* ms-chart.c: (serfmt), (chart_write_SERFMT),
4867	(style_is_completely_auto), (chart_write_style): implemented serfmt
4868	to import/export interpolation type for splines. [#349457].
4869
48702006-09-24  Jody Goldberg <jody@gnome.org>
4871
4872	* xlsx-read.c : Some initial work at parsing charts.
4873	  Only an outline of a parser for now, no actual work.
4874
48752006-09-23  Jody Goldberg <jody@gnome.org>
4876
4877	* ms-excel-read.c (excel_read_SETUP) : Do not warn of print scale of
4878	  0, according to the OfficeOpen docs that means 'auto' we treat it as
4879	  100.
4880
4881	* ms-excel-write.c (cb_check_names) : We no longer write placeholders,
4882	  no need to check for them.
4883	(excel_foreach_name) : Ditto.
4884	(excel_write_NAME) : Do not export place holders.
4885	(excel_write_autofilter_names) : Add a hook to warn of multiple
4886	  autofilters in one sheet.	[#346217]
4887
48882006-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4889
4890	* ms-formula-read.c (parse_list_pop): use %p for pointers #346045
4891	* ms-formula-write.c (sheet_pair_hash): extinguish warning #346045
4892
48932006-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>
4894
4895	* ms-excel-write.c (excel_sheet_extent): use ngettext #123860
4896
48972006-06-03  Jody Goldberg <jody@gnome.org>
4898
4899	* xlsx-read.c (xlsx_ns) : add the namespace for beta2.
4900	(xlsx_shared_strings_dtd) : s/sstItem/si/ for beta2.
4901	* xlsx-write.c (gsf_outfile_open_pkg_close) : move to the new
4902	  spreadsheetml namespace.
4903	(xlsx_write_styles) : ditto.
4904	(xlsx_write_shared_strings) : ditto.
4905	(xlsx_write_sheet) : ditto.
4906
49072006-05-31  Jody Goldberg <jody@gnome.org>
4908
4909	* ms-excel-write.c (gather_styles) : Use sheet_cell_foreach, rather
4910	  than accessing Sheet::cell_hash directly.  This will make it easier
4911	  to jump to the quad tree later.
4912	(excel_write_workbook) : use the new sheet_cells_count rather than
4913	  accessing Sheet::cell_hash.
4914
49152006-05-22  Jody Goldberg <jody@gnome.org>
4916
4917	* ms-formula-read.c (excel_parse_formula1) : disable the long lived
4918	  warning about extended attr 0 with 3 and 0xA.  It has something to
4919	  do with singleton arrays, but does not seem important.
4920
49212006-05-25  Jean Brefort  <jean.brefort@normalesup.org>
4922
4923	* boot.c: replaced gi18n.h by gi18n-lib.h.
4924	* excel-xml-read.c: ditto.
4925	* ms-excel-read.c: ditto.
4926	* ms-excel-write.c: ditto.
4927	* ms-formula-read.c: ditto.
4928	* ms-formula-write.c: ditto.
4929	* xlsx-read.c: ditto.
4930	* xlsx-write.c: ditto.
4931
49322006-05-19  Morten Welinder  <terra@gnome.org>
4933
4934	* ms-formula-read.c (excel_parse_formula): Avoid critical on array
4935	formulas.
4936	* ms-excel-read.c: Add more checks for corrupted files.
4937
49382006-05-18  Morten Welinder  <terra@gnome.org>
4939
4940	* ms-formula-read.c (excel_parse_formula): Reinstate the call for
4941	expression sharing.
4942
4943	* ms-excel-read.c: Don't use g_return_if_fail and
4944	g_return_val_if_fail for condition relating to file contents.  (They
4945	produce CRITICALS and Jon Kaare will complain one day.)
4946
49472006-05-16  Morten Welinder  <terra@gnome.org>
4948
4949	* ms-excel-read.c (excel_read_MULRK): Add some bullet-proofing.
4950	[#341917]
4951
49522006-05-08  Jody Goldberg <jody@gnome.org>
4953
4954	* Release 1.7.0
4955
49562006-04-29  Jody Goldberg <jody@gnome.org>
4957
4958	* ms-excel-write.c (excel_write_WINDOW2) : merge excel_write_PANE into
4959	  here and fix export of H or V only freezes.
4960
49612006-04-23  Jody Goldberg <jody@gnome.org>
4962
4963	* xlsx-write.c : new.  Basic export and some code that will move to
4964	  libgsf for 'Open Package' support.
4965	* plugin.xml.in : Add xlsx export.
4966	* Makefile.am : ditto.
4967
49682006-04-23  Jody Goldberg <jody@gnome.org>
4969
4970	* ms-excel-read.c (excel_read_EXTERNSHEET_v7) : patch
4971	  tweak to import broken quoted sheetname from gnumeric-1.0.x eg
4972	  Libro1.xls.
4973
49742006-04-23  Jody Goldberg <jody@gnome.org>
4975
4976	* ms-chart.c (ms_excel_chart_read) : Don't set the graph and chart
4977	  styles to blank unless this is a full sheet object.  Fixes the
4978	  import of older charts that are not wrapped in BOF records eg
4979	  ms699.xls.
4980
49812006-04-18  Morten Welinder  <terra@gnome.org>
4982
4983	* boot.c (excel_file_open): Don't leak the meta_data object.
4984
49852006-04-16  Jody Goldberg <jody@gnome.org>
4986
4987	* xlsx-read.c : new.  Basic import and some code that will move to
4988	  libgsf for 'Open Package' support.
4989	* plugin.xml.in : Add xlsx import.
4990	* Makefile.am : ditto.
4991
49922006-04-15  Jody Goldberg <jody@gnome.org>
4993
4994	* ms-excel-write.c (halign_to_excel) : add HALIGN_DISTRIBUTED.
4995	* ms-excel-read.c (excel_read_TAB_COLOR) : office 12 seems to add some
4996	  bytes.
4997
49982006-04-09  Jean Brefort  <jean.brefort@normalesup.org>
4999
5000	* ms-chart.c: (xl_chart_import_trend_line), (ms_excel_chart_read),
5001	(chart_write_trend_line), (chart_write_series): fix import/export
5002	of trend lines (only those supported by xl).
5003
50042006-04-08  Jean Brefort  <jean.brefort@normalesup.org>
5005
5006	* ms-chart.c: (xl_chart_import_reg_curve): import power regression
5007	and moving average lines.
5008
50092006-04-07  Jody Goldberg <jody@gnome.org>
5010
5011	http://bugzilla.gnome.org/show_bug.cgi?id=336858
5012	* ms-excel-read.c (excel_read_EXTERNNAME) : be more careful about
5013	  bounds checking.  Looks like 'miniCalc' generates EXTERNNAME with no
5014	  expressions at all for it's external functions.
5015
50162006-03-30  Morten Welinder  <terra@gnome.org>
5017
5018	* ms-formula-write.c (write_node): Add missing table entry for
5019	array elements.  Write the right PTG for data tables.
5020	(excel_write_array_formula): New function.
5021	(excel_write_formula): Change to take a texpr.  All callers
5022	changed.
5023
5024	* ms-formula-write.h (ExcelFuncContext): Elminate
5025	EXCEL_CALLED_FROM_ARRAY which is now implicit.
5026
50272006-03-22  Jody Goldberg <jody@gnome.org>
5028
5029	* ms-chart.c (BC_R(lineformat)) : store the format in outline as well
5030	  as line.  We do not know where it's going to be used.
5031
50322006-03-19  Morten Welinder  <terra@gnome.org>
5033
5034	* ms-formula-write.c (write_node): Handle integers in VALUE_FLOAT
5035	records better.
5036
50372005-12-28  Jody Goldberg <jody@gnome.org>
5038
5039	* boot.c (excel_file_open) : use the new workbook_set_meta_data rather
5040	  than kludging GObject data.
5041
50422006-03-16  Morten Welinder  <terra@gnome.org>
5043
5044	* ms-excel-read.c (excel_get_style_from_xf): Even though the third
5045	argument of style_border_fetch isn't used yet, get it right.
5046
50472006-03-16  Morten Welinder  <terra@gnome.org>
5048
5049	* ms-excel-read.c (excel_read_EXTERNNAME): Use NULL, not 0.
5050	* ms-biff.c (ms_biff_query_next): Ditto.
5051	(ms_biff_query_destroy): Ditto.
5052	(ms_biff_put_new): Ditto.
5053	(ms_biff_put_len_next): Ditto.
5054	(ms_biff_put_len_commit): Ditto.
5055
50562006-03-13  Morten Welinder  <terra@gnome.org>
5057
5058	* ms-excel-write.c (write_sheet_head): Write protection flags.
5059	* ms-excel-read.c (excel_read_sheet_PROTECT): Store falg.
5060	(excel_read_workbook_PROTECT): New function.
5061	(excel_read_workbook): Read protection flags.
5062	Patch from Klokan Petr Pridal.  [#330129]
5063
50642006-03-13  Morten Welinder  <terra@gnome.org>
5065
5066	* ms-container.h (MSContainerClass): Make the parse_expr method
5067	return a texpr.  All users changed.
5068
5069	* ms-formula-read.c (excel_parse_formula): Make this return a
5070	texpr.  All users fixed.
5071	* ms-container.c (ms_container_parse_expr): Ditto.
5072	* ms-obj.c (ms_obj_attr_new_expr): Ditto.
5073
50742006-03-10  Jody Goldberg <jody@gnome.org>
5075
5076	* ms-formula-read.c (excel_parse_formula) : back port handling of
5077	  AttrChoose and AttrGoto
5078
50792006-03-10  Jody Goldberg <jody@gnome.org>
5080
5081	* ms-formula-read.c (excel_parse_formula) : don't forget to re-push
5082	  the new set with the extra element.
5083
50842006-02-27  Morten Welinder  <terra@gnome.org>
5085
5086	* ms-excel-write.c (blipinf_new): Fix potential 64-bit issue.
5087
50882006-02-21  Morten Welinder  <terra@gnome.org>
5089
5090	* ms-chart.c (ms_excel_chart_write): Plug minor leak.
5091
50922006-01-20  Jody Goldberg <jody@gnome.org>
5093
5094	* ms-excel-write.c (excel_write_FORMULA) : adjust to new
5095	  GNM_EXPR_OP_ARRAY handling
5096	* ms-formula-write.c (excel_write_prep_expr) : ditto.
5097	(write_node) : ditto.
5098
50992006-01-17  Morten Welinder  <terra@gnome.org>
5100
5101	* ms-chart.c (chart_write_AI): Allocate right amount of memory.
5102
51032005-12-22  Stepan Kasal  <kasal@ucw.cz>
5104
5105	* ms-excel-write.c (excel_write_externsheets_v8): Use the actual
5106	  number of sheets in the magic self referential SUPBOOK record.
5107	* ms-excel-read.c (supbook_get_sheet): Use EXCEL_SUP_BOOK_SELFREF
5108	  to recognize the self referential SUPBOOK record.
5109	(excel_read_EXTERNSHEET_v8): Simplify the read of sup_index.
5110	* ms-excel-read.h (ExcelExternSheetV8): Remove the unused member wb.
5111
51122005-12-05  Jean Brefort  <jean.brefort@normalesup.org>
5113
5114	* ms-chart.c: (axislineformat): do not set style before setting parent,
5115	(object_swap_children): new helper function,
5116	(end): also swap axis children for bar charts and do not access
5117	directly GOMarker fields (now a private structure),
5118	(xl_chart_import_error_bar): fixed some import issues,
5119	(chart_write_error_bar): implement error bars export,
5120	(chart_write_reg_curve): fix an indexation bug,
5121	(chart_write_series): export error bars,
5122	(ms_excel_chart_write): use go_marker_set_shape.
5123
51242005-11-27  Jean Brefort  <jean.brefort@normalesup.org>
5125
5126	* biff-types.h: add new custom biff code for goffice regression curves.
5127	* ms-chart.c: (ai), (serauxtrend), (trendlimits),
5128	(register_handlers), (xl_chart_import_reg_curve),
5129	(style_is_completely_auto), (chart_write_style),
5130	(chart_write_error_bar), (chart_write_reg_curve),
5131	(chart_write_series), (ms_excel_chart_write): export regression
5132	curves and enhance import.
5133
51342005-11-18  Jean Brefort  <jean.brefort@normalesup.org>
5135
5136	http://bugzilla.gnome.org/show_bug.cgi?id=321678
5137	* ms-chart.c: (ms_excel_chart_read): do not import series without
5138	chart group as error bars or regrssion curves for MS_BIFF_V4 or earlier.
5139
51402005-11-16  Jody Goldberg <jody@gnome.org>
5141
5142	http://bugzilla.gnome.org/show_bug.cgi?id=321678
5143	* ms-chart.c (xl_chart_import_reg_curve) : if the parent has no series
5144	  there is not much we can do.
5145
5146	http://bugzilla.gnome.org/show_bug.cgi?id=321677
5147	* ms-chart.c (BC_R(gelframe)) : don't crash when faced with an
5148	  unsupported plot type that has a gradient.
5149
51502005-11-14  Jody Goldberg <jody@gnome.org>
5151
5152	* Release 1.6.1
5153
51542005-11-08  Morten Welinder  <terra@gnome.org>
5155
5156	* ms-excel-write.c (blipinf_new): Don't crash if blip->type ends
5157	up NULL.  Fixes crash from #321009.
5158
51592005-11-05  Jody Goldberg <jody@gnome.org>
5160
5161	* excel-xml-read.c : Support DateTime values
5162
51632005-10-23  Jody Goldberg <jody@gnome.org>
5164
5165	* excel-xml-read.c (xl_xml_col_start) :
5166	  - add hidden.
5167	  - support spans
5168	  - support styles
5169	  - support sizes (still off by what seems like a constant factor ??
5170	    of 12.5% ??)
5171	(xl_xml_row_start) : ditto.
5172	(xl_xml_pane) : init edit pos to A1.
5173	(xl_xml_selection) : new. handle selection
5174	(xl_xml_editpos_col) : new. handle edit position
5175	(xl_xml_editpos_row) : new. ditto.
5176	(xl_xml_data_start) : load Data::Type here
5177	(xl_xml_cell_start) : not here.  Store the expr.
5178	(xl_xml_data_end) : store exprs and values.
5179	(xl_xml_named_range) : new.  No entirely functional.
5180	  It does not handle implicit fwd declatation of names.
5181
51822005-10-12  Jody Goldberg <jody@gnome.org>
5183
5184	* ms-formula-read.c (excel_parse_formula) : Ignore the data for Attr
5185	  CHOOSE that specifies which element to select.  We do not need it.
5186	* ms-excel-read.c (excel_read_FORMULA) : Use val_offset consistently
5187
51882005-10-10  Jody Goldberg <jody@gnome.org>
5189
5190	* Release 1.6.0
5191
51922005-10-03  Jody Goldberg <jody@gnome.org>
5193
5194	* excel-xml-read.c : Implement based on inspection of exported result
5195	  of a test xls (Did not read or download the schemas).  No support
5196	  for expressions or names yet.
5197
51982005-10-02  Jody Goldberg <jody@gnome.org>
5199
5200	* plugin.xml.in : enable SpreadsheetML importer
5201
5202	* excel-xml-read.c : implement
5203
5204	* ms-formula-write.c (write_funcall) : handle macros.
5205	  exporting Analysis.xls
5206
5207	* ms-formula-read.c (excel_parse_formula) : REF_3D, and AREA_3D for
5208	  biff7 seem to use the shared flag to define whether to sign extend.
5209
5210	* ms-excel-read.c (excel_parse_name) : name expressions are parsed as
5211	  shared.  Not sure about this.  This seems to work for the oo name
5212	  and relref tests.  Do more validation.
5213	(ms_wb_get_font_markup) : suppress warning.
5214	(excel_read_BOOLERR) : new split from.
5215	(excel_read_sheet) : here.
5216
5217	* ms-chart.c (BC_R(alruns)) : do not leak content. [#157059]
5218	(BC_R(pieformat)) : The magic 0xfffd in dataformat seems to do
5219	  something here too.  Without it plots that had a default separation
5220	  were thinking that it was just for 1 pt.
5221
52222005-09-30  Jean Brefort  <jean.brefort@normalesup.org>
5223
5224	* ms-chart.c: (text), (xl_chart_import_error_bar): fixed style leaks.
5225
52262005-09-30  Jean Brefort  <jean.brefort@normalesup.org>
5227
5228	* ms-chart.c: (xl_chart_import_reg_curve): set the correct value to the
5229	"affine" property.
5230
52312005-09-28  Jody Goldberg <jody@gnome.org>
5232
5233	* ms-chart.c (xl_chart_import_reg_curve) : split out from
5234	  ms_excel_chart_read.
5235	(xl_chart_import_error_bar) : ditto.
5236
5237	* ms-excel-write.c (excel_font_overlay_pango) : check super/sub scripts.
5238	(excel_font_hash) : ditto.
5239	(excel_font_equal) : ditto.
5240	(excel_font_new) : init the super/sub status
5241	(map_underline_to_xl) : new.
5242	(map_script_to_xl) : new.
5243	(cb_write_condition) : handle super/sub script.
5244	(excel_write_FONT) : ditto.
5245	(excel_font_new) : ditto.
5246
5247	* ms-excel-read.c (ms_wb_get_font_markup) : The super/subscript
5248	  distances were broken.  Use 5000 not 500.  Seems like we may want a
5249	  scale in there too.
5250	(excel_read_FONT) : Use GOFontScript
5251	(excel_get_style_from_xf) : store the script (super/sub)
5252	(excel_read_CF) : handle scripts.
5253
52542005-09-26  Jean Brefort  <jean.brefort@normalesup.org>
5255
5256	* ms-chart.c: (axislineformat): read the areaformat for type 3
5257	to avoid a style leak.
5258
52592005-09-21  Jean Brefort  <jean.brefort@normalesup.org>
5260
5261	* ms-chart.c: (chart_write_MARKERFORMAT): don't use style if NULL.
5262
52632005-09-21  Jean Brefort  <jean.brefort@normalesup.org>
5264
5265	* ms-chart.c: (markerformat): enhance markers import for MS_BIFF_V8
5266	(chart_write_MARKERFORMAT): enhanced export as well.
5267
52682005-09-18  Jody Goldberg <jody@gnome.org>
5269
5270	* ms-chart.c (BC_R(radar)) : XL defaults to having markers, goffice
5271	  does not.
5272	* ms-chart.c (chart_write_plot) : check marker status for radar plots.
5273
52742005-09-14  Jean Brefort  <jean.brefort@normalesup.org>
5275
5276	* ms-chart.c: (ms_excel_chart_read): import polynomial, exponential and
5277	logarithmic regression curves.
5278
52792005-09-08  Jody Goldberg <jody@gnome.org>
5280
5281	* Release 1.5.90
5282
52832005-09-06  Jody Goldberg <jody@gnome.org>
5284
5285	* ms-excel-read.c (excel_formula_shared) : finish TABLE importer.
5286	* ms-excel-write.c (excel_write_FORMULA) : finish TABLE exporter.
5287
52882005-09-04  Jody Goldberg <jody@gnome.org>
5289
5290	* ms-excel-write.c (excel_write_ClientTextbox) : property is called
5291	  'text' not 'label'
5292
52932005-09-04  Jody Goldberg <jody@gnome.org>
5294
5295	* ms-chart.c (chart_write_AI) : Move logic from #152317 here.
5296	  If we are writing an expression with only a string constant do not
5297	  quote it.
5298
52992005-08-29  Jody Goldberg <jody@gnome.org>
5300
5301	* ms-formula-read.c (excel_parse_formula) : support data tables.
5302	* ms-excel-read.c (excel_formula_shared) : ditto.
5303	* ms-formula-write.c (write_node) : ditto.
5304	* ms-excel-write.c (excel_write_FORMULA) : ditto.
5305
53062005-08-27  Jody Goldberg <jody@gnome.org>
5307
5308	* ms-obj.c (ms_obj_map_forms_obj) : no need to warn about record with
5309	  no expressions. (Wallenbach/Formulas-2003/chap05/character\ set.xls)
5310
53112005-08-28  Morten Welinder <terra@gnome.org>
5312
5313	* Release 1.5.5
5314
53152005-08-28  Morten Welinder <terra@gnome.org>
5316
5317	* Release 1.5.4
5318
53192005-08-25  Stepan Kasal  <kasal@ucw.cz>
5320
5321	* ms-chart.c (BC_R(text)): Comment out declarations of variables for
5322	commented out code.
5323
53242005-08-24  Jody Goldberg <jody@gnome.org>
5325
5326	* ms-excel-write.c (excel_font_new) : typo. [#314206]
5327
53282005-08-17  Jean Brefort  <jean.brefort@normalesup.org>
5329
5330	* ms-chart.c (ms_excel_chart_write): fix a compilation warning
5331	introduced yesterday and also a multiple chart export problem
5332	(#310967).
5333
53342005-08-15  Morten Welinder <terra@gnome.org>
5335
5336	* Release 1.5.3
5337
53382005-08-15  Jean Brefort  <jean.brefort@normalesup.org>
5339
5340	* ms-chart.c: (ms_excel_chart_write): unref state.root_view.
5341
53422005-08-05  Stepan Kasal  <kasal@ucw.cz>
5343
5344	* ms-excel-write.c (excel_write_string): Fix warning.
5345
53462005-08-04  Jody Goldberg <jody@gnome.org>
5347
5348	From Nick Lamb <njl98r@ecs.soton.ac.uk>
5349	* ms-excel-read.c (excel_read_XF_OLD) : improve alignment and
5350	  rotation handling.
5351
53522005-08-04  Jody Goldberg <jody@gnome.org>
5353
5354	* ms-excel-read.c (excel_read_XF) : Add HALIGN_DISTRIBUTED. no idea
5355	  what that does.
5356
5357	* ms-obj.c (ms_read_OBJ) : no docs for OBJ before biff5.  Ignore to
5358	  avoid problems.
5359
5360	* ms-excel-util.c (init_xl_font_widths) : make the font hash case
5361	  insensitive.
5362
53632005-08-02  Jean Brefort  <jean.brefort@normalesup.org>
5364
5365	* ms-chart.c (ms_excel_chart_read): fixed import x error bars.
5366
53672005-08-01  Jody Goldberg <jody@gnome.org>
5368
5369	* ms-excel-read.c (excel_read_WINDOW2) : Don't crash if there is no
5370	  view.
5371	(excel_read_SELECTION) : ditto.
5372	(excel_read_PANE) : ditto. #309544
5373
5374	* ms-excel-read.c (excel_palette_get) : add the tooltip colour
5375	  ordinals
5376
53772005-07-29  Jody Goldberg <jody@gnome.org>
5378
5379	* ms-chart.c (BC_R(objectlink)) : store the style for labels
5380	(BC_R(fontx)) : lookup the font and assign it to a style.  Need to
5381	  finish GOFont to store the remaining attributes.
5382	* ms-excel-read.c (excel_font_get_gofont) : new.
5383	(excel_read_FONT) : init the gofont member.
5384	(excel_font_free) : unref it here.
5385
53862005-07-15  Jody Goldberg <jody@gnome.org>
5387
5388	* ms-excel-write.c (excel_write_SETUP) : remove unecessary scaling.
5389
53902005-07-15  Jon K Hellan  <hellan@acm.org>
5391
5392	* ms-excel-write.c (excel_write_SETUP): Fix typo.
5393
53942005-07-06  Jody Goldberg <jody@gnome.org>
5395
5396	* ms-chart.c (BC_R(objectlink)) : fix leak. [#157058]
5397
53982005-07-15  Jody Goldberg <jody@gnome.org>
5399
5400	* ms-obj.c (ms_read_TXO) : handle CONTINUES for text
5401	(read_pre_biff8_read_text) : renamed from read_pre_biff8_read_str.
5402	  Handle continues in text and markup.  The layout is _very_ odd.
5403	  It seems that XL can write things it cannot read.
5404	(read_pre_biff8_read_name_and_fmla) : handle the name reading inline,
5405	  that is different from read_text.  The CONTINUE handling is very
5406	  different.
5407
5408	* ms-excel-write.c (excel_write_SETUP) : rewrite to handle the new
5409	  flags.
5410	(write_sheet_head) : export value for BIFF_PRINTHEADERS and only
5411	  export the left/right margins if they are set.
5412
5413	* ms-excel-read.c : Store the ver in the importer rather than the
5414	  container.
5415	  s/ExcelWorkbook/GnmXLImporter/
5416	  s/ewb/importer/
5417	(excel_get_chars) : renamed from ms_biff_get_chars.  Take an importer
5418	  and use it's iconv rather than a global.
5419	(excel_get_text) : renamed from biff_get_text.  Take an importer
5420	  rather than a ver.
5421	(excel_read_BOUNDSHEET) : new need for a ver arg, just use the importer.
5422	(esheet_ver) : new.
5423	(gnm_xl_importer_set_version) : new.
5424	(gnm_xl_importer_set_codepage) : rename from
5425	  excel_iconv_open_for_import and store the iconv in the importer rather
5426	  than as a global.  Add improved fallback and debug info.
5427	(excel_palette_get) : merge default palette handing into here and add
5428	  0x7fff as a synonym for black.  We need a better solution for themed
5429	  colours eventually.  Change signature to take an importer rather
5430	  than the palette object directly.  That keeps us from digging into
5431	  the import object directly.
5432	(excel_get_default_palette) : delete.
5433	(excel_read_XF_OLD) : use ver from importer, no need for arg.
5434	(excel_read_XF) : ditto.
5435	(excel_read_FORMULA) : clarify up the debug info.
5436	(ms_wb_get_font_markup) : better fallback for invalid fonts.
5437	(gnm_xl_importer_new) : renamed from excel_workbook_new and remove the
5438	  version tag.  The importer is now created without a version, and we
5439	  init that later.  It also has a larger life cycle with the plan to
5440	  extend that and have gnumeric create it for the new in/out framework
5441	  use gobjects.
5442	(gnm_xl_importer_free) : renamed from excel_workbook_destroy and close
5443	  the iconv.
5444	(excel_read_name_str) : take an importer rather than a ver.
5445	(excel_read_SETUP) : rewrite to store the new biff8+ properties for
5446	  comments and errors, and to add n_copies, and start page.
5447	(excel_read_CF) : turn off some debugging.
5448	(excel_read_sheet) : add handler for BIFF_PRINTHEADERS.
5449	(excel_read_BOF) : merge the standalone worksheet handler with the
5450	  others.  Do not create the importer here, that get's passed in.
5451	(excel_read_workbook) : no need to set the global iconv here, the
5452	  importer handles it.  Create the importer much earlier as a step
5453	  towards gobjectificatin.
5454
5455	* ms-chart.c (BC_R (ver)) : new to get the version from the importer
5456	(BC_R(area)) :
5457	(BC_R(attachedlabel)) :
5458	(BC_R(bar)) :
5459	(BC_R(line)) :
5460	(BC_R(markerformat)) :
5461	(BC_R(pie)) :
5462	(BC_R(scatter)) :
5463	(BC_R(series)) :
5464	(BC_R(shtprops)) :
5465	(BC_R(surf)) : Use it in place of passing in the ver
5466	(ms_excel_chart_read) : no need to pass version around
5467	(ms_chart_map_color) : adjust to change in excel_palette_get
5468
5469	* ms-biff.c (ms_biff_password_hash) :
5470	(ms_biff_crypt_seq) :
5471	(ms_biff_pre_biff8_query_set_decrypt) :
5472	(ms_biff_query_set_decrypt) :
5473	(verify_password) : silence some sign difference warnings
5474
54752005-07-11  Jody Goldberg <jody@gnome.org>
5476
5477	* ms-excel-read.c (excel_read_IMDATA) : Read the CONTINUE records
5478	  associated with the IMDATA even when not debugging. (#127756).
5479
54802005-07-11  Jon K Hellan  <hellan@acm.org>
5481
5482	* ms-excel-write.c (excel_write_SETUP): Export page
5483	orientation. I.e.: get the meaning of "orientation set" flag
5484	right, and don't mark it "invalid".
5485
54862005-07-09  Jon K Hellan  <hellan@acm.org>
5487
5488	* ms-excel-read.c (excel_read_workbook): Read BOF before entering
5489	record reading loop (#152528).
5490
54912005-07-04  Jean Brefort  <jean.brefort@normalesup.org>
5492
5493	* ms-chart.c: (ms_excel_chart_read): correctly import error bars
5494	for line plots (#309457).
5495
54962005-07-01  Jean Brefort  <jean.brefort@normalesup.org>
5497
5498	* ms-chart.c: (axislineformat): import axis grids,
5499	(chart_write_axis): export axis grids.
5500
55012005-07-01  Jean Brefort  <jean.brefort@normalesup.org>
5502
5503	* ms-chart.c: import error bars, (linear) regression curves and stock
5504	plots, export stock plots.
5505
55062005-06-28  Jody Goldberg <jody@gnome.org>
5507
5508	* ms-excel-write.c (cb_write_condition) : no need to unmap the kludge
5509	  to handle overlays with back colours and no pattern.  We handle that
5510	  in the core now.
5511	* ms-excel-read.c (excel_read_CF) : rather than kludging it here.  It
5512	  was breaking when applying a conditional to a base that already had
5513	  a pattern.
5514
55152005-06-27  Jody Goldberg <jody@gnome.org>
5516
5517	* ms-excel-read.c (excel_read_FORMULA) : improve debug output
5518
55192005-06-22  Jody Goldberg <jody@gnome.org>
5520
5521	* ms-excel-write.c (map_color_to_palette) : simplify
5522	  and remove the direct comparisons to colours.  Just take an
5523	  index and return it on NULL or auto.
5524	(xl_le_set_range) : new.
5525	(write_border) : new.
5526	(cb_write_condition) : new.
5527	(excel_write_conditions) : new.
5528	(excel_write_DVALs) : renamed from excel_write_DVAL.
5529	(excel_write_prep_conditions) : new.
5530	(put_colors) : look in conditional styles too.
5531
5532	* ms-excel-read.c (excel_read_CF_border) : new.
5533	(excel_read_CF) : implement.
5534	(excel_read_CONDFMT) : complete.
5535
55362005-06-13  Jody Goldberg <jody@gnome.org>
5537
5538	* Release 1.5.2
5539
55402005-06-02  Jody Goldberg <jody@gnome.org>
5541
5542	* ms-formula-read.c (excel_parse_formula) : slight improvement of
5543	  extended ptg parsing.  Use the test workbook to tell which items put
5544	  something on the stack and which do not.
5545
55462006-06-02  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5547
5548	* plugins/excel/ms-chart.c (BC_R): use gog_object_set_position_flags.
5549
55502005-05-25  Jody Goldberg <jody@gnome.org>
5551
5552	* ms-excel-read.c (excel_read_sheet) : store the default style after
5553	  we parse the sheet.  For older xls formats XF records happen after
5554	  the BOF.
5555
55562005-05-24  Morten Welinder  <terra@gnome.org>
5557
5558	* ms-biff.c (ms_biff_query_destroy): Work harder at not leaving
5559	passwords in memory.
5560	(makekey): Ditto.
5561	(verify_password): Ditto.
5562
5563	* ms-excel-read.c (excel_read_FILEPASS): Plug leak.
5564
55652005-05-18  Jody Goldberg <jody@gnome.org>
5566
5567	http://bugzilla.gnome.org/show_bug.cgi?id=166611
5568	* ms-formula-read.c (excel_parse_formula) : Create a fwd declaration
5569	  of a NAME record that has not been read yet being used in a PTG_NAME.
5570
5571	* ms-excel-read.c (excel_read_NAME) : keep a count of the name
5572	  records and use fwd declaration if they exist.
5573	(excel_workbook_destroy) : move the names array into the workbook from
5574	  the container.
5575	(excel_workbook_new) : ditto.
5576
55772005-05-18  Jody Goldberg <jody@gnome.org>
5578
5579	http://bugzilla.gnome.org/show_bug.cgi?id=304528
5580	* ms-chart.c (ms_excel_chart_read) : don't leak the array for invalid
5581	  series (Analysis.xls).  Handle missing siindex record (chap03-1.xls).
5582
55832005-05-19  Jody Goldberg <jody@gnome.org>
5584
5585	http://bugzilla.gnome.org/show_bug.cgi?id=304558
5586	* ms-excel-read.c (excel_read_COLINFO) : we can't draw columns without
5587	  margins yet so map their width to 4pts rather than hiding them.
5588
55892005-05-17  Jody Goldberg <jody@gnome.org>
5590
5591	* ms-chart.c (ms_excel_chart_read) : add some protection
5592
55932005-05-17  Morten Welinder  <terra@gnome.org>
5594
5595	* ms-chart.c (excel_chart_series_new): Set data[i].series also.
5596
55972005-05-16  Jean Brefort  <jean.brefort@normalesup.org>
5598
5599	* ms-chart.c: (ai): replace a g_assert by a warning,
5600	(seriestext): add a const to fix a compilation warning,
5601	(end): fix default-style-has-lines,
5602	(chart_write_AI): fix a compilation warning and labels export,
5603	(ms_excel_chart_write): export GogSurfaceSeries.
5604
56052005-05-16  Morten Welinder  <terra@gnome.org>
5606
5607	* ms-excel-read.c: Always set ->text_dir.
5608
56092005-05-16  Jody Goldberg <jody@gnome.org>
5610
5611	* ms-excel-write.c (excel_write_XF) : remove debug spew
5612
56132005-05-14  Jean Brefort  <jean.brefort@normalesup.org>
5614
5615	* ms-chart.c: (chart_write_AI): fixed tests, (chart_write_axis_sets ):
5616	add a missing break.
5617
56182005-05-13  Jean Brefort  <jean.brefort@normalesup.org>
5619
5620	* ms-chart.c: (chart_write_AI): don't forget toi export the >AI record
5621	even for constant labels!
5622
56232005-05-13  Jean Brefort  <jean.brefort@normalesup.org>
5624
5625	* ms-chart.c: (seriestext): use a constant GnmExpr instead of
5626	a GODataScalarStr, (chart_write_AI): export constant series labels,
5627	(chart_write_siindex): fix a stupid bug.
5628
5629
56302005-05-13  Jean Brefort  <jean.brefort@normalesup.org>
5631
5632	* ms-chart.c: (chart_write_AI): fix a crash condition. Constant series
5633	names are not exported yet.
5634
56352005-05-12  Jody Goldberg <jody@gnome.org>
5636
5637	* ms-excel-read.c (excel_read_ROW) : fix debug spew
5638
56392005-05-12  Jody Goldberg <jody@gnome.org>
5640
5641	* ms-pivot.c (excel_read_pivot_caches) : don't produce warnings for
5642	  files without OLE2 wrapper
5643
56442005-05-12  Jean Brefort  <jean.brefort@normalesup.org>
5645
5646	* ms-chart.c: export series data when constant;
5647
56482005-05-10  Jody Goldberg <jody@gnome.org>
5649
5650	* Release 1.5.1
5651
56522005-05-09  Morten Welinder  <terra@gnome.org>
5653
5654	* ms-chart.c (chart_write_axis): Fix C99ism.
5655
56562005-04-23  Jody Goldberg <jody@gnome.org>
5657
5658	* ms-formula-read.c (excel_func_desc) : We do not need the VARARG vs
5659	  FIXED flags anymore min_args vs max_args is enough.  Replace both
5660	  with XL_STD.
5661	(make_function) : No need to generate warnings about VAR vs FIXED
5662	* ms-formula-write.c (write_funcall) : Use max_args from the func
5663	  descriptor
5664
56652005-05-07  Jean Brefort  <jean.brefort@normalesup.org>
5666
5667	* ms-chart.c: (excel_chart_series_new), (ai), (series), (siindex),
5668	(switch), (while), (if): enhanced import of data, and make some work
5669	on coutour plots export.
5670
56712005-05-04  Jody Goldberg <jody@gnome.org>
5672
5673	* ms-formula-read.c : Add ISHYPERLINK
5674
5675	* ms-excel-write.c (excel_write_COLINFO) : patch a minor leak.
5676
5677	* boot.c (excel_read_metadata) : close the meta data streams.
5678	(excel_file_open) : let the summary props override the document.
5679
56802005-04-10  Jean Brefort  <jean.brefort@normalesup.org>
5681
5682	* ms-chart.c: (3d), (ai), (axis), (surf), (switch):
5683	import contours and surfaces plots.
5684
56852005-04-09  Jody Goldberg <jody@gnome.org>
5686
5687	* boot.c (excel_save) : Use the new GsfDocMetaData api
5688	(excel_read_metadata) : ditto.
5689	(excel_file_open) : ditto.
5690
56912005-03-24  Stepan Kasal  <kasal@ucw.cz>
5692
5693	* Makefile.am (excel_la_LIBADD): Add an explanation for $(Z_LIBS).
5694
56952005-03-23  Jody Goldberg <jody@gnome.org>
5696
5697	* ms-excel-read.c (excel_read_workbook) : add a hook to read pivot
5698	  table caches.  It doesn't do much yet, but it's a start.
5699	* ms-biff.c (ms_biff_query_copy_decrypt) : new TODO
5700	* boot.c : Add a debug hook for pivots, and remove pointless comments
5701	* biff-types.h : update for the pivot table and cache elements
5702	* Makefile.am : Add ms-pivot.[ch]
5703
57042005-03-23  Morten Welinder  <terra@gnome.org>
5705
5706	* ms-escher.c (ms_escher_read_OPT): Use g_fopen, not fopen.
5707	* ms-excel-read.c (excel_read_IMDATA): Ditto.
5708
57092005-03-15  Jody Goldberg <jody@gnome.org>
5710
5711	* ms-excel-write.c (excel_write_workbook) : init n when totaling the
5712	  number of cells.
5713
57142005-03-14  Jean Brefort  <jean.brefort@normalesup.org>
5715
5716	* ms-chart.c: import/export logarithmic axis.
5717
57182005-03-13  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5719
5720	* ms-chart.c (BC_R): use gog_chart_get_axes.
5721	(chart_write_axis_sets): use gog_chart_get_axis_set.
5722	s/AXIS_ELEM/GOG_AXIS_ELEM
5723
57242005-03-12  Jody Goldberg <jody@gnome.org>
5725
5726	* ms-excel-read.c (excel_read_DV) : Lists also have no use for
5727	  operators.
5728	  Invert the use_dropdown flag.  XL stores that as 'suppress combo'
5729	* ms-excel-write.c (excel_write_DV) : invert user_dropdown
5730
57312005-03-11  Jean Brefort <jean.brefort@normalesup.org>
5732
5733	* ms-chart.c (valuerange): import logarithmix axis mapping.
5734
57352005-02-16  Jody Goldberg <jody@gnome.org>
5736
5737	* ms-excel-write.c (excel_write_workbook) : Use count_io_progress_set
5738	  so that we can remove workbook_io_progress_set.
5739
57402005-02-09  Jody Goldberg <jody@gnome.org>
5741
5742	* ms-excel-read.c (excel_read_BOUNDSHEET) : set the visibility of
5743	  imported sheets.
5744
57452005-02-08  Jody Goldberg <jody@gnome.org>
5746
5747	* ms-excel-read.c (excel_read_SETUP) : drop debug spew
5748
57492005-02-08  Morten Welinder  <terra@gnome.org>
5750
5751	* ms-excel-write.c (txomarkup_new): Work around Pango bug #166700.
5752	Don't compare freed pointer against NULL.  Fixes #166532.
5753
57542005-02-07  Jody Goldberg <jody@gnome.org>
5755
5756	* ms-excel-write.c (excel_write_SETUP) : store the fit to pages width
5757	  and height.
5758	(excel_write_WSBOOL) : set the fit to page flag.
5759
5760	* ms-excel-read.c (excel_read_WSBOOL) : read the fit to page flag.
5761	(excel_read_SETUP) : read the fit to pages width and height.
5762
57632005-02-08  Jody Goldberg <jody@gnome.org>
5764
5765	* Release 1.5.0
5766
57672005-02-07  Morten Welinder  <terra@gnome.org>
5768
5769	* ms-excel-write.c (excel_font_overlay_pango): Plug leak.
5770	[#166561]
5771
57722004-12-07  Jody Goldberg <jody@gnome.org>
5773
5774	* ms-excel-write.c (excel_write_WINDOW2) : export sheet level rtl
5775	  setting (we could move it to SheetView)
5776	(build_xf_data) : store the text dir.
5777	(excel_write_XF) : write it.
5778
5779	* ms-excel-read.c (excel_read_WINDOW2) : read sheet level rtl flag
5780	(excel_read_XF) : read the text dir.
5781	(excel_get_style_from_xf) : store the text dir.
5782
57832005-01-17  Jody Goldberg <jody@gnome.org>
5784
5785	* Release 1.4.2
5786
57872005-01-16  Jody Goldberg <jody@gnome.org>
5788
5789	* ms-excel-write.c (excel_write_COLINFO) : fix the breakage
5790
5791	http://bugzilla.gnome.org/show_bug.cgi?id=163236
5792	* ms-formula-read.c (excel_func_desc) : Merge in the latest OOo data
5793	  and some new research
5794
5795	* boot.c (plugin_init) : add some function table validation tests.
5796	  We'll want more as the data structures get cleaned up
5797
57982005-01-14  Jody Goldberg <jody@gnome.org>
5799
5800	http://bugzilla.gnome.org/show_bug.cgi?id=155719
5801	* ms-excel-write.c (writer_header_footer) : quick and easy
5802	  implementation.
5803	* ms-excel-read.c (xl_hf_strstr) : simple handling of XL's ampersand
5804	  escaping.
5805	(excel_read_HEADER_FOOTER) : implement.
5806
58072005-01-13  Jody Goldberg <jody@gnome.org>
5808
5809	http://bugzilla.gnome.org/show_bug.cgi?id=163409
5810	* ms-excel-write.c (excel_write_COLINFO) : handle ci == NULL
5811	  so that we can export empty cols with formats.  If the format is the
5812	  same as the sheet default don't bother to export.
5813	(excel_write_colinfos) : we may need to export empty cols.
5814
58152005-01-10  Jody Goldberg <jody@gnome.org>
5816
5817	http://bugzilla.gnome.org/show_bug.cgi?id=163406
5818	* ms-excel-util.c (init_xl_font_widths) : fix entries for Bitstream
5819	  Vera and Sans
5820
58212005-01-10  Jody Goldberg <jody@gnome.org>
5822
5823	* ms-formula-write.c (write_arrays) : handle booleans and errors in
5824	  arrays
5825
58262004-11-13  Jody Goldberg <jody@gnome.org>
5827
5828	* ms-excel-read.c (ms_sheet_realize_obj) : We have a clear separation
5829	  between create and realize now, we should use it.  This routine sets
5830	  the content.
5831	(ms_sheet_create_obj) : this one creates objects for use later.
5832	  I am not entire happy with this split.  It no longer feels
5833	  necessary but it is much too close to release to contemplate
5834	  cleaning it up.
5835
58362004-12-17  Jody Goldberg <jody@gnome.org>
5837
5838	http://bugzilla.gnome.org/show_bug.cgi?id=161534
5839	* ms-excel-read.c (excel_read_DIMENSIONS) : be extra anal with
5840	  dimension records because they have ordinal zero
5841
58422004-11-20  J.H.M. Dassen (Ray) <jdassen@debian.org>
5843
5844	* ms-excel-read.c (excel_read_SETUP): Also import paper sizes for which
5845	gnome-print doesn't have names.
5846
58472004-12-09  Jody Goldberg <jody@gnome.org>
5848
5849	* Release 1.4.1
5850
58512004-12-09  Jody Goldberg <jody@gnome.org>
5852
5853	* ms-chart.c (BC_R(surf)) : prep but leave ifdefed to avoid problems
5854	  with XL's funky representation of axes.
5855
58562004-11-28  Jody Goldberg <jody@gnome.org>
5857
5858	* Release 1.4.0
5859
58602004-11-28  Jody Goldberg <jody@gnome.org>
5861
5862	* ms-excel-read.c (excel_read_WINDOW2) : document rtl
5863	* ms-excel-write.c (excel_write_WINDOW2) : ditto
5864
58652004-11-19  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5866
5867	* ms-chart.c (BC_R(radararea)): type of area radar is
5868	GogRadarAreaPlot.
5869	(chart_write_plot): ditto.
5870
58712004-11-16  Jody Goldberg <jody@gnome.org>
5872
5873	* ms-chart.c (ms_excel_chart_write) : ultra-basic handling of graphs
5874	  with multiple charts
5875
58762004-11-15  Jody Goldberg <jody@gnome.org>
5877
5878	* ms-excel-read.c (excel_read_SETUP) : hide some spurious debug spew
5879
58802004-11-15  Jody Goldberg <jody@gnome.org>
5881
5882	http://bugzilla.gnome.org/show_bug.cgi?id=157997
5883	* ms-excel-read.c (ms_sheet_realize_obj) : a temp patch for the object
5884	  double unrefing.  A more significant patch is waiting for after
5885	  release.
5886
58872004-11-14  J.H.M. Dassen (Ray) <jdassen@debian.org>
5888
5889	* ms-excel-read.c (excel_read_SETUP): Import paper sizes. This works
5890	  now that we have delayed instantiation of print configs. For now it
5891	  only works for paper sizes for which gnome-print has names though.
5892
58932004-11-07  Jody Goldberg <jody@gnome.org>
5894
5895	* Release 1.3.93
5896
58972004-10-31  Jody Goldberg <jody@gnome.org>
5898
5899	* Release 1.3.92
5900
59012004-11-01  Morten Welinder  <terra@gnome.org>
5902
5903	* ms-excel-read.c (ms_biff_get_chars): Give g_iconv the right kind
5904	of pointer.
5905
5906	* ms-excel-write.c (excel_write_string): Ditto.
5907	(excel_write_string_len): Change second argument to be size_t*.
5908
5909	* ms-excel-read.h (ms_biff_get_chars): Give g_iconv the right kind
5910	of pointer.
5911
5912	* ms-excel-write.h (excel_write_string_len): Change second
5913	argument to be size_t*.
5914
5915	* ms-escher.c (ms_escher_get_data): Fix confusion between
5916	ptrdiff_t and int.
5917
59182004-10-18  Jon K Hellan  <hellan@acm.org>
5919
5920	* ms-obj.c (ms_obj_read_pre_biff8_obj): Unref pixbuf returned by
5921	excel_read_IMDATA.
5922
5923	* ms-excel-read.c (excel_read_os2bmp): New. Handle headerless OS/2
5924	bitmap.
5925	(excel_read_IMDATA): Call excel_read_os2bmp to handle OS/2
5926	BMP. Other format may be dumped to file.
5927	(excel_read_sheet): Unref pixbuf returned by excel_read_IMDATA.
5928
59292004-10-15  Morten Welinder  <terra@gnome.org>
5930
5931	* ms-excel-write.c (excel_sheet_new): Don't free the same thing
5932	twice.
5933
59342004-10-11  Morten Welinder  <terra@gnome.org>
5935
5936	* ms-excel-read.c (ms_sheet_realize_obj): Plug leak.
5937
59382004-10-10  Jody Goldberg <jody@gnome.org>
5939
5940	* ms-obj.c (ms_obj_map_forms_obj) : move here and pull in the linked
5941	  cell data when available.
5942
59432004-10-08  Jody Goldberg <jody@gnome.org>
5944
5945	* ms-obj.c (ms_obj_read_biff8_obj) : some simple mapping from Forms
5946	  objects to things we understand.  No properties imported yet.
5947
5948	http://bugzilla.gnome.org/show_bug.cgi?id=154734
5949	* ms-chart.c (BC_R(end)) : cheesy swapping of the formatting
5950	  associated with X and Y axes for bar plots.
5951
59522004-10-05  Jody Goldberg <jody@gnome.org>
5953
5954	* Release 1.3.91
5955
59562004-09-16  Stepan Kasal  <kasal@ucw.cz>
5957
5958	* Makefile.am (excel_la_LIBADD): New variable, set to $(Z_LIBS).
5959	(INCLUDES): add $(Z_CPPFLAGS)
5960
59612004-09-24  Jody Goldberg <jody@gnome.org>
5962
5963	* ms-obj.c (ms_obj_attr_new_flag) : add some safety checking
5964	(ms_obj_read_pre_biff8_obj) : merge up the handling of similar
5965	  structures to get more consistent import.
5966
5967	* ms-excel-write.c (excel_write_objs) : now that text boxes and
5968	  rectangles are the same we need to do more work to figure out which
5969	  are which.  Make a list and use that in place of repeated lookups.
5970	(excel_sheet_new) : make the list here.
5971	(excel_write_state_new) : use the list.
5972	(excel_sheet_free) : new.
5973	(excel_write_state_free) : use excel_sheet_free.
5974
5975	* ms-excel-read.c (ms_sheet_map_color) : rework to use GOColor
5976	(ms_sheet_realize_obj) : simplify greatly by using GObject properties
5977	  with common names in the sheet objects and merging the handling of
5978	  related types (text==rectangle ...)
5979	(ms_sheet_create_obj) : Use the new object types in a step towards
5980	  removing this function.
5981
5982	* ms-escher.c (ms_escher_read_OPT_bools) : new.
5983	(ms_escher_read_OPT) : read the boolean blocks as a group to avoid
5984	  kludging around the infrastructure for 1:1 properties.
5985	 While in here make the debug spew for complex options more useful
5986	 Store PTR properties
5987
59882004-09-17  Jody Goldberg <jody@gnome.org>
5989
5990	* ms-excel-read.c (ms_sheet_realize_obj) : default to outline with == 1
5991
59922004-09-22  Jody Goldberg <jody@gnome.org>
5993
5994	http://bugzilla.gnome.org/show_bug.cgi?id=153260
5995	* ms-excel-write.c (excel_write_BOF) : use the versioned ids directly
5996	(excel_write_FORMULA) : ARRAY is v2 for the versions we can export
5997
5998	* ms-excel-read.c (excel_unexpected_biff) : tweak the typing for
5999	  printf
6000	(ms_biff_bof_data_new) : straight to opcodes.
6001	(excel_read_PALETTE) : ditto.
6002	(excel_formula_shared) : ditto.
6003	(excel_read_DEF_ROW_HEIGHT) : ditto.
6004	(excel_read_FORMULA) : ditto, but be careful.  Use the BOF version,
6005	  not the record.  Our export was dropping the version.
6006	(excel_read_ROW) : better handling for old versions.
6007
6008	* ms-chart.c (ms_excel_chart_read) : use raw opcodes for non-chart
6009	  records
6010
6011	* ms-biff.c : Drop all the ms_op ls_op nonsense and just store opcode
6012	  a straight 16 bit id.
6013
6014	* biff-types.h : Rework to include explicit versioning for all records
6015	  We were hitting too many odd ball records with invalid versioning
6016	  Not just 0x1<byte>, but also 0x8<byte> even though that is a valid
6017	  version.
6018
60192004-09-16  Jody Goldberg <jody@gnome.org>
6020
6021	* ms-excel-read.c (xl_find_fontspec) : Scale the right direction
6022
60232004-09-18  J.H.M. Dassen (Ray) <jdassen@debian.org>
6024
6025	* ms-excel-read.c: Added comments on how the paper size information can
6026	  be used once gnome-print's API has been extended.
6027
60282004-09-17  Jody Goldberg <jody@gnome.org>
6029
6030	* ms-escher.c (ms_escher_read_OPT) : make debug spew slightly easier
6031	  to read.
6032
60332004-09-16  Jon K Hellan  <hellan@acm.org>
6034
6035	* ms-excel-write.c (xf_init): Register default XF, its font and
6036	format here.
6037	(pre_pass): Not here.
6038
60392004-09-15  Jon K Hellan  <hellan@acm.org>
6040
6041	* ms-excel-write.c (txomarkup_new): New. Factored out of
6042	cb_cell_pre_pass.
6043	(cb_cell_pre_pass): See above.
6044	(excel_write_ClientTextbox): Change first parameter to
6045	ExcelWriteState. Save markup.
6046	(excel_write_textbox): See above.
6047	(extract_txomarkup): New. Extract markup for text object and store
6048	in hash table.
6049
60502004-09-14  Jody Goldberg <jody@gnome.org>
6051
6052	* ms-excel-util.c (init_xl_font_widths) : rework the font table
6053	  completely to use more closely calibrated size info.
6054
6055	* ms-excel-read.c (base_char_width_for_read) : delete
6056	(xl_find_fontspec) : new.
6057	(excel_read_COLINFO) : rework to simplify by using the new font table,
6058	  and sync it with the exporter.
6059	(excel_read_DEF_COL_WIDTH) : ditto.
6060	(excel_read_sheet) : Store the default style on import.  We have no
6061	  way of modifying it at run time, so we might as well use it for
6062	  export.
6063
60642004-09-09  Jody Goldberg <jody@gnome.org>
6065
6066	* ms-chart.c (BC_R(pieformat)) : Store the separation for singletons
6067	(cb_store_singletons) : Check for pie separation and use it
6068
60692004-09-09  Jody Goldberg <jody@gnome.org>
6070
6071	* ms-chart.c (excel_chart_series_new) : init singletons
6072	(excel_chart_series_delete) : free singletons if necessary
6073	(BC_R(end)) : Create any singletons for the newly created series
6074
60752004-09-09  Morten Welinder  <terra@gnome.org>
6076
6077	* ms-excel-read.c (excel_read_PALETTE): Plug leak.
6078
60792004-09-08  Jody Goldberg <jody@gnome.org>
6080
6081	* Release 1.3.90
6082
60832004-09-07  Jody Goldberg <jody@gnome.org>
6084
6085	* ms-excel-write.c (palette_init) : Just use biff8 palette.  We're
6086	  going to dump a custom palette anyway so it does not really matter
6087
60882004-09-04  Jon K Hellan  <hellan@acm.org>
6089
6090	* ms-excel-write.c (excel_write_ClientTextbox,
6091	excel_write_textbox): Implement simple text box export.
6092	(excel_write_objs, excel_sheet_new): Export text boxes.
6093
60942004-09-03  Jody Goldberg <jody@gnome.org>
6095
6096	* ms-excel-write.c (palette_init) : Export the xlp5 colours too
6097
6098	* ms-obj.c (ms_obj_read_pre_biff8_obj) : remove some unnecssary
6099	  pre-conditions that got confused when there was no name even when we
6100	  were not expecting one.
6101	(excel_get_default_palette) : get a corrected palette for biff7.
6102
6103	* ms-excel-read.c (ms_sheet_realize_obj) : merge the realization of
6104	  text/label/rectangle/oval they all inherit from sheet-object-filled.
6105
6106	* ms-escher.c (ms_escher_read_OPT) : Make some headway understanding
6107	  booleans and use that to fix outline and fill handling.
6108
61092004-09-02  Jody Goldberg <jody@gnome.org>
6110
6111	http://bugzilla.gnome.org/show_bug.cgi?id=151618
6112	* plugins/excel/ms-chart.c (BC_R(end)) : Add the plot to the chart
6113	  before setting it up so that the initial setup does not override the
6114	  formatting
6115
61162004-08-31  Jody Goldberg <jody@gnome.org>
6117
6118	* ms-biff.c (ms_biff_crypt_seq) : Add some bounds checking
6119	  We need more docs in here.
6120
61212004-08-30  Jody Goldberg <jody@gnome.org>
6122
6123	* ms-excel-write.c (excel_write_BOUNDSHEET) : Export the sheet types
6124	  we can import (worksheet, chart, xlm).
6125	  Export sheet visibility too
6126
61272004-08-31  Morten Welinder  <terra@gnome.org>
6128
6129	* md5.c (wvMD5Init, wvMD5Update): Use ANSI prototypes.
6130
61312004-08-29  Jody Goldberg <jody@gnome.org>
6132
6133	* plugin.xml.in : disable the non-functional spreadsheetml importer
6134
61352004-08-29  Jody Goldberg <jody@gnome.org>
6136
6137	* Release 1.3.2
6138
61392004-08-29  Jody Goldberg <jody@gnome.org>
6140
6141	http://bugzilla.gnome.org/show_bug.cgi?id=151150
6142	* ms-chart.c (ms_excel_chart_write) : bar/col plots center axis ticks
6143
61442004-08-27  Jody Goldberg <jody@gnome.org>
6145
6146	* ms-chart.c (ms_excel_chart_write) : MS Xl cannot handle plots with
6147	  no data.  Drop them with a warning.
6148
6149	* ms-excel-write.c (excel_write_workbook) : We only need a header if
6150	  we're going to export an image.
6151
61522004-08-26  Jon K Hellan  <hellan@acm.org>
6153
6154	* ms-excel-write.c: Remove ENABLE_METAFILE ifdef
6155
61562004-08-22  Jody Goldberg <jody@gnome.org>
6157
6158	* ms-chart.c (BC_R(area,bar,line)) : Use the in_3d placeholders in
6159	  plot_1_5d, we already export it.
6160
61612004-08-21  Jon K Hellan  <hellan@acm.org>
6162
6163	* ms-excel-read.c (excel_read_IMDATA): Add comment about OS/2 BMP
6164	format.
6165
61662004-08-20  Jody Goldberg <jody@gnome.org>
6167
6168	* ms-excel-read.c (excel_read_BOUNDSHEET) : Fix differentiation
6169	  between sheet and chart, then handle both.
6170	(excel_read_BOF) : Handle full page charts.
6171
6172	* ms-chart.c (BC_R(pieformat)) : no need to limit separation here.
6173	  The plot can handle it.
6174
61752004-08-17  Jon K Hellan  <hellan@acm.org>
6176
6177	* ms-excel-write.c: Enable WMF/EMF export.
6178	(blipinf_free): Don't crash if blip is NULL. That's supposed to
6179	happen.
6180	(excel_write_vector_blip): Fix off by 8 bytes error.
6181
61822004-08-12  Jody Goldberg <jody@gnome.org>
6183
6184	* ms-excel-util.c (init_xl_font_widths) : adjust the sizes for 'Sans'
6185	  to conform to XL's notion of an unknown font
6186
61872004-08-15  Jody Goldberg <jody@gnome.org>
6188
6189	* ms-formula-write.c (write_node) : get closer to matching the classes
6190	  for the more obscure variants, OOo is wrong, but I don't have a
6191	  clear map on what is right yet.
6192
6193	* ms-excel-write.c (excel_write_BOF) : update the version in the BOF a
6194	  bit.
6195
6196	* ms-formula-read.c : tweak the expected return types for SUM,
6197	  TRANSPOSE, MINVERSE, and MMULT
6198
61992004-08-11  Jon K Hellan  <hellan@acm.org>
6200
6201	* ms-excel-read.c (excel_formula_shared): Simplify using g_memdup.
6202	(excel_read_IMDATA): Initialize variables.
6203
6204	* ms-escher.c (ms_escher_blip_new, ms_escher_read_ClientAnchor):
6205	Ditto.
6206
6207	* crypt-md4.c: Include crypt-md4.h and make signatures consistent
6208	with it.
6209
6210	* crypt-md4.h: Add include guards.
6211
62122004-08-11  Jon K Hellan  <hellan@acm.org>
6213
6214	Export images.
6215
6216	* Makefile.am (excel_la_SOURCES): Add crypt-md4.[ch]
6217
6218	* crypt-md4.[ch]. New files. MD4 checksum to use as BLIP
6219	id. Grabbed from Ethereal, originally from Samba.
6220
6221	* ms-excel-write.c:
6222	(blipinf_new): New function. Initialize a record for image data.
6223	(blipinf_free): New function. Free an image data record.
6224	(excel_write_image): New function. Write an image Sp record
6225	referencing a BLIP.
6226	(excel_write_objs): Include images in record length. Write images.
6227	(excel_sheet_new): Save image info.
6228	(excel_write_image_bytes): New function. Save image in chunks,
6229	letting the biff layer insert CONTINUE records.
6230	(excel_write_vector_blip): New function. Save a vector format BLIP.
6231	(excel_write_raster_blip): New function. Save a raster format BLIP.
6232	(get_bliptype): New function. Get bliptype record.
6233	(excel_write_blip): New function. Save an image BLIP.
6234	(excel_write_blips): New function. Save the images as BLIPs.
6235	(excel_write_workbook): Get length of BLIP records. Call
6236	excel_write_blips.
6237	(excel_write_state_new): Initialize cur_blip.
6238	(excel_write_state_free): Free BLIP lists from sheets.
6239
6240	* ms-excel-write.h (struct ExcelWriteSheet): Add blips, num_blips.
6241	(struct _ExcelWriteState): Add cur_blip.
6242
62432004-07-10  Jody Goldberg <jody@gnome.org>
6244
6245	* ms-excel-write.c (excel_write_workbook) : write WINDOW1 for all the views
6246	(excel_write_sheet) : Drop the WINDOW1 here but expand to write a
6247	  WINDOW2, PANE, SCL, SELECTION tuple for all views, not just the
6248	  current
6249
62502004-07-19  Jody Goldberg <jody@gnome.org>
6251
6252	* Release 1.3.1
6253
62542004-07-05  Jody Goldberg <jody@gnome.org>
6255
6256	* ms-excel-read.c (excel_read_IMDATA) : Add an optional mechanism for
6257	  doing something with the data.  Still not entirely sure what format
6258	  it is.  I'd hoped BMP but that does not appear to work.
6259
6260	* biff-types.h : Add a few more records
6261
62622004-06-29  Jody Goldberg <jody@gnome.org>
6263
6264	* ms-excel-read.c (excel_read_REFMODE) : new.
6265	* ms-excel-write.c (write_sheet_head) : export REFMODE
6266
62672004-06-26  Jody Goldberg <jody@gnome.org>
6268
6269	* boot.c (excel_read_metadata) : Failure is a warning, not
6270	  catastrophic
6271
6272	* ms-chart.c (ms_excel_chart_write) : do not write FBI
6273	(chart_write_axis_sets) : Handle transposed X-Y (bars)
6274
62752004-06-22  Jody Goldberg <jody@gnome.org>
6276
6277	* ms-excel-write.c (extract_gog_object_style) : handle no fmt for axis.
6278	(excel_write_objs) : the count is +1, not the spid
6279
62802004-06-20  Jody Goldberg <jody@gnome.org>
6281
6282	* ms-excel-write.c (palette_get_index) : make public
6283	(excel_write_start_drawing) : new to handle spids across sheets.
6284	(excel_write_autofilter_objs) : use it.
6285	(excel_write_chart) : use it.
6286	(excel_write_objs) : do more detailed obj setup here.
6287	(put_color) : minor simplification.
6288	(extract_gog_object_style) : new
6289	(excel_write_state_new) : use it to collect the colors for the
6290	  palette.
6291	(excel_sheet_new) : decide on sheet obejcts to export here.
6292
6293	* ms-escher.c (-excel_write_MS_O_DRAWING_GROUP) : delete
6294
6295	* ms-chart.c (}) : First pass at a basicly working chart exporter
6296
62972004-06-13  Jody Goldberg <jody@gnome.org>
6298
6299	* ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : merge the xp and 2k
6300	  versions and tidy up.  This will likely need some work for blips
6301
6302	* ms-chart.c (chart_write_plot) : implement the plot types we can
6303	  import.
6304	(chart_write_axis) : provide a default for inverted and
6305	  log-scale so that we only set them if lookup succeeds.
6306	(ms_excel_write_chart) : more work.  gnumeric and OOo can
6307	  now import the basic column charts.  XL does not like the colours
6308	  and gets the formatting wrong, but it can at least read a single
6309	  chart happilly.
6310
6311	* ms-excel-write.c (excel_write_chart) : put the spid in the write
6312	  spot I was off by two bytes.
6313	(excel_write_autofilter_objs) : Move the container wrapper from here
6314	(excel_write_objs) : to this new routine so that it can be shared by
6315	  filters and charts.  We are now close to bit perfect matches to XP.
6316
63172004-06-07  Jody Goldberg <jody@gnome.org>
6318
6319	* ms-excel-write.c (excel_write_chart) : add and End after the common
6320
6321	* ms-chart.c (chart_write_color) : write.
6322
63232004-06-08  Morten Welinder  <terra@gnome.org>
6324
6325	* ms-excel-read.c (excel_read_FILEPASS): Use gnm_destroy_password.
6326
63272004-06-05  Jody Goldberg <jody@gnome.org>
6328
6329	* ms-excel-write.c (excel_write_chart) : sync the sizes when exporting
6330	  the anchor and object id.
6331
63322004-06-01  Jody Goldberg <jody@gnome.org>
6333
6334	* ms-chart.c (BC_R(end)) : patch style leak
6335
63362004-05-31  Jody Goldberg <jody@gnome.org>
6337
6338	* ms-chart.c : more fill in the blanks work towards export.
6339	(BC_R(seriestext)) : Use the simpler GODataScalarStr
6340
63412004-05-26  Jody Goldberg <jody@gnome.org>
6342
6343	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : Use the right buffer
6344
63452004-05-24  Jody Goldberg <jody@gnome.org>
6346
6347	* ms-chart.c : more work towards chart export
6348
6349	* ms-biff.c (ms_biff_put_2byte) : fix.
6350
63512004-05-21  Jody Goldberg <jody@gnome.org>
6352
6353	* ms-excel-read.c (excel_read_WSBOOL) : add more comments.
6354
6355	* ms-chart.c (ms_excel_write_chart) : start filling in some of the
6356	  blanks.  No where near functional, but at least we can operate in
6357	  'paint by numbers' mode for a while.
6358
6359	* ms-biff.c (ms_biff_put_empty) : new util
6360	(ms_biff_put_2byte) : ditto.
6361
6362	* ms-excel-write.c : Use the new utilities to clarify the code.
6363	(excel_write_SETUP) : make public for use in chart export
6364	(excel_write_SCL) : make public for use in chart export
6365
63662004-05-20  Morten Welinder  <terra@gnome.org>
6367
6368	* ms-escher.c (ms_escher_read_Blip): We were reading 8 bytes too
6369	few.
6370
63712004-05-15  Jody Goldberg <jody@gnome.org>
6372
6373	* ms-excel-write.c (excel_write_BOF) : init the len for bifftypes
6374	  before biff8.
6375	http://bugzilla.gnome.org/show_bug.cgi?id=103054
6376	(write_sheet_head) : put externsheet tables in every sheet for biff7
6377	(excel_write_externsheets_v8) : The self reference is for the addin,
6378	  not the others.  Fixes 103054 for XL97
6379	(excel_write_workbook) : NAME records start at 0, not at the end of
6380	  the externname table
6381
6382	* boot.c (excel_file_open) : 95 in should export as 95
6383	(find_content_stream) : keep track of what type of stream this is.
6384
6385	* ms-chart.c (BC_R(axislineformat)) : deleted axis still exist, and
6386	  they hide their labels here rather than in tick.  Don't apply grid
6387	  line styles to the axis.
6388
63892004-05-10  Jody Goldberg <jody@gnome.org>
6390
6391	* ms-chart.c (BC_R(end)) : doh!  Use the ExcelSeries::has_legend to
6392	  set the GogSeries not the GogSeries on itself.
6393
63942004-05-09  Jody Goldberg <jody@gnome.org>
6395
6396	* ms-excel-read.c (excel_read_WINDOW2) : It seems like there can be
6397	  multiple WINDOW2, SCL, PANE, SELECTION blocks when there are
6398	  multiple windows.  For now we don't support importing multiple views
6399	  so we need to at leat not break if a previous view was frozen.
6400
64012004-05-07  Jody Goldberg <jody@gnome.org>
6402
6403	* ms-biff.c (ms_biff_put_var_write) : Quick and simple support for
6404	  continue.  It will not split a block of content, but it will split
6405	  between blocks (attempted writes).
6406
64072004-05-06  Jody Goldberg <jody@gnome.org>
6408
6409	* ms-obj.c (ms_obj_attr_get_*) : Take an attrbag rather than an obj to
6410	 be more useful.
6411
6412	* ms-escher.c (ms_escher_read_container) : add a
6413	  'return_attrs_in_container' kludge parameter.
6414	(ms_escher_parse) : make the return of the attributes optional and
6415	  actually make it work.
6416	(ms_escher_read_OPT) : load properties for gradients.
6417
6418	* ms-chart.c (BC_R(gelframe)) : support gradients
6419	(BC_R(legend)) : store the legend object.
6420	(BC_R(legendxn)) : notice deleted legend elements.
6421	(BC_R(text)) : import the text colour.
6422	(BC_R(end)) : support legend styles and clarify the grid vs plotarea
6423	  distinction.
6424
64252004-05-03  Jody Goldberg <jody@gnome.org>
6426
6427	* excel-xml-read.c : some tweaks to get a layout that will support
6428	  richtext.
6429
64302004-05-04  Morten Welinder  <terra@gnome.org>
6431
6432	* ms-excel-write.c (excel_write_DV): Map VALIDATION_OP_NONE to
6433	VALIDATION_OP_BETWEEN on save.
6434
6435	* ms-excel-read.c (excel_read_DV): Make sure
6436	VALIDATION_TYPE_CUSTOM is paired with VALIDATION_OP_NONE.
6437
64382004-04-29  Jody Goldberg <jody@gnome.org>
6439
6440	* ms-excel-write.c (excel_font_overlay_pango) : new.
6441	(excel_write_RSTRING) : new.
6442	(cb_cell_pre_pass) : merge cb_collect_value_fmts, sst_collect_str
6443	  add support for richtext
6444	(excel_write_cell) : export RSTRINGS for richtext
6445
64462004-04-22  Jody Goldberg <jody@gnome.org>
6447
6448	http://bugzilla.gnome.org/show_bug.cgi?id=136086
6449	* ms-excel-write.c (excel_sheet_write_DBCELL) : optimization was a bit
6450	  optimistic.  Even if there are no values, we still need to export
6451	  rows with visible formatting (borders, backgrounds, ...)
6452
64532004-04-21  Morten Welinder  <terra@gnome.org>
6454
6455	* ms-excel-read.c (excel_read_LABEL): Plug leak.
6456
64572004-04-20  Jody Goldberg <jody@gnome.org>
6458
6459	* ms-excel-read.c (sst_read_string) : Use the right string when
6460	  calculating offsets.
6461
64622004-04-19  Jody Goldberg <jody@gnome.org>
6463
6464	* ms-chart.c (BC_R(end)) : graph style wants outline not line
6465	(ms_excel_read_chart) : there is not 'Graph' concept in xls, remove
6466	  it's style.  Charts default to blank too.
6467
64682004-04-19  Jody Goldberg <jody@gnome.org>
6469
6470	* ms-excel-read.c (excel_sheet_insert_val) : fix the fix.
6471	  We do need to apply the style, even if we're not going to assigned
6472	  the format to the value.
6473
64742004-04-19  Jody Goldberg <jody@gnome.org>
6475
6476	* ms-excel-read.c (sst_read_string) : don't forget the last markup
6477	  element.  Leave some debug in here to figure out what's going on
6478	  with quick test.
6479
64802004-04-19  Jody Goldberg <jody@gnome.org>
6481
6482	* ms-excel-read.c (excel_sheet_insert_val) : only assign a format if
6483	  there is no existing markup.
6484	(sst_bound_check) : do some extra checking to ensure the existence of
6485	  unbroken region of desired length.
6486	(sst_read_string) : handle rich text.
6487
64882004-04-18  Jody Goldberg <jody@gnome.org>
6489
6490	* ms-obj.c (ms_obj_read_pre_biff8_obj) : fix the name offset for
6491	  polygons
6492
6493	* ms-excel-read.c : convert global_string char * array into an
6494	  ExcelStringEntry sst array with strings and markup in preparation
6495	  for reading richtext from an SST.
6496
64972004-04-17  Jody Goldberg <jody@gnome.org>
6498
6499	* ms-excel-read.c (excel_read_HEADER_FOOTER) : new to handle biff8 vs
6500	biff7
6501	(excel_read_LABEL_markup) : new.  Handle biff[57] and biff8 RSTRING
6502	  markup
6503
65042004-04-17  Jody Goldberg <jody@gnome.org>
6505
6506	* ms-excel-read.c (excel_read_str_name) : new.
6507	(excel_read_str_name) : split from here.
6508	(excel_read_EXTERNNAME) : used here too.
6509
6510	* ms-excel-read.c (excel_read_XF_OLD) : differentiate biff2 vs biff3
6511	  and biff4.
6512
65132004-04-15  Jody Goldberg <jody@gnome.org>
6514
6515	* ms-chart.c (ms_excel_read_chart_BOF) : ignore the version in the BOF
6516	  it lies.  Use the container's version.
6517
6518	* ms-excel-read.c (excel_read_NAME) : rework to handle unicode
6519	  suffixes and to some general cleanup.
6520
65212004-04-14  Jody Goldberg <jody@gnome.org>
6522
6523	* ms-excel-read.c (excel_read_DEF_ROW_HEIGHT) : handle biff2
6524	(excel_read_WINDOW2) : ditto.
6525	(excel_read_EXTERNSHEET_v7) : be smarter about handling the buggy
6526	  files from 1.0.7 that exported quoted sheet names.
6527
65282004-04-12  Jody Goldberg <jody@gnome.org>
6529
6530	* ms-excel-read.c : Use GO_UNIT in place of inches_to_points.
6531
65322004-03-28  Jody Goldberg <jody@gnome.org>
6533
6534	* Release 1.3.0
6535
65362004-03-18  Jody Goldberg <jody@gnome.org>
6537
6538	* ms-excel-write.c (excel_write_WINDOW2) : We only support frozen
6539	  panes.  Set the flag indicating that this was only a freeze, not a
6540	  split too.
6541	(excel_write_PANE) : docs are wrong.  The field indicates what type of
6542	  freezing.
6543	(excel_write_selections) : rework to match XL.
6544	(excel_write_SCL) : Only write the record if zoom != 100%
6545	(excel_write_BOF) : update BOF to XP sp2
6546
6547	* ms-excel-read.c (excel_read_SELECTION) : Allow the active pane from
6548	  the PANE record to override the default of 3.
6549	(excel_read_PANE) : store the active pane.
6550
65512004-03-16  Jody Goldberg <jody@gnome.org>
6552
6553	http://bugzilla.gnome.org/show_bug.cgi?id=137377
6554	* ms-obj.c (ms_read_TXO) : init markup even if there is no string.
6555
65562004-03-11  Jody Goldberg <jody@gnome.org>
6557
6558	http://bugzilla.gnome.org/show_bug.cgi?id=136730
6559	* ms-excel-read.c (excel_get_xf) : be more flexible and handle xls
6560	  generated with no XF records.
6561	(excel_get_style_from_xf) : ditto.
6562	(excel_sheet_insert_val) : ditto.
6563
6564	* ms-obj.c (ms_obj_read_pre_biff8_obj) : despite the name
6565	  PangoAttributes::end_index is exclusive, not inclusive.
6566
65672004-03-08  Jody Goldberg <jody@gnome.org>
6568
6569	* ms-excel-read.c (excel_read_XF) : throw in a simple heuristic for
6570	  when to set a valueformat.  At issue is that we want to display
6571	  dates/times formatted, but do not want to display accounting
6572	  formats.  This kludge disables the application for any format that
6573	  has more than one condition.  It's not strictly a solution, but it
6574	  will solve the common problems.
6575
65762004-03-06  Jody Goldberg <jody@gnome.org>
6577
6578	* ms-obj.c (ms_obj_read_pre_biff8_obj) : handle outline width for text
6579	  boxes.
6580	* ms-excel-read.c (ms_sheet_create_obj) : ditto.
6581
65822004-03-06  Jody Goldberg <jody@gnome.org>
6583
6584	* ms-obj.c (ms_obj_attr_new_markup) : new.
6585	(ms_obj_attr_get_markup) : new.
6586	(ms_obj_attr_destroy) : teach about PangoAttrList
6587	(append_txorun) : new.
6588	(ms_obj_read_pre_biff8_obj) : font colours come with the FONT info in
6589	  txoruns.  The docs are wrong the colour in the record is useless.
6590	  Remove some extra debug spew.
6591
6592	* ms-excel-read.c (excel_wb_get_fmt) : no point using pointers to
6593	  ints.  Just use G_INT_TO_POINTER.
6594	(ms_sheet_get_fmt) : ditto.
6595	(excel_read_BOUNDSHEET) : ditto.
6596	(excel_workbook_new) : ditto.
6597	(excel_workbook_reset_style) : ditto.
6598	(base_char_width_for_read) : ditto.
6599	(excel_read_FORMAT) : ditto.
6600	(excel_read_FONT) : ditto.
6601	(excel_get_font) : ditto.
6602	  Also no need for this to take a sheet, take a workbook.
6603	(biff_font_data_destroy) : free the new optional attr lists.
6604	(ms_sheet_create_obj) : Use markup rather than a single colour.
6605	(biff_guint16_hash (guint16 const *d)
6606	(biff_guint32_hash (guint32 const *d)
6607	(biff_guint16_equal) : delete.
6608	(biff_guint32_equal) : delete.
6609	(excel_get_style_from_xf) : remove some useless code now that font
6610	  substitution is handled at the app level.
6611	(add_attr) : new.
6612	(ms_wb_get_font_markup) : new.  build a PangoAttrList from a FONT record.
6613
6614	* ms-container.c (ms_container_get_fmt) : automatically chain up
6615	(ms_container_get_markup) : new.
6616
6617	* ms-chart.c (chart_get_fmt) : delete.
6618
66192004-03-03  Jody Goldberg <jody@gnome.org>
6620
6621	* ms-formula-read.c (excel_formula_parses_ref_sheets) : extend to
6622	  handle local 3d references properly.
6623
66242004-02-22  Jody Goldberg <jody@gnome.org>
6625
6626	* ms-chart.c (BC_R(end)) : We're using GogRadar rather than GogRadial.
6627	  Set the no-marker state using the right name.
6628	(BC_R(radararea)) : set the area flag to indicate filled.
6629
66302004-02-21  Jody Goldberg <jody@gnome.org>
6631
6632	* ms-excel-util.c (two_way_table_new) : store the destroy func.
6633	(two_way_table_put) : patch leak and use the destroy func on things
6634	  that are already in the table.
6635
6636	* ms-chart.c (BC_R(radar)) : connect the new engine
6637	(BC_R(radararea)) : ditto.
6638
66392004-02-09  Morten Welinder  <terra@gnome.org>
6640
6641	* ms-biff.c (ms_biff_query_next): Change to return gboolean and
6642	fix the g_return_val_if_fail results.
6643
66442004-02-04  Jody Goldberg <jody@gnome.org>
6645
6646	* ms-excel-read.c (excel_read_CODENAME) : new routine to store the
6647	  codename for later use while round tripping.
6648	(excel_read_sheet) : use it here.
6649	(excel_read_workbook) : use it here.
6650
6651	* ms-excel-write.c (excel_write_CODENAME) : new routine to use the
6652	  stored codename rather than generating one on the fly.
6653	(excel_write_sheet) : use it here.
6654	(excel_write_workbook) : and here.
6655
66562004-01-29  Jody Goldberg <jody@gnome.org>
6657
6658	From Nick Lamb <njl98r@ecs.soton.ac.uk>
6659	* ms-excel-read.c (excel_read_FILEPASS) : new.
6660	(excel_read_sheet) : use it here.
6661	(excel_read_workbook) : and here.
6662
66632004-01-28  Jean Brefort  <jean.brefort@ac-dijon.fr>
6664
6665	* plugins/excel/ms-chart.c: (scatter):add import of bubble plots
6666
66672004-01-28  Andreas J. Guelzow <aguelzow@taliesin.ca>
6668
6669	* ms-excel-read.c (excel_read_SETUP): use print_info_set_orientation
6670	* ms-excel-write.c (excel_write_SETUP): ditto
6671
66722004-01-16  Jody Goldberg <jody@gnome.org>
6673
6674	* ms-escher.c (ms_escher_get_data) : as pointed out by Nick Lamb
6675	  some gelframe records can get rather big.
6676
66772004-01-14  Jody Goldberg <jody@gnome.org>
6678
6679	From Nick Lamb <njl98r@ecs.soton.ac.uk>
6680	* ms-biff.c : Merge in patch to support xor based 'encryption'
6681
66822004-01-12  Jody Goldberg <jody@gnome.org>
6683
6684	http://bugzilla.gnome.org/show_bug.cgi?id=130791
6685	* ms-formula-write.c (excel_write_prep_expr) : fix cut-n-paste-o in
6686	  change for 1.2.2 that added macros and broke plugin functions.
6687
66882004-01-07  Jody Goldberg <jody@gnome.org>
6689
6690	* ms-excel-read.c (excel_read_SELECTION) : disable some debug spew.
6691
66922004-01-07  Jon K Hellan  <hellan@acm.org>
6693
6694	* ms-chart.c (BC_R(legend)): Initialize pos for XL_pos = 7.
6695
66962004-01-05  Jody Goldberg <jody@gnome.org>
6697
6698	http://bugzilla.gnome.org/show_bug.cgi?id=130577
6699	* ms-excel-write.c (excel_write_SELECTION) : generalize a bit.
6700	(excel_write_selections) : new wrapper to handle selectins for each pane
6701
6702	http://bugzilla.gnome.org/show_bug.cgi?id=130579
6703	* ms-excel-read.c (excel_read_SELECTION) : we only care about
6704	  selections in the primary pane.
6705
67062003-12-24  Jody Goldberg <jody@gnome.org>
6707
6708	* ms-excel-write.c (excel_write_WRITEACCESS) : don't free memory we do
6709	  no own.
6710	(excel_write_COUNTRY) : init both fields.
6711	(write_sheet_head) : pre biff8 it was part of the sheet record.  Its
6712	  hard to tell if this should be part of every sheet or just the first.
6713	  I've seen both.
6714	(write_workbook) : biff8 puts the COUNTRY record in the workbook area.
6715
67162003-12-23  Jody Goldberg <jody@gnome.org>
6717
6718	* Release 1.2.3
6719
67202003-12-22  Jody Goldberg <jody@gnome.org>
6721
6722	* ms-chart.c (BC_R(ifmt)) : pull in axis value format.
6723
67242003-12-19  Jon K Hellan  <hellan@acm.org>
6725
6726	* ms-excel-write.c (excel_write_WRITEACCESS): Use
6727	gnm_get_real_name to get user name.
6728
67292003-12-18  Jody Goldberg <jody@gnome.org>
6730
6731	* ms-chart.c (XL_gog_series_set_dim) : Don't leak data we're not
6732	  expecting.
6733	(BC_R(get_style)) : new.  creates the style as necessary, and flags it
6734	  to ignore the object's default settings.
6735
67362003-12-13  Jody Goldberg <jody@gnome.org>
6737
6738	http://bugzilla.gnome.org/show_bug.cgi?id=127625
6739	* ms-excel-read.c (excel_sheet_destroy) : kludge around autofilters in
6740	 XL97 that have no related drop downs (eg guia.xls)
6741
67422003-11-26  Jody Goldberg <jody@gnome.org>
6743
6744	* Release 1.2.2
6745
67462003-11-25  Jody Goldberg <jody@gnome.org>
6747
6748	* ms-formula-write.c (excel_write_prep_expr) : handle macros.
6749	(write_funcall) : ditto.
6750
6751	* ms-formula-read.c : add specs for the text_B_ functions
6752	(excel_parse_formula) : improve debug info.
6753	  Fix unicode strings.
6754
6755	* ms-excel-write.c (write_workbook) : unsigned does not go < 0
6756	(cb_enumerate_macros) : new.
6757	(cb_write_macro_NAME) : new.
6758	(excel_write_names) : new.
6759
6760	* ms-excel-read.c (get_xtn_lens) : add a limiter on the rich text
6761	  warning.
6762	(excel_formula_shared) : add some debug.
6763	(excel_read_NAME) : register macro functions.
6764	(excel_read_ROW) : disable debug spew.
6765	(excel_read_CF) : ditto.
6766	(excel_read_DIMENSIONS) : ditto.
6767	(excel_read_GUTS) : ditto.
6768	(excel_read_HLINK) : target frame is first (according to
6769	  xls-export-crash.xls) and the docs.
6770	(excel_read_SUPBOOK) : handle external workbooks with unicode names.
6771
6772	* ms-escher.c (ms_escher_parse) : return the property bag.
6773
67742003-11-20  Jody Goldberg <jody@gnome.org>
6775
6776	* ms-chart.c (BC_R(radar)) : Add a note.
6777
67782003-11-20  Jody Goldberg <jody@gnome.org>
6779
6780	* ms-formula-read.c (make_function) : Take a Workbook to allow for
6781	for book local function lookup.
6782
67832003-11-20  Jody Goldberg <jody@gnome.org>
6784
6785	* ms-excel-write.c (excel_sheet_new) : Include row/col info in the
6786	  extent calculation.
6787
6788	* ms-excel-write.c (excel_write_GUTS) : max col/row outline levels are
6789	  one based.
6790
67912003-11-19  Andreas J. Guelzow  <aguelzow@taliesin.ca>
6792
6793	* ms-excel-read.c (excel_read_SETUP): use print_info_set_n_copies
6794
67952003-11-18  Jody Goldberg <jody@gnome.org>
6796
6797	* ms-chart.c (BC_R(lineformat)) : Handle 'invisible'
6798	(BC_R(markerformat)) : none is never auto.
6799	(BC_R(end)) : Set the plot defaults for line and XY.
6800
68012003-11-17  Jody Goldberg <jody@gnome.org>
6802
6803	http://bugzilla.gnome.org/show_bug.cgi?id=127204
6804	* ms-chart.c (ms_excel_read_chart) : remove any grids that were
6805	  automaticly created if there were none in the input stream.
6806
6807	* plugins/excel/ms-chart.c (BC_R(areaformat)) : we need to consider
6808	  pattern = 0 as NONE only if it is not autoformat.  Our theme engine
6809	  does not change fill types, so it would ignore styles with fill=NONE
6810
68112003-11-15  Jody Goldberg <jody@gnome.org>
6812
6813	* ms-excel-write.c (write_sheet_head) : save the manual recalc flag.
6814
68152003-11-14  Jody Goldberg <jody@gnome.org>
6816
6817	http://bugzilla.gnome.org/show_bug.cgi?id=126908
6818	* ms-excel-read.c (ms_sheet_create_obj) : gnumeric defaults to
6819	  different outline and background colours.  Set them if the file does
6820	  not so that things look xl-ish.
6821
68222003-11-13  Jody Goldberg <jody@gnome.org>
6823
6824	* ms-excel-write.c (excel_write_sheet) : store a CODENAME
6825	(write_workbook) : ditto.
6826
6827	* boot.c (excel_save) : store the saved properties if we have them
6828	(excel_file_open) : store CompObj and properties.
6829	(excel_read_metadata) : its easier to blob the stream.
6830
68312003-10-27  Jody Goldberg <jody@gnome.org>
6832
6833	* boot.c (find_content_stream) : Move this logic here.
6834	(excel_file_open) : from here.
6835	(excel_file_probe) : so that this can share it.
6836
68372003-10-25  Jody Goldberg <jody@gnome.org>
6838
6839	* ms-excel-write.c (excel_write_SELECTION) : doh!
6840
68412003-10-18  Jody Goldberg <jody@gnome.org>
6842
6843	http://bugzilla.gnome.org/show_bug.cgi?id=124244	[unable to open group]
6844	* ms-excel-read.c (excel_read_COLINFO) : set collapsed even if level == 0
6845	(excel_read_ROW) : ditto.
6846
68472003-10-13  Jody Goldberg <jody@gnome.org>
6848
6849	* ms-biff.c (ms_biff_query_next) : fail if we run out of data part way
6850	  through a record.
6851
6852	* ms-excel-read.c (excel_read_XF_OLD) : init all flags to FALSE.
6853
68542003-10-08  Jody Goldberg <jody@gnome.org>
6855
6856	* Release 1.2.1
6857
68582003-10-08  Jody Goldberg <jody@gnome.org>
6859
6860	* ms-chart.c (conditional_set_double) : Use the new const val GOData
6861	  to support manual axis bounds and invert the logic to be correct.
6862	(BC_R(seriestext)) : store the text associated with axis and chart
6863	  labels.
6864	(BC_R(end)) : free strings associated with text records if they
6865	  haven't been used yet.
6866
68672003-09-30  Jody Goldberg <jody@gnome.org>
6868
6869	* ms-excel-read.c (excel_read_HLINK) : typo 0x80 rather than 0x8 was
6870	  breaking import of local workbook links (Thanks to Tim for noticing)
6871
68722003-09-29  Jody Goldberg <jody@gnome.org>
6873
6874	From Nick Lamb <njl195@zepler.org.uk>
6875	* boot.c (excel_file_probe) : bug in libgsf < 1.8.3 that would not
6876	  seek back to 0 on failed gsf_infile_msole_new.
6877
68782003-09-27  Jody Goldberg <jody@gnome.org>
6879
6880	* ms-formula-write.c (write_funcall) : Use the last specified type for
6881	 the remainder of the args in a vararg function.
6882
6883	* ms-formula-read.c : AND,OR, and IF args appear to be V not R
6884
68852003-09-27  Jody Goldberg <jody@gnome.org>
6886
6887	* ms-excel-write.c (excel_write_SST) : be extra careful about unicode
6888	  characters > 0xfeff
6889
68902003-09-25  Jody Goldberg <jody@gnome.org>
6891
6892	* ms-escher.c (ms_escher_read_OPT) : dump the complex data too so that
6893	  we don't forget it exists.
6894
6895	* ms-chart.c (excel_chart_series_new) : init style.
6896	(excel_chart_series_delete) : unref style if necessary.
6897	(BC_R(color)) : DOH!  they use bgr no rgb.
6898	(BC_R(areaformat)) : handle none, and start work on pattern map.
6899	(BC_R(begin)) : make prettier with newline.
6900	(BC_R(dataformat)) : don't create the style here.  Do it on demand in
6901	  {area,line,marker}format.
6902	(BC_R(frame)) : notice the difference between a chart and a grid.
6903	(BC_R(markerformat)) : create the styles on demand.
6904	(conditional_set_double) : prep for importing manual axis bounds.
6905	(BC_R(valuerange)) : ditto.  Still need a static GOData.
6906	(BC_R(end)) : hook the series and plot default styles in.
6907	  Enable styles for charts and grids.
6908
69092003-09-23  Jody Goldberg <jody@gnome.org>
6910
6911	* ms-chart.c (BC_R(lineformat)) : fix import of axis line styles.
6912
69132003-09-13  Nick Lamb <njl195@zepler.org.uk>
6914
6915	* ms-excel-read.c (excel_sheet_new) : typo fix
6916	(excel_read_FORMAT) : Early BIFF uses smaller datatypes
6917	(excel_read_FONT) : Implement for early BIFF
6918	(excel_get_xf) : More early BIFF hacks
6919	(excel_read_XF_OLD) : New function, read OLD XF structures
6920	(excel_workbook_add_XF) : Obsoleted, removed
6921	(excel_formula_shared) : Early BIFF uses smaller datatypes
6922	(excel_workbook_reset_style) : New function, needed for XLW files
6923	(excel_read_EXTERNNAME) : typo fix, Early BIFF fixes
6924	(excel_read_NAME) : Early BIFF uses smaller datatypes
6925	(excel_read_sheet) : Style is per-sheet in XLW files, what default?
6926	 Use excel_read_XF_OLD instead of excel_workbook_add_XF
6927	(excel_read_BOF) : Stop using excel_workbook_add_XF,
6928	 report XL4 workbooks to stderr just like all other file types
6929
6930	* ms-formula-read.c (excel_parse_formula) :
6931	 Handle PTG_SHEET and PTG_SHEET_END, at least for known examples
6932	 Also early BIFF as usual has smaller datatypes
6933
69342003-09-21  Jody Goldberg <jody@gnome.org>
6935
6936	* ms-formula-read.c (excel_parse_formula) : disable debug spew.
6937
69382003-09-21  Jody Goldberg <jody@gnome.org>
6939
6940	* ms-formula-write.c (xl_map_char_to_type) : new util.
6941	(xl_get_op_class) : wrapper to help calculate the result class.
6942	(write_cellref_v7) : handle operand classes.
6943	(write_cellref_v8) : handle operand classes.
6944	(excel_formula_write_CELLREF) : ditto and operator mapping.
6945	(excel_formula_write_AREA) : ditto.
6946	(write_funcall) : ditto.
6947	(excel_formula_write_NAME_v8) : ditto.
6948	(excel_formula_write_NAME_v7) : ditto.
6949	(write_node) : ditto.
6950	(excel_write_formula) : collect more information on the calling context
6951
69522003-09-18  Jody Goldberg <jody@gnome.org>
6953
6954	* ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : Add UserDefined to
6955	  silence some warnings.
6956
69572003-09-16  Jody Goldberg <jody@gnome.org>
6958
6959	* ms-formula-write.c : push all the 'shared' arguments into the
6960	  PolishData that we're passing around anyway.
6961
6962	* ms-formula-write.c (excel_write_prep_expr) : register functions that
6963	  exist only in arrays too.
6964
6965	* ms-excel-util.c (init_xl_font_widths) : add Albany
6966
69672003-09-15  Jody Goldberg <jody@gnome.org>
6968
6969	* ms-chart.c (ms_excel_read_chart) : patch leak.
6970
69712003-09-15  Jody Goldberg <jody@gnome.org>
6972
6973	* Release 1.2.0
6974
69752003-09-15  Jody Goldberg <jody@gnome.org>
6976
6977	* ms-chart.c (BC_R(legend)) : handle the legend's position.
6978
6979	* ms-excel-util.c : "Arial Cyr" in addition to "Arial CYR"
6980
69812003-09-14  Jody Goldberg <jody@gnome.org>
6982
6983	* ms-chart.c (BC_R(pie)) : don't confuse center diameter with
6984	  separation, use it to distinguish between pie and ring.
6985	(BC_R(pieformat)) : handle separation here.
6986
69872003-09-13  Jody Goldberg <jody@gnome.org>
6988
6989	* ms-chart.c (BC_R(tick)) : enable.  Looks like axis label enabling
6990	  should be here.  Wonder what that flag in lineformat is for ??
6991
69922003-09-13  Jody Goldberg <jody@gnome.org>
6993
6994	* ms-chart.c (BC_R(lineformat)) : disable axis label setting for now
6995	  it seems over zealous.
6996
69972003-09-13  Jody Goldberg <jody@gnome.org>
6998
6999	* ms-chart.c (BC_R(color)) : disable debug spew.
7000	(BC_R(lineformat)) : impl.
7001	(BC_R(markerformat)) : impl.
7002
70032003-09-10  Jody Goldberg <jody@gnome.org>
7004
7005	* Release 1.1.90
7006
70072003-09-03  Jody Goldberg <jody@gnome.org>
7008
7009	* ms-excel-util.c (init_xl_font_widths) : 128pt does not seem like a
7010	  good yard stick for Courier, Use 64, and scale it.
7011	Arial Narrow is even worse, size it based on 32pt
7012
70132003-08-22  Jody Goldberg <jody@gnome.org>
7014
7015	* ms-excel-read.c (excel_read_BOF) : fix the warning.  We need the
7016	  stream pos at the _start_ of the sheet.
7017
70182003-08-21  Jody Goldberg <jody@gnome.org>
7019
7020	* Release 1.1.20
7021
70222003-08-20  Jody Goldberg <jody@gnome.org>
7023
7024	* ms-excel-read.c (excel_read_BOF) : finding a sheet not listed in the
7025	  right place is a warning not a failure.
7026
7027	* ms-excel-write.c (excel_write_DV) : handle missing titles and msgs
7028
70292003-08-09  Jody Goldberg <jody@gnome.org>
7030
7031	* ms-chart.c (BC_R(areaformat)) : use the new GogStyle extensions.
7032
70332003-07-31  Andreas J. Guelzow <aguelzow@taliesin.ca>
7034
7035	* ms-excel-read.c (excel_workbook_destroy): remove last argument
7036	  in workbook_sheet_reorder
7037
70382003-08-01  Jody Goldberg <jody@gnome.org>
7039
7040	* ms-excel-util.c (init_xl_font_widths) : add a bunch of arial
7041	  encodings.
7042
70432003-07-31  Jody Goldberg <jody@gnome.org>
7044
7045	* ms-chart.c (BC_R(line)) : connect to the new line plot.
7046	(BC_R(area)) : connect to the new area plot.
7047
70482003-07-28  Jody Goldberg <jody@gnome.org>
7049
7050	* ms-formula-read.c (make_function) : dup the name because plugins get
7051	  removed before symbols do and we would crash referencing a static
7052	  string from the plugin.
7053	(PHONETIC) : appears to have 1 arg (optional ?)
7054
70552003-07-24  Jody Goldberg <jody@gnome.org>
7056
7057	* ms-biff.c (ms_biff_pre_biff8_query_set_decrypt) : new placeholder.
7058	(ms_biff_query_set_decrypt) : take a version so that we can correctly
7059	  recognize encrypted files for versions before biff8.
7060
70612003-07-19  Jody Goldberg <jody@gnome.org>
7062
7063	* ms-obj.c (ms_obj_read_pre_biff8_obj) : Parse scollbars and spinners
7064
7065	* ms-excel-read.c (ms_sheet_realize_obj) : apparently spinners use
7066	  scrollbar records.  Pass the current value too.
7067
7068	* ms-excel-write.c (excel_write_SST) : simplify a bit to avoid a
7069	potential corner case that would generate an empty CONTINUE.
7070
70712003-07-18  Jody Goldberg <jody@gnome.org>
7072
7073	* ms-excel-write.c (excel_write_SST) : handle strings > 8224 bytes.
7074	(excel_sheet_write_block) : improve warning message and fallback to
7075	  the default style when there is a problem.
7076
70772003-07-17  Jody Goldberg <jody@gnome.org>
7078
7079	* ms-excel-util.c (init_xl_font_widths) : add Bitstream Vera, and its
7080	  alias 'Sans'
7081
7082	* ms-formula-read.c (parse_list_push) : be more
7083	  resilient in the face of missing args.
7084
70852003-07-16  Jody Goldberg <jody@gnome.org>
7086
7087	* ms-excel-read.c (ms_biff_get_chars) : make public.
7088	* ms-obj.c (ms_read_TXO) : use ms_biff_get_chars.
7089
70902003-07-16  Jody Goldberg <jody@gnome.org>
7091
7092	* ms-obj.c (ms_read_OBJ) : always register the object.
7093
7094	* ms-container.c : Make the obj_queue a GSList.
7095	(ms_container_get_obj) : new.
7096	(ms_container_realize_objs) : only realize MSObjs that have gnumeric
7097	  objects.
7098
7099	* ms-escher.c (ms_escher_header_init) : init new 'release_attrs' flag
7100	  to allow us to pass management of an attr bag to an object, but still
7101	  retain access to it.
7102	 (ms_escher_header_release) : honour the flag.
7103	 (ms_escher_read_ClientData) : set the flag.
7104
7105	* ms-excel-read.c (excel_read_NOTE) : Discover an undocumented flag.
7106	  0x100 == no indicator visible
7107	  While we're here store the author, and the inidcator position.
7108	(excel_read_HLINK) : frames are 0x80 not 0x8
7109	(ms_sheet_realize_obj) : cheat to handle cell comments.  In xl97 and
7110	  up the comment objects store the possition of the display box, not the
7111	  position of the indicator.  We need a better comment object.
7112	(ms_sheet_realize_obj) : Store the text for text boxes too.
7113	(ms_sheet_create_obj) : no need to set a blank text, we assign it later.
7114	(ms_sheet_create_obj) : create comments.
7115
71162003-07-07  Jody Goldberg <jody@gnome.org>
7117
7118	* ms-excel-read.c (excel_palette_get) : fix error message.
7119
71202003-07-02  Andreas J. Guelzow <aguelzow@taliesin.ca>
7121
7122	* ems-excel-write.c (xcel_sheet_new): add some spaces in strings
7123
71242003-06-21  Jody Goldberg <jody@gnome.org>
7125
7126	* ms-chart.c (BC_R(chartformat)) : vary_style_by_element is now in plot
7127	* ms-excel-write.c : Start work on escher wrapper for exporting charts
7128	  in XL97.  NOT ENABLED OR FINISHED.
7129
71302003-06-11  Jody Goldberg <jody@gnome.org>
7131
7132	* ms-excel-write.c (excel_sheet_new) : Capitalize and mark Excel as a
7133	   trademark.
7134
71352003-06-11  Jody Goldberg <jody@gnome.org>
7136
7137	* ms-chart.c (ms_excel_read_chart) : handle NULL sogs.  That currently
7138	  indicates an attempt to read a chart in its own notebook tab.
7139
71402003-06-07  Jody Goldberg <jody@gnome.org>
7141
7142	* Release 1.1.19
7143
71442003-06-07  Jody Goldberg <jody@gnome.org>
7145
7146	* Release 1.1.18
7147
71482003-05-30  Jody Goldberg <jody@gnome.org>
7149
7150	* ms-chart.c (excel_chart_series_delete) : unref the data if nothing
7151	  has used it.
7152	(BC_R(end)) : if we use the series clear the pointer.
7153
71542003-05-25  Jody Goldberg <jody@gnome.org>
7155
7156	* ms-chart.c : remove xml, jump to goffice and disable anything that
7157	  does not obviously connect to GOG for now.  All we get are plot
7158	  types and series for now, no formatting.
7159
71602003-05-21  Jody Goldberg <jody@gnome.org>
7161
7162	* ms-chart.c (BC_R(gelframe)) : enable debugging when dumping
7163	  gelframes.
7164
7165	* ms-escher.c (ms_escher_parse) : accept gelframes.
7166	(ms_escher_read_OPT) : the length _includes_ the header, don't try to
7167	  read that too.
7168	(ms_escher_read_Blip) : ditto.
7169	  weaken size restriction for uncompression.
7170	  test-xls/billeterie2000-6.xls has a blip that is larger than its
7171	  compressed content, dunno why.
7172
71732003-05-20  Morten Welinder  <terra@gnome.org>
7174
7175	* ms-excel-read.c: Adapt to StyleColor changes.
7176	* ms-excel-write.c: Adapt to StyleColor changes.
7177
71782003-05-19  Jody Goldberg <jody@gnome.org>
7179
7180	* ms-excel-read.c (excel_read_CF) : tone down the amoutn of debug spew.
7181
7182	* ms-excel-read.c (excel_read_XCT) : work around more undocumented xls crack.
7183	  What the #$!@#&%!@ do negative counts mean.
7184
71852003-05-12  Jody Goldberg <jody@gnome.org>
7186
7187	* ms-excel-write.c (excel_write_FORMULA) : set the alwaysCalc flag for
7188	  cells with dynamic depends.
7189
71902003-05-11  Jody Goldberg <jody@gnome.org>
7191
7192	* Release 1.1.17
7193
71942003-04-28  Morten Welinder  <terra@gnome.org>
7195
7196	* ms-excel-read.c (biff_string_get_flags): Fix 0/FALSE confusion.
7197	(biff_xf_data_destroy): Ditto.
7198
71992003-04-21  Jody Goldberg <jody@gnome.org>
7200
7201	* ms-excel-write.c (excel_write_MERGECELLS) : handle too many merges
7202	  for a single biff record.
7203	* ms-biff.c (ms_biff_max_record_len) : new.
7204
72052003-04-09  Morten Welinder  <terra@gnome.org>
7206
7207	* boot.c (excel_file_probe): Guard against gsf read error.
7208	(excel_file_open): Ditto.
7209	(excel_file_open):
7210
72112003-03-26  Jody Goldberg <jody@gnome.org>
7212
7213	* ms-excel-read.c (excel_read_tab_color) : no need to operate on the
7214	  pixel directly.  Use the rgb in the StyleColor.
7215	(excel_read_WINDOW2) : ditto.
7216
72172003-03-18  Jody Goldberg <jody@gnome.org>
7218
7219	* boot.c : suppress warning
7220
72212003-03-18  Jody Goldberg <jody@gnome.org>
7222
7223	* ms-excel-read.c (excel_read_EXTERNSHEET_v7) : work around a bug in
7224	  1.0.x export that quoted names in EXTERNSHEET.
7225        (excel_read_workbook) : recognize 1.0.x files.
7226	(excel_workbook_new) : init the new flag.
7227
72282003-03-07  Morten Welinder  <terra@diku.dk>
7229
7230	* ms-chart.c (register_handlers): Use G_N_ELEMENTS.
7231
7232	* ms-obj.c (ms_read_OBJ): Ditto.
7233
7234	* ms-excel-write.c (excel_write_builtin_name): Ditto.
7235	(excel_write_FORMATs): Ditto.
7236	(map_pattern_index_to_excel): Ditto.
7237
7238	* ms-excel-read.c (excel_map_pattern_index_from_excel): Ditto.
7239
72402003-03-05  Jody Goldberg <jody@gnome.org>
7241
7242	* ms-biff.c (ms_biff_query_next) : more Morten warnings.
7243	(ms_biff_query_peek_next) : ditto.
7244
7245	* ms-obj.c (ms_obj_read_biff8_obj) : TRUE on error in precondition
7246
72472003-02-05  Jody Goldberg <jody@gnome.org>
7248
7249	* ms-excel-write.c (excel_write_FORMAT) : biff8 formats have 2 byte
7250	  lengths, biff7 has 1 byte.
7251
7252	* ms-excel-read.c (excel_read_FORMULA) : Add a quick size check.
7253
72542003-02-04  Jody Goldberg <jody@gnome.org>
7255
7256	* boot.c (excel_file_probe) : actually return the flag, and support
7257	  non-ole formats.
7258
72592003-01-28  Jody Goldberg <jody@gnome.org>
7260
7261	* Release 1.1.16
7262
72632003-01-25  Jody Goldberg <jody@gnome.org>
7264
7265	* excel-xml-read.c (xl_xml_wb) : quick framework to parse xml from
7266	  Office XP.  Just a descriptor for now no real work.
7267
72682003-01-21  Jody Goldberg <jody@gnome.org>
7269
7270	* ms-excel-write.c (excel_foreach_name) : doh!
7271
72722003-01-08  Jody Goldberg <jody@gnome.org>
7273
7274	* ms-excel-write.c (excel_sheet_new) : fix the text of the warning
7275	  messages.
7276	(excel_foreach_name) : loop over the gnumeric data structures rather
7277	  than the ExcelState wrappers so that we can do things before the
7278	  ExcelSheets are created.
7279
7280	* ms-biff.c (MAX_BIFF7_RECORD_SIZE) : increase this a smidge to match
7281	  the actual limit and allow export to handle all 16k rows in xl95.
7282
72832003-01-06  Jody Goldberg <jody@gnome.org>
7284
7285	* ms-excel-write.c (excel_write_state_new) : bp is not valid yet
7286	  take biff7 and biff8 flags directly.
7287
72882003-01-02  Jody Goldberg <jody@gnome.org>
7289
7290	* ms-excel-read.c (excel_read_1904) : Enable 1904 support.
7291	* ms-excel-write.c (write_workbook) : Set 1904 flag as necessary.
7292
72932002-12-31  Jody Goldberg <jody@gnome.org>
7294
7295	* Release 1.1.15
7296
72972002-12-30  Jody Goldberg <jody@gnome.org>
7298
7299	* ms-excel-write.c (excel_write_WRITEACCESS) : patch small leak, and
7300	  add a sanity failsafe.
7301
73022002-12-29  Jody Goldberg <jody@gnome.org>
7303
7304	* ms-biff.c (ms_biff_put_new) : Use the canonical name that is
7305	  available in glibc, and libiconv.
7306
73072002-12-30  Jon K Hellan  <hellan@acm.org>
7308
7309	* ms-excel-read.c (excel_read_workbook): Pass filename to
7310	cmd_context_get_password.
7311
73122002-12-30  Morten Welinder  <terra@diku.dk>
7313
7314	* ms-excel-read.c (excel_formula_shared): Return NULL on failure,
7315	not FALSE.
7316
73172002-12-25  Jody Goldberg <jody@gnome.org>
7318
7319	* ms-excel-write.c (excel_write_state_new) : register sheets with
7320	  filters.  check validation exppressions for sheets.
7321	(excel_write_prep_validations) : new.
7322	(excel_sheet_new) : init validation lists here if necessary.
7323	(excel_write_DVAL) : not here.
7324
73252002-12-24  Jody Goldberg <jody@gnome.org>
7326
7327	* ms-excel-read.c (excel_read_NAME) : arrrggghh MS kills me.
7328
7329	* ms-formula-read.c (excel_parse_formula) : disabled a bit too much
7330	  debug info and broke the code.
7331
73322002-12-24  Jody Goldberg <jody@gnome.org>
7333
7334	* ms-excel-read.c (ms_sheet_create_obj) : cut-n-paste-o in line creation
7335	  support font color for text boxes.
7336	  (excel_palette_get) : just call colour 64 black if it gets this far.
7337	    It only happens for sheet objects and we need to do more research
7338	    on how to handle these.
7339	(excel_read_DV) : fix double free
7340
7341	* ms-obj.c (ms_obj_read_pre_biff8_obj) : be more picky about what we
7342	  call an arrow head.  Fix the directions for lines.  Find the
7343	  undocumented flag to fix named objects.
7344
73452002-12-22  Jody Goldberg <jody@gnome.org>
7346
7347	* Release 1.1.14
7348
73492002-12-22  Jody Goldberg <jody@gnome.org>
7350
7351	* Release 1.1.13
7352
73532002-12-21  Jody Goldberg <jody@gnome.org>
7354
7355	* ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : new.
7356	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the biff8
7357	  combos.  Thats it we're done.
7358
73592002-12-20  Jody Goldberg <jody@gnome.org>
7360
7361	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the fields
7362	  to handle the last 1/4 of the puzzle.  The only thing missing now is
7363	  exporting the combos for biff8.
7364	(excel_write_DOPER) : new.
7365
73662002-12-18  Jody Goldberg <jody@gnome.org>
7367
7368	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : new.
7369	(write_sheet_head) : use it here to export the 1st 1/4 of autofilters.
7370	(excel_write_NAME) : support hidden names.
7371	(excel_write_autofilter_names) : create pretend names for the 1st
7372	 filter in each sheet.
7373	(write_workbook) : use excel_write_autofilter_names to generate the
7374	  next 1/4 of autofilters.
7375	(excel_write_autofilter_objs) : generate simple biff7 style objects
7376	  for the filter combos.
7377	(excel_write_sheet) : Use excel_write_autofilter_objs for the next 1/4.
7378
73792002-12-17  Jody Goldberg <jody@gnome.org>
7380
7381	* ms-formula-write.c (excel_write_prep_expr) : make it public.
7382	(excel_write_prep_expressions) : just do the initialization not the
7383	  dep walking.
7384	(excel_formula_write_NAME_v8) : new.
7385	(write_node) : handle names for biff8.
7386
7387	* ms-excel-write.c (excel_write_BOF) : no need to clone XL2k bug that
7388	  erroneously calls XL95 XL97.
7389	(excel_write_externsheets_v7) : we also export the selfref magic.
7390	(excel_write_NAME) : renamed from excel_write_NAME_v7 and extended to
7391	  support biff8.
7392	(write_workbook) : export names for BIFF8 too.
7393	(cb_check_names) : new.
7394	(excel_write_state_new) : prep the expressions in names too.
7395
73962002-12-16  Morten Welinder  <terra@diku.dk>
7397
7398	* ms-excel-write.c (excel_write_map_errcode): Base on
7399	value_error_classify.
7400
74012002-12-16  Morten Welinder  <terra@diku.dk>
7402
7403	* ms-excel-read.c (biff_get_error): Rename from
7404	biff_get_error_text and return a full error instead.  Add evalpos
7405	argument.  All callers changed.
7406
74072002-12-15  Jody Goldberg <jody@gnome.org>
7408
7409	* ms-container.c (ms_container_finalize) : cull out unused
7410	  placeholders.
7411
74122002-12-13  Jody Goldberg <jody@gnome.org>
7413
7414	* ms-formula-read.c : Tack on a 'shared' flag in alot of places to
7415	control the use of _REF/_AREA vs _REFN/_AREAN
7416
7417	* ms-excel-write.c (excel_write_BOF) : bump generated BOF to look like
7418	  MS excel 2k.
7419	(vip_hash) : new.
7420	(vip_equal) : new.
7421	(excel_write_DV) : new.
7422	(excel_write_DVAL) : new.
7423	(excel_write_NAME_v7) : export names using shared formula conventions.
7424	(excel_write_sheet) : export validation.
7425	(write_workbook) :  add a XL9FILE flag.
7426
7427	* ms-excel-read.c (excel_read_DV) : several small tweaks
7428	  1) string lengths are 2 bytes
7429	  2) Use the option flags to enable/disable input msg and validation
7430	  3) Parse expressions relative to the top left of the first range
7431	  4) Parse as shared expressions
7432
74332002-12-13  Jon K Hellan  <hellan@acm.org>
7434
7435	* ms-excel-read.c (excel_read_HLINK): Fix typo.
7436
74372002-12-08  Jody Goldberg <jody@gnome.org>
7438
7439	* ms-excel-read.c (excel_prepare_autofilter) : don't fully register
7440	  the magic filter name.
7441
74422002-12-06  Jody Goldberg <jody@gnome.org>
7443
7444	* ms-excel-read.c (excel_read_AUTOFILTER) : don't forget the unicode
7445	  header for biff8.
7446
74472002-12-03  Morten Welinder  <terra@diku.dk>
7448
7449	* ms-excel-read.c (excel_print_unit_init_inch): Convert to
7450	GnomePrintUnit.
7451	(excel_init_margins): Ditto.
7452	(excel_read_SETUP): Ditto.
7453	* ms-excel-write.c (excel_write_margin): Ditto.
7454	(excel_write_SETUP): Ditto.
7455
74562002-11-30  Jody Goldberg <jody@gnome.org>
7457
7458	* ms-excel-read.c (excel_read_AUTOFILTER) : finish.
7459	(read_DOPER) : finish.
7460
74612002-11-29  Jody Goldberg <jody@gnome.org>
7462
7463	* ms-excel-write.c (excel_write_WINDOW1) : make view const
7464	(excel_write_state_new) : ditto.
7465
7466	* ms-excel-read.c (excel_prepare_autofilter) : new.
7467	(excel_read_NAME) : handle autofilters.
7468
7469	* ms-escher.c (ms_escher_read_ClientTextbox) : store the text.
7470
7471	* plugins/excel/boot.c (excel_save) : make the view const not the
7472	  output.
7473	(excel_dsf_file_save) : ditto.
7474	(excel_biff8_file_save) : ditto.
7475	(excel_biff7_file_save) : ditto.
7476
74772002-11-26  Jody Goldberg <jody@gnome.org>
7478
7479	* ms-excel-read.c (ms_sheet_create_obj) : use the new label setting
7480	  utilities.
7481
74822002-11-28  Jon K Hellan  <hellan@acm.org>
7483
7484	* boot.c (excel_save, excel_dsf_file_save, excel_biff8_file_save)
7485	(excel_biff7_file_save): Receive gsf output stream from higher
7486	layer rather than creating and closing it here.
7487
74882002-11-25  Jody Goldberg <jody@gnome.org>
7489
7490	* ms-excel-read.c (excel_set_xf) : remove bogus optimization.
7491	(excel_set_xf_segment) : ditto.  We cannot assume that the default is
7492	  the current format.  See 'Tax2001-23.xls'
7493
74942002-11-24  Jody Goldberg <jody@gnome.org>
7495
7496	* ms-formula-read.c (excel_formula_parses_ref_sheets) : fix typo.
7497	  check the source not the destination.
7498
74992002-11-24  Jody Goldberg <jody@gnome.org>
7500
7501	* ms-obj.c (ms_obj_read_pre_biff8_obj) : add some fun.
7502
75032002-11-20  Jody Goldberg <jody@gnome.org>
7504
7505	* ms-formula-write.c (excel_formula_write_NAME_v7) : support qualified
7506	  names.
7507
7508	* ms-excel-read.c (excel_read_EXTERNSHEET_v7) : fix handling of the
7509	  sheet local names.
7510
7511	* boot.c (excel_file_open) : Try the output even more and assign the
7512	  savers as level AUTO.
7513	* plugin.xml.in : ditto.
7514
75152002-11-17  Jody Goldberg <jody@gnome.org>
7516
7517	* biff-types.h : s/SXVX/SXVS/ ancient typo
7518
75192002-11-15  Jody Goldberg <jody@gnome.org>
7520
7521	* Release 1.1.12
7522
75232002-11-15  Jody Goldberg <jody@gnome.org>
7524
7525	* ms-formula-write.c : tidy up sheet hanlding in references.
7526
7527	* ms-excel-write.c (excel_write_NAME_v7) : new.
7528	(excel_foreach_name) : ditto.
7529	(write_workbook) : produce names for biff7 including sheet local and
7530	  placeholders.
7531
75322002-11-14  Jon K Hellan  <hellan@acm.org>
7533
7534	* plugin.xml.in: Remove "open" and "import" attributes.
7535
75362002-11-13  Jody Goldberg <jody@gnome.org>
7537
7538	* ms-excel-write.c (excel_write_comments_biff7) : fix. #$^! libxml had
7539	  poluted the global name space with function 'comment' which I
7540	  accidentally used as a variable name without defining it.
7541
75422002-11-13  Jody Goldberg <jody@gnome.org>
7543
7544	* ms-excel-write.c (excel_sheet_write_block) : speedup empty rows.
7545	  And use the undocumented optimized form for the DBCELL (#rows == 0)
7546          when dealing with sparse regions.
7547	(excel_write_ROWINFO) : ignore empty rows.
7548
75492002-11-13  Jody Goldberg <jody@gnome.org>
7550
7551	* ms-formula-read.c (excel_parse_formula) : fix typo that broke 3d
7552	  references.
7553
7554	* ms-formula-write.c (sheet_pair_add_if_unknown) : new.
7555	(excel_write_prep_expr) : use it for refs and regions.
7556
7557	* ms-excel-write.c (excel_write_state_free) : release the function and
7558	  sheet pair tables.
7559	(excel_write_SCL) : new. Clean up and support zoom > 100
7560	(cb_write_sheet_pairs) : new.
7561	(excel_write_externsheets_v8) : generate sheet pairs for the
7562	  externsheet.  Still no support for external links.
7563	(excel_write_get_externsheet_idx) : implement.
7564
75652002-11-12  Jody Goldberg <jody@gnome.org>
7566
7567	* ms-excel-write.c : Don't use StyleFont.  In the case where a font
7568	  does not exist on the display system it does the wrong thing.
7569	  MStyle can contain an invalid font.  StyleFont gets remapped to the
7570	  default.
7571
75722002-11-12  Jody Goldberg <jody@gnome.org>
7573
7574	* ms-excel-write.c (palette_get_index) : add a warning if we are going
7575	  to lose a colour.
7576	(gather_palette) : improve debug.
7577
7578	* ms-excel-util.c (two_way_table_move) : rename from
7579	  two_way_table_replace and fix.
7580
75812002-11-11  Jody Goldberg <jody@gnome.org>
7582
7583	* ms-formula-write.c (write_cellref_v7) : fix signature.
7584	(write_cellref_v8) : ditto.
7585	(write_ref) : fix biff8 case.
7586
7587	* ms-excel-write.c (gather_styles) : we already gathered the most
7588	  common styles earlier.
7589	(excel_sheet_new) : most common style in a column does not extend the
7590	  column.
7591
7592	* ms-biff.c (ms_biff_put_len_next) : handle correct max biff record
7593	  sizes for biff7 vs biff8.  Looks like they teaked things so that the
7594	  dbcell records will always fit in 1 biff record.
7595	(ms_biff_put_len_commit) : ditto.
7596
75972002-11-10  Jody Goldberg <jody@gnome.org>
7598
7599	* ms-biff.c (ms_biff_put_new) : take a codepage as an argument.
7600	* ms-excel-write.c (excel_write_v7) : pass in the code page we stored
7601	  on import.
7602	(excel_write_v8) : ignore the codepage. biff8 uses unicode.
7603
7604	* ms-excel-read.c (excel_read_workbook) : store the codepage we
7605	  imported with.
7606
76072002-11-10  Jody Goldberg <jody@gnome.org>
7608
7609	* ms-formula-write.c (write_arrays) : rewrite.
7610
76112002-11-10  Jody Goldberg <jody@gnome.org>
7612
7613	* ms-formula-write.c (write_string) : Use excel_write_string.
7614	(write_arrays) : Use it here, but this code is suspect.
7615
7616	* ms-excel-write.c (excel_write_string_len) : new routine to find char
7617	  and byte lengths of strings.
7618	(current_workbook_iconv) : delete.
7619	(biff_convert_text) : delete.
7620	(biff_put_text) : delete.
7621	(excel_write_string) : new replacement for biff_put_text that does the
7622	  conversion and writting inline rather than from a buffer, has
7623	  smarter unicode handling and a more useful set of flags.
7624	(excel_write_externsheets_v7) : Use it here.
7625	(excel_write_externsheets_v8) : Use it here.
7626	(excel_write_NAME_v7) : Use it here.
7627	(excel_write_BOUNDSHEET) : Use it here.
7628	(excel_write_FONT) : Use it here.
7629	(excel_write_FORMAT) : Use it here.
7630	(excel_write_value) : Use it here.
7631	(excel_write_FORMULA) : Use it here.
7632	(excel_write_comments_biff7) : Use it here.
7633	(excel_write_SST) : Handle the unicode caes.
7634	(excel_write_WRITEACCESS) : new to handle biff7 vs biff8
7635	(excel_utf8_has_multibyte) : delete.
7636	(write_workbook) : Use excel_write_WRITEACCESS and clean up the
7637	  codepage handling to conform to
7638	  biff7 == single byte vs biff8 == unicode.
7639
7640	* ms-excel-biff.h (EX_SETSTRLEN) : delete.
7641
7642	* ms-biff.c (ms_biff_put_new) : Add a buffer and iconv handler to
7643	  simplify string handling.  excel95 gets locale specific handler.
7644	  excel97 and up goes to utf16-le.
7645	(ms_biff_put_destroy) : cleanup.
7646
76472002-11-07  Jody Goldberg <jody@gnome.org>
7648
7649	* ms-excel-write.c (excel_write_state_new) : merge biff7 and biff8
7650	  versions.
7651	(excel_write_externsheets_v8) : basic initial implementation handles
7652	  externnames.
7653
7654	* ms-excel-read.c (excel_read_workbook) : add a flag to indicate dual
7655	  stream file.
7656
7657	* boot.c (excel_file_open) : set the saver reasonably intellifently.
7658	(excel_save) : support dual stream files.
7659	(excel_dsf_file_save) : new.
7660	* plugin.xml.in : enable dual stream files
7661
76622002-11-05  Jody Goldberg <jody@gnome.org>
7663
7664	* plugin.xml.in : enable excel97
7665
7666	* ms-excel-write.c (excel_write_value) : use BIFF8 SST records.
7667	(excel_write_state_free) : clean up SST here.
7668	(excel_write_state_new) : shared routine for biff7 and biff8.
7669	(excel_utf8_has_multibyte) : quicky utility.
7670	(excel_write_SST) : initial basic implementation still needs unicode
7671	  support.
7672	(excel_write_BOF) : renamed from biff_bof_write and sync versions with
7673	  XL 2k.
7674
76752002-11-04  Jody Goldberg <jody@gnome.org>
7676
7677	* boot.c (excel_save) : prep for biff8 save, and double stream files.
7678
7679	* ms-excel-read.c (excel_read_XF) : fix rotation.
7680	(excel_read_SST) : improve debug info.
7681
7682	* ms-excel-write.c (write_xf_record) : write the BIFF8 support.
7683	(rotation_to_excel) : new.
7684
76852002-11-04  J.H.M. Dassen (Ray) <jdassen@debian.org>
7686
7687	* ms-biff.c, ms-escher.c, ms-excel-read.c, ms-excel-write.c,
7688	  ms-formula-write.c, ms-obj.c: Included headers for some standard
7689	  library functions.
7690
76912002-11-04  Nick Lamb <njl98r@ecs.soton.ac.uk>
7692
7693	* biff-types.h: Add BIFF_INTEGER
7694	* ms-excel-read.c: More non-OLE Excel file support.
7695
76962002-11-02  J.H.M. Dassen (Ray) <jdassen@debian.org>
7697
7698	* ms-obj.h: Added declaration of ms_obj_new .
7699
77002002-11-01  Jody Goldberg <jody@gnome.org>
7701
7702	* Release 1.1.11
7703
77042002-10-31  Jody Goldberg <jody@gnome.org>
7705
7706	* ms-formula-read.c (excel_parse_formula) : adjust the name and
7707	  externname handling.
7708
7709	* ms-excel-read.c (excel_workbook_new) : make supbook an array rather
7710	  than a ptr array.
7711	(excel_workbook_destroy) : cleanup the new data structures.
7712	(excel_read_EXTERNNAME) : revamp handling for biff8 to store in a
7713	  distinct structure from the NAMEs, and associate that with the
7714	  SUPBOOK even though the docs claim otherwise.  I suspect the docs
7715	  were written for Biff7 and not updated.  This is the only thing that
7716	  makes sense based on the record ordering.
7717	(excel_read_NAME) : merge in the ms_container_add_name code.
7718	(excel_externsheet_v8) : simplify the interface and return the structure
7719	(supbook_get_sheet) : adjust to the new data structures.
7720	(excel_read_SUPBOOK) : be more expressive.  We're ready to handle
7721	  externals now.  Just need to write a parser for the links.
7722
7723	* ms-container.c (ms_container_get_name) : No sense having it here.
7724	  The code is specific to the PTG handler.  move it there.
7725	(ms_container_add_name) : also more specific to the NAME and
7726	  EXTERNNAME handlers.  Move it there.
7727
77282002-10-30  Jody Goldberg <jody@gnome.org>
7729
7730	* ms-excel-read.c (excel_read_NAME) : handle unicode names.
7731
77322002-10-28  Morten Welinder  <terra@diku.dk>
7733
7734	* ms-escher.c (ms_escher_read_ClientTextbox): Don't leak text even
7735	though we haven't implemented the feature.  (I'm tired of hunting
7736	this leak down.)
7737
77382002-10-28  Jody Goldberg <jody@gnome.org>
7739
7740	* ms-excel-write.c (excel_write_WINDOW2) : go back to selecting the
7741	  current sheet.
7742	(excel_write_WINDOW1) : store the currently selected sheet here too.
7743
7744	* ms-excel-read.c (excel_read_EXTERNSHEET_v7) : kludge around screw up
7745	  in opencalc exporter.
7746
77472002-10-27  Nick Lamb <njl98r@ecs.soton.ac.uk>
7748
7749	* ms-excel-read.c: Factor out some code into new functions, more
7750	  support for non-OLE Excel files, especially formulae.
7751
77522002-10-27  Jody Goldberg <jody@gnome.org>
7753
7754	* Release 1.1.10
7755
77562002-10-26  Jody Goldberg <jody@gnome.org>
7757
7758	* ms-excel-write.c : Start rationalizing things.
7759	* ms-formula-write.c : ditto.  Lots of adjustments.
7760	- start handling biff7 externsheets correctly
7761	- fix handling of non builtin functions
7762
7763	* ms-excel-read.c (excel_add_name) : delete.
7764	(excel_workbook_get_name) : ditto.
7765
7766	* ms-formula-read.c : Hopefully the last major tweak to names and
7767	  externsheets for biff7.  This now loads all test cases smoothly.
7768	  It seems that biff7 stores per bof sets of externsheets.
7769
7770	* ms-container.c (ms_container_init) : Add a version and a workbook
7771	  pointer.  Init the new biff7 extern handling data structures.
7772	(ms_container_finalize) : and release them here.
7773	(ms_container_get_name) : new to handle biff7 or biff8 magic.
7774	(ms_container_add_name) : ditto.
7775
7776	* ms-chart.c (BC_R(ai)) : parse the expression as ourselves, not the
7777	  container.
7778	(chart_parse_expr) : implement.
7779	(ms_excel_chart) : handle EXTERNSHEET and EXTERNCOUNT for biff7 style
7780	  storage with per BOF EXTERN*.
7781
7782	* ms-biff.c (ms_biff_put_destroy) : take responsibility for the output
7783	  stream.
7784
7785	* boot.c (excel_save) : check that we can open the output file before
7786	  we bother collecting things for export.
7787
77882002-10-25  Jody Goldberg <jody@gnome.org>
7789
7790	* ms-excel-read.c (excel_read_XF) : init shrink to fit in the non
7791	  biff8 case.
7792
77932002-10-24  Jody Goldberg <jody@gnome.org>
7794
7795	* ms-excel-read.c (excel_parse_name) : patch leak.
7796
77972002-10-25  Morten Welinder  <terra@diku.dk>
7798
7799	* ms-biff.c (skip_bytes): Make scratch buffer static to ensure
7800	it's initialised.  Add assert, just in case.
7801
78022002-10-24  Morten Welinder  <terra@diku.dk>
7803
7804	* ms-excel-read.c (excel_read_XCT): Fix typo, I think.
7805
78062002-10-21  Jody Goldberg <jody@gnome.org>
7807
7808	* ms-formula-read.c (excel_parse_formula) : Ok. take a 2nd crack at
7809	  the externsheet handling in area3d and ref3d for biff7.  It seems
7810	  like XL2k generates different indicies when exporting as XL95 than
7811	  XL95 did.  So have a fall back.  If the theory that
7812	    a+1 == -ixals, a, b are 0 based
7813	  fails.  Go back to
7814	    a   == ixals, and a, b are 1 based
7815
78162002-10-21  Jody Goldberg <jody@gnome.org>
7817
7818	* ms-formula-read.c (ms_excel_parse_formula) : improve readability of
7819	  debug spew and send thing to stderr.
7820	Fix handling of extern names and refrences.  This time I think we've
7821	finally got it.
7822
78232002-10-21  Jody Goldberg <jody@gnome.org>
7824
7825	* ms-excel-read.c : tidy up naming conventions
7826	    excel_read_<BIFFTAG>
7827	  - Use fprintf to keep g_warning and printfs in sync
7828	  - Use esheet for ExcelSheets and ewb for ExcelWorkbooks
7829	  - Use Sheet and wb for the gnumeric variants
7830	(ms_excel_sheet_new) : check to see if the sheet already exists
7831	  in case it was implicitly created in a SUPBOOK or EXTERNSHEET.
7832	  This will be useful when we start restoring external links shortly.
7833	(ms_excel_workbook_attach) : delete.
7834	(ms_excel_workbook_detach) : delete.
7835	(ms_excel_sheet_destroy) : clear out the sheet local extensheet
7836	  records for biff5.
7837	(excel_read_BOUNDSHEET) : use ms_excel_sheet_new.
7838	(excel_externsheet_v8) : rewrite to handle self ref.  Only partially
7839	  done.
7840	(supbook_get_sheet) : ditto.
7841	(excel_read_EXTERNSHEET_v8) : ditto.
7842	(excel_externsheet_v7) : fix to use local externsheets.
7843	(excel_read_EXTERNSHEET_v7) : rewrite and prep for external
7844	  references.
7845	(excel_workbook_get_name) : work around 'self ref' records for biff8.
7846	(excel_parse_name) : work on scoping.  works for biff7 not biff8.
7847	(ms_excel_handle_delayed_NAMEs) : delete.  the externsheet records are
7848	  enough.
7849	(excel_read_EXTERNNAME) : builtin names are just short forms for
7850	  names, they have special meanings to XL but no special behavior.
7851	(excel_read_NAME) : ditto.  Use the new externsheet setup and drop all
7852	  of the delayed parsing goo.
7853	(excel_read_XCT) : new.  prep for external references.
7854	(excel_read_CALCMODE) : new.  now that we support manual recalc.
7855
78562002-10-17  Jody Goldberg <jody@gnome.org>
7857
7858	* ms-excel-read.c (ms_excel_parse_NAME) : It looks like some
7859	  builtinnames are just names, no definitions. eg 'Database'
7860	  It also looks like these sheet_indexes apply to externsheet records
7861	  for <= biff7 (see pivot.xls) rather than boundsheets.
7862
78632002-10-13  Jody Goldberg <jody@gnome.org>
7864
7865	* ms-excel-read.c (ms_excel_read_pane) : the sizes are only valid if
7866	  there is a freeze in that direction.
7867
7868	* ms-excel-read.c (ms_excel_read_dv) : Fix handling of empty strings
7869	  and improve validation.  NOTE : This is likely to come up again.
7870	  We need to know when there is always a 1 byte header, and when there
7871	  isn't in biff_get_text.
7872
78732002-10-09  Morten Welinder  <welinder@rentec.com>
7874
7875	* ms-obj.h (struct _MSObj): Avoid "gboolean ... : 1".
7876	* ms-excel-read.h (struct _ExcelSheet): Avoid "gboolean ... : 1".
7877
78782002-10-10  Nick Lamb <njl98r@ecs.soton.ac.uk>
7879
7880	* plugin.xml.in: Excel 4.x had .XLW workbooks as well as .XLS
7881	* boot.c: Try to load non-OLE files too
7882
78832002-10-09  Morten Welinder  <terra@diku.dk>
7884
7885	* ms-excel-read.c (ms_excel_workbook_destroy): Don't leak
7886	->supbooks.
7887
78882002-10-08  Jody Goldberg <jody@gnome.org>
7889
7890	* ms-excel-write.c (write_names) : Fix leak by not inserting copies of
7891	  of the name string.
7892	  1) no need to copy
7893	  2) no need to do a string compare
7894
78952002-10-07  Jody Goldberg <jody@gnome.org>
7896
7897	* ms-excel-read.c (ms_excel_read_workbook) : handle workbook protected
7898	  files (thanks jpablo).
7899
79002002-10-04  Jody Goldberg <jody@gnome.org>
7901
7902	* ms-excel-read.c (ms_excel_parse_NAME) : ahhh, I understand now.
7903	  names with expr_len == 0 represent the placeholders used for unknown
7904	  names.
7905
79062002-10-02  Jody Goldberg <jody@gnome.org>
7907
7908	* ms-chart.c (BC_R) : handle empty text.
7909
7910	* boot.c : simplify now that IOContext inherits from CommandContext
7911	  Move the metadata export here for symmetry with the import.
7912
79132002-09-30  Jody Goldberg <jody@gnome.org>
7914
7915	* plugin.xml.in : disable 97 until it is ready for widespread use
7916
79172002-09-30  Jody Goldberg <jody@gnome.org>
7918
7919	* Release 1.1.9
7920
79212002-09-30  Jody Goldberg <jody@gnome.org>
7922
7923	* boot.c (excel_file_open) : typo
7924
79252002-09-27  Jody Goldberg <jody@gnome.org>
7926
7927	* boot.c (excel_save) : restore macros.
7928
7929	* boot.c (excel_file_open) : handle confused files that misname the
7930	  streams.  Store macros if they exist.
7931
79322002-09-26  Jody Goldberg <jody@gnome.org>
7933
7934	* ms-formula-read.c (ms_excel_parse_formula) : fix handling of 26 & 27.
7935	  The docs are confusing.  The cached data is appended not to the
7936	  subexpression but to the entire string.  While we're here add a stub
7937	  for tables.
7938
79392002-09-26  Jody Goldberg <jody@gnome.org>
7940
7941	* ms-formula-read.c (ms_excel_parse_formula) : supply handling of
7942	  pgts 26 & 27.  We can ignore them but they frequently wrap the
7943	  intersection operator, the export will be a pain in the butt.
7944
79452002-09-25  Jody Goldberg <jody@gnome.org>
7946
7947	* ms-formula-read.c (binary_ops) : enable intersection
7948	  still needs work.
7949	* ms-formula-write.c (ms_formula_build_pre_data) : ditt.
7950	(write_node) : ditto.
7951
79522002-09-15  Jody Goldberg <jody@gnome.org>
7953
7954	* ms-formula-read.c (const) : DateDif takes 3 arguments.
7955
79562002-09-10  Morten Welinder  <terra@diku.dk>
7957
7958	* ms-escher.c: Make shade_ParamMask be within int's range by
7959	casting it.
7960	* ms-escher.c: Avoid trailing commas in enums.
7961
79622002-09-05  Jody Goldberg <jody@gnome.org>
7963
7964	* ms-formula-write.c (ms_formula_write_pre_data) : remove some obvious
7965	  silliness
7966
79672002-09-04  Jody Goldberg <jody@gnome.org>
7968
7969	* *.c : remove ifdef WITH_BONOBOization of graphs
7970
79712002-08-30  Jody Goldberg <jody@gnome.org>
7972
7973	* boot.c (excel_read_metadata) : new.
7974	(excel_file_open) : read the doc and summary meta info streams.
7975	  Don't do anything with the data yet, but start the ball rolling.
7976
79772002-08-30  Morten Welinder  <terra@diku.dk>
7978
7979	* ms-excel-read.c (ms_excel_read_formula): Avoid copying of
7980	string.
7981	(ms_excel_parse_formula): Ditto.
7982
79832002-08-29  Morten Welinder  <terra@diku.dk>
7984
7985	* ms-excel-util.c (two_way_table_new): Take an extra arg for
7986	getting rid of keys.  All callers changed.
7987
7988	* ms-excel-write.c (formats_init): Supply an unreffer to
7989	two_way_table_new.
7990
79912002-08-29  Morten Welinder  <terra@diku.dk>
7992
7993	* ms-excel-write.c (free_workbook): Plug leaks.
7994
79952002-08-28  Jody Goldberg <jody@gnome.org>
7996
7997	* ms-excel-read.c (ms_excel_read_workbook) :
7998	  excel_iconv_open_for_import moved to libgsf.
7999
80002002-08-28  Jody Goldberg <jody@gnome.org>
8001
8002	* ms-excel-read.c (ms_excel_read_workbook) : gnm_iconv_close moved to
8003	  libgsf.
8004	* ms-excel-write.c (write_workbook) : ditto.
8005	* ms-summary.c (ms_summary_read) : ditto.
8006	(ms_summary_write) : ditto.
8007
80082002-08-25  Jody Goldberg <jody@gnome.org>
8009
8010	* Release 1.1.8
8011
80122002-08-25  Jody Goldberg <jody@gnome.org>
8013
8014	* ms-excel-write.c (excel_write_externsheets) : store the unquoted
8015	  name.
8016	(excel_write_SELECTION) : swap args to be consistent.
8017	  Store current pane == 3 rather than 0 to silence the warning when
8018	  loading our sheets in MS Excel.
8019	(ms_excel_write_workbook) : add some dummy metadata streams.
8020
80212002-08-21  Jody Goldberg <jody@gnome.org>
8022
8023	* ms-obj.c (ms_obj_new) : add a convenience routine to be safe.
8024	(ms_read_OBJ) : Use it here.
8025
80262002-08-19  Jon K Hellan  <hellan@acm.org>
8027
8028	* ms-biff.c (ms_biff_query_peek_next, ms_biff_put_var_seekto,
8029	ms_biff_put_var_commit, ms_biff_put_len_commit): Use glib's seek
8030	enum instead of the enum which used to be in libgsf.
8031
8032	* ms-excel-write.c (biff_boundsheet_write_last, write_index): Ditto.
8033
80342002-08-18  Jody Goldberg <jody@gnome.org>
8035
8036	* ms-excel-util.c (excel_iconv_open_for_import) : fix unicode codepage
8037	  to be actual unicode with the high bit lopped off, which I hope is
8038	  synonymous with 8859-1.  This still needs to be translated into
8039	  UTF-8.
8040
80412002-08-17  Jon K Hellan  <hellan@acm.org>
8042
8043	* ms-chart.c (BC_R): Fix typos.
8044
80452002-08-17  Jody Goldberg <jody@gnome.org>
8046
8047	* ms-excel-util.c (get_locale_charset_name) : delete.
8048	(excel_iconv_open_for_import) : realize that 1200 and 1201 are both
8049	  unicode and that we only want to convert to UTF-8.
8050	(excel_wcstombs) : die die die.  We may need this again one day when
8051	  exporting UTF-8 back to xl 95.  But we'll cross that bridge when we
8052	  come to it.
8053
8054	* ms-excel-read.c (get_chars) : internally text should always be UTF-8.
8055	(ms_excel_read_workbook) : fix the warning.
8056	  I've found some references for the code pages.
8057
80582002-08-16  Jon K Hellan  <hellan@acm.org>
8059
8060	* ms-excel-read.c (ms_excel_read_SUPBOOK): Shut up warning.
8061
80622002-08-15  Jon K Hellan  <hellan@acm.org>
8063
8064	* ms-excel-write.c (biff_boundsheet_write_last, write_index):
8065	Change type of oldpos variable to gsf_off_t.
8066
80672002-08-13  Jody Goldberg <jody@gnome.org>
8068
8069	* ms-obj.c (ms_obj_read_pre_biff8_obj) : support colours for polygons.
8070
8071	* ms-excel-read.c (ms_sheet_create_obj) : Add support for polygon
8072	  colours.
8073	(ms_sheet_obj_anchor_to_pos) : hmm, our supposition that >= 97 ==
8074	  1/256 and < 97 == 1024 seems wrong in the face of chap03-1.
8075
80762002-08-12  Jody Goldberg <jody@gnome.org>
8077
8078	* Release 1.1.7
8079
80802002-08-12  Jody Goldberg <jody@gnome.org>
8081
8082	* ms-obj.c (ms_object_attr_new_array) : new.
8083	(ms_object_attr_get_expr) : ditto.
8084	(ms_object_attr_destroy) : support arrays.
8085	(ms_obj_read_pre_biff8_obj) : Parse the coord list for polygons.
8086
8087	* ms-excel-read.c (ms_excel_read_SUPBOOK) : do a touch more.
8088	Still need to write the encoded path parser.
8089
8090	* ms-excel-read.c (ms_excel_read_cf) : don't leak.
8091
80922002-08-11  Jody Goldberg <jody@gnome.org>
8093
8094	* ms-formula-read.c (ms_excel_parse_formula) : add bounds testing to
8095	  reading const strings.  It will save us from corrupt data, and
8096	  rescue us from the misexported xls in 1.0.6,1.0.7
8097
8098	* ms-excel-read.c (biff_xf_data_new) : read shrink to fit.
8099	(ms_excel_parse_NAME) : Ignore 0 length expressions.
8100
8101	* ms-formula-read.c (expr_tree_error) : new.
8102	(parse_list_pop) : use it more loudly here.
8103	(ms_excel_parse_formula) : and here.
8104
81052002-08-09  Jody Goldberg <jody@gnome.org>
8106
8107	* ms-excel-read.c (ms_excel_read_workbook) : silence the warnings
8108	  caused by reading the padding at the end of files.
8109
81102002-08-08  Jody Goldberg <jody@gnome.org>
8111
8112	* ms-formula-read.c (ms_excel_parse_formula) : improve handling of
8113	  arrays.
8114
8115	* ms-excel-read.c (biff_boundsheet_data_new) : improve debug spew.
8116	(sst_read_string) : no need to pass version an sst is biff8 specific.
8117	(ms_excel_read_SST) : ditto.
8118	(ms_excel_read_EXSST) : new convience routine.
8119	(biff_boundsheet_data_new) : move boundsheet_data_by_index into a ptr
8120	  array, and store the gnumeric sheets directly.
8121	(ms_excel_workbook_new) : use g_hash_table_new_full to make cleanup
8122	  easier.
8123	(ms_excel_workbook_destroy) : simplify.
8124	(ms_excel_read_SETUP) : support the 'print comments' flag
8125	(ms_excel_read_MULRK) : split into its own function.
8126	(ms_excel_read_MULBLANK) : ditto.
8127	(ms_excel_read_SCL) : ditto
8128	(ms_excel_read_sheet) : spew the sheet password in case we need to
8129	  generate it.
8130	(ms_excel_SUPBOOK) : I finally understand the self reference magic.
8131	  More work to do to support external links.
8132	(ms_excel_workbook_get_externsheet_v8) : improve the warnings on error.
8133	(ms_excel_externsheet_v8) : those sheet indicies are BOUNDSHEET
8134	  references if the supbook is a self reference.  We cannot directly
8135	  access the Gnumeric sheets because XL has hidden elements that skew
8136	  the index.
8137	(ms_excel_workbook_get_externsheet_v7) : ditto.
8138	(ms_excel_externsheet_v7) : store the sheet directly.
8139
8140	* ms-excel-write.c (write_magic_interface) : biff8 stores the code
8141	  page in the interface header for some reason.
8142	(ms_excel_write_EOF) : rename from biff_write_eof.
8143	(excel_write_SETUP) : new.
8144	(write_wsbool) : remove duplicate code.
8145	(excel_write_COUNTRY) : new.
8146	(write_sheet_head) : tidy.
8147	(excel_write_sheet_tail) : SCL is not version specific.
8148	(sst_collect_str) : new.
8149	(ms_excel_write_SST) : prepare to write an SST (not finished)
8150
81512002-08-07  Jody Goldberg <jody@gnome.org>
8152
8153	* ms-excel-write.c (init_base_char_width_for_write) : delete.
8154	(style_get_char_width) : renamed from get_base_char_width as it is now
8155	  just a wrapper around the
8156	(ms_excel_write_DEFCOLWIDTH) : renamed from write_default_col_width
8157	  and use the right font in the width calculations.
8158	(ms_excel_write_COLINFO) : renamed from write_colinfo and use the
8159	  right font in the width calculations.
8160
81612002-08-06  Morten Welinder  <terra@diku.dk>
8162
8163	* *.c: use gsf_le_get_double and gsf_le_set_double.
8164
81652002-08-05  Jody Goldberg <jody@gnome.org>
8166
8167	* ms-biff.c (ms_biff_put_var_write) : const.
8168
8169	* ms-excel-write.c (write_magic_interface) : Use the symbolic names.
8170	(biff_put_text) : no need to write 8byte text 1 byte at a time.
8171
81722002-08-06  Morten Welinder  <terra@diku.dk>
8173
8174	* md5.h (UINT4): Portability fix.
8175
8176	* rc4.h: Guard.
8177	* md5.h: Guard.
8178	* biff-types.h: Guard.
8179	* escher-types.h: Guard.
8180	* formula-types.h: Guard.
8181
81822002-08-04  Jody Goldberg <jody@gnome.org>
8183
8184	* ms-formula-read.c (ms_excel_parse_formula) : remove bogisity about
8185	  'Magic Addin Name'
8186
81872002-07-22  Zbigniew Chyla  <cyba@gnome.pl>
8188
8189	* plugin.xml.in: Set loader type to "Gnumeric_Builtin:module".
8190
81912002-08-01  Jody Goldberg <jody@gnome.org>
8192
8193	* ms-excel-write.c (biff_put_text) : set the unicode flag on the
8194	  string header for unicode strings.  This routine needs to be cleaned
8195	  up to handle UTF-8 -> UTF-16 if necessary.
8196	(biff_boundsheet_write_first) : tidy and make the name len 1 byte.
8197	(gather_palette) : convert to new two way table convention.
8198	(gather_fonts) : ditto.
8199	(gather_formats) : ditto.
8200	(xf_free) : ditto.
8201	(after_put_mstyle) : ditto.
8202	(put_mstyle) : simplify.
8203	(xf_init) : delete.
8204	(cell_used_map_new) : delete.
8205	(cell_mark_used ) : delete.
8206	(cell_is_used) : delete.
8207	(excel_cell_get) : delete.
8208	(pre_cell) : delete.
8209	(pre_blank) : delete.
8210	(pre_blanks) : delete.
8211	(pre_colstyle) : delete.
8212	(gather_styles) : greatly simplify by using the knowledge that there
8213	  is a per sheet hash of the styles in use.
8214	(cb_accum_styles) : new.
8215	(write_cell) : Use the gnumeric data structures directly.
8216	(write_block) : ditto.
8217	(ms_excel_write_wsbool) : new.
8218	(write_sheet_head) : use ms_excel_write_wsbool.
8219	(excel_sheet_new) : no more need for large cell map.
8220	(excel_sheet_free) : ditto.
8221
8222	* ms-excel-util.c (two_way_table_new) : Allow for ptr tp ptr
8223	  comparisons as an optimization.
8224	(two_way_table_free) : ditto.
8225	(two_way_table_put) : ditto.
8226	(two_way_table_replace) : ditto.
8227	(two_way_table_key_to_idx) : ditto.
8228
8229	* boot.c (excel_save) : bah!  I forgot to commit this.  export is
8230	  broken without it.
8231
82322002-07-21  Jody Goldberg <jody@gnome.org>
8233
8234	* Release 1.1.6
8235
82362002-07-19  Jody Goldberg <jody@gnome.org>
8237
8238	* ms-excel-read.c (ms_excel_read_hlink) : improve bounds checking.
8239
82402002-07-19  Jody Goldberg <jody@gnome.org>
8241
8242	* plugins/excel/ms-excel-read.c (ms_excel_read_hlink) : tidy up and
8243	  support custom tool tips.
8244
82452002-07-18  Jody Goldberg <jody@gnome.org>
8246
8247	* ms-excel-read.c (ms_excel_read_imdata) : only read the amount of
8248	  data in the imrecord.  not all continues add infinitum.  Fixes
8249	  guia.xls.
8250
8251	* ms-obj.c (ms_read_TXO) : don't expect continue records if there is
8252	  no text.  Fixes guia2.xls.
8253
82542002-07-16  Jody Goldberg <jody@gnome.org>
8255
8256	* ms-excel-read.c (ms_excel_read_sheet) : reorder 0x1xx entries to be
8257	  in increasing order and support hlinks.
8258	(ms_excel_read_hlink) : new.
8259
82602002-07-14  Jody Goldberg <jody@gnome.org>
8261
8262	* ms-obj.c (ms_obj_read_pre_biff8_obj) : move the
8263	  initialization of the prop bag from here.
8264	(ms_read_OBJ) : to here.  Fixes the guia2 hash warnings.
8265
82662002-07-09  Morten Welinder  <terra@diku.dk>
8267
8268	* boot.c (excel_file_open): Don't leak the stream.
8269
82702002-06-27  Jody Goldberg <jody@gnome.org>
8271
8272	* ms-excel-read.c (ms_excel_read_selection) : put the edit_pos in the
8273	  right place.
8274
8275	* ms-excel-write.c (write_sheet_tail) : Use stern_brocot to get a
8276	  reasonable fraction.
8277	(write_sheet_selection) : split the writing of the selection out into
8278	  here and implement it.
8279
82802002-06-22  Jody Goldberg <jody@gnome.org>
8281
8282	* ms-formula-write.c (operations) : export intersection.
8283
8284	* ms-formula-read.c (ms_excel_parse_formula) : enable mem_func
8285	  support.
8286	(binary_ops) : use range_ctor for RANGE.
8287
82882002-06-20  Jody Goldberg <jody@gnome.org>
8289
8290	* ms-excel-read.c (ms_excel_workbook_new) : store the workbookview.
8291	(ms_excel_read_selection) : selection is now in the view.
8292
82932002-06-06  Jody Goldberg <jody@gnome.org>
8294
8295	* ms-excel-read.c (ms_excel_read_workbook) : convert to gsf.
8296	  No need to handle the ole here.  Just take a GsfInput.  That way we
8297	  can try to parse non ole files too :-)
8298
8299	* ms-biff.c (ms_biff_query_set_decrypt) : convert to Gsf.
8300	(ms_biff_query_new) : ditto.
8301	(ms_biff_query_peek_next) : ditto.
8302	(ms_biff_query_next) : ditto.
8303
8304	* boot.c (excel_file_probe) : convert to GsfInput.
8305	(excel_file_open) : ditto.
8306
8307	* biff-types.h : add a few under-documented opcodes.
8308
83092002-05-28  Jody Goldberg <jody@gnome.org>
8310
8311	* ms-biff.c (ms_biff_query_peek_next) : we only need the opcode, not
8312	  the length.
8313
83142002-05-14  Jody Goldberg <jody@gnome.org>
8315
8316	http://bugzilla.gnome.org/show_bug.cgi?id=81766
8317	* ms-excel-read.c (ms_excel_read_formula) : work around undocumented
8318	  'feature' that will store a 0 length RECORD for empty strings.
8319
83202002-05-29  Jody Goldberg <jody@gnome.org>
8321
8322	* Release 1.1.4
8323
83242002-05-15  Jody Goldberg <jody@gnome.org>
8325
8326	* ms-biff.c (verify_password) : support unicode passwords.
8327
83282002-05-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
8329
8330	* ms-excel-read.c (ms_excel_init_margins) : margins are now in
8331	  print_config
8332	(ms_excel_read_setup) : ditto
8333	(ms_excel_read_sheet) : ditto
8334	* ms-excel-write.c (margin_write) : ditto
8335	(write_sheet_head) : use modified margin_write
8336
83372002-05-05  Jody Goldberg <jody@gnome.org>
8338
8339	* ms-obj.c (ms_obj_read_biff8_obj) : tack on a flag to handle the
8340	  magic associated with combos for filters.
8341	* ms-excel-read.c (ms_sheet_create_obj) : respect the new flag.
8342
83432002-04-29  Jody Goldberg <jody@gnome.org>
8344
8345	* Release 1.1.3
8346
83472002-04-21  Jody Goldberg <jody@gnome.org>
8348
8349	* ms-excel-read.c (ms_excel_externsheet_v8) : handle references to
8350	  deleted sheets.
8351
8352	* ms-escher.c (ms_escher_read_Blip) : remove some debug cruft.
8353
83542002-04-15  Jon K Hellan  <hellan@acm.org>
8355
8356	* boot.c: s/main.h/libgnumeric.h/
8357
8358	* ms-excel-write.c: Ditto.
8359
83602002-04-13  Jody Goldberg <jody@gnome.org>
8361
8362	* ms-excel-read.c (ms_excel_read_AUTOFILTER) : start work on filters.
8363	(ms_excel_read_sheet) : support the filter records.
8364
83652002-04-13  Jon K Hellan  <hellan@acm.org>
8366
8367	* ms-chart.c: s/ENABLE_BONOBO/WITH_BONOBO/
8368
8369	* ms-excel-read.c: Ditto
8370
83712002-03-27  Jody Goldberg <jody@gnome.org>
8372
8373	* ms-biff.c (ms_biff_query_set_decrypt) : protect against NULL
8374	  passwords.
8375
83762002-03-25  Jody Goldberg <jody@gnome.org>
8377
8378	* Release 1.1.2
8379
83802002-03-26  Jody Goldberg <jody@gnome.org>
8381
8382	* ms-biff.c (wvMD5StoreDigest) : new from libwv-7.1
8383	(makekey) : ditto.
8384	(verify_password) : tweaked from libwv.
8385	(skip_bytes) : new.
8386	(ms_biff_query_set_decrypt) : new.
8387	(ms_biff_query_new) : support encryption.
8388	(ms_biff_query_next) : ditto.
8389	(ms_biff_query_destroy) : ditto.
8390
8391	* ms-excel-read.c (ms_biff_bof_data_new) : Use the un-decoded data.
8392	(ms_excel_read_sheet) : comment that it seems like bytes 12 & 16 are
8393	  not encrypted.
8394	(biff_boundsheet_data_new) : stream start pos seems un encrypted.
8395
83962002-03-22  Jon K Hellan  <hellan@acm.org>
8397
8398	* ms-excel-read.c (ms_excel_get_style_from_xf): Be prepared for
8399	color 65 as pattern color.
8400
84012002-03-20  Jody Goldberg <jody@gnome.org>
8402
8403	* ms-excel-read.c (ms_excel_read_sheet) : 15 is the
8404	  default fmt for cells.  0 is the default style fmt that is its
8405	  parent.
8406	(ms_excel_set_xf) : not strictly correct.  We should apply if the col,
8407	  row is different.
8408	(ms_excel_set_xf_segment) : no need to apply if it is the default.
8409
84102002-03-18  Morten Welinder  <terra@diku.dk>
8411
8412	* ms-excel-read.h (_ExcelWorkbook): Add sharer.
8413
8414	* ms-excel-read.c (ms_excel_workbook_new): Initialize sharer.
8415	(ms_excel_workbook_destroy): Destroy sharer.
8416
8417	* ms-formula-read.c (ms_excel_parse_formula): Share resulting
8418	formulae.
8419
84202002-03-16  Jody Goldberg <jody@gnome.org>
8421
8422	* ms-excel-read.c (ms_excel_workbook_destroy) : we can have NULL
8423	  names as place holders.
8424
84252002-03-15  Jody Goldberg <jody@gnome.org>
8426
8427	* ms-excel-read.c (ms_excel_sheet_destroy) : make deleting the
8428	  gnum_sheet optional.
8429
8430	* ms-excel-read.c (ms_excel_parse_NAME) : add a ref.
8431	(ms_excel_workbook_destroy) : don't leak the sheets, or the names.
8432
84332002-03-15  Andreas J. Guelzow <aguelzow@taiesin.ca>
8434
8435	* ms-excel-read.c : calculate desired tab_text_color upon reading of
8436	  tab_color
8437
84382002-03-14  Jody Goldberg <jody@gnome.org>
8439
8440	* ms-obj.c (ms_obj_read_pre_biff8_obj) : doh! Fix sense of result so
8441	  that reading works.
8442
84432002-03-11  Jody Goldberg <jody@gnome.org>
8444
8445	* ms-excel-read.c (ms_excel_externname) : Store the name for use as a
8446	  function.
8447
84482002-03-10  Jody Goldberg <jody@gnome.org>
8449
8450	* Release 1.1.1
8451
84522002-03-08  Jody Goldberg <jody@gnome.org>
8453
8454	* ms-excel-read.c (ms_excel_workbook_new) : store an iocontext.
8455	  init the delayed name list for xl95.
8456	(ms_excel_parse_NAME) : split out of.
8457	(ms_excel_read_NAME) : here.
8458	(ms_excel_handle_delayed_NAMEs) : new.
8459	(ms_excel_externsheet_v8) : be quiet.
8460	(ms_excel_read_workbook) : check for delayed names on EOF.
8461
84622002-03-07  Jody Goldberg <jody@gnome.org>
8463
8464	* ms-excel-read.c (ms_excel_externsheet_v8) : don't warn for local
8465	  name records.
8466	(ms_excel_read_NAME) : typo.
8467
84682002-03-07  Jody Goldberg <jody@gnome.org>
8469
8470	* ms-excel-read.c : revamp extensheet handling and name import.
8471	  Still does not work for XL95, but things should be ok for >= 97.
8472	  Getting closer to supporting external references.
8473
84742002-03-02  Jody Goldberg <jody@gnome.org>
8475
8476	* ms-excel-write.c (write_externsheets) : Use unquoted.  This code
8477	  needs some love.
8478
84792002-03-02  Jody Goldberg <jody@gnome.org>
8480
8481	* ms-excel-read.c (ms_excel_read_formula) : avoid leaking when faced
8482	  with bad input.
8483	(ms_excel_read_formula) : ditto.
8484
84852002-02-28  Jody Goldberg <jody@gnome.org>
8486
8487	* ms-formula-write.c (write_area) : write explicitly scoped addreses
8488	  as area3d not area.  Use tx = 0xffff and warn that we only support
8489	  locale sheets.
8490
8491	* ms-excel-write.c (write_bits) : better attribution and dump names.
8492	(write_workbook) : let write_bits handle the names.
8493
84942002-02-26  Jody Goldberg <jody@gnome.org>
8495
8496	* ms-escher.c (ms_escher_get_data) : clarify the interface.
8497	(ms_escher_read_BSE) : fix call to ms_escher_get_data.
8498	(ms_escher_read_Sp) : ditto.
8499	(ms_escher_read_ClientAnchor) : ditto.
8500	(ms_escher_read_OPT) : ditto.
8501	(ms_escher_read_container) : ditto.
8502	(ms_escher_read_Blip) : support decompress and validate emf & wmf.
8503
8504	* ms-excel-util.c (excel_iconv_open_for_import) : recognize that
8505	cp1200 makes no sense in that context and fall back to 8859-1.
8506
85072002-02-24  Jody Goldberg <jody@gnome.org>
8508
8509	http://bugzilla.gnome.org/show_bug.cgi?id=72459
8510	* ms-formula-write.c (write_node) : fix typo.
8511
85122002-02-26  Morten Welinder  <terra@diku.dk>
8513
8514	* ms-excel-read.c (biff_get_rk): Improve precision ever so
8515	slightly on numbers that are scaled by 0.01.
8516
85172002-02-25  Jon K Hellan  <hellan@acm.org>
8518
8519	* ms-excel-read.c (ms_sheet_create_image): New function. Factor
8520	image creation out of ms_sheet_create_obj and also handle cropping.
8521	(ms_sheet_create_obj): Call ms_sheet_create_image.
8522
85232002-02-23  Jon K Hellan  <hellan@acm.org>
8524
8525	* plugin.xml.in: Recognize *.xlt extension.
8526
85272002-02-21  Morten Welinder  <terra@diku.dk>
8528
8529	* ms-excel-write.c (init_base_char_width_for_write): Constify.
8530	(ms_excel_write_workbook): Constify.
8531
8532	* ms-excel-read.c (get_substitute_font): Constify.
8533	(ms_excel_get_style_from_xf): Constify.
8534	(biff_boundsheet_data_new): Constify.
8535
8536	* ms-summary.c (read_summary_items): Constify.
8537
8538	* ms-excel-util.c (get_locale_charset_name): Constify.  Remove
8539	code conditioned on HAVE_ICONV && !HAVE_ICONV.
8540
8541	* ms-escher.c (ms_escher_read_BSE): Constify.
8542
85432002-02-20  Morten Welinder  <terra@diku.dk>
8544
8545	* ms-excel-write.c (write_value): Fix format.
8546
8547	* ms-excel-read.c (ms_excel_read_name): Constify.
8548
8549	* ms-formula-read.c (formula_func_data): Constify.
8550
8551	* ms-excel-util.c (two_way_table_put): Constify.
8552
85532002-02-19  Jon K Hellan  <hellan@acm.org>
8554
8555	* ms-excel-read.c (ms_excel_palette_get): Update documentation.
8556	(ms_excel_get_style_from_xf): Remove case 0.
8557	(biff_xf_data_new): Save difference bits. We don't use them yet,
8558	though. Documentation is wrong, background color is one bit more
8559	than documented
8560
8561	* ms-excel-write.h (struct _ExcelFont): Add is_auto member.
8562	(PALETTE_BLACK): Change from 0 to 8.
8563	(PALETTE_WHITE): Change from 1 to 9.
8564	(PALETTE_AUTO_PATTERN, PALETTE_AUTO_BACK, PALETTE_AUTO_FONT,
8565	FILL_NONE, FILL_SOLID): Define
8566
8567	* ms-excel-write.c (write_window2): Write grid / auto pattern
8568	color.
8569	(style_color_to_int): Rename to style_color_to_rgb888.
8570	(palette_put_defaults): Call index 8 'PALETTE_BLACK'. Mark both
8571	black and white as in use.
8572	(palette_get_index): Return 8 (PALETTE_BLACK) for black, and 9
8573	(PALETTE_WHITE) for white.
8574	(put_color): Call style_color_to_rgb888 with new name.
8575	(excel_font_new): Call style_color_to_rgb888 with new name. Save
8576	is_auto flag.
8577	(excel_font_hash): Include is_auto in hash func, and shift flags
8578	so they don't just cancel each other.
8579	(excel_font_equal): Include is_auto in comparison.
8580	(write_font): Store as auto color when appropriate.
8581	(fixup_fill_colors): Simplify and merge into build_xf_data.
8582	(style_color_to_pal_index): New function. Return Excel color
8583	index, possibly auto, for a style color.
8584	(get_xf_differences): We have discovered that background color is
8585	stored with 1 bit more than documented. Use this to improve test
8586	for pattern difference between XF and parent style. Locking: XL
8587	default is on, so we're different if locking is off.
8588	(build_xf_data): Store as auto color where appropriate. Use
8589	style_color_to_pal_index.
8590	(write_xf_record): Documentation is wrong - there is no fSxButton
8591	bit. The bg color uses the bit, making bg field 7 bits wide. Don't
8592	store data for borders which aren't there.
8593
85942002-02-18  Jody Goldberg <jody@gnome.org>
8595
8596	* Release 1.1.0
8597
85982002-02-15  Jody Goldberg <jody@gnome.org>
8599
8600	* ms-escher.c (write_file) : delete.
8601	(ms_escher_read_BSE) : remove the bonobo-ness from here it is none of
8602	  excel's business.  Just use the new SheetObjectImage.  While we're
8603	  at it avoid a few memory copies of the image.
8604	* ms-excel-read.c (ms_sheet_create_obj) : ditto.
8605
8606	* ms-container.c (ms_container_get_blip) : return non-const.
8607
86082002-02-08  Jon K Hellan  <hellan@acm.org>
8609
8610	* ms-excel-read.c (ms_excel_read_window2): No need to unref
8611	pattern_color, sheet_style_set_auto_pattern_color now does that.
8612
86132002-02-05  Jon K Hellan  <hellan@acm.org>
8614
8615	* ms-excel-read.c (black_or_white_contrast): Burn.
8616	(ms_excel_palette_get): Simplify to get autocolors right. We used
8617	to be too clever.
8618	(ms_sheet_map_color): Use style_color_new_i8 to convert from
8619	rgb888.
8620	(ms_excel_read_window2): Update pattern color according to
8621	icvHdr/rgbHdr grid color if fDefaultHdr flag says so.
8622
86232002-02-03  Jody Goldberg <jody@gnome.org>
8624
8625	* ms-excel-write.c (pre_cell) : adjust to Cell::format moving into the
8626	  value.
8627
86282002-01-31  Jody Goldberg <jody@gnome.org>
8629
8630	* ms-excel-util.c (init_xl_font_widths) : add Helv.
8631
8632	* ms-excel-read.c (ms_sheet_create_obj) : GObject vs GtkObject
8633	* ms-obj.c (ms_obj_delete) : ditto.
8634	* ms-chart.c (ms_excel_read_chart) : ditto.
8635
86362002-01-30  Jody Goldberg <jody@gnome.org>
8637
8638	* ms-formula-read.c (ms_excel_parse_formula) : give a warning when
8639	  dealing with references to external workbooks.
8640
86412002-01-29  Jody Goldberg <jody@gnome.org>
8642
8643	* ms-excel-read.c (ms_sheet_create_obj) : move to new sheet widget
8644	  layout.
8645
86462002-01-23  Jody Goldberg <jody@gnome.org>
8647
8648	* ms-summary.c (EXCEL_TO_GNUM_MAPPING_COUNT) : use G_N_ELEMENTS.
8649	(excel_to_gnumeric) : delete unused.
8650	(read_summary_items) : suppress warnings.
8651	(read_summary_items) : fix leak.
8652
8653	* ms-excel-write.c : s/StyleFont::size/StyleFont::size_pts/
8654
8655	* ms-excel-util.c (g_unichar_to_utf8) : delete.
8656
86572002-01-21  Jody Goldberg <jody@gnome.org>
8658
8659	* Release 1.0.3
8660
86612002-01-21  Jody Goldberg <jody@gnome.org>
8662
8663	* ms-obj.c (ms_object_attr_get_*) : new.
8664	(ms_obj_read_biff8_obj) : read scrollbar attributes.
8665
8666	* ms-excel-read.c (ms_sheet_realize_obj) : Add scrollbars.
8667	(ms_sheet_create_obj) : ditto.
8668
86692002-01-20  jody goldberg <jody@gnome.org>
8670
8671	* ms-chart.c (BC_R(vector_details)) : use gnm_vector_date.
8672
86732002-01-17  Jody Goldberg <jody@gnome.org>
8674
8675	* ms-obj.c (ms_object_attr_new_expr) : new.
8676	(ms_object_attr_destroy) : handle expressions.
8677	(ms_obj_read_biff8_obj) : use the expression parser for
8678	  GR_CHECKBOX_FORMULA.
8679
8680	* ms-formula-read.c (getRefV7) : remove the pointless malloc/free.
8681	(getRefV8) : ditto.
8682	(make_inter_sheet_ref) : delete.
8683	(make_inter_sheet_ref_v7) : ditto.
8684
8685	* ms-excel-read.c (ms_sheet_realize_obj) : add support for a
8686	  checkbox's link.  Needs to be done here, AFTER being assigned to a
8687	  sheet.
8688	(ms_excel_workboot_get_externsheets) : renamed from
8689	  biff_get_externsheet_name, and simplified.
8690
86912002-01-14  Jody Goldberg <jody@gnome.org>
8692
8693	* ms-formula-read.c (ms_excel_parse_formula) : fix support for
8694	  importing local 3d references, external 3d is still not supported.
8695
86962002-01-15  Jody Goldberg <jody@gnome.org>
8697
8698	* Release 1.0.2
8699
87002002-01-13  Jody Goldberg <jody@gnome.org>
8701
8702	* ms-excel-read.c (ms_excel_read_tab_color) : turn down the debug
8703	  level.
8704
87052002-01-12  Jody Goldberg <jody@gnome.org>
8706
8707	* ms-excel-read.c (ms_excel_read_dv) : reorg slightly and enable.
8708	* ms-excel-read.c (ms_excel_read_tab_color) : new function.
8709	(ms_excel_read_sheet) : called from here.
8710
87112002-01-11  Jody Goldberg <jody@gnome.org>
8712
8713	* ms-formula-read.c (ms_excel_parse_formula) : fix area 3d and its
8714	  missing break.
8715
87162002-01-06  Jody Goldberg <jody@gnome.org>
8717
8718	* Release 1.0.1
8719
87202002-01-04  Jody Goldberg <jody@gnome.org>
8721
8722	* ms-chart.c (excel_chart_series_write_xml) : more protection for
8723	  missing series.
8724
87252002-01-03  J.H.M. Dassen (Ray) <jdassen@debian.org>
8726
8727	* ms-escher.c (ms_escher_blip_new) : cast to fix signedness warning.
8728	* ms-excel-read.c (biff_get_text) : likewise
8729	* ms-excel-read.c (get_string) : likewise
8730	* ms-excel-write.c (write_bits) : char -> guint8.
8731	* ms-excel-write.c (write_value) : ditto
8732	* ms-chart.c (excel_chart_series_write_xml) : cast / type change
8733	* ms-chart.c (BC_R) : ditto
8734	* ms-chart.c (BC_R(*)) : ditto
8735	* ms-chart.c (ms_excel_chart) : ditto
8736
87372001-12-31  Jody Goldberg <jody@gnome.org>
8738
8739	* Release 1.0.0
8740
87412001-12-30  Zbigniew Chyla  <cyba@gnome.pl>
8742
8743	* plugin.xml.in: Fixed typo.
8744
8745	Please, DO NOT change strings few hours before the release!
8746
87472001-12-29  Andreas J. Guelzow <aguelzow@taliesin.ca>
8748
8749	* plugin.xml.in : Standardize: MS Excel (tm)
8750
87512001-12-27  Jody Goldberg <jody@gnome.org>
8752
8753	* ms-formula-read.c (ms_excel_parse_formula) : enable support for
8754	  deleted 3d references.
8755
87562001-12-24  Jody Goldberg <jody@gnome.org>
8757
8758	* Release 0.99.1
8759
87602001-12-20  Jody Goldberg <jody@gnome.org>
8761
8762	* ms-formula-read.c (ms_excel_parse_formula) : add support for
8763	    FORMULA_PTG_REF_ERR.
8764	    FORMULA_PTG_AREA_ERR.
8765
8766	* ms-obj.c (ms_read_OBJ) : add protection against missing virtuals.
8767	  If the object is a graph read it even if we do not support them in
8768	  this context (embedded in another object) or if we do not support
8769	  graphs at all.  This enables us to read embedded graphs without
8770	  throwing off the rest of the parsing.
8771
87722001-12-15  Jody Goldberg <jody@gnome.org>
8773
8774	* Release 0.99.0
8775
87762001-12-10  Jody Goldberg <jody@gnome.org>
8777
8778	* ms-summary.c (read_summary_items) : use iconv.
8779	(ms_summary_read) : ditto.
8780	(set_summary_item) : ditto.
8781	(ms_summary_write) : ditto.
8782
87832001-12-05  Jody Goldberg <jody@gnome.org>
8784
8785	* ms-excel-write.c (write_formula) : handle array formulas.
8786	* ms-formula-write.c (write_node) : ditto.
8787	(ms_excel_write_formula) : remove pointless malloc & free.
8788
87892001-11-25  Jody Goldberg <jody@gnome.org>
8790
8791	* ms-formula-read.c : s/ParseList/ExprList/
8792	* ms-formula-write.c : ditto.
8793
87942001-11-20  Jody Goldberg <jgoldberg@home.com>
8795
8796	* ms-excel-read.c (biff_boundsheet_data_new) : Doh!
8797
87982001-11-19  Jody Goldberg <jgoldberg@home.com>
8799
8800	* Release 0.76
8801
88022001-11-16  Jody Goldberg <jgoldberg@home.com>
8803
8804	* ms-excel-read.c (ms_excel_read_dv) : read things in.  Not stored yet.
8805	(ms_excel_read_range) : new convenience routine.
8806	(ms_excel_read_mergecells) : used here.
8807	(ms_excel_biff_dimensions) : used here.
8808	(ms_excel_read_dv) : used here.
8809	(ms_excel_read_condfmt) : used here, fix import of multiple areas.
8810
88112001-11-09  Jody Goldberg <jgoldberg@home.com>
8812
8813	* ms-excel-read.c (ms_excel_read_guts) : adjust to different outline
8814	  scoping semantics.  We count from 0.  XL counts from 1.
8815
8816	* boot.c (excel_file_open) : better error message when opening a
8817	  non-ole file.
8818
88192001-11-05  Jody Goldberg <jgoldberg@home.com>
8820
8821	* plugin.xml.in : enable overwriting files by default.
8822
88232001-11-05  Jody Goldberg <jgoldberg@home,com>
8824
8825	* Release 0.75
8826
88272001-11-04  Jody Goldberg <jgoldberg@home.com>
8828
8829	* ms-excel-read.c (ms_excel_read_cf) : Handle 'Formula' constraints in
8830	addition to 'Value'.
8831	(ms_excel_read_condfmt) : new routine.
8832	(ms_excel_read_dval) : fix sense of size check.
8833	(ms_excel_read_sheet) : cf records should only be associated
8834	  with condfmt.
8835
88362001-10-30  Jody Goldberg <jgoldberg@home.com>
8837
8838	* ms-excel-write.c : Use d() debug macors to make things
8839	  more readable.  And use esheet in place of sheet to avoid
8840	  confusion with gnumeric core.
8841	(write_colinfo) : make xf_index an argument.
8842	(pre_colstyle) : new routine to gather the most common style in each col
8843	(gather_styles) : called from here.
8844	(write_mulblank) : take an array rather than a GList.
8845	(write_block) : only write a blank cell if it is different from the
8846	column default.
8847
88482001-10-30  Morten Welinder  <terra@diku.dk>
8849
8850	* ms-chart.c (BC_R-ai): Plug leak.
8851	(BC_R-ifmt): Ditto.
8852
88532001-10-27  Jody Goldberg <jgoldberg@home.com>
8854
8855	* ms-excel-read.c (ms_excel_read_dval) : new function.
8856	(ms_excel_read_dv) : new function.
8857	(ms_excel_read_sheet) : call them here and remove warning.
8858
88592001-10-29  Jody Goldberg <jgoldberg@home.com>
8860
8861	* Release 0.74
8862
88632001-10-29  Jody Goldberg <jgoldberg@home.com>
8864
8865	* ms-excel-read.c (ms_excel_get_xf) : Use a better default in the face
8866	  of errors.
8867
8868	* ms-chart.c (chart_get_fmt) : new function to chain to parent.
8869	(ms_excel_chart) : use it here.
8870
88712001-10-29  Jody Goldberg <jgoldberg@home.com>
8872
8873	* Release 0.73
8874
88752001-10-29  Jody Goldberg <jgoldberg@home.com>
8876
8877	* ms-excel-read.c (biff_name_data_get_name) : adjust to signature
8878	  change in expr_tree_new_name.  FIXME : how does XL mark names from
8879	  explicit scopes.
8880
88812001-10-23  Jody Goldberg <jgoldberg@home.com>
8882
8883	* ms-excel-write.c (write_rowinfo) : remove duplicate code.
8884
8885	* ms-excel-read.c (biff_name_data_get_name) : adjust to new named
8886	  expression api.
8887
88882001-10-22  Almer S. Tigelaar  <almer@gnome.org>
8889
8890	* ms-excel-read.c (ms_excel_read_cf): Adjust for
8891	changes to style-condition.[ch]
8892
88932001-10-18  Jody Goldberg <jgoldberg@home.com>
8894
8895	* Release 0.72
8896
88972001-10-18  Jody Goldberg <jgoldberg@home.com>
8898
8899	* ms-chart.c (BC_R(bar)) : typo.
8900
89012001-10-18  Jody Goldberg <jgoldberg@home.com>
8902
8903	* ms-chart.c (BC_R(dropbar)) : The docs lie.  it is ok to have
8904	  values > 100
8905
8906	* ms-chart.c (BC_R(store_chartgroup_type)) : store the type as a
8907	  property rather than a child.
8908	(BC_R(bar)) : store the attributes as children rather than props.
8909	(BC_R(line)) : ditto.
8910	(BC_R(pie)) : ditto.
8911	(BC_R(pieformat)) : ditto.
8912	(BC_R(scatter)) : ditto.
8913
89142001-10-15  Jody Goldberg <jgoldberg@home.com>
8915
8916	* ms-excel-write.c (excel_sheet_new) : merge check_sheet into here.
8917	  rename according to our standards.  Only complain about being too
8918	  large if the content is too large, silently clip the formats.
8919
89202001-10-12  Jody Goldberg <jgoldberg@home.com>
8921
8922	* ms-chart.c (BC_R(legend)) : Use more guppi-ish terms for legend
8923	  location.
8924
89252001-10-07  Jody Goldberg <jgoldberg@home.com>
8926
8927	* Release 0.71
8928
89292001-10-03  Jody Goldberg <jgoldberg@home.com>
8930
8931	* ms-chart.c (excel_chart_series_write_xml) : fix this for non bonobo
8932	  builds.
8933
89342001-09-30  Jody Goldberg <jgoldberg@home.com>
8935
8936	* ms-chart.c (excel_chart_series_write_xml) : Use
8937	  gnm_graph_series_add_dimension.
8938	(BC_R(seriestext)) : store constant labels as expressions.
8939
89402001-09-28  Jody Goldberg <jgoldberg@home.com>
8941
8942	* ms-chart.c (excel_chart_series_write_xml) : adjust to new xml
8943	  structure.
8944
89452001-09-27  Jody Goldberg <jgoldberg@home.com>
8946
8947	* ms-obj.c (ms_object_attr_bag_lookup) : accept NULL attrBags.
8948
8949	* ms-escher.c (ms_escher_read_OPT) : oops lost the blip id.
8950
89512001-09-27  Jody Goldberg <jgoldberg@home.com>
8952
8953	* ms-excel-read.c (ms_excel_wb_get_fmt) : renamed something
8954	  better than biff_format_data_lookup.
8955
8956	* ms-chart.c (BC_R(ai)) : Use ms_container_get_fmt.
8957	(BC_R(ifmt)) : ditto.
8958
8959	* ms-container.c (ms_container_get_fmt) : new function.
8960
89612001-09-27  Jody Goldberg <jgoldberg@home.com>
8962
8963	* ms-excel-read.c (ms_sheet_map_color) : new utility.
8964	(ms_sheet_create_obj) : set the fill colour.
8965
8966	* ms-escher.c (ms_escher_read_OPT) : generalize to make things more
8967	  efficient.
8968
8969	* ms-obj.c (ms_object_attr_new_uint) : store a uint to facilitate
8970	  colors.
8971
89722001-09-26  Jody Goldberg <jgoldberg@home.com>
8973
8974	* ms-escher.c (ms_escher_parse) : call ms_escher_header_release.
8975	(ms_escher_read_container) : ditto.
8976	(ms_escher_header_release) : new to handle attrs.
8977	(ms_escher_header_add_attr) : ditto.
8978	(ms_escher_read_ClientData) : pass the attributes to the object
8979	  and move the blip handing to the container.
8980
8981	* ms-obj.c (ms_object_attr_new_flag) : new.
8982	(ms_object_attr_new_int) : new.
8983	(ms_object_attr_new_ptr) : new.
8984	(ms_object_attr_destroy) : new.
8985	(ms_object_attr_bag_new) : ditto.
8986	(ms_object_attr_bag_destroy) : ditto.
8987	(ms_object_attr_bag_insert) : ditto.
8988	(ms_object_attr_bag_lookup) : ditto.
8989
8990	* ms-excel-read.c (ms_excel_read_workbook) : interface change to
8991	  ms_read_OBJ.
8992	(ms_excel_read_sheet) : ditto.
8993	(ms_sheet_create_obj) : move the blip handing from escher to here.
8994
89952001-09-26  Jody Goldberg <jgoldberg@home.com>
8996
8997	* ms-obj.c (ms_read_OBJ) : Init the inversion flags.
8998
8999	* ms-escher.c (ms_escher_read_Sp) : store the inversion flags.
9000	(ms_escher_read_ClientData) : copy the inversion flags.
9001	(ms_escher_init_heade) : init the inversion flags.
9002
90032001-09-26  Jody Goldberg <jgoldberg@home.com>
9004
9005	* ms-excel-xf.h (_BiffXFData) : locked and hidden are booleans.
9006	* ms-excel-read.c (biff_xf_data_new) : read them that way.
9007	(ms_excel_get_style_from_xf) : store the protection flags.
9008	* ms-excel-write.c (build_xf_data) : ditto.  Add indent.
9009
9010	* ms-chart.c (BC_R(seriestext)) : handle manually entered series names.
9011
90122001-09-25  Jon K Hellan  <hellan@acm.org>
9013
9014	* .cvsignore: Add plugin.xml
9015
90162001-09-17  Jody Goldberg <jgoldberg@home.com>
9017
9018	* ms-obj.c (ms_read_OBJ) : init the new object more completely.
9019
90202001-09-16  Jody Goldberg <jgoldberg@home.com>
9021
9022	* ms-chart.c : clean up debug routines.
9023	(BC_R(dataformat)) : Use an extra node to handle pt vs series
9024	  level formatting.
9025	(BC_R(end)) : cleanup dataformats.
9026	(excel_chart_series_write_xml) : just link in the new child rather
9027	  than creating it here.
9028	(BC_R(dataformat)) : handle formatting pts vs entire series.
9029	(BC_R(markerformat)) : implement
9030	(BC_R(areaformat)) : implement
9031	(BC_R(lineformat)) : implement
9032	(BC_R(pieformat)) : implement
9033	(BC_R(color)) : tweak interface.
9034	(ms_excel_chart) : ignore a few more records.
9035
90362001-09-14  Jody Goldberg <jgoldberg@home.com>
9037
9038	* ms-chart.c (excel_chart_series_write_xml) : Use the gal routines for
9039	symmetry with the guppi implementation.
9040
90412001-09-09  Jody Goldberg <jgoldberg@home.com>
9042
9043	* ms-chart.c (BC_R(pieformat)) : store pie separation.
9044	(BC_R(get_chartgroup_type)) : new function.
9045
90462001-09-08  Jody Goldberg <jgoldberg@home.com>
9047
9048	* ms-chart.c (legend) : xml-ize and fix transposition of right & left.
9049	(pie) : Guppi uses radians and has 0 in a different place.
9050
90512001-09-04  Jody Goldberg <jgoldberg@home.com>
9052
9053	* ms-obj.c (ms_read_OBJ) : Use ms_destroy_OBJ.
9054
9055	* ms-chart.c (ms_excel_chart) : don't import the spec if we did not
9056	  create the graph.
9057
90582001-09-03  Jody Goldberg <jgoldberg@home.com>
9059
9060	* ms-excel-read.c (ms_excel_read_cf) : Do some guessing about how they
9061	  store the format information.
9062	(ms_excel_read_sheet) : merge in ms_excel_read_cell, and reorder the
9063	  records to match their biff order.  call ms_excel_read_cf.
9064
90652001-09-02  Jody Goldberg <jgoldberg@home.com>
9066
9067	* biff-types.h : Add CONDFMT
9068
90692001-08-29  Jody Goldberg <jgoldberg@home.com>
9070
9071	* ms-chart.c (excel_chart_series_new) : init the xml node.
9072	(excel_chart_series_write_xml) : new.
9073	(BC_R(store_chartgroup_type)) : new utility.
9074	(BC_R(bar)) : convert to xml.
9075	(BC_R(line)): convert to xml.
9076	(BC_R(pie)) : convert to xml.
9077	(BC_R(scatter)) : convert to xml.
9078	(BC_R(chartformat)) : store the general chart group details.
9079	(BC_R(end)) : store the series specs associated with this chartgroup.
9080	(ms_excel_chart) : tweaks for xml.
9081
90822001-08-28  Jody Goldberg <jgoldberg@home.com>
9083
9084	* ms-obj.c (ms_read_OBJ) : pass graphs into their parser.
9085
9086	* ms-excel-read.c (ms_sheet_realize_obj) : renamed from
9087	  ms_sheet_obj_realize.
9088	(ms_sheet_create_obj) : renamed from ms_sheet_obj_create.
9089	  Improve the warnings for unhandled objects.
9090	  Pass graphs into the parser.
9091
9092	* ms-container.c (ms_container_workbook) : delete.
9093
9094	* ms-chart.c (ms_excel_chart) : enable some of the xml spec generation.
9095	  and take the GnmGraph as an argument.
9096	(ms_excel_read_chart) : take the graph as an argument.
9097
90982001-08-27  Jody Goldberg <jgoldberg@home.com>
9099
9100	* ms-excel-read.c (ms_sheet_parse_expr_internal) : disable some of the
9101	  debugging spew.
9102
91032001-08-26  Zbigniew Chyla  <cyba@gnome.pl>
9104
9105	* boot.c (excel_save):
9106	Remove GNUMERIC_ENABLE_XL_OVERWRITE hack. This is now supported via
9107	flag in plugin.xml file.
9108
9109	* plugin.xml.in: s/file_overwrite/overwrite_files/
9110
91112001-08-24  Jody Goldberg <jgoldberg@home.com>
9112
9113	* ms-excel-read.c : fix and prune includes.
9114	* ms-excel-write.c : ditto.
9115	* boot.c : ditto.
9116
91172001-08-23  Jody Goldberg <jgoldberg@home.com>
9118
9119	* ms-chart.c (ms_excel_chart) : only delete the series after
9120	  processing.  condtionalize some of the debug spew.
9121	  condtionalize parsing based on the existence of a graph
9122	  condtionalize making the graph on the debug flag (for now)
9123	(BC_R(sertocrt)) : store the chart group.
9124	(BC_R(series_impl)) : merge back into BC_R(series).
9125	(BC_R(vector_details)) : use the gnumeric type directly.
9126	(excel_chart_series_new) : new.
9127	(excel_chart_series_destroy) : new.
9128
9129	* ms-container.c (ms_container_workbook) : new function.
9130	(ms_container_sheet) : ditto.
9131
9132	* ms-excel-read.c (ms_wb_workbook) : new function.
9133	(ms_excel_workbook_new) : used here.
9134	(ms_sheet_workbook) : new function.
9135	(ms_sheet_sheet) : new function.
9136	(ms_excel_sheet_new) : used here.
9137
91382001-08-21  Jody Goldberg <jgoldberg@home.com>
9139
9140	* ms-chart.c (gnm_graph_vector_type_name) : use the version in gnumeric-graph.c
9141	(BC_R(vector_details)) : Use the correct index for the debug info.
9142
9143	* ms-excel-read.c (ms_excel_biff_dimensions) : Use range_name.
9144
91452001-08-21  Zbigniew Chyla  <cyba@gnome.pl>
9146
9147	* plugin.xml: Removed
9148
9149	* plugin.xml.in: Copied from plugin.xml, prepared for localization.
9150
9151	* Makefile.am: Use xml-i18n-tools to create plugin.xml (with
9152	translations merged from .po file).
9153
91542001-08-20  Jody Goldberg <jgoldberg@home.com>
9155
9156	* Release 0.70
9157
91582001-08-20  Jody Goldberg <jgoldberg@home.com>
9159
9160	* Makefile.am : Remove unused stubs for gnumeric-chart.
9161	* ms-chart.c : s/ExcelChart/ExcelChartReadState/g
9162	(BC_R(top_state)) : new function.
9163	(map_excel_vec_type_to_gnm) : new function.
9164	(BC_R(vector_details)) : new function.
9165	(BC_R(series_impl)) : Use vector_details.
9166	(BC_R(ai)) : actually handle the vector.
9167	(BC_R(begin)) : keep a stack of the states.
9168	(BC_R(series)) : keep track of the series.
9169
9170	* ms-excel-read.c (ms_sheet_obj_realize) : use the correct anchor specs.
9171	  and use the new SheetObjectAnchor mechanism.
9172	(ms_sheet_obj_create) : signatue change for sheet_object_container_new.
9173
91742001-08-20  Jody Goldberg <jgoldberg@home.com>
9175
9176	* ms-excel-read.c (ms_excel_read_formula) : improve the debug info.
9177	(ms_excel_read_bof) : Doh!  We modify the sheet counter.
9178	(ms_excel_read_workbook) : signature changes for ms_excel_read_bof.
9179
91802001-08-11  Jody Goldberg <jgoldberg@home.com>
9181
9182	* Release 0.69
9183
91842001-08-07  Jody Goldberg <jgoldberg@home.com>
9185
9186	* ms-excel-read.c (ms_excel_read_setup) : print scaling is stored as a
9187	  percentage in XL and in Gnumeric.  Improve the warning as long as
9188	  we're in here.
9189
91902001-08-03  Jody Goldberg <jgoldberg@home.com>
9191
9192	Consistently refer to /ExcelSheet/ instances as esheet.
9193	Ensure that the BiffQuery is the first arg.
9194	* ms-excel-read.c (ms_excel_sheet_new) : Explicitly request a full
9195	  respan for the update after we load.  I had been relying on there
9196	  being a col/row or default col/row sizing to force it.
9197
91982001-08-02  Jody Goldberg <jgoldberg@home.com>
9199
9200	* ms-escher.c (ms_escher_blip_new) : be consistent and use #ifdef
9201
92022001-07-25  Jody Goldberg <jgoldberg@home.com>
9203
9204	* ms-excel-read.c (ms_excel_read_window2) : Tidy up a bit.
9205
9206	* ms-excel-write.c (write_window2) : support frozen panes.
9207	(write_pane) : Implement.
9208
92092001-07-17  Jody Goldberg <jgoldberg@home.com>
9210
9211	* Release 0.68
9212
92132001-07-16  Jody Goldberg <jgoldberg@home.com>
9214
9215	* ms-excel-read.c (ms_excel_read_pane) : implement.
9216	(ms_excel_read_window2) : store initial top left.
9217
92182001-07-12  Jody Goldberg <jgoldberg@home.com>
9219
9220	* ms-excel-read.c (ms_excel_read_pane) : new function.
9221	(ms_excel_read_sheet) : called from here.
9222	(ms_excel_read_window2) : top left spec is _zero_ based.
9223	  Add support for setting the frozen flag.
9224	(ms_excel_sheet_new) : init the freeze flag here.
9225
92262001-07-13  Lutz Müller <urc8@rz.uni-karlsruhe.de>
9227
9228	* ms-escher.c (ms_escher_read_ClientData): Syntax and name of
9229	sheet_object_bonobo_load(_persist)_stream changed.
9230
92312001-06-28  Jody Goldberg <jgoldberg@home>
9232
9233	* Release 0.67
9234
92352001-06-28  Jody Goldberg <jgoldberg@home.com>
9236
9237	* ms-excel-util.c (lookup_font_base_char_width_new) : add more safety.
9238
9239	* ms-excel-write.c (formats_put_magic) : const.
9240	(new_sheet) : ignore spans and merges for extent calcs.
9241
9242	* ms-excel-read.c (ms_excel_read_init) : new function to init the
9243	  locale specific date format.
9244
9245	* boot.c (plugin_init) : new function.
9246
92472001-06-27  Jody Goldberg <jgoldberg@home.com>
9248
9249	* Release 0.66
9250
92512001-06-21  Morten Welinder  <terra@diku.dk>
9252
9253	* ms-excel-read.c (ms_excel_read_supporting_wb): Fix trigraph
9254 	stuff and cut down on repeated question marks in general.
9255
92562001-06-15  Jody Goldberg <jgoldberg@home.com>
9257
9258	* ms-excel-read.c (ms_excel_sheet_new) : Use CellPos directly.
9259
9260	* ms-formula-read.c (ms_excel_parse_formula) : some cleanup.
9261
92622001-06-11  Jody Goldberg <jgoldberg@home.com>
9263
9264	* ms-excel-write.c (write_setup) : new routine.
9265	(write_sheet_bools) : split out from here.
9266
9267	* ms-excel-read.c (ms_excel_read_sheet) : split the setup parser out
9268	  of here into.
9269	(ms_excel_read_setup) : here.  and modernize it.  Read the number of
9270	  copies and the scaling if specified.
9271
92722001-06-12  Zbigniew Chyla  <cyba@gnome.pl>
9273
9274	* boot.c (excel_save): Set up io_progress before calling ms_excel_check_write
9275	and ms_excel_write_workbook.
9276
9277	* ms-excel-read.c
9278	(ms_excel_read_sheet): Added IOContext argument,
9279	call value_io_progress_update on every loop iteration.
9280	(ms_excel_read_workbook): Set up io progress message and helper.
9281
9282	* ms-excel-write.c
9283	(pre_cell): Update io progress.
9284	(pre_blanks): Update io progress at every row.
9285	(gather_styles): Set up io progress helper.
9286	(write_block): Update io progress after every write_cell call.
9287	(ms_excel_write_workbook): Set up io progress helper.
9288	(ms_excel_check_write): Copy IOContext ptr into ExcelWorkbook struct.
9289
9290	* ms-excel-write.h (struct _ExcelWorkbook): Added io_context.
9291
92922001-06-03 Jody Goldberg <jgoldberg@home.com>
9293	For Vlad Harchev <hvv@hippo.ru>
9294
9295        * ms-excel-util.h ms-excel-util.c (excel_wcstombs) :
9296	  Some utilites to handle encoding changes that fail.
9297
9298        * ms-excel-read.c : Use the utilities.
9299
93002001-06-02  Almer S. Tigelaar  <almer@gnome.org>
9301
9302	* (ms_excel_read_row): Set outline using
9303	new functions.
9304	(ms_excel_read_colinfo): Idem.
9305
93062001-05-31  Karl Eichwalder  <ke@suse.de>
9307
9308	* boot.c (excel_save): Add dot.
9309
93102001-05-29  Zbigniew Chyla  <cyba@gnome.pl>
9311
9312	* boot.c (excel_file_probe): Added FileProbeLevel argument.
9313
93142001-05-27  Jody Goldberg <jgoldberg@home.com>
9315
9316	* ms-excel-write.c (write_window2) :
9317	  Switch the BIFF_WINDOW2 0x23e -> 0x3e
9318	(write_names) : fix biff type.
9319
9320	* ms-excel-read.c (ms_excel_read_formula) : cleanup some old
9321	  inconsistentcies.  keep as many of the BIFF_* using their major
9322	  types.
9323	  Switch the BIFF_STRING 0x207 -> 0x07
9324	  Switch the BIFF_BOOLERR 0x205 -> 0x05
9325	(ms_excel_read_window2) : split this out into a neater bundle.
9326
93272001-05-26  Jody Goldberg <jgoldberg@home.com>
9328
9329	* ms-excel-write.c (write_sheet_bools) : Save the iteration
9330	  preferences too.  These are workbook level flags.  I am unclear why
9331	  XL saves them at the sheet level.
9332
9333	* ms-excel-read.c (ms_excel_read_calccount) : new function.
9334	(ms_excel_read_delta) : ditto.
9335	(ms_excel_read_iteration) : ditto.
9336	(ms_excel_read_sheet) : use them here.
9337
93382001-05-18  Jody Goldberg <jgoldberg@home.com>
9339
9340	* ms-excel-read.c (ms_excel_read_formula) : Use cell_queue_recalc
9341	  to get appropriate recursion.
9342
93432001-05-17  Jody Goldberg <jgoldberg@home.com>
9344
9345	* ms-excel-read.c (ms_excel_formula_shared) : Use a g_warning not a
9346	  printf.
9347
93482001-05-21  Zbigniew Chyla  <cyba@gnome.pl>
9349
9350	* boot.c (excel_file_probe, excel_file_open, excel97_file_save,
9351	excel95_file_save):
9352	s/FileOpener/GnumFileOpener/
9353	s/FileSaver/GnumFileSaver/
9354
93552001-05-20  Jody Goldberg <jgoldberg@home.com>
9356
9357	* Release 0.65
9358
93592001-05-13  Michael Meeks  <michael@ximian.com>
9360
9361	* ms-excel-write.c (write_value): commit the VALUE_EMPTY.
9362
9363	* ms-biff.c (ms_biff_put_len_next),
9364	(ms_biff_put_var_next): add conditional debug to help catch
9365	similar problems - none obvious just now.
9366
93672001-05-11  Jody Goldberg <jgoldberg@home.com>
9368
9369	* ms-excel-read.c (ms_excel_read_workbook) : clear the global handle
9370	  after it is closed.
9371
93722001-05-11  Almer S. Tigelaar  <almer@gnome.org>
9373
9374	* ms-excel-write.c (write_sheet_bools): Write dimensions as
9375	unsigned integers.
9376	(biff_put_text): Signedness.
9377	(write_externsheets): Signedness.
9378	(excel_font_to_string): Signedness.
9379	(fonts_free): Signedness.
9380	(write_formats): Signedness.
9381	(xf_free): Signedness.
9382	(pre_cell): Signedness + Unused variabele.
9383	(gather_styles): Signedness.
9384	(map_pattern_index_to_excel): Signedness.
9385	(write_index): Signedness.
9386	(write_block): Signedness.
9387	(write_sheet): Signedness.
9388	(free_workbook): Signedness.
9389	(write_workbook): Signedness.
9390	(check_sheet): Signedness.
9391
9392	* ms-excel-formula-write (write_node): Cast untyped pointer.
9393
93942001-05-07  Jody Goldberg <jgoldberg@home.com>
9395
9396	* ms-escher.c (ms_escher_get_data) : suppress warnings.
9397	(ms_escher_read_ClientTextbox) : no side effects in precondition.
9398
9399	* ms-excel-read.c (ms_excel_formula_shared) : ditto.
9400
94012001-05-06  Jody Goldberg <jgoldberg@home.com>
9402
9403	* ms-excel-read.c (biff_boundsheet_data_new) : merge in the last of
9404	  the i18n patches.
9405
94062001-05-05  Jody Goldberg <jgoldberg@home.com>
9407
9408	* ms-excel-read.c (ms_excel_set_xf_segment) : support multiple rows.
9409	(ms_excel_read_row) : use here.
9410	(ms_excel_read_cell) : and here.
9411	(ms_excel_read_colinfo) : start using it here too.
9412	(ms_sheet_obj_create) : Add a place holder for a spinner.
9413
9414	* ms-excel-write.c (pre_cell) : XL does not differentiate between
9415	  parse and display formats.  When exporting a cell with General that
9416	  has a parse format create a new XF with the parse format as the
9417	  display format.
9418
94192001-04-30  Morten Welinder  <terra@diku.dk>
9420
9421	* ms-summary.c (sum_name_to_excel): Fix index count.  Constify.
9422  	Make static.
9423	(excel_to_gnum_mapping): Make static.
9424
94252001-04-29  Jody Goldberg <jgoldberg@home.com>
9426
9427	* ms-excel-write.c (write_window2) : Headers are in default style.
9428	  And grid colour is auto, not black.
9429
94302001-04-27  Chema Celorio  <chema@celorio.com>
9431
9432	* boot.c (excel_save): add a message explaining that you could set
9433 	an env variable to enable XL overwrite. This is not the optimal
9434 	solution tho.
9435
94362001-04-26  Jody Goldberg <jgoldberg@home.com>
9437
9438	* ms-excel-write.c (write_colinfos) : Rework to simplify and use
9439	  colrow_equal.
9440	(write_colinfo) : extract the info from the ColRowInfo directly and
9441	  fill in the visibility, outline, and collapse states.
9442	(write_rowinfo) : export visibility, collapse and outline.
9443	(write_guts) : new function.
9444	(new_sheet) : Include blank cols/rows with outline properties in
9445	  extent calculation.
9446
9447	* ms-excel-write.h (Excel{Col,Row}) : Delete unnecessary structures.
9448
94492001-04-26  Jody Goldberg <jgoldberg@home.com>
9450
9451	* ms-excel-write.c (write_mergecells) : new routine to save merged
9452	  regions.
9453	(write_sheet_tail) : called from here.
9454
94552001-04-23  Jon K Hellan  <hellan@acm.org>
9456
9457	* ms-biff.c (ms_biff_query_next, ms_biff_query_next,
9458	ms_biff_query_destroy, ms_biff_put_new, ms_biff_put_commit,
9459	ms_biff_put_len_next): Make sure that bp->data = 0 when
9460	bp->data_malloced = 0 & v.v. This helps heap debugging.
9461	(ms_biff_put_len_next): Assert that data pointer is null. If it
9462	weren't the old code would have been leaking.
9463
94642001-04-23  Morten Welinder  <terra@diku.dk>
9465
9466	* ms-excel-write.c (ms_excel_check_write): Avoid double free of
9467 	the list.
9468
94692001-04-20  Jody Goldberg <jgoldberg@home.com>
9470
9471	* ms-excel-read.c (ms_excel_read_wsbool) : new function.
9472	(ms_excel_read_sheet) : called from here.
9473
9474	* ms-excel-write.c (write_wsbool) : new function.
9475	(write_sheet_bools) : called from here.
9476
94772001-04-19  Jody Goldberg <jgoldberg@home.com>
9478
9479	* ms-excel-write.c (write_window2) : sigh, when fixing the sizes I did
9480	  not change the offsets.  I miss C++ in situations like this.
9481	(ms_excel_check_write) : Free the sheet list.
9482
94832001-04-18  Jody Goldberg <jgoldberg@home.com>
9484
9485	* ms-excel-util.c (excel_iconv_win_codepage) : cleanup and remove
9486	  warnings in the C locale case.
9487
9488	* ms-excel-write.c (write_sheet_tail) : split WINDOW2 code out of here
9489	(write_window2) : and move it here.  Then comment it up and extend the
9490	  logic.
9491
94922001-04-17  Jody Goldberg <jgoldberg@home.com>
9493
9494	* plugin.xml : Disable the excel97 save method until it potentially
9495	  does more than screw up.
9496
94972001-04-15  Vlad Harchev <hvv@hippo.ru>
9498
9499        * ms-excel-util.h ms-excel-util.c :
9500        added framework for doing portable recoding between charsets,
9501        and also functions for finding appropriate Windows codepage
9502        for current locale.
9503
9504        * ms-excel-read.c ms-excel-write.c :
9505        Properly perform charset conversion for all textual data when doing
9506        export or import of .xls files.
9507
95082001-04-12  Chema Celorio  <chema@celorio.com>
9509
9510	* boot.c (excel_save): add an env variable so that we can
9511	enable XL overwrite. the variable is named GNUMERIC_ENABLE_XL_OVERWRITE
9512
95132001-04-12  Jody Goldberg <jgoldberg@home.com>
9514
9515	* ms-excel-write.c (pre_pass) : Don't unref here.
9516
95172001-04-12  Morten Welinder  <terra@diku.dk>
9518
9519	* ms-summary.c (ms_summary_write): Plug leaks.
9520
95212001-04-11  Jody Goldberg <jgoldberg@home.com>
9522
9523	* ms-formula-write.c (write_string) : a null string is not a missing
9524	  arg.
9525
95262001-04-04  Jody Goldberg <jgoldberg@home.com>
9527
9528	* ms-excel-read.c (ms_excel_externsheet) : new function split from
9529	(ms_excel_read_workbook) : here.
9530
9531	* ms-excel-read.c (biff_name_data_new) : begin cleanup.  The
9532	  sheet_index is stored in different places for different biff types.
9533	  There also appears to be enough data about the sheet names that we
9534	  may not need to do this magic delayed instantiation.
9535
95362001-04-03  Jody Goldberg <jgoldberg@home.com>
9537
9538	* ms-chart.c (ms_excel_chart) : provide stub handlers for container
9539	  virtuals.
9540
95412001-04-02  Jody Goldberg <jgoldberg@home.com>
9542
9543	* ms-excel-read.c (ms_excel_read_imdata) : new routine pulled from.
9544	(ms_excel_read_cell) : here.
9545
9546	* ms-obj.c (ms_obj_read_biff8_obj) : used here.
9547
95482001-04-04  Morten Welinder  <terra@diku.dk>
9549
9550	* ms-escher.c (ms_escher_blip_destroy): Plug leak.
9551
9552	* ms-excel-util.c (lookup_font_base_char_width_new): Implement
9553 	negative caching.
9554
95552001-04-01  Jody Goldberg <jgoldberg@home.com>
9556
9557	* ms-escher.c (ms_escher_get_data) : improve diagnostic info.
9558
9559	* ms-obj.c (ms_obj_read_biff8_obj) : when reading the mystery trailing
9560	  IMDATA we need to handle CONTINUE.  We really need to figure out
9561	  what this is.
9562
95632001-04-01  Morten Welinder  <terra@diku.dk>
9564
9565	* ms-chart.c (register_handlers) : Fix prototype.
9566
9567	* gnumeric-chart.c (gnumeric_chart_new): Fix prototype.
9568
9569	* ms-excel-write.c (get_default_mstyle): Fix prototype.
9570
95712001-04-01  Morten Welinder  <terra@diku.dk>
9572
9573	* ms-excel-read.c (ms_excel_default_palette): Fix prototype.
9574	(ms_excel_read_cleanup): New function.
9575
9576	* ms-excel-util.c (destroy_xl_font_widths): New function.
9577
9578	* boot.c (plugin_cleanup): New function.
9579
95802001-03-31  Zbigniew Chyla  <cyba@gnome.pl>
9581
9582	* .cvsignore: Added *.lo and *.la.
9583
95842001-03-30  Jody Goldberg <jgoldberg@home.com>
9585
9586	* ms-container.c (ms_container_init) : Take a parent container.
9587	(ms_container_finalize) : handle NULL blips smoothly.
9588	(ms_container_get_blip) : check the container if we are empty.
9589
9590	* ms-escher.c (ms_escher_read_Blip) : always register a blip, even if
9591	  it is NULL, otherwise the index gets confused.  Move the
9592	  registration here.
9593	(ms_escher_blip_new) : from here.
9594	(ms_escher_read_ClientData) : replace blips we can't understand with
9595	  rectangles.
9596
9597	* ms-chart.c (ms_excel_chart) : Pass in the charts container.
9598
9599	* ms-excel-read.c (ms_excel_workbook_new) : workbook have no parents.
9600	(ms_excel_sheet_new) : Sheets are contained by workbooks.
9601
96022001-03-30  Jody Goldberg <jgoldberg@home.com>
9603
9604	* ms-excel-read.c (ms_excel_get_style_from_xf) : Only newer versions
9605	  have indents.
9606
96072001-03-30  Morten Welinder  <terra@diku.dk>
9608
9609	* ms-escher.c (ms_escher_read_container): Plug leak.
9610
96112001-03-30  Jody Goldberg <jgoldberg@home.com>
9612
9613	* boot.c (excel_save) : clarify message.
9614
96152001-03-29  Jody Goldberg <jgoldberg@home.com>
9616
9617	* ms-escher.c (ms_escher_read_Blip) : Fix leak plug.
9618
96192001-03-29  Jody Goldberg <jgoldberg@home.com>
9620
9621	* ms-obj.c (ms_obj_read_biff8_obj) : It seems certain that the MS docs
9622	  are wrong about list boxes.  I hope they don't do the same thing for
9623	  other records too.
9624
9625	* ms-escher.c : s/ms_excel_read_debug/ms_excel_escher_debug/
9626	(ms_escher_read_OPT) : Add missing OPT records and cleanup docs.
9627	(ms_escher_read_BSE) : Document the record size and don't attempt to
9628	  treat this as a container if its content is of size 0.
9629
96302001-03-28  Jody Goldberg <jgoldberg@home.com>
9631
9632	* ms-obj.c (ms_read_TXO) : Fix the minor memory overrun Morten found.
9633
96342001-03-18  Jody Goldberg <jgoldberg@home.com>
9635
9636	* ms-excel-util.c (init_xl_font_widths) : recalculate the size of Geneva
9637	  for the default case of Geneva not being available.
9638
96392001-03-27  Morten Welinder  <terra@diku.dk>
9640
9641	* ms-escher.c (ms_escher_read_Blip): Plug leak.
9642
96432001-03-20  Zbigniew Chyla  <cyba@gnome.pl>
9644
9645	* Makefile.am:
9646	Building excel plugin as shared library, added plugin.xml.
9647
9648	* boot.[ch]:
9649	xxx_debug variables from src/main.c moved here.
9650	Converted to real plugin with file_opener and file_saver services.
9651
9652	* plugin.xml: New file.
9653
9654	* gnumeric/plugins/excel/excel.h, plugins/excel/ms-chart.c,
9655	plugins/excel/ms-escher.c, plugins/excel/ms-excel-read.c,
9656	plugins/excel/ms-excel-read.h, plugins/excel/ms-excel-util.c,
9657	plugins/excel/ms-excel-write.c, plugins/excel/ms-excel-write.h,
9658	plugins/excel/ms-formula-read.c, plugins/excel/ms-formula-write.c,
9659	plugins/excel/ms-obj.c:
9660	Adjusted function signatures, don't return TRUE/FALSE if using
9661	IOContext (we don't need boolean value as IOContext now sets
9662	"error_occurred" flag).
9663
96642001-03-15  Jody Goldberg <jgoldberg@home.com>
9665
9666	* ms-excel-read.c (ms_excel_read_row) : Handle outline mode.
9667	(ms_excel_read_colinfo) : ditto.
9668	(ms_excel_read_guts) : ditto.
9669
96702001-03-17  Jody Goldberg <jgoldberg@home.com>
9671
9672	* Release 0.64
9673
96742001-03-02  Jody Goldberg <jgoldberg@home.com>
9675
9676	* ms-formula-read.c (getRefV8) : rewrite to handled sign extension
9677	  correctly (I Hope) for the various shared/unshared states.
9678	(getRefV7) : ditto.
9679
96802001-02-24  Jody Goldberg <jgoldberg@home.com>
9681
9682	* ms-excel-read.c (ms_excel_read_colinfo) : work around some strange
9683	  widths from a test sheet.
9684
96852001-02-23  Jody Goldberg <jgoldberg@home.com>
9686
9687	* Release 0.63
9688
96892001-02-19  Jon K Hellan  <hellan@acm.org>
9690
9691	* boot.c (excel_load, excel_init): Change file format level to
9692	FILE_FL_MANUAL_REMEMBER.
9693
96942001-02-16  Jody Goldberg <jgoldberg@home.com>
9695
9696	* ms-formula-write.c (write_node) : Use some code from expr.c
9697	  to simplify binary/unary output and to add parens when necessary.
9698
9699	* ms-excel-write.c (write_formula) : Start at paren level 0.
9700	(write_names) : ditto.
9701
97022001-02-16  Jody Goldberg <jgoldberg@home.com>
9703
9704	* Release 0.62
9705
97062001-02-15  Jody Goldberg <jgoldberg@home.com>
9707
9708	* ms-excel-read.c (ms_sheet_obj_realize) : Add a missing call to
9709	  sheet_object_set_sheet.  Without this the objects are lost in limbo.
9710
97112001-02-11  Jody Goldberg <jgoldberg@home.com>
9712
9713	* ms-excel-read.c (ms_sheet_obj_create) : add option button.
9714
97152001-02-10  Jon K Hellan  <hellan@acm.org>
9716
9717	* ms-excel-read.c (ms_excel_init_margins): New
9718	function. Initialize margins to Excel defaults.
9719	(ms_excel_sheet_new): Call ms_excel_init_margins.
9720
9721	* ms-excel-write.c (write_sheet_bools): Write margins also for
9722	biff 7 (which is what we actually use).
9723
97242001-02-09  Jody Goldberg <jgoldberg@home.com>
9725
9726	* ms-excel-read.c (ms_sheet_obj_create) : don't free the object on
9727	  failure.
9728
9729	* ms-obj.c (ms_read_OBJ) : free it here on failure.
9730
9731	* ms-container.c (ms_container_finalize) : fix leak.
9732
97332001-02-06  Jody Goldberg <jgoldberg@home.com>
9734
9735	* ms-excel-read.c (ms_excel_read_default_col_width) : typo.
9736
97372001-02-06  Jody Goldberg <jgoldberg@home.com>
9738
9739	* ms-excel-read.c (ms_excel_read_default_col_width) : Init and cache
9740	  the default column width here directly.
9741	(ms_excel_read_colinfo) : Use the font associated with the specified
9742	  xf record to calculate the width.
9743	(get_base_char_width) : delete.
9744	(init_base_char_width_for_read) : rename base_char_width_for_read.
9745	(base_char_width_for_read) : take the xf index as an argument and
9746	  return rather than caching the results.
9747
97482001-01-30  Jody Goldberg <jgoldberg@home.com>
9749
9750	* ms-excel-write.c (new_sheet) : adjust semantics of get extent.
9751
97522001-01-30  Almer S. Tigelaar  <almer1@dds.nl>
9753
9754	* ms-excel-read.c (ms_excel_read_selection):
9755	Rename sheet_selection_reset_only to sheet_selection_reset.
9756
97572001-01-17  Michael Meeks  <michael@helixcode.com>
9758
9759	* ms-escher.c (ms_escher_read_Blip): fix eog oafiid.
9760
97612001-01-08  Jody Goldberg <jgoldberg@home.com>
9762
9763	* ms-excel-read.c (ms_sheet_obj_create) : remove stale debugging.
9764
97652001-01-08  Jody Goldberg <jgoldberg@home.com>
9766
9767	* ms-excel-write.c (put_mstyle) : add a ref when the style is put in
9768	  the table.
9769	(xf_free) : release the default style.
9770
97712000-12-31  Jody Goldberg <jgoldberg@home.com>
9772
9773	* ms-excel-read.c (ms_excel_set_xf) : remove cruft with triple styles.
9774	(biff_xf_data_new) : Ditto.
9775	(ms_excel_set_xf_segment) : Ditto.
9776	(biff_xf_data_destroy) : Ditto.
9777
9778	* ms-excel-write.c (build_xf_data) : remove cruft with triple styles.
9779
97802001-01-01  Jon K Hellan  <hellan@acm.org>
9781
9782	* ms-excel-write.c (write_window1): Take WorkbookView
9783	parameter. Save width, height and flags for
9784	show_horizontal_scrollbar, show_vertical_scrollbar and
9785	show_notebook_tabs
9786	(write_bits, write_sheet_tail): Call write_window1 with
9787	WorkbookView parameter.
9788
9789	* ms-excel-read.c (ms_excel_read_window1): New function -
9790	separated out of ms_excel_read_workbook. Read BIFF WINDOW1 record.
9791	Fix some typos: Some fields were 32bit, should be 16 bit.
9792	(ms_excel_read_workbook): Separated out ms_excel_read_window1.
9793
97942000-12-20  Jody Goldberg <jgoldberg@home.com>
9795
9796	* ms-chart.c (BC_R(ai)) : Use ms_container_parse_expr.
9797
9798	* ms-container.c (ms_container_parse_expr) : new function.
9799
9800	* ms-excel-read.c (ms_sheet_parse_expr_internal) : implement parse_expr.
9801
98022000-12-17 Jody Goldberg <jgoldberg@home.com>
9803
9804	* Release 0.61
9805
98062000-12-09  Jody Goldberg <jgoldberg@home.com>
9807
9808	* ms-excel-read.c (ms_sheet_obj_create) : changes to sheet object
9809	  constructor arguments.
9810
98112000-12-07  Jody Goldberg <jgoldberg@home.com>
9812
9813	* ms-excel-read.c (ms_excel_get_style_from_xf) : enable indent.
9814
98152000-12-7  Jody Goldberg <jgoldberg@home.com>
9816
9817        * Release 0.60
9818
98192000-12-05  Jody Goldberg <jgoldberg@home.com>
9820
9821	* ms-excel-read.c (ms_excel_read_mergecells) : enable merged cells.
9822
98232000-12-05  Jody Goldberg <jgoldberg@home.com>
9824
9825	* ms-escher.c (ms_escher_read_Blip) : revert to using the old
9826	  non-installed image viewer.  The one in eog/viewer does not work.
9827	  the one in eog/bonobo does.
9828
98292000-12-04  Jody Goldberg <jgoldberg@home.com>
9830
9831	* ms-excel-read.c (ms_sheet_obj_create) : fix warnings.
9832
98332000-12-02  Jody Goldberg <jgoldberg@home.com>
9834
9835	* ms-escher.c (ms_escher_read_Blip) : Change image viewers.  The
9836	  eog/bonobo viewer is no longer built or installed.
9837
9838	* ms-excel-read.c (ms_excel_read_sheet) : XL docs do not mention that
9839	  the PROTECT record can sometimes be of size 0.
9840	(ms_excel_read_workbook) : Ditto.
9841	(ms_excel_read_PROTECT) : new function.
9842	(ms_excel_read_mergecells) : Correct.
9843	(biff_xf_data_new) : remove the warnings about merged cells.
9844
98452000-12-01  Jody Goldberg <jgoldberg@home.com>
9846
9847	* ms-obj.c (ms_read_OBJ) : simplify.
9848
9849	* ms-excel-write.c (write_biff7_comments) : slight reorg to handle to
9850	  style cell comments.
9851
9852	* ms-excel-read.c (ms_excel_read_comment) : revamp for new cell
9853	  comment technique.
9854
9855	* ms-excel-read.c (ms_sheet_obj_anchor_to_pos) : Update to the new
9856	  sheetObject anchor scheme.  The sheet does NOT yet support this form
9857	  of anchor.  We'll need to add it in the next couple of days.
9858	(ms_sheet_obj_create) : create the sheet objects directly.
9859
9860	* ms-escher.c (ms_escher_read_ClientData) : set the picture here
9861	  directly.
9862
98632000-12-01  Jody Goldberg <jgoldberg@home.com>
9864
9865	* ms-container.c (ms_container_get_blip) : new function.
9866	(ms_container_init) : Add ability to share blip lists between
9867	  containers.  We need to figure out the semantics of this.
9868	(ms_container_finalize) : Ditto.
9869	(ms_container_set_blips) : Ditto.
9870
98712000-11-19  Jon K Hellan  <hellan@acm.org>
9872
9873	* ms-excel-write.c (write_externsheets): Make EXTERNCOUNT be the
9874	number of EXTERNSHEETS we actually store. This stops Excel from
9875	crashing. See bug #32096. We still have to figure out what to
9876	store as EXTERNSHEETS and when. What we're doing isn't right.
9877
98782000-11-18  Jody Goldberg <jgoldberg@home.com>
9879
9880	* Release 0.59
9881
98822000-11-13  Jody Goldberg <jgoldberg@home.com>
9883
9884        * Release 0.58
9885
98862000-11-13  Morten Welinder  <terra@diku.dk>
9887
9888	* ms-excel-read.c (ms_excel_get_style_from_xf): Fix some
9889 	style_color reference count problems.
9890	(ms_excel_set_xf_segment): Plug leak.
9891
98922000-11-10  Jody Goldberg <jgoldberg@home.com>
9893
9894	* excel_builtin_formats : Correct long standing typos.
9895
98962000-11-10  Jody Goldberg <jgoldberg@home.com>
9897	Patch from Juan Pablo Mendoza <pablo_juan@yahoo.com>
9898
9899         * ms-excel-write.c (write_biff7_comments): New function.
9900	 (write_sheet): Use it.
9901
99022000-11-07  Jody Goldberg <jgoldberg@home.com>
9903
9904	* ms-excel-read.c (biff_name_data_get_name) : Cleanup a bit.
9905
99062000-11-02  Jody Goldberg <jgoldberg@home.com>
9907
9908	* ms-chart.c (ms_excel_chart) : remove check for BOF type == chart.
9909	  in BIFF5 it is possible to.
9910
9911        * ms-excel-read.c (ms_excel_read_sheet) : If we find a CHART_unit
9912	  record parse the following records as if they were a chart.
9913
99142000-11-01  Jody Goldberg <jgoldberg@home.com>
9915
9916	* ms-excel-read.c (ms_excel_sheet_set_comment) : we do not need to set
9917	  the cell's value to empty.  It is created that way.
9918	(ms_excel_read_comment) : Ditto.
9919	(ms_excel_sheet_insert_val) : We have direct access to the display
9920	  format.  Use it rather than doing an expensive lookup.
9921
99222000-10-29  Jody Goldberg <jgoldberg@home.com>
9923
9924	* ms-excel-read.c : Adjust to the signature changes for reading views
9925	  rather than workbooks.
9926	* ms-excel-write.c : ditto.
9927	* boot.c : ditto.
9928
99292000-10-28  Jody Goldberg <jgoldberg@home.com>
9930
9931	* ms-excel-util.c (init_xl_font_widths) : Add CG Times.
9932
99332000-10-30  Morten Welinder  <terra@diku.dk>
9934
9935	* ms-biff.c (biff_getdouble, biff_setdouble): Delete.  Replace all
9936 	callers with gnumeric_get_le_double and gnumeric_set_le_double.
9937
99382000-10-21  Jody Goldberg <jgoldberg@home.com>
9939
9940	* ms-excel-read.c (ms_excel_read_row) : Fix bounds.
9941	(ms_excel_set_xf_segment) : Be more careful about bounds.
9942
99432000-10-10  Jody Goldberg <jgoldberg@home.com>
9944
9945        * Release 0.57
9946
99472000-10-04  Jody Goldberg <jgoldberg@home.com>
9948
9949	* ms-excel-read.c (biff_get_rk) : Fix ancient thinko.  Thanks to
9950	  heiko@hexco.de for noticing this.
9951
99522000-09-20  Jody Goldberg <jgoldberg@home.com>
9953
9954	* ms-formula-read.c (ms_excel_parse_formula) : Make the warning
9955	  quieter.
9956
99572000-09-10  Jody Goldberg <jgoldberg@home.com>
9958
9959	* ms-excel-read.c (ms_sheet_obj_realize) : Adjust to new object
9960	  creation semantics.  First you create the object.  Then set its
9961	  size.
9962
99632000-09-06  Jody Goldberg <jgoldberg@home.com>
9964
9965	* ms-excel-read.c (ms_excel_sheet_new) : No need to call set_zoom.
9966	  sheet_new does that.
9967
99682000-08-24  Jody Goldberg <jgoldberg@home.com>
9969
9970	* ms-excel-write.c (put_format) : Ref formats as we add them.
9971
99722000-08-23  Jody Goldberg <jgoldberg@home.com>
9973
9974	* ms-excel-write.c (formats_put_magic) : Fixups after changes to
9975	  format tables.  We need to store a StyleFormat, not a string.
9976	(after_put_format) : unref rather than free.
9977
99782000-08-21  Jody Goldberg <jgoldberg@home.com>
9979
9980	* ms-excel-write.c (formats_init) : The format table nows stores
9981	  pointers to StyleFormats rather than their strings.
9982	(formats_get_format) : Ditto.
9983	(formats_free) : Ditto.
9984	(formats_get_index) : Ditto.
9985	(put_format) : Ditto.
9986	(write_format) : Ditto.
9987
9988	* ms-excel-read.c (biff_format_data_lookup) : Number formats are
9989	  stored in XLS using the 'C' locale. eg a french user who sees
9990	  '# ##0,00' will actually save '#,##0.00'.
9991	(ms_excel_get_style_from_xf) : Kludge.  We need to actually set
9992	  non-borders so that things get over ridden.  The core model needs
9993	  improving before this can happen correctly.
9994	(ms_excel_get_style_from_xf) : Ditto.
9995
9996	* ms-escher.c (ms_escher_read_Blip) : Remove gnorba.
9997
9998	* ms-chart.c (ai) : Changes to the interface for StyleFormats.
9999	(ifmt) : Ditto.
10000	(ms_excel_chart) : Init the sheet.  Ignore BIFF_DIMENSION records for
10001	  now.  I have no idea what they represenent.
10002
100032000-08-20  Jody Goldberg <jgoldberg@home.com>
10004
10005	* ms-excel-read.c (ms_excel_get_style_from_xf) : No need to use
10006	  set_text.  Set the StyleFormat directly.
10007
100082000-08-16  Jody Goldberg <jgoldberg@home.com>
10009
10010	* ms-excel-util.c (init_xl_font_widths) : Tweak Times New Roman
10011	  to match observations.  It seems as if the size is non-linear :-(
10012	  We'll need another round of measurements to account for this.
10013
100142000-08-15  Jody Goldberg <jgoldberg@home.com>
10015
10016	* ms-chart.c (ms_excel_chart) : conditionalize debug info.
10017
100182000-08-14  Jody Goldberg <jgoldberg@home.com>
10019
10020	* ms-excel-read.c (ms_excel_set_xf) : Improve debug info.
10021	(ms_excel_set_xf_segment) : Ditto.
10022	(biff_xf_data_new) : Ditto.
10023	(ms_excel_get_style_from_xf) : Always apply the
10024	  borders.  We need to apply even in the case of no border in order to
10025	  over ride previously applied defaults.
10026	(ms_excel_read_row) : Apply default style to the entire row.
10027
100282000-08-09  Jody Goldberg <jgoldberg@home.com>
10029
10030	* ms-excel-read.c (ms_excel_biff_dimensions) : Move back from
10031	  ms-chart.c.  It is specific to sheets.
10032
100332000-07-26  Michael Meeks  <michael@helixcode.com>
10034
10035	* README: Add some explanation of why I hate being mailed by people
10036	forking my code.
10037
100382000-07-24  Jody Goldberg <jgoldberg@home.com>
10039
10040	* ms-excel-read.c (ms_excel_read_sheet) : Adjust to changes in sheet_set_zoom_factor.
10041	(ms_excel_sheet_new) : Ditto.
10042
100432000-07-13  Jody Goldberg <jgoldberg@home.com>
10044
10045	* ms-container.c : Beginings of a some support for workbooks, and charts holding objects.
10046	  Blips should become objects.
10047
10048	* *.c : adjust to using the container abstraction.
10049
100502000-07-08  Jody Goldberg <jgoldberg@home.com>
10051
10052	* ms-formula-read.c (make_function) : Move the place holder handling
10053	  into the core.
10054
100552000-07-12  Michael Meeks  <michael@helixcode.com>
10056
10057	* ms-escher.c (ms_escher_blip_destroy): unref not destroy bonobo object.
10058
100592000-07-06  Jody Goldberg <jgoldberg@home.com>
10060
10061	* ms-obj.c (ms_read_OBJ) : Take an ExcelSheet.
10062
10063	* ms-escher.c (ms_escher_read_ClientData) : ms_read_OBJ takes a sheet.
10064	* ms-excel-read.c (ms_excel_read_sheet) : Ditto.
10065	(ms_excel_read_workbook) : Ditto.
10066
10067	* ms-chart.c (3dbarshape) : A bit of research into probable values of
10068	  the enum.
10069	(ai) : After some thought this makes more sense.  We should only see
10070	  an expression if we are linked to the workbook.  Similarly we should
10071	  only see a format if one is specified.  We really need to avoid this
10072	  kludge of needing a dummy sheet.
10073	(areaformat) : Ignore colour index, use the stored colour.  Add some
10074	  more debug info.
10075	(lineformat) : Ditto.
10076	(markerformat) : Ditto.
10077	(ms_excel_chart) : Take an optional ExcelSheet.
10078	  Parse BIFF_NUMBER records when they appear.
10079	(ms_excel_read_chart) : Take an optional ExcelSheet.
10080
100812000-07-05  Michael Meeks  <michael@helixcode.com>
10082
10083	* ms-obj.c (ms_obj_realize): rename sheet_object_container constructor.
10084
10085	* s/reproid/repo_id/
10086
100872000-06-27  Jody Goldberg <jgoldberg@home.com>
10088
10089	* ms-formula-write.c (write_node) : Handle new ExprFunction.
10090
10091	* ms-formula-read.c (excel_formula_build_dummy_handle) : Use
10092	  function_lookup_by_name.
10093
10094	* ms-excel-read.c (ms_excel_set_xf) : Right borders dominate left
10095	  borders.
10096
100972000-06-23  Jody Goldberg <jgoldberg@home.com>
10098
10099	* ms-excel-read.c (ms_excel_sheet_append_comment) : Add a lag variable
10100	  to support proper merging of comments.
10101	(BIFF_NOTE) : Init the lag variable.
10102
101032000-06-21  Jon K Hellan  <hellan@acm.org>
10104
10105	* ms-excel-write.c (palette_put_defaults): Ensure that black with
10106	index 8 can't be swapped out.
10107	(fixup_fill_colors): Use index 8 instead of 0 for black in
10108	foreground. Excel is unable to open the cell format dialog for
10109	cells where foreground pattern color or border color is index 0.
10110	(build_xf_data): Borders: Use index 8 instead of 0 for black.
10111
10112	* ms-excel-read.c (ms_excel_read_cell): Add more references to BIFF
10113	documentation.
10114	(ms_excel_read_workbook): Ditto
10115
101162000-06-20  Jody Goldberg <jgoldberg@home.com>
10117
10118	* ms-excel-read.c (ms_excel_externname) : Catch external names that
10119	  are OLE or DDE links.
10120
101212000-06-18  Jody Goldberg <jgoldberg@home.com>
10122
10123        * Release 0.56
10124
101252000-06-19  Jody Goldberg <jgoldberg@home.com>
10126
10127	* ms-excel-write.c (excel_cell_get) : Add some invariants as
10128	  protection.
10129	(pre_cell) : Be more careful about handling cells that are potentially
10130	  out of bounds.
10131
101322000-06-18  Jody Goldberg <jgoldberg@home.com>
10133
10134        * Release 0.55
10135
101362000-06-18  Jody Goldberg <jgoldberg@home.com>
10137
10138	* ms-excel-read.c (biff_boundsheet_data_new) : Guess at some
10139	  undocumented behavior.  It appears that when a sheet has a NULL
10140	  name it is actually 'Sheet#'.
10141
101422000-06-15  Jon K Hellan  <hellan@acm.org>
10143
10144	* ms-excel-write.c (write_db_cell): No longer use uninitialized
10145	rc_start [i]. Purify complained, although we immediately threw
10146	away the result.
10147
101482000-06-15  Jody Goldberg <jgoldberg@home.com>
10149
10150	* ms-excel-write.c (write_formula) : Incorrect offsets for formula
10151	  values with booleans and errors.
10152
101532000-06-14  Morten Welinder  <terra@diku.dk>
10154
10155	* ms-formula-write.c (ms_excel_write_formula): Plug leak.
10156
10157	* ms-excel-write.c (ms_excel_check_write): In case of error, clear
10158 	out the state.
10159	(ms_excel_write_free_state): "New" function.
10160	(write_workbook): Don't free workbook here.
10161	(ms_excel_write_workbook): Do it here and plug a leak.
10162
10163	* boot.c (excel_save): Free the state.
10164
101652000-06-07  Jody Goldberg <jgoldberg@home.com>
10166
10167	* ms-excel-read.c (biff_format_data_lookup) : FORMAT records supercede
10168	  the internal table.
10169
101702000-06-05  Michael Meeks  <michael@helixcode.com>
10171
10172	s/eBiff_version/MsBiffVersion/g;
10173	s/eBiffV([0-9]*)/MS_BIFF_V\1/g;
10174	s/eBiffVUnknown/MS_BIFF_V_UNKNOWN/g;
10175
10176	s/eBiff_filetype/MsBiffFileType/g;
10177	s/eBiffT/MS_BIFF_TYPE_/g;
10178	s/eBiff_hidden/MsBiffHidden/g;
10179	s/eBiffHVisible/MS_BIFF_H_VISIBLE/g;
10180	s/eBiffHHidden/MS_BIFF_H_HIDDEN/g;
10181	s/eBiffHVeryHidden/MS_BIFF_H_VERY_HIDDEN/g;
10182	s/eBiff_locked/MsBiffLocked/g;
10183	s/eBiffLLocked/MS_BIFF_L_LOCKED/g;
10184	s/eBiffLUnlocked/MS_BIFF_L_UNLOCKED/g;
10185	s/eBiff_xftype/MsBiffXfType/g;
10186	s/eBiffXStyle/MS_BIFF_X_STYLE/g;
10187	s/eBiffXCell/MS_BIFF_X_CELL/g;
10188	s/eBiff_format/MsBiffFormat/g;
10189	s/eBiffFMS/MS_BIFF_F_MS/g;
10190	s/eBiffFLotus/MS_BIFF_F_LOTUS/g;
10191	s/eBiff_eastern/MsBiffEastern/g;
10192	s/eBiffEContext/MS_BIFF_E_CONTEXT/g;
10193	s/eBiffEleftToRight/MS_BIFF_E_LEFT_TO_RIGHT/g;
10194	s/eBiffErightToLeft/MS_BIFF_E_RIGHT_TO_LEFT/g;
10195	s/eBiffFontUnderline/MsBiffFontUnderline/g;
10196	s/eBiffFUNone/MS_BIFF_F_U_NONE/g;
10197	s/eBiffFUSingleAcc/MS_BIFF_F_U_SINGLE_ACC/g;
10198	s/eBiffFUDoubleAcc/MS_BIFF_F_U_DOUBLE_ACC/g;
10199	s/eBiffFUSingle/MS_BIFF_F_U_SINGLE/g;
10200	s/eBiffFUDouble/MS_BIFF_F_U_DOUBLE/g;
10201	s/eBiffFontScript/MsBiffFontScript/g;
10202	s/eBiffFSNone/MS_BIFF_F_S_NONE/g;
10203	s/eBiffFSSub/MS_BIFF_F_S_SUB/g;
10204	s/eBiffFSSuper/MS_BIFF_F_S_SUPER/g;
10205	s/eBiffHAlign/MsBiffHAlign/g;
10206	s/eBiffHAGeneral/MS_BIFF_H_A_GENERAL/g;
10207	s/eBiffHALeft/MS_BIFF_H_A_LEFT/g;
10208	s/eBiffHACenter/MS_BIFF_H_A_CENTER/g;
10209	s/eBiffHARight/MS_BIFF_H_A_RIGHT/g;
10210	s/eBiffHAFill/MS_BIFF_H_A_FILL/g;
10211	s/eBiffHAJustify/MS_BIFF_H_A_JUSTIFTY/g;
10212	s/eBuffHACenterAcrossSelection/MS_BIFF_H_A_CENTER_ACROSS_SELECTION/g;
10213	s/eBiffVAlign/MsBiffVAlign/g;
10214	s/eBiffVATop/MS_BIFF_V_A_TOP/g;
10215	s/eBiffVACenter/MS_BIFF_V_A_CENTER/g;
10216	s/eBiffVABottom/MS_BIFF_V_A_BOTTOM/g;
10217	s/eBiffVAJustify/MS_BIFF_V_A_JUSTIFY/g;
10218	s/eBiffOrient/MsBiffOrient/g;
10219	s/eBiffOHoriz/MS_BIFF_O_HORIZ/g;
10220	s/eBiffOVertHorizText/MS_BIFF_O_VERT_HORIZ/g;
10221	s/eBiffOVertVertText/MS_BIFF_O_VERT_VERT/g;
10222	s/eBiffOVertVertText2/MS_BIFF_O_VERT_VERT2/g;
10223	s/eBiffDifferences/MsBiffDifferences/g;
10224	s/eBiffDFormatbit/MS_BIFF_D_FORMAT_BIT/g;
10225	s/eBiffDFontbit/MS_BIFF_D_FONT_BIT/g;
10226	s/eBiffDAlignbit/MS_BIFF_D_ALIGN_BIT/g;
10227	s/eBiffDBorderbit/MS_BIFF_D_BORDER_BIT/g;
10228	s/eBiffDFillbit/MS_BIFF_D_FILL_BIT/g;
10229	s/eBiffDLockbit/MS_BIFF_D_LOCK_BIT/g;
10230	s/BIFF_BOF_DATA/MsBiffBofData/g;
10231	s/eBiffMaxRows/MsBiffMaxRows/g;
10232	s/eBiffMaxRowsV7/MS_BIFF_MAX_ROWS_V7/g;
10233	s/eBiffMaxRowsV8/MS_BIFF_MAX_ROWS_V8/g;
10234
102352000-06-05  Michael Meeks  <michael@helixcode.com>
10236
10237	* ms-excel-read.c (sst_bound_check): Update so we can't miss
10238	adjacent records and we check for continues.
10239
102402000-06-03  Michael Meeks  <michael@helixcode.com>
10241
10242	* ms-obj.c (ms_read_TXO): fix memory corruption bug with continue.
10243
10244	* ms-escher.c (ms_escher_read_Blip): update for Oaf.
10245
10246	* ms-biff.c (ms_biff_query_new): kill merging.
10247	(ms_biff_merge_continues): kill forever.
10248	(ms_biff_query_next_merge): rename to (ms_biff_query_next): and
10249	clean. (ms_biff_query_unmerge): kill.
10250
102512000-06-02  Michael Meeks  <michael@helixcode.com>
10252
10253	* ms-excel-read.c (biff_get_text): hack nasty auto-header
10254	detection. (read_sst): split from (ms_excel_read_workbook).
10255	(get_xtn_lens): split from (biff_get_text).
10256	(get_utf8_chars, get_string, sst_boundcheck): implement.
10257
102582000-01-31  Michael Meeks  <mmeeks@gnu.org>
10259
10260	* ms-obj.c (ms_read_TXO): re-implement to swallow CONTINUEs &
10261	make safer.
10262
10263	* ms-biff.c (ms_biff_query_next_merge): hack do_merge = FALSE
10264	for now; big clean possible later.
10265
10266	* ms-escher.c (ms_escher_read_Blip): always use image-generic;
10267	it works, disable writing image files unless debugging.
10268	(write_file): conditional compile out.
10269	(ms_escher_get_data): add BIFF_CONTINUE.
10270
102712000-01-30  Michael Meeks  <michael@mejm2.dow.cam.ac.uk>
10272
10273	* ms-excel-read.c (ms_excel_read_sheet): kill blank_sheet_pos.
10274
102752000-05-30  Michael Meeks  <michael@helixcode.com>
10276
10277	* Makefile.am (INCLUDES): kill explicit libole2 include.
10278
102792000-05-20  Jody Goldberg <jgoldberg@home.com>
10280
10281        * Release 0.54
10282
102832000-05-18  Jody Goldberg <jgoldberg@home.com>
10284
10285	* ms-excel-read.c (ms_excel_read_mergecells) : Produce a warning.
10286
102872000-05-11  Michael Meeks  <michael@helixcode.com>
10288
10289	* boot.c (excel_load): add basic hooks.
10290
10291	* excel.h: ditto.
10292
102932000-05-16  Michael Meeks  <michael@helixcode.com>
10294
10295	* Makefile.am (INCLUDES): add libole2 include.
10296
102972000-05-11  Michael Meeks  <michael@helixcode.com>
10298
10299	* *.[ch]: update libole2 includes.
10300
10301	* Makefile.am (INCLUDES): kill libole2 kludge.
10302
103032000-05-09  Jody Goldberg <jgoldberg@home.com>
10304
10305	* Release 0.53
10306
103072000-05-05  Jody Goldberg <jgoldberg@home.com>
10308
10309	* ms-formula-read.c (ms_excel_parse_formula) : Improve warning when we
10310	  encounter unknown ptgAttr flags.
10311
103122000-05-03  Jody Goldberg <jgoldberg@home.com>
10313
10314	* ms-excel-read.c : Include eval.h to suppress warning.
10315
103162000-05-03  Jody Goldberg <jgoldberg@home.com>
10317
10318	* ms-excel-write.c (write_cell) : Use parse_pos_init_cell.
10319
10320	* ms-excel-read.c (ms_excel_read_formula) : No need to manually
10321	  cleanout the old value.  The various assignment routines take care
10322	  of that.
10323	  Honour the recalc flags for expressions.  Array expressions are
10324	  still unconditionally recalced, but the common case is handled
10325	  correctly.
10326
103272000-04-24  Jody Goldberg <jgoldberg@home.com>
10328
10329	* ms-excel-read.c : format police.
10330
103312000-04-21  Jody Goldberg <jgoldberg@home.com>
10332
10333	* ms-excel-read.c (ms_excel_sheet_insert) : Use cell_set_value
10334	  rather than cell_set_text to avoid attempting to parse the string.
10335
103362000-04-20  Jody Goldberg <jgoldberg@home.com>
10337
10338	* ms-excel-read.c (ms_excel_sheet_insert) : formats are no longer
10339	  associated with individual cells.  Only create a cell if it has
10340	  content.
10341	(ms_excel_formula_shared) : Rework to return the expression.  Only set
10342	  it if it is an array.
10343	(ms_excel_read_formula) : Use error values for problems not strings.
10344	  Use cell_set_expr_and_value when possible.
10345	(ms_excel_read_workbook) : Disable optimization that was culling blank
10346	  sheets.  It was causing a complete recalc of all loaded books for
10347	  eavy deleted sheet.
10348
103492000-04-20  Dan Winship  <danw@helixcode.com>
10350
10351	* ms-escher.c (ms_escher_blip_new): update for changes to bonobo
10352
103532000-04-09  Morten Welinder  <terra@diku.dk>
10354
10355	* ms-excel-read.c (ms_excel_sheet_append_comment): Constify.
10356	(ms_excel_sheet_set_comment): Ditto.
10357	(ms_excel_read_sheet): Plug leak.
10358
103592000-04-08  Jon K Hellan  <hellan@acm.org>
10360
10361	* ms-excel-read.c (ms_excel_set_xf, ms_excel_read_formula,
10362	ms_excel_read_sheet):  Use
10363	gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
10364	output.
10365	(ms_excel_read_workbook): Remove unused variable to silence
10366	warning.
10367
10368	* ms-excel-write.c (write_externsheets): Output
10369	gnum_sheet->name_quoted instead of gnum_sheet->name. FIXME: Is
10370	this correct?
10371	(write_sheet): Use gnum_sheet->name_unquoted instead of
10372	gnum_sheet->name in debug output.
10373	(write_workbook): Output gnum_sheet->name_unquoted instead of
10374	gnum_sheet->name.
10375
10376	* ms-formula-read.c (ms_excel_parse_formula): Use
10377	gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
10378	output.
10379
10380	* ms-obj.c (object_anchor_to_position): Ditto.
10381
103822000-04-06  Jody Goldberg <jgoldberg@home.com>
10383
10384	* ms-excel-read.c (ms_excel_read_workbook) : Move deep freeze/thaw to
10385	  a higher level.
10386
103872000-04-06  Jody Goldberg <jgoldberg@home.com>
10388
10389	* ms-formula-read.c (ms_excel_parse_formula) : Adjust to change in
10390	  value_new_range.
10391
103922000-04-04  Jody Goldberg <jgoldberg@home.com>
10393
10394	* ms-obj.c (ms_obj_read_biff8_obj) : Be more careful about when to
10395	  dump debug info when the stated record size disagrees with the
10396	  actual.
10397
103982000-03-24  Jody Goldberg <jgoldberg@home.com>
10399
10400	* *.[ch] : Update copywrite years.
10401
10402	* ms-obj.c (ms_read_OBJ) : improve debug output.
10403	(ms_obj_read_biff8_obj) : Try a new heuristic for dealing with trailing IMDATA.
10404
104052000-03-23  Jody Goldberg <jgoldberg@home.com>
10406
10407	* ms-excel-read.c (biff_xf_data_new) : Support horizontal alignment
10408	  center_across_selection.
10409
10410	* ms-excel-write.c (halign_to_excel) : Ditto.
10411
10412	* ms-obj.c (object_anchor_to_position) : remove some debug code.
10413
104142000-03-23  Jon K Hellan  <hellan@acm.org>
10415
10416	* boot.c (excel_load): No longer add ".gnumeric" to filename. Set
10417	save info. Tag filename as MANUAL. We could make it AUTO soon.
10418	(excel_init): Tag saver as MANUAL.
10419
104202000-03-22  Jody Goldberg <jgoldberg@home.com>
10421
10422	* ms-excel-read.c (biff_xf_data_new) : Add some warnings for
10423	  unsupported rotated text.
10424
104252000-03-21  Jody Goldberg <jgoldberg@home.com>
10426
10427	* ms-excel-util.c (init_xl_font_widths) : Add Geneva.
10428
10429	* ms-excel-read.c (biff_xf_data_new) : Have the horizontal alignment
10430	  type center_across_selection default to 'center' instead.
10431	(ms_excel_read_workbook) : Be more explicit about NOT supporting 1904
10432	  dates as yet.
10433
104342000-03-14  Jody Goldberg <jgoldberg@home.com>
10435
10436	* ms-excel-read.c (biff_xf_data_new) : Remove warning about parent
10437	  styles not == 0.  I finally understand what the semantics of this
10438	  are.  Style 0 is 'Normal' this test was doing nothing accept
10439	  discriminating agains 'Comma' and its friends.  We need to extend
10440	  the gnumeric notion of styles to include the limited form of
10441	  inheritance embodied by XL.
10442
10443	* ms-obj.c (object_anchor_to_position) : Be VERY careful.
10444
104452000-03-13  Jody Goldberg <jgoldberg@home.com>
10446
10447	* ms-obj.c (object_anchor_to_position) : Be more careful handling out
10448	  of bounds conditions.  Part of bug 7312.
10449
104502000-03-09  Jody Goldberg <jgoldberg@home.com>
10451
10452	* ms-excel-read.c (ms_excel_get_style_from_xf) : Tweak colour
10453	  selection for contrasting colours.  FIXME : We really need to find
10454	  something more definative than this guess work.
10455
10456	* ms-excel-read.c (ms_excel_read_selection) : Do not reset the
10457	  edit cursor.  It needs more work to be correct.
10458
104592000-03-09  Jody Goldberg <jgoldberg@home.com>
10460
10461	* ms-excel-util.[ch] (lookup_font_base_char_width) : Delete.
10462
10463	* ms-excel-read.c (ms_excel_get_style_from_xf) : Adjust bottom and
10464	  right borders to be top & left of neighbouring cells.
10465	(ms_excel_set_xf) : Ditto.
10466	(ms_excel_set_xf_segment) : Ditto.
10467
104682000-03-05  Jon K Hellan  <hellan@acm.org>
10469
10470	* ms-excel-write.c (lookup_base_char_width_for_write): Rename to
10471	init_base_char_width_for_write. Init width and default width.
10472	(get_base_char_width): Add is_default parameter.
10473	(write_colinfo, write_default_col_width): Use it.
10474
10475	* ms-excel-write.h (struct _ExcelSheet): Add base_char_width_default.
10476
10477	* ms-excel-write.c (excel_font_to_string, excel_font_new,
10478	excel_font_hash, excel_font_equal, write_font): Handle underline,
10479	strikethrough.
10480
10481	* ms-excel-write.h (struct _ExcelFont): Ditto
10482
104832000-03-05  Jody Goldberg <jgoldberg@home.com>
10484
10485	* ms-excel-read.c (ms_excel_get_style_from_xf) : enable strikethrough.
10486
104872000-03-01  Jody Goldberg <jgoldberg@home.com>
10488
10489	* ms-excel-read.c (biff_font_data_new) : Fix old typo.
10490
104912000-02-29  Jody Goldberg <jgoldberg@home.com>
10492
10493	* ms-excel-read.c (ms_excel_get_style_from_xf) : Add support for
10494	  importing underlines.
10495
104962000-02-18  Jody Goldberg <jgoldberg@home.com>
10497
10498	* ms-excel-read.c (ms_excel_get_style_from_xf) : Hard code 'auto'
10499	  border colours to black for now.  We are not guessing well.
10500
105012000-02-15  Jody Goldberg <jgoldberg@home.com>
10502
10503	* ms-obj.c (object_anchor_to_position) : Improve debug output.
10504
10505	* ms-excel-read.c (ms_excel_sheet_new) : Add new member base_char_width_default.
10506	(print_font_mapping_debug_info) : Delete.
10507	(lookup_base_char_width_for_read) : Rename init_base_char_width_for_read,
10508	  and use lookup_font_base_char_width_new to init the width and the
10509	  default_width.
10510	(get_base_char_width) : Adjust.
10511	(ms_excel_read_colinfo) : Width is different from default_width...  Idiots!
10512	(ms_excel_read_default_col_width) : Ditto.
10513
10514	* ms-excel-util.c : Add lookup tables for various standard widths of
10515	  MS fonts.  Use a quick and dirty linear scaling to calculate the
10516	  widths of arbitrary font sizes.
10517
105182000-02-14  Jody Goldberg <jgoldberg@home.com>
10519
10520	* ms-excel-read.c (ms_excel_read_row) : heights are specified
10521	  including margins and 1 grid line.  Do not use get_units_net_of_margins.
10522	(get_units_net_of_margins) : Delete.
10523
105242000-02-13  Jody Goldberg <jgoldberg@home.com>
10525
10526	* ms-excel-read.c (ms_excel_read_workbook) : Adjust WINDOW size
10527	  measurements from points to pixels.
10528
105292000-02-12  Jody Goldberg <jgoldberg@home.com>
10530
10531	* ms-excel-read.c (ms_excel_read_default_col_width) : Margins are
10532	  internal now.
10533	(ms_excel_read_default_row_height) : Ditto.
10534	(ms_excel_read_colinfo) : Ditto.
10535	(ms_excel_read_row) : Adjust to changes in margins and step closer to
10536	  handling think margins.
10537
10538	* ms-excel-write.c (write_rowinfo) : Use the size_pts member directly.
10539	(write_colinfos) : ditto.
10540
10541	* ms-obj.c (object_anchor_to_position) : Adjust to name and semantic
10542	  changes of size_pixels.  Denominate things in pixels.
10543
105442000-02-06  Michael Meeks  <michael@helixcode.com>
10545
10546	* ms-excel-read.c (ms_excel_read_workbook): Move failed sheet removal
10547	here + add pristine culling instead of 0 byte in sheet header, may
10548	introduce bugs but will help fix sheet_is_pristine. Fix potential
10549	sheet object leak. (ms_excel_read_sheet): do not detach in error case.
10550
105512000-01-30  Jon K Hellan  <hellan@acm.org>
10552
10553	* ms-excel-write.c (write_sheet): Correct the max no. of rows check.
10554
105552000-01-29  Jody Goldberg <jgoldberg@home.com>
10556
10557	* ms-excel-read.c (ms_excel_read_workbook) : Correct the error
10558	  handling.
10559
105602000-01-29  Jon K Hellan  <hellan@acm.org>
10561
10562	Megacommit.
10563
10564	The purpose of the changeset is twofold:
10565
10566	1. Use CommandContexts for error reporting for file read/save.
10567	2. This allows us to let FileFormatOpen return 0 on success, -1 on
10568	   failure, same as FileFormatSave. The convention to return NULL
10569	   on success was highly ideosyncratic.
10570
10571	* excel.h (ms_excel_read_workbook, ms_excel_write_workbook) Add
10572	CommandContext. Return int.
10573
10574	* ms-excel-read.c (ms_excel_read_workbook): Add
10575	CommandContext. Return 0 on success, -1 on failure. Use
10576	gnumeric_error_read to display messages.
10577
10578	* ms-excel-write.c (write_sheet): Check max no. of rows for the
10579	format.
10580	(new_sheet): Return the ExcelSheet. Let caller add it to
10581	wb->sheets.
10582	(pre_pass): Add CommandContext.
10583	(free_workbook): New function, previously in write_workbook.
10584	(write_workbook): Change parameter from Workbook to ExcelWorkbook.
10585	Move deallocation to free_workbook.
10586	(check_sheet): New function. Check if we are able to save the
10587	sheet.
10588	(ms_excel_check_write): New function. Check if we are able to save
10589	to the file. Do initialization previously in
10590	ms_excel_write_workbook.
10591	(ms_excel_write_workbook): Add CommandContext. Add state. Change
10592	wb from Workbook to ExcelWorkbook. Use gnumeric_error_save to
10593	report problems. Return 0 on success, -1 on failure.
10594
10595	* ms-excel-biff.h: Define enum for max no. of rows. Fix typo.
10596
10597	* boot.c (excel_load, excel_save, excel_save_98, excel_save_95):
10598	Add CommandContext.
10599	(excel_load): Return 0 on success, -1 on failure.
10600	Use gnumeric_error_read to display messages. Remove "Opening .. "
10601	message on stdout.
10602	(excel_probe_write): New function. Check if we are able to save to
10603	the file.
10604	(excel_save): Use gnumeric_error_save to display messages.
10605	Return 0 on success, -1 on failure.
10606
106072000-01-18  Jody Goldberg <jgoldberg@home.com>
10608
10609	* ms-formula-read.c (ms_excel_parse_formula) : Add OPER_UNARY_PLUS.
10610
10611	* ms-formula-write.c (write_node) : Ditto.
10612
10613	* ms-excel-read.c (get_units_net_of_margins) : Return 1 when faced
10614	  with < 0 sized things.
10615	(ms_excel_read_row) : Support hidden rows.
10616	(ms_excel_read_colinfo) : Support hidden columns.
10617
106182000-01-17  Frank Chiulli  <fc-linux@home.com>
10619
10620	* ms-summary.c (ms_summary_write): Turn on writing out the
10621	  DocumentSummaryInformation stream.
10622
106232000-01-17  Jody Goldberg <jgoldberg@home.com>
10624
10625	* ms-excel-write.c : Remove unused xml includes.
10626
106272000-01-17  Jody Goldberg <jgoldberg@home.com>
10628
10629	* ms-chart.c (ms_excel_chart) : Apparently BIFF_NUMBER records show up
10630	  in charts.
10631
10632	* ms-excel-read.c (ms_excel_read_workbook) : Improve sizing of
10633	  window, Use the support for some of the new preferences
10634	  hiding scrollbars, and notebooktabs.
10635
10636	* ms-excel-read.c (ms_excel_read_sheet) : Use support for
10637	  hidden grid lines, hidden formulas, hidden zeros, hidden
10638	  row/col headers.  Use the information on where the upper left
10639	  corner is.
10640
106412000-01-14  Jon K Hellan  <hellan@acm.org>
10642
10643	* ms-excel-write.h: (ExcelWorkbook): Make
10644	sheet->cells an array of arrays.
10645
10646	* ms-excel-write.c (excel_cell_get): Make inline.
10647	(excel_cell_get, new_sheet, new_sheet, free_sheet): Make
10648	sheet->cells an array of arrays.
10649
106502000-01-13  Jody Goldberg <jgoldberg@home.com>
10651
10652	* ms-excel-read.c (ms_excel_read_workbook) : Move magic scale hack
10653	  into a single #define.  Use workbook_view_set_size.
10654
106552000-01-10  Jody Goldberg <jgoldberg@home.com>
10656
10657	* ms-obj.c (ms_read_TXO) : Return the string generated rather than
10658	  leaking it.
10659	(ms_read_OBJ) : Don't warn about comments, they are not sheet objects
10660	  which breaks the whole function of this routine but they are not
10661	  unexpected.  If we can figur eout how to store the string associated
10662	  with the TXO nearby with this object and get that cleaned up on
10663	  time and referencable by obj-ID then we can fix comment import.
10664
10665	* ms-excel-read.c (ms_excel_read_sheet) : Improve handling for
10666	  WINDOW1 and warn about more unsupported cases.  Tweak zoom factor
10667	  by 1.4 to be less ugly. (ICK !  HACK!)
10668	(ms_excel_read_workbook) : WINDOW2 is a sheet level
10669	  descriptor.  Add handle for WINDOW1.
10670	(ms_excel_sheet_new) : ICK!  hard code a scale
10671	  factor of 1.4 to get things to be less ugly.
10672
106732000-01-05  Jon K Hellan  <hellan@acm.org>
10674
10675	* ms-excel-write.c (write_colinfos): Fix off by one error.
10676	(write_sheet_bools): Ditto.
10677
106782000-01-03  Jody Goldberg <jgoldberg@home.com>
10679
10680	* ms-excel-read.c (ms_excel_read_sheet) : extend support for WINDOW2.
10681	(ms_excel_read_selection) : Remove hack to set visible location.
10682
106831999-12-30  Jody Goldberg <jgoldberg@home.com>
10684
10685	* ms-excel-read.c (ms_excel_workbook_new) : Return error messages.
10686	(ms_excel_read_workbook) : If a file is password protected do NOT
10687	  attempt to read it.
10688
10689	* boot.c (excel_load) : return error messages.
10690
106911999-12-23  Jon K Hellan  <hellan@acm.org>
10692
10693	* ms-excel-write.c (write_bits): Use "The Free Software
10694	Foundation" as name.
10695
10696	* excel.h (WRITEACCESS_LEN): Define it.
10697
106981999-12-21  Jon K Hellan  <hellan@acm.org>
10699
10700	* ms-excel-write.c (write_index, write_db_cell, write_block,
10701	write_sheet): Write row info records in blocks of 32. Excel was
10702	unable to read files we made if they were over 517 rows. Limit is
10703	now pushed to 16544.
10704	(write_index): Assertion no longer true - removed it. Refer to
10705	Excel doc page.
10706	(write_db_cell): Write offsets for all rows in block in single
10707	record. Add number of rows parameter.
10708	(write_block): New function. Write a block of rows. Previously
10709	part of write_sheet, but changed for blocked row info.
10710	(write_sheet): Move inner loop to write_block.
10711	(new_sheet): Initialize sheet->cells to 0.
10712
10713	* excel.h (ROW_BLOCK_MAX_LEN): Define.
10714
107151999-12-21  Jon K Hellan  <hellan@acm.org>
10716
10717	* ms-excel-write.c (fixup_fill_colors): Fix minor bug.
10718
107191999-12-17  Jon K Hellan  <hellan@acm.org>
10720
10721	* ms-excel-write.h (struct _ExcelCol ): define it
10722	(struct _ExcelSheet): Add base_char_width
10723
10724	* ms-excel-write.c (log_put_color, palette_get_index,
10725	gather_palette, write_palette, excel_font_new, excel_font_hash,
10726	excel_font_equal, after_put_format, map_pattern_index_to_excel,
10727	halign_to_excel, valign_to_excel, fixup_fill_colors,
10728	get_xf_differences, log_xf_data, build_xf_data,
10729	write_xf_magic_record, write_value, write_formula, write_cell,
10730	write_mulblank, pre_pass): Cosmetics
10731	(write_font, write_fonts, write_format, write_formats,
10732	write_xf_record, write_xf, write_workbook): Conform to
10733	conventional parameter order
10734	(orientation_to_excel, border_type_to_excel): Make inline
10735	(write_default_row_height): New function. Write default row
10736	height.
10737	(lookup_base_char_width_for_write): New function. Locate font for
10738	measuring base char width, and call measuring function.
10739	(get_base_char_width): New function: Return base char width for
10740	column sizing.
10741	(write_default_col_width): New function. Write default col width.
10742	(write_colinfo): New function. Write column info for a run of
10743	identical columns
10744	(write_colinfos): New function. Write column info for all columns.
10745	(write_sheet_bools): Use write_default_row_height,
10746	write_default_col_width, write_colinfos.
10747	(write_sheet_bools):
10748	(write_rowinfo): Write true row height. Add sheet to signature.
10749	(write_sheet): Add sheet to write_rowinfo call.
10750	(new_sheet): Initialize base_char_width.
10751
10752	* ms-excel-util.h: #include <sheet.h>
10753	(EXCEL_DEFAULT_CHAR_WIDTH): Move here from ms-excel-read.h
10754	(lookup_font_base_char_width): Declare it.
10755
10756	* ms-excel-util.c (lookup_font_base_char_width): New
10757	function. Measure "base character width" of font. Previously in
10758	lookup_base_char_width in ms-excel-read.c
10759
10760	* ms-excel-read.c: #include ms-excel-util.h
10761	(lookup_base_char_width_for_read): Renamed from
10762	lookup_base_char_width because of similar, but different function
10763	in ms-excel-write.c. Split in two. Font locating stays here. Font
10764	measuring moved to new function lookup_font_base_char_width in
10765	ms-excel-util.c
10766	(get_base_char_width): Use lookup_base_char_width_for_read.
10767	(ms_excel_read_default_row_height): Refer to Excel doc page.
10768	(ms_excel_read_default_col_width): Ditto
10769
107701999-12-14  Jon K Hellan  <hellan@acm.org>
10771
10772        * ms-excel-write.h (XF_MAGIC, PALETTE_ALSO_BLACK, FILL_MAGIC,
10773        BORDER_MAGIC): define
10774        (PALETTE_WHITE, PALETTE_BLACK): Fix typo, they were switched around.
10775
10776        * ms-excel-write.c (put_colors): Include border colors.
10777        (excel_font_new): Newline to conform to coding style.
10778        (fonts_get_font): New function. Get font, given index.
10779        (fonts_free, write_fonts): Use it.
10780        (write_font): Fix boldstyle typo.
10781        (formats_get_format): New function. Get format, given index.
10782        (formats_free, write_format): Use it.
10783        (xf_get_mstyle): New function. Get mstyle, given index.
10784        (xf_free): Use it.
10785        (halign_to_excel):
10786        New function. Map horizontal alignment to Excel bitfield
10787        (valign_to_excel):
10788        New function. Map vertical alignment to Excel bitfield.
10789        (orientation_to_excel):
10790        New function. Map text orientation to Excel bitfield.
10791        (border_type_to_excel):
10792        New function. Map border type to Excel bitfield.
10793        (fixup_fill_colors):
10794        New function. Kluge fill foreground and background colors.
10795        (get_xf_differences): Fill out map of differences to parent style.
10796        (log_xf_data):
10797        New function. Log XF data for a record about to be written. Pulled
10798        out of write_xf_record.
10799        (build_xf_data): New function. Build XF data for a style. Pulled
10800        out of write_xf_record, but uses BiffXFData struct. Add support
10801        for borders, alignments, wrap, rotation. Change some
10802        local variable names for consistency with import code.
10803        (write_xf_magic_record): Comment magic color value.
10804        (write_xf_record): Change signature, take BiffXFData instead of
10805        mstyle. Simplify by moving out logging and marshaling. Make more
10806        complex by writing borders, alignment, wrap, rotation.
10807        (write_xf): Use xf_get_mstyle, build_xf_data, log_xf_data.
10808
10809        * ms-excel-util.h: Fix typo.
10810
10811        * ms-excel-xf.h: New file for BiffXFData struct def.
10812
10813        * ms-excel-read.c: Move BiffXFData struct def to
10814        ms-excel-xf.h. Include ms-excel-xf.h. Remove include "border.h" -
10815        ms-excel-xf.h includes it.
10816        (ms_excel_get_style_from_xf): Express some bewilderment.
10817
10818        * ms-excel-biff.h: Define enums for horizontal alignment, vertical
10819        alignment, text orientation, difference bits
10820
108211999-12-11  Frank Chiulli  <fchiulli@home.com>
10822
10823	* ms-summary.c (ms_summary_write): comment out DocumentSummary.
10824
10825	* boot.c (excel_save): re-enable summary write.
10826
108271999-12-14 Valerie A Henson  <val@nmt.edu>
10828
10829	* ms-obj.c: s/dump/ms_ole_dump/
10830
10831	* ms-biff.c: s/dump/ms_ole_dump/
10832
10833	* ms-formula-read.c: s/dump/ms_ole_dump/
10834
10835	* ms-excel-read.c: s/dump/ms_ole_dump/
10836
108371999-12-09  Jon K Hellan  <hellan@acm.org>
10838
10839	* ms-excel-write.c (excel_font_hash, excel_font_equal, excel_font_free):
10840	fixup pointer bits.
10841
108421999-12-08  Jon K Hellan  <hellan@acm.org>
10843
10844	* ms-excel-write.c: (palette_color_to_int): New function. Convert
10845	EXCEL_PALETTE_ENTRY to guint.
10846	(style_color_to_int): New function. Convert StyleColor to guint.
10847	(log_put_color): New function. Debug log when color added to
10848	palette
10849	(palette_put_defaults): New function. Put Excel default colors to
10850	palette.
10851	(palette_init): New function. Initialize palette table.
10852	(palette_free): New function. Free palette table.
10853	(palette_get_index): New function. Get color index.
10854	(put_color): New function. Add color to palette.
10855	(put_colors): New function. Add colors in MStyle to palette
10856	(gather_palette): New function. Add all colors in workbook to
10857	palette.
10858	(write_palette): Use color info from styles. Make void.
10859	(excel_font_to_string): New function. Return string desc. of font
10860	(excel_font_new): New function. Make an ExcelFont (font + color).
10861	(excel_font_free): New function. Free an ExcelFont.
10862	(excel_font_hash): New function. Hash function for ExcelFonts.
10863	(excel_font_equal): New function. Compare ExcelFonts.
10864	(fonts_init): New function. Initialize font table
10865	(fonts_free): New function. Free font table.
10866	(fonts_get_index): New function. Get index of ExcelFont
10867	(after_put_font): New function. Debug log when font is added to
10868	table.
10869	(put_font): New function. Add font to table.
10870	(gather_fonts): New function. Add all fonts in workbook to table.
10871	(write_font): New function. Write a font to file. Essentially,
10872	inner loop of the old version of write_fonts.
10873	(write_fonts): Rewritten. Make void
10874	(after_put_format): New function. Debug log when format is added
10875	to table.
10876	(formats_put_magic): New function. Add builit-in formats to table.
10877	(formats_init): New function. Initialize format table
10878	(formats_free): New function. Free format table
10879	(formats_get_index): New function. Get index of format
10880	(put_format): New function. Add a format to table
10881	(gather_formats): New function. Add all formats in workbook to
10882	table.
10883	(write_format): New function. Write a format to file. Essentially,
10884	inner loop of the old version of write_formats.
10885	(write_formats): Rewritten. Make void.
10886	(cell_used_map_new): New function. Make bitmap for cells in use.
10887	(cell_mark_used): New function. Mark cell in use in bitmap.
10888	(cell_is_used): New function. Return true if cell marked in use in
10889	bitmap.
10890	(get_default_mstyle): New function. Get default mstyle of
10891	sheet. Placeholder function until this info is exported from
10892	sheet.
10893	(xf_init): New function. Initialize xf/mstyle table.
10894	(xf_free): Rewritten. New signature. Release allocated style data.
10895	(after_put_mstyle): New function. Debug log when MStyle added to
10896	table.
10897	(put_mstyle): New function. Add MStyle to table.
10898	(excel_cell_get): New function. Get ExcelCell record for cell
10899	position.
10900	(pre_cell): Constify key. Add cell MStyle to table. Cache some
10901	info
10902	(pre_blank): New function. Add MStyle of blank cell to table.
10903	(pre_blanks): New function. Add MStyles of all blank cells in
10904	workbook to table.
10905	(gather_styles): New function. Add all MStyles in workbook to
10906	table.
10907	(map_pattern_index_to_excel): New function. Map Gnumeric pattern
10908	index to Excel ditto.
10909	(write_xf_magic_record): New function. Essentially, the old
10910	version of write_xf_record.
10911	(write_xf_record): Rewritten. Use style info from worksheet.
10912	(write_xf): Use style info from worksheet. Changed signature.
10913	(write_value): Let ms_excel_write_debug govern debug logging.
10914	(write_formula): Add xf parameter. Write true xf index
10915	(write_cell): ExcelCell parameter instead of Cell, bringing in xf.
10916	Write true xf index.  Let ms_excel_write_debug govern debug
10917	logging.
10918	(write_mulblank): Add xf_list parameter. Write true xf
10919	index. Remove #define XF_MAGIC. Add debug logging. Add
10920	ms_biff_put_commit.
10921	(write_index): Let ms_excel_write_debug govern debug logging.
10922	(write_sheet): Let ms_excel_write_debug govern debug logging.
10923	(write_sheet): Use ExcelCell instead of Cell. Pass xf or xf_list
10924	to called functions.
10925	(new_sheet): Initialize sheet->cells, sheet->cell_used_map
10926	(free_sheet): Free sheet->cells, sheet->cell_used_map
10927	(pre_pass): Rewrite. Change signature
10928	(write_workbook): Initialize font, format, palette and xf tables.
10929	Free xf list.
10930	(ms_excel_write_workbook): Flush debug log at end.
10931
10932	* ms-excel-write.h: Define TwoWayIndex, ExcelFont, ExcelCell,
10933	ExcelRow. Redefined Palette, Fonts, Formats, XF. Add cells and
10934	cell_used_map to ExcelSheet. Add xf to ExcelWorkbook.  Define
10935	AfterPutFunc. Declare ms_excel_write_debug.  Move #defines from
10936	ms-excel-write.c. Move function declarations last.
10937
10938	* ms-excel-util.c New file.
10939	(two_way_index_new): New function. Make TwoWayTable.
10940	(two_way_index_free): New function. Destroy TwoWayTable
10941	(two_way_index_put): New function. Put a key to TwoWayTable
10942	(two_way_index_replace): New function. Replace key for index in
10943	TwoWayTable
10944	(two_way_index_key_to_idx): New function. Find index given key
10945	(two_way_index_idx_to_key): New function. Find key given index
10946
10947	* ms-excel-util.h New file.
10948
10949	* ms-excel-read.c (ms_excel_read_cell): Add \n to debug print.
10950
109511999-12-06  Michael Meeks  <mmeeks@gnu.org>
10952
10953	* ms-excel-write.c (new_sheet): Update to sheet_get_extent.
10954
109551999-12-01  Morten Welinder  <terra@diku.dk>
10956
10957	* ms-excel-read.c (lookup_base_char_width): Plug leaks.
10958	(biff_xf_data_destroy): Ditto.
10959
109601999-11-30  Michael Meeks  <mmeeks@gnu.org>
10961
10962	* boot.c (excel_save): Disable summary info export.
10963
109641999-11-30  Michael Meeks  <mmeeks@gnu.org>
10965
10966	* ms-excel-read.c: Add ms_excel_write_debug.
10967
109681999-11-30  Jon K Hellan  <hellan@acm.org>
10969
10970	* ms-excel-read.c (biff_format_data_lookup): Add debug.
10971	(lookup_base_char_width): add commenting.
10972	(ms_excel_read_workbook): Add fflush.
10973
109741999-11-28  Michael Meeks  <mmeeks@gnu.org>
10975
10976	* gnumeric-chart.c (gnumeric_chart_destroy): check the series
10977	is valid before freeing.
10978
109791999-11-28  Michael Meeks  <mmeeks@gnu.org>
10980
10981	* ms-excel-read.c (biff_name_data_destroy): add comment.
10982
10983	* ms-chart.c (ms_excel_chart): destroy state.chart.
10984
109851999-11-26  Jody Goldberg <jgoldberg@home.com>
10986
10987	* ms-formula-read.c (ms_excel_parse_formula) : DOH!
10988	  why wait to implement the implicit intersetion in the core.
10989	  We know that this will require such an intersection.  So do
10990	  the work here.  This results in the same sheet that XL produces
10991	  if you turn off the 'use labels as names' feature.
10992
109931999-11-26  Jody Goldberg <jgoldberg@home.com>
10994
10995	* ms-formula-read.c (ms_excel_parse_formula) : Add support for
10996	  extended-ptg ElfColV and ElfRowV.  They seem to refer to the
10997	  use of an implicit vector defined by a column header.
10998	  ie A1 = 'bob'  A2 = 2 B2 = '=bob^2'
10999	  The eptg would indicate that 'bob' in B2 refered to the column below
11000	  A1.  Presumably implicit intersection (not implemented yet) would
11001	  handle the rest.
11002
110031999-11-25  Jody Goldberg <jgoldberg@home.com>
11004
11005	* ms-obj.c (object_anchor_to_position) : Use 1/1024 for pre-XL97
11006	  objects.  Do not scale the margins.
11007
110081999-11-23  Jody Goldberg <jgoldberg@home.com>
11009
11010	* ms-excel-read.c (biff_font_data_new) : Improve debug info.
11011	(ms_excel_get_style_from_xf) : Ditto.
11012	(ms_excel_set_xf) : Ditto.
11013
110141999-11-22  Jody Goldberg <jgoldberg@home.com>
11015
11016	* ms-excel-read.c (get_units_net_of_margins) : Don't crash when the
11017	  col/row info is NULL.
11018
11019	* ms-excel-read.c (ms_excel_get_xf) : Improve error
11020	  message when faced with invalid xf index.
11021
110221999-11-21  Jody Goldberg <jgoldberg@home.com>
11023
11024	* ms-excel-read.c (ms_excel_read_selection) : Bug 3609.
11025	  Make sure the current cell is visible.
11026
110271999-11-19  Jon K Hellan  <hellan@acm.org>
11028
11029	* ms-excel-read.c (ms_excel_read_row): New function: Process a BIFF
11030	row info record. Previously in ms_excel_read_cell.
11031	(ms_excel_read_colinfo): New function: Process a BIFF column
11032	info record. Previously in ms_excel_read_cell.
11033	(ms_excel_read_cell): Move some code to ms_excel_read_row and
11034	ms_excel_read_colinfo
11035	(ms_excel_read_default_row_height): New function: Process a BIFF
11036	default row height record. Previously in ms_excel_read_sheet.
11037	(ms_excel_read_default_col_width): New function: Process a BIFF
11038	default column width record. Previously in ms_excel_read_sheet.
11039	(ms_excel_read_sheet): Move some code to
11040	ms_excel_read_default_row_height and ms_excel_read_default_col_width.
11041
110421999-11-19  Michael Meeks  <mmeeks@gnu.org>
11043
11044	* boot.c (excel_probe): Check for the right streams, not just an
11045	ole file.
11046
110471999-11-18  Michael Meeks  <mmeeks@gnu.org>
11048
11049	* ms-excel-read.c (lookup_base_char_width): kill double init of
11050	sample & add check.
11051
110521999-11-18  Jon K Hellan  <hellan@acm.org>
11053
11054	* ms-obj.c (ms_parse_object_anchor): Just extract anchor data,
11055	don't try to convert to pixels. Extracted anchor data has type
11056	anchor_point[4], i.e. 4 pairs of col/row number and fractions of
11057	col/row.
11058	(ms_obj_realize): Now receives uninterpreted anchor data. Thus,
11059	conversion to position is delayed until the entire sheet has been
11060	read. Use object_anchor_to_position to interpret. 'anchor'
11061	variable renamed to 'position'.
11062	(object_anchor_to_position): New function: Convert an anchor to
11063	position in points. Based on data interpretation in previous
11064	version of ms_parse_object_anchor.  Interpret as 256th's rather
11065	than 1024th's vertically. Base computation on actual cell
11066	width/height.
11067
11068	* ms-obj.h (type anchor_point): define it.
11069	(type MSObj): Change type of anchor from int[4] to
11070	anchor_point[4].
11071	Update signature of ms_parse_object_anchor.
11072
11073	* ms-excel-read.h (_ExcelSheet): Add base_char_width member.
11074	(EXCEL_DEFAULT_CHAR_WIDTH): Define it.
11075	* ms-excel-read.c (get_substitute_font):
11076	New function: Try to find a gnome font which matches the Excel font.
11077	(ms_excel_get_style_from_xf): Use get_substitute_font.
11078	(ms_excel_sheet_new): Initialize base_char_width to 0, i.e. unknown.
11079	(print_font_mapping_debug_info): Debug print in separate routine.
11080	(get_base_char_width): New function: Return base char width for
11081	column sizing. If not yet known, call lookup_base_char_width to
11082	find it.
11083	(lookup_base_char_width): New function. See get_base_char_width.
11084	(get_row_height_units): New function. We could adjust excel
11085	heights here, but there seems to be no need.
11086	(get_units_net_of_margins): New function. Subtract margins from a
11087	point size.
11088	(ms_excel_read_cell):
11089	case BIFF_ROW: Specify height in points, not pixels.  Use
11090	get_row_height_units and get_units_net_of_margins. Call
11091	sheet_row_set_height_units rather than sheet_row_set_height.
11092	case BIFF_COLINFO: Specify width in points, not pixels.  Scale
11093	column based on actual font. Use get_base_char_width and
11094	get_units_net_of_margins. Call sheet_col_set_width_units rather
11095	than sheet_col_set_width.
11096	(ms_excel_read_sheet):
11097	case BIFF_DEFAULTROWHEIGHT: Handle it. Like BIFF_ROW, but use
11098	sheet_row_set_internal_height on default style.
11099	case BIFF_DEFCOLWIDTH: Handle it. Like BIFF_COLINFO, but use
11100	sheet_col_set_internal_height on default style.
11101
11102	* ms-escher.c (_MSEscherHeader):
11103	Change type of anchor to anchor_point[4]
11104
111051999-11-18  Michael Meeks  <mmeeks@gnu.org>
11106
11107	* ms-excel-read.c (ms_excel_read_guts): rename.
11108
111091999-11-17  Jody Goldberg <jgoldberg@home.com>
11110
11111	* ms-excel-read.c (ms_excel_read_mergecells) : New function.
11112	  Test parser for merged cells.
11113	(ms_excel_read_sheet) : Use it.
11114	(biff_xf_data_new) : Fix typo.
11115
11116	* ms-excel-read.c (black_or_white_contrast) : Use new
11117	  style_color{black,white} functions.
11118	(ms_excel_palette_get) : Ditto.
11119	(ms_excel_get_style_from_xf) : Ditto.
11120
111211999-11-17  Michael Meeks  <mmeeks@gnu.org>
11122
11123	* ms-excel-read.c (biff_xf_data_new): Quieten.
11124	(ms_excel_palette_get): Return black on failure.
11125	(biff_get_text): quieten various warnings.
11126
111271999-11-16  Jody Goldberg <jgoldberg@home.com>
11128
11129	* ms-excel-read.c (ms_excel_read_GUTS) : New function.
11130	(ms_excel_read_sheet) : used here.
11131
111321999-11-15  Jody Goldberg <jgoldberg@home.com>
11133
11134	* ms-excel-read.c (biff_xf_data_new) : Add warnings about
11135	  unsupported alignment and format features.  This explains
11136	  why travel.xls looks odd.
11137
111381999-11-14  Frank Chiulli <fchiulli@home.com>
11139
11140	* ms-summary.c (set_summary_item) : Process all the sections in a
11141	  stream.  Pass the section's PropertySetID to sum_name_to_excel
11142	  rather than the stream's.
11143
111441999-11-13  Jody Goldberg <jgoldberg@home.com>
11145
11146	* ms-excel-write.c (write_sheet) : Make static.
11147	* gnumeric-chart.h (typedef) : Fix prototype.
11148
111491999-11-09  Michael Meeks  <mmeeks@gnu.org>
11150
11151	* ms-excel-read.c (ms_excel_get_style_from_xf, biff_xf_map_border):
11152	Update to new STYLE_BORDER enums.
11153
111541999-11-08  Jody Goldberg <jgoldberg@home.com>
11155
11156	* ms-excel-read.c (biff_xf_data_new) : Reverse sense on diagonals.
11157
111581999-11-08  Michael Meeks  <mmeeks@gnu.org>
11159
11160	* ms-summary.c (ms_summary_read): quieten.
11161
111621999-11-08  Frank Chiulli  <fchiulli@home.com>
11163
11164	* ms-summary.c :  Added support for DocumentSummaryInformation stream.
11165	  Added new field, ps_id (Property Set ID), to mapping_t structure and
11166	  initialized excel_to_gnum_mapping[] appropriately.
11167
11168	* ms-summary.c (sum_name_to_excel) : New function to convert a summary
11169	  name to a MsOleSummaryPID.
11170
11171	* ms-summary.c (read_summary_items) : Added new argument - psid (Property
11172	  Set ID).  It also checks to see that the summary item is in current
11173	  Summary stream as identified by psid.  Added support for additional
11174	  summary types (boolean, short, time).
11175
11176	* ms-summary.c (ms_summary_read) : Reads DocumentSummaryInformation
11177	  stream and summary items therein.
11178
11179	* ms-summary.c (set_summary_item) : Processes additional summary types
11180	  (boolean, int, short, time).
11181
11182	* ms-summary.c (ms_summary_write) : Now also writes out the
11183	  DocumentSummaryInformation stream.
11184
111851999-11-07  Michael Meeks  <mmeeks@gnu.org>
11186
11187	* boot.c (excel_save): Invert sense of return value to reflect success.
11188
11189	* ms-excel-read.c (biff_name_data_get_name): Move name parsing
11190	back here; we have read all the sheets this time so inter-sheet
11191	references in names work. Add 'inserted' flag (biff_name_data_new):
11192	Kill returning the name + add comment. Add stuff to TODO.
11193
111941999-11-07  Jody Goldberg <jgoldberg@home.com>
11195
11196	* ms-excel-read.c (ms_excel_set_xf) : Remove debug
11197	  statement accidentally left in.
11198
111991999-11-06  Jody Goldberg <jgoldberg@home.com>
11200
11201	* ms-excel-read.c (black_or_white_contrast) : Revert to 50% as a
11202	  contrast boundary (3*0x10000/2) ~= 0x1800
11203
11204	* ms-excel-read.c (ms_excel_get_style_from_xf) : Add more debug
11205	  output, and support 0 as a contrast colour.
11206
112071999-11-05  Jody Goldberg <jgoldberg@home.com>
11208
11209	* ms-excel-read.c (ms_excel_palette_get) : Split the contrast logic
11210	  into a new function
11211	(black_or_white_contrast) : The new function.
11212	(ms_excel_get_style_from_xf) : Add a hand coded table to decide what
11213	  colours to contrast with which while importing.
11214	(biff_xf_data_new) : Fix diagonal border import.
11215	(ms_excel_workbook_detach) : Do not multiply delete a sheet.
11216
11217	* ms-chart.c : Adjust to changes in ms_excel_palette_get.
11218
112191999-11-05  Michael Meeks  <mmeeks@gnu.org>
11220
11221	* ms-excel-read.c (ms_excel_get_style_from_xf): update.
11222
11223	* ms-excel-write.c (write_xf_record): pass MStyle *.
11224	(xf_lookup): ditto.
11225
112261999-11-03  Jody Goldberg <jgoldberg@home.com>
11227
11228	* ms-excel-read.c (excel_map_pattern_index_from_excel) : Adjust map
11229	  from XL pattern index to gnumeric pattern index to swap diag and
11230	  rev-diag.
11231
11232	* ms-excel-read.c (ms_excel_get_style_from_xf) : Set the pattern on
11233	  import.
11234
112351999-10-31  Michael Meeks  <mmeeks@gnu.org>
11236
11237	* ms-excel-write.c (new_sheet): Fix silly bug, rows not cols
11238	for maxy. (write_names): add version precondition.
11239
112401999-10-30  Daniel Risacher  <magnus@alum.mit.edu>
11241
11242	* ms-excel-read.c (biff_get_text): tiny fix to debugging code
11243	(biff_name_data_new): actually return the new data
11244	(biff_name_data_get_name): Moved code that adds names to the
11245	workbook to ms_excel_read_name()
11246	(ms_excel_read_name): Add name definitions to workbook when
11247	definition is read, rather than when used.
11248	Formatting.
11249
11250	* ms-formula-write.c (write_ref): minor change to comply with
11251  	  spec for references.
11252	(write_node): Handle OPER_NAME.
11253	Formatting.
11254
11255	* ms-excel-write.c (write_names): New function.  Writes name
11256	  definitions.  Called from write_workbook().
11257	Formatting.
11258
11259	* ms-excel-write.h: Added names to struct _ExcelWorkbook
11260
112611999-10-30  Michael Meeks  <mmeeks@gnu.org>
11262
11263	* ms-excel-read.c (ms_excel_get_xf): kill const.
11264	(ms_excel_read_cell): initialize range_end.
11265
112661999-10-26  Jody Goldberg <jgoldberg@home.com>
11267
11268	* ms-formula-read.c (FormulaFuncData) : Fix typo for
11269	SERIESNUM -> SERIESSUM.
11270
112711999-10-26  Jukka-Pekka Iivonen  <iivonen@iki.fi>
11272
11273	* ms-formula-read.c (formula_func_data): Fixed the number of
11274 	arguments in GETPIVOTDATA to two.
11275
112761999-10-24  Michael Meeks  <mmeeks@gnu.org>
11277
11278	* ms-excel-read.c (ms_excel_get_style_from_xf): add another ref.
11279
112801999-10-24  Jody Goldberg <jgoldberg@home.com>
11281
11282	* ms-excel-read.c (ms_excel_read_cell:MULBLANK) : pre-merge the XF
11283	  records in a mulblank sequence.  Improves load time.
11284
11285	* ms-excel-read.c (ms_excel_get_style_from_xf) : New function
11286	  split from ms_excel_set_xf.  It calculates and caches the MStyle
11287	  associated with an XF record.
11288
112891999-10-22  Michael Meeks  <mmeeks@gnu.org>
11290
11291	* ms-excel-read.c (ms_excel_palette_get): fix leak.
11292
112931999-10-18  Morten Welinder  <terra@diku.dk>
11294
11295	* ms-formula-read.c (ms_excel_parse_formula): Fix for non-shared
11296 	references to cells below row 256.
11297
11298	* ms-excel-read.c (ms_excel_sheet_insert): Set XF before sheet_cell_fetch
11299	for big speedup. (ms_excel_read_formula): ditto.
11300
113011999-10-19  Michael Meeks  <mmeeks@gnu.org>
11302
11303	* ms-excel-read.c (ms_excel_get_stylefont ms_excel_set_xf): use new
11304	'helper' functions.
11305
113061999-10-08  Jody Goldberg <jgoldberg@home.com>
11307
11308	* ms-excel-read.c : More minor tweaking of adjustment ratios.
11309	  We need some real documentation on this stuff.
11310
11311	* ms-escher.c (ms_escher_get_data) : Use printf instead of
11312	  g_return_if_fail.  It makes it easier to debug when the messages ar
11313	  in line.
11314
11315	* ms-obj.c (ms_read_OBJ) : Print the object type name whenever
11316	  possible.
11317	(ms_obj_read_biff8_obj) : Looks like a PictOpt record in an object
11318	  signifies that the next BIFF record after the OBJ must be an IMDATA.
11319	(ms_obj_parse_anchor) : Move the zoom application back here until we
11320	  split the anchors into distance and cell pairs.  The old code was
11321	  zooming the col/row distances twice.
11322
113231999-10-08  Morten Welinder  <terra@diku.dk>
11324
11325	* ms-formula-read.c (ms_excel_parse_formula): Plug leaks.
11326
113271999-10-03  Jody Goldberg <jgoldberg@home.com>
11328
11329	* boot.c (excel_probe) : Only free the MsOle object if it
11330	  was created successfully.
11331
113321999-10-02  Jody Goldberg <jgoldberg@home.com>
11333
11334	* *.c : Ensure that we include config.h first.
11335
11336	* *.[ch] : Update and add Copyright notices.
11337
113381999-09-29  Jody Goldberg <jgoldberg@home.com>
11339
11340	* ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
11341	  reverse order, to decrease the load on the insert routines.
11342
113431999-09-26  Jody Goldberg <jgoldberg@home.com>
11344
11345	* ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
11346	  XL periodically sends column widths for phantom columns.
11347
113481999-10-19  Morten Welinder <terra@diku.dk>
11349
11350	* ms-formula-read.c (ms_excel_parse_formula): Get row as 16 bit value,
11351	for both AREA_3D and AREA[N].
11352
113531999-10-18  Michael Meeks  <mmeeks@gnu.org>
11354
11355	* ms-excel-read.c (ms_excel_set_xf): Ref count colors correctly.
11356
113571999-10-16  Michael Meeks  <mmeeks@gnu.org>
11358
11359	* ms-excel-read.c (ms_excel_set_cell_font): renamed + kill Cell.
11360	(style_optimize): kill Cell argument.
11361	(ms_excel_set_cell_xf): use style_attach + kill Cell arg. + renamed.
11362	(ms_excel_sheet_insert, ms_excel_read_formula),
11363	(ms_excel_sheet_insert_val): update removing Cell argument.
11364	(ms_excel_sheet_insert_blank): Create.
11365	(ms_excel_read_cell): use insert_blank.
11366
113671999-10-15  Michael Meeks  <mmeeks@gnu.org>
11368
11369	* ms-excel-read.c (ms_excel_set_cell_xf): Update style creation +
11370	only setup border if it non NULL, fixup optimization regions.
11371	(ms_excel_set_cell_font): update + add array argument.
11372	(style_optimize): split out. (ms_excel_read_sheet): Add post-optimize.
11373
113741999-10-13  Michael Meeks  <mmeeks@gnu.org>
11375
11376	* ms-excel-read.c (ms_excel_set_cell_font): New String in style.
11377
113781999-10-11  Michael Meeks  <mmeeks@gnu.org>
11379
11380	* ms-excel-read.c (ms_excel_set_cell_xf): better optimize region
11381	generation.
11382
113831999-10-10  Michael Meeks  <mmeeks@gnu.org>
11384
11385	* ms-excel-read.c (ms_excel_sheet_new): Initialize range.
11386	(ms_excel_set_cell_xf): Add range optimization.
11387	(ms_bug_get_padding): Kill.
11388
11389	* ms-excel-read.h (ExcelSheet): Add style_optimize field.
11390
113911999-10-09  Jody Goldberg <jgoldberg@home.com>
11392
11393	* ms-excel-read.c (ms_excel_set_cell_xf): Adapt to new Border support.
11394
113951999-10-07  Michael Meeks  <mmeeks@gnu.org>
11396
11397	* ms-excel-read.c (ms_excel_set_cell_xf): Large hack to new style
11398	code. (biff_font_data_get_style_font): kill it.
11399	(biff_font_data_new): remove setting up fd->style_font.
11400	(biff_font_data_destroy): kill style_font bits.
11401
114021999-10-03  Jody Goldberg <jgoldberg@home.com>
11403
11404	* boot.c (excel_probe) : Only free the MsOle object if it
11405	  was created successfully.
11406
114071999-09-29  Jody Goldberg <jgoldberg@home.com>
11408
11409	* ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
11410	  reverse order, to decrease the load on the insert routines.
11411
114121999-09-26  Jody Goldberg <jgoldberg@home.com>
11413
11414	* ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
11415	  XL periodically sends column widths for phantom columns.
11416
114171999-10-19  Morten Welinder <terra@diku.dk>
11418
11419	* ms-formula-read.c (ms_excel_parse_formula): Get row as 16 bit value,
11420	for both AREA_3D and AREA[N].
11421
114221999-10-18  Michael Meeks  <mmeeks@gnu.org>
11423
11424	* ms-excel-read.c (ms_excel_set_xf): Ref count colors correctly.
11425
114261999-10-16  Michael Meeks  <mmeeks@gnu.org>
11427
11428	* ms-excel-read.c (ms_excel_set_cell_font): renamed + kill Cell.
11429	(style_optimize): kill Cell argument.
11430	(ms_excel_set_cell_xf): use style_attach + kill Cell arg. + renamed.
11431	(ms_excel_sheet_insert, ms_excel_read_formula),
11432	(ms_excel_sheet_insert_val): update removing Cell argument.
11433	(ms_excel_sheet_insert_blank): Create.
11434	(ms_excel_read_cell): use insert_blank.
11435
114361999-10-15  Michael Meeks  <mmeeks@gnu.org>
11437
11438	* ms-excel-read.c (ms_excel_set_cell_xf): Update style creation +
11439	only setup border if it non NULL, fixup optimization regions.
11440	(ms_excel_set_cell_font): update + add array argument.
11441	(style_optimize): split out. (ms_excel_read_sheet): Add post-optimize.
11442
114431999-10-13  Michael Meeks  <mmeeks@gnu.org>
11444
11445	* ms-excel-read.c (ms_excel_set_cell_font): New String in style.
11446
114471999-10-11  Michael Meeks  <mmeeks@gnu.org>
11448
11449	* ms-excel-read.c (ms_excel_set_cell_xf): better optimize region
11450	generation.
11451
114521999-10-10  Michael Meeks  <mmeeks@gnu.org>
11453
11454	* ms-excel-read.c (ms_excel_sheet_new): Initialize range.
11455	(ms_excel_set_cell_xf): Add range optimization.
11456	(ms_bug_get_padding): Kill.
11457
11458	* ms-excel-read.h (ExcelSheet): Add style_optimize field.
11459
114601999-10-09  Jody Goldberg <jgoldberg@home.com>
11461
11462	* ms-excel-read.c (ms_excel_set_cell_xf): Adapt to new Border support.
11463
114641999-10-07  Michael Meeks  <mmeeks@gnu.org>
11465
11466	* ms-excel-read.c (ms_excel_set_cell_xf): Large hack to new style
11467	code. (biff_font_data_get_style_font): kill it.
11468	(biff_font_data_new): remove setting up fd->style_font.
11469	(biff_font_data_destroy): kill style_font bits.
11470
114711999-10-02  Jody Goldberg <jgoldberg@home.com>
11472
11473	* *.c : Ensure that we include config.h first.
11474
11475	* *.[ch] : Update and add Copyright notices.
11476
114771999-09-29  Jody Goldberg <jgoldberg@home.com>
11478
11479	* ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
11480	  reverse order, to decrease the load on the insert routines.
11481
114821999-09-26  Jody Goldberg <jgoldberg@home.com>
11483
11484	* ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
11485	  XL periodically sends column widths for phantom columns.
11486
114871999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
11488
11489	* ms-excel-read.c (biff_name_data_new): add sheet scope.
11490	(ms_excel_read_name): Use the 2nd 'copy' of idx since its the
11491	only valid one. (biff_name_data_get_name): Create using scope.
11492
114931999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
11494
11495	* Makefile.am: remove the 'ole' test program
11496
11497	* ole.c: Removed, see module libole2 in test/test-ole.
11498
11499	* ms-escher.c (ms_escher_read_ClientData): Remove realize & queue
11500	objects instead. Add precondition on state->sheet.
11501
115021999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
11503
11504	* ole.c (ms_biff_query_next_merge, ms_biff_query_new): inline.
11505
115061999-09-26  Michael Meeks  <michael@nuclecu.unam.mx>
11507
11508	* ms-excel-read.c (ms_excel_read_sheet): return FALSE for
11509	blank sheets: duh. (ms_excel_sheet_destroy): add destroy_objs.
11510	(ms_excel_read_cell): remove const on lastcol.
11511
115121999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>
11513
11514	* Makefile.am (ole_LDADD): use libole2.la
11515
11516	* ms-obj.c (ms_obj_realize): remove object destruction.
11517	(ms_obj_destroy): add. (ms_excel_sheet_destroy_objs): Create.
11518	(ms_excel_sheet_realize_objs): remove list free.
11519
11520	* ms-excel-read.c (ms_excel_read_sheet): add return type
11521	to save possible cock-up. (ms_excel_read_workbook): only
11522	realize objects if loaded OK.
11523
115241999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>
11525
11526	* ole.c (decompress_vba): an idea.
11527	(dump_vba_module): + hooks.
11528
115291999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>
11530
11531	* ole.c (decompress_vba): remove unused + clean headers.
11532
115331999-09-25  Jody Goldberg <jgoldberg@home.com>
11534
11535	* ms-excel-read.c (ms_excel_read_formula) : Improve debug
11536	  printouts, to facilitate match problems cells to inputs
11537	  behaviors.
11538	(ms_excel_read_cell:MULBLANK) : Rework to include last_col
11539	  and simplify logic on iteration. Plus more debug.
11540	(ms_excel_read_cell:RSTING) : More debug.
11541	(ms_excel_read_cell:BIFF_ROW) : Add explicit comment on
11542	  unit -> pixel scaling factor.
11543	(ms_excel_read_cell:BIFF_COLINFO) : Ditto.
11544
11545	* ms-escher.c : Continue work on OPT records.
11546
115471999-09-24  Jody Goldberg <jgoldberg@home.com>
11548
11549	* ms-excel-read.c (ms_excel_read_cell) : Add and document
11550	  point -> pixel scaling for rows and columns.
11551
11552	* ms-excel-read.c (ms_excel_palette_get) : Change my guess
11553	  at what the therhold pseudo-luminosity is.
11554
115551999-09-23  Michael Meeks  <michael@nuclecu.unam.mx>
11556
11557	* ole.c (enter_dir): Change logic.
11558
115591999-09-22  Michael Meeks  <michael@nuclecu.unam.mx>
11560
11561	* ms-excel-write.c (write_bits): Fix TABID.
11562	(write_sheet_tail): Add current selected sheet save & V8 WINDOW2
11563	(write_bits): only save PANEs if we need to.
11564	(write_fonts): always write 5 fonts instead of 4.
11565	(write_xf): Add USESELFS.
11566	(write_sheet): 0x200|INDEX.
11567	(write_sheet_bools): remove -1 from sheet->maxy for V8.
11568
11569	* ole.c (do_biff_raw): Remove stream position to help 'diff'.
11570
11571	* ms-obj.c (ms_obj_realize): Turn off auto-sizing of images to
11572	tango with improved sizing capable image components.
11573
115741999-09-23  Jody Goldberg <jgoldberg@home.com>
11575
11576	* ole.c (dump_vba) : Remove the escher code.  The new version needs to
11577	  much context to be useable at this level.
11578	(enter_dir) : Improve error message, and fix thinko.
11579
11580	* ms-excel-read.c (ms_excel_read_cell) : Fix importing of column
11581	  widths.
11582
11583	* ms-obj.c (ms_obj_realize) : Create a visual placeholder for charts.
11584	  Check for NULL sheet.
11585
11586	* ms-escher.c : Lots more OPT record types.
11587	(ms_escher_read_ClientData) : Only set the blip type
11588	  if we are a picture.
11589
115901999-09-21  Michael Meeks  <michael@nuclecu.unam.mx>
11591
11592	* ms-obj.c (ms_parse_object_anchor): remove zoom.
11593	(ms_obj_realize): Add zoom here.
11594
11595	* ms-excel-read.c (ms_excel_read_sheet): queue objects for later.
11596	(ms_excel_read_workbook): Realise sheet objects after read.
11597	(ms_excel_sheet_new): NULL obj queue ptr.
11598
11599	* ms-obj.c: Add lots of missing cross references.
11600	(ms_excel_sheet_realize_objs): Implement.
11601
116021999-09-21  Jody Goldberg <jgoldberg@home.com>
11603
11604	* ms-excel-read.c (ms_excel_read_workbook) : Prefer 'workbook' to
11605	  'book' so that we use Biff8 for dual stream files.
11606
11607	* ms-obj.c : Add some #ifndef NO_DEBUG_EXCEL
11608
116091999-09-20  Michael Meeks  <michael@nuclecu.unam.mx>
11610
11611	* ms-formula-write.c (formula_cache_new_std): Split.
11612	(get_formula_index): cleaned. (write_funcall): Split from
11613	(write_node): in preparation for more lovely complexity.
11614	(formula_cache_new_ename): create. (write_string): constify
11615	(write_node): Improve integer writing efficiency.
11616
11617	* ms-excel-write.c (write_sheet_bools): Added write.
11618	(biff_put_text): constify. (new_sheet): clean debug.
11619
11620	* ms-formula-write.c (ms_formula_build_pre_data, ms_formula_write_pre_data):
11621	stub.
11622
11623	* ms-excel-write.c (write_workbook): Fix _loads_ of leaks.
11624	(free_sheet): create. (pre_pass): pre-pass of the workbook's sheets.
11625	(pre_cell): Scan cells for interesting things.
11626
11627	* excel.h: remove cache stuff.
11628
11629	* ms-formula-write.h: move it here.
11630
11631	* ms-formula-write.c (get_formula_index, cache_init/shutdown): work
11632	on a per sheet basis.
11633
11634	* boot.c (excel_shutdown, excel_init): remove formula cache.
11635
11636	* ms-excel-write.h: Add formula cache.
11637
11638	* ms-escher.c (ms_escher_read_Blip): Add support for image-generic
11639	for jpeg, move DIB to a safe place.
11640
116411999-09-20  Michael Meeks  <michael@nuclecu.unam.mx>
11642
11643	* ole.c: massive, huge, big clean to new API; ahh that feels good,
11644	add 'help' command. Break escher debug for now.
11645
11646	* Makefile.am: re-enabled 'ole'
11647
11648	* ms-biff.h: removed all mention of quirks.
11649
11650	* ms-biff.c (ms_biff_query_copy): dangerous: removed, clean quirk stuff.
11651
116521999-09-20  Jody Goldberg <jgoldberg@home.com>
11653
11654	* ms-obj.[ch]: Remove a few #if ENABLE_BONOBO checks
11655	  and add an include for sheet-object.h. Improve debug
11656	  info.
11657
116581999-09-20  Jukka-Pekka Iivonen  <iivonen@iki.fi>
11659
11660	* ms-obj.[ch]: Added a few #if ENABLE_BONOBO checks to make it
11661 	compile again.
11662
116631999-09-20  Jody Goldberg <jgoldberg@home.com>
11664
11665	* ms-escher.c (ms_escher_read_ClientData) : Handle unknown object
11666	  types.
11667
11668	* ms-summary.c (set_summary_item) : Made static.
11669
11670	* ms-obj.c (ms_obj_realize) : New function.
11671	(ms_parse_object_anchor) : Ditto.
11672
11673	* ms-excel-read.c (ms_excel_read_workbook) : Use
11674	  ms_obj_realize.
11675	(ms_excel_read_sheet) : Ditto.
11676	(ms_excel_read_formula) : Make reading a string more
11677	  robust, and support length = 0 as a valid string.
11678
116791999-09-19  Michael Meeks  <michael@nuclecu.unam.mx>
11680
11681	* Makefile.am: comment out ole.
11682
11683	* ms-summary.c (sum_name_to_excel): made static.
11684
11685	* ms-excel-write.c (ms_excel_write_workbook): updated.
11686
11687	* ms-excel-read.c (ms_excel_read_workbook): use better API.
11688	(find_workbook): removed.
11689
11690	* ms-biff.c (ms_biff_query_copy): Updated duplicate.
11691
11692	* boot.c (excel_probe, excel_save, excel_load): new ole api.
11693
11694	* ms-excel-write.c (ms_excel_write_workbook): fix leak.
11695
116961999-09-18  Morten Welinder  <terra@diku.dk>
11697
11698	* ole.c (cur_dir, delim): static.
11699
117001999-09-18  Jody Goldberg <jgoldberg@home.com>
11701
11702	* gnumeric-chart.c (gnumeric_chart_destroy) : implement.
11703	(gnumeric_chart_new) : Create.
11704
11705	* ms-chart.c (ms_excel_chart) : Init the chart.
11706	(BC_R(ifmt), BC_R(ai)) : Handle invalid/missing formats.
11707
11708	* ms-escher.c : More radical changes to support just in time
11709	  merging.  This seems to solve the last of the problems of which
11710	  records to merge and which not.  Everything seems to add up.
11711	(ms_escher_parse) : Enable by default.
11712
11713	* ms-excel-read.c (ms_excel_workbook_destroy) : Release blips on
11714	  exit.
11715
117161999-09-17  Jody Goldberg <jgoldberg@home.com>
11717
11718	* ms-excel-read.c (ms_excel_workbook_get_sheet) : Make extern.
11719
117201999-09-15  Frank Chiulli  <fchiulli@home.com>
11721
11722	* plugins/excel/boot.c (excel_save): Add a call to ms_summary_write
11723	(ms-summary.c) to write out the SummaryInformation stream.
11724
11725	* plugins/excel/ms-summary.h: Make ms_summary_write public.
11726
11727	* plugins/excel/ms-summary.c (ms_summary_write, sum_name_to_excel,
11728	set_summary_item): New routines to support writing the
11729	SummaryInformation stream.
11730
117311999-09-17  Michael Meeks  <michael@nuclecu.unam.mx>
11732
11733	* ole.c (main, do_draw, dump_escher): dump raw data.
11734
117351999-09-17  Jody Goldberg <jgoldberg@home.com>
11736
11737	* ms-escher.c : Adjust const.
11738	(ms_escher_read_ClientAnchor) : Yahoo!  figured out object placement !!
11739	(ms_escher_read_OPT) : Some cleanup of the property names.
11740
117411999-09-16  Michael Meeks  <michael@nuclecu.unam.mx>
11742
11743	* ms-excel-read.c (ms_excel_read_sheet): add sheet param to _get_drawing
11744	(ms_excel_read_workbook): ditto & init 'eschers' to NULL.
11745
11746	* ms-obj.c (ms_obj_read_text): add sheet param to _get_drawing
11747
11748	* ms-chart.c (BC_W): ditto.
11749
11750	* ms-escher.c (ms_escher_hack_get_drawing): Add Sheet param.
11751	(escher_record_new_blip, escher_record_destroy, ms_escher_read_Blip),
11752	(ms_escher_read_ClientAnchor): Hack up image loading.
11753	include config.h
11754
11755	* ms-excel-read.h (_ExcelWorkbook): Add eschers list.
11756
117571999-09-16  Jody Goldberg  <jgoldberg@home.com>
11758
11759	* ms-escher.c (ms_escher_read_CLSID, ms_escher_read_ColorMRU,
11760		ms_escher_read_SplitMenuColors) : Initial implementation.
11761	(ms_escher_read_Spgr) : Add names of Shapes.
11762	(ms_escher_read_ClientAnchor) : Wild guess at what the format is.
11763	(ms_escher_read_OPT) : Start naming some of the properties.
11764	(ms_escher_read_SpgrContainer) : be very careful.
11765
117661999-09-15  Jody Goldberg  <jgoldberg@home.com>
11767
11768	* ms-escher.c : Massive re-org.
11769	* ms-obj.c (ms_obj_read_text_impl) : Export, and improve warning
11770	  message for TXO.
11771	(ms_obj_read_text_impl) : The drawing will read the TXO.
11772
117731999-09-12  Michael Meeks  <michael@nuclecu.unam.mx>
11774
11775	* ms-excel-write.c (write_sheet_bools): write grid-lines & margins &
11776	scads of other bits.
11777
11778	* ms-excel-read.c (ms_excel_read_sheet): Add preconditions & load
11779	print info for grid-lines, & scads of other stuff. (margin_read): Create.
11780
117811999-09-11  Michael Meeks  <michael@nuclecu.unam.mx>
11782
11783	* ms-excel-write.c (write_value): Clean unused 'head'
11784	(write_sheet_tail): Add zoom factor write.
11785
11786	* ms-excel-read.c (ms_excel_read_sheet): Add BIFF_SETUP decode.
11787	Add Zoom factor reading, add lots of printing records & debug dumps.
11788
117891999-09-08  Jody Goldberg <jgoldberg@home.com>
11790
11791	* ms-excel-read.c : Add selection.h
11792
117931999-09-08  Michael Meeks  <michael@ximian.com>
11794
11795	* README: More random thoughts to pass the time of day.
11796
117971999-09-05  Jody Goldberg <jgoldberg@home.com>
11798
11799	* ms-excel-write.c (write_value) : Always use mode 2 for ints.
11800	  Add a comment to the write float code suggesting an extension to use
11801	  mode 3 for doubles with only 2 digits after the decimal.
11802
118031999-08-26  Michael Meeks  <michael@ximian.com>
11804
11805	* ms-escher.c (biff_to_flat_data): Added back the full conditions
11806	on merging drawing groups.
11807
11808	* ole.c (dump_escher): Realised it is a vanillaish container.
11809
11810	* ms-escher.c (BSE_new): Fix silly buglets.
11811	(esh_header_new, esh_header_next): prettyify;
11812	(ms_escher_read): Update length type.
11813
118141999-08-25  Michael Meeks  <michael@ximian.com>
11815
11816	* ms-escher.c (esh_header_next): re-order for clarity.
11817	(BSE_new): Fiddling with bits: thanks to Caolan.
11818
118191999-08-25  Jukka-Pekka Iivonen  <iivonen@iki.fi>
11820
11821	* ms-formula-read.c (formula_func_data): Fixed the number of
11822 	arguments in ISPMT to four.
11823
118241999-08-20  Michael Meeks  <michael@ximian.com>
11825
11826	* ms-formula-write.c (get_formula_index): Added a comment about
11827	Excel's add-in formula names.
11828
118291999-08-17  Michael Meeks  <michael@ximian.com>
11830
11831	* ms-excel-read.[ch]: Remove sheet blank bit.
11832
11833	* ms-chart.c (BC_R): Remove sheet->blank reference.
11834
118351999-08-16  Jody Goldberg <jgoldberg@home.com>
11836
11837	* ms-formula-write.c (write_node) : Add OPER_PERCENT
11838	* ms-formula-read.c (ms_excel_parse_formula) : Ditto.
11839
11840	* ms-obj.c : Make less verbose.
11841
11842	* ms-excel-read.c : Add several new biff-types and do more
11843	  checking for 'odd-balls' with most significant byte == 1.
11844	  Disable the 'blank sheet' optimization for now to avoid memory
11845	  errors when a 'blank' sheet gets put into the externsheet hash.
11846
118471999-08-16  Jody Goldberg <jgoldberg@home.com>
11848
11849	* ms-formula-write.c (write_node) : correct typo.
11850	  We can now write & read samples/logfuns.xls without
11851	  loosing formulas or values.
11852
118531999-08-15  Jody Goldberg <jgoldberg@home.com>
11854
11855	* ms-excel-write.c (write_value) : Add support for VALUE_BOOLEAN,
11856	  VALUE_ERROR, VALUE_EMPTY.
11857	(write_formula) : Ditto.
11858	* ms-formula-write.c (write_node) : Ditto.
11859
118601999-08-15  Morten Welinder  <terra@diku.dk>
11861
11862	* ms-excel-read.c (ms_excel_read_workbook): First use, then
11863 	destroy.
11864
118651999-08-13  Michael Meeks  <michael@ximian.com>
11866
11867	* ole.c (enter_dir): Major re-work, to use paths.
11868
118691999-08-12  Jody Goldberg <jgoldberg@home.com>
11870
11871	* ms-formula-read.c (ms_excel_parse_formula) :
11872	FORMULA_PTG_PERCENT is expr/100 not expr*100.
11873	(excel_builtin_formats) : Correct typo.
11874
118751999-08-09  Miguel de Icaza  <miguel@gnu.org>
11876
11877	* boot.c (excel_load): Changed calling conventions.
11878
11879	* ms-excel-read.c (ms_excel_read_workbook): Adjusted to use the
11880	new file-open convention
11881
118821999-08-08  Michael Meeks  <michael@ximian.com>
11883
11884	* ole.c (dump_vba_module): Kill leak & fix logic.
11885	(dump_vba): destroy correct directory.
11886
118871999-08-06  Michael Meeks  <michael@ximian.com>
11888
11889	* ole.c (list_files): Fix so it shows directories...
11890	(get_file_handle, list_files, really_put, main): Use current_directory.
11891	(enter_dir): Implemented 'cd' command
11892	(do_copyout: Implemented splitting (really_get): from (do_get).
11893	(dump_vba): Started.
11894
118951999-08-05  Michael Meeks  <michael@ximian.com>
11896
11897	* ms-summary.c (ms_summary_read): Trivial fix to kill warning.
11898
118991999-08-02  Jody Goldberg <jgoldberg@home.com>
11900
11901	* ms-obj.c (ms_obj_read_pre_biff8_obj) : New function to catch
11902          charts.
11903	(ms_obj_read_obj) : Use ms_obj_read_pre_biff8_obj.
11904
11905	* ms-excel-read.c (ms_excel_read_cell) : Catch use of chart
11906          records when we expect a cell.
11907	(ms_excel_read_formula) : Clarify error message.
11908	(biff_name_data_new) : Partial support for local vs global names.
11909	(biff_name_data_get_name) : Reformat to improve readability.
11910	(ms_excel_read_formula) : Ditto.
11911
11912	* ms-chart.c (ms_excel_biff_dimensions) : Don't print unless
11913          we're debugging.
11914
11915	* ms-obj.c (ms_obj_read_biff8_obj) : Don't print checkbox link
11916          unless we're debugging.
11917
119181999-07-30  Jody Goldberg  <jgoldberg@home.com>
11919
11920	* ms-excel-read.c (ms_excel_read_error) : Delete
11921          (ms_excel_read_cell) : Use VALUE_ERROR, and VALUE_EMPTY.
11922	  (ms_excel_read_selection) : Split out into separate function.
11923
11924	* ms-formula-read.c (ms_excel_parse_formula,
11925          make_function) : VALUE_ERROR.
11926
119271999-07-31  Morten Welinder  <terra@diku.dk>
11928
11929	* ms-excel-read.c (ms_excel_read_formula): Kill warning that is no
11930 	longer valid.
11931	(ms_excel_read_error): Fix leak that I introduced.
11932
119331999-07-31  Michael Meeks  <michael@edenproject.org>
11934
11935	* ms-excel-read.c (biff_get_text): Hacked to deal with continues
11936	nicely.
11937	(ms_excel_read_workbook): Fixed up nasty version stuff.
11938	Commented out ms_bug_padd stuff.
11939
11940	* ms-biff.[ch]: Commented out all padding and quirks stuff.
11941
119421999-07-30  Michael Meeks  <michael@edenproject.org>
11943
11944	* ms-excel-read.c (ms_excel_read_formula): quiet wierd
11945	warning... why is this suddenly prevalent.
11946
119471999-07-28  Michael Meeks  <michael@edenproject.org>
11948
11949	* ms-excel-write.c (biff_put_text): kill warnings.
11950
11951	* ms-escher.c (read_DgContainer, SpgrContainer_new): ditto.
11952
11953	* ms-biff.c (ms_biff_put_var_next): Remove padding, daft,
11954	(ms_biff_put_set_quirk): ditto.
11955	(ms_biff_query_peek_next): Implemented.
11956
11957
119581999-07-28  Michael Meeks  <michael@edenproject.org>
11959
11960	* ms-biff.c (no_quirks, ms_biff_query_new):
11961	New quirk support :-)
11962	(ms_bug_get_padding): Moved into ms-excel-read.c
11963	(ms_biff_put_var_next, ms_biff_merge_continues): Cleaner quirk stuff.
11964	(ms_biff_put_set_quirk): I pray this is never used =)
11965	(ms_biff_put_new, ms_biff_put_var_next): Quirky.
11966
119671999-07-28  Jody Goldberg  <jgoldberg@home.com>
11968
11969	* ms-excel-read.c (ms_excel_read_cell) : Correct the error message
11970          for SST overflow.
11971
119721999-07-27  Jody Goldberg  <jgoldberg@home.com>
11973
11974	* ms-excel-read.c (ms_excel_read_supporting_wb) : Make this
11975          quieter, and add some comments explaining that we have no idea
11976          what this does or how it works.
11977
119781999-07-26  Jody Goldberg  <jgoldberg@home.com>
11979
11980	* ms-chart.c (BC_R(chartline)) : More state checking.
11981	  (BC_R(legend)) : Implement.
11982	  (BC_R(series)) : Store series in chart objects.
11983	  (ms_excel_biff_dimensions) :
11984
11985	* ms-obj.c : Closer ties with ms-escher.c.
11986
11987	* ms-formula-read.c : Changes for VALUE_ERROR. COUNTBLANK
11988	  takes 1 argument.
11989
119901999-07-26  Michael Meeks  <michael@edenproject.org>
11991
11992	* ms-summary.c (ms_summary_read): Update to ms_ole_summary_close.
11993
11994	* ole.c (do_summary): ditto.
11995
11996	* ms-excel-read.c (ms_excel_read_workbook): Comment out
11997	dependencies freeze/thaw.
11998
11999	* ms-excel-write.c (write_cell): Update to new PP code.
12000
12001	* ms-excel-read.c (find_workbook): Remove ms_ole_directory_new.
12002	(biff_name_data_get_name): Update to new PP code.
12003
12004	* ole.c (get_file_handle, list_files): ditto.
12005
120061999-07-25  Michael Meeks  <michael@edenproject.org>
12007
12008	* ms-excel-read.c (ms_excel_read_workbook): Add freeze / thaw
12009	dependencies.
12010
120111999-07-22  Michael Meeks  <michael@edenproject.org>
12012
12013	* ole.c: Major summary hack, cleaned old cruft & made beautiful.
12014
12015	* ms-summary.c: Re-write to use new summary stuff in libole2.
12016
120171999-07-19  Michael Meeks  <michael@edenproject.org>
12018
12019	* *.[ch]: Big macro prettify. Moved biff type handling macros into
12020	libole2/ms-ole.h, and renamed:
12021		s/BIFF_GET_GUINT/MS_OLE_GET_GUINT/g
12022		s/BIFF_SET_GUINT/MS_OLE_SET_GUINT/g
12023
120241999-07-14  Michael Meeks  <michael@edenproject.org>
12025
12026	* ms-summary.c: Big clean, quiet and sensible handling of
12027	errors.
12028
12029	* boot.c (excel_load): Put summary call back in.
12030	Add excel_read_debug, dump summary info if > 0
12031
120321999-07-13  Michael Meeks  <michael@edenproject.org>
12033
12034	* Makefile.am: Added ms-summary.[ch]
12035
12036	* ms-summary.[ch]: Created.
12037
12038	* boot.c (excel_load): Add summary hook.
12039	Update comments
12040
120411999-07-13  Jody Goldberg  <jgoldberg@home.com>
12042
12043	* ms-excel-read.c (ms_excel_read_formula): Improve handling of failure
12044	  cases to ensure that we set the values and formats even if formulas
12045	  get confused.
12046	(ms_excel_formula_shared): Back out change to set value on error.
12047	(ms_excel_get_xf) : 0 and 15 may be defaults but we now have their
12048	  records so no need to treat them specially.  Seems to be no need
12049	  to check for StyleXF vs CellXF...
12050	(ms_excel_set_cell_xf) : It may be the default but we have the XF data
12051	  for it now so USE IT.
12052	(biff_name_data_new, biff_name_data_destroy) : Const add flag to
12053	  log NAME vs EXTERNNAME.
12054	(biff_name_data_get_name) : Remove vile hack for 1 vs 0 based names.
12055	(ms_excel_read_name) : More version madness.
12056	(BIFF_BOF) : More detailed version info.
12057
12058	ms-formula-read.c : ARRRGGGGHHHHH!  both NAME and NAME_X are 1 based.
12059	(PTG_NAME) : Different versions, very different sizes.
12060
120611999-07-13  Michael Meeks  <michael@edenproject.org>
12062
12063	* ms-excel-read.c (ms_excel_formula_shared): Fixup previous patch.
12064	(ms_excel_read_formula): Re-arrange logic.
12065	(ms_excel_set_cell_xf): Add check on 'xf' back in ...
12066
120671999-07-11  Michael Meeks  <michael@edenproject.org>
12068
12069	* ms-excel-read.c (ms_excel_read_formula): Catch NULL cell->text
12070	(ms_excel_formula_shared): Check on cell... & add position to debug.
12071	(ms_excel_sheet_append_comment): Add paranoid blank text setting.
12072
120731999-07-13  Jody Goldberg  <jgoldberg@home.com>
12074
12075	* ms-excel-read.c (ms_excel_read_workbook SST) : Zero sized strings use
12076	  3 bytes (length + header) not 2.
12077	(ms_excel_read_cell LABELSST) : Blank strings should have value
12078	  wrappers.
12079	(ms_excel_parse_formula) : Support missing trailing args for
12080	  builtin functions.
12081
12082	* ms-formula-read.c : Keep stack by prepending and popping, rather
12083	  than appending.
12084	(INDEX) : correct missing number of args.
12085
120861999-07-12  Jody Goldberg  <jgoldberg@home.com>
12087
12088	* ms-excel-read.[ch] : Remove XF_style_records.  All XF records are
12089	  kept in one list.  The fixes the indexing problems we've been
12090	  having with XF records. No more XF_MAGIC_OFFSET !!
12091	(biff_name_data_get_name) : Pre-Biff5 seems to use 0 based names, post
12092	  seems to be 1 base ??  Check this.
12093
12094	* ms-formula-read.c (excel_formula_build_dummy_handler) : New function.
12095	(make_function) : split out from here and used for external and builtin
12096	  functions.
12097	(MATCH) : correct the number of arguments.
12098	(ms_excel_parse_formula) : The size of the array is stored at the end
12099	  too.  This fixes formulas with multiple arrays.
12100
12101	* *.[ch] make the data streams const while reading.
12102
121031999-07-12  Jody Goldberg  <jgoldberg@home.com>
12104
12105	* ms-excel-read.c (biff_name_data_get_name) : Off by one error in the
12106	  range check.  Improve debug notification when something bad happens.
12107	(ms_excel_get_xf) : Improve debug messages to help find the problem
12108	  with xf indicies in old files.
12109
121101999-07-12  Jody Goldberg  <jgoldberg@home.com>
12111
12112	* ms-chart.c : More record types.
12113
12114	* ms-escher.c : More record types.
12115
12116	* ms-excel-read.c (ms_excel_formula_shared) : For some reason XL
12117	  periodicly :
12118	    - creates a shared formula
12119	    - declares its use in a range
12120	    - then doesn't use it in the upper left corner of the range
12121	    - and refers to the formula by a different cell in the range ??
12122	(BIFF_PRECISION) : remove dump, and #if 0, for now until gnumeric
12123	    supports this.
12124
121251999-07-11  Jody Goldberg  <jgoldberg@home.com>
12126
12127	* ms-excel-read.c (biff_font_data_new) : don't delay creation of
12128	  style_font.
12129        (ms_excel_get_font) : new function split from.
12130	(ms_excel_set_cell_font) : here.
12131	(ms_excel_get_xf) : new function split from.
12132	(ms_excel_set_cell_xf) : here.
12133	(biff_xf_data_new) : don't delay setting the style_format.
12134	(BIFF_COLINFO) : Attempt to use the XF->font->height as a proxy for
12135	  charwidth ??  Anyone have a better idea ?
12136
121371999-07-10  Jody Goldberg  <jgoldberg@home.com>
12138
12139	* ms-excel-read.c : BIFF_COLINFO adjust in charwidth magic number to
12140	  produce column widths that match my screenshot.
12141
12142	* TODO: updated.
12143
121441999-07-10  Michael Meeks  <michael@edenproject.org>
12145
12146	* ms-formula-read.c (formula_func_data): Fix REPT = 2 args,
12147	add VDB = var arg.
12148
12149	* ms-excel-read.c (biff_get_externsheet_name): Silly but fatal bug
12150	a child could spot: written by yours truly :-)
12151
121521999-07-09  Jody Goldberg  <jgoldberg@home.com>
12153
12154	* ms-obj.c : Conditionalize the debug info for text objects.
12155
121561999-07-09  Miguel de Icaza  <miguel@gnu.org>
12157
12158	* ms-excel-write.c (biff_put_text): Intiialize variable.
12159
121601999-07-09  Jody Goldberg  <jgoldberg@home.com>
12161
12162	* ms-chart.c (BC_R(chart)) : Correctly handle the fixed point
12163	  sizes.
12164	(BC_R(ai)) : Figure the missing link association is bubbles.
12165
121661999-07-09  Jody Goldberg  <jgoldberg@home.com>
12167
12168	* ms-chart.c : Actually make a series object !  After finding another
12169	  Excel documentation error.
12170
12171	* ms-obj.c : Conditionalize a debug printout.
12172
12173	* ms-excel-read.c (biff_name_data_get_name) : Indicies are ONE based.
12174
121751999-07-09  Michael Meeks  <michael@edenproject.org>
12176
12177	* ms-excel-read.c (ms_excel_read_workbook): Update this with
12178	Jody's changes, hope I didn't lose anything.
12179
12180	* ms-biff.c (ms_biff_query_next_merge): Add test for valid
12181	length before reading.
12182
121831999-07-08  Jody Goldberg  <jgoldberg@home.com>
12184
12185	* libole2/ms-ole.[ch] (dump) : constify.
12186
12187	* ms-chart.[ch] : Prepare to handle Charts not associated with a sheet.
12188	Add more record types, improve debug messages.  Begin connection
12189	to 'escher' stuff for gelframes.  Stubs for real chart SERIES objects.
12190	Support for Text Objects.
12191
12192	* ms-excel-read.c : Ditto.  Include cleanups.
12193	Some debug level rationalization.
12194	(ms_excel_externname) : Combine Biff7&8 use biff_get_text.
12195
12196	* ms-escher.[ch] : Start looking at this to parse the CHART_GELFRAME
12197	  record.  Clear out the massive accumulation of includes.
12198
12199	* ms-excel-biff.h : Include cleanups.
12200
12201	* ms-obj.[ch] : Include cleanups.
12202	    Versioned the object record parsing (Currently only Biff8).
12203	    (ms_obj_read_biff8_obj) : New function with more error checking.
12204	    (ms_obj_read_text_object) : New function to read text objects.
12205
12206	* ole.c : Print biff types in hex to match documentation.
12207
122081999-07-09  Michael Meeks  <michael@edenproject.org>
12209
12210	* ms-excel-read.c: Major warning cleaning offensive.
12211	(ms_excel_read_workbook): Hush CodePage, DSF, EOF & clean style.
12212	(ms_excel_read_sheet): Hush WINDOW2
12213	(ms_excel_read_name): Hush spurious newlines.
12214	(ms_excel_read_supporting_wb): Hush now, be a good little function.
12215
12216	* boot.c (excel_load): ditto.
12217
12218	* TODO: updated.
12219
12220	* ms-formula-read.c: s/PARSE_LIST/ParseList/
12221	Update a few stylistic bits...
12222
122231999-07-08  Michael Meeks  <michael@edenproject.org>
12224
12225	* ms-excel-read.c (ms_excel_read_formula): Turn error into
12226	warning.
12227
12228	* ms-excel-write.c (biff_put_text): Fiddled, this needs serious
12229	fixing ...
12230
12231	* ms-excel-read.c (biff_name_data_get_name): Removed daft
12232	debug churning out.
12233
122341999-07-08  Michael Meeks  <michael@edenproject.org>
12235
12236	* ms-excel-read.h (_ExcelWorkbook): Removed internal_names and
12237	comments.
12238
12239	* ms-excel-write.c (write_bits): Merged write_constants
12240	into this + add 'wb' parameter.
12241	(write_bits): Add TABID, DSF records.
12242	Add PROT4REV, PROT4REVPASS.
12243	(write_fonts): Changed put_text from eBiffV7, AS_PER_VER.
12244
12245	* ms-excel-read.c (ms_excel_read_workbook): Update DFS -> DSF
12246
12247	* biff-types.h (BIFF_DSF): Mod. from DFS.
12248
122491999-07-08  Michael Meeks  <michael@edenproject.org>
12250
12251	* ms-formula-read.c (ms_excel_parse_formula): Add magic 0x17
12252	for special undocumented 'Addin Name' support.
12253
122541999-07-07  Michael Meeks  <michael@edenproject.org>
12255
12256	* ms-excel-read.c (ms_excel_read_name): Fix crucial bug
12257	in name_def_data calc.
12258	(ms_excel_read_name): Removed all 'internal_names' stuff.
12259
122601999-07-06  Michael Meeks  <michael@edenproject.org>
12261
12262	* ms-formula-read.c (ms_excel_parse_formula): PTG_NAME:
12263	use biff_name_data_get_name; fixups: Jody don't do this, this
12264	was all on the Names branch !
12265
12266	* ms-excel-read.c (biff_name_data_new): Changed to take Workbook
12267	not sheet, updated to use GPtrArray.
12268	(biff_name_data_get_name): Changed to return ExprTree.
12269	(biff_name_data_destroy): Updated.
12270	(ms_excel_workbook_destroy): Remove old name hash table stuff.
12271	(ms_excel_read_name): Fix memory leak before Morten gets there :)
12272	use biff_name_data_new.
12273	(ms_excel_read_name): Allocate name.
12274	(ms_excel_get_name): Culled.
12275
12276	* ms-excel-read.h (_ExcelWorkbook): Changed name_data to GPtrArray
12277	Changed _name_get_data to return ExprTree.
12278
12279	* ms-formula-read.c (getRefV7): Removed ExcelSheet * parameter.
12280	cleaned function indenting.
12281	(getRefV8): Ditto. + update all references.
12282	s/cell_name(/cell_name (
12283	s/sheet->wb/wb/
12284
12285	* ms-chart.c (BC_R): Updated parse_formula.
12286
12287	* ms-formula-read.c (ms_excel_parse_formula): s/sheet->ver/wb->ver/
12288	updated all calls to itself to add 'wb'.
12289
12290	* ms-excel-read.c (ms_excel_workbook_new): Setup 'ver'
12291	(ms_excel_read_workbook): Update call.
12292
12293	* ms-excel-read.h (_ExcelWorkbook): Add 'ver' field.
12294
12295	* ms-excel-read.c: Updated all ms_excel_parse_formulae: this
12296	isn't as balmy as it seems... we should only be using the sheet
12297	data where we need to as Names have no associated sheet.
12298
12299	* ms-formula-read.c (ms_excel_parse_formula): Add workbook.
12300
12301	* ms-formula-read.h (ms_excel_parse_formula): ditto.
12302
123031999-07-06  Jody Goldberg  <jgoldberg@home.com>
12304
12305	* ms-excel-biff.h : remove _eBiff_wrap.
12306
12307	* ms-excel-read.c : replace _eBiff_wrap with a boolean.
12308	(ms_excel_set_cell_xf) : Send xf->wrap.
12309	(excel_map_pattern_index_from_excel) : New function.
12310	(biff_xf_data_new) : Used here.
12311
123121999-07-06  Michael Meeks  <michael@edenproject.org>
12313
12314	* ms-excel-read.c (ms_excel_read_name): Fix up Names definition
12315	offset, start to manually merge name stuff.
12316
12317	* ole.c: Fix summary reading code: works now, try it on a
12318	SummaryInformation stream.
12319
123201999-07-05  Jody Goldberg  <jgoldberg@home.com>
12321
12322	* ms-formula-read.c : Improve debug messages a bit.
12323	(FORMULA_PTG_NAME) : initial stub implemetation.
12324	(make_function) : The dodgy special case seems to apply to functions
12325	  with no arguments too.
12326
12327	* ms-excel-read.c : Rework handling of Shared/Array formulas.
12328	  They must follow a FORMULA record and come before a STRING
12329	  record if the cell contains a string.  The upper left corner
12330	  of shared formulas, and all of arrays now format correctly.
12331	  (EXTERNNAME) : Rework the handling to apply to biff7 and biff8.
12332	  Still only reading the names, not connecting them for real.
12333
123341999-07-05  Morten Welinder  <terra@diku.dk>
12335
12336	* ms-excel-read.c (biff_shared_formula_new): Constify.  Copy data
12337 	because it seems it can be freed underneath us.
12338	(biff_shared_formula_destroy): Consequently free data.
12339	(ms_excel_workbook_destroy): Free global strings.
12340	(ms_excel_palette_destroy): Fix leak.
12341
12342	* ms-excel-read.c (ms_excel_read_supporting_wb): Warning killer.
12343	(ms_excel_read_workbook): Ditto.  Fill in some code page info.
12344	(ms_excel_read_cell): Ditto.
12345
12346	* ms-biff.c (biff_getdouble): Re-instate the "BYTE" in
12347 	G_BYTE_ORDER...
12348	(biff_getdouble): Constify.
12349
123501999-07-04  Michael Meeks  <michael@edenproject.org>
12351
12352	* ms-formula-read.c (formula_func_data): Fixed ISREF, ISPMT.
12353
12354	* ms-excel-write.c (write_mulblank): Add 0x200 to BLANK
12355
12356	* biff-types.h (BIFF_PASSWORD): convert back from
12357	PASSguint16 :-)
12358
12359	* ms-formula-write.c (write_arrays): Fix memory leak.
12360
12361	* ms-excel-read.c (ms_excel_read_formula): Add S59DE9 reference.
12362
12363	* ms-excel-write.c (write_cell): Updated constant so formulae get
12364	evaluated correctly.
12365	(write_formula): Split out complexity, Added STRING result storage.
12366
12367	* ms-formula-write.c (write_string): Un-dofus the string writing
12368	fix Excel crash on any formula string.
12369
12370	* ms-excel-write.c (write_cell): Fixup always calc. & on load,
12371	don't seem to be needed.
12372	Implement class specifiers throughout where needed.
12373
12374	* ms-formula-write.c (OP_*): Helper macros for getting the class
12375	right on each PTG.
12376
12377	* formula-types.h: Added class defines.
12378
12379	* ms-excel-write.c (write_sheet_bools): Removed magic 0x44 from
12380	last byte of BIFF_COLINFO. Commented out GCW: unnecessary and
12381	wrong.
12382	(write_window1): Fiddled with the magic numbers.
12383	(write_sheet_bools): Add 0x200 to DEFAULTROWHEIGHT.
12384	(write_sheet): ditto to INDEX.
12385
123861999-07-03  Michael Meeks  <michael@edenproject.org>
12387
12388	* ms-formula-write.c (ms_excel_write_formula): Added critical
12389	magic 3 padding bytes s Array's are saved properly.
12390
12391	* ms-excel-write.c (write_sheet): Size optimisation for blank
12392	rows.
12393
123941999-07-02  Michael Meeks  <michael@edenproject.org>
12395
12396	* ole.c (syntax_error): Update help.
12397	(read_records, dump_summary, do_summary): Start of summary info
12398	reading.
12399	(do_biff_raw): Cleaned unused var.
12400	(esh_header_contained): commented out.
12401
124021999-07-02  Michael Meeks  <michael@edenproject.org>
12403
12404	* ms-formula-read.c: more stylistic fiddling on great
12405	new debug stuff from Jody...
12406
12407	* *.[ch]:
12408	s/MsOle_SEEK_SET/MsOleSeekSet/g
12409	s/MsOle_SEEK_CUR/MsOleSeekCur/g
12410	s/ms_ole_seek_t/MsOleSeek/g
12411	s/MsOle_PPS_STORAGE/MsOlePPSStorage/g
12412	s/MsOle_PPS_STREAM/MsOlePPSStream/g
12413	s/MsOle_PPS_ROOT/MsOlePPSRoot/g
12414	s/PPS_TYPE/PPSType/g
12415	s/ms_ole_pos_t/MsOlePos/g
12416
124171999-07-02  Jody Goldberg  <jgoldberg@home.com>
12418
12419	* ms-chart.c : Stylistic consistancy.
12420	s/BIFF_CHART_WRITER/ExcelChartWriter/g
12421	s/BIFF_CHART_READER/ExcelChartReader/g
12422	s/BIFF_CHART_HANDLER/ExcelChartHandler/g
12423	s/GUPPI_CHART_STATE/GuppiChartState/g
12424	s/BIFF_CHART_STATE/ExcelChartState/g
12425	s:\([^/]\)\* :\1*:g
12426
124271999-07-02  Michael Meeks  <michael@edenproject.org>
12428
12429	* *.[ch]: Much stylistic fiddling:
12430	s/MS_EXCEL_SHEET/ExcelSheet/g
12431	s/MS_EXCEL_WORKBOOK/ExcelWorkbook/g
12432	s/BIFF_BOUNDSHEET_DATA/BiffBoundsheetData/g
12433	s/BIFF_SHARED_FORMULA_KEY/BiffSharedFormulaKey/g
12434	s/BIFF_SHARED_FORMULA/BiffSharedFormula/g
12435	s/MS_EXCEL_PALETTE/ExcelPalette/g
12436	s/BIFF_FONT_DATA/BiffFontData/g
12437	s/BIFF_EXTERNSHEET_DATA/BiffExternSheetData/g
12438	s/BIFF_FORMAT_DATA/BiffFormatData/g
12439	s/BIFF_QUERY/BiffQuery/g
12440	s/BIFF_PUT/BiffPut/g
12441	s/GETBYTE/GET_GUINT8/g
12442	s/GETWORD/GET_GUINT16/g
12443	s/GETDLONG/GET_GUINT64/g
12444	s/GETLONG/GET_GUINT32/g
12445	s/BYTE/guint8/g
12446	s/WORD/guint16/g
12447	s/LONG/guint32/g
12448	s/MS_OLE_STREAM/MsOleStream/g
12449	s/MS_OLE_DIRECTORY/MsOleDirectory/g
12450	s/MS_OLE/MsOle/g
12451
12452	* ms-excel-read.c: Large bout of indenting / formatting
12453	updates, sorry if you have patches ...
12454
124551999-07-02  Michael Meeks  <michael@edenproject.org>
12456
12457	* boot.c: Added 'main.h' to include debug symbol.
12458
124591999-07-02  Michael Meeks  <michael@edenproject.org>
12460
12461	* ms-excel-read.c (ms_excel_read_workbook): Actually
12462	insert the workbook_destroy at the end ( Huge leak ).
12463
124641999-07-01  Michael Meeks  <michael@edenproject.org>
12465
12466	* ms-excel-write.c (ms_excel_write_get_externsheet_idx):
12467	Stubbed.
12468	(write_cell): More, verbose debug.
12469	(write_index): shut it up.
12470	(write_sheet): Fix a rather serious logic error that was
12471	loosing us cells.
12472	(write_sheet): Added error message for huge sheets... needs
12473	more cunning indexing code.
12474
12475	* ms-formula-write.c (write_cellref_v[78]): Fixed
12476	order of relative col/row bits. Implemented latter.
12477	(write_ref): Implemented BiffV8 support.
12478	(write_string): Added MISSARG support.
12479	(write_area): Implemented BiffV8 support, and
12480	3D area support.
12481
12482	* ms-formula-write.c (write_node): Split out
12483	(write_ref): attempted to implement inter-sheet
12484	references.
12485
12486	* ms-excel-write.c (ms_excel_write_get_sheet_idx):
12487	Created.
12488
124891999-07-01  Morten Welinder  <terra@diku.dk>
12490
12491	* boot.c: Clean out an incredible accumulation of #includes.
12492
124931999-07-01  Jody Goldberg  <jgoldberg@home.com>
12494
12495	* formula-types.h : Add some missing ptg types.
12496
12497	* ms-excel-read.c : ms_excel_read_debug, ms_excel_formula_debug,
12498	    ms_excel_color_debug, ms_excel_chart_debug.  Declare and use these
12499	    to allow command line control so that we can ask remote users for
12500	    debug info.
12501	  (excel_builtin_formats) : Correct some typos.
12502	  (ms_excel_read_formula) : Document errors in Excel SDK.
12503	  (ms_excel_get_name) : Handle workbook local names. (stub)
12504	  (ms_excel_read_name) : re-enable with name lookup. not connected yet.
12505
12506	* ms-excel-read.h : Add internal_names to workbook.
12507	(ms_excel_get_name) : declare.
12508
12509	* ms-formula-read.c : switch to new debug scheme.
12510	  More verbose warnings for errors so we don't ignore them.
12511	  (FORMULA_PTG_NAME) : Partial implementation until I have time to look
12512	  at the branch.
12513	  (FORMULA_PTG_PERCENT) : Guess at this one.
12514	  Begin to handle 'extended' ptgs.  Very minimal docs.
12515
125161999-07-01  Michael Meeks  <michael@edenproject.org>
12517
12518	* ms-formula-write.c (ms_formula_cache_init),
12519	(ms_formula_cache_shutdown, cache_remove):
12520	Implemented.
12521
12522	* excel.h: Added formula_cache functions.
12523
12524	* boot.h (excel_init): Added excel_shutdown
12525
12526	* boot.c (excel_shutdown): Created.
12527
125281999-07-01  Michael Meeks  <michael@edenproject.org>
12529
12530	* ms-formula-write.c (write_string): Created
12531	Implemented throughout for simplicity.
12532
12533	* ms-excel-write.c (biff_put_text): Expanded to allow
12534	more flexible string writing.
12535
12536	* ms-excel-write.h: Added type to specify string write.
12537
12538	* ms-formula-write.c: All biff_put_text's write length
12539	correctly.
12540	Implemented Area PTGs
12541
12542	* ms-excel-read.c (ms_excel_read_formula): Fix silly
12543	bug with broken formulae.
12544
12545	* ms-biff.c (ms_biff_put_var_seekto): Added seekto
12546	API for fiddly biff types.
12547
12548	* ms-excel-write.c (biff_put_text): Made external
12549
12550	* ms-formeula-write.c: Created.
12551
125521999-06-30  Michael Meeks  <michael@edenproject.org>
12553
12554	* ms-formula-read.c (ms_excel_parse_formula): Updated
12555	Operation handling for new structure ( array ).
12556
12557	* ms-excel-read.c (biff_get_global_string): Removed.
12558
12559	* ms-formula-read.c: Updated func_data, and
12560	formula_op_data for Miguel and correctness.
12561	Cleaned FORMULA_NO_PRECEDENCE.
12562
12563	* excel.h: Move and rename FormulaFuncData.
12564
12565	* ms-excel-write.c: Moved structures to header.
12566	Renamed all structures to make Miguel happy.
12567
12568	* Makefile.am: Added ms-formula-write.[ch]
12569
125701999-06-30  Michael Meeks  <michael@edenproject.org>
12571
12572	* ms-formula-read.h: Split out types.
12573
12574	* formula-types.h: Imported from above.
12575
12576	* ms-excel-write.c (write_value): Fix LABEL versioning.
12577
125781999-06-30  Michael Meeks  <michael@edenproject.org>
12579
12580	* ms-excel-write.c:(write_value): Hard-coded
12581	version stuff onto NUMBER & RK.
12582	(write_xf_record): Added hack to produce
12583	identical XF table to test case.
12584	(write_rowinfo): Added 0x200
12585	(write_sheet_bools): ditto to DIMENSIONS.
12586
125871999-06-30  Jody Goldberg  <jgoldberg@home.com>
12588
12589	* biff-types.h : Add some undocumented BIFF types, move INDEX,
12590	  DEFAULTROWHEIGHT into lsb territory.
12591
12592	* ms-excel-read.c (ms_excel_palette_new) : Correct debug messages.
12593	(ms_excel_palette_get) : Improve debug messages, and assume that
12594	  0, 64, 127 are all contrast states.
12595	(ms_excel_set_cell_colors) : Tail merge with ms_excel_set_cell_xf,
12596	  handle special case of fill-pattern=0.  Now all the color sheets
12597	  look OK !! Next step, patterns.
12598	(ms_excel_read_formula, ms_excel_read_boolerr) : Read current values so
12599	  we can set styles.  Empty strings are undocumented :-(
12600	(ms_excel_read_cell) : Handle array formulas.
12601	(ms_excel_read_sheet, ms_excel_read_workbook) : Add some unhandled
12602	  record types so that we can start to enable state checking.
12603	(ms_excel_unexpected_biff) : New function for warning about state.
12604	(biff_xf_data_new) : Don't map pattern types as if they were borders.
12605
12606	* ms-formula-read.c (make_function) : Generate a dummy handler for
12607	  unknown functions.
12608	  (unknownFunctionHandler) : A dummy handler returning NAME for unknown
12609	  functions.
12610
12611	* ms-chart.c : Use ms_excel_unexpected_biff, handle some
12612	  undocumented codes, and fill in more record types.
12613
126141999-06-30  Michael Meeks  <michael@edenproject.org>
12615
12616	* ms-excel-write.c (write_sheet_bools): Updated
12617	BIFF_COLINFO.
12618	(write_value): Fixed up write_value to handle
12619	numbers more correctly.
12620	(write_window1): fixed WINDOW1 magic numbers.
12621	(write_formats): Updated format's upper bits.
12622	(write_sheet_tail): Mended broken selection.
12623
126241999-06-29  Michael Meeks  <michael@edenproject.org>
12625
12626	* ms-excel-write.c (write_sheet_tail): Updated
12627	magic selection. Added magic GCW.
12628	(write_constants): Update to help debugging; I'm
12629	not really an egotist.
12630	(write_formats): Added constants from air.
12631	(write_index): Correct to absolute index.
12632	Fix all mis-alignments of streamPos read ( lots ).
12633	(biff_bof_write): Return streamPos to help with
12634	realignment.
12635
12636	* ole.c (do_biff_raw): Added position readout.
12637
126381999-06-29  Michael Meeks  <michael@edenproject.org>
12639
12640	* ms-excel-write.c (biff_boundsheet_write_last): Use
12641	correct type.
12642	Added streamPos to Workbook for INDEX calcs.
12643	(write_index): Implemented.
12644	(write_sheet): Added write_index, and necessary bits.
12645
12646	* ms-excel-read.c (biff_nasty_font_check_function):
12647	removed, wonderful !
12648	(biff_font_data_get_style_font): Updated & cleaned.
12649
126501999-06-28  Michael Meeks  <michael@edenproject.org>
12651
12652	* ms-excel-write.c (write_formats): Write some magic
12653	standard number formats.
12654
126551999-06-27  Michael Meeks  <michael@edenproject.org>
12656
12657	* ms-excel-read.c: excel_builtin_formats: Populated with
12658	NULL's in sensible places to clean maintainability.
12659
12660	* ms-formula-read.c (ms_excel_parse_formula): Add fix for
12661	broken array formulae causing infinite loop.
12662
12663	* ms-excel-read.c (ms_excel_read_cell): Fix Morten's fatal
12664	cock-up in value_new_string (NULL).
12665
12666	* ms-excel-write.c (write_mulblank): Implemented.
12667	(write_sheet): Started to get DBCELL / Index type code in
12668	place.
12669	Cleaned nasty cell hash iterator, and closure. We now rely
12670	on the optimal handling of max_col/row_used in the sheet.
12671
12672	* ms-excel-read.c (ms_excel_read_cell): Insert blank into
12673	the correct column, not just the same one all the time.
12674
12675	* ms-excel-write.c (write_palette): Write default palette.
12676
12677	* ms-excel-read.c: Externalised default palette, and format
12678	data.
12679
12680	* excel.h: ditto.
12681
126821999-06-25  Michael Meeks  <michael@edenproject.org>
12683
12684	* ms-excel-read.c: Minor fiddles setting blank flag in some new
12685	places, and types changed to gboolean.
12686
12687	* ms-excel-read.h (_MS_EXCEL_SHEET): changed 'blank' to gboolean.
12688
126891999-06-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
12690
12691	* ms-excel-read.c (biff_font_data_get_style_font): Use
12692	style_font_ref here instead of creating a new font.
12693
126941999-06-22  Morten Welinder  <terra@diku.dk>
12695
12696	* ms-excel-read.c (biff_get_rk): Handle negative ints and ints/100
12697 	right.  Thanks to Jody for finding this.
12698
126991999-06-21  Morten Welinder  <terra@diku.dk>
12700
12701	* ms-formula-read.c (make_function): Handle constant symbols.
12702
12703	* ms-excel-read.c (ms_excel_read_cell): Insert bools as values,
12704	not constant expressions.
12705	(biff_get_text): Make a little more quiet.
12706	(ms_excel_read_cell): Insert strings as values, not via text.
12707
12708	* ms-excel-read.c (ms_excel_read_cell): Handle errors and boolean
12709 	constants without going through text.  (In particular, this gets
12710 	errors right and prepares for a proper bool type.)
12711
12712	* ms-formula-read.c (ms_excel_parse_formula): Fix error constants.
12713
127141999-06-21  Michael Meeks  <michael@edenproject.org>
12715
12716	* ms-excel-read.c (ms_excel_read_cell): Remove Jody's
12717	check against NULL pointers, insert_form handles them.
12718
12719	* ms-chart.c (BC_R): make call to dump_tree conditional
12720
12721	* ms-excel-write.c (write_sheet_bools): Various fixes.
12722	(write_value): Change RSTRING -> LABEL
12723
12724	* README (TODO): Updated.
12725
12726	* ms-excel-write.c (write_externsheets): Fix for single sheet
12727	workbooks.
12728	(write_formats): Write the format index code!
12729	(write_sheet_bools): Divide default col width by 16
12730
12731	* ms-excel-write.h (ms_excel_write_workbook): Cleaned and fixed
12732	header.
12733
127341999-06-21  Jody Goldberg  <jgoldberg@home.com>
12735
12736 	* biff-types.h : Move NAME from 218 -> 18, rename Chart biff types to
12737 	lower case to facilitate decls.
12738 	* ms-biff.[ch] (dump_biff) : export.
12739 	* ms-excel-read.[ch] : (ms_biff_bof_data_new, ms_biff_bof_data_destroy)
12740 	export.
12741 	* ms-formula-read.c : Improve handling of array formulas.
12742 	* ms-obj.c : Adjust signatures, and split chart handling into its own
12743 	file.
12744 	* ole.c : Count BACKWARDS to allow BIFF types with high bytes to
12745 	override those with only low bytes specified.
12746 	* Makefile.am : Add ms-chart.
12747 	* ms-chart.[ch] : New files.  No real functionality.  60% complete.
12748
127491999-06-17  Michael Meeks  <michael@edenproject.org>
12750
12751	* ms-formula-read.c (formula_func_data): Fixed up, should work
12752	again.
12753
127541999-06-17  Morten Welinder  <terra@diku.dk>
12755
12756	* ms-formula-read.c (make_function): Yet another leak fix.
12757
12758	* ms-formula-read.c (expr_tree_unary): Obsolete.  Use
12759 	expr_tree_new_unary instead.
12760	(expr_tree_cellref): Obsolete.  Use expr_tree_new_var instead.
12761	(expr_tree_value): Obsolete.  Use expr_tree_new_constant instead.
12762	(expr_tree_string): Simplify.
12763	(ms_excel_parse_formula): Use expr_tree_string.  Use
12764 	expr_tree_new_binary.
12765	(make_function): Use expr_tree_new_funcall.  Fix leak.
12766
12767	* ms-excel-read.c (ms_excel_read_name): Don't print null pointers.
12768	(ms_excel_read_workbook): Ditto.
12769
127701999-06-17  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12771
12772	* ms-formula-read.c (formula_func_data): LOG, ROMAN, TRUNC, and
12773 	BETADIST made var args.
12774
127751999-06-17  Michael Meeks  <michael@edenproject.org>
12776
12777	* ms-formula-read.c (make_function): Added debug.
12778	(formula_func_data): Expand comments.
12779
127801999-06-17  Jody Goldberg  <jgoldberg@home.com>
12781
12782	* ms-formula-read.c (formula_func_data): Fixed some
12783	minor errors.
12784
127851999-06-16  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12786
12787	* ms-formula-read.c (formula_func_data): SUMIF made var args.
12788
127891999-06-15  Morten Welinder  <terra@diku.dk>
12790
12791	* ms-formula-read.c (ms_excel_parse_formula): Handle bools.  Plug
12792 	leak.
12793	(make_function): Plug leak.
12794
12795	* ms-excel-read.c (biff_font_data_get_style_font): Supply correct
12796 	size when initialising.
12797	(biff_nasty_font_check_function): Revert last change.  Extra
12798 	parameter ptsize.
12799
128001999-06-15  Jody Goldberg  <jgoldberg@home.com>
12801
12802	* ms-formula-read.c (formula_func_data): Repopulate using xlcall.h and
12803	reading the docs for each function to deduce the number of args.
12804
128051999-06-14  Morten Welinder  <terra@diku.dk>
12806
12807	* ms-excel-read.c (biff_nasty_font_check_function): Load fontset,
12808 	not font.
12809	(biff_font_data_get_style_font): Make sure size constraints don't
12810 	conflict.
12811
128121999-06-15  Michael Meeks  <michael@edenproject.org>
12813
12814	* ms-excel-read.c (biff_font_data_get_style_font): Add check
12815	for NULL font name; return default font.
12816
128171999-06-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12818
12819	* ms-formula-read.c (formula_func_data): LOG, ROMAN, and TRUNC
12820 	made var args.
12821
128221999-06-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12823
12824	* ms-formula-read.c (formula_func_data): PRODUCT, ROUNDDOWN,
12825 	ROUNDUP, SUBTOTAL, SUMSQ, and SUMIF fixed.  SUMX2MY2 and SUMX2PY2
12826 	added but they don't work (I don't know why?).
12827
128281999-06-13  Michael Meeks  <michael@edenproject.org>
12829
12830	* ms-excel-read.c (ms_excel_set_cell_colors): Remove identical color
12831	warning. This is a useful bug at the moment.
12832
128331999-06-13  Jody Goldberg  <jgoldberg@home.com>
12834        * ms-excel-read.c (biff_get_error_text) : Use new global error strings.
12835        (ms_excel_default_palette) : New function.
12836        (ms_excel_palette_new) : Colors are stored
12837                    <DontCare><Blue><Green><Red>
12838            rather than
12839                    <DontCare><Red><Green><Blue>
12840        (ms_excel_palette_get) : Clone bytes to scale colors, begin to
12841        handle more of the 'special' color indices and guess that indices
12842        are offset by 8.
12843        (ms_excel_palette_destroy) : Don't delete the default palette.
12844        (ms_excel_set_cell_colors) : Don't filter too many bits, support
12845        initial contrast methods.
12846        (ms_excel_set_cell_font) : Ditto.
12847        (ms_excel_set_cell_xf) : Ditto.
12848        (biff_xf_data_new) : Default palette to internal palette.
12849
128501999-06-12  Michael Meeks  <michael@edenproject.org>
12851
12852	* ms-excel-read.c (ms_excel_read_supporting_wb):
12853	Renamed from _WB.
12854	(ms_excel_read_name): Remove buggy names assert.
12855
128561999-06-11  Jody Goldberg  <jgoldberg@home.com>
12857
12858        * biff-types.h: Add some missing types as defined in
12859        the Excel 97 Developers kit.  Begin coverage of Chart specific records.
12860        Improve documentation of 'odd-ball' entries and collsions in the low
12861        order numbering scheme.
12862
12863        * ms-obj.c (ms_obj_read_obj) : Remove unused sheet param
12864        to facilitate support for Workbook level objects.  Extend known object
12865        types.
12866        * ms-obj.h (ms_obj_read_obj) : Ditto.
12867
12868        * ms-obj.c (ms_chart_biff_read) : Initial experimental
12869        harness for excel charts.
12870        * ms-obj.h (ms_chart_biff_read) : Ditto.
12871
12872        * ms-excel-read.c (biff_name_data_new) : Take Workbook instead of sheet.
12873            (ms_biff_unknown_code) : New function split out from.
12874            (ms_excel_read_workbook) : Here.
12875            (ms_excel_read_name) : New function split out from.
12876            (ms_excel_read_cell) : Here.
12877            (ms_excel_externname): New function split out from
12878            (ms_excel_read_cell) : Here.
12879            (ms_excel_read_supporting_WB) : New function.  Will probably
12880            split up in the future when the filename encoding is clarified.
12881            (ms_excel_read_workbook) : Precheck for odd-balls and chart types.
12882            Add hooks for other fields.
12883
128841999-06-09  Michael Meeks  <michael@edenproject.org>
12885
12886	* ms-excel-read.c (ms_excel_read_workbook): Added version
12887	printout.
12888	(ms_excel_set_cell_colors): More debug.
12889	(biff_font_data_new): Added strange truncation of font
12890	color_idx.
12891	(ms_excel_palette_get): >= 0.
12892
128931999-06-08  Michael Meeks  <michael@edenproject.org>
12894
12895	* ms-formula-read.c (formula_func_data): correct DAYS360,
12896	add TIMEVALUE.
12897
128981999-06-07  Michael Meeks  <michael@edenproject.org>
12899
12900	* ms-formula-read.c (formula_func_data): Fix ATAN2 -> PI
12901
129021999-06-02  Michael Meeks  <michael@edenproject.org>
12903
12904	* ms-formula-read.c (ms_excel_parse_formula): Elucidate
12905	error messages.
12906	(ms_excel_parse_formula): clean debug.
12907	(formula_func_data): Fix COUNT and BETADIST.
12908
129091999-06-01  Michael Meeks  <michael@edenproject.org>
12910
12911	* ms-excel-write.c (write_sheet_bools): Added yet more
12912	magic numbers.
12913	(write_sheet_tail): Implemented WINDOW2, SELECTION as
12914	magic.
12915	(ms_excel_write_workbook): Fix silly big dimension block.
12916
12917	* boot.c (excel_init): Put Excel 95 on by default.
12918
12919	* ms-excel-write.c (write_bits): Added WINDOW1 bit.
12920	(write_fonts): Add slight difference in duplicate fonts.
12921	(write_xf_record): Added more fields.
12922
129231999-05-31  Michael Meeks  <michael@edenproject.org>
12924
12925	* ms-excel-write.c (biff_bof_write): Fixed _major_
12926	bug in BOF writing.
12927	(write_xf_record): Version fix.
12928	(write_bits): Lots of silly little records.
12929	(write_workbook): Write bits.
12930	(write_sheet_bools): Added lots of flags.
12931	(write_sheet): Added sheet_bools.
12932
12933	* boot.c (excel_init): Changed 98->97 in text.
12934
12935	* ms-excel-write.c (write_workbook): Fix serious list
12936	bug freeing list then using it !
12937
129381999-05-30  Michael Meeks  <michael@edenproject.org>
12939
12940	* ms-excel-write.c: Changed to biff_put_commit
12941	throughout.
12942	(write_fonts): Added more magic numbers.
12943
12944	* ms-biff.c (ms_biff_put_commit): Added, and made
12945	other commits static.
12946
12947	* ms-excel-write.c: Indenting fixes.
12948	(write_constants): CODEPAGE support.
12949	(write_workbook): Added missing write_xf call.
12950
129511999-05-30  Nick Lamb <njl98r@ecs.soton.ac.uk>
12952
12953	* ms-formula-read.c (getRefV8, getRefV7): Fix shared
12954	formulae absolute references.
12955
129561999-05-28  Michael Meeks  <michael@ximian.com>
12957
12958	* ms-excel-write.c: Minimal Pallete / XF writing.
12959	Basic font writing.
12960	(biff_put_text): Horrendous bug fixed.
12961	(write_magic_interface): Magic...
12962
129631999-05-26  Michael Meeks  <michael@ximian.com>
12964
12965	* biff-types.h: Fleshed out defines, now the 'compatible'
12966	staroffice file is dumped nicely.
12967
12968	* ole.c (read_types): Added fudge in case files are nearby.
12969
12970	* ms-excel-write.c (ms_excel_write_workbook): Force Big
12971	Block file.
12972	(write_value): Set vesion on biff_put_text for RSTRING to V7.
12973
129741999-05-24  Michael Meeks  <michael@ximian.com>
12975
12976	* ole.c (main): Added 'debug' option to dump allocation.
12977
129781999-05-21  Nick Lamb <njl98r@ecs.soton.ac.uk>
12979
12980	* ms-formula-read.c: Lots of new formulae translations.
12981
129821999-05-20  Michael Meeks  <michael@ximian.com>
12983
12984	* ole.c (main): Change ole_new to ole_open.
12985	(list_files): Added assertion.
12986
12987	* boot.c (excel_load): Same.
12988
129891999-05-19  Michael Meeks  <michael@ximian.com>
12990
12991	* ole.c (main): Add New OLE file creation support.
12992
12993	* ms-excel-read.c (ms_excel_set_cell_xf): Cleaned silly
12994	debug.
12995
129961999-05-19  Jukka-Pekka Iivonen  <iivonen@iki.fi>
12997
12998	* ms-formula-read.c (formula_func_data): LOGNORMDIST and NORMSDIST
12999 	fixed.
13000
130011999-05-17  Michael Meeks  <michael@ximian.com>
13002
13003	* ms-formula-read.c (formula_func_data): Function data from
13004	Luke Plant.
13005
13006	* ms-biff.h: Add biff_setdouble prototype.
13007
13008	* ms-excel-read.c: Updated commenting.
13009
13010	* ms-biff.c (ms_bug_get_padding): Quietened.
13011	Implemented 'tell' throughout
13012	(ms_biff_put_var_commit): Fixed seeking over end.
13013
130141999-05-16  Michael Meeks  <michael@ximian.com>
13015
13016	* ms-excel-write.c (biff_put_text): Fix silly assertion.
13017
13018	* ms-excel-read.c: Added debug to reading side,
13019	Cleaned conditional debug to use #defines
13020
13021	* ms-excel-write.c (write_sheet): Save a number in each
13022	sheet to stop their destruction.
13023
13024	* ms-excel-biff.h: Added helper set row,col,xf macros.
13025
13026	* ms-biff.c (ms_biff_put_var_commit): Fixed.
13027	Added streamPos setting on commit.
13028
13029	* ms-excel-write.c: Large updates.
13030
130311999-05-16  Michael Meeks  <michael@ximian.com>
13032
13033	* ms-formula-read.c (make_function): Allow fn_idx == 0
13034	add translation for RANK.
13035
130361999-05-15  Michael Meeks  <michael@ximian.com>
13037
13038	* ms-excel.[ch] -> ms-excel-read.[ch],
13039
13040	* ms-formula.[ch] -> ms-formula-read.[ch]
13041
13042	* All files includes updated to obey above.
13043
13044	* ms-biff.c (ms_biff_put_new): Implemented,
13045	(ms_biff_put_destroy): Implemented.
13046	Various other functions updated / fixed.
13047
13048	* ms-excel-write.c (ms_excel_write_workbook): Change stream name
13049	depending on the version.
13050	Close streams / directory entries correctly.
13051	(write_workbook): Created.
13052
130531999-05-15  Michael Meeks  <michael@ximian.com>
13054
13055	* Makefile.am: stop 'ole' being installed.
13056
130571999-05-15  Michael Meeks  <michael@ximian.com>
13058
13059	* ms-formula.c (ms_excel_parse_formula): Cleaned debug.
13060
13061	* boot.c (excel_init): Added write hooks.
13062	(excel_save_95, excel_save_98, excel_save): Created.
13063
130641999-05-14  Michael Meeks  <michael@ximian.com>
13065
13066	* ms-formula.c (ms_excel_parse_formula): Finaly got the ARRAY
13067	docs sorted, deciphered inconsistancies etc.
13068
130691999-05-14  Michael Meeks  <michael@ximian.com>
13070
13071	* ms-formula.c (ms_excel_parse_formula): Implemented V7. 3D refs
13072	and 3D Area references.
13073	(make_inter_sheet_ref_v7): Created to deal with V7 references.
13074
13075	* ole.c (really_put): Changed to ms_ole_get_root.
13076
13077	* ms-excel-biff.h: moved biff_version to 'excel.h'.
13078
13079	* *.c: Re-ordered includes.
13080
13081	* ms-excel-write.c (ms_excel_write_workbook): Fleshed out.
13082
13083	* ms-biff.c (biff_put*): Fleshed out.
13084
13085	* ms-biff.h (BIFF_SET_GUINT*): Added BIFF setting macros.
13086
130871999-05-13  Michael Meeks  <michael@ximian.com>
13088
13089	* ms-formula.c (ms_excel_parse_formula): Updated Array support.
13090
13091	* ms-excel.c (ms_excel_set_cell_colors): Kills colors where
13092	backgnd & foregnd are same, needs pattern stuff to work
13093	before it can be fixed.
13094	(ms_excel_palette_get): Sorted special idx=64 color & added
13095	sanity check.
13096
130971999-05-13  Michael Meeks  <michael@ximian.com>
13098
13099	* ms-biff.h (ms_biff_query_next): Macrofied.
13100
13101	* ms-biff.c (ms_bug_get_padding): Routine to overcome
13102	nastiness in MS' flawed implementation of CONTINUE records.
13103	(ms_biff_query_next_merge, ms_biff_merge_continues),
13104	(ms_biff_query_unmerge): Add padding corrective.
13105
131061999-05-12  Michael Meeks  <michael@ximian.com>
13107
13108	* ms-biff.h: Major overhaul, added some fields to be implemented.
13109	Added stubs for new BIFF write-side.
13110
13111	* ms-biff.c (biff_setdouble): Implemented.
13112
13113	* ms-excel.c (ms_excel_read_cell): BIFF_NUMBER: Removed last
13114	vestige of nasty number->text->number sillyness.
13115
13116	* Makefile.am (libexcel_a_SOURCES): Added excel.h,
13117	ms-excel-write.[ch].
13118
13119	* boot.c (excel_load): Updated name & headers.
13120
13121	* ms-excel.c (ms_excel_write_workbook): Stubbed.
13122
13123	* ms-excel.h: Split out excel specifics into smaller header.
13124	Renamed functions to remove nasty mixed case.
13125
131261999-05-12  Michael Meeks  <michael@ximian.com>
13127
13128	* ole.c (main): Add check on ptr to fix NULL pointers getting
13129	to strcasecmp.
13130	(do_copyin): Added mass-copy in/out function.
13131
131321999-05-10  Michael Meeks  <michael@ximian.com>
13133
13134	* ms-excel.c (ms_excel_read_sheet): Added new
13135	workbook_focus_sheet stuff.
13136
131371999-05-10  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>
13138
13139	* Makefile.am (INCLUDES): Use -I$(srcdir)/libole2 instead of
13140	-Ilibole2 to allow srcdir!=builddir.
13141
131421999-05-09  Michael Meeks  <michael@ximian.com>
13143
13144	* ms-formula.c (make_function): More useful debug.
13145	Added Database function translation.
13146
131471999-05-08  Michael Meeks  <michael@ximian.com>
13148
13149	* ole.c (do_get, do_put): Sill fread/write no brainer.
13150	(main): Less verbose.
13151
13152	* README: Updated to list more useful options.
13153
131541999-05-08  Michael Meeks  <michael@ximian.com>
13155
13156	* ms-biff.c (ms_biff_query_copy): Updated to use new
13157	global ms_ole_stream_copy.
13158
13159	* Makefile.am: Split out 'ole' program, added libole2
13160	subdir. Added ms-biff.c.
13161
13162	* libole2/ Created, moved ole.c, ms-ole.[ch] there.
13163
131641999-05-08  Michael Meeks  <michael@ximian.com>
13165
13166	* ole.c (main): Large re-structure, split out into smaller
13167	functions.
13168
13169	* ms-formula.c (ms_excel_parse_formula): Hack at ARRAY
13170	functionality...
13171
13172	* ms-excel.c (ms_excel_sheet_set_comment): Fix for setting
13173	comments on blank cells; was fatal.
13174
131751999-05-07  Michael Meeks  <michael@ximian.com>
13176
13177	* ms-formula.c (ms_excel_parse_formula): Fixed horrible bug
13178	in PTG_ATTR, not stopping on duff attr.
13179
13180	* ms-excel.c (ms_excel_read_cell): Cleans to ARRAY_FORMULA.
13181
131821999-05-06  Michael Meeks  <michael@ximian.com>
13183
13184	* ms-ole.c (ms_biff_query_new, ms_biff_merge_continues)
13185	Better merge support.
13186
13187	* ms-biff.h (_BIFF_QUERY): Added merge count
13188
131891999-05-06  Michael Meeks  <michael@ximian.com>
13190
13191	* ms-excel.c (ms_excelReadWorkbook): Added freeze /
13192	thaw redraws for speed.
13193
13194	* ms-escher.c (OPT_new): Expanded.
13195	(BStoreContainer_destroy): Added debug.
13196
13197	* ole.c: Updated functions from ms-escher.c
13198	(main): Correctly skip over previously merged stuff.
13199
132001999-05-05  Michael Meeks  <michael@ximian.com>
13201
13202	* ms-formula.c (parse_list_push_raw): Cleaned debug.
13203	(parse_list_push): Added (different) debug.
13204	(formula_func_data): Fixed comments.
13205	(duplicate_formula): Removed.
13206
132071999-05-05  Michael Meeks  <michael@ximian.com>
13208
13209	* ms-excel.c (ms_excel_read_cell): Updated debug.
13210	(ms_excel_sheet_insert_val): Fixed prototype.
13211
13212	* ms-formula.c (expr_tree_unary): Added helper fn.
13213	(ms_excel_parse_formula): Added +/- unary op. loading.
13214	Remove redundant guff from formula_op_data.
13215
13216	* ms-formula.h: Removed FORMULA_ARRAY_DATA: redundant.
13217	Added PTG_U_PLUS, PTG_U_MINUS.
13218
132191999-05-04  Morten Welinder  <terra@diku.dk>
13220
13221	* ms-excel.c (ms_excel_workbook_new): Fix argument list.
13222
132231999-05-02  Michael Meeks  <michael@ximian.com>
13224
13225	* ms-excel.c (biff_get_externsheet_name): Converted to return
13226	a Sheet *
13227	(ms_excel_sheet_shared_formula): Returns ExprTree.
13228	(biff_boundsheet_data_new): Added EXCEL_SHEET * to BOUNDSHEET_DATA
13229	this really needs rationalising !
13230	Fixed all things that use ms_formula stuff...
13231
13232	* ms-formula.c: The most comprehensive re-write of the entire
13233	formula parsing structure. 80% + of code changed. Now smaller,
13234	cleaner, meaner, leaner ... and featuring all your favorite bugs.
13235
132361999-05-02  Michael Meeks  <michael@ximian.com>
13237
13238	* ms-excel.c (biff_xf_data_destroy): Changed prototype.
13239	(ms_excel_workbook_destroy, ms_excel_workbook_new),
13240	(ms_excel_set_cell_xf, biff_xf_data_new):
13241	Updated XF to GPtrArray, this saves a hash lookup per cell.
13242	(ms_excel_workbook_new): excel_sheets -> GPtrArray
13243	(ms_excel_workbook_attach): Drasticaly simplified
13244	(ms_excel_sheet_set_index): Removed.
13245
13246	* ms-excel.h (_MS_EXCEL_WORKBOOK): Changed XF hashes
13247	to PtrArray's for speed & elegance.
13248
132491999-05-02  Michael Meeks  <michael@ximian.com>
13250
13251	* ms-excel.c (ms_excel_read_sheet): Add check before
13252	ms_excel_sheet_destroy.
13253	(ms_excel_read_sheet): Cleaned debug, and made it nicer.
13254	(ms_excel_workbook_detach): Fixed semantics of workbook_detach
13255	and plug large memory leak.
13256
132571999-05-02  Michael Meeks  <michael@ximian.com>
13258
13259	* ms-formula.c (ms_excel_parse_formula): Removed annoying
13260	debug killing performance.
13261
13262	* ms-excel.c (ms_excel_sheet_insert_val): Created.
13263	(biff_get_rk): Removed impossible clause.
13264	Returns a Value now for speed; also increases accuracy.
13265	(ms_excel_read_cell): BIFF_RK, BIFF_MULRK: Removed nasty
13266	buffer and ugly printf.
13267	(ms_excel_sheet_insert): Made static, & removed from .h
13268
132691999-04-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13270
13271	* ms-ole.c (ms_ole_new): Applied patch from Michael Meeks to allow
13272	opening of excel files in read-only mode.
13273
132741999-04-29  Michael Meeks  <michael@edenproject.org>
13275
13276	* ms-ole.c (ms_ole_new): Revert to read-only mapping on failure.
13277	(MW: there has got to be a reason why we don't start that way.)
13278
132791999-04-29  Morten Welinder  <terra@diku.dk>
13280
13281	* ms-excel.c (ms_excel_workbook_detach): Add new extra parameter
13282 	to workbook_detach_sheet.
13283
132841999-04-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13285
13286	* ms-excel.c (ms_excel_workbook_detach): Check the return value of
13287	workbook_detach_sheet.
13288	(ms_excel_read_sheet): If detaching fails, there is a dependency.
13289
13290Tue Apr 20 16:34:38 1999  Morten Welinder  <terra@diku.dk>
13291
13292	* ms-obj.c (ms_obj_read_obj): Initialise type.
13293
132941999-04-19  Morten Welinder  <terra@diku.dk>
13295
13296	* ms-excel.c (biff_get_rk): Fixed up mask on eIEEE.
13297
132981999-04-19  Michael Meeks  <michael@edenproject.org>
13299
13300	* ms-escher.c (read_DgContainer): Removed redundant
13301	debug.
13302
13303	* ms-ole.c (ms_biff_merge_continues): Silly ordering
13304	bug fix. And memory leak removed.
13305
13306	* ms-excel.c (ms_excelReadWorkbook): Silly string table
13307	length bug. Wehn we truncate, cut the length as well.
13308
13309	* ole.c (syntax_error): Updated help.
13310	(main): [old] added 'biffraw'
13311
133121999-04-19  Morten Welinder  <terra@diku.dk>
13313
13314	* ms-formula.c (ms_excel_parse_formula): Fix for
13315	strings: use quotes.
13316
13317	* ms-excel.c (ms_excel_sheet_append_comment): Fix.
13318	(biff_font_data_get_style_font): removed assert, and
13319	use g_snprintf
13320	(ms_excelReadWorkbook): Removed duff
13321	comments, and some debug.
13322
133231999-04-19  Michael Meeks  <michael@edenproject.org>
13324
13325	* ms-biff.h (_BIFF_QUERY): Set length to guint32
13326	(BIFF_GETLONG): Added various casts.
13327
13328	* ms-ole.c (ms_ole_read_ptr_bb, ms_ole_read_ptr_sb):
13329	Re-enabled, and fixed silly bug.
13330	(dump): the 'int' type behaves very strangely.
13331
133321999-04-18  Michael Meeks  <michael@edenproject.org>
13333
13334	* ms-ole.c: Rather important fixes. How did it ever
13335	work before !.
13336
133371999-04-18  Michael Meeks  <michael@edenproject.org>
13338
13339	* ms-ole.c, ms-ole.h: MASSIVE hack. invalidates
13340	pretty much all the previous ole changelog entries.
13341	(dump): Updated type.
13342
13343	* ms-excel.c (ms_biff_bof_data_new): Removed assert.
13344	(biff_get_externsheet_name): Removed assert.
13345	(ms_excel_parse_formula): Commented out array support.
13346
133471999-04-18  Michael Meeks  <michael@edenproject.org>
13348
13349	* ms-excel.c (ms_excel_workbook_new): Added flag so
13350	only reads first group & merges rest.
13351
13352	* ms-escher.c (biff_to_flat_data): Improved merge
13353	heuristic.
13354
133551999-04-18  Michael Meeks  <michael@edenproject.org>
13356
13357	* ms-escher.c (bse_type_to_name): Created.
13358	(bse_type_to_name): Created.
13359	(BSE_new): Updated.
13360	(esh_header_contained): Moved duplicated code
13361	into this and added check.
13362	(esh_header_next): Added debug.
13363	(write_file): Writes a pixmap to disk.
13364
133651999-04-15  Michael Meeks  <michael@edenproject.org>
13366
13367	* ms-excel.c (ms_excelReadWorkbook): Put PRECISION
13368	output conditional on debug.
13369	Put escher_hack_get_drawing on condition of --debug
13370
13371	* ms-formula.c (ms_excel_parse_formula): Added
13372	'Optimised Choose' functionality.
13373	(formula_func_data): Inserted CHOOSE.
13374	(ms_excel_parse_formula): Patch for broken MS files.
13375	Updated 'Name' records.
13376
133771999-04-15  Michael Meeks  <michael@edenproject.org>
13378
13379	* boot.c: Fixed includes to remove annoying warning.
13380	(excel_load): Add workbook_set_filename for style.
13381
13382	* ms-excel.c (ms_excel_workbook_detach): Added debug
13383	if can't remove sheet for some reason.
13384
13385	* ms-ole.c (pps_get_text): Hacked in some better
13386	unicode support. Might work cross-platform now.
13387	(ms_ole_new): Added name printout to help debug.
13388	(ms_ole_directory_next): Conditional'd debug.
13389	(directory_setup): clean debug.
13390
13391	* ms-excel.c (ms_excel_set_cell_colors): Removed debug.
13392
133931999-04-15  Michael Meeks  <michael@edenproject.org>
13394
13395	* ms-formula.c (ms_excel_parse_formula): PTG_AREAN added,
13396	and PTG_AREA updated to include 'shared' flag.
13397	(ms_excel_parse_formula): Added PTG_ARRAY code.
13398
13399	* ms-formula.h (FORMULA_PTG_ARRAY): Added PTG_ARRAY
13400
13401	* ms-excel.c (ms_excel_read_cell): Added more sensible
13402	floating point printing throughout.
13403
13404	* ms-excel.h (MS_EXCEL_DOUBLE_FORMAT): Created to
13405	standardise number transfer.
13406
134071999-04-14  Michael Meeks  <michael@edenproject.org>
13408
13409	* ms-formula.h: Updated ms_excel_parse_formula prototype.
13410
13411	* ms-excel.c (ms_excel_read_cell): Added 'shared' flag
13412	to all ms_excel_parse_formula instances.
13413	(biff_get_error_text): Set arg to const.
13414	(ms_excel_sheet_shared_formula): Removed debug.
13415	(ms_excel_read_cell): Removed debug.
13416	(ms_excel_sheet_insert): const text arg.
13417
13418	* ms-excel.h: Updated prototypes.
13419
13420	* ms-formula.c (ms_excel_parse_formula): RefN replaced.
13421	updated prototype & args. Updated optimised if call.
13422	(getRefV8, getRefV7): Attempt at shared formulae.
13423	Fairly brutal hack: seems to work :-)
13424
134251999-04-14  Michael Meeks  <michael@edenproject.org>
13426
13427	* ms-excel.c (biff_get_text): Remove platform dependance.
13428	(biff_get_error_text): Changed type.
13429	(biff_boundsheet_data_new): s/int strlen/int slen/
13430	(biff_font_data_destroy): Free after last use.
13431	(biff_get_rk): Changed IEEEx10 to IEEEx100
13432	(ms_excel_read_cell): COL_INFO: Fixed width cast.
13433	Thanks to great bug reports by Morten Welinder.
13434
13435	* ms-excel.h: Add const to biff_error_get_text.
13436
13437	* ms-ole.c (SET_GUINT8): Fix GET_<TYPE> macros.
13438
13439	* ms-biff.h (BIFF_GETWORD): Patch from Morten Welinder to
13440	improve GET<TYPE> macros.
13441
134421999-04-14  Michael Meeks  <michael@edenproject.org>
13443
13444	* ole.c (dump_escher): Fatal Escher cockup removed, makes
13445	the problem look more complex and realistic.
13446	Indenting added.
13447
13448	* ms-escher.c (read_DgContainer): Created.
13449	(SpgrContainer_new): Created.
13450	(ms_escher_hack_get_drawing): Add debug.
13451	(SpContainer_new): Created.
13452	There must be a good way of doing this recursively.
13453
134541999-04-13  Michael Meeks <michael@ximian.com>
13455
13456	* ms-escher.c (esh_header_next): Fixedup to use correct lengths.
13457	Various major bits of work, started parsing the hierarchical
13458	bitstream. Escher looks better than BIFF, 32bit clean seemingly.
13459
13460	* ole.c: Copied in updates.
13461	(dump_escher): Recursive dump of structures.
13462
134631999-04-13  Michael Meeks <michael@ximian.com>
13464
13465	* ms-ole.c(ms_biff_query_copy): Fix nasty bug: duplicate
13466	stream pos record too.
13467
13468	* escher-types.h: Created to hold the drawing layer types.
13469
13470	* ole.c (read_types): Expanded to cope with escher types.
13471	(get_opcode_name): Duplicated into:
13472	(get_biff_opcode_name, get_escher_opcode_name): Created.
13473	(main): Updated biff section.
13474	Added 'draw' = search for drawings and dump section.
13475
13476	* README: Updated to doc. 'draw'
13477
134781999-04-12  Michael Meeks <michael@ximian.com>
13479
13480	* ms-objc.c/h renamed ms_obj_read_graphic to
13481	ms_obj_read_obj, the real graphic lurks elsewhere...
13482
13483	* ms-escher.c/h: Created to handle the 'Office drawing layer'
13484	This is a hack and needs better OLE support code.
13485
13486	* ms-ole.c (ms_ole_stream_duplicate): Created, not too bad a hack
13487	(ms_biff_query_data_to_stream): Nasty hack for ms-escher
13488
134891999-04-12  Michael Meeks <michael@ximian.com>
13490
13491	* ms-obj.c: Created to deal with the horrors of embedded graphic
13492	objects !
13493
13494	* ms-obj.h: Include for the same
13495
13496	* ms-excel.c: Include ms-obj.h
13497	(ms_excel_read_sheet): Add call to ms_obj_read_graphic.
13498
13499	* biff-types.h: Update comments.
13500
13501	* Makefile.am: Add new files.
13502
13503	* ole.c: Nice header.
13504
135051999-04-12  Michael Meeks <michael@ximian.com>
13506
13507	* biff-types.h: Fleshed out.
13508
13509	* ms-excel.c (ms_excel_sheet_set_comment): Created
13510	(ms_excel_sheet_append_comment): Created
13511	(ms_excel_read_sheet): Added BIFF_NOTE support.
13512	(ms_excel_set_cell_xf): Fixed spurious debug, and made more
13513	robust.
13514
135151999-04-12  Michael Meeks <michael@ximian.com>
13516
13517	* ms-excel.c: Various unneeded BIFF tags implemented for
13518	completeness.
13519
13520	* biff-types.h: The tag definitions.
13521
13522	* ole.c (read_types): Improved.
13523	(main): Flag duplicates sensibly.
13524
135251999-04-12  Michael Meeks <michael@ximian.com>
13526
13527	* ole.c: Added 'biff' command.
13528	Added type file loader/parser and helper function.
13529
13530	* biff-types.h: Created
13531
13532	* ms-excel-biff.h: Moved types out.
13533
135341999-04-11  Michael Meeks <michael@ximian.com>
13535
13536	* ole.c: Major update, interactive mode, help, dump command
13537	etc.
13538
135391999-04-09  Michael Meeks <michael@ximian.com>
13540
13541	* ms-excel.c (ms_excel_workbook_detach): Paranoid NULLing
13542	of pointers.
13543	Fixed _silly_ bug with g_list_remove !
13544	(ms_excel_workbook_attach): Paranoia checking.
13545	(biff_get_text): Converted int lp to guint32 lp.
13546	(ms_excelReadWorkBook): BIFF_SST: Added overrun check,
13547	some idiot splits the SST table for seemingly no good reason.
13548	Cleaned debug.
13549	(ms_excel_read_cell): Cleaned debug.
13550	(ms_excel_palette_get): Added magic multiplying factor to get
13551	colors to work...
13552	(ms_excel_set_cell_font): Now returns font color
13553	(ms_excel_set_cell_xf): Updated to pass on foregnd col to:
13554	(ms_excel_set_cell_colors): Added priority foregnd col.
13555	BIFF_XF_DATA: Updated colours to pattern colours, and updated
13556	names throughout adding pal_ prefix.
13557
13558	* ole.c: Added, basic OLE2/BIFF helper program
13559
13560	* Makefile.am: Updated to include ole.c
13561
135621999-04-06  Michael Meeks <michael@ximian.com>
13563
13564	* ms-formula.h: Add PTG_AREAN, PTG_REFN.
13565
13566	* ms-formula.c: Debug for these cases.
13567	(ms_excel_parse_formula): Added shared row/col.
13568	Updated ms_excel_sheet_shared_formula call.
13569
13570	* ms-excel.c (ms_excel_sheet_shared_formula): Include
13571	new arguments.
13572	(ms_excel_read_cells): Update all parse_formula calls.
13573	(ms_excel_set_cell_xf): Set auto_return argument to 0 for
13574	cell_set_alignment.
13575	move cell_set_colors to last thing.
13576
13577	* ms-excel.h: Update prototype.
13578
135791999-04-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13580
13581	* ms-ole.c (biff_getdouble): Move biff_getdouble here, and apply
13582	fix from Tung Nguyen (tung.nguyen@pgs.com)
13583
135841999-04-03  Michael Meeks  <michael@ximian.com>
13585
13586	* ms-excel.c (ms_excel_read_sheet): removed fixup_array_formulae.
13587	(ms_excel_read_cell): Large SHRFMLA / ARRAY fixups.
13588	(biff_share_formula_new,destroy,hash,equal): Implemented.
13589	(ms_excel_sheet_new): Removed GList array_formulae and insert
13590	shared formula hash table.
13591	(ms_excel_sheet_destroy): Deal with hash table.
13592	(ms_excel_sheet_shared_formula): Returns shared formula text
13593	(ms_excel_set_cell_xf): Cleaned unused variables.
13594
13595	* ms-excel.h: Added ms_excel_sheet_shared_formula prototype
13596
13597	* ms-formula.c (ms_excel_fixup_array_formula): Removed.
13598	(ms_excel_parse_formula): Sorted FORMULA_PTG_EXP.
13599
13600	* ms-formula.h: Removed prototype.
13601
136021999-04-02  Michael Meeks  <michael@ximian.com>
13603
13604	* ms-formula.c (ms_excel_parse_formula): PTG_ATTR: corrected
13605	debug output semantics.
13606	Set IF to var-arg ( fn: 0x1 ).
13607	Various Debug bits made conditional.
13608	Implemented 'optimised' = 'hopelessly obfuscated' IF function.
13609	Ignored 'Volatile' PTG_ATTR.
13610	Added INT to table.
13611
13612	* ms-excel.c (ms_excel_set_cell_xf): Made static for safety.
13613	(ms_excelReadWorkbook): BIFF_SST: fixed up a few types.
13614	(biff_get_text): Fixed types.
13615
13616	* ms-excel.h: removed prototype for same.
13617	fixed biff_get_text type.
13618
136191999-04-01  Michael Meeks  <michael@ximian.com>
13620
13621	* ms-excel.c (ms_excelReadWorkbook): Major string table fix
13622	should now work internationally.
13623	(biff_get_text): Major arguments change, now returns the rather
13624	grim byte length field if needed through a guint32 *
13625	Changed all references to biff_get_text throughout.
13626
13627	* ms-excel.h: Updated biff_get_text prototype.
13628
13629	* ms-formula.c: Changed all references to biff_get_text throughout.
13630
136311999-03-31  Michael Meeks  <michael@ximian.com>
13632
13633	* ms-excel.c (ms_excel_read_sheet): Added SELECTION support.
13634	Added basic WINDOW2 support.
13635	(ms_excel_read_cell): COLINFO, fixed fatal bug in hidden column code.
13636
13637	* ms-formula.c (ms_excel_parse_formula): Removed debug.
13638
136391999-03-30  Michael Meeks  <michael@ximian.com>
13640
13641	* ms-formula.c (ms_excel_parse_formula): Rehashed function
13642	and operator search function so it uses a flat array instead
13643	of a linear search.
13644	fully populated formula_func_data array, and removed unused /
13645	constant fields.
13646
13647	* ms-formula.h: Removed dead wood from OP_DATAa & FUNC_DATA
13648	structs.
13649
136501999-03-26  Michael Meeks  <michael@ximian.com>
13651
13652	* ms-formula.c: Removed duplicate for fn 0x65
13653
136541999-03-24  Thomas Meeks  <thomas@ximian.com>
13655
13656	* ms-formula.c: Added mappings for Address, Area, Hyperlink,
13657	Offset, Column, Columns.
13658
136591999-03-12  Michael Meeks  <michael@ximian.com>
13660
13661	* ms-excel.c (biff_name_data_new, biff_name_data_get_name),
13662	(biff_name_data_destroy, ms_excel_read_cell): Implemented
13663	the BIFF_EXTERNNAME case.
13664	(ms_excel_workbook_new, ms_excel_workbook_destroy):
13665	Name table hashing functions.
13666	(ms_excel_read_cell): Cleaned debug on BIFF_HEADER / FOOTER.
13667
13668	* ms-formula.c (ms_excel_parse_formula): Large API change to
13669	simplify several cases, and clean dirty code.
13670	(make_function): Special 0xff case on functions. For use with
13671	external functions, the names of which come in via:
13672	(_excel_parse_formula): FORMULA_PTG_NAME_X, hacked into
13673	rough shape.
13674
13675	* ms-excel.c: All instances of ms_excel_parse_formula updated.
13676
136771999-03-11  Michael Meeks  <michael@ximian.com>
13678
13679	* ms-ole.c (ms_ole_destroy, ms_ole_new): Killed debug
13680	output before we are sure it's an OLE file.
13681
136821999-03-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13683
13684	* ms-excel.c (find_workbook): Use g_strncasecmp here.
13685
136861999-03-10  Michael Meeks  <michael@ximian.com>
13687
13688	* ms-formula.c: Inserted all the statistics formulae from
13689	5.0a into the translation table.
13690
136911999-03-09  Michael Meeks  <michael@ximian.com>
13692
13693	* ms-formula.c (ms_excel_parse_formula): Hacked out the
13694	bad array formula support. Moved most of it to ms-excel.c
13695
13696	* ms-excel.c (ms_excel_read_cell): Updated BIFF_ARRAY and
13697	BIFF_FORMULA cases; splitting and adding array loop.
13698	BIFF_COLINFO, BIFF_ROW: Updated fudge factors in sizing
13699	and implemented column sizing.
13700
137011999-03-07  Michael Meeks  <michael@ximian.com>
13702
13703	* ms-formula.c: Changed FORMULA_PTG_STR to cope with both
13704	versions of string properly.
13705	Inserted innumerable time and text functions into the
13706	translation table.
13707
137081999-03-07  Michael Meeks  <michael@ximian.com>
13709
13710	* ms-excel.c: Changed to use cell_set_text_simple to save
13711	many redundant re-draws: big speedup.
13712	hacked up a set_row_height call
13713
137141999-03-05  Michael Meeks <michael@ximian.com>
13715
13716	* ms-ole.c: Variously made debug conditional on OLE_DEBUG
13717	* ms-excel.c: ditto for EXCEL_DEBUG
13718
137191999-02-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13720
13721	* ms-ole.c (ms_ole_write_sb): Do not use C++ comments.
13722
137231999-02-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13724
13725	* ms-ole.c (ms_ole_destroy): Free the correct pointer (we were
13726	releasing the same pointer twice).
13727
137281999-01-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13729
13730	* ms-ole.c (ms_ole_destroy): Free f->header_root_list if set.
13731
137321999-01-03  Jeff Garzik  <jgarzik@Pobox.com>
13733
13734	* ms-excel.c, ms-formula.c:
13735	A printf fix.
13736	Warning fixes.
13737
137381998-12-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
13739
13740	* boot.c (excel_init): New file, adds the excel booting
13741	mechanism.
13742