ChangeLog 396 KB
Newer Older
1 2 3 4 5 6
2014-03-12  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (cb_write_condition): Use
	gnm_style_cond_get_alternate_expr for conditions not available in
	xls.

7 8
2014-03-10  Morten Welinder  <terra@gnome.org>

9
	* xlsx-read.c (xlsx_CT_vertAlign): Read super/subscript.
10
	(xlsx_CT_CustomFilter): Preliminary reading of auto filters.
11

12 13
	* xlsx-write.c (xlsx_write_fonts): Save super/sub attribute.

14 15 16 17 18
2014-03-05  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (excel_write_prep_expr): Rewrite in terms of
	gnm_expr_walk.

Morten Welinder's avatar
Morten Welinder committed
19 20 21 22
2014-03-03  Morten Welinder <terra@gnome.org>

	* Release 1.12.12

23 24 25 26
2014-03-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_autofilters): write blank filter info

27 28
2014-03-01  Morten Welinder  <terra@gnome.org>

29 30 31
	* xlsx-write.c (xlsx_write_autofilters): First stab at writing
	most auto-filter selections.

32 33 34 35
	* ms-excel-read.c (excel_sheet_insert_val): Don't set value
	format.  We already the the full style for the cell in
	excel_set_xf.  Fixes #725453.

36 37 38 39
2014-02-28  Morten Welinder  <terra@gnome.org>

	* crypt-md4.c: Add missing include.  (From Gentoo.)

40 41
2014-02-26  Morten Welinder  <terra@gnome.org>

42 43 44 45
	* ms-biff.c (ms_biff_query_next): Do auto-continue for
	BIFF_MERGECELLS.  We don't generate that ourselves, but it's
	valid.

46 47
	* boot.c (excel_save): Make sure to save macros in the
	_VBA_PROJECT_CUR directory that we loaded them from.
48
	(excel_save): Restore \001Ole member too.
49
	(excel_save): Save the entire _VBA_PROJECT_CUR directory.
50

Morten Welinder's avatar
Morten Welinder committed
51 52
2014-02-25  Morten Welinder  <terra@gnome.org>

53 54 55
	* ms-container.c (ms_container_read_markup): Return NULL when no
	attributes are present.  idx==0 is the normal font.

56 57 58
	* ms-excel-write.c (excel_write_string_in_chunks): BIFF_TXO uses
	BIFF_CONTINUE records in a non-standard way.

59 60 61
	* ms-biff.c (ms_biff_query_dump, ms_biff_put_len_next)
	(ms_biff_put_var_write): Write symbolic opcode name too.

62 63 64
	* xlsx-read.c (xlsx_comment_start): Use cell_comment_set_pos to
	the anchor gets set up in a standard way.

Morten Welinder's avatar
Morten Welinder committed
65 66
	* ms-biff.c (ms_biff_put_new): No need for bp->buf anymore.

67 68 69 70
2014-02-24  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_cells): Export row height when it is
	not default, even if it is not user-set.
71 72
	(xlsx_write_style_write_alignment): Fix rotation export for
	downward angles.
73

74 75
2014-02-23  Morten Welinder  <terra@gnome.org>

76 77
	* ms-excel-util.c (xls_header_footer_export): New function
	extracted from...
78 79 80 81 82
	* xlsx-write.c (xlsx_write_print_info_hf): ...here.

	* ms-excel-util.c (xls_header_footer_import): New function
	extracted from...
	* xlsx-read.c (xlsx_CT_header_footer): ...here.
83 84 85 86

	* ms-excel-write.c (excel_write_HEADER_FOOTER): Properly translate
	magic codes.

87 88
	* xlsx-read.c (xlsx_CT_header_footer): Read headerfooter info.

89 90 91
	* xlsx-write.c (xlsx_write_print_info): headerFooter before page
	breaks.  Evidently Excel cares.

92 93
2014-02-22  Morten Welinder  <terra@gnome.org>

94 95 96
 	* ms-biff.c (ms_biff_query_next): Handle BIFF_CONTINUE for a whole
	bunch of record types containing strings or formulae.

97 98 99
	* ms-excel-read.c (excel_read_IMDATA): No need to handle
	BIFF_CONTINUE here.

100 101 102
	* ms-formula-read.c (undo_save_hacks): Undo the
	long-string-constant hack in write_string.

103 104 105
	* ms-excel-write.c (excel_convert_string): New function.
	(excel_write_comments_biff7): Avoid infinite loop when a comment
	contains characters that cannot be represented in the codepage.
106
	(excel_write_string): Use excel_convert_string.
107

108 109
2014-02-21  Morten Welinder  <terra@gnome.org>

110 111 112
	* ms-excel-read.c (excel_read_FORMULA): Try to handle missing
	expression length.

113
	* ms-biff.c (ms_biff_query_next): Handle CONTINUE record for
114 115
	BIFF_FORMULA_v0, BIFF_FORMULA_v2, BIFF_STRING_v0, adn
	BIFF_STRING_v2 too.
116 117 118 119 120 121 122

	* ms-excel-write.c (excel_write_string): Improve handling of
	string overflow.

	* ms-formula-write.c (write_string): Split long strings into 255
	character chunks: ("s1"&"s2"&...)

123 124
2014-02-20  Morten Welinder  <terra@gnome.org>

125 126 127
	* xlsx-write.c (xlsx_write_print_info): First stab at exporting
	headers and footers.

128 129 130
	* ms-excel-write.c (excel_write_XF): Fix reversed diagonal border
	bits.

131 132
2014-02-19  Morten Welinder  <terra@gnome.org>

133 134 135
	* ms-excel-write.c (rotation_to_excel_v7): Fix rotation at 270
	degrees.

136 137
	* xlsx-write.c (xlsx_write_fonts): Handle underline.

138 139 140 141
	* ms-excel-write.c (excel_write_HEADER_FOOTER): Use one-byte
	strings for BIFF7 and earlier.  That matches the way we read
	things.

142 143
2014-02-17  Morten Welinder  <terra@gnome.org>

144 145 146
	* xlsx-utils.c (xlsx_conventions_new): use same
	decimal_digits as in gnumeric export.

147 148 149
	* ms-biff.c (ms_biff_query_next): Handle continuation records
	here for certain opcodes.  Fixes part of #724399.

Morten Welinder's avatar
Morten Welinder committed
150 151 152 153
2014-02-16  Morten Welinder <terra@gnome.org>

	* Release 1.12.11

Morten Welinder's avatar
Morten Welinder committed
154 155 156 157
2014-02-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_string): Fix hand.  #724399.

Morten Welinder's avatar
Morten Welinder committed
158 159 160 161
2014-02-11  Morten Welinder <terra@gnome.org>

	* Release 1.12.10

162 163 164 165
2014-01-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_theme_dtd): add more stubs

166 167
2013-12-21  Morten Welinder  <terra@gnome.org>

168 169 170
	* ms-excel-read.c (excel_read_XF): Fix length check.  Fixes
	#715002.

171
	* ms-obj.c (read_pre_biff8_read_name_and_fmla): Fix and improve
172
	length check.  Fixes #720358 and #719349.
173

174 175
2013-12-13  Morten Welinder  <terra@gnome.org>

176 177 178
	* ms-excel-read.c (excel_read_WINDOW2): Don't crash of truncated
	record.  Fixes #720426.

179 180 181
	* xlsx-read.c (xlsx_cell_end): Make sure state->texpr ends up
	NULL.  Fixes #720425.

Morten Welinder's avatar
Morten Welinder committed
182 183 184 185
2013-11-28  Morten Welinder <terra@gnome.org>

	* Release 1.12.9

186 187 188 189 190
2013-11-26  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-write.c (excel_write_string): fix large strings export. [715110#]
	(excel_write_ClientTextbox): fix test.

191 192 193 194
2013-11-25  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_string): Fix buffer allocation.

195 196 197 198 199
2013-11-22  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_RSTRING): Truncate markup at text
	length.  Fixes #715003.

Morten Welinder's avatar
Morten Welinder committed
200 201
2013-11-21  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
202 203 204
	* ms-obj.c (read_pre_biff8_read_text): Fix fuzzed file problem
	#712731.

Morten Welinder's avatar
Morten Welinder committed
205 206 207
	* xlsx-read.c (xlsx_file_open): A severely malformed document can
	leave an expression in the state.  Free that.  Fixes #712788.

208 209 210 211 212
2013-11-20  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_get_data): Fix fuzzed file crash.  Fixes
	#712772.  Plug leak.

Morten Welinder's avatar
Morten Welinder committed
213 214
2013-11-19  Morten Welinder  <terra@gnome.org>

215 216 217
	* ms-excel-read.c (excel_read_CF): Check record size.  Fixes
	#712708.

218 219 220
	* xlsx-read-drawing.c (xlsx_style_line_end): Clear the current
	color.  Fixes #712700.

Morten Welinder's avatar
Morten Welinder committed
221 222
	* ms-excel-read.c (excel_read_MERGECELLS): Fix FMR [#712685]

223 224 225 226 227
2013-11-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_ClientTextbox): Fix fuzzed file
	crash.  [#708091]

Morten Welinder's avatar
Morten Welinder committed
228 229 230 231
2013-10-07  Morten Welinder <terra@gnome.org>

	* Release 1.12.8

232 233 234 235 236
2013-09-13  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (ms_wb_parse_expr): Clear the whole thing,
	notably the v7 part.  Fixes #707875.

Morten Welinder's avatar
Morten Welinder committed
237 238 239 240
2013-09-01  Morten Welinder <terra@gnome.org>

	* Release 1.12.7

Morten Welinder's avatar
Morten Welinder committed
241 242 243 244
2013-08-27  Morten Welinder <terra@gnome.org>

	* Release 1.12.6

Morten Welinder's avatar
Morten Welinder committed
245 246 247 248 249
2013-08-20  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_prep_validations): Handle range
	with no validation (and therefore with an input message).

