ChangeLog 280 KB
Newer Older
1 2 3 4 5 6 7 8
2009-06-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-info.h (gnm_page_breaks_clean): new
	* src/print-info.c(gnm_page_breaks_clean): new
	* src/print.c (paginate): store page breaks if requested
	(compute_sheet_pages): clear page breaks if storage of new ones 
	  is requested

9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
2009-06-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-info.h (gnm_page_breaks_set_break): new
	(gnm_page_breaks_get_break): new
	(gnm_page_breaks_get_next_manual_break): new
	(gnm_page_breaks_dup_non_auto_breaks): new
	* src/print-info.c (gnm_page_breaks_set_break): new
	(gnm_page_breaks_get_break): new
	(gnm_page_breaks_get_next_manual_break): new
	(gnm_page_breaks_dup_non_auto_breaks): new
	(gnm_page_break_type_from_str): default to GNM_PAGE_BREAK_NONE
	* src/print.h (GNUMERIC_PRINT_SETTING_IGNORE_PAGE_BREAKS_KEY):
	  new key
	* src/print.c (PrintingInstance): add new fields
	(paginate): add arguments and change all callers
	(gnm_begin_print_cb): handle ignoring of manual page breaks
	(gnm_create_widget_cb): add ignore page break chackbox
	(gnm_custom_widget_apply_cb): and handle the checkbox

28 29 30 31 32 33
2009-06-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/GNOME_Gnumeric-gtk.xml.in: add ChiSquareTests
	* src/wbc-gtk-actions.c add MenuContingencyTests and
	  Tools -> Chi Square Tests items

34 35 36 37 38
2009-06-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* expr.h (gnm_expr_new_funcall5): new
	* src/expr.c (gnm_expr_new_funcall5): new

39 40 41 42 43
2009-06-04  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (cb_set_cell_content): Fix critical when overwriting
	a non-singular array formula with non-array contents.  [#584746]

44 45 46 47 48 49
2009-06-03  Morten Welinder  <terra@gnome.org>

	* src/expr.c (cellref_boundingbox, gnm_expr_get_boundingbox,
	gnm_expr_top_get_boundingbox): Add sheet parameter for size.
	All callers changed.

50 51 52 53 54
2009-06-02  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-actions.c (cb_format_as_currency): Deal with goffice
	changes.

55 56 57 58 59
2009-05-30  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_cell_content): Don't check
	go_format_unref.

60 61 62 63 64
2009-05-29  Morten Welinder  <terra@gnome.org>

	* src/main-application.c (main): Honour geometry even when we are
	not loading a file from the command line.

65 66 67 68 69
2009-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (toggle_font_attr): when we toggle sub or 
	  subscript we should also toggle the size.

70 71 72 73 74 75
2009-05-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/GNOME_Gnumeric-gtk.xml.in: add super and subscript buttons
	  to format toolbar. Remove Label button from the object toolbar
	  since it is functionally equivalent to the rectangle button.

76 77 78 79
2009-05-28  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-actions.c (cb_format_as_currency): Fix.

80 81 82 83 84 85 86 87 88 89 90 91
2009-05-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-so-filled.c (so_filled_view_set_bounds): don't check for
	  text to be non-null and is_oval to be false
	(gnm_so_filled_user_config): ditto
	(cb_gnm_so_filled_style_changed): ditto
	(gnm_so_filled_draw_cairo): ditto
	(gnm_so_filled_write_xml_sax): ditto
	(gnm_so_filled_init): Iniitalize with the empty string rather than NULL
	  since something in FOOCANVAS doesn't update when we change from NULL to 
	  text.

92 93 94 95 96
2009-05-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-cell-comment.c (cell_comment_prep_sax_parser):
	  make sure we are having markup before retrieving it

Morten Welinder's avatar
Morten Welinder committed
97 98 99 100
2009-05-26  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dependent_changed): Handle NULL dep->sheet.

101 102 103 104
2009-05-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: increase goffice requirement to 0.7.8
	
105 106 107 108 109
2009-05-26  Morten Welinder  <terra@gnome.org>

	* src/search.c (gnm_search_match_value): Accept a very small
	range.

110 111 112 113 114 115 116 117 118
2009-05-25  Morten Welinder  <terra@gnome.org>

	* src/search.c (gnm_search_replace_set_property,
	gnm_search_replace_get_property, gnm_search_replace_class_init):
	Add new is-number property.
	(gnm_search_replace_comment): Comments are not numbers.
	(gnm_search_replace_cell, gnm_search_replace_value): Handle number
	search.

119 120 121 122
2009-05-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: increase libgsf requirement to 1.14.15

Morten Welinder's avatar
Morten Welinder committed
123 124 125 126
2009-05-23  Morten Welinder  <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
127 128 129 130
2009-05-23  Morten Welinder <terra@gnome.org>

	* Release 1.9.8

131 132 133 134 135
2009-05-22  Morten Welinder  <terra@gnome.org>

	* src/parse-util.c (gnm_expr_parse_str_simple): Remove.  Interface
	invites R1C1 bugs.  All callers fixed.

136 137 138 139 140
2009-05-21  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (cb_graph_dim_editor_update): Suppress the initial
	update gui update.

141 142
2009-05-18  Morten Welinder  <terra@gnome.org>

143 144
	* src/sheet-object-widget.c: Clean up class accesses.

145 146
	* src/graph.c (gnm_go_data_date_conv): New function.

147 148
	* src/workbook-view.c (wb_view_set_property): Normalize booleans.

149 150 151 152 153 154 155
	* src/sheet-style.c (sheet_style_init_size,
	sheet_style_set_auto_pattern_color): Use structure assignment, not
	memcpy.

	* src/sheet-object.c (sheet_object_anchor_assign): Eliminate in
	favour of plain structure assignment.  All callers changed.

156 157 158 159
	* src/wbc-gtk.c (wbcg_scrollbar_visibility,
	wbcg_notebook_tabs_visibility): New functions.
	(wbcg_view_changed): Hook up wbcg_scrollbar_visibility and
	wbcg_notebook_tabs_visibility.
160

161 162 163 164 165 166 167 168 169 170
	* src/workbook-view.c 	(workbook_view_class_init, wb_view_set_property,
	wb_view_get_property): Add new properties:
	PROP_SHOW_HORIZONTAL_SCROLLBAR, PROP_SHOW_VERTICAL_SCROLLBAR,
	PROP_SHOW_NOTEBOOK_TABS, PROP_DO_AUTO_COMPLETION, PROP_PROTECTED,
	PROP_PREFERRED_WIDTH, PROP_PREFERRED_HEIGHT.
	(wb_view_preferred_size): Use the new properties thus taking care
	of any notification needed.
	(wb_view_set_attribute): Ditto, although this function should die
	soon.

Morten Welinder's avatar
Morten Welinder committed
171 172 173 174
2009-05-17  Morten Welinder  <terra@gnome.org>

	* src/graph.c (gnm_go_data_eq): Compare convs too.

175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
2009-05-16  Morten Welinder  <terra@gnome.org>

	Fix for #490479:

	* src/graph.c (gnm_go_data_preferred_fmt): Don't check dep->sheet.

	* src/sheet-object.c (cb_sheet_object_invalidate_sheet): Clear
	dep->sheet if necessary.

	* src/gui-clipboard.c (table_cellregion_read): Invalidate the
	sheets in the temporary workbook.

	* src/clipboard.c (cellregion_invalidate_sheet): Clear
	->origin_sheet if that is what we are invalidating.

190 191 192 193 194
2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/xml-sax-write.c (xml_write_style): since we index into the 
	  array with our enum we should make the order match.

195 196 197 198 199 200
2009-05-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: fix some long descriptions
	* schemas/gnumeric-general.schemas.in: ditto
	* src/gnm-plugin.c: add a translator comment

Morten Welinder's avatar
Morten Welinder committed
201 202 203 204
2009-05-15  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (gnm_dep_container_dump): fix crash.

205 206
2009-05-14  Morten Welinder  <terra@gnome.org>

207 208 209 210 211 212 213 214 215 216 217 218 219
	* src/dependent.c (workbook_recalc): Wrap whole evaluation in
	calls to gnm_app_recalc_start and gnm_app_recalc_finish.

	* src/expr.c (gnm_expr_top_eval): Wrap gnm_expr_eval call in calls
	to gnm_app_recalc_start and gnm_app_recalc_finish.

	* src/clipboard.c (paste_cell_with_operation): Create a GnmExprTop
	and use that for evaluation.
	* src/validation.c (validation_eval): Ditto.
	* src/workbook-view.c (wb_view_auto_expr_recalc): Ditto.  Simplify.

	* src/application.c (gnm_app_recalc_start, gnm_app_recalc_finish):
	New functions.
220

221 222 223 224 225
	* src/commands.c (cmd_so_set_adjustment): Handle h/v too.  All
	callers changed.
	* src/sheet-object-widget.c (sheet_widget_adjustment_user_config_impl):
	Ditto.

226 227 228 229 230 231 232
	* src/sheet-object-widget.c (SheetWidgetAdjustment): Add explicit
	direction here.
	(SheetWidgetAdjustmentClass): Identify h and v versions here.
	(sheet_widget_adjustment_write_xml_sax): Save direction if needed.
	(sheet_widget_adjustment_prep_sax_parser,
	sheet_widget_adjustment_read_xml_dom): Read it here.

233 234 235 236 237 238
2009-05-13  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c (sheet_widget_scrollbar_create_widget):
	Record whether the scrollbar is horizontal or vertical so
	different views will have the same orientation.

239 240 241 242 243 244 245 246 247
2009-05-12  Morten Welinder  <terra@gnome.org>

	* src/gutils.c (gnm_debug_flag): New function.
	* src/sheet-style.c (sheet_style_optimize): Use gnm_debug_flag.
	* src/gui-clipboard.c (debug_clipboard): Ditto.
	* src/main-application.c (main): Ditto.
	* src/wbc-gtk.c (cb_workbook_debug_info,
	wbc_gtk_create_edit_area): Ditto.

248 249
2009-05-11  Morten Welinder  <terra@gnome.org>

250 251
	* src/ssconvert.c (merge): Rearrange to read files only once.

252 253 254
	* src/sheet.c (gnm_sheet_resize_main): Only warn for a resize that
	is not a no-op.

Morten Welinder's avatar
Morten Welinder committed
255 256 257 258 259 260 261 262
	* src/sheet-style.c (sheet_style_init_size): Don't set partial_col
	and partial_row.
	(cb_style_list_add_node): Deal without partial_col and
	partial_row.

	* src/sheet.h (struct _Sheet): Remove partial_col and partial_row
	flags.

263 264
	* src/ssindex.c (cb_index_styles): Index validation stuff too.

265 266
2009-05-09  Morten Welinder  <terra@gnome.org>

267 268 269 270
	* src/collect.c (collect_floats): Introduce a cache for the
	important argc==1 case.  Add extra argument to avoid copying
	the result unnecessarily.  All callers changed.

271 272 273
	* src/sheet-style.c (cell_tile_optimize): Remove extraneous
	"break;"  Fixes #582027.

274 275 276 277 278
	* src/gnumeric-gconf.c (gnm_gconf_set_workbook_ncols,
	gnm_gconf_set_workbook_nrows): Respect any valid size.

	* src/workbook.c (workbook_new_with_sheets): Ditto.

279 280 281
	* src/gui-clipboard.c (table_cellregion_write): Explicitly size
	the temporary sheet.

282 283 284
	* src/workbook.c (workbook_new_with_sheets): Respect the sheet
	size preferences.

Morten Welinder's avatar
Morten Welinder committed
285 286
	* src/gui-clipboard.c (table_cellregion_write): Plug leak.

