ChangeLog 411 KB
Newer Older
1 2 3 4 5
2011-04-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (actions): change 
	"_Wilcoxon-Mann-Whitney Test..." to "Wilcoxon-_Mann-Whitney Test..."

6 7 8 9 10
2011-04-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.c (gnm_func_get_arg_description): fix zero-based index 
	counting, fixes #647240
	
11 12 13 14
2011-04-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet.c (sheet_range_contains_region): formulas ->formul\303\246

15 16 17 18 19
2011-04-02  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/mstyle.c (gnm_style_dump_color): fix format warning
	(gnm_style_dump): ditto, fixes #646571

Morten Welinder's avatar
Morten Welinder committed
20 21 22 23
2011-03-31  Morten Welinder  <terra@gnome.org>

	* src/gui-file.c (gui_file_open): Plug leak.

24 25
2011-03-30  Morten Welinder  <terra@gnome.org>

26 27 28 29 30 31 32 33
	* src/func.c (dump_externals): Properly use translation domain.
	(function_dump_defs): Ditto.
	(function_def_create_arg_names): Ditto.
	(gnm_func_get_description): Ditto.
	(gnm_func_get_arg_description): Ditto.
	(gnm_func_get_name): Get the translated name from
	GNM_FUNC_HELP_NAME.

34 35 36 37 38 39
	* src/parse-util.h (GnmConventions): Add field for localized
	function names.

	* src/func.c (gnm_func_get_name): Take extra argument indicating
	whether the name should be localized.  All callers changed.

40 41 42 43 44 45 46 47
2011-03-28  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (dump_guessed_options): New function.
	(stf_parse_options_guess,stf_parse_options_guess_csv): Optionally
	call dump_guessed_options.

	* src/stf-parse.h (enum StfTrimType_t): Use the values intended.

48 49 50 51 52
2011-03-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (snap_pos_to_grid): don't move an aligned
	object

Morten Welinder's avatar
Morten Welinder committed
53 54 55 56
2011-03-24  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
57 58 59 60
2011-03-24  Morten Welinder <terra@gnome.org>

	* Release 1.10.14

61 62 63 64 65 66
2011-03-22  Morten Welinder  <terra@gnome.org>

	* src/ssconvert.c (resolve_template): New function.
	(convert): Simplify code.  Treat output filename as template when
	ssconvert_one_file_per_sheet is set.

67 68 69 70 71 72 73
2011-03-21  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dependent_set_expr): Make sure we clear dynamic
	deps, even if not linked.  Fixes #645209.
	(dependents_dump): New function extracted from...
	* src/wbc-gtk.c (cb_workbook_debug_info): ...here.

74 75
2011-03-18  Morten Welinder  <terra@gnome.org>

76 77 78
	* src/parser.y: Apply ugly patch for xlsx global names.  See bug
	643873 for discussions.

79 80
	* src/print.c (gnm_print_sheet): Punt and use ShellExecute.

81 82 83 84
2011-03-17  Morten Welinder  <terra@gnome.org>

	* src/print.c (gnm_print_sheet): Improve error handling.

85 86 87 88 89
2011-03-16  Morten Welinder  <terra@gnome.org>

	* src/print.c (gnm_print_sheet): On WIN32, do previews as
	export-to-pdf plus show-url.  Hopefully works around #533795.

90 91 92 93 94 95
2011-03-12  Morten Welinder  <terra@gnome.org>

	* src/dead-kittens.h (gtk_adjustment_get_upper): Macro had wrong
	name.
	(gtk_dialog_get_content_area): We only need one of these.

96 97 98 99
2011-03-11  Morten Welinder  <terra@gnome.org>

	* src/gutils.c (gnm_insert_meta_date): Use GsfTimestamp.

100 101
2011-03-10  Morten Welinder  <terra@gnome.org>

102 103
	* src/colrow.c (colrow_new, colrow_free): New functions.

104 105
	* src/sheet.c (cell_new, cell_free): Use slice allocator, not
	g_new.
106
	(sheet_row_new, sheet_col_new): Use colrow_new.
107

108 109 110 111
2011-03-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet.c: formulas -> formulæ
	* src/wbc-gtk-actions.c: formulas -> formulæ
112

113 114
2011-03-08  Morten Welinder  <terra@gnome.org>

115 116 117
	* src/gutils.c (gnm_insert_meta_date): Use GsfTimestamp, not
	string.

118 119 120 121
	* src/stf-parse.c (stf_parse_sheet): Delete lines as we are done
	with them.
	(stf_parse_general_free): Handle freed lines.

122 123 124
2011-03-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (scg_cursor_move): check one row at a time.
125

126 127 128 129 130 131
2011-03-04  Morten Welinder  <terra@gnome.org>

	* src/parse-util.c (std_external_wb): New function.
	(gnm_conventions_new_full): Always set input.external_wb.
	(wbref_parse): Use that.

132 133 134 135
2011-03-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: fix schema

Jean Bréfort's avatar
Jean Bréfort committed
136 137 138 139 140 141 142 143
2011-03-03  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: add gschema files.
	* schemas/Makefile.am: ditto.
	* schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in: ditto.
	* schemas/org.gnome.gnumeric.gschema.xml.in.in: ditto.
	* schemas/org.gnome.gnumeric.plugin.gschema.xml.in.in: ditto.

144 145 146 147 148 149
2011-03-03  Morten Welinder  <terra@gnome.org>

	* src/value.c (value_new_string_str): Add precondition.

	* src/expr.c (gnm_expr_new_constant): Add precondition.

150 151 152 153 154
2011-03-01  Morten Welinder  <terra@gnome.org>

	* src/gnumeric-gconf.c (get_node): Handle absolute keys, assuming
	goffice handles them.

155 156 157 158
2011-02-26  Morten Welinder  <terra@gnome.org>

	* src/value.c (value_new_cellrange_parsepos_str): Constify.

159 160 161 162 163
2011-02-24  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (cb_set_toolbar_position): Only actually set
	toolbar position when the item is active.  (We now get extra signals.)

164 165 166
2011-02-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/undo.c (gnm_undo_colrow_*_group_finalize): chain to parent
167

168 169 170 171 172
2011-02-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-clipboard.c (text_is_single_cell): new
	(text_to_cell_region): use text_is_single_cell

173 174
2011-02-21  Morten Welinder  <terra@gnome.org>

175 176 177
	* src/stf-parse.c (trim_spaces_inplace): Don't use strcpy for
	overlapping areas.  Hopefully fixes #642477.

178 179
	* src/wbc-gtk.c (wbc_gtk_finalize): Cancel template loader handler
	if necessary.
180 181
	(wbc_gtk_create_notebook_area): Hold a ref to bnotebook so it
	cannot disappear underneath us.
182

Morten Welinder's avatar
Morten Welinder committed
183 184
2011-02-17  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
185 186
	* src/wbc-gtk.c (wbc_gtk_finalize): Remove custum UIs.

Morten Welinder's avatar
Morten Welinder committed
187 188
	* src/stf.c (stf_shutdown): Unregister stf_csv too.

189 190 191 192 193 194 195 196 197 198 199
2011-02-16  Morten Welinder  <terra@gnome.org>

	* src/gnumeric.h (GnmExprEvalFlags): Add new want-ref flag.

	* src/expr.c (gnm_expr_eval): clear the want-ref flag for
	arguments to operands.  If the flag is set, return a ref for the
	cellref case.

	* src/func.c (function_call_with_exprs): Evaluate 'r' arguments
	with want-ref flag.  Fixes #613273.

200 201 202
2011-02-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/validation-combo.h (IS_GNM_VALIDATION_COMBO): new
203

204 205
2011-02-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

206
	* schemas/gnumeric-dialogs.schemas.in