Morten Welinder's avatar
Morten Welinder committed
250 251 252 253
2013-08-19  Morten Welinder <terra@gnome.org>

	* Release 1.12.5

254 255 256 257 258 259
2013-08-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_autofilter_names): Fix last fix.
	Sometimes we already have _FilterDatabase as a name.  If so,
	brutally use it.  Fixes #705947.

260 261 262 263
2013-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-chart.c (BC_R(shtprops)): check whether we have enough data

264 265 266 267 268
2013-08-14  Morten Welinder  <terra@gnome.org>

	* ms-container.c (ms_container_read_markup): Add/reinstate bounds
	check.  Fixes #705866.

269 270 271 272 273 274 275 276
2013-08-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* excel-xml-read.c (xl_xml_cell_start): remember how many cols
	to merge
	(xl_xml_cell_end): correctly calc new cell position
	(xl_xml_sheet_start): use maximum sheet size
	(excel_xml_dtd): add some elements

277 278
2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

279 280 281 282 283
	* xlsx-read-drawing.c (xlsx_chart_dtd): add more elements

2013-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_LABEL): check for NULL fd
284

285 286 287 288 289 290 291
2013-08-02  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (axislineformat): fix crah on fuzzed xls reading [#705353],
	(chart_write_AI): write all formulas to .xls, even if not  supported by
	excel [#705311],
	(chart_write_plot): export bubble size scale. [see #705311]

Morten Welinder's avatar
Morten Welinder committed
292 293 294 295 296
2013-08-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_MULRK): Fix sanity check.  Fixes
	#705319.

297 298 299 300
2013-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_borders): check for NULL borders

Morten Welinder's avatar
Morten Welinder committed
301 302 303 304
2013-07-26  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_file_open): Release state.val, just in case.

305 306 307 308 309 310
2013-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-pivot.c (xlsx_write_pivot_val): check for NULL
	value
	(xlsx_write_pivot_cache_records): ditto

Morten Welinder's avatar
Morten Welinder committed
311 312 313 314
2013-07-10  Morten Welinder <terra@gnome.org>

	* Release 1.12.4

315 316 317 318
2013-07-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_HLINK): check for NULL data

319 320 321 322 323
2013-07-09  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (getRefV8): Take GnmSheetSize argument.
	Verify row against that.  All callers changed.  Fixes #703306.

324 325 326 327 328
2013-07-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_sheet_dtd): attach protectedRange to the
	correct parent

329 330 331 332 333 334
2013-07-02  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_autofilter_names): Use
	expr_name_unref, not expr_name_remove since the fake name is not
	in any scope.  Fixes #703308.

335 336 337 338 339
2013-06-30  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_BOUNDSHEET): Check record length.
	Fixes #703307.

340 341 342 343 344 345
2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-drawing.c (xlsx_axis_crosses_at): check for null
	axis->info
	(xlsx_axis_crosses): check for null axis->info

346 347 348 349 350
2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (ms-formula-read.c): add another
	synonym

351 352 353 354 355 356 357
2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_betadist_handler): delete again
	(xlsx_func_dist_handler): remove density scaling argument,
	change all callers
	(xlsx_conventions_new): disconnect xlsx_func_betadist_handler

358 359 360 361 362 363 364
2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_betadist_handler): new
	(xlsx_func_dist_handler): add density scaling argument, change
	all callers
	(xlsx_conventions_new): connect xlsx_func_betadist_handler

365 366 367 368 369 370
2013-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_lognormdist_handler): new
	(xlsx_func_negbinomdist_handler): new
	(xlsx_conventions_new): connect the above two

371 372
2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

373
	* xlsx-utils.c (xlsx_func_binominv_handler): use GnmExprList
374 375 376 377 378 379
	rather than GSList
	(xlsx_func_dist_handler): new
	(xlsx_func_chisqdist_handler): new
	(xlsx_func_fdist_handler): new
	(xlsx_conventions_new): connect the last two

380 381 382
2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_erf_output_handler): new
383
	(xlsx_conventions_new): connect the above and add erf.precise
384 385
	translation

386 387 388 389 390
2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_conventions_new): add MODE.SNGL
	translation

391 392 393 394 395 396 397 398
2013-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_betainv_output_handler): new
	(xlsx_func_gammainv_output_handler): new
	(xlsx_func_lognorminv_output_handler): new
	(xlsx_func_tinv_output_handler): new
	(xlsx_conventions_new): connect the above

399 400 401 402 403 404 405
2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_write_r_q_func): add argument and change
	all callers to use ....RT function if available
	(xlsx_func_r_q_output_handler): add argument and change all
	callers

406 407 408 409 410 411 412 413
2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_write_r_q_func): add argument and change
	all callers
	(xlsx_func_r_q_output_handler): add argument and change all
	callers
	(xlsx_func_binominv_output_handler): use xlsx_func_r_q_output_handler

Morten Welinder's avatar
Morten Welinder committed
414 415 416 417
2013-06-25  Morten Welinder <terra@gnome.org>

	* Release 1.12.3

Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
418 419 420 421 422
2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_r_q_output_handler): use variable
	rather than hard code (wrong) constant

423 424 425 426 427 428 429 430 431 432 433
2013-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_write_r_q_func): new
	(xlsx_func_r_q_output_handler): new
	(xlsx_func_norminv_output_handler): new
	(xlsx_func_chisqinv_output_handler): use
	xlsx_func_r_q_output_handler
	(xlsx_func_finv_output_handler): ditto
	(xlsx_conventions_new): connect
	xlsx_func_norminv_output_handler

434 435 436 437 438
2013-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_binominv_output_handler):
	simplify the expression if some of the flags are constant

439 440 441 442 443
2013-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_binominv_output_handler):
	translate the expression even for more than 3 arguments

444 445 446 447 448
2013-06-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_floor_output_handler): new
	(xlsx_conventions_new): connect new handler

449 450 451 452 453 454 455
2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (ms-formula-read.c): add more
	synonyms
	* xlsx-utils.c (xlsx_conventions_new): add more
	synonyms

456 457 458 459 460 461 462 463
2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (ms-formula-read.c): add
	"f.inv" --> "r.qf"
	* xlsx-utils.c (xlsx_func_finv_output_handler): new
	(xlsx_conventions_new): connect new handler and add
	"f.inv" --> "r.qf" translation

464 465 466 467 468 469 470 471
2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (ms-formula-read.c): add
	"chisq.inv" --> "r.qchisq"
	* xlsx-utils.c (xlsx_func_chisqinv_output_handler): new
	(xlsx_conventions_new): connect new handler and add
	"chisq.inv" --> "r.qchisq" translation

472 473 474 475 476 477 478 479 480 481 482 483 484
2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.h: remove duplicates
	(xlsx_conventions_new): add argument
	* xlsx-read.c (xlsx_file_open): add argument to
	xlsx_conventions_new
	* xlsx-write.c (xlsx_write_workbook): ditto
	* xlsx-utils.c (xlsx_func_map_in): recognize our own functions
	(xlsx_func_map_out): new
	(xlsx_func_binominv_output_handler): new
	(xlsx_conventions_new): add argument and initialize
	output hashes and function translator

Morten Welinder's avatar
Morten Welinder committed
485 486 487 488 489
2013-06-21  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (make_function): Eliminate typo.  Fixes
	#702789.

490 491 492 493 494 495 496 497
2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (XLSXExprConventions): add field
	(xlsx_func_map_in): chcek and use handler
	(xlsx_func_binominv_handler): new
	(xlsx_conventions_new): initialize xlfn_handler_map
	(xlsx_conventions_free): free the hash here

498 499 500 501 502 503 504
2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (XLSXExprConventions): add field
	(xlsx_func_map_in): do not initialize xlfn_map here
	(xlsx_conventions_new): but here
	(xlsx_conventions_free): free the hash here.

505 506 507 508 509
2013-06-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.c (xlsx_func_map_in): new
	(xlsx_conventions_new): connect the above

510 511 512 513
2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-formula-read.c (xl2010_synonyms): add more functions

514 515 516 517 518
2013-06-20  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (xl2010_synonyms): Map new function names to
	the ones we used.

519 520 521 522
2013-06-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_pattern): set a default pattern

523 524 525 526 527 528 529
2013-06-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_CF_border): change GnmStyleCond
	argument to GnmStyle
	(excel_read_CF): pass the overlay not the empty condition to
	excel_read_CF_border

530 531 532 533
2013-06-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_workbook_dtd): avoid duplication

534 535 536 537
2013-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_validation_expr): check for null validation;

538 539 540 541 542 543
2013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-drawing.c: connect "ext" handler
	* xlsx-read.c: declare xlsx_ext_begin early

2013-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>
544 545 546 547 548

	* xlsx-read.c (xlsx_read_external_book): also try an alternative url
	(xlsx_read_external_sheetname): check whether we have a book before
	adding sheets to it.

549 550 551 552 553
2013-06-16  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_blip_start): Handle errors in getting
	blip.  Fixes #702379.

554 555 556 557
2013-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_read_chart): there may not be any plots in a chart.

558 559 560 561
2013-06-13  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_COLINFO): Fix crash.  [#702182]

562 563 564 565
2013-06-13  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): don't crash when exchanging missing axes. [#702126]

566 567 568 569 570 571
2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_print_info): fix typo
	* xlsx-read.c (xlsx_sheet_page_setup): read more attributes
	(xlsx_CT_PageSetup): read more attributes

572 573 574 575 576
2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_print_info): always write fitTo*
	(xlsx_write_sheet): write pageSetUpPr