287 288 289 290
	* src/gnumeric-gconf.c (gnm_gconf_set_workbook_ncols): Set
	prefs.col_number too.
	(gnm_gconf_set_workbook_nrows): Set prefs.row_number too.

291 292 293
	* src/sheet-style.c (verify_styles): Abort if anything is found to
	be wrong.

294 295 296 297 298 299
2009-05-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/cell.c (gnm_cell_is_nonsingleton_array): don't use
	  simply gnm_cell_is_array_corner since it returns NULL for 
	  other array elements

300 301 302 303
2009-05-09  Morten Welinder  <terra@gnome.org>

	* src/sheet-style.c (cell_tile_optimize): Fix crash.  #581931.

304 305 306 307
2009-05-08  Morten Welinder  <terra@gnome.org>

	* src/expr.c (gnm_expr_get_range): Handle parenthesis.

308 309 310 311 312 313 314 315 316 317 318
2009-05-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-so-filled.c (gnm_so_filled_write_xml_sax): write
	  serialized pango attributes
	(gnm_so_filled_prep_sax_parser): read serialized pango 
	  attributes
	* src/sheet-object-cell-comment.c (cell_comment_write_xml_sax)
	  write serialized pango attributes
	(cell_comment_prep_sax_parser): read serialized pango 
	  attributes

319 320 321 322 323 324 325 326 327
2009-05-07  Morten Welinder  <terra@gnome.org>

	* src/sheet-style.c (sheet_style_optimize): New function.

	* src/workbook.c (workbook_optimize_style): New function.

	* src/workbook-view.c (wb_view_new_from_input): Call
	workbook_optimize_style.

Morten Welinder's avatar
Morten Welinder committed
328 329 330 331
2009-05-06  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
332 333 334 335
2009-05-06  Morten Welinder <terra@gnome.org>

	* Release 1.9.7

336 337
2009-05-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

338
	* configure.in: (libgsf) require 1.14.13 since the
339 340 341 342 343
	  gsf_opendoc_metadata_subtree in previous versions will crash!
	* src/xml-sax-read.c (xml_sax_document_meta): new
	(content_ns): added name spaces
	(gnumeric_1_0_dtd): hook up xml_sax_document_meta

344 345
2009-05-06  Morten Welinder  <terra@gnome.org>

346 347 348
	* src/gnm-so-polygon.c (gnm_so_polygon_write_xml_sax): Implement.
	Untested, but fixes #581394.

349 350 351
	* src/sheet-autofill.c (afc_set_cell_hint): Don't use the target
	cell for conventions -- it can be NULL.  Fixes #581589.

352 353
2009-05-05  Morten Welinder  <terra@gnome.org>

354 355 356 357
	* src/gnm-so-polygon.c (gnm_so_polygon_set_property): Handle NULL
	points.
	(so_polygon_view_set_bounds): Handle empty points.

358 359 360 361 362 363 364 365
	* src/gnm-style-impl.h (struct _GnmStyle): Allocate the right
	number of border elements!

	* src/mstyle.c (elem_is_eq): Force inline since most callers then
	trivially pick the right branch.
	(gnm_style_find_conflicts): Assert that we have bits enough.
	(gnm_style_update): Hash the right number of border elements.

366 367
2009-05-04  Morten Welinder  <terra@gnome.org>

368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
	* src/sheet.c (gnm_sheet_get_size2): New function.

	* src/parse-util.c (cellref_as_string, r1c1_rangeref_parse,
	rangeref_as_string, rangeref_parse): Simplify using
	gnm_sheet_get_size2.

	* src/position.c (gnm_rangeref_normalize_pp): Simplify using
	gnm_sheet_get_size2.

	* src/xml-sax-read.c (handle_delayed_names): Simplify using
	gnm_sheet_get_size2.

	* src/expr.c (reloc_restore_cellref): Take a GnmSheetSize, not a
	Sheet.  All callers changed.

	* src/dependent.c (dependents_relocate): Relocate names with
	respect to the right GnmParsePos.
	(gnm_dep_container_dump): Just list the names.

387 388 389 390 391 392
	* src/workbook.c (workbook_foreach_name): Add extra globals_only
	flag.  Caller changed.

	* src/dependent.c (dependents_relocate): Relocate sheet-local and
	global names too.  Minor issues remain.

393 394 395 396 397 398
2009-05-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-so-filled.c (gnm_so_filled_draw_cairo) use 
	  pango_layout_set_text rather than pango_layout_set_markup
	  fixes #581125

399 400
2009-05-03  Morten Welinder  <terra@gnome.org>

401 402 403
	* src/expr-name.c (expr_name_handle_references): Undo last change.
	Bug 581117 is duct taped by sheet_get_nominal_printarea change.

404 405 406
	* src/sheet.c (sheet_get_nominal_printarea): Work harder at
	ensuring sanity.

407 408 409
	* src/expr.c (reloc_cellrange): Make sure a full row (1:1) or
	column (A:A) sticks at the beginning too.

Morten Welinder's avatar
Morten Welinder committed
410 411
2009-05-02  Morten Welinder  <terra@gnome.org>

412 413 414 415 416 417 418 419
	* src/expr-name.c (expr_name_handle_references): Handle NULL sheet
	from expr_name_handle_references.  Fixes #581117.

	* src/expr.c (gnm_insert_unique): Renamed from
	g_slist_insert_unique.  Insert NULL too, if appropriate.
	(do_referenced_sheets): Correctly handle right-hand side of a
	range if it is NULL.

Morten Welinder's avatar
Morten Welinder committed
420 421 422
	* src/position.c (eval_pos_init_sheet, parse_pos_init,
	parse_pos_init_sheet): Constify.

423 424 425 426
2009-05-02  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c (render_val): don't crash with a NULL value. [#581120]

427 428
2009-05-01  Morten Welinder  <terra@gnome.org>

429 430
	* src/parse-util.c (r1c1_rangeref_parse): Fix sheet size handling.

431 432
	* src/sheet-style.c (sheet_style_sanity_check): New function.
	(sheet_style_init): Call sheet_style_sanity_check.
433
	(tile_widths, tile_heights): Add extra element.
434

435 436 437 438 439 440 441 442
2009-05-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_set_comment): add author argument
	* src/commands.c (cmd_set_comment): ditto
	(cmd_set_comment_apply): ditto, and change all callers
	(cmd_set_comment_finalize): delete author info
	* src/sheet-object-cell-comment.c: add "author" property
	
443 444
2009-04-30  Morten Welinder  <terra@gnome.org>

445 446 447 448
	* src/position.c (gnm_cellref_get_row, gnm_cellref_get_col): Get
	sheet size from eval-pos, if the ref doesn't have one.  Fixes
	#580953.

449 450 451 452 453
	* src/wbc-gtk.c (set_entry_contents): New function for common
	code.
	(cb_dataset_changed, wbcg_data_allocator_editor): Use
	set_entry_contents.

454 455 456 457
	* src/graph.c (render_val): New function.
	(gnm_go_data_scalar_get_str, gnm_go_data_vector_get_str,
	gnm_go_data_matrix_get_str): Use render_val.

458 459 460 461 462 463 464
2009-04-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (scg_comment_display):
	  use comment attributes
	* src/sheet-object-cell-comment.c (cell_comment_set_property):
	  remove invalid and unneeded code

465 466 467 468 469 470 471 472 473 474 475 476 477 478 479
2009-04-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-cell-comment.h (cell_set_comment): add
	  markup argument and change all callers
	* src/sheet-object-cell-comment.c (cell_set_comment): add
	  markup argument
	(cell_comment_set_property): comment out invalid call to 
	  foo_canvas_item_set
	* src/commands.h (cmd_set_comment): add attribute argument
	* src/commands.c (cmd_set_comment): add attribute argument
	(cmd_set_comment_apply): ditto and change all callers
	(cmd_set_comment_finalize): unref attributes
	* src/gui-util.c (gnumeric_keyed_dialog): remember dialog size for 
	  comment dialog