207 208 209
	(/apps/gnumeric/stf/export/terminator): use escape
	* src/stf-export.c (gnm_stf_get_stfe): do not leave the terminator
	as "" (this could happen due to gconf bug #641807)
210

211 212 213 214 215
2011-02-07  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-edit.c (item_edit_button_pressed), (item_edit_motion): fix
	cursor position inside a cell edited in a zoomed sheet. [#641709]

216 217
2011-02-06  Jean Brefort  <jean.brefort@normalesup.org>

Jean Bréfort's avatar
Jean Bréfort committed
218
	* libspreadsheet.pc.in: removed libglade-2.0 from requirements.
219

Morten Welinder's avatar
Morten Welinder committed
220 221 222 223
2011-02-02  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
224 225 226 227
2011-02-02  Morten Welinder <terra@gnome.org>

	* Release 1.10.13

228 229 230 231 232 233 234 235 236
2011-01-20  Morten Welinder  <terra@gnome.org>

	* src/gutils.c (gnm_usr_dir): Add parameter controlling whether to
	return versioned or unversioned directory.  All callers changed.

	* src/file-autoft.c (category_group_list_get): Search both
	unversioned and versioned directories.
	* src/wbc-gtk.c (wbc_gtk_reload_templates): Ditto.

237 238 239 240
2011-01-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_set_text_full): do not enter expressions
	into text-formatted cells
241

242 243
2011-01-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

244
	* src/value.c (find_rows_that_match): only one criteria row has
245
	to match!
246

247 248
2011-01-11  Morten Welinder  <terra@gnome.org>

249 250
	* src/func.c (gnm_func_sanity_check1): Allow for "_", ".", and
	digits in function names.
251

252 253 254 255 256
2011-01-10  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-info.c (page_setup_set_paper): work around a gtk bug
	  (#639186)

257 258 259 260 261 262 263
2011-01-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/pixmaps/gnm_subscript_16.png: new
	* src/pixmaps/gnm_subscript_24.png: new
	* src/pixmaps/gnm_superscript_16.png: new
	* src/pixmaps/gnm_superscript_24.png: new
	* src/pixmaps/Makefile.am: add the above files
264
	* src/wbc-gtk.c (wbc_gtk_setup_icons): set up
265
	  Gnumeric_Superscript and Gnumeric_Subscript icons
266
	* src/wbc-gtk-actions.c (font_toggle_actions) use
267
	  Gnumeric_Superscript and Gnumeric_Subscript icons
268

269 270 271 272 273 274 275 276 277 278 279 280 281 282
2011-01-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sort.c (sort_compare_cells): add argument and use it to
	  decide whether to use the cacheing version of value_compare
	(sort_compare_sets): add argument and change all callers
	(gnm_sort_contents): if we are not in the default locale, do not cache
	  collation keys
	* src/value.h (value_compare_no_cache): new
	* src/value.c (value_compare_no_cache): new
	(value_compare_real): new
	(value_cmp): use value_compare_real
	(value_compare): use value_compare_real
	(gnm_string_cmp): new
	(gnm_string_cmp_ignorecase): new
283

284 285 286 287 288 289 290 291 292 293 294 295
2011-01-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/item-edit.c (item_edit_draw): add NULL argument to call of
	  gnumeric_background_set
	* src/item-grid.c (item_grid_draw_merged_range): add theme argument
	  to pass to gnumeric_background_set
	(item_grid_draw_background): ditto
	(item_grid_draw_region): pass theme to item_grid_draw_merged_range and
	  item_grid_draw_background
	* src/pattern.h (gnumeric_background_set): add theme argument
	* src/pattern.c (gnumeric_background_set): add and use theme argument
	(gnm_get_light): new
296
	* src/preview-grid.c (preview_grid_draw_background): add NULL argument
297 298
	  to call of gnumeric_background_set

299 300 301
2011-01-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/item-bar.c (ib_draw_cell): use selection colours
302

303 304 305 306 307
2011-01-07  Morten Welinder  <terra@gnome.org>

	* src/func.c (gnm_func_sanity_check1): Improve check of
	description text to catch stuff like #631504.

308 309 310 311 312
2011-01-06  Morten Welinder  <terra@gnome.org>

	* src/go-data-cache-field.c (go_data_cache_field_get_val): Undo
	previous change.

313 314 315 316 317 318 319
2010-12-30  Morten Welinder  <terra@gnome.org>

	* src/number-match.c (format_match_fraction): Add option for
	accepting mixed-format numbers only.
	(format_match): When the existing format is "General", allow only
	mixed-format number.

320 321
2010-12-26  Andreas J. Guelzow <aguelzow@pyrshep.ca>

322
	* src/go-data-cache-field.c (go_data_cache_field_get_val): protect
323
	against crashes
324

325 326 327 328 329
2010-12-26  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-control-gui.c (scg_scale_changed): reposition sheet objects to
	avoid rounding errors related to the rounding of cells limits. [#637739]

330 331 332 333
2010-12-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/stf-export.c (gnm_stf_export): make cppcheck happy

334 335 336 337 338 339
2010-12-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk.c
	* src/commands.h (cmd_analysis_tool): add argument
	* src/commands.c (cmd_analysis_tool): use always_take_ownership
	  argument
340

341 342 343 344 345
2010-12-17  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-so-line.c (so_line_view_set_bounds): take zoom level into
	account when setting the coordinates. [#637453]

346 347 348 349 350 351 352
2010-12-10  Morten Welinder  <terra@gnome.org>

	* src/stf.c (resize_columns): Expand columns to fit
	numbers (including dates).
	(stf_read_workbook): Call resize_columns.
	(stf_read_workbook_auto_csvtab): Ditto.

353 354 355 356 357 358
2010-12-08  Morten Welinder  <terra@gnome.org>

	* src/func-builtin.c (gnumeric_if2): Take flags argument and use
	it for "then" and "else" branches.  Caller changed.  Fixes
	#636433.

359 360 361 362
2010-12-01  Morten Welinder  <terra@gnome.org>

	* src/test-pango.c: Kill warnings.

363 364
2010-11-29  Jean Brefort  <jean.brefort@normalesup.org>

365 366
	* src/wbc-gtk.c (wbcg_update_action_sensitivity): only disable the
	formula bar when a chart sheet is selected. [#636031]
367

368 369 370
2010-11-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_set_text): add autocorrect flag
371
	* src/commands.c (cmd_set_text): add autocorrect flag, change
372 373 374 375 376 377
	all callers
	(cmd_set_text_full): add autocorrect flag, change all callers
	* src/wbc-gtk-edit.c (wbcg_edit_finish): handle WBC_EDIT_ACCEPT_WO_AC
	* src/wbc-gtk.h (WBCEditResult): add WBC_EDIT_ACCEPT_WO_AC
	* src/wbc-gtk.c (cb_accept_input_wo_ac): new
	(cb_accept_input_menu): connect cb_accept_input_wo_ac
378

Morten Welinder's avatar
Morten Welinder committed
379 380 381 382
2010-11-25  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
383 384 385 386
2010-11-25  Morten Welinder <terra@gnome.org>

	* Release 1.10.12

387 388 389 390
2010-11-19  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wb_view_save_as): Better fix for 634792.

391 392 393 394
2010-11-16  Morten Welinder  <terra@gnome.org>

	* src/*.c: Constify GOFormat handling.

395 396 397 398 399
2010-11-15  Morten Welinder  <terra@gnome.org>

	* src/gui-file.c (gui_file_save_as): Clear "pristine" flag.  Fixes
	#634792.

400 401 402 403 404
2010-11-12  Morten Welinder  <terra@gnome.org>

	* src/gnm-so-filled.c (so_filled_view_set_bounds): Ensure that
	clipping width and height do not become non-positive.  Fixes #634597.

405 406
2010-11-07  Jean Brefort  <jean.brefort@normalesup.org>

407 408
	* src/sheet-object-image.c (so_image_view_set_bounds): fixed image
	bounds in zoomed sheets.
409

410 411
2010-11-06  Jean Brefort  <jean.brefort@normalesup.org>

412 413
	* src/dead-kittens.h: fixed property name in
	gtk_table_get_size. [#634149]
414

415 416 417 418 419 420 421
2010-11-05   Andreas J. Guelzow <aguelzow@pyrshep.ca>
	for Sameer Morar <smorar@gmail.com>

	* src/gnm-pane.c (gnm_pane_key_mode_sheet): Enable the key combinations
	<control><shift>Page_Up and <control><shift>Page_Down to move the
	currently selected sheet left or right respectively.  [#634139]

422 423
2010-11-04  Morten Welinder  <terra@gnome.org>

424 425 426 427 428 429 430
	* src/item-cursor.c (cb_autofill_scroll): Limit size of tooltip to
	200x200 characters.

	* src/sheet-autofill.c (gnm_autofill_hint)
	(sheet_autofill_internal): Change to return GString* instead of
	char*.  All callers changed.

431 432 433
	* src/cell.c (gnm_cell_convert_expr_to_value): Handle array
	corners.

434 435 436 437 438 439
2010-10-29  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-graph.c (sog_cb_copy_to_new_sheet),
	(gnm_sog_populate_menu): New contextual menu item: copy a graph
	to a new graph sheet.

440 441 442 443 444 445 446 447
2010-10-27  Morten Welinder  <terra@gnome.org>

	* src/parser.y (parser_simple_val_or_name): Check whether a name
	is valid before defining it.  See bug #633140.

	* src/expr-name.c (expr_name_validate): Improve check for clash
	with boolean constants.  Also check untranslated.

Morten Welinder's avatar
Morten Welinder committed
448 449 450 451 452 453 454
2010-10-20  Morten Welinder  <terra@gnome.org>

	* src/gui-util.c (gnm_xml_get_widget): Elminate.  Change all
	callers to go_gtk_builder_get_widget.  ("The light that burns
	twice as bright burns for half as long - and you have burned so
	very, very brightly, Roy.")

455 456 457 458 459 460
2010-10-19  Morten Welinder  <terra@gnome.org>

	* src/gui-util.c (gnumeric_keyed_dialog): When dialog is
	destroyed, clear "state" to trigger the tear-down even if someone
	(i.e., gtkbuilder) holds a ref.

461 462
2010-10-18  Morten Welinder  <terra@gnome.org>

463 464 465 466 467
	* src/gui-util.c (gnumeric_glade_group_value): Make this work for
	gtk builder guis too.
	(gnm_xml_get_widget): New function wrapping
	go_gtk_builder_get_widget and glade_xml_get_widget.

468 469 470
	* src/sheet-object-image.c (gnm_soi_draw_cairo): Fix printing
	crash.  [#632439]

471 472 473 474 475 476 477 478
2010-10-15  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c (sheet_widget_frame_user_config): Use
	gnm_gtk_builder_new and handle failures.

	* src/gui-util.c (gnm_gtk_builder_new): New function that knows
	about Gnumeric's directory structure.

479 480 481
2010-10-11  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/undo.c (gnm_undo_colrow_set_sizes_undo): plug leak
482

483 484 485 486 487 488 489 490 491 492
2010-10-11  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-widget.c (cb_frame_config_destroy),
	(sheet_widget_frame_user_config), (cb_button_config_destroy),
	(sheet_widget_button_user_config), (cb_adjustment_config_destroy),
	(sheet_widget_adjustment_user_config_impl),
	(cb_checkbox_config_destroy), (sheet_widget_checkbox_user_config),
	(cb_radio_button_config_destroy),
	(sheet_widget_radio_button_user_config): use GtkBuiler instead of GladeXML.

493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512
2010-10-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add menu items
	* src/GNOME_Gnumeric-gtk.xml.in: add menu items
	* src/HILDON_Gnumeric-gtk.xml.in: add menu items
	* src/commands.c(cmd_page_breaks_clear): new
	(cmd_page_break_toggle): new
	(cmd_page_breaks_set_breaks): new
	* src/commands.h (cmd_page_breaks_clear): new
	(cmd_page_break_toggle): new
	* src/print-info.c (print_info_has_manual_breaks): new
	* src/print-info.h (print_info_has_manual_breaks): new
	* src/sheet-view.c (sv_update): add MS_PAGE_BREAKS
	* src/wbc-gtk-actions.c (cb_file_print_area_toggle_col): new
	(cb_file_print_area_toggle_row): new
	(cb_file_print_area_clear_pagebreaks): new
	(permanent_actions): change meu item title
	(actions): connect the above
	* src/wbc-gtk.c (wbcg_menu_state_update): handle MS_PAGE_BREAKS
	* src/workbook-control.h (MS_PAGE_BREAKS): new
513

514 515 516 517 518 519 520 521
2010-10-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/print-info.c (print_info_set_paper_orientation): correct
	  argument description
	* src/print-info.h (page_breaks): add comment
	* src/print.c (compute_sheet_pages): switch vertical and horizontal
	  page breaks

522 523 524 525 526
2010-10-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_so_set_links): add argument
	* src/commands.c (cmd_so_set_links): add argument
	(cmd_so_set_links_redo): handle output ttpe
527
	* src/sheet-object-widget.h
528 529 530 531 532 533 534 535 536
	(sheet_widget_list_base_set_result_type): new
	(sheet_widget_list_base_result_type_is_index): new
	* src/sheet-object-widget.c
	(sheet_widget_list_base_set_result_type): new
	(sheet_widget_list_base_result_type_is_index): new
	(sheet_widget_list_base_set_selection): consider swl->result_as_index
	(sheet_widget_list_base_set_selection_value): new
	(sheet_widget_list_base_init): initialize swl->result_as_index

537 538
2010-10-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

539
	* src/sheet-object-widget.c (cb_list_model_changed): save current
540 541
	  selection and flag selection as saved.
	(cb_selection_changed): don't bother if the selection was saved
542
	(sheet_widget_list_create_widget): try to set the selection only if
543
	  we have one.
544

545 546 547 548 549 550
2010-10-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (sheet_widget_list_create_widget): set the
	  correct selection
	(sheet_widget_combo_create_widget): ditto

Morten Welinder's avatar
Morten Welinder committed
551 552 553 554
2010-10-01  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
555 556 557 558
2010-10-01  Morten Welinder <terra@gnome.org>

	* Release 1.10.11

559 560
2010-10-01  Andreas J. Guelzow <aguelzow@pyrshep.ca>

561
	* sheet-object-widget.c (sheet_widget_button_init_full: disable
562 563 564 565 566 567 568 569
	  printing by default
	(sheet_widget_adjustment_init_full): ditto
	(sheet_widget_list_base_init): ditto
	* sheet-object.c (sheet_object_set_print_flag): new
	* sheet-object.h (sheet_object_set_print_flag): new
	* xml-sax-read.c (xml_sax_read_obj): read print flag
	* xml-sax-write.c (xml_write_objects): write print flag

570 571 572 573 574 575 576
2010-09-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (sheet_widget_draw_cairo): warn always
	(draw_cairo_text): adjust coner radius for small buttons
	(sheet_widget_list_draw_cairo): new
	(sheet_widget_list_class_init): connect sheet_widget_list_draw_cairo

577 578 579 580 581
2010-09-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (sheet_widget_combo_draw_cairo): new
	(sheet_widget_combo_class_init): connect the above

582 583 584 585
2010-09-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (sheet_widget_button_draw_cairo): new

586 587 588 589 590
2010-09-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (sheet_widget_spinbutton_draw_cairo): new
	(sheet_widget_spinbutton_class_init): connect the above

591
2010-09-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>
592

593 594 595 596
	* src/sheet-object-widget.c (draw_cairo_text): add aguments and change
	  all callers
	(sheet_widget_frame_draw_cairo): new
	(sheet_widget_scrollbar_horizontal_draw_cairo): fix alignment
597

598
2010-09-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
599
	* src/sheet-object-widget.c
600 601
	(sheet_widget_scrollbar_*_draw_cairo): new
	(sheet_widget_scrollbar_draw_cairo): new
602
	(sheet_widget_scrollbar_class_init): connect
603
	  sheet_widget_slider_draw_cairo
604
	(sheet_widget_slider_vertical_draw_cairo): use
605
	  sheet_widget_slider_horizontal_draw_cairo
606

607 608
2010-09-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

609
	* schemas/gnumeric-general.schemas.in: fix tooltip for column
610
	  and row numbers
611
	* src/sheet-object-widget.c (sheet_widget_slider_*_draw_cairo):
612
	  new
613
	(sheet_widget_slider_draw_cairo): new
614
	(sheet_widget_slider_class_init): connect
615
	  sheet_widget_slider_draw_cairo
616

Morten Welinder's avatar
Morten Welinder committed
617 618 619 620 621 622 623
2010-09-28  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (struct cb_sheet_resize): Eliminate.  This was the
	same as GnmSheetSize.
	(gnm_sheet_type_get_type, gnm_sheet_visibility_get_type):
	Eliminate casts no-longer needed.

624 625 626 627 628
2010-09-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (draw_cairo_text): new
	(sheet_widget_checkbox_draw_cairo): use draw_cairo_text
	(sheet_widget_radio_button_draw_cairo): use draw_cairo_text
629

630 631 632 633 634
2010-09-24  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c (sheet_widget_checkbox_draw_cairo):
	Get font info from GtkStyle.

635 636
2010-09-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

637
	* src/sheet-object-widget.c (sheet_widget_checkbox_draw_cairo):
638 639 640
	  fix line join for checked box.

2010-09-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>
641

642
	* src/sheet-object-widget.c (SOW_MAKE_TYPE): add fn_draw_cairo and
643 644 645 646 647 648
	  change all usages using sheet_widget_draw_cairo as default
	(sheet_widget_checkbox_draw_cairo): new
	(sheet_widget_radio_button_draw_cairo): new

2010-09-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

649
	* src/sheet-object-widget.c (sheet_widget_draw_cairo): avoid
650
	  dereferencing NULL pointer
651

652 653
2010-09-21  Morten Welinder  <terra@gnome.org>

654 655 656
	* src/wbc-gtk.c (wbc_gtk_reload_templates): Look for templates in
	user directory too.  Fixes #630247.

657 658 659 660 661 662 663
	* src/graph.c (set_pending_convs): Keep track of convs'
	life-cycles.

	* src/parse-util.c (gnm_conventions_unref): Renamed from
	gnm_conventions_free.  Change to handle ref-counting.
	(gnm_conventions_ref): New function.

664 665 666
	* src/xml-sax-read.c (xml_sax_cell_content): Handle empty values
	in inter-process paste.  Part of #629302.

667 668
2010-09-20  Morten Welinder  <terra@gnome.org>

669 670 671
	* configure.in (libspreadsheet_reqs): Downgrade libgsf
	requirement.  Check for OO_NS_CHART_OOO.

672 673 674
	* src/sheet.c (sheet_range_set_text): Get a format for matching
	from upper left corner of range.  Mostly fixes #630177.

675 676 677 678
2010-09-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (sort_by_rows): quieten spurious warning

679 680 681 682 683
2010-09-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (sort_by_rows): allow specification of cols/rows
	  when sorting via toolbar button

684 685 686 687 688
2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_set_text_full): Only auto format if no user style
	  is set. Fixes 629303.

689 690 691
2010-09-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c (sheet_widget_frame_*et_property): new
692

693 694 695 696 697
2010-09-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-object-widget.c: add "value" property to radio_button
	  widget

Morten Welinder's avatar
Morten Welinder committed
698 699 700 701
2010-09-04  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
702 703 704 705
2010-09-04  Morten Welinder <terra@gnome.org>

	* Release 1.10.10

706 707 708 709 710
2010-09-04  Jean Brefort  <jean.brefort@normalesup.org>

	* src/wbc-gtk.c (set_entry_contents): fixed graph scalar data editor
	behavior. [#628721]

Morten Welinder's avatar
Morten Welinder committed
711 712
2010-09-01  Morten Welinder  <terra@gnome.org>

713 714
	* src/func.c (check_argument_refs): Plug leak.  Fix the actual
	test.
Morten Welinder's avatar
Morten Welinder committed
715

716 717 718 719 720
2010-08-31  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (set_entry_contents): Set scalar values using the
	editor's method for that.  That helps with formats.

721 722 723 724 725 726 727 728 729 730 731 732
2010-08-30  Morten Welinder  <terra@gnome.org>

	* src/clipboard.c (paste_cell): Also translate dates with
	time-of-day.

2010-08-27  Morten Welinder  <terra@gnome.org>

	* src/number-match.c (valid_hms): Fix the case of elapsed minutes
	and second.  Take extra argument identifying what kind of elapsed
	format might be used.  Communicate whether the format needs to be
	elapsed back to caller.  All callers changed.

733 734 735 736
2010-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: raise goffice requirement to 0.8.10

737 738 739 740 741 742 743
2010-08-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.h (gnumeric_go_error_info_list_dialog_new): new
	(gnumeric_go_error_info_list_dialog_show): new
	* src/gui-util.c (gnumeric_go_error_info_list_dialog_new): new
	(gnumeric_go_error_info_list_dialog_show): new, maily code from
	  gnumeric_go_error_info_dialog_new
744
	(gnumeric_go_error_info_dialog_new): use
745 746 747 748 749 750
	  gnumeric_go_error_info_list_dialog_show
	* src/io-context-gtk.c (icg_error_error_info_list): new
	(icg_set_num_files): connect icg_error_error_info_list
	* src/wbc-gtk.c (wbcg_error_error_info_list): new
	(wbcg_gnm_cmd_context_init): connect wbcg_error_error_info_list
	* src/workbook-control.c (wbc_cmd_context_init): insert reminder stub
751

752 753
2010-08-24  Morten Welinder  <terra@gnome.org>

754 755 756
	* src/gnm-plugin.c (plugin_service_function_group_read_xml)
	(plugin_service_ui_read_xml): Fix char-xmlChar confusion.

757 758 759
	* src/libgnumeric.c (gnm_pre_parse_init): Make it possible to turn
	on glib memory profiler.

Morten Welinder's avatar
Morten Welinder committed
760 761 762
2010-08-23  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_colrow): Simplify and plug leak.
Morten Welinder's avatar
Morten Welinder committed
763
	(xml_sax_finish_parse_wb_attr): Plug leak.
Morten Welinder's avatar
Morten Welinder committed
764

765 766 767 768
2010-08-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* samples/chart-tests.gnumeric: update tab colours

769 770 771 772 773
2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* samples/chart-tests.gnumeric: add tab colours to indicate ODF support
	  for those pages (in round trip)

774 775 776 777 778
2010-08-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* samples/chart-tests.gnumeric: test plot types separately from our
	  ability to combine them.

Morten Welinder's avatar
Morten Welinder committed
779 780 781 782
2010-08-16  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
783 784 785 786
2010-08-16  Morten Welinder <terra@gnome.org>

	* Release 1.10.9

787 788
2010-08-16  Morten Welinder  <terra@gnome.org>

789 790
	* src/collect.c (collect_floats): Fix #627079 (FMR).

791 792 793
	* src/complex.c (complex_pow): Special-case a=0 which the general
	formula bungles.  Fixes #627014.

794 795 796 797
2010-08-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* samples/chart-tests.gnumeric: make sure the images match the graphs
	  (and fix the data to make it more likely to stay in this way.)
Morten Welinder's avatar
Morten Welinder committed
798

799 800 801 802 803 804
2010-08-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (CmdPasteCopy): new fields
	(cmd_paste_copy_impl): store sizes for rows and columns and restore them
	(cmd_paste_copy_finalize): finalize new fields
	(cmd_paste_copy): iitalize new fields
Morten Welinder's avatar
Morten Welinder committed
805

806 807 808 809
2010-08-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_area_set_array_expr): autofit rows and columns.

810 811 812 813 814 815 816 817 818 819 820 821
2010-08-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/colrow.h (colrow_autofit_col): new
	(colrow_autofit_row): new
	* src/colrow.c (colrow_autofit_col): new
	(colrow_autofit_row): new
	* src/commands.c (cmd_set_text_full_autofit_row): renamed and moved to
	  src/colrow.c
	(cmd_set_text_full_autofit_col): renamed and moved to src/colrow.c with
	  changes
	(cmd_set_text_full): adjust calls to cmd_set_text_full_autofit_*

822 823
2010-08-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

Morten Welinder's avatar
Morten Welinder committed
824
	* src/commands.c (cmd_set_text_full): check whether the same-text and
825 826
	  not same-markup situation in fact applies.

827 828 829 830 831
2010-08-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_set_text_full_check_text): if we have already
	  have a string in the cell, we can ignore a leading '

832 833 834 835 836 837
2010-08-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_set_text_full_check_text): new
	(cmd_set_text_full_check_markup): new
	(cmd_set_text_full): check for changed text and markup

838 839
2010-08-13  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
840 841
	* src/colrow.c (colrow_state_list_destroy): Make this a function.

842 843 844
	* src/commands.c (cmd_set_text_full): Restore check for actual
	changes.  Fixes #626797.

845 846 847 848 849 850
2010-08-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_set_text_full_check_texpr): new
	(cmd_set_text_full): check whether we are entering the same expression
	  already in all cells.

851 852 853 854 855
2010-08-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_set_text_full): always autofit the rows and also
	  autofit the columns for non-strings.

856 857 858 859 860 861 862
2010-08-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/colrow.c (colrow_set_sizes): revert last change
	* src/commands.c (cmd_set_text_full_autofit_*): new
	(cmd_set_text_full): don't use colrow_set_sizes but colrow_autofit
	* src/undo.c (gnm_undo_colrow_set_sizes_new): fix comment

863 864
2010-08-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

865 866
	* src/colrow.c (colrow_set_sizes): use -2 as an indicator only to
	auto-fit non-strings
867
	* src/commands.c (cmd_set_text_full): use size -2
868 869
	* src/undo.c (gnm_undo_colrow_set_sizes_new): use -1 and -2 as
	autofit markers.
870

871 872 873 874 875 876
2010-08-13  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_set_text_*): deleted
	(cmd_set_text_full): new
	(cmd_set_text): use cmd_set_text_full
	(cmd_area_set_text): use cmd_set_text_full
877

878 879 880 881
2010-08-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_area_set_text): use autocorrection

Morten Welinder's avatar
Morten Welinder committed
882 883 884 885 886
2010-08-12  Morten Welinder  <terra@gnome.org>

	* src/cell.c (gnm_cell_set_expr_and_value, gnm_cell_set_value):
	Plug leaks in case preconditions fail.

887 888 889 890 891
2010-08-12  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-edit.c (item_edit_update_bounds): fix in-cell editing when
	zoom < 100%. [#626679]

892 893 894 895
2010-08-11  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_colrow): Set "pos" initially.

896 897 898 899 900
2010-08-11  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane.c (cb_update_ctrl_pts), (set_item_x_y),
	(set_acetate_coords): make control points zoom correctly. [see #626404]

901 902 903 904 905 906 907
2010-08-10  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnm-pane-impl.h: update comment.
	* src/gnm-pane.c (cb_pane_drag_motion): fixed objects dragging when zoomed.
	[#626484]
	* src/sheet-control-gui.c (scg_drag_receive_same_process): ditto.

908 909 910 911 912
2010-08-08  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_must_have_style): New function.  Use
	throughout.

913 914 915 916 917
2010-08-08  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-control-gui.c (gnm_pane_make_cell_visible): fix scroll when
	selecting a merged cell. [#626065]

918 919 920 921 922
2010-08-06  Morten Welinder  <terra@gnome.org>

	* src/gnm-random.c (random_01_mersenne): Produce full precision
	for long double case.
	(mt_setup_win32): New function.
923 924
	(random_01_determine): Try mt_setup_win32 on Win32.  Fixes
	#533779.
925

926 927
2010-08-05  Morten Welinder  <terra@gnome.org>

928 929
	* src/value.c (value_new_from_string): Quiet warning.

930 931
	* src/xml-sax-read.c (xml_sax_must_have_sheet): New function.  Use
	heavily throughout the parser.  Fixes #626043.
932
	(xml_sax_colrow): Avoid near-infinite loop.
933

934 935
2010-08-04  Morten Welinder  <terra@gnome.org>

936 937 938 939 940
	* src/xml-sax-read.c (xml_cell_set_array_expr): Use
	gnm_cell_set_array.  Fixes #626034's original problem.

	* src/cell.c (gnm_cell_set_array): New, somewhat saner variant.

941 942 943
	* src/expr.c (gnm_expr_eval): Catch when the alleged array corner
	isn't a corner.  See bug 626034.

944 945 946 947 948 949 950 951 952 953
	* src/cell.c (gnm_cell_set_array_formula): Improve preconditions.
	(gnm_cell_cleanout): Add precondition.

	* src/mstyle.c (gnm_style_set_font_italic,
	gnm_style_set_font_bold, gnm_style_set_font_strike,
	gnm_style_set_wrap_text, gnm_style_set_shrink_to_fit,
	gnm_style_set_contents_locked, gnm_style_set_contents_hidden):
	Normalize gboolean.
	(gnm_style_set_font_strike): Fix argument type.

Jean Bréfort's avatar
Jean Bréfort committed
954 955
2010-08-04  Jean Brefort  <jean.brefort@normalesup.org>

956 957
	* src/dependent.c (gnm_cell_eval_content): force columns span
	recalculation when switching between number and error. [#625994]
Jean Bréfort's avatar
Jean Bréfort committed
958

959 960 961 962 963
2010-08-03  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.c (gnumeric_create_tooltip_rc_style): set all colours
	(gnumeric_create_tooltip): set the label style

964 965
2010-08-03  Morten Welinder  <terra@gnome.org>

966 967 968
	* src/xml-sax-read.c (xml_sax_cell, xml_sax_cell_content): Don't
	check data with g_return_if_fail.  Plug leaks.

Morten Welinder's avatar
Morten Welinder committed
969 970
	* src/workbook.c (workbook_sheet_by_index): Fix crash.  [#625985]

971 972 973
	* src/gnm-random.c (random_01_device): Read the right number of
	new bytes, just in case.

974 975 976
2010-08-02  Morten Welinder  <terra@gnome.org>

	* src/gnm-random.c: Split from src/mathfunc.c.
Morten Welinder's avatar
Morten Welinder committed
977
	(random_01): Split into manageable pieces.
978

979 980
2010-08-01  Jean Brefort  <jean.brefort@normalesup.org>

Jean Bréfort's avatar
Jean Bréfort committed
981 982
	* src/item-bar.c (ib_draw_cell): use theme foreground color for row and
	column headers. [#625727]
983

984 985 986 987 988
2010-07-31  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-graph.c (legend_start), (position_end),
	(gnm_sogg_prep_sax_parser): import the legend from guppi graph.

989 990 991 992 993
2010-07-31  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-graph.c (dim_start): survive malformed guppi graphs.
	[#625726]

994 995 996 997 998 999 1000 1001 1002 1003
2010-07-31  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-graph.c (gnm_sog_prep_sax_parser),
	(sheet_object_graph_ensure_size), (vector_start), (vector_end),
	(plot_type_start), (series_start), (dim_start), (marker_end),
	(linear_start), (cubic_start), (horiz_end), (stacked_end),
	(percent_end), (separation_end), (bubble_end),
	(gnm_sogg_sax_parser_done), (gnm_sogg_prep_sax_parser): import Guppi
	graphs from gnumeric-1.0.x files. [#567953]

Morten Welinder's avatar
Morten Welinder committed
1004 1005 1006 1007
2010-07-30  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
1008 1009 1010 1011
2010-07-30  Morten Welinder <terra@gnome.org>

	* Release 1.10.8

1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022
2010-07-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_autofilter_set_condition): new
	* src/commands.h (cmd_autofilter_set_condition): new
	* src/sheet-filter.c (gnm_filter_condition_dup): publish
	(gnm_filter_condition_free): publish
	* src/sheet-filter.h (gnm_filter_condition_dup): new
	(gnm_filter_condition_free): new
	* src/undo.c (GNM_UNDO_FILTER_SET_CONDITION): new object
	* src/undo.h (GNM_UNDO_FILTER_SET_CONDITION): new object

1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033
2010-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk.c (cb_accept_input_array): new
	(cb_accept_input_selected_cells): new
	(cb_accept_input_selected_merged): new
	(cb_accept_input_menu_sensitive_selected_cells): new
	(cb_accept_input_menu_sensitive_selected_merged): new
	(cb_accept_input_menu): new
	(edit_area_button_menu): new
	(wbc_gtk_create_edit_area): use edit_area_button_menu for ok_button

1034 1035 1036 1037 1038
2010-07-29  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_reorganize_sheets_delete_cmp_f): rename
	  to cmd_tabulate_cmp_f and change caller (which is cmd_tabulate_undo)

1039 1040 1041 1042 1043
2010-07-28  Morten Welinder  <terra@gnome.org>

	* src/preview-grid-impl.h (_PreviewGrid): Get rid of unused GdkGC
	fields.

1044 1045
2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1046 1047 1048 1049 1050 1051
	* src/wbc-gtk.c (wbc_gtk_create_status_area): size the autoexpr
	label to contain about 25 typical characters and ellipsize it on
	the left
	* src/workbook-view.c (wb_view_auto_expr_recalc): format the
	autoexpression to an appropriate length

1052 1053 1054
2010-07-28  Morten Welinder  <terra@gnome.org>

	* src/style-border.h (struct _GnmBorder): Eliminate unused
1055
	gc_screen and gc.
1056

1057 1058
2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1059
	* src/mstyle.c (gnm_style_get_pango_attrs): use
1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075
	  gnm_translate_underline_to_pango
	(gnm_style_generate_attrs_full): use gnm_translate_underline_to_pango
	(gnm_style_set_from_pango_attribute): use
	  gnm_translate_underline_from_pango
	* src/style.c (gnm_translate_underline_to_pango): new
	(gnm_translate_underline_from_pango): new
	* src/style.h (gnm_translate_underline_to_pango): new
	(gnm_translate_underline_from_pango): new
	* src/wbc-gtk-actions.c (FontSingleLowUnderline): new actions
	(FontDoubleLowUnderline): new actions
	(cb_font_underline_low): new
	(cb_font_double_underline_low): new
	* src/wbc-gtk-impl.h (_WBCGtk): add toggle action fields
	* src/wbc-gtk.c (wbc_gtk_style_feedback_real): handle
	  UNDERLINE_*_LOW
	(wbc_gtk_init): add Font*LowUnderline
1076

1077 1078 1079 1080 1081
2010-07-28  Morten Welinder  <terra@gnome.org>

	* src/item-grid.c (item_grid_init): Kill all GdkGCs which aren't
	used anyway.

1082 1083 1084
2010-07-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/dead-kittens.h (gtk_dialog_get_content_area): new
1085

1086 1087 1088 1089 1090 1091
2010-07-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: new item search-results
	* schemas/gnumeric-general.schemas.in: fix typo
	* src/gnumeric-gconf.c (gnm_conf_*et_searchreplace_search_results*): new
	* src/gnumeric-gconf.h (gnm_conf_*et_searchreplace_search_results*): new
1092

1093 1094 1095 1096 1097 1098 1099 1100
2010-07-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add "clear filtered" menu items
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/commands.c (cmd_selection_clear_row_handler): new
	(cmd_selection_clear): adjust selection if only considering filtered rows
	* src/ranges.c (range_fragment_free): delete
1101
	* src/ranges.h (range_fragment_free): change into a define using
1102 1103 1104 1105 1106
	  go_slist_custom
	* src/sheet.h (SheetClearFlags): add CLEAR_FILTERED_ONLY
	* src/wbc-gtk-actions.c (cb_edit_clear_*_filtered): new
	(EditClear*Filtered): new actions

1107 1108 1109 1110 1111 1112 1113 1114 1115
2010-07-23  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/clipboard.c (cb_clipboard_copy_range_undo): paste everything back
	* src/commands.c (cmd_clear_*): delete
	(cmd_selection_clear): rewrite using GOUndo
	* src/sheet.c (sheet_clear_region_undo): new
	(sheet_clear_region_cb): new
	* src/sheet.h (sheet_clear_region_undo): new

1116 1117 1118 1119 1120
2010-07-23  Morten Welinder  <terra@gnome.org>

	* src/func.c (gnm_func_sanity_check1): Make sure argument names,
	as documented, are unique.

1121 1122 1123 1124 1125 1126 1127 1128
2010-07-22  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-general.schemas.in: add tooltip preferences
	* src/gnumeric-gconf.h
	(gnm_conf_*et_core_gui_editing_function_argument_tooltips*): new
	* src/gnumeric-gconf.c
	(gnm_conf_*et_core_gui_editing_function_name_tooltips*): new

1129 1130 1131 1132
2010-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.h (GNM_FUNC_RECALC_ONLOAD): not used

1133 1134 1135 1136 1137 1138
2010-07-21  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.c (gnm_func_get_description): new
	* src/func.h (gnm_func_get_description): new
	* src/symbol.c (symbol_names_cb): new
	(symbol_names): rewrite to work in gtk 2.12 and to provide more info
1139

1140 1141
2010-07-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1142
	* src/wbc-gtk-actions.c (cb_help_function): use
1143 1144
	  dialog_function_select_help instead of dialog_function_select

1145 1146 1147 1148 1149
2010-07-20  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-edit.c (wbcg_edit_finish): check whether showed_dialog
	  is NULL before using it

1150 1151 1152
2010-07-19  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* configure.in: checks for g_date_set_time_t and g_slice_alloc have
1153
	  been superceded by the glib 2.12 requirement; check for
1154 1155 1156 1157 1158 1159 1160 1161 1162
	  g_hash_table_get_keys
	* src/dependent.c: remove HAVE_G_SLICE_ALLOC throughout
	* src/func.c (gnm_func_lookup_prefix): new
	* src/func.h (gnm_func_lookup_prefix): new
	* src/rendered-value.c: remove HAVE_G_SLICE_ALLOC throughout
	* src/symbol.c (symbol_names): new
	* src/symbol.h (symbol_names): new
	* src/value.c: remove HAVE_G_SLICE_ALLOC throughout

1163 1164 1165 1166 1167
2010-07-18  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-edit.c (attrs_at_byte): Fix signedness problem.
	(cb_entry_cursor_pos): Ditto.

1168 1169 1170 1171 1172 1173 1174
2010-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_selection_format_toggle_font_style): new
	* src/commands.c (cmd_selection_format_toggle_font_style): new
	(cmd_selection_format_toggle_font_style_cb): new
	(cmd_selection_format_toggle_font_style_filter): new
	* src/sheet.c (sheet_apply_style_cb): call sheet_flag_style_update_range
1175
	* src/wbc-gtk-actions.c (toggle_font_attr): use
1176 1177
	  cmd_selection_format_toggle_font_style

1178 1179 1180 1181 1182 1183
2010-07-18  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/clipboard.c (clipboard_paste_region): allow single merge to single
	  merge pasting
	* src/commands.c (CmdPasteCopy): add field
	(cmd_paste_copy): allow single merge to single merge pasting
1184

1185 1186 1187 1188 1189 1190
2010-07-16  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (context_menu_handler): handle merging and
	  unmerging
	(scg_context_menu): add merge and unmerge menuitems.

1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201
2010-07-15  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/item-grid.c (draw_function_marker): new
	(item_grid_draw_region): call draw_function_marker when appropriate
	(item_grid_draw_merged_range): ditto
	* src/workbook-view.c (wb_view_set_attribute): handle new attribute
	(wb_view_set_property): ditto
	(workbook_view_class_init): ditto
	(workbook_view_new): ditto
	(wb_view_get_property): ditto
	* src/workbook-view.h (_WorkbookView): new field
1202

1203 1204
2010-07-14  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1205
	* schemas/gnumeric-general.schemas.in
1206 1207 1208 1209 1210 1211
	(/schemas/apps/gnumeric/core/file/save/extension-check-disabled): new
	* src/gnumeric-gconf.h: include above key
	* src/gnumeric-gconf.c: ditto
	* src/gui-file.c (extension_check_disabled): new
	(gui_file_save_as): obey the extension-check-disabled preference

1212 1213 1214 1215 1216 1217 1218 1219
2010-07-13  Morten Welinder  <terra@gnome.org>

	* src/parse-util.h (gnm_expr_lex_all): new
	(GnmLexerItem): new type
	* src/parser.y (setup_state): new (code from gnm_expr_parse_str)
	(gnm_expr_lex_all): new
	(gnm_expr_parse_str): use setup_state

1220 1221 1222 1223
2010-07-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/cellspan.c (cell_calc_span): fixed crash introduced earlier. [#624274]

1224 1225 1226 1227
2010-07-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c (gnm_go_data_vector_load_len): fixed a regression. [#624263]

1228 1229 1230 1231 1232 1233 1234 1235 1236
2010-07-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/cell-draw.c (cell_calc_layout): fixed alignment in cells with rtl
	text and rtl sheets. [see #623241]
	* src/cellspan.c (cell_calc_span): ditto.
	* src/item-edit.c (get_top_left): ditto.
	* src/item-grid.c (item_grid_draw_region): ditto.
	* src/rendered-value.c (gnm_rendered_value_new): ditto.

1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249
2010-07-12  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add submenu to Insert menu
	* src/GNOME_Gnumeric-gtk.xml.in: add submenu to Insert menu
	* src/HILDON_Gnumeric-gtk.xml.in: add submenu to Insert menu
	* src/wbc-gtk-actions.c (cb_insert_sort_*cending): new actions
	(permanent_actions): add MenuInsertFormulaWrap, InsertSortDecreasing
	  and InsertSortIncreasing
	* src/wbc-gtk.c (wbcg_menu_state_update): handle the above new actions
	* src/workbook-cmd-format.c (workbook_cmd_wrap_sort): new
	(cb_get_cell_content): new
	* src/workbook-cmd-format.h (workbook_cmd_wrap_sort): new

1250 1251 1252 1253
2010-07-11  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-edit.c (item_edit_draw), (item_edit_button_pressed),
	(item_edit_motion), (item_edit_update_bounds): fix ItemEdit
1254
	alignment for RTL text. [see #623241]
1255

1256 1257 1258 1259 1260
2010-07-10  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c (gnm_go_data_vector_load_len): don't crash with an
	empty GSList.

1261 1262 1263 1264 1265
2010-07-09  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk.c (cb_graph_dim_editor_update): Use the right enum
	type for parse flags.

1266 1267 1268 1269 1270 1271
2010-07-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (context_menu_handler): add autofit actions
	(scg_context_menu): add autofit items
	* src/wbc-gtk-actions.c: add some icons to actions

1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294
2010-07-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* component/Gnumeric-embed.xml.in: add menu items to Format->Cells
	* src/GNOME_Gnumeric-gtk.xml.in: ditto
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* src/colrow.c (colrow_set_sizes): add arguments to restrict the
	  range of autofitting.
	* src/colrow.h (colrow_set_sizes): add arguments
	* src/commands.c (cmd_autofit_selection): new
	(cmd_resize_colrow): adjust call of colrow_set_sizes
	* src/commands.h (cmd_autofit_selection): new
	* src/stf-parse.c (stf_parse_sheet): adjust call of colrow_set_sizes
	* src/undo.c (gnm_undo_colrow_set_sizes_new): ditto
	(gnm_undo_colrow_set_sizes_undo): adjust call of colrow_set_sizes
	* src/undo.h (_GNMUndoColrowSetSizesClass): add from/to specifiers
	(gnm_undo_colrow_set_sizes_new): ditto
	* src/wbc-gtk-actions.c (cb_format_cells_auto_fit_height): new
	(cb_format_cells_auto_fit_width): new
	(FormatCellsFitHeight): new action
	(FormatCellsFitWidth): new action
	* src/workbook-cmd-format.c (workbook_cmd_autofit_selection): new
	* src/workbook-cmd-format.h (workbook_cmd_autofit_selection): new

1295 1296 1297 1298 1299
2010-07-08  Morten Welinder  <terra@gnome.org>

	* src/wbc-gtk-actions.c (cb_format_as_currency): Use
	go_format_details_new and _free.

1300 1301 1302 1303 1304 1305 1306 1307
2010-07-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/GNOME_Gnumeric-gtk.xml.in: add merge and unmerge menu items
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* component/Gnumeric-embed.xml.in: ditto
	* src/wbc-gtk-actions.c (permanent_actions): add cellformat sub menu
	(actions): modify menu text

1308 1309 1310 1311 1312
2010-07-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-actions.c (cb_edit_clear_all): include CLEAR_COMMENTS
	  flag

1313 1314
2010-07-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1315
	* src/GNOME_Gnumeric-gtk.xml.in: add and move hyperlink and
1316 1317 1318 1319 1320 1321 1322 1323
	  comment items
	* src/HILDON_Gnumeric-gtk.xml.in: ditto
	* component/Gnumeric-embed.xml.in: ditto
	* src/sheet-view.c (sv_update): also check the comment and hyperlink
	  items
	* src/wbc-gtk-actions.c (cb_edit_delete_links): new
	(permanent_actions): new Modify submenu of the Edit menu
	(actions): add and move hyperlink and comment actions
1324
	* src/wbc-gtk.c (wbcg_menu_state_update): handle hyperlink and comment
1325 1326
	  items
	* src/workbook-control.h: new MS_* flags
Morten Welinder's avatar
Morten Welinder committed
1327

1328 1329 1330 1331
2010-07-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/func.c (copy_hash_table_to_ptr_array): also exclude py_* functions

1332 1333 1334 1335 1336
2010-07-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (context_menu_handler): enable column and row
	  width/hide/unhide on cell selections

1337 1338 1339 1340
2010-07-07  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (context_menu_handler): fix capitalization

1341 1342 1343 1344 1345
2010-07-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (context_menu_handler): make the items context
	  sensitive.

1346 1347 1348 1349 1350 1351
2010-07-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (context_menu_handler): use the number of links
	  in the undo string.
	(scg_context_menu): show the correct hyperlink menu items.

1352 1353 1354 1355 1356 1357 1358 1359
2010-07-06  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gui-util.h (GnumericPopupMenuElement): add field
	* src/gui-util.c (gnumeric_create_popup_menu): handle new field
	* src/sheet-control-gui.c (context_menu_handler): handle removal
	  and cretion of comments
	(scg_context_menu): add new items for comment addition and removal

1360 1361 1362 1363 1364 1365 1366
2010-07-06  Jean Brefort  <jean.brefort@normalesup.org>

	* src/item-edit.c (get_top_left), (item_edit_draw),
	(item_edit_button_pressed), (item_edit_motion),
	(item_edit_realize), (item_edit_unrealize): fix strong/weak cursor
	display. [#623241]

1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378
2010-07-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_autofilter_add_remove): handle extension of
	  an existing autofilter.
	* src/sheet-filter.h (gnm_sheet_filter_can_be_extended): new
	* src/sheet-filter.c (gnm_sheet_filter_can_be_extended): new
	* src/sheet-view.h (sv_selection_extends_filter): new
	* src/sheet-view.c (sv_selection_extends_filter): new
	(sv_selection_intersects_filter_rows): add qualifier
	* src/wbc-gtk.c (wbcg_menu_state_update): check whether auto filter
	  can be extended

1379 1380 1381 1382 1383 1384 1385
2010-07-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (CMD_AUTOFILTER_ADD_REMOVE): delete
	(cmd_autofilter_add_remove_*): delete
	(cmd_autofilter_add_remove): rewrite using cmd_generic (prep for
	  enhancement request #607086)

1386 1387 1388 1389 1390 1391 1392 1393 1394
2010-07-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-filter.h (gnm_sheet_filter_intersect_rows): new
	* src/sheet-filter.c (gnm_sheet_filter_intersect_rows): new
	* src/sheet-view.h (sv_selection_intersects_filter_rows): new
	* src/sheet-view.c (sv_selection_intersects_filter_rows): new
	* src/wbc-gtk.c (wbcg_menu_state_update): check for prohibited
	  autofilter positions

1395 1396
2010-07-05  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1397
	* src/sheet-control-gui.c (scg_drag_receive_same_process): one need to
1398 1399
	  first duplicate the sheet before committing that change

1400 1401 1402 1403
2010-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_objects_move): simplify
	* src/sheet-control-gui.h (scg_objects_drag_commit): add arguments
1404
	* src/sheet-control-gui.c (scg_objects_drag_commit): add arguments
1405 1406 1407 1408 1409
	  to return GOUndo items and change all callers
	(scg_objects_drag_commit_get_undo_text): new (code from
	  scg_objects_drag_commit)
	(scg_drag_receive_same_process): combine the undos before committing

1410 1411 1412 1413 1414 1415 1416 1417 1418
2010-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_objects_move): move most code into
	  sheet_object_move_undo and sheet_object_move_do
	* src/sheet-object.h (sheet_object_move_undo): new
	(sheet_object_move_do): new
	* src/sheet-object.c (sheet_object_move_undo): new
	(sheet_object_move_do): new

1419 1420 1421
2010-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (scg_objects_drag_commit): simplify slightly
1422
	(scg_drag_receive_same_process): pass the correct argument to
1423
	  scg_objects_drag_commit
1424
	* src/sheet-object.c (sheet_object_set_sheet): don't complain if the object
1425 1426 1427 1428 1429
	  is already set to this sheet.
	* src/commands.c (CMD_OBJECTS_MOVE): delete
	(cmd_objects_move_*): delete
	(cmd_objects_move): rewrite using GOUndo

1430 1431 1432 1433 1434
2010-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/sheet-control-gui.c (scg_objects_drag_commit): don't be cheesy, ie.
	  use ngettext.

Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
1435 1436 1437 1438
2010-07-04  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: fix typo

1439 1440 1441 1442 1443
2010-07-01  Morten Welinder  <terra@gnome.org>

	* src/func.c (check_argument_refs): New function.
	(gnm_func_sanity_check1): Check argument references.

1444 1445 1446 1447 1448 1449
2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-format.h: add define
	* src/cell-draw.c (cell_calc_layout): replicate the pango attributes
	  with the text

1450 1451 1452 1453
2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-format.c (format_value_common): use go_string_replace
	* src/func.c (gnm_func_convert_markup_to_pango): ditto
Morten Welinder's avatar
Morten Welinder committed
1454

1455 1456 1457 1458
2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/cell-draw.c (cell_calc_layout): HALIGN_FILL overrides wrap_text

1459 1460 1461 1462 1463
2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/gnm-format.c (format_value_common): in one-paragraph mode
	  replace newlines with visible glyphs.

1464 1465 1466 1467
2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/stf-export.c (try_auto_float): new
	(stf_export_cell): call try_auto_float
Morten Welinder's avatar
Morten Welinder committed
1468

1469 1470 1471 1472
2010-06-30  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* schemas/gnumeric-dialogs.schemas.in: new preferences for
	  search and replace dialog
1473 1474
	* src/gnumeric-gconf.c: add the items generated from the above
	  changes
1475
	* src/gnumeric-gconf.h: ditto
Morten Welinder's avatar
Morten Welinder committed
1476

Morten Welinder's avatar
Morten Welinder committed
1477 1478 1479 1480
2010-06-28  Morten Welinder <terra@gnome.org>

	* configure.in: Post-release bump.

Morten Welinder's avatar
Morten Welinder committed
1481 1482 1483 1484
2010-06-28  Morten Welinder <terra@gnome.org>

	* Release 1.10.7

1485 1486 1487 1488 1489 1490 1491 1492 1493
2010-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.c (cmd_area_set_text): handle markup
	* src/sheet.h (sheet_range_set_markup_undo): new
	* src/sheet.c (sheet_range_set_markup_undo): new
	(cb_set_markup): new
	(sheet_range_set_markup_cb): new
	* src/wbc-gtk-edit.c (wbcg_edit_finish): pass the amrkup also to
	  cmd_area_set_text
Morten Welinder's avatar
Morten Welinder committed
1494

1495 1496
2010-06-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1497
	* src/commands.c (CMD_AREA_SET_TEXT): deleted
1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511
	(cmd_area_set_text_*): deleted
	(cmd_area_set_text): rewritten using GO_UNDO
	* src/sheet.h (sheet_range_set_text_undo): new
	(sheet_range_set_expr_undo): new
	(sheet_apply_style_undo): new
	* src/sheet.c (sheet_range_set_text_undo): new
	(sheet_range_set_expr_undo): new
	(sheet_apply_style_undo): new
	(sheet_apply_style_cb): new
	(sheet_range_set_expr_cb): new
	(sheet_range_set_text_cb): new
	* src/wbc-gtk-edit.c (wbcg_edit_finish): provide initialization to
	  quieten gcc

1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522
2010-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (cmd_area_set_text): change arguments
	* src/commands.c (cmd_area_set_text): this will not be
	  called for array functions any longer
	(cmd_create_data_table): rewrite using cmd_generic
	* src/ranges.c (undo_cell_pos_name): correct comment
	* src/test-pango.c (cb_exercise_pango): adjust the cmd_area_set_text
	  call
	* src/wbc-gtk-edit.c (wbcg_edit_finish): ditto

1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533
2010-06-27  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/cell.h (gnm_cell_set_array_formula_undo): new
	* src/cell.c (gnm_cell_set_array_formula_undo): new
	(gnm_cell_set_array_formula_cb): new
	* src/commands.h (cmd_cell_range_is_locked_effective): new
	(cmd_selection_is_locked_effective): new
	(cmd_area_set_array_expr): new
	* src/commands.c (cmd_cell_range_is_locked_effective): publish
	(cmd_selection_is_locked_effective): publish
	(cmd_area_set_array_expr): new
1534
	* src/wbc-gtk-edit.c (wbcg_edit_finish): check whether the range
1535
	  is locked; call cmd_area_set_array_expr when appropriate
Morten Welinder's avatar
Morten Welinder committed
1536

1537 1538
2010-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

1539
	* src/wbc-gtk-edit.c (wbcg_edit_finish): don't hide a varaible by
1540 1541
	  using the same name.

1542 1543 1544 1545
2010-06-25  Morten Welinder  <terra@gnome.org>

	* src/gui-clipboard.c (table_content_received): Skip headers for
	MS HTML Format.
1546
	(parse_ms_headers): New function.
1547

1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559
2010-06-25  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/Makefile.am (undo.[ch]): added
	* src/commands.h: formatting
	* src/commands.c (cmd_resize_colrow_*): deleted
	(cmd_resize_colrow): reimplement using GOUndo.
	* src/colrow.h (colrow_get_sizes): new
	(colrow_index_list_copy): new
	* src/colrow.c (colrow_restore_state_group): don't destroy the indexlist.
	  Adjust all callers
	(colrow_get_sizes): new
	(colrow_index_list_copy): new
Andreas J. Guelzow 's avatar
Andreas J. Guelzow committed
1560
	* src/undo.[ch]: new
1561

1562 1563 1564 1565 1566 1567 1568 1569 1570
2010-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/commands.h (gnm_cmd_trunc_descriptor): new
	* src/commands.c (gnm_cmd_trunc_descriptor): publish and add optional
	  'truncated' argument. Change all callers.
	* src/ranges.c (max_range_name_width): deleted
	(undo_range_name): use gnm_cmd_trunc_descriptor
	(range_list_name_try): change arguments, use gnm_cmd_trunc_descriptor
	(undo_range_list_name): adjust to changes to range_list_name_try
Morten Welinder's avatar
Morten Welinder committed
1571

1572 1573 1574 1575 1576
2010-06-24  Andreas J. Guelzow <aguelzow@pyrshep.ca>

	* src/wbc-gtk-edit.c (wbcg_edit_finish): don't free memory until we
	  are done with it.

1577 1578
2010-06-24  Morten Welinder  <terra@gnome.org>