577 578
2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

579 580 581 582 583
	* xlsx-read.c (xlsx_set_paper_from_code): update paper list

2013-06-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_find_paper_code): use the complete list
584 585
	(xlsx_write_print_info): write all applicable attributes

586 587
2013-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

588
	* xlsx-read.c (xlsx_parse_distance): new
589 590 591 592 593
	(attr_distance): new
	(xlsx_paper_size): new
	(xlsx_set_paper_from_code): new
	(xlsx_CT_PageSetup): handle paper size

594 595 596 597 598 599
2013-06-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_print_info): write paper size
	(xlsx_add_pt): new
	(xlsx_find_paper_code): new

600 601 602 603 604
2013-06-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_CT_PageSetup): new
	* xlsx-write.c (xlsx_write_print_info): write orientation

605 606 607 608 609 610
2013-06-05  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_HLINKs): Don't remove hlinks here.
	(excel_sheet_new): Collect hlinks regardless of biff version.
	Fixes #701604.

611 612 613 614 615 616 617
2013-05-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_ext_begin): new
	(xlsx_sheet_dtd): connect the above
	(xlsx_workbook_dtd): connect the above
	(xlsx_styles_dtd): connect the above

618 619 620 621
2013-04-29  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_cell_end): Don't create empty cells.

Morten Welinder's avatar
Morten Welinder committed
622 623 624 625
2013-04-26  Morten Welinder <terra@gnome.org>

	* Release 1.12.2

Morten Welinder's avatar
Morten Welinder committed
626 627
2013-04-22  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
628 629
	* boot.c (excel_enc_file_open): Plug leak.

Morten Welinder's avatar
Morten Welinder committed
630 631
	* ms-excel-read.c (excel_read_FONT): Ensure ->script, ->underline,
	and ->codepage are set.
632
	(gnm_xl_importer_new): Set more pivot fields.
Morten Welinder's avatar
Morten Welinder committed
633

634 635 636 637 638
2013-04-20  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_name_str): Make sure we don't end up
	requesting (size_t)-1 characters worth of data.  Fixes #698424,
	initial item.
639
	(ms_wb_parse_expr): NULL the dummy container vtable.
640

641 642 643 644 645 646 647 648 649 650
2013-04-15  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (write_arrays): Handle empty values properly.

	* ms-formula-read.c (excel_parse_formula1): Handle empty values in
	array constants.  Fix handling of booleans and errors in array
	constants.
	(excel_parse_name): Add argument for array data length.  All
	callers changed.  Fixes #654211.

651 652 653
	* ms-excel-write.c (excel_write_PAGE_BREAK): Make implied cast of
	columnm/row number to guint16 explicit.  See #693979.

654 655 656 657 658 659
2013-04-14  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_NAME): Store the name's length in
	characters, not bytes.  This matches the read side and fixes
	#608780.

660 661
2013-04-10  Morten Welinder  <terra@gnome.org>

662 663 664
	* ms-formula-write.c (do_excel_write_prep_expr): Fix unintentional
	duplication of externnames.

Morten Welinder's avatar
Morten Welinder committed
665 666 667
	* ms-excel-write.h (struct _XLSExporter): Change externnames
	member to a GPtrArray of char*.

Morten Welinder's avatar
Morten Welinder committed
668 669
	* formula-types.h (ExcelFuncDesc): Add explicit index.

670 671 672
	* ms-formula-read.c (make_function): Fix importing of GAMMA (and
	others) from LibreOffice's xls files.

673 674 675 676 677
2013-04-09  Morten Welinder  <terra@gnome.org>

	* ms-formula-read.c (make_function): Fix importing of IFERROR and
	perhaps other newer functions.

Morten Welinder's avatar
Morten Welinder committed
678 679 680 681
2013-03-09  Morten Welinder <terra@gnome.org>

	* Release 1.12.1

Jean Bréfort's avatar
Jean Bréfort committed
682 683 684 685 686 687
2013-02-24  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (get_style), (ms_excel_chart_read): add explicit casts to
	fix some warnings.
	* xlsx-read-drawing.c (xlsx_style_line_start): ditto.

688 689 690 691 692
2013-02-22  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (gather_styles): Use sheet_cells, not
	sheet_cell_foreach, so the output won't depend on hash order.

693 694 695 696
2013-02-14  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (get_style): reversed previous change.
	* xlsx-read-drawing.c (xlsx_style_line_start): ditto.
697

698
2013-02-10  Jean Brefort  <jean.brefort@normalesup.org>
699

700 701
	* ms-chart.c (get_style): use go_style_new() instead of gog_style_new().
	* xlsx-read-drawing.c (xlsx_style_line_start): ditto.
702

703 704 705 706 707
2013-02-10  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_drawing_preset_geom): fix uninitialized an 
	variable issue. [#693492]

708 709 710 711
2013-02-05  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (ms_excel_chart_read): don't use deprecated gog_style_new().

Morten Welinder's avatar
Morten Welinder committed
712 713 714 715 716 717
2013-01-03  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.h (XL_EXTERNSHEET_MAGIC_SELFREF)
	(XL_EXTERNSHEET_MAGIC_DELETED): Intorduce symbolic names for magic
	constants.  All users changed.

718 719 720 721 722
2013-01-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_font_overlay_pango): Don't use
	deprecated goffice stuff.

723 724 725 726
2012-12-24  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_one_plot): Silence warning.

Morten Welinder's avatar
Morten Welinder committed
727 728 729 730
2012-12-18  Morten Welinder <terra@gnome.org>

	* Release 1.12.0

731 732 733 734 735
2012-12-18  Morten Welinder  <terra@gnome.org>

	* xlsx-write-drawing.c (xlsx_write_chart): Avoid creating empty
	charts files.  Fixes #690203.

Morten Welinder's avatar
Morten Welinder committed
736 737 738 739
2012-11-29  Morten Welinder <terra@gnome.org>

	* Release 1.11.91

Morten Welinder's avatar
Morten Welinder committed
740 741 742 743
2012-11-16  Morten Welinder <terra@gnome.org>

	* Release 1.11.90

Morten Welinder's avatar
Morten Welinder committed
744 745 746 747
2012-11-06  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_cond_fmt_formula_end): Plug leak.

748 749 750 751 752 753
2012-10-17  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (count_default_rows): Delete.
	(xlsx_write_cells): Simplify and speed up using
	sheet_style_get_nondefault_rows.

754 755 756 757 758 759 760 761
2012-10-06  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_cells): Get all cells in the order we
	need them instead of doing a million lookups.  Don't write styles
	that match the column default -- especially not for cells with
	style only.
	(xlsx_write_cols): Write column default styles.

Morten Welinder's avatar
Morten Welinder committed
762 763 764 765
2012-09-06  Morten Welinder <terra@gnome.org>

	* Release 1.11.6

766 767 768 769 770
2012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-pivot.c (xlsx_CT_pivotCacheDefinition): also look for
	refreshedDateIso

771 772 773 774 775
2012-08-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* plugin.xml.in: refer to ISO/IEC 29500:2008 and emphasize the
	Standards compliance

776 777 778 779 780
2012-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_webpub_begin): new
	(xlsx_workbook_dtd): new

781
2012-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>
782 783 784 785

	* xlsx-read.c (xlsx_border_begin_v2): new
	(xlsx_file_open): use version info to set the saver

Jean Bréfort's avatar
Jean Bréfort committed
786 787 788 789 790
2012-08-03  Jean Brefort  <jean.brefort@normalesup.org>

	* boot.c (excel_read_metadata), (excel_save): replace deprecated functions
	calls.

791 792 793 794 795 796 797
2012-08-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_AUTOFILTER): adjust call to
	gnm_filter_condition_new_bucket
	* xlsx-read.c (xlsx_CT_Top10): adjust call to
	gnm_filter_condition_new_bucket

798 799 800 801 802
2012-08-01  Jean Brefort  <jean.brefort@normalesup.org>

	* excel-xml-read.c (parse_color): Rename style_color_new_i8.
	* ms-excel-read.c (excel_palette_get), (excel_read_WINDOW2): ditto.