480 481 482 483 484 485
2009-04-29  Morten Welinder  <terra@gnome.org>

	* */*.c: Reduce use of gnm_conventions_default and
	gnm_expr_parse_str_simple.  Use conventions from sheet or passed
	down from sax writer.

486 487
2009-04-29  Morten Welinder  <terra@gnome.org>

488 489 490 491 492 493
	* src/wbc-gtk.c (cb_wbcg_window_state_event): When entering
	fullscreen mode, disable the actions in ->hide_for_fullscreen.
	When exiting, restore the old state.
	(cb_toolbar_box_visible): Don't persist changes while in
	fullscreen mode.  Fixes #574603.

494 495
	* src/expr.c (gnm_expr_as_string): Don't check pp for NULL since
	we have a debug default.
496 497 498 499 500
	(gnm_expr_is_err): New function extracted from
	gnm_expr_top_is_err.
	(gnm_expr_relocate): Only invalidate the use of a name if its
	expression, hypothetically, moved would become invalid.  Fixes
	part of #552749.
501

502 503 504
	* src/application.c (gnm_app_workbook_get_by_index): Simplify and
	make zero-based.

505 506 507 508 509
	* src/position.c (gnm_cellpos_init_cellref_ss): Make public.

	* src/parse-util.c (cellref_as_string, rangeref_parse): Handle
	out->pp->sheet being NULL for global names.

510 511 512 513 514 515
2009-04-28  Jody Goldberg <jody@gnome.org>

	* src/wbc-gtk.c (wbc_gtk_init) : use the pref for autosave.
	* src/gnumeric-gconf.c (gnm_conf_init_essential) : load it here.
	(gnm_gconf_set_workbook_autosave_time) : new.

516 517 518 519 520 521
2009-04-28  Morten Welinder  <terra@gnome.org>

	* src/parse-util.c (std_expr_name_handler): Handle shadowed global
	names.
	* src/parser.y (workbookref): Ditto.  Fixes #306686.

522 523
2009-04-27  Morten Welinder  <terra@gnome.org>

524 525 526 527 528 529 530 531 532 533 534 535 536 537
	* src/position.c (gnm_rangeref_normalize_pp): New function
	extracted from gnm_rangeref_normalize.

	* src/parse-util.c (col_parse, row_parse, cellpos_parse,
	cellref_parse, cellref_a1_get, r1c1_get_index, cellref_r1c1_get):
	Change from Sheet argument to GnmSheetSize argument.  All callers
	changed.
	(std_sheet_name_quote): Eliminate the use of MAGIC_MAX_SHEET.
	(rangeref_as_string): Use gnm_rangeref_normalize_pp.  Fixes
	#580360.

	src/ranges.c (range_parse): Change from Sheet argument to
	GnmSheetSize argument.  All callers changed.

538 539 540 541
	* src/sheet.c (gnm_sheet_get_size): New function replacing
	gnm_sheet_get_max_cols and gnm_sheet_get_max_rows.  Turn those
	into macros.

542 543 544
	* src/sheet.h (struct _Sheet): Move max_cols and max_rows into
	new member size of type GnmSheetSize.

545 546 547 548 549 550 551
2009-04-27  Morten Welinder  <terra@gnome.org>

	* src/item-grid.c (cb_cursor_come_to_rest): Fix tooltip
	positioning.
	* src/item-cursor.c (item_cursor_tip_setlabel): Ditto.
	* src/item-bar.c (item_bar_event): Ditto.  Fixes #580358.

552 553 554 555 556 557 558 559 560
2009-04-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.h (gnm_create_std_tags_for_buffer): new
	* src/gui-util.c (gnm_create_std_tags_for_buffer): new
	(gnm_load_pango_attributes_into_buffer_filter): weight will use named tags
	(gnm_load_pango_attributes_into_buffer_named_filter): ditto
	(gnm_load_pango_attributes_into_buffer): The standard tags will exist.
	  Classify the weight into the standard values.
	
561 562 563 564 565 566
2009-04-26  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (handle_delayed_names): Parse position here
	too.
	(xml_sax_named_expr_end): Don't do it here.  Fixes #580227.

Morten Welinder's avatar
Morten Welinder committed
567 568 569 570
2009-04-25  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
571 572 573 574
2009-04-25  Morten Welinder <terra@gnome.org>

	* Release 1.9.6

575 576
2009-04-24  Morten Welinder  <terra@gnome.org>

577 578 579 580 581 582 583 584 585 586 587 588 589 590 591
	* src/sheet.c (sheet_delete_cols, sheet_delete_rows): If count
	sends us beyond the end of the sheet, take that as a hint not to
	make ranges that go to the end of the sheet sticky.
	(gnm_sheet_resize_main): Supply such a hint.

	* src/expr.h (struct _GnmExprRelocateInfo): Add extra sticky_end
	field for col/row insert/delete.

	* src/expr.c (reloc_cellrange): Take extra sticky_end argument and
	only make end-of-sheet stick if that is set.  Fix logic to ignore
	beginning of such ranges.  All callers changed.
	(gnm_expr_relocate): Avoid using "default:" for reloc_type.

	* src/ranges.c (range_make_full): Remove.  No longer used.

592 593 594
	* src/validation.c (validation_barf): Ignore the problem if
	VALIDATION_STYLE_NONE is used.  Fixes #580157.

595 596
	* src/expr.c (gnm_expr_as_string): Add defaults for debugging.

597 598 599 600 601 602
	* src/sheet.c (gnm_sheet_resize_main): Restrict the selection to
	the size of the new sheet.

	* src/sheet-control-gui.c (cb_scg_sheet_resized): For panes and
	thus cursors to be updated.

Morten Welinder's avatar
Morten Welinder committed
603 604
	* src/sheet-style.c (sheet_style_resize): Fix off-by-one.

605 606
	* configure.in (PANGO_WEIGHT_THIN): Check for this and friends.

607 608
2009-04-23  Morten Welinder  <terra@gnome.org>

609 610 611 612 613
	* src/sheet-control-gui.c (cb_scg_sheet_resized): New function.
	(sheet_control_gui_new): Connect cb_scg_sheet_resized to the
	sheet's "rows" and "columns" properties.
	(scg_finalize): Disconnect.

614 615 616
	* src/expr-name.c (expr_name_validate): Take sheet argument for
	checks.  All callers changed.

617 618 619 620 621 622 623
	* src/sheet.c (gnm_sheet_resize_main): Resize styles too.
	(gnm_sheet_constructor): Check row count sanity here.

	* src/sheet-style.c (sheet_style_init): Not here.
	(sheet_style_resize): New function.
	(sheet_style_init_size): Split from sheet_style_init.

624 625 626 627
	* src/commands.c (cmd_insert_rows, cmd_insert_cols): Simplify and
	fix plural.
	(cmd_ins_del_colrow): Simplify.

628 629 630
	* src/sheet.c (sheet_insert_cols, sheet_insert_rows): Fix
	array-split check.

631 632 633 634 635 636 637 638
2009-04-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.c (gnm_load_pango_attributes_into_buffer_filter):
	  add more supported items
	(gnm_load_pango_attributes_into_buffer_named_filter): ditto
	(gnm_load_pango_attributes_into_buffer): ditto
	(gnm_store_text_tag_attr_in_pango): ditto

Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
639 640 641 642 643 644 645
2009-04-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.c (gnm_load_pango_attributes_into_buffer):
	  we need to create some labelled tags for off/on styles
	(gnm_load_pango_attributes_into_buffer_named_filter): new
	(gnm_store_text_tag_attr_in_pango): handle style attribute

646 647
2009-04-22  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
648 649
	* src/sheet.c (gnm_sheet_resize_main): Undo to the right size.

650 651
	* src/wbc-gtk.c (wbcg_get_scg): Fix warning on exit.

652 653 654
	* src/workbook.c (workbook_sheets): Change result type to GSList*.
	All callers changed.

655 656
	* src/sheet.c (gnm_sheet_resize_main): Change container size too.
	Unlink, re-link, and recalculate all dependencies.
657 658
	(gnm_sheet_resize_main): Handle errors from attempted splitting of
	arrays, etc.
659

660 661
2009-04-21  Morten Welinder  <terra@gnome.org>

662 663 664 665
	* src/dependent.c (gnm_dep_container_new): Calculate the number of
	buckets here once and for all and store in container.
	(BUCKET_LAST): Remove.  All users changed to use above.

666 667 668 669 670
	* src/sheet.c (sheet_destroy_contents): Use colrow_resize.
	(gnm_sheet_resize): Initial implementation.

	* src/colrow.c (colrow_resize): New function.

671 672 673 674 675
	* src/sheet.c (gnm_sheet_resize): Stub.

	* src/commands.c (cmd_resize_sheets): Undo framework for resizing
	sheets.

676 677 678 679 680 681
	* src/xml-io.c (xml_read_print_repeat_range): Adapt to print-info
	changes.

	* src/xml-sax-write.c (xml_write_print_repeat_range): Fix writing
	repeated ranges.

682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699
2009-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_object_format): add argument
	* src/commands.c (cmd_object_format): handle attributes
	(cmd_object_format_redo): ditto
	(cmd_object_format_finalize): ditto
	* src/gnm-so-filled.c (cb_gnm_so_filled_changed): also set
	  attributes
	* src/gui-util.h (gnumeric_textbuffer_get_text): new
	(gnm_load_pango_attributes_into_buffer): new
	(gnm_get_pango_attributes_from_buffer): new
	* src/gui-util.c (gnumeric_textbuffer_get_text): new
	(gnm_load_pango_attributes_into_buffer): new
	(gnm_get_pango_attributes_from_buffer): new
	(gnumeric_textview_get_text): use gnumeric_textbuffer_get_text
	(gnm_load_pango_attributes_into_buffer_filter): new
	(gnm_store_text_tag_attr_in_pango): new

700 701 702 703 704 705 706
2009-04-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-so-filled.c (gnm_so_filled_user_config): adjust for 
	  changed arguments of dialog_so_styled
	* src/gnm-so-line.c (gnm_so_line_user_config): ditto
	* src/gnm-so-polygon.c (gnm_so_polygon_user_config): ditto

707 708
2009-04-21  Morten Welinder  <terra@gnome.org>

709 710 711
	* src/commands.c (cmd_print_setup_redo): Only reverse the list
	right after it was created.

712 713 714 715 716 717 718 719 720 721 722 723
	* src/print-info.c (print_info_free): Free here.
	(print_info_load_defaults): Simply copy as text here.
	(print_info_dup): Copy here.
	(print_info_new, print_info_dup): Don't take sheet argument
	anymore.  All callers changed.

	* src/print-info.h (struct _PrintInformation): Keep repeat_top and
	repeat_left as strings so they become sheet independent.

	* src/print.c (compute_sheet_pages): Parse repeat_top and
	repeat_left here.

724 725 726 727 728 729 730 731 732
2009-04-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_object_format): add argument
	* src/commands.c (cmd_object_format): handle modified text string
	(cmd_object_format_redo): ditto
	(cmd_object_format_finalize): ditto
	* src/gnm-so-filled.c (gnm_so_filled_user_config): just pass an indicator
	  rather than a string.

733 734 735 736 737
2009-04-20  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-actions.c (wbc_gtk_init_actions): Disable solver
	action if compiled without the solver.

738 739 740 741 742
2009-04-20  Jean Brefort  <jean.brefort@normalesup.org>

	* libspreadsheet.pc.in: use -lspreadsheet-$(VERSION) instead of
	$(GNUMERIC_API_VER). [#575390]

743 744 745 746 747 748 749
2009-04-20  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-actions.c (actions): Get rid of old
	insert-sized-sheet entry.

	* src/wbc-gtk.c (sheet_menu_label_run): Add new Resize menu entry.

750 751 752 753 754 755
2009-04-20  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: check for gtk_adjustment_configure.
	* src/commands.c (cmd_so_set_adjustment_adj): add defines for missing gtk
	functions in gtk+-2.12 and earlier (see #114098).

Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
756 757 758 759 760
2009-04-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-so-filled.c (gnm_so_filled_draw_cairo): print text if
	  available

761 762 763 764 765
2009-04-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (so_widget_view_set_bounds): Make sure that the 
	  bounds are at least 6 wide  [#579152]

766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794
2009-04-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_so_set_adjustment): new
	* src/commands.c (cmd_so_set_adjustment): new
	(cmd_so_set_adjustment_adj): new
	(cmd_so_set_adjustment_redo): new
	(cmd_so_set_adjustment_undo): new
	(cmd_so_set_adjustment_finalize): new
	* src/sheet-object-widget.h (sheet_widget_adjustment_get_link): new
	(sheet_widget_adjustment_set_link): new
	(sheet_widget_adjustment_get_adjustment): new
	* src/sheet-object-widget.c (sheet_widget_adjustment_get_link): new
	(sheet_widget_adjustment_set_link): new
	(sheet_widget_adjustment_get_adjustment): new
	(AdjustmentConfigState): new field
	(cb_adjustment_config_destroy): release label memory
	(cb_adjustment_config_ok_clicked): call cmd_so_set_adjustment
	(sheet_widget_adjustment_user_config_impl): previously 
	  sheet_widget_adjustment_user_config with window title and undo
	  string handling
	(sheet_widget_adjustment_user_config): stub to call 
	  sheet_widget_adjustment_user_config_impl with correct labels.
	(sheet_widget_scrollbar_user_config) : new
	(sheet_widget_scrollbar_class_init): hookup sheet_widget_scrollbar_user_config
	(sheet_widget_spinbutton_user_config) : new
	(sheet_widget_spinbutton_class_init): hookup sheet_widget_scrollbar_user_config
	(sheet_widget_slider_user_config) : new
	(sheet_widget_slider_class_init): hookup sheet_widget_scrollbar_user_config

795 796 797 798
2009-04-18  Morten Welinder  <terra@gnome.org>

	* */*.c: Use gnm_sheet_get_last_(col|row) where appropriate.

799 800
2009-04-17  Morten Welinder  <terra@gnome.org>

801 802 803 804 805 806 807 808 809
	* src/ssconvert.c (setup_range): Parse in the context of the first
	sheet.

	* src/parse-util.c (cellref_as_string): Simplify and fix: let
	gnm_cellpos_init_cellref do the work.

	* src/position.c (gnm_cellref_make_abs): Simplify and fix: Let
	gnm_cellpos_init_cellref do the work.

810 811 812 813 814 815
	* src/position.c (gnm_cellpos_init_cellref): Take extra base_sheet
	argument.  All callers changed.

	* src/parse-util.c (cellref_abs_col, cellref_abs_row): Eliminate
	in favour of gnm_cellpos_init_cellref.

816 817 818 819
	* src/commands.c (cmd_so_set_frame_label_finalize,
	cmd_so_set_checkbox_finalize): Don't NULL-check before g_free.
	Test suite passes again.

820 821 822 823 824 825 826 827 828 829
	* src/print-info.c (load_range): Take Sheet argument too and
	supply it to the parser.  All callers changed.
	(print_info_new): Take Sheet argument too.  All callers changed.
	(print_info_dup): Constify.  Take extra Sheet argument; all
	callers changed.  Copy field-by-field.  Free clobbered page
	breaks.
	(gnm_page_breaks_free): Handle NULL.
	(gnm_page_breaks_new): Drop optional argument len.  All callers
	changed.