Morten Welinder's avatar
Morten Welinder committed
803 804 805
2012-07-18  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_LABEL): Fix crash [#679992].
806 807 808
	(excel_read_XF_OLD): Fix length check.
	(excel_read_FORMAT): Fix length check for pre-v7 records.
	(excel_read_FONT): Guess codepage for <=v4 records.
Morten Welinder's avatar
Morten Welinder committed
809

Morten Welinder's avatar
Morten Welinder committed
810 811 812 813
2012-07-15  Morten Welinder <terra@gnome.org>

	* Release 1.11.5

Morten Welinder's avatar
Morten Welinder committed
814 815 816 817
2012-06-25  Morten Welinder <terra@gnome.org>

	* Release 1.11.4

Morten Welinder's avatar
Morten Welinder committed
818 819 820 821
2012-04-21  Morten Welinder <terra@gnome.org>

	* Release 1.11.3

822 823
2012-03-27  Morten Welinder  <terra@gnome.org>

824 825 826
	* ms-excel-write.c (excel_write_selections): Evidently we should
	not restrict the cursor position to the pane.  Fixes #671513 [2].

827 828 829 830 831
	* ms-excel-read.c (excel_read_SELECTION): Read in sane order.

	* ms-excel-write.c (excel_write_SELECTION): Write in reverse
	order.

832 833
2012-03-12  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
834 835
	* ms-formula-write.c (write_node): Handle sets.

836 837 838
	* ms-excel-write.c (excel_write_chart_v8): Regularlize code and
	output object name too.

839 840 841
	* ms-chart.c (chart_write_LEGEND): Include the style when writing
	text.

842 843
2012-03-11  Morten Welinder  <terra@gnome.org>

844 845 846 847 848
	* ms-excel-write.c (excel_write_SETUP): Export paper size.

	* ms-excel-util.c (xls_paper_name): Extract from ms-excel-read.c
	(xls_paper_size): New pseudo-inverse of above.

849 850 851
	* ms-excel-write.c (excel_write_obj_v8): Handle graphs here too.
	(excel_sheet_new): Put graphs into the regular object queue too.

852 853
2012-03-10  Morten Welinder  <terra@gnome.org>

854 855 856 857
	* ms-excel-write.c (excel_write_DEFAULT_ROW_HEIGHT)
	(excel_write_ROWINFO): Add 1e-6 to toughen against rounding
	errors.

858 859 860 861
	* ms-excel-read.c (excel_read_COLINFO): Drop work-around for buggy
	pre-Gnumeric 1.7.5 export.  This fixes hard-size-set detection for
	11_1040.xls

862 863 864 865
	* ms-excel-write.c (excel_write_objs_v8): Unify writing of objects
	to help fix stacking issues.
	(excel_sheet_new): Eliminate special lists for lines and
	textboxes.
866 867
	(cb_write_condition): Make export of conditional italic match
	import.
868

869 870 871 872 873 874 875 876 877 878 879 880 881
2012-03-09  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_sheet): Use new
	sheet_style_most_common.

	* ms-excel-write.c (excel_sheet_extent): Use new
	sheet_style_get_nondefault_extent.
	(gather_styles): Gather styles for all columns.
	(excel_write_colinfos): Ensure a column style for all columns.
	(excel_sheet_write_block): Drop only styles that differ from the
	column default.  Visibility is irrelevant.
	(excel_sheet_new): Use new sheet_style_most_common.

882 883 884 885 886 887 888 889 890 891 892 893 894 895 896
2012-03-08  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (excel_write_formula): Base length
	calculation on position, not length.  That matters if we have
	seeked.

	* ms-excel-write.c (excel_write_image_v8): Reimplement based on
	excel_write_textbox_or_widget_v8.
	(excel_write_textbox_or_widget_v8): Don't write text style
	properties unless we have a text.
	(excel_write_vector_blip, excel_write_raster_blip): Constify.

	* ms-excel-read.c (excel_fill_bmp_header): Fix incorrect use of
	sizeof.

897 898
2012-03-07  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
899 900 901
	* ms-obj.c (ms_obj_read_pre_biff8_obj): Use symbolic object type
	names, not magic constants.

902 903 904
	* ms-excel-read.c (ms_sheet_parse_expr_internal): Fix crash when
	debugging was turned on.

905 906
	* ms-excel-write.c (cb_write_condition): Actually save the font
	flags.  Part of #671531.
907 908 909
	(excel_write_ClientTextbox): Fix confusion between byte offsets
	and character offsets.
	(excel_write_RSTRING): Ditto.  Part of #671531.
910
	(cb_write_condition): Fix pattern export.  Part of #671531.
911

912 913 914 915 916 917
2012-03-06  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (cb_write_condition): Handle lack of style
	conditions.
	(excel_write_prep_conditions): Ditto.
	(put_colors): Ditto.  Fixes crash of #671267.
918 919
	(write_sheet_head): Export page breaks even if we have one one of
	horizontal/vertical.  Part of #671531.
920

Morten Welinder's avatar
Morten Welinder committed
921 922 923 924
2012-03-02  Morten Welinder <terra@gnome.org>

	* Release 1.11.2

925 926 927 928 929 930 931 932 933 934 935 936 937 938
2012-01-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (attr_bool): accept "true"
	(xlsx_run_style): If val is missing it defaults to TRUE
	(xlsx_run_color): fix the range of values for the pango color
	attribute
	(xlsx_comment_text): rename to xlsx_r_text
	(cb_trunc_attributes): new
	(xlsx_comment_rich_text): rename to xlsx_rich_text and make sure
	the attributes do not spill into the next run
	(xlsx_sstitem_start): new
	(xlsx_sstitem_end): use state->r_text
	(xlsx_shared_strings_dtd): connect rich text items

939 940 941 942 943
2012-01-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_cell_inline_text_end): new
	(xlsx_sheet_dtd): connect the above

944 945 946 947 948
2011-12-27  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_text_start),
	(xlsx_draw_text_run_props): always set a font size.

949 950 951 952 953
2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-docprops.c (xlsx_read_core_keys): use G_VALUE_INIT
	* xlsx-read.c: add dead-kittens.h

954 955 956 957 958 959 960
2011-11-30 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* excel-xml-read.c (xl_xml_selection): adjust call to
	sv_selection_add_full
	* ms-excel-read.c (excel_read_SELECTION): adjust calls to
	sv_selection_add_full and sv_selection_add_pos

Morten Welinder's avatar
Morten Welinder committed
961 962 963 964
2011-11-27  Morten Welinder <terra@gnome.org>

	* Release 1.11.1

Morten Welinder's avatar
Morten Welinder committed
965 966 967 968
2011-11-24  Morten Welinder <terra@gnome.org>

	* Release 1.11.0

Morten Welinder's avatar
Morten Welinder committed
969 970 971 972 973 974
2011-11-21  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (start_update_progress): Handle NULL xin.
	(xlsx_file_open): Use right input stream for progress update.
	Fixes an FMR.

975 976 977 978 979 980
2011-11-20 Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_SETUP): rename
	PRINT_ERROR and PRINT_COMMENTS constants
	* ms-excel-write.c (excel_write_SETUP): ditto

981 982
2011-10-29  Jean Brefort  <jean.brefort@normalesup.org>

Morten Welinder's avatar
Morten Welinder committed
983 984
	* xlsx-read-drawing.c (xlsx_blip_start): don't set an invalid
	image type.
985

986 987
2011-10-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

Morten Welinder's avatar
Morten Welinder committed
988 989 990 991 992
	* ms-excel-read.c (ms_wb_get_font_markup): use
	subscript/superscript attributes
	* ms-excel-write.c (excel_font_overlay_pango): export
	subscript/superscript attributes (and fix PANGO_ATTR_RISE
	handling)
993

994 995 996 997 998
2011-10-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_sheet): don't miss cell content that
	yields empty cells

999 1000 1001 1002 1003
2011-10-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_choose_border): new
	(excel_set_xf): check for border consistency

1004 1005 1006 1007
2011-09-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (gnm_xl_get_codepage): use guint

1008 1009 1010 1011 1012 1013 1014
2011-08-29  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_ser_labels_show_val),
	(xlsx_ser_labels_show_cat), (xlsx_ser_labels_start),
	(xlsx_data_label_show_val), (xlsx_data_label_show_cat),
	(xlsx_data_label_start): set a default separator.

1015 1016 1017
2011-08-28  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end), (xl_chart_import_error_bar),
Morten Welinder's avatar
Morten Welinder committed
1018 1019
	(ms_excel_chart_read), (store_dim), (chart_write_series): moved
	two helpers to goffice.
1020 1021 1022 1023 1024 1025 1026 1027 1028
	* xlsx-read-drawing.c (xlsx_tx_pr), (xlsx_draw_text_run_props),
	(xlsx_ser_labels_show_val), (xlsx_ser_labels_show_cat),
	(xlsx_ser_labels_pos), (xlsx_ser_labels_start),
	(xlsx_ser_labels_end), (xlsx_data_label_pos),
	(xlsx_data_label_index), (xlsx_data_label_show_val),
	(xlsx_data_label_show_cat), (xlsx_data_label_start),
	(xlsx_chart_ser_f), (xlsx_chart_solid_fill),
	(xlsx_draw_color_themed): fix various data labels import issues.

1029 1030 1031 1032 1033 1034 1035
2011-08-22  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_ser_data_show_val),
	(xlsx_ser_data_show_cat), (xlsx_ser_data_pos),
	(xlsx_ser_data_start), (xlsx_chart_ser_f): import data labels,
	(xlsx_chart_solid_fill): fix fill color.

1036 1037 1038 1039
2011-08-22  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_ser_f): fix import of series names.

1040 1041 1042 1043 1044
2011-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-write.c (cb_cell_pre_pass): avoid synthesizing the same style several
	times

1045 1046 1047 1048 1049
2011-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-write.c (cb_cell_pre_pass): synthesize wrap-text style if necessary
	(build_xf_data): we need to write wrap-text in variant 4

1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062
2011-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-docprops.c (xlsx_read_docprops_*): handle progress reports
	* xlsx-read.c (maybe_update_progress): new
	(start_update_progress): new
	(end_update_progress): new
	(xlsx_CT_Row): handle progress reports
	(xlsx_CT_RowsCols_end): handle progress reports
	(xlsx_sheet_begin): handle progress reports
	(xlsx_comment_end): ditto
	(xlsx_wb_end): ditto
	(xlsx_file_open): ditto

1063 1064 1065 1066 1067
2011-08-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-drawing.c (xlsx_scatter_style): also read incorrect "markers"
	* xlsx-write-drawing.c (xlsx_write_chart): write "marker" rather than "markers"

1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080
2011-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* plugins/excel/boot.c (excel_enc_file_open): new
	(excel_file_open): use excel_enc_file_open
	* plugins/excel/excel.h (excel_read_workbook): add argument
	* plugins/excel/ms-excel-read.c (excel_read_FONT): for charset 0 consider
	encoding override
	(gnm_xl_get_codepage): new
	(gnm_xl_importer_new): add argument, change caller and convert codepage override
	(excel_read_workbook): add argument and change all callers
	* plugins/excel/ms-excel-read.h (_GnmXLImporter): add field
	* plugins/excel/plugin.xml.in: add new encoding dependent file opener

1081 1082 1083 1084 1085 1086 1087
2011-08-12  Valek Filippov <frob@gnome.org>

	* plugins/excel/ms-excel-read.c (excel_read_FONT): convert charset to codepage
	and store in ExcelFont
	(excel_get_chars): set str_iconv based on codepage and change all callers
	(plugins/excel/ms-excel-read.h): change charset to codepage in ExcelFont

1088 1089 1090 1091 1092 1093 1094 1095
2011-08-11  Valek Filippov <frob@gnome.org>

	* plugins/excel/ms-excel-read.c (excel_read_FONT): store charset in ExcelFont
	(excel_read_LABEL): pass charset to excel_get_text_fixme
	(excel_get_text_fixme): pass charset to excel_get_text
	(excel_get_chars): set str_iconv based on charset and change all callers
	(plugins/excel/ms-excel-read.h): add charset to ExcelFont

1096 1097 1098 1099
2011-08-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* plugins/excel/plugin.xml.in: use TM symbol

Morten Welinder's avatar
Morten Welinder committed
1100 1101 1102 1103
2011-07-31  Morten Welinder <terra@gnome.org>

	* Release 1.10.17

1104 1105 1106 1107 1108 1109 1110
2011-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* excel-xml-read.c: Use G_GNUC_UNUSED
	(excel_xml_dtd): add PageMargins
	(xl_xml_data_end): parse numbers carefully
	(excel_xml_file_open): switch to C locale

1111 1112 1113 1114 1115 1116
2011-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_wb_name_end): check for "_xlnm." prefix
	* xlsx-write.c (xlsx_write_named_expression): also write permanent
	expressions

1117 1118 1119 1120 1121 1122
2011-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_named_expression): new
	(xlsx_write_definedNames): new
	(xlsx_write_workbook): call xlsx_write_definedNames

1123 1124 1125 1126 1127
2011-07-03  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_text_start), (xlsx_chart_text),
	(xlsx_read_chart): fixed loading xlsx files with empty chart titles.

1128 1129
2011-07-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1130
	* xlsx-write-docprops.c (xlsx_map_prop_name_to_output_fun):
1131 1132 1133
	use GSF_META_NAME_MM_CLIP_COUNT
	* xlsx-read-docprops.c: use GSF_META_NAME_MM_CLIP_COUNT

1134 1135 1136 1137
2011-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-docprops.c (xlsx_read_core_keys): implement

1138 1139 1140 1141 1142 1143
2011-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-docprops.c (xlsx_map_to_keys): new
	(xlsx_map_prop_name_to_output_fun): connect xlsx_map_to_keys
	(xlsx_meta_write_props): depend on xlsx_map_prop_name_to_output_fun
	even for keywords
Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
1144

1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159
2011-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.h (XL_NS_PROP_CUSTOM): new
	* xlsx-read.c (XLSXReadState): new field meta_prop_name
	(XL_NS_PROP_CUSTOM): new namespace
	* xlsx-read-docprops.c (xlsx_read_property_begin): new
	(xlsx_read_property_end): new
	(xlsx_read_custom_property_type): new
	(xlsx_read_custom_property): new
	(xlsx_read_property_date): new
	(xlsx_docprops_custom_dtd): new
	(xlsx_docprops_extended_dtd): add elements
	(xlsx_read_docprops_custom): new
	(xlsx_read_docprops): call xlsx_read_docprops_custom

1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174
2011-06-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c: new includes (for xlsx-write-docprops.c)
	* xlsx-write-docprops.c (xlsx_map_time_to_int): new
	(xlsx_map_to_int): new
	(xlsx_map_to_bool): new
	(xlsx_map_to_date_core): new
	(xlsx_map_prop_name_to_output_fun): new
	(xlsx_meta_write_props_extended): use xlsx_map_prop_name_to_output_fun
	(xlsx_map_prop_type): replaced by xlsx_map_prop_name_to_output_fun
	(xlsx_meta_write_props): use xlsx_map_prop_name_to_output_fun
	(xlsx_map_to_pid): new
	(xlsx_meta_write_props_custom): new
	(xlsx_write_docprops_custom): call xlsx_meta_write_props_custom

1175 1176 1177 1178 1179 1180 1181 1182
2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-docprops.c (xlsx_write_docprops_custom):
	enable
	* xlsx-write.c (ns_docprops_custom): new
	(xlsx_write_fills): Kspread needs the formats implied by
	Excel

1183 1184 1185 1186 1187
2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write-docprops.c (xlsx_write_docprops_app): The
	AppVersion format should really be d.dddd.

1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203
2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-docprops.c (xlsx_read_core_prop_type): renamed
	to xlsx_read_prop_type
	(xlsx_read_core_prop): renamed to xlsx_read_prop
	(xlsx_read_core_prop_dt): renamed to xlsx_read_prop_dt
	(xlsx_read_prop_int): new
	(xlsx_read_prop_boolean): new
	(xlsx_docprops_extended_dtd): new
	(xlsx_read_docprops_extended): implement
	* xlsx-read.c (xlsx_ns): add name spaces
	* xlsx-utils.h (XL_NS_PROP): new
	(XL_NS_PROP_VT): new
	* xlsx-write-docprops.c (xlsx_write_docprops_app): The
	AppVersion format is prescribed to d.dddd.

1204 1205 1206 1207 1208 1209 1210 1211 1212
2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (ns_docprops_extended_vt): new
	* xlsx-write-docprops.c (xlsx_map_prop_name_extended): new
	(xlsx_meta_write_props_extended): new
	(xlsx_write_docprops_app): write more properties
	(xlsx_write_docprops_core): no need to remove the generator
	meta data, we only write selected props anyways.

1213 1214 1215 1216 1217 1218 1219
2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_predefined_fills): new
	(xlsx_write_fills): use the above
	(xlsx_find_predefined_fill): new
	(xlsx_find_fill): use xlsx_find_predefined_fill

1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234
2011-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-docprops.c (new)
	* Makefile.am: add xlsx-read-docprops.c
	* xlsx-utils.h: add XL_NS_PROP_*
	* xlsx-write.c (xlsx_write_fills): start with some fills
	expected by Excel
	(xlsx_write_style): apparently Excel writes apply*
	attributes always. So do we now.
	* xlsx-read.c: add some includes, including
	xlsx-read-docprops.c
	(xlsx_ns): som emore namespaces
	(xlsx_file_open): call xlsx_read_docprops from
	xlsx-read-docprops.c

1235 1236
2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1237
	* xlsx-write.c (xlsx_write_style): usually write an xfId,
1238 1239 1240 1241 1242 1243 1244 1245 1246 1247
	write apply* attributes only if they are false (nobody
	seems to write true ones)
	(xlsx_write_cellStyleXfs): write a named style record to refer
	to
	(xlsx_write_cellXfs): adust call to xlsx_write_style
	(xlsx_get_style_id): new, extracted from xlsx_write_cells
	(xlsx_write_cells): use xlsx_get_style_id
	(xlsx_write_workbook): make sure we write the default style
	first

1248 1249 1250 1251 1252 1253
2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c: add include
	* xlsx-write-docprops.c (xlsx_map_prop_type): add more items
	(xlsx_meta_write_props): also write keywords

1254 1255 1256 1257 1258 1259 1260 1261 1262
2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_shared_strings): xml:space is
	not allowed
	(xlsx_write_styles): ditto
	(xlsx_write_workbook): ditto
	* xlsx-write-docprops.c (xlsx_write_docprops_app): ditto
	(xlsx_write_docprops_core): ditto

1263 1264 1265 1266 1267 1268
2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_fonts): check the font names
	just in case
	(xlsx_write_rich_text): we definitely need to check the text

1269 1270 1271 1272 1273
2011-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_num_formats): the format strings
	need to be properly encoded for xlm

1274 1275 1276 1277
2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_borders): fix element order

1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289
2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (ns_docprops_core_cp): new
	(ns_docprops_core_dc): new
	(ns_docprops_core_dcmitype): new
	(ns_docprops_core_dcterms): new
	(ns_docprops_core_xsi): new
	* xlsx-write-docprops.c (xlsx_map_prop_type): new
	(xlsx_map_prop_name): new
	(xlsx_meta_write_props): new
	(xlsx_write_docprops_core): imlement

1290 1291 1292 1293 1294 1295 1296
2011-06-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* Makefile.am: add xlsx-write-docprops.c
	* xlsx-write.c (ns_docprops_extended): new
	(xlsx_write_workbook): call xlsx_write_docprops
	* xlsx-write-docprops.c: new

1297 1298 1299 1300 1301 1302
2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read-drawing.c (xlsx_drawing_dtd): add srcRect

2011-06-16  Morten Welinder <terra@gnome.org>

1303
	* Release 1.10.16
1304

1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316
2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_border): use the appripriate
	element name based on ECMA-376 edition
	(xlsx_write_workbook): in edition 2 "codePage" was replaced by
	"characterSet"
	(xlsx2_file_save): new
	* plugin.xml.in: add file saver for ECMA-376 2nd edition
	* xlsx-write-pivot.c (xlsx_write_pivot_cache_definition):
	2nd edition replaced "refreshedDate" attribute with
	"refreshedDateIso"

1317 1318
2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1319
	* xlsx-write.c (xlsx_write__rich_text): handle NULL attribute
1320 1321
	list

1322 1323 1324 1325 1326
2011-06-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_border): write diagonal border element
	(xlsx_write_borders): support diagonal elements
	* xlsx-read.c (xlsx_col_border_begin): new
1327
	(xlsx_border_end): fix reference counting
1328 1329
	(xlsx_border_diagonal_end): new

1330 1331 1332 1333 1334
2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_border): use edition 1 elements
	(xlsx_write_cells): also write styles for empty cells