830 831 832
	* src/position.c (gnm_cellpos_hash, gnm_cellref_hash,
	gnm_rangeref_hash): Improve these in light on variable-size
	sheets.
833 834
	(gnm_rangeref_normalize): : Evaluate sheets early so we can ship them
	to gnm_cellpos_init_cellref.
835

836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852
2009-04-16  Morten Welinder  <terra@gnome.org>

	* src/parse-util.c (col_parse, row_parse): Handle MAGIC_MAX_SHEET.
	(std_sheet_name_quote): Use MAGIC_MAX_SHEET to query any possible
	sheet.
	(MAGIC_MAX_SHEET): Define locally.

	* src/sheet-view.c (sv_set_edit_pos): Don't do anything -- not
	even checks on position -- if the new position is the same as the
	old one.  If we do change, make sure we have a sheet.

	* src/sheet.c (gnm_sheet_get_max_rows, gnm_sheet_get_max_cols):
	Complain if sheet is NULL.

	* src/selection.c (sheet_selection_set_internal): If we don't have
	a sheet yet, don't enable insert/delete.

853 854 855 856 857 858 859 860 861 862 863
2009-04-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_so_set_checkbox): new
	* src/commands.c (cmd_so_set_checkbox): new
	(cmd_so_set_checkbox_redo): new
	(cmd_so_set_checkbox_undo): new
	(cmd_so_set_checkbox_finalize): new
	* src/sheet-object-widget.h (sheet_widget_checkbox_get_link): new
	* src/sheet-object-widget.c (sheet_widget_checkbox_get_link): new
	(cb_checkbox_config_ok_clicked): call cmd_so_set_checkbox

864 865 866 867 868 869 870 871 872 873 874 875 876
2009-04-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_so_set_frame_label_redo): new
	(cmd_so_set_frame_label_undo): new
	(cmd_so_set_frame_label_finalize): new
	(cmd_so_set_frame_label): new
	* src/commands.h (cmd_so_set_frame_label): new
	* src/sheet-object-widget.c (sheet_widget_frame_set_label): new
	(cb_frame_config_ok_clicked): call cmd_so_set_frame_label
	(cb_frame_config_cancel_clicked): use sheet_widget_frame_set_label
	(cb_frame_label_changed): ditto
	* src/sheet-object-widget.h (sheet_widget_frame_set_label): new

877 878 879 880 881 882 883 884 885 886 887 888
2009-04-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (gboolean cmd_so_set_links): new
	(CmdSOSetLink): new
	(cmd_so_set_links_redo): new
	(cmd_so_set_links_undo): new
	(cmd_so_set_links_finalize): new
	* src/commands.h (gboolean cmd_so_set_links): new
	* src/sheet-object-widget.c (list_content_eval): permit dep->texpr to
	  be NULL.
	(sheet_widget_list_base_set_links): empty the list as necessary

889 890 891 892 893 894
2009-04-10  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-filled.c: fixed after GogStyle -> GOStyle rename.
	* src/gnm-so-line.c: ditto.
	* src/gnm-so-polygon.c: ditto.

Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
895 896 897 898 899 900
2009-04-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
	for:  John Rea
	
	* templates/english/calendar.gnumeric: new
	* templates/english/Makefile.am: added above file

901 902 903 904 905 906 907 908 909 910
2009-04-06  Emmanuel Pacaud <emmanuel.pacaud@lapp.in2p3.fr>

	Adapt to the naming consistency fix in goffice.

	/\bGO_([A-Z,_)*]_TYPE\b/GO_TYPE_$1/
	/\bGOG_([A-Z,_)*]_TYPE\b/GOG_TYPE_$1/
	/\bGo([A-Z])/GO$1/
	/\bIS_GO_/GO_IS_/
	/\bIS_GOG_/GOG_IS_/

Jody Goldberg's avatar
Jody Goldberg committed
911 912 913 914 915
2009-04-05  Jody Goldberg <jody@gnome.org>

	From: Vivien Malerba <vmalerba@gmail.com>
	* configure.in : bump to libgda4.

916 917 918 919 920
2009-04-04  Jody Goldberg <jody@gnome.org>

	* src/gnumeric.h : bump GNM_MAX_COLS to accomodate XL2007.
	* src/sheet-style.c (sheet_style_init) : Use TILE_SIZE_ to init.

921 922 923
2009-04-04  Morten Welinder  <terra@gnome.org>

	* src/parse-util.c (col_parse, row_parse, cellref_a1_get,
924 925
	r1c1_get_index, cellref_r1c1_get, cellref_parse, cellpos_parse):
	Take sheet argument.  All callers fixed.
926 927 928 929 930

	* src/libgnumeric.c (gnm_sheet_max_cols, gnm_sheet_max_rows):
	Remove.  All uses were wrong anyway.
	(libspreadsheet_options): Remove --columns and --rows.

931 932
2009-04-03  Morten Welinder  <terra@gnome.org>

933 934 935 936 937 938
	* src/stf.c (stf_read_workbook_auto_csvtab, stf_read_workbook):
	Create sheet as big as needed.

	* src/stf-parse.c (stf_parse_sheet): Handle failure without
	messing up the locale.

939 940 941 942 943 944
	* src/ranges.c (range_make_full, range_ensure_sanity,
	range_transpose, range_is_full, range_translate): Take sheet
	argument for size.  All callers changed.

	* src/xml-io.c (xml_node_get_range): Take sheet argument for size.
	All caller changeds.
945

946 947
2009-04-02  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
948 949
	* src/ranges.c (range_clip_to_finite): Use the sheet.

950 951 952
	* src/format-template.c (format_template_new): Switch hash key to
	GnmCellPos so we can handle large sheets.

953 954 955 956 957
	* src/workbook.c (workbook_sheet_add): Require a size.  All
	callers changed.
	(workbook_sheet_add_size): Remove.  Map all callers to
	workbook_sheet_add.

958 959 960 961
	* src/sheet.c (sheet_new): Require a size.  All callers changed.
	Note: some callers need to be fixed to provide the right size.
	(sheet_new_with_size): Remove.  All callers mapped to sheet_new.

962 963 964 965 966 967 968 969
	* src/print-info.c (render_timestamp_with_format): Renamed form
	render_value_with_format.  Date convention issues fixed.

	* src/workbook.c (workbook_set_date_conv): New function.

	* src/xml-sax-read.c (xml_sax_calculation): Use
	workbook_set_date_conv.

970 971 972
	* src/ranges.c (range_init_full_sheet, range_init_cols,
	range_init_rows): Take a sheet argument.  All callers changed.
	Fixes #577675.
973

974 975 976 977
2009-04-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk.c (wbcg_sheet_focus): scg might be NULL 
	
978 979
2009-04-01  Morten Welinder  <terra@gnome.org>

980 981 982
	* src/wbc-gtk.c (wbcg_append_sheet, wbcg_insert_sheet): Use size
	of active sheet.

983 984 985 986 987 988
	* src/wbc-gtk.c (wbc_gtk_init): Disabled SheetSizedInsert as
	appropriately.

	* src/main-application.c (main): Complain if --rows or --columns
	are disabled.

989 990 991
	* src/sheet-style.c (cb_style_list_add_node): Fix type confusion
	for user pointer.  Fixes #577561.

992 993 994
	* src/expr-name.c (expr_name_name): New function.
	* */*.c: don't include str.h unless we have to.

995 996
2009-04-01  Morten Welinder  <terra@gnome.org>

997 998 999 1000 1001 1002 1003 1004
	* src/sheet.c (gnm_sheet_class_init): Install new workbook
	property.
	(gnm_sheet_get_max_rows, gnm_sheet_get_max_cols): Complain if
	called too early in sheet construction.
	(sheet_set_zoom_factor, sheet_set_display_formulas): Don't call
	sheet_scale_changed during sheet construction.
	(gnm_sheet_constructor): Call it here instead.

1005 1006 1007
	* src/xml-sax-read.c (xml_sax_wb_sheetsize): Set the right
	attribute.

1008 1009 1010 1011
	* src/sheet.c (sheet_new_with_type): Move most of this into a
	constructor.
	(gnm_sheet_class_init): Install new property "sheet-type".

1012 1013 1014 1015 1016 1017
2009-03-29  Morten Welinder  <terra@gnome.org>

	* */*.[ch]: Install variable-sheet-size patch from 168875.  (Work
	of Jean with help from Andreas and me.)  Note: all gui parts of
	are turned off for now.  Search for GNUMERIC_VARIABLE_SHEET_SIZE.

1018 1019 1020 1021 1022
2009-03-29  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (sheet_menu_label_run): Simplify and add sorted
	sheet menu too.

1023 1024
2009-03-28  Morten Welinder  <terra@gnome.org>

1025 1026 1027 1028
	* src/sheet.c (sheet_row_set_default_size_pixels,
	sheet_row_set_default_size_pts): Add preconditions like in the
	_col_ counterparts.  Fixes #577145.

1029 1030 1031
	* src/graph.c: Stop accessing private members of values.  Use
	value_peek_string instead.

1032 1033 1034 1035
2009-03-27  Morten Welinder  <terra@gnome.org>

	* src/graph.c: Improve handling of date conversions.

Morten Welinder's avatar
Morten Welinder committed
1036 1037 1038 1039 1040 1041 1042
2009-03-26  Morten Welinder  <terra@gnome.org>

	* src/gnm-plugin.c (plugin_service_ui_activate): Free layout here.

	* src/application.c (gnm_app_add_extra_ui): constify layout and copy it.
	(gnm_app_remove_extra_ui): Destroy layout here.

Morten Welinder's avatar
Morten Welinder committed
1043 1044 1045 1046 1047 1048 1049 1050
2009-03-25  Morten Welinder  <terra@gnome.org>

	* src/gnm-format.c (gnm_format_is_time_for_value): Simplify.

	* src/stf-export.c (try_auto_date): Check validity of date.
	Handle elapsed times.  Sneakily also handle negative date serials
	if goffice does.

Jody Goldberg's avatar
Jody Goldberg committed
1051 1052 1053 1054 1055 1056 1057 1058 1059
2008-12-10  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_probe) : split out the content test into ...
	(gsf_xml_probe) : here.  Then generalize it a bit and use the SAX2
			  startElement routine to handle name spaces.
	(gnm_xml_probe_element) : handle the .gnumeric specific checks here.
	    1) root element == Workbook
	    2) Workbook is in a namespace that contains 'gnumeric'

Morten Welinder's avatar
Morten Welinder committed
1060 1061 1062 1063
2009-03-22  Morten Welinder  <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
1064 1065 1066 1067
2009-03-22  Morten Welinder <terra@gnome.org>

	* Release 1.9.5

Morten Welinder's avatar
Morten Welinder committed
1068 1069 1070 1071
2009-03-20  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c (sheet_widget_radio_button_create_widget):
	Set label.
1072 1073 1074
	(sheet_widget_adjustment_get_ref, sheet_widget_checkbox_get_ref,
	sheet_widget_list_base_get_ref): Remove.
	(so_get_ref): New generic function replacing the above.
1075 1076 1077 1078
	(sheet_widget_adjustment_clear_sheet, sheet_widget_checkbox_clear_sheet,
	sheet_widget_radio_button_clear_sheet, sheet_widget_list_base_clear_sheet):
	Remove.
	(so_clear_sheet): New generic function replacing the above.
Morten Welinder's avatar
Morten Welinder committed
1079

1080 1081 1082 1083 1084
2009-03-19  Morten Welinder  <terra@gnome.org>

	* configure.in (gnumeric_reqs): Require glib 2.12 for
	g_hash_table_remove_all.