1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345
2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_find_border): new
	(xlsx_write_border): new
	(xlsx_write_borders): implement
	(xlsx_write_style): handle borders
	(xlsx_write_cellXfs): add argument, change all callers
	(xlsx_write_styles): call xlsx_write_borders
	* xlsx-read.c: for borders "left" and "right" are really called
	"start" and "end"

1346 1347 1348 1349 1350 1351 1352 1353 1354
2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_find_font): new
	(xlsx_write_fonts): implement
	(xlsx_find_fill): check for straight equality
	(xlsx_write_style): handle font-info
	(xlsx_write_cellXfs): add argument, change all callers
	(xlsx_write_styles): call xlsx_write_fonts

1355 1356 1357 1358 1359 1360 1361 1362
2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_load_buildin_num_formats): new
	(xlsx_write_num_formats): new
	(xlsx_write_style): connect to the number formats
	(xlsx_write_cellXfs): add argument, change all callers
	(xlsx_write_styles): call xlsx_write_num_formats

1363 1364 1365 1366 1367 1368 1369 1370 1371 1372
2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_color_element): new
	(xlsx_find_fill): new
	(xlsx_write_fills): implement
	(xlsx_write_style): use written fills
	(xlsx_write_cellXfs): ditto
	(xlsx_write_styles): connect xlsx_write_fills with xlsx_write_cellXfs
	(xlsx_write_cells): GPOINTER_TO_INT(0) yields NULL, so shift when
	storing 0-based indices
1373

1374 1375 1376 1377 1378 1379 1380 1381 1382 1383
2011-06-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_style_want_alignment): new
	(xlsx_write_style_write_alignment): new
	(xlsx_write_style): new
	(xlsx_write_cellXfs): new
	(xlsx_write_styles): connect xlsx_write_cellXfs
	(xlsx_write_cells): llink to styles
	(xlsx_write_workbook): initialize and finalize style lists

1384 1385 1386 1387 1388 1389 1390
2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-utils.h (xlsx_get_gradient_direction): new
	* xlsx-utils.c (xlsx_get_gradient_direction): new
	* xlsx-read-drawing.c (xlsx_chart_grad_linear): use
	xlsx_get_gradient_direction

1391 1392 1393 1394 1395 1396 1397
2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_cell_begin): don't overwrite an existing row style
	(xlsx_CT_Row): the row style should only be used if customFormat == 1
	(xlsx_CT_GradientFill): consider this a solid colour fill until we
	really import the gradients

1398 1399 1400 1401 1402 1403 1404 1405
2011-06-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (elem_color): add allow_alpha argument, change all
	callers and set alpha to 0xFF if it is not allowed
	(xlsx_pattern_fg_bg): if we are reading a colour for a solid fill, ignore
	alpha. LibreOffice 3.3.2 sets the alpha to 0 and Excel seems to ignore it
	(xlsx_font_color): ditto

1406 1407 1408 1409
2011-05-22  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_autofilter_names): Use proper
	ctor/dtor methods for GnmNamedExpr.
1410 1411
	(excel_write_autofilter_names): Use new
	expr_name_set_is_placeholder.
1412

Morten Welinder's avatar
Morten Welinder committed
1413 1414 1415 1416
2011-05-21  Morten Welinder <terra@gnome.org>

	* Release 1.10.15

1417 1418 1419 1420
2011-05-20  Morten Welinder  <terra@gnome.org>

	* xlsx-write.c (xlsx_write_rich_text): Clamp "start" too.

1421 1422 1423 1424 1425
2011-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-chart.c (chart_write_LEGEND): use
	GNM_*_KILL_SWITCH_WARNING

1426 1427
2011-05-04  Jean Brefort  <jean.brefort@normalesup.org>

1428 1429
	* xlsx-read-drawing.c (xlsx_chart_pop_obj): don't set a style to a
	NULL object,
1430 1431 1432 1433 1434
	(xlsx_axis_mark): pass a true boolean to make gobject happy,
	(xlsx_axis_end): don't exchange radar plots axes,
	(xlsx_chart_legend_pos): add new enum values not in spec, but occuring,
	(xlsx_chart_solid_fill): set line color to line, not fill.

Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
1435 1436 1437 1438
2011-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-chart.c (chart_write_LEGEND): disable -Wswitch for this function

1439 1440
2011-05-03  Jean Brefort  <jean.brefort@normalesup.org>

1441
	* xlsx-read-drawing.c (xlsx_style_line_start): don't crash on NULL
Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
1442
	style,
1443
	(cb_axis_set_position): fix axis crossing position.
1444
	* xlsx-write-drawing.c (xlsx_write_chart): partially fix circular
Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
1445
	axis position.
1446

1447 1448 1449 1450 1451
2011-04-08  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c: import some legacy drwawings.
	* xlsx-read.c: ditto.

1452 1453 1454 1455 1456
2011-04-04  Morten Welinder  <terra@gnome.org>

	* ms-obj.c (ms_obj_read_pre_biff8_obj): Improve record length
	check.

Morten Welinder's avatar
Morten Welinder committed
1457 1458 1459 1460
2011-03-24  Morten Welinder <terra@gnome.org>

	* Release 1.10.14

1461 1462 1463 1464 1465
2011-03-23  Morten Welinder  <terra@gnome.org>

	* xlsx-read-drawing.c (xlsx_axis_crosses): Avoid using
	uninitialized values if an attribute is missing.

1466 1467 1468 1469 1470 1471 1472 1473 1474
2011-03-22  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_push_obj), (xlsx_chart_pop_obj),
	(xlsx_chart_text_start), (xlsx_chart_text), (xlsx_body_pr),
	(xlsx_axis_mark), (xslx_chart_tick_label_pos),
	(xlsx_chart_marker_end), (xlsx_chart_start_dummy),
	(xlsx_read_chart): import axis ticks format.
	* xlsx-read.c: add a GOStyle stack.

1475 1476 1477 1478 1479 1480 1481 1482
2011-03-21  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_draw_text_run_props),
	(xlsx_sheet_drawing), (xlsx_sheet_legacy_drawing): add a dtd for lecacy
	drawing.
	* xlsx-read.c: ditto.
	* xlsx-utils.h: ditto.

1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494
2011-03-20  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_push_obj), (xlsx_chart_pop_obj),
	(xlsx_chart_text_start), (xlsx_chart_text), (xlsx_chart_p_start),
	(xlsx_chart_text_content), (xlsx_draw_text_run_props),
	(xlsx_rel_size_anchor_start), (xlsx_rel_size_anchor),
	(xlsx_user_shape_pos), (xlsx_user_shape), (xlsx_user_shape_end),
	(xlsx_axis_crosses), (xlsx_chart_style_end),
	(xlsx_draw_color_themed), (xlsx_chart_marker_end),
	(xlsx_chart_layout_manual), (cb_axis_set_position),
	(xlsx_read_chart): import labels and positions.

1495 1496 1497 1498 1499 1500 1501 1502
2011-03-19  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_user_shapes): add missing dtd entries,
	(xlsx_chart_legend), (xlsx_chart_legend_pos), (xlsx_plot_area),
	(xlsx_chart_layout_manual), (xlsx_chart_layout_target),
	(xlsx_chart_layout_dim), (xlsx_chart_layout_mode): work on positions.
	* xlsx-read.c: ditto.

1503 1504 1505 1506 1507 1508 1509
2011-03-18  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_user_shapes),
	(xlsx_chart_text_start), (xlsx_chart_text): add chartDrawing namespace.
	* xlsx-read.c: ditto.
	* xlsx-utils.h: ditto.

1510 1511 1512 1513 1514 1515 1516
2011-03-18  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_chart_text_start), (xlsx_chart_text): import
	text in sheet filled objects.
	* xlsx-write-drawing.c (xlsx_write_series_dim): don't export strings as
	values.

1517 1518 1519 1520 1521 1522
2011-03-15  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-drawing.c (xlsx_draw_color_end): fixed some auto style issues.
	* xlsx-write-drawing.c (xlsx_write_plot_1_5_type),
	(xlsx_write_series_dim), (xlsx_write_go_style), (xlsx_write_chart): ditto.

1523 1524 1525 1526 1527
2011-03-14  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-write-drawing.c (xlsx_write_chart): export radial plot axes,
	anf fix overlap in barcol plots.

1528 1529 1530 1531 1532
2011-03-13  Morten Welinder  <terra@gnome.org>

	* xlsx-utils.c (xlsx_lookup_external_wb): It looks like [0] is
	used to refer to the "self" workbook.

1533 1534 1535 1536 1537 1538 1539 1540
2011-03-12  Jean Brefort  <jean.brefort@normalesup.org>

	* Makefile.am: add new xlsx drawing/chart files.
	* xlsx-read-drawing.c: new file, better import of styles.
	* xlsx-read.c: moved drawing/chart code to xlsx-read-drawing.c.
	* xlsx-write-drawing.c: new file with enhanced chart export.
	* xlsx-write.c: moved drawing/chart code to xlsx-write-drawing.c.

1541 1542 1543 1544 1545 1546 1547
2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read.c (xlsx_chart_ser_f), (xlsx_chart_text_start),
	(xlsx_chart_text): accept formulas in labels.
	* xlsx-write.c (xlsx_write_series_dim), (xlsx_write_rgbarea),
	(xlsx_write_go_style), (xlsx_write_chart): export chart background.

1548 1549 1550 1551 1552
2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read.c (xlsx_chart_xy), (xlsx_scatter_style): import the scatter
	plot default series style.

1553 1554 1555 1556 1557
2011-03-05  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read.c (xlsx_plot_axis_id), (xlsx_axis_crosses_at),
	(cb_axis_set_position): import axis crossing position. [#642941]

Morten Welinder's avatar
Morten Welinder committed
1558 1559 1560
2011-03-04  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_sheet_begin): Use attr_enum.
1561 1562
	(xlsx_wb_name_begin, xlsx_wb_name_end): Collect names and define
	as stubs.
Morten Welinder's avatar
Morten Welinder committed
1563 1564
	(handle_delayed_names): Define all collected names properly.

1565 1566 1567 1568 1569
2011-03-04  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read.c (xlsx_axis_end), (xlsx_chart_p_start),
	(xlsx_chart_text_content): import multiple runs chart titles. [#643814]

Morten Welinder's avatar
Morten Welinder committed
1570 1571 1572 1573
2011-03-03  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_chart_text): Avoid criticals in the absense of
	chart text.
1574
	(xlsx_sheet_begin): Import sheet state.  Fixes #643815.
Morten Welinder's avatar
Morten Welinder committed
1575

1576 1577 1578 1579 1580
2011-02-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_axis_crosses_at): new
	(xlsx_chart_dtd): connect xlsx_axis_crosses_at

1581 1582
2011-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

Morten Welinder's avatar
Morten Welinder committed
1583
	* xlsx-write.c (xlsx_write_comments): skip NULL author
1584 1585
	(see glib bug #642944)

1586 1587 1588
2011-02-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_chart_dtd): add c:crossesAt
Morten Welinder's avatar
Morten Welinder committed
1589
	(xlsx_cell_expr_begin): don't ignore shared expressions with
1590 1591
	duplicate id

Morten Welinder's avatar
Morten Welinder committed
1592 1593 1594 1595
2011-02-02  Morten Welinder <terra@gnome.org>

	* Release 1.10.13

1596 1597 1598 1599
2011-01-06  Morten Welinder  <terra@gnome.org>

	* xls-read-pivot.c (xls_read_SXVIEW): The record contains a cache
	index, not a cache id.
Morten Welinder's avatar
Morten Welinder committed
1600
	(xls_read_SXVI): Fix debug print.
1601