1085 1086 1087 1088 1089
2009-03-18  Morten Welinder  <terra@gnome.org>

	* src/main-application.c (warn_about_ancient_gnumerics): Remove --
	it last served a useful purpose 6-8 years ago.

1090 1091
2009-03-17  Morten Welinder  <terra@gnome.org>

1092 1093 1094
	* src/main-application.c (main): Reconnect the no-splash and
	no-warnings flags.

1095 1096 1097
	* src/wbc-gtk.c (sheet_menu_label_run): Toss the sheets into a
	submenu and display it regardless of how many sheets we have.

1098 1099 1100 1101 1102 1103
2009-03-16  Morten Welinder  <terra@gnome.org>

	* src/number-match.c (datetime_locale_setup): Handle the nb_NO
	case where abbreviated months end in a period by making that
	period optional on entry.

1104 1105 1106 1107 1108 1109 1110
2009-03-15  Morten Welinder  <terra@gnome.org>

	* src/number-match.c (format_match): Use
	go_format_default_accounting.

	* src/wbc-gtk-actions.c (cb_format_as_accounting): Ditto.

1111 1112 1113 1114 1115 1116 1117 1118
2009-03-14  Morten Welinder  <terra@gnome.org>

	* src/gnm-format.c (gnm_format_frob_slashes): Import from
	number-match and make public.  Rename from frob_slashes.  All
	callers changed.
	(gnm_format_for_date_editing): Change slashes to whatever the
	locale uses.