1602 1603 1604 1605 1606
2010-12-26  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (areaformat), (chart_write_LINEFORMAT): enhance color support.
	[#637658]

1607 1608 1609 1610
2010-12-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* ms-excel-read.c (excel_read_FONT): try to make cppcheck happy

1611 1612 1613 1614 1615 1616
2010-12-17  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-read.c (ms_sheet_realize_obj): make object invisible outline
	persistent. [#637393]
	* ms-excel-write.c (excel_write_textbox_or_widget_v8):

Morten Welinder's avatar
Morten Welinder committed
1617 1618 1619 1620
2010-11-25  Morten Welinder <terra@gnome.org>

	* Release 1.10.12

1621 1622 1623 1624
2010-10-13  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_SELECTION): Work around missing
	selection.  Fixes #632050.
1625
	(excel_parse_name): Treat global Print_Area a tad better.
1626

1627 1628 1629 1630 1631
2010-10-03  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-write.c (xlsx_write_rich_text): really assign the buffer before
	using it.

Morten Welinder's avatar
Morten Welinder committed
1632 1633 1634 1635
2010-10-01  Morten Welinder <terra@gnome.org>

	* Release 1.10.11

1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647
2010-10-01  Jean Brefort  <jean.brefort@normalesup.org>
	* xlsx-read.c (elem_color), (xlsx_run_weight), (xlsx_run_style),
	(xlsx_run_family), (xlsx_run_size), (xlsx_run_strikethrough),
	(xlsx_run_underline), (xlsx_run_color), (xlsx_comments_start),
	(xlsx_comments_end), (xlsx_comment_author_end),
	(xlsx_comment_start), (xlsx_comment_end), (xlsx_comment_text),
	(xlsx_comment_rich_text), (xlsx_wb_end), (xlsx_file_open): read cell
	comments. [#630627]
	* xlsx-write.c (xlsx_write_rich_text), (write_comment_author),
	(xlsx_write_comments), (xlsx_write_sheet), (xlsx_file_save): write cell
	comments.

1648 1649 1650 1651 1652
2010-09-15  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (tick), (chart_write_axis): export/import tick label rotation
	angle. [#629675]

Morten Welinder's avatar
Morten Welinder committed
1653 1654 1655 1656
2010-09-04  Morten Welinder <terra@gnome.org>

	* Release 1.10.10

Morten Welinder's avatar
Morten Welinder committed
1657 1658 1659 1660
2010-08-16  Morten Welinder <terra@gnome.org>

	* Release 1.10.9

Morten Welinder's avatar
Morten Welinder committed
1661 1662 1663 1664
2010-07-30  Morten Welinder <terra@gnome.org>

	* Release 1.10.8

1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682
2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* excel-xml-read.c (xl_xml_font): add UNDERLINE_*_LOW
	* ms-excel-read.c (xls_uline_to_gnm_underline): new
	(excel_get_style_from_xf): use xls_uline_to_gnm_underline
	(ms_wb_get_font_markup): use gnm_translate_underline_to_pango
	(excel_read_CF): use xls_uline_to_gnm_underline
	* ms-excel-write.c (map_underline_to_xl) rename
	  to map_style_underline_to_xl and use new map_underline_to_xl,
	  change all callers
	(map_underline_to_xl): new
	(excel_font_to_string): add UNDERLINE_*_LOW
	(excel_font_overlay_pango): use gnm_translate_underline_from_pango
	(excel_font_from_go_font): fix typo
	(excel_write_FONT): use map_underline_to_xl
	* xlsx-read.c (xlsx_font_uline): add UNDERLINE_*_LOW
	(xlsx_font_valign): fix typo

1683 1684
2010-07-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

Morten Welinder's avatar
Morten Welinder committed
1685
	* ms-excel-read.h (ExcelFont): change underline field from PangoUnderline
1686 1687 1688 1689 1690 1691
	  to MsBiffFontUnderline
	* ms-excel-read.c (excel_read_FONT): underline field of ExcelFont is not
	  a GnmUnderline but (now) a MsBiffFontUnderline
	(excel_get_style_from_xf): convert underline from MsBiffFontUnderline
	  to GnmUnderline

1692 1693 1694 1695
2010-07-26  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (write_arrow): Fix argument type for "id".

1696 1697
2010-07-13  Jean Brefort  <jean.brefort@normalesup.org>

1698 1699
	* ms-chart.c (chart_write_AREAFORMAT): fixed the auto flag. [see
	#624263]
1700

1701 1702 1703 1704 1705
2010-07-10  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): do not crash when a chart has more than one
	plot. [#623960]

1706 1707 1708 1709 1710
2010-07-09  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_SETUP): Avoid right-shift bigger
	than type.

Morten Welinder's avatar
Morten Welinder committed
1711 1712 1713 1714
2010-06-28  Morten Welinder <terra@gnome.org>

	* Release 1.10.7

1715 1716 1717 1718 1719 1720
2010-06-23  Morten Welinder  <terra@gnome.org>

	* xlsx-read.c (xlsx_CT_RowsCols_end): New function.
	(xlsx_CT_Col): Delay applying the style so we can merge areas.
	Fixes #622365.

Morten Welinder's avatar
Morten Welinder committed
1721 1722 1723 1724
2010-06-16  Morten Welinder <terra@gnome.org>

	* Release 1.10.6

Morten Welinder's avatar
Morten Welinder committed
1725 1726 1727 1728
2010-05-30  Morten Welinder <terra@gnome.org>

	* Release 1.10.5

Morten Welinder's avatar
Morten Welinder committed
1729 1730 1731 1732
2010-05-20  Morten Welinder <terra@gnome.org>

	* Release 1.10.4

Morten Welinder's avatar
Morten Welinder committed
1733 1734 1735 1736
2010-05-07  Morten Welinder <terra@gnome.org>

	* Release 1.10.3

1737 1738 1739
2010-04-29  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_DOPER): Fix saving of integers.
1740
	(excel_write_AUTOFILTERINFO): Fix swapped "and" and "or".
1741

1742 1743 1744
2010-04-23  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (supbook_get_sheet): Return "deleted sheet" for
Morten Welinder's avatar
Morten Welinder committed
1745
	external references so we don't end up with sheet-local refs.
1746 1747
	(excel_read_SUPBOOK): Clean up using new docs.

1748 1749 1750 1751 1752
2010-04-21  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (ai), (objectlink), (end), (ms_excel_chart_read): import
	chart title when it is actually the series label. [#616262]

Morten Welinder's avatar
Morten Welinder committed
1753 1754 1755 1756
2010-04-16  Morten Welinder <terra@gnome.org>

	* Release 1.10.2

1757 1758 1759 1760 1761
2010-04-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_textbox_or_widget_v8): Take
	bp->length into account too.

1762 1763
2010-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1764 1765 1766
	* xlsx-write.c (xlsx_write_workbook): write 1900/1904 date base
	info

1767 1768 1769 1770 1771
2010-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-read.c (xlsx_CT_WorkbookPr): new
	(xlsx_workbook_dtd); hook up xlsx_CT_WorkbookPr

1772 1773 1774 1775 1776
2010-03-31  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (chart_write_AREAFORMAT): export transparent patterns as
	no filling.

1777 1778 1779 1780 1781 1782 1783 1784 1785 1786
2010-03-29  Morten Welinder  <terra@gnome.org>

	* ms-formula-write.c (write_funcall): Guess argument types for
	functions that the excel format doesn't know about.
	(guess_arg_types): New function.

	* ms-excel-write.c (excel_write_externsheets_v7,
	excel_write_externsheets_v8): Fix letter case for extername
	records.

Morten Welinder's avatar
Morten Welinder committed
1787 1788 1789 1790
2010-03-08  Morten Welinder <terra@gnome.org>

	* Release 1.10.1

Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
1791 1792 1793 1794
2010-02-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* xlsx-write.c (xlsx_write_cells): use value_get_as_gstring
	  rather than value_get_as_string. [#610372]
Morten Welinder's avatar
Morten Welinder committed
1795

Morten Welinder's avatar
Morten Welinder committed
1796 1797 1798 1799
2010-02-13  Morten Welinder <terra@gnome.org>

	* Release 1.10.0

1800 1801 1802 1803 1804
2010-01-29  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-write.c (excel_write_textbox_or_widget_v8): export transparency
	for filled objects.

1805 1806 1807 1808
2010-01-29  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-excel-read.c (ms_sheet_realize_obj): really import transparent objects.

Morten Welinder's avatar
Morten Welinder committed
1809 1810 1811 1812
2010-01-19  Morten Welinder <terra@gnome.org>

	* Release 1.9.18

Jody Goldberg's avatar
Jody Goldberg committed
1813 1814 1815 1816 1817 1818
2009-12-29  Jody Goldberg <jody@gnome.org>

	* xls-read-pivot.c (xls_read_SXVI) : new stub.  Currently only notices
	  when XL wants to hide things.
	(xls_read_SXVD) : used from here.

1819 1820 1821 1822 1823 1824 1825 1826
2009-12-24  Jean Brefort  <jean.brefort@normalesup.org>

	* xlsx-read-pivot.c (xlsx_CT_Number),
	(xlsx_CT_pivotCacheDefinition): fixed double/gnm_float issues.
	* xlsx-read.c (xlsx_axis_bound), (elem_color), (xlsx_CT_Row),
	(xlsx_CT_Col), (xlsx_CT_SheetFormatPr), (xlsx_CT_PageMargins),
	(xlsx_CT_Top10), (xlsx_CT_Pane), (xlsx_CT_FontSize): ditto.

1827 1828 1829 1830 1831
2009-12-21  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (lineformat), (chart_write_LINEFORMAT): fix import export
	of line type in scatter plots. [#605043]

Morten Welinder's avatar
Morten Welinder committed
1832 1833 1834 1835
2009-12-15  Morten Welinder <terra@gnome.org>

	* Release 1.9.17

1836 1837 1838 1839
2009-12-09  Jean Brefort  <jean.brefort@normalesup.org>

	* ms-chart.c (end): always initialize matrix bounds. [#593937]

Morten Welinder's avatar
Morten Welinder committed
1840 1841 1842 1843
2009-11-29  Morten Welinder <terra@gnome.org>

	* Release 1.9.16

Morten Welinder's avatar
Morten Welinder committed
1844 1845 1846 1847
2009-11-01  Morten Welinder <terra@gnome.org>

	* Release 1.9.15

1848 1849 1850 1851 1852
2009-10-16  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (excel_read_DIMENSIONS): Store dimensions for
	clipboard use.

1853 1854 1855 1856
2009-10-15  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_line_v8): Fix handling of
	direction.
1857 1858
	(excel_write_textbox_or_widget_v8, excel_write_line_v8): Export
	line styles.
1859

1860 1861
2009-10-14  Morten Welinder  <terra@gnome.org>

1862 1863 1864 1865 1866 1867 1868
	* ms-escher.c (ms_escher_read_OPT): Don't arbitrarily add 1 to
	MS_OBJ_ATTR_OUTLINE_STYLE's value.

	* ms-excel-read.c (ms_sheet_realize_obj): Read dash style
	correctly.
	(xl_pattern_to_line_type): Fix mapping.

1869 1870 1871
	* ms-excel-write.c (excel_write_line_v8): Export line start arrow
	head too.

1872 1873
2009-10-13  Morten Welinder  <terra@gnome.org>

1874 1875 1876
	* ms-formula-write.c (excel_write_array_formula): Set
	allow_sheetless_ref to avoid t8001 failure.

1877 1878 1879
	* ms-obj.c (ms_objv8_write_spinbutton, ms_objv8_write_adjustment):
	New functions.

1880 1881
2009-10-12  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1882 1883 1884 1885 1886 1887
	* ms-formula-write.c (excel_write_formula): Handle new
	EXCEL_CALLED_FROM_OBJ.
	(CTXT_NAME_OBJ): Rename from CTXT_NAME.

	* ms-obj.c (ms_objv8_write_macro_fmla): Use EXCEL_CALLED_FROM_OBJ.

1888 1889 1890 1891 1892 1893 1894 1895
	* ms-excel-write.c (excel_write_textbox_v8): Don't write macro
	records yet.

	* ms-obj.c (ms_objv8_write_checkbox_fmla,
	ms_objv8_write_macro_fmla): Pad length; use NAME context.
	(ms_objv8_write_checkbox_link): Take extra "active" argument.  All
	callers changed.

1896 1897 1898 1899 1900 1901 1902 1903 1904 1905
2009-10-11  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_write_textbox_v8): Call
	ms_objv8_write_radiobutton_data when appropriate.

	* ms-obj.c (ms_objv8_write_radiobutton_data): New function.

	* ms-escher.c (ms_escher_clientdata): Drop argument that turned
	out to be not useful.

Morten Welinder's avatar
Morten Welinder committed
1906 1907 1908 1909
2009-10-11  Morten Welinder <terra@gnome.org>

	* Release 1.9.14

1910 1911
2009-10-09  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1912 1913 1914
	* ms-excel-write.c (excel_write_autofilter_names): Initialize
	nexpr.pos completely.

1915 1916 1917 1918
	* ms-excel-read.c (excel_read_NAME): Fix FMR in debug code.

	* ms-obj.c (ms_obj_read_biff8_obj): Read the macro reference too.

Morten Welinder's avatar
Morten Welinder committed
1919 1920 1921 1922 1923 1924 1925
2009-10-08  Morten Welinder  <terra@gnome.org>

	* ms-escher.c (ms_escher_opt_add_bool): New function.

	* ms-excel-write.c (excel_write_line_v8): Simplify using
	ms_escher_opt_add_bool.

1926 1927
2009-10-07  Morten Welinder  <terra@gnome.org>

1928
	* ms-excel-write.c (excel_write_textbox_v8): Export
1929 1930 1931 1932
	checkbox/radiobutton link and current value.

	* ms-obj.c (ms_objv8_write_checkbox_fmla,
	ms_objv8_write_checkbox_data): New functions.
1933

1934 1935
	* ms-escher.c (ms_escher_opt_add_color): New function.

1936
	* ms-excel-write.c (excel_write_textbox_v8): Make sure the textbox
1937
	gets to be part of the container.  Export line and background
1938 1939
	colours.  Export outline width.
	(excel_write_line_v8): Export line colour and width.
1940 1941 1942 1943 1944

	* ms-escher.c (ms_escher_opt_end): Docs were wrong.  Do not
	include own header in length.
	(ms_escher_opt_add_str_wchar): Fix type error.

1945 1946 1947 1948 1949 1950
2009-10-06  Morten Welinder  <terra@gnome.org>

	* ms-excel-read.c (ms_sheet_realize_obj): Restore colour reading.
	(ms_sheet_map_color): Add new "pauto" argument.  All callers
	changed.

Morten Welinder's avatar
Morten Welinder committed
1951 1952
2009-10-05  Morten Welinder  <terra@gnome.org>

1953
	* ms-excel-write.c (excel_write_textbox_v8): Export
1954 1955 1956 1957 1958 1959
	object name.
	(excel_sheet_new): Prepare for handling lines.
	(blipinf_new): Plug leak.
	(extract_txomarkup): Plug leak.
	(xf_init, cb_cell_pre_pass, cb_accum_styles,
	excel_write_ClientTextbox): Plug leak.
1960
	(excel_write_line_v8): Export lines and arrows.
1961

1962 1963
	* ms-biff.h (_BiffPut): Change type of streamPos to gsf_off_t.

1964 1965
	* ms-chart.c (chart_write_axis): Don't dump uninitialized memory
	into file.
1966
	(map_1_5d_type): Plug leak.
1967

Morten Welinder's avatar
Morten Welinder committed
1968 1969 1970
	* ms-biff.c (ms_biff_put_len_next): Make sure we don't mix _var_
	and _len_ calls.  Make sure we commit.

1971 1972
2009-10-04  Morten Welinder  <terra@gnome.org>

1973 1974 1975
	* ms-excel-write.c (excel_write_textbox_v8): Attempt to handle
	rectangles and ovals.

1976 1977 1978 1979 1980 1981 1982 1983 1984
	* ms-escher.c (ms_escher_get_inst, ms_escher_set_inst,
	ms_escher_spcontainer_start, ms_escher_spcontainer_end,
	ms_escher_sp, ms_escher_opt_start, ms_escher_opt_end,
	ms_escher_opt_add_simple, ms_escher_clientanchor,
	ms_escher_clientdata): New functions.

	* ms-excel-write.c (excel_write_textbox_v8): Use new Escher output
	utilities.

1985 1986
2009-10-02  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1987 1988 1989
	* ms-excel-write.c (excel_sheet_new): Display name of sheet
	objects we cannot export.

1990 1991 1992 1993 1994 1995
	* ms-excel-read.c (ms_sheet_realize_obj): Set object name if we
	have it.

	* ms-escher.c (ms_escher_read_OPT): Assume pointers are UTF-16
	strings, not UTF-8.  Fits objs.xls

1996 1997 1998
	* ms-excel-write.c (excel_sheet_new): Don't complain over filter
	combos.  They are handled, but differently.

1999 2000 2001 2002 2003
2009-10-01  Morten Welinder  <terra@gnome.org>

	* ms-excel-write.c (excel_sheet_new): Exclude GNM_SO_FILLED_TYPE
	objects with no text as we do not export them right.  [#596886]