1119 1120 1121 1122 1123
2009-03-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/ssgrep.c (string-table-count): correct option description
	  [#575360]

1124 1125
2009-03-14  Jean Brefort  <jean.brefort@normalesup.org>

1126 1127
	* configure.in: check if goffice uses gconf and make gconf use
	independent from the with-gnome option. [#574813]
1128 1129
	* schemas/Makefile.am: ditto.

1130 1131 1132 1133 1134
2009-03-13  Jody Goldberg <jody@gnome.org>

	* po/LINGUAS : rename sr@Latn -> sr@latin to maintain compatibility
	  with gtk and simplify win32 packaging.

Morten Welinder's avatar
Morten Welinder committed
1135 1136
2009-03-13  Morten Welinder  <terra@gnome.org>

1137 1138 1139 1140 1141 1142
	* src/number-match.c (frob_slashes): New function to replace
	hardcoded slashes with whatever the locale uses for date
	separation.
	(format_match_datetime): Call frob_slashes as needed.  Free
	date_format as needed.

Morten Welinder's avatar
Morten Welinder committed
1143 1144
	* src/cell.c (gnm_cell_set_format): Improve precondition.

1145 1146 1147 1148 1149 1150
2009-03-12  Morten Welinder  <terra@gnome.org>

	* src/sheet-control-gui.c (scg_drag_data_get): Handle
	GNUMERIC_SHEET target too.  Fixes #574763, caused by patch from
	#523033.

1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161
2009-03-13  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (gnm_pane_realize) : clear the 'im_block_edit_start' flag.
	(gnm_pane_unrealize) : set the flag.

	* src/application.c (gnm_app_add_extra_ui) : take a group name.
	(gnm_app_remove_extra_ui) : patch minor leak.
	* src/gnm-plugin.c (plugin_service_ui_activate) : use the supplied
	  group name rather than a static name that is shared between all
	  custom ui.

1162 1163 1164 1165 1166 1167 1168 1169 1170
2009-03-11  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-actions.c (cb_file_sendto): Import from
	wb_view_sendto and use go_gtk_url_show.  Plug leak.

	* src/workbook-view.c (wb_view_save_to_uri): Rename from
	wbv_save_to_uri and make public.
	(wb_view_sendto): Remove.

1171 1172 1173 1174 1175
2009-03-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-cell.c (print_cell_gtk): shift rotated text into the 
	  correct position! Fixes #574813

1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186
2009-03-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_so_set_value): add Sheet* argument. 
	  Fixes #574734

	* src/commands.c (cmd_so_set_value): use new Sheet* argument
	  that gives the sheet of the widget rather than the sheet of the
	  associated cell

	* src/sheet-object-widget.c: adjust all callers of cmd_so_set_value

1187 1188 1189 1190
2009-03-10  Morten Welinder  <terra@gnome.org>

	* Makefile.am (gnumeric.desktop): Always use URIs.  Fixes #574816.

1191 1192 1193 1194 1195
2009-03-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.c (function_def_get_arg_name): don't translate an
	  empty argument name since you wouldn't get what you expect.

1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211
2009-03-05  Morten Welinder  <terra@gnome.org>

	* src/item-cursor.c (struct _ItemCursor): Track last (x,y) for
	mouse.
	(item_cursor_event): Set (x,y).
	(item_cursor_tip_setlabel): Use (x,y) for position.

	* src/item-grid.c (struct _ItemGrid): Track last (x,y) for mouse.
	(cb_cursor_come_to_rest): Use last (x,y) to position the tip.

	* src/gui-util.c (gnumeric_create_tooltip): Take a reference
	widget instead of a GdkScreen.  All callers changed.
	(gnumeric_position_tooltip): Get position as argument instead of
	asking where the mouse cursor is by the time we get here.  All
	callers changed.

1212 1213 1214 1215 1216 1217
2009-03-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet.c (sheet_get_printarea): If the print area has been set 
	  to something other than the full sheet, always use the whole
	  print area.

1218 1219 1220 1221 1222
2009-02-28  Morten Welinder  <terra@gnome.org>

	* configure.in (gtk+): Require 2.12 for
	gtk_tree_view_convert_bin_window_to_widget_coords.

1223 1224
2009-02-25  Morten Welinder  <terra@gnome.org>

1225 1226 1227
	* src/sheet-control-gui.c (scg_drag_receive_same_process): Make it
	clear we are only getting the modifier mask.

1228 1229 1230
	* src/gui-util.c (gnumeric_position_tooltip): Make this multihead
	safe too.

1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246
2009-02-24  Morten Welinder  <terra@gnome.org>

	* src/gui-util.c (gnumeric_create_tooltip): Add extra screen
	argument so we can pop up on the right screen.  All callers
	changed.

	* src/gnm-pane.c (gnm_pane_display_obj_size_tip): Make this
	multihead safe.

	* src/wbc-gtk.c (cb_sheet_label_drag_begin): Pop up the arrow on
	the right screen.

	* src/sheet-control-gui.c (scg_comment_display): Pop up the cell
	comment on the right screen and at coordinates relating to that
	screen.

1247 1248 1249 1250
2009-02-22  Morten Welinder <terra@gnome.org>

	* configure.in: Post release version bump

Morten Welinder's avatar
Morten Welinder committed
1251 1252 1253 1254
2009-02-22  Morten Welinder <terra@gnome.org>

	* Release 1.9.4

Morten Welinder's avatar
Morten Welinder committed
1255 1256 1257 1258
2009-02-21  Morten Welinder  <terra@gnome.org>

	* src/colrow.c (colrow_reset_defaults): Retry this mess.

1259 1260
2009-02-19  Morten Welinder  <terra@gnome.org>

1261 1262 1263
	* src/ssconvert.c (convert): Don't complain over multiple sheets
	when there is only one.  Fixes #572448.

1264 1265 1266 1267 1268
	* src/wbc-gtk.c (set_toolbar_style_for_position): The GTK+
	busy-bodies have deprecated gtk_toolbar_set_orientation in favour
	of gtk_orientable_set_orientation.  Attempt (blindly!) to switch
	if we have gtk_orientable_set_orientation.

1269 1270
	* configure.in (with_corba): Disable.  Fixes #572356.

1271 1272 1273
	* src/colrow.c (colrow_reset_defaults): Toughen this up a bit to
	avoid situations like 568010.

Morten Welinder's avatar
Morten Welinder committed
1274 1275 1276 1277 1278 1279 1280
2009-02-13  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (stf_parse_general): Flag row overflow.

	* src/stf.c (stf_read_workbook_auto_csvtab): Check for row
	overflow too.  Fixes #517603.

1281 1282
2009-02-11  Morten Welinder  <terra@gnome.org>

1283 1284 1285 1286 1287
	* src/dependent.c (gnm_dep_container_dump): Take sheet too, so
	redundant sheet names in output can be suppressed.
	(dump_single_dep, dump_range_dep): Ditto.
	(dependent_debug_name_for_sheet): New function.

1288 1289 1290
	* src/expr.c (gnm_expr_eval): Make sure parentheses do not take up
	stack space.

1291 1292 1293 1294
	* src/stf-parse.c (stf_cell_set_text): New function.
	(stf_parse_sheet): Use stf_cell_set_text, not gnm_cell_set_text.
	Fixes #571129.

1295 1296 1297
	* src/gui-clipboard.c (table_content_received): Check both windows
	and unix versions of target atoms.  Fixes #564166.

1298 1299 1300 1301 1302 1303 1304
2009-02-10  Morten Welinder  <terra@gnome.org>

	* gnumeric.desktop.in (MimeType): Do not advertise deprecated
	comma-separated-values mime type.  Fixes #571073.

	* src/stf.c (stf_init): Ditto.

1305 1306 1307 1308 1309
2009-02-05  Morten Welinder  <terra@gnome.org>

	* src/gui-clipboard.c (x_targets_received): Activate debugging
	code, see http://bugzilla.gnome.org/show_bug.cgi?id=564166#c4

1310 1311 1312 1313 1314
2009-02-04  Morten Welinder  <terra@gnome.org>

	* src/main-application.c (main): Set UTF-8 for gnumeric-functions
	too.

1315 1316 1317 1318 1319 1320
2009-02-02  Morten Welinder  <terra@gnome.org>

	* src/gutils.c (gnm_regcomp_XL): Take new argument "full" for
	indicating that the match must be for the full string.  All
	callers changed.

1321 1322 1323 1324 1325 1326 1327
2009-01-31  Morten Welinder  <terra@gnome.org>

	* src/parser.y (build_range_ctor): Use gnm_expr_new_range_ctor,
	not build_binop.

	* src/expr.c (gnm_expr_new_range_ctor): New function.

1328 1329 1330 1331 1332 1333
2009-01-30  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Change the help strings not to have curly braces in
	them ("--{with,without}-foo") as this caused newer versions of aclocal
	to fail.

1334 1335 1336 1337
2009-01-30  Diego E. Flameeyes Pettenò   <flameeyes@gentoo.org>

	* configure.in: Fix help strings.  (#569842)

1338 1339
2009-01-29  Morten Welinder  <terra@gnome.org>

1340 1341 1342
	* src/wbc-gtk.c (cb_add_custom_ui): Handle merge failure.  Work
	around bug #569724.

1343 1344 1345
	* src/parse-util.c (rangeref_parse): Fix parsing problem for
	"a12:indirect(...)".  Fixes #569730.

Jean Bréfort's avatar
Jean Bréfort committed
1346 1347 1348 1349
2009-01-29  Jean Brefort  <jean.brefort@normalesup.org>

	* src/selection.c: (sv_selection_to_plot): really share x values.

1350 1351 1352 1353
2009-01-28  Morten Welinder  <terra@gnome.org>

	* src/gutils.c (gnm_regcomp_XL): Simplify and fixing quoting of ?.

1354 1355 1356 1357 1358
2009-01-26  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (sheet_menu_label_run): If there are more sheets
	than we can show, put a list of sheets into the menu.

1359 1360 1361 1362 1363 1364 1365 1366
2009-01-25  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (link_range_dep, unlink_range_dep): Restrict the
	range that goes into the bucket to the intersection of the source
	range and the bucket area.  This improves dependency search
	efficiency markedly when a large number of large ranges are in
	play.  Fixes performance part of #567389.

1367 1368 1369 1370 1371
2009-01-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print.c (compute_group): use g_warning rather than 
	g_return_val_if_fail. Fixes 568991.

1372 1373 1374 1375 1376
2009-01-24  Morten Welinder  <terra@gnome.org>

	* src/gutils.c (running_in_tree): Make this a separate function.
	Fix for ssconvert and friends.

1377 1378 1379 1380 1381
2009-01-22  Morten Welinder  <terra@gnome.org>

	* src/commands.c (select_range): If the sheet and wbc are for
	different workbooks, do nothing.  Fixes #568634.

1382 1383
2009-01-20  Morten Welinder  <terra@gnome.org>

1384 1385 1386 1387
	* src/dependent.c (dependent_eval): Clear GNM_CELL_HAS_NEW_EXPR
	here.  Otherwise expressions loaded from files will appear to have
	new expressions even after they were recalculated.

1388 1389 1390 1391 1392 1393 1394 1395
	* src/func.c (function_call_with_exprs): If we are not doing
	implicit iteration, use gnumeric_if instead of gnumeric_if2.
	Fixes #326595.

	* src/func-builtin.c (gnumeric_if): Import from fn-logical.
	Change help to new style.
	(gnumeric_if2): Variant that takes the argument un-eval'd.

Morten Welinder's avatar
Morten Welinder committed
1396 1397 1398 1399
2009-01-16  Morten Welinder  <terra@gnome.org>

	* configure.in (gnumeric_reqs): Require glib 2.10.

1400 1401 1402 1403 1404
2009-01-16  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c: (cb_sheet_object_canvas_event): do not select an
	existing sheet object when creating a new graph. [#151789]

1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419
2009-01-12  Morten Welinder  <terra@gnome.org>

	* src/expr.c (gnm_expr_eval): Set value format properly.

	* src/value.h (VALUE_FMT): Make result const and an r-value.  All
	users changed as needed.
	* src/number-match.h (format_match, format_match_number): Make the
	cur_fmt argument const.
	* src/mstyle.c (gnm_style_set_format): Make the format argument
	const.
	* src/parse-util.c (parse_text_value_or_expr): Make the cur_fmt
	argument const.
	* src/cell.c (gnm_cell_get_format): Make the result const.  All
	callers changed as needed.

1420 1421 1422 1423 1424 1425
2009-01-12  Morten Welinder  <terra@gnome.org>

	* src/cell.c (gnm_cell_get_entered_text): Apply cell format as
	well as value format.  Applying only value format is certainly
	wrong.

1426 1427 1428 1429
2009-01-11  Jody Goldberg <jody@gnome.org>

	* src/gui-util.c (gnumeric_create_popup_menu) : support sub-menus

1430 1431 1432 1433 1434
2009-01-11  Morten Welinder  <terra@gnome.org>

	* src/gutils.c (gutils_init): Make detection of in-tree running
	work with newer libtools.

1435 1436 1437 1438 1439 1440
2009-01-11  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* src/xml-sax-read.c: (xml_sax_attr_range, xml_sax_style_region_start):
	Don't crash on old gnumeric files which have gnm:StyleRegion tags
	without attributes in them. (Debian #510929)

1441 1442 1443 1444 1445
2009-01-09  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c: (gnm_go_data_vector_get_str): set -1 as format length.
	[#552721]

1446 1447 1448 1449 1450 1451 1452 1453 1454
2008-12-31  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.h: add widgets to force using rows/columns as chart series,
	and to use first row/column as shared x values in scatter plots.
	* src/selection.c: (sv_selection_to_plot): ditto.
	* src/sheet-object-graph.c: (cb_graph_data_closure_done),
	(cb_selection_mode_changed), (cb_shared_mode_changed),
	(sheet_object_graph_guru): ditto.

1455 1456
2008-12-30  Morten Welinder  <terra@gnome.org>

1457 1458 1459
	* configure.in (LIBS): Up pango requirement modestly.
	* src/main-application.c (main): Drop check for old pango bug.

1460 1461 1462
	* src/main-application.c (main): Conditionalize closing of
	displays.  Set GNM_DEBUG=close-displays.

1463 1464 1465 1466 1467
2008-12-28  Morten Welinder  <terra@gnome.org>

	* src/libgnumeric.c (gnm_pre_parse_init): Call g_type_init here
	too.  libgoffice_init currently assumes it indirectly.

1468 1469 1470 1471 1472 1473 1474 1475 1476 1477
2008-12-19  Morten Welinder  <terra@gnome.org>

	* src/search.c (gnm_search_replace_query_fail,
	gnm_search_replace_query_cell, gnm_search_replace_query_comment):
	New functions to hide the details of how to query.

	* src/commands.c (cmd_search_replace_do_cell): Simplify using
	gnm_search_replace_query_fail, gnm_search_replace_query_cell, and
	gnm_search_replace_query_comment.

1478 1479 1480 1481 1482 1483
2008-12-15  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (gnm_datetime_allow_negative): New function.
	(datetime_value_to_serial_raw): Err on negative date numbers
	unless goffice supports them.

1484 1485 1486 1487 1488 1489 1490 1491
2008-12-14  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (datetime_value_to_serial): Handle overflow.
	(datetime_value_to_g): Use G_MAXINT for errors.
	(datetime_value_to_serial_raw): Make static.  Return G_MAXINT for
	errors.
	Fixes #564502.

1492 1493 1494 1495 1496 1497 1498
2008-12-13  Emmanuel Pacaud <emmanuel@gnome.org>

	Add a workaround for the murrine theme warnings.

	* src/item-bar.c (ib_draw_cell): here.
	* src/sheet-control-gui.c (cb_select_all_btn_expose): here.

1499 1500
2008-12-13  Morten Welinder  <terra@gnome.org>

1501 1502 1503 1504 1505 1506 1507
	* src/xml-sax-write.c (xml_write_number_system): New function to
	dump information on the number system used.
	(xml_write_calculation): Call xml_write_number_system.
	(gnm_cellregion_to_xml): Call xml_write_number_system.
	(gnm_xml_file_save): Move call to xml_write_calculation before the
	sheets.

1508 1509 1510 1511 1512 1513 1514 1515 1516 1517
	* src/parse-util.c (gnm_conventions_new_full): Default value
	GNM_DIG for new field output.decimal_digits.

	* src/value.c (value_get_as_gstring): Use number of digits from
	output.decimal_digits.

	* src/xml-sax-write.c (gnm_xml_io_conventions): Increase the
	number of decimal digits used for output to avoid rounding errors
	and overflow.  Fixes #552464.

1518 1519 1520
	* src/xml-sax-read.c (xml_sax_cell_content): Turn expressions that
	do not parse into strings.

Morten Welinder's avatar
Morten Welinder committed
1521 1522 1523 1524 1525 1526 1527
2008-12-12  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (stf_parse_options_guess_csv): New function.

	* src/stf.c (stf_read_workbook_auto_csvtab): If the filename
	suggest a scv file, use stf_parse_options_guess_csv.

1528 1529
2008-12-11  Morten Welinder  <terra@gnome.org>

1530 1531 1532
	* src/application.c (cb_flag_windows_changed): Don't send the
	signal if Elvis has left the building.

1533 1534 1535
	* src/parser.y (unregister_allocation): Check the whole stack if
	we have to.  Fixes #564077.

1536 1537 1538 1539 1540 1541 1542
2008-12-09  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbcg_sheet_remove_all): Kill the current scg
	last.
	(wbc_gtk_setup_icons): Shut down the icon factory on exit.
	(add_icon): Plug leaks.

Morten Welinder's avatar
Morten Welinder committed
1543 1544
2008-12-08  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1545 1546
	* src/gnumeric-gconf.c (gnm_conf_shutdown): Plug leaks.

Morten Welinder's avatar
Morten Welinder committed
1547 1548 1549 1550 1551 1552
	* src/gnm-plugin.c (plugin_service_ui_activate): Plug leak.

	* src/ssgrep.c (main): Plug leak.
	* src/ssconvert.c (main): Plug leak.
	* src/ssindex.c (main): Plug leak.

1553 1554 1555 1556 1557 1558 1559 1560 1561 1562
2008-12-04  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-write.c (gnm_cellregion_to_xml): Set state.sheet so
	we can init parse positions later.

	* src/xml-io.c (xml_cellregion_read): Copy the string.  It need
	not be null terminated.  Assign ctxt->sheet.
	(xml_read_sheet_object): New argument, assign, to explicitly
	control whether to assign the object to the sheet.  Fixes #556561.

1563 1564 1565
2008-12-02  Morten Welinder  <terra@gnome.org>

	* src/parser.y (is_signed): New function.
1566
	(yylex/^): If left side is negated, add a parenthesis.
1567 1568
	Fixes last part of #115941.

1569 1570 1571 1572 1573 1574
2008-11-30  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbcg_sheet_remove_all): Don't destroy the
	notebook -- we will need it later when we replace a pristine
	workbook with a new.  Fixes #562662.

1575 1576
2008-11-26  Morten Welinder  <terra@gnome.org>

1577 1578 1579 1580
	* src/dependent.c (link_expr_dep): Treat GNM_EXPR_OP_RANGE_CTOR
	and GNM_EXPR_OP_INTERSECT as any other binary operator.  Fixes
	#562363.

1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591
	Enable drag of whole sheets to other apps.  #523033, initial patch
	by Lutz Mueller.

	* src/wbc-gtk.c (cb_sheet_label_drag_data_get): Use
	scg_drag_data_get.
	(wbcg_sheet_add): Add more drag types.

	* src/sheet-control-gui.c (scg_drag_send_text): New function.
	(scg_drag_data_get): Protect against null scg->selected_objects.
	(scg_drag_data_get): Handle UTF8_STRING.

1592 1593 1594 1595 1596
2008-11-26  Jody Goldberg <jody@gnome.org>

	* configure.in : Define GNUMERIC_PLUGIN_LDFLAGS after
	  GNUMERIC_LIBS is defined.

Morten Welinder's avatar
Morten Welinder committed
1597 1598 1599 1600 1601 1602 1603 1604 1605 1606
2008-11-24  Morten Welinder  <terra@gnome.org>

	* src/application.c (gnm_app_detachable_toolbars): New function.

	* src/wbc-gtk.c (cb_add_menus_toolbars): Use
	gnm_app_detachable_toolbars.

	* src/gnumeric-gconf.c (gnm_conf_init_essential): Setup
	->detachable_toolbars.

1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629
2008-11-23  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbcg_sheet_add): Add a SHEET_CONTROL_KEY for the
	labels too.
	(get_scg): New function to retrieve and scg for a tab label or
	sheet table widget.  Simplify drag handling code using this.
	(wbcg_sheet_remove_all): Make sure disconnection happens for sheet
	signals, even when we shut down the wbcg.
	(wbcg_set_direction): Split from cb_direction_change.  Change
	direct callers of cb_direction_change to use wbcg_set_direction.
	(wbcg_sheet_add): Don't init scg->label here.
	(wbcg_set_end_mode): Translate "END".
	(wbcg_get_n_scg): New function.

	* src/sheet-control-gui.c (sheet_control_gui_new): Keep a ref for
	->table and ->label.  Init ->label here.
	(scg_finalize): Unref here.

	* src/wbc-gtk-impl.h (struct _WBCGtk): Add a paned for sheet tabs
	and the progress bar.  Split notebook into ->snotebook (for the
	sheet tables) and ->bnotebook for the tabs.  Make the latter a
	GnmNotebook.  All users changed accordingly.

1630 1631 1632 1633 1634
2008-11-22  Morten Welinder  <terra@gnome.org>

	* src/sheet-control-priv.h (struct _SheetControl): Remove sheet
	member.  All users changed to use view.

1635 1636 1637 1638 1639 1640 1641
2008-11-20  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbcg_menu_state_sheet_count,
	sheet_menu_label_run): Count visible sheets only.
	(cb_sheet_visibility_change): Attach with wbcg as data and call
	wbcg_menu_state_sheet_count.

1642 1643 1644 1645 1646
2008-11-05  Morten Welinder  <terra@gnome.org>

	* configure.in: Remove check for gcc 2.96.  Remove gb support.
	Clean up.  Make non-gnome the default.

1647 1648
2008-11-04  Morten Welinder  <terra@gnome.org>

1649 1650
	* */*.c: Fix problem with formats. Patch from Hib Eris, #559291.

1651 1652 1653
	* src/wbc-gtk.c (toolbar_context_menu): Deal with the
	non-handle-bar case.  Patch from Hib Eris, #559249.

1654 1655
2008-11-02  Morten Welinder  <terra@gnome.org>

1656 1657 1658
	* configure.in (gnumeric_gnome_reqs): libgnomeui is a gnome dep,
	not a gtk dep.

1659 1660 1661 1662 1663 1664 1665 1666
	* src/main-application.c (main): Add a signal handler on the
	application object to terminate the mainloop when the last
	workbook is removed.  Also, only warn about ancient non-stable
	Gnumeric binaries.

	* src/workbook.c (workbook_finalize): Don't try to terminate the
	mainloop here.

1667 1668
2008-11-01  Morten Welinder  <terra@gnome.org>

1669 1670 1671 1672
	* src/main-application.c (call_gnome_authentication_manager_init):
	Call gnome_authentication_manager_init only if someone linked it
	in.

1673 1674 1675
	* src/libgnumeric.c (call_gnome_vfs_init): Call gnome_vfs_init
	only if someone linked it in.

1676 1677 1678 1679 1680
2008-10-31  Jean Brefort  <jean.brefort@normalesup.org>

	* src/selection.c: (sv_selection_to_plot): fix selection for contour
	 and surface plots.

1681 1682 1683 1684 1685
2008-10-28  Morten Welinder  <terra@gnome.org>

	* src/style.c (gnm_font_shutdown): Workaround for 558100 and
	558254.  Thanks to Hib Eris and Behdad for debugging.

1686 1687 1688 1689 1690
2008-10-26  Morten Welinder  <terra@gnome.org>

	* src/commands.c (cmd_hyperlink_finalize): Don't check for NULL
	before g_free.

1691 1692
2008-10-25  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1693 1694
	* src/gnumeric-gconf.c (gnm_conf_shutdown): Free even more.

1695 1696 1697 1698 1699
	* src/main-application.c (main): Close all displays on exit.

	* src/gnumeric-gconf.c (gnm_conf_shutdown): Free more, zero whole
	prefs, NULL gnm_app_prefs.

Morten Welinder's avatar
Morten Welinder committed
1700 1701 1702
2008-10-24  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (wbc_gtk_finalize): Massive leak fix.
1703 1704
	* configure.in (libspreadsheet_reqs): Bump goffice req to avoid
	criticals.
Morten Welinder's avatar
Morten Welinder committed
1705

1706 1707
2008-10-23  Morten Welinder  <terra@gnome.org>

1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724
	* src/sheet.c (schedule_reapply_filters): New function.
	(sheet_insert_cols, sheet_insert_rows, sheet_delete_cols,
	sheet_delete_rows): Make sure filters get reapplied on undo after
	we put the contents back in.

	* src/sheet-filter.c (gnm_filter_condition_free): Rename from
	gnm_filter_condition_unref.  Actually free the condition.  Make
	static.
	(gnm_filter_condition_dup): Make static.
	(gnm_filter_combo_index): New function.
	(gnm_filter_add_field): Hold onto a reference to the fcombo.
	(gnm_filter_free): Free the fcombo reference.
	(gnm_sheet_filter_insdel_colrow): Handle fcombo references.
	Reapply filter when fields are removed.,
	(gnm_filter_reapply, gnm_filter_update_active): Extract from
	gnm_filter_set_condition.

1725 1726 1727 1728
	* src/sheet.c (sheet_delete_cols, sheet_delete_rows): Make sure
	auto-filter objects do not get kept by sheet object undo.  This
	fixes the crash in #557591.

1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739
	* src/sheet-filter.c (gnm_sheet_filter_insdel_colrow): Insert new
	filters left-to-right so anchors get set right.  Fixes #557237.
	Avoid expensive updates if no filter changes.

2008-10-22  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (xml_cellregion_read): Copy the string.  It need
	not be null terminated.  Assign ctxt->sheet.
	(xml_read_sheet_object): New argument, assign, to explicitly
	control whether to assign the object to the sheet.  Fixes #556561.

Jody Goldberg's avatar
Jody Goldberg committed
1740 1741 1742 1743
2008-10-19  Jody Goldberg <jody@gnome.org>

	* configure.in : version bump.

1744 1745 1746 1747
2008-10-18  Jody Goldberg <jody@gnome.org>

	* Release 1.9.3

1748 1749 1750 1751 1752 1753 1754 1755
2008-10-18  Jody Goldberg <jody@gnome.org>

	* tools/win32/moduleset : use the latestest shiniest glib/gtk

	* configure.in : add a GOFFICE_API_VER for use in the .pc file.
	* libspreadsheet.pc.in : drop the old mising LIBGOFFICE variables, and
	  use the new tidy ones.

1756 1757 1758 1759 1760 1761
2008-10-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/item-cursor.c (item_cursor_target_region_ok): delete
	(item_cursor_do_action): don't bother to call 
	  item_cursor_target_region_ok

Morten Welinder's avatar
Morten Welinder committed
1762 1763 1764 1765
2008-10-18  Morten Welinder  <terra@gnome.org>

	* src/gui-clipboard.c (set_clipman_targets): Plug leak.

1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776
2008-10-17  Morten Welinder  <terra@gnome.org>

	* src/parser.y (workbook names): Fix cut-and-paste problem in
	error reporting, see #552750, comments 8-9.

2008-10-15  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_style_region_end): Apply partial
	mstyles like in xml-io.c
	(xml_sax_style_region_start): Undo last change.

1777 1778 1779 1780 1781 1782 1783
2008-10-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: added Kaplan-Meier tool menu item
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c: added ToolsKaplanMeier

1784 1785 1786 1787 1788 1789
2008-10-15  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c (xml_sax_style_region_start) : always init the
	  full style just in case some ancient file comes along. [#555933]
	Add a stub for PrintUnit while we are here.

Morten Welinder's avatar
Morten Welinder committed
1790 1791 1792 1793 1794 1795 1796 1797 1798
2008-10-01  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (gnm_sheet_foreach_name): New function.

	* src/workbook.c (workbook_foreach_name): New function.

	* src/expr-name.c (gnm_named_expr_collection_foreach): New
	function.

1799 1800 1801 1802 1803
2008-10-14  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: cleaned includes list and removed unused
	local variables.

Jody Goldberg's avatar
Jody Goldberg committed
1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815
2008-10-14  Jody Goldberg <jody@gnome.org>

	* src/main-application.c (main) : warning suppression on win32.

	* src/gutils.c (gutils_init) : replace deprecated function
	  g_win32_get_package_installation_directory with
	  g_win32_get_package_installation_directory_of_module

	* src/gnm-plugin.h (gnm_plugin_loader_module_get_type) : make public.

	* component/gnumeric.c : do not add magic 'extern' references.

1816 1817 1818 1819 1820 1821 1822
2008-10-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: added frequency tool menu item
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/wbc-gtk-actions.c: added ToolsFrequency

1823 1824 1825 1826 1827 1828 1829 1830
2008-10-10  Jody Goldberg <jody@gnome.org>

	* src/gnm-pane.c (cb_gnm_pane_preedit_changed) :
	  s/reseting_im/im_block_edit_start/ to clarify the intent, and to
	  reuse it for the initial focus problem.
	(gnm_pane_key_press) : move the explainitory comment here, where we
	  toggle im_block_edit_start rather than below when it happens.
	(gnm_pane_focus_in) : use it here too with the new im_first_focus.
1831

1832 1833 1834 1835 1836
2008-10-08  Morten Welinder  <terra@gnome.org>

	* configure.in: Call IT_PO_SUBDIR for po-functions.
	* autogen.sh: Don't try to distribute po-functions/LINGUAS

1837 1838 1839 1840 1841 1842
2008-10-09  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (gnm_style_new_merged) : support merging incomplete
	  styles, and clean up the docs.
	(gnm_style_merge) : avoid problems if someone does something silly.

1843 1844 1845 1846 1847
2008-10-07  Morten Welinder  <terra@gnome.org>

	* configure.in: switch to new LINGUAS scheme.  Fixes #554348.
	* autogen.sh: ditto.
	
1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858
2008-10-04  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: render sheet objects using
	gnm_print_sheet_objects, and fixed cap for cell borders.
	* src/print-cell.c: removed the unused GtkPrintContext* argument.
	* src/print-cell.h: ditto.
	* src/print.c: renamed print_sheet_objects to gnm_print_sheet_objects,
	made it public, removed the unused GtkPrintContext* argument, and
	fixed objects position in layout (#554993).
	* src/print.h: ditto.

1859 1860 1861 1862 1863
2008-10-04  Jean Brefort  <jean.brefort@normalesup.org>

	* component/gnumeric.c: (go_gnm_component_render): also render sheet
	objects.

1864 1865 1866 1867 1868 1869
2008-10-03  Morten Welinder  <terra@gnome.org>

	* src/collect.c (float_range_function2d): New function.
	(float_range_function2): Implement in terms on
	float_range_function2d.

1870 1871 1872 1873 1874 1875
2008-10-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	Fix for #553342
	* src/workbook-view.c (wb_view_selection_desc): add translator
	  comments
	
1876 1877 1878 1879 1880 1881
2008-10-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	Fix for #554818
	* src/stf.c (stf_text_to_columns): don't use markup
	  in the error message

1882 1883 1884 1885 1886 1887
2008-10-03  Jean Brefort  <jean.brefort@normalesup.org>

	* Makefile.am: reimplemented the gnumeric goffice component.
	* component/gnumeric.c: ditto.
	* configure.in: ditto.

Morten Welinder's avatar
Morten Welinder committed
1888 1889 1890 1891
2008-09-30  Morten Welinder  <terra@gnome.org>

	* src/colrow.c (colrow_make_state): Remove.

1892 1893 1894 1895 1896
2008-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	Fix for #55338
	* src/sheet.c (gnm_sheet_class_init): remove extra space
	
1897 1898 1899 1900 1901
2008-09-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	Fix for #535015
	* src/hlink.c (gnm_hlink_external_activate): complete code

1902 1903 1904 1905 1906 1907 1908 1909
2008-09-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (CmdAnalysis_Tool): add field
	(cmd_analysis_tool_undo): delete associated sheet objects
	(cmd_analysis_tool_draw_old_so): new
	(cmd_analysis_tool_redo): use the above
	(cmd_analysis_tool_finalize): handle new fields

1910 1911 1912 1913 1914
2008-09-17  Jody Goldberg <jody@gnome.org>

	* src/mathfunc.c (random_landau) : Use 'I' not 'i' as per original
	  libgsl code. [Coverity 259].

Jody Goldberg's avatar
Jody Goldberg committed
1915 1916 1917 1918
2008-09-14  Jody Goldberg <jody@gnome.org>

	* src/selection.c (sv_selection_apply_in_order) : suppress warning.

1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929
2008-09-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	Fix for #152617
	* commands.h (cmd_selection_hyperlink): new
	* commands.c (cmd_selection_hyperlink): new
	(cmd_hyperlink_repeat): new
	(cmd_hyperlink_undo): new
	(cmd_hyperlink_redo): new
	(cmd_hyperlink_finalize): new
	(cb_cmd_hyperlink_find_cells): new

1930 1931 1932 1933 1934
2008-09-11  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-write.c (gnm_cellregion_to_xml) : add protection.
	  [Coverity 68]

1935 1936
2008-09-11  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1937 1938
	* src/func-builtin.c (gnumeric_table): Remove dead code.

Morten Welinder's avatar
Morten Welinder committed
1939 1940
	* src/print.c (gnm_print_sheet): Fix error check.

1941 1942
	* src/mathfunc.c (random_landau): Fix off-by-one.  I hope.

1943 1944 1945 1946 1947
2008-09-07  Andreas Guelzow  <aguelzow@pyrshep.ca>

	* src/expr.h (gnm_expr_new_funcall4): new
	* src/expr.c (gnm_expr_new_funcall4): new

1948
2008-09-07  Jody Goldberg <jody@gnome.org>
Morten Welinder's avatar
Morten Welinder committed
1949

1950 1951 1952
	* src/sheet.c (sheet_scale_changed) : split from.
	(sheet_set_zoom_factor) : here.
	(sheet_set_display_formulas) : used here.
Morten Welinder's avatar
Morten Welinder committed
1953

1954 1955 1956 1957 1958 1959 1960
	* src/print-cell.c (gnm_gtk_print_cell_range) : handle the doubling of
	  column width during 'display forumla' mode.

	* src/expr.c (gnm_expr_top_is_array) : new.

	* src/rendered-value.c (gnm_rendered_value_new) : Use a simpler syntax
	  to denote arrays.  The full form used in the entry is too verboase.
Morten Welinder's avatar
Morten Welinder committed
1961

1962 1963 1964 1965 1966 1967
2008-09-02  Andreas Guelzow  <aguelzow@pyrshep.ca>

	Fix of #516052
	* src/selection.c (sv_selection_apply_in_order): new
	(selection_to_string): call sv_selection_apply_in_order
	  rather than sv_selection_apply
1968 1969

2008-09-02  Andreas Guelzow  <aguelzow@pyrshep.ca>
1970

1971 1972 1973 1974
	Fix of #539734 (slight adjustment to Jean's patch)
	* src/print-cell.c (print_cell_gtk): anchor the lines of
	  rotated text correctly.

1975
2008-09-02  Andreas Guelzow  <aguelzow@pyrshep.ca>
1976

1977 1978 1979 1980 1981
	Fix of #153578
	* src/print-cell.c: remove pcontext in whole file 
	(print_cell_gtk): do not use a new pango context, the old one will
	  work much better.

1982
2008-09-01  Andreas Guelzow  <aguelzow@pyrshep.ca>
1983

1984 1985 1986 1987
	Partial fix of #153578
	* src/print-cell.c (print_cell_gtk): adjust for differences between
	  pixels and points.

1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998
2008-09-02  Jody Goldberg <jody@gnome.org>

	* src/search.c (gnm_search_replace_class_init) : add a property to be
	  used to search scripts.  NOT ENABLED yet.

	* src/ssgrep.c (search_string_table) : restore the old logic, and
	  extend it to agregate multiple matches and to search in VBA code if
	  available.
	(ssgrep) : enable search_string_table if -C/--string-table-count is
	  enabled.

1999 2000 2001 2002 2003 2004 2005 2006 2007
2008-09-01  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* src/stf.c (csv_tsv_probe), src/stf-parse.c (stf_parse_general):
	Ignore / skip over byte-order mark. Fixes #549743.
	* src/stf-parse.c (stf_parse_general): data is arbitrary binary data
	(may contain nul bytes and need not be nul-terminated); call
	g_utf8_validate with appropriate parameters to handle arbitrary binary
	data.

2008
2008-08-30  Andreas Guelzow  <aguelzow@pyrshep.ca>
2009 2010 2011 2012 2013 2014 2015 2016 2017 2018

	Implementation of #525368
	* src/print.c (PrintingInstance): add button_print_hidden_sheets
	(compute_pages): Include PRINT_ALL_SHEETS_INCLUDING_HIDDEN and exclude
	  hidden sheets from  PRINT_ALL_SHEETS. Rewrite  PRINT_SHEET_RANGE
	(workbook_visible_sheet_count): new
	(gnm_create_widget_cb): add checkbox
	(gnm_custom_widget_apply_cb): handle new checkbox
	* src/print.h (PrintRange): add PRINT_ALL_SHEETS_INCLUDING_HIDDEN

2019 2020 2021 2022
2008-08-30  Jody Goldberg <jody@gnome.org>

	* configure.in : Post release version bump

Jody Goldberg's avatar
Jody Goldberg committed
2023 2024 2025 2026
2008-08-29  Jody Goldberg <jody@gnome.org>

	* Release 1.9.2

2027 2028 2029 2030 2031 2032 2033
2008-08-29  Morten Welinder  <terra@gnome.org>

	* src/gnm-format.c (gnm_format_import): Support-function to handle
	broken 1.6 formats.  Fixes #548414.

	* src/xml-sax-read.c (make_format): Handle broken 1.6 formats.

2034 2035 2036 2037 2038 2039 2040 2041
2008-08-29  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* gnumeric.desktop.in: Add a Version field; drop obsoleted
	"Application" from Categories field; changed DocPath field to
	X-GNOME-DocPath. The resulting gnumeric.desktop now validates without
	warnings using desktop-file-utils 0.15's desktop-file-validate.
	Fixes #512011.

2042 2043 2044 2045 2046 2047 2048
2008-08-26  Morten Welinder  <terra@gnome.org>

	* src/number-match.c (value_is_error): Check for '#' here.
	(format_match_simple): Not here.
	(format_match): If matching fails in the existing-format case, try
	errors too.  Fixes #546759.

2049 2050 2051 2052 2053
2008-08-25  Andreas Guelzow  <aguelzow@pyrshep.ca>

	Fix for #549247
	* src/print.c (print_page): fix caclulation of footer location

2054 2055 2056 2057 2058 2059
2008-08-25  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-actions.c (insert_date_time_common): Make sure cell
	exists so gnm_format_for_date_editing can get the format.  Fixes
	#540198.

2060 2061 2062 2063 2064 2065 2066 2067 2068
2008-08-25  Jody Goldberg <jody@gnome.org>

	* src/ssgrep.c (main) : move the gnm_init up to init goffice and gsf
	  before opening a file.
	    *
2008-08-24  Jody Goldberg <jody@gnome.org>

	* configure.in : Add check for gsf_infile_msvba_steal_modules.

2069 2070 2071 2072 2073
2008-08-23  Jody Goldberg <jody@gnome.org>

	* src/style.c (gnm_pango_context_get) : handle recent pango
	  deprecation.

Jean Bréfort's avatar
Jean Bréfort committed
2074 2075 2076 2077 2078 2079 2080
2008-08-21  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-filled.c: (gnm_so_filled_read_xml_dom),
	(gnm_so_filled_write_xml_sax), (sof_sax_style): use GOPersist.
	* src/gnm-so-line.c: (gnm_so_line_read_xml_dom),
	(gnm_so_line_write_xml_sax), (sol_sax_style): ditto.

2081 2082 2083 2084 2085
2008-08-20  Jody Goldberg <jody@gnome.org>

	* gnumeric.desktop.in : We should really auto generate this.  For now,
	  add some dbf mime types to see if that helps the ubuntu folk. #542780

2086 2087 2088 2089 2090
2008-08-11  Jean Brefort  <jean.brefort@normalesup.org>

	* src/xml-sax-read.c: (xml_sax_colrow): accept any order for attributes
	for ColRowInfo. [#547183]

2091 2092 2093 2094 2095
2008-08-03  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Bumped goffice dependency as the sax export now uses
	the two-argument form of go_doc_init_write which is new.

2096 2097 2098 2099 2100 2101 2102
2008-08-03  Jean Brefort  <jean.brefort@normalesup.org>

	* src/xml-sax-read.c: (xml_sax_go_doc), (gnm_xml_file_open):
	save images used as background in charts. [#348780]
	* src/xml-sax-write.c: (gnm_xml_file_save),
	(gnm_cellregion_to_xml): load images used as background in charts.

2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114
2008-07-25  Morten Welinder  <terra@gnome.org>

	[Initial patch from Nick Lamb, see bug 69813.]

	* src/expr.h (enum GnmExprOp): Add new GNM_EXPR_OP_PAREN for
	parentheses.

	* src/parser.y: Create GNM_EXPR_OP_PAREN node.

	* src/auto-format.c (do_af_suggest): Handle GNM_EXPR_OP_PAREN.
	* src/expr.c (gnm_expr_eval): Ditto.

Morten Welinder's avatar
Morten Welinder committed
2115 2116 2117 2118
2008-07-23  Morten Welinder  <terra@gnome.org>

	* src/collect.c (collect_floats): When requested, sort.

2119 2120
2008-07-19  Jody Goldberg <jody@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
2121 2122
	* tools/win32/gnumeric.nsi.in : enclose the gnumeric path in
	  quotes too. [#542872]
2123

2124 2125 2126 2127 2128 2129 2130
2008-07-10  Morten Welinder  <terra@gnome.org>

	* src/ssgrep.c (main): Support -v and --print-type.

	* src/search.c (gnm_search_filter_matching): Handle new invert
	flag.

2131 2132
2008-07-09  Morten Welinder  <terra@gnome.org>

2133
	* src/ssgrep.c (main): Support -q -c -i -w -h -H -n -l -L -F.
2134

2135 2136 2137 2138 2139
2008-07-08  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-widget.c: (sheet_widget_button_prep_sax_parser):
	use the correct property name, i.e. "text" instead of "label".

2140 2141 2142 2143 2144 2145 2146
2008-07-02  Jody Goldberg <jody@gnome.org>

	* configure.in : add a test for gsf_open_pkg_foreach_rel to avoid
	  bumping libgsf version req yet.  It will be updated for the next
	  STABLE release, but this will give the update time to percolate
	  through the distros.

Morten Welinder's avatar
Morten Welinder committed
2147 2148 2149 2150
2008-06-29  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (yearfrac): Guard against invalid dates.

Morten Welinder's avatar
Morten Welinder committed
2151 2152 2153 2154 2155 2156 2157 2158
2008-06-27  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (gnm_date_add_days, gnm_date_add_months): New
	functions.

	* src/sheet-autofill.c (afm_compute): Simplify using
	gnm_date_add_months.

2159 2160 2161 2162 2163
2008-06-25  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (phyper): Short-circuit x>=NR case.  Fixes
	#540211.

2164 2165 2166 2167
2008-06-25  Jody Goldberg <jody@gnome.org>

	* doc/C/Makefile.am : ship ssgrep.1 and gnumeric-C.omf

Jody Goldberg's avatar
Jody Goldberg committed
2168 2169 2170 2171
2008-06-25  Jody Goldberg <jody@gnome.org>

	* Release 1.9.1

2172 2173 2174 2175 2176
2008-06-23  Morten Welinder  <terra@gnome.org>

	* src/gnm-datetime.c (datetime_value_to_g): Clear date in case of
	failure.  Fixes #539808.

2177 2178 2179 2180 2181
2008-06-22  Jody Goldberg <jody@gnome.org>

	* src/wbc-gtk.c (cb_direction_change) : Only change the direction for
	  the current scg. [#499910]

2182 2183 2184 2185