ChangeLog 220 KB
Newer Older
1 2 3 4
2005-10-24  Morten Welinder  <terra@gnome.org>

	* src/func.c (function_dump_defs): Describe args too.

5 6 7 8 9
2005-10-24  Morten Welinder  <terra@gnome.org>

	* src/func.c (function_dump_defs): Do the minimum for the new
	function doc stuff.

10 11 12 13 14 15 16 17 18
2005-10-23  Jody Goldberg <jody@gnome.org>

	* src/parse-util.c (r1c1_rangeref_parse) : cut-n-paste-o
	(r1c1_get_index) : == max is ok, we're about to decrement.

	* src/parser.y (yylex) : special case check for #N/A which does not
	  end in '!' or '?'.
	(cellref) : Allow RANGEREF : RANGEREF

19 20 21 22 23
2005-10-15  Jody Goldberg <jody@gnome.org>

	* src/wbcg-actions.c (cb_format_general) : Fix fmt accelerators.
	  ctrl-~ == general not number
	  ctrl-! == number not accounting
24

25 26 27 28
	* src/gnm-format.c (format_value_gstring) : Use the last element as a
	  catch all. eg [>10][Blue]0;0 will fmt 1 in black even though it's
	  implicit condition is <0

29 30 31
	* src/sheet-view.c (sv_freeze_panes) : if frozen == unfrozen unfreeze
	  things.

Stepan Kasal's avatar
Stepan Kasal committed
32 33 34 35 36 37
2005-10-12  Stepan Kasal  <kasal@ucw.cz>

	* configure.in (gnumeric_gnome_reqs): Require libgsf-gnome >= 1.13.0,
	  1.12.x cannot be used in combination with libgsf >= 1.13.2 anyway.
	* README: Sync all version requirements with configure.in.

38 39 40 41
2005-10-10  Morten Welinder  <terra@gnome.org>

	* src/stf.c (csv_tsv_probe): Fix a pile of content-probe issues.
	Fixes #318419.
42
	Handle empty csv files sanely.
43

44 45 46 47 48 49 50
2005-10-10  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_sheet_read) : xml_node_get_bool returns TRUE on
	  success.  Only set the value if we have one.  The other code is
	  reading directly into the value and setting it to a constant on
	  failure.

Jody Goldberg's avatar
Jody Goldberg committed
51 52 53 54
2005-10-10  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
55 56 57 58 59 60 61 62
2005-10-10  Jody Goldberg <jody@gnome.org>

	* Release 1.6.0

2005-10-10  Jody Goldberg <jody@gnome.org>

	* configure.in : bump gsf req to avoid breakage in 1.13.1

63 64 65 66 67
2005-10-10  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (pdhyper): Avoid infinite loop for NB==0, n==x.
	NOTE: Changed directly in genereated code.

68 69 70 71 72
2005-10-08  Jody Goldberg <jody@gnome.org>

	* src/cellspan.c (cell_calc_span) : numbers can span when centered
	  across selection. [Debian #286131]

73 74 75 76 77
2005-10-07  Jody Goldberg <jody@gnome.org>

	* src/style-border.c (style_borders_row_draw) : more rtl fixage.
	(style_borders_row_print) : ditto.

78 79 80 81 82
2005-10-07  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-write.c (xml_write_summary): Save all the summary
	items, not N copies of the first.  [#318254]

83 84 85 86 87 88
2005-10-06  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnumeric-pane.c: (build_so_menu): localize all menu items [#318042].
	* src/sheet-autofill.c: (in_list), (autofill_cell): use localized days
	and months names when autofilling [#318043].

89 90 91 92 93 94 95 96 97
2005-10-06  Jody Goldberg <jody@gnome.org>

	* src/style-conditions.c (gnm_style_conditions_eval) : whip up the
	  other conditions.
	* src/print-cell.c (print_merged_range) : support conditional styles
	  in merged cells.
	* src/item-grid.c (item_grid_draw_merged_range) : ditto.

2005-10-06  Jody Goldberg <jody@gnome.org>
98 99 100 101 102 103

	http://bugzilla.gnome.org/show_bug.cgi?id=317806
	* src/dependent.c (cb_single_contained_collect) : do not collect
	  dynamic depends they may get cleared.
	(cb_range_contained_collect) : ditto.

104 105 106 107 108 109
2005-10-04  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : libspreadsheet_la_LDFLAGS is already defined use
	  += for WITH_WIN32

2005-10-04  Jody Goldberg <jody@gnome.org>
110 111 112 113 114

	* src/func-builtin.c (gnumeric_table_link) : finish
	* src/dependent.c (link_expr_dep) : take an EvalPos rather than just a
	  dep so that we can pass around array bound details.

115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
2005-10-02  Jody Goldberg <jody@gnome.org>

	* src/ranges.c (range_intersection) : return FALSE if the ranges do
	  not overlap, but do not generate an error.
	  formula_import_biff8.xls

	* src/gnumeric-pane.c (gnm_pane_init) : Use a realize handler on the
	  canvas to create the object views.  Doing it sooner can break
	  because the canvas has not been attached to a container yet.
	  test-xls/prislistekomplett.xls

	* src/workbook-control-gui.c (wbcg_sheet_add) : only grab focus if we
	  are the current sheet.
	  samples/derivatives.gnumeric

Jody Goldberg's avatar
Jody Goldberg committed
130 131 132
	* src/xml-sax-read.c : Move to new libgsf xml interface.
	  Support un-namespaced variant of Name for compatibility.

133 134 135 136 137 138 139 140
	http://bugzilla.gnome.org/show_bug.cgi?id=317427
	* src/parse-util.c (gnm_1_0_rangeref_as_string) : new stripped down
	  variant of rangeref_as_string.
	* src/xml-sax-write.c (xml_io_conventions) : use it here.
	* src/xml-io.c (xml_io_conventions) : and here.

	* src/style.c (required_updates_for_style) : add super/sub script

141 142 143 144 145
2005-10-01  Stepan Kasal  <kasal@ucw.cz>

	* src/Makefile.am (libspreadsheet_la_LDFLAGS): Add a -release flag,
	  that says that there is no compatibility between releases.

146 147 148 149 150 151 152
2005-09-28  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (xml_read_names): Check whether the expression is
	NULL, not whether the exp function pointer is.
	(xml_workbook_read): Setup context earlier.
	(xml_read_names): Work around bug 317427.

153 154 155 156 157
2005-09-28  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c: (gnm_go_data_set_sheet): unlink dependent if necessary
	before setting the sheet.

158 159 160 161 162
2005-09-28  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c: (gnm_go_data_dup): set the sheet of the dep with a
	call to dependent_set_sheet.

163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
2005-09-26  Jody Goldberg <jody@gnome.org>

	* src/gnm-style-impl.h : Add a script element to GnmStyle
	* src/mstyle.c (elem_is_eq) : support scripts
	(elem_assign_content) : support scripts
	(gnm_style_new_default) : support scripts
	(gnm_style_get_pango_attrs) : support scripts
	(gnm_style_dump) : support scripts
	(gnm_style_set_font_script) : new.
	(gnm_style_get_font_script) : new.

	* src/GNOME_Gnumeric-gtk.xml.in  : Add the super/sub script
	  accelerators

	* gnumeric.xsd : update to include the new h/v alignments and to add
	  Script.

	* src/wbc-gtk.c (wbc_gtk_style_feedback) : support super/sub script
	  and fix support for double underline

	* src/wbcg-actions.c (toggle_font_attr) : support super/sub script
	(cb_font_subscript) : new.
	(cb_font_superscript) : new.

	* src/xml-io.c (xml_write_style) : ditto.
	(xml_read_style) : ditto.
	* src/xml-sax-read.c (xml_sax_styleregion_font) : ditto.
	* src/xml-sax-write.c (xml_write_gnmstyle) : ditto.

Morten Welinder's avatar
Morten Welinder committed
192 193 194 195
2005-09-27  Morten Welinder  <terra@gnome.org>

	* src/position.c (eval_pos_init_dep): Fix typo.

196 197
2005-09-26  Jody Goldberg <jody@gnome.org>

198 199 200 201 202
	* src/workbook-control-gui.c (show_gui) : protection against scg == NULL
	  Wallenbach-Formulas2003/chap17/thermometer chart.xls 
	(disconnect_sheet_signals) : no need to warn when shutting down hidden
	  sheets.

203 204 205 206
	* src/format-template.c (gnm_auto_fmt_filter_edges) : This is not
	  correct, but at least it no longer causes a crash.  Rework things to
	  rationalize the handling of edges at some point in the future.

207 208 209 210
	* src/mstyle.c (gnm_style_set_shrink_to_fit) : cut-n-paste-o that
	  would erase wrap text with shrink to fit.
	(gnm_style_get_shrink_to_fit) : ditto.

Jody Goldberg's avatar
Jody Goldberg committed
211 212
2005-09-24  Jody Goldberg <jody@gnome.org>

213 214 215 216 217 218 219 220 221 222 223 224 225 226
	* src/sheet-control-gui.c (resize_pane_pos) : handle motion in frozen
	  areas.
	(sheet_control_gui_new) : use a blank label as a space rather than a
	  scrollbar.  Emmanuel's idea seems more consistent with frozen panes
	  than reseting the pane.
	(set_resize_pane_pos) : new utility to calculate the desired pane
	  position and block the signal.
	(resize_pane_finish) : renamed from cb_resize_pane_finish to be more
	  consistent.  Round the pane position to the col/row bound using
	  set_resize_pane_pos.
	(scg_set_panes) : position the resize panes.  Change the behavior not
	  to short circuit if the freeze status is unchanged.  This seems safe
	  and makes sue that set_resize_pane_pos is called.

Jody Goldberg's avatar
Jody Goldberg committed
227 228
	* src/dependent.c : warning suppression.

229 230 231 232 233 234 235
2005-09-22  Jody Goldberg <jody@gnome.org>

	* src/selection.c (sv_selection_to_plot) : Use the total number of
	  rows and cols to decide row vs col major.  Using just the first
	  range had the potential for problems with a singleton followed by a
	  full col.

236 237 238 239
	http://bugzilla.gnome.org/show_bug.cgi?id=314867
	* src/dependent.c (workbook_recalc) : queue an update to the auto
	  expr.

240 241 242 243 244 245
2005-09-20  Jody Goldberg <jody@gnome.org>

	* src/position.c : Add some gnm_ to the api.
	(gnm_cellref_set_col_ar) : new
	(gnm_cellref_set_row_ar) : new.

246 247 248 249 250 251 252
2005-09-20  Morten Welinder  <terra@gnome.org>

	* src/cell-draw.c: Don't use gdk_draw_layout_with_colors -- it
	breaks rich text.  (We might be able to use it if we can somehow
	deduce that rich text is not present, but that is a patch for
	later.)  Unset clip explicitly in the rotation case.

253 254 255 256 257 258 259
2005-09-19  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=316597
	* src/cell-draw.c (cell_draw) : gtk-2.8 clips more vigorously.
	  Don't clip at all for rotation rather than setting a clip of
	  0..maxint

Stepan Kasal's avatar
Stepan Kasal committed
260 261
2005-09-18  Stepan Kasal  <kasal@ucw.cz>

262 263
	* configure.in: Fix the way GCONF_SCHEMAS_INSTALL is set.
	  Update obsolete macros.
Stepan Kasal's avatar
Stepan Kasal committed
264

265 266 267 268 269
2005-09-17  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-canvas.c (gnm_canvas_key_press) : add a quick guard
	  around gtk_im_context_reset to avoid starting an edit for no reason.

270 271 272 273 274 275
2005-09-16  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_destroy_contents) : destroy filters and pivots
	  before remaining objects.  Those are higher order objects and may
	  contain objects themselves.  [#316533]

276 277 278 279 280 281
2005-09-15  Jody Goldberg <jody@gnome.org>

	* src/func-builtin.c (gnumeric_table_link) : new incomplete.
	(gnumeric_table_unlink) : new incomplete.
	(gnumeric_table) : implement 1d iteration.

282 283 284 285 286 287 288 289 290 291 292 293
2005-09-15  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_is_local_drag) : new.
	(cb_wbcg_drag_motion) : check for object drags here.
	(cb_wbcg_drag_leave) : here.
	(cb_wbcg_drag_data_received) : and here.
	(wbcg_set_toplevel) : include the local object targets.

	* src/gnumeric-canvas.c (cb_obj_autoscroll) : new.
	(gnm_canvas_object_autoscroll) : new.  A kludge to get sheet objects
	  to autoscroll again.

294 295 296 297 298 299
2005-09-15  Morten Welinder  <terra@gnome.org>

	* src/main-application.c (check_pango_attr_list_splice_bug): New
	function.
	(main): Call check_pango_attr_list_splice_bug.

300 301 302 303 304 305
2005-09-13  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=316026
	* src/sheet-control-gui.c (drag_object) : type 8 movement (sliding
	  full object) in rtl mode should snap coord 2, the right side.

306 307 308 309 310
2005-09-13  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dep_hash_destroy): Don't start changing
	dependencies until we are done looking at containers.

Stepan Kasal's avatar
Stepan Kasal committed
311
2005-09-10  Stepan Kasal  <kasal@ucw.cz>
312 313 314 315 316 317 318

	* src/main-application.c (main): Change the type of variable "args"
	  to "gchar const **", call go_shell_argv_to_glib_encoding_free at
	  the end of the day.
	* src/ssconvert.c, src/ssindex.c: Likewise.
	* configure.in: Require goffice 0.1.0.

319 320 321
	* src/workbook.c (workbook_sheet_state_diff): It seems that the last
	  chunk of the change from 2005-08-27 was a mistake.  Remove it.

322 323 324 325 326 327
2005-09-09  Jody Goldberg <jody@gnome.org>

	* src/dependent.c (link_expr_dep) : honor new DEPENDENT_IGNORE_ARGS
	  flag which instructs the linker not to depend on the arguments to
	  the function.

328 329 330 331
2005-09-08  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump, prep for 1.6.0

Jody Goldberg's avatar
Jody Goldberg committed
332 333 334 335 336 337 338 339 340
2005-09-08  Jody Goldberg <jody@gnome.org>

	* Release 1.5.90

2005-09-08  Jody Goldberg <jody@gnome.org>

	* src/GNOME_Gnumeric-gtk.xml.in : remove 'EditMetaData' it is not
	  complete.

Jody Goldberg's avatar
Jody Goldberg committed
341 342 343 344 345
2005-09-05  Jody Goldberg <jody@gnome.org>

	* src/expr.c (gnm_expr_is_data_table) : move this out of the xls
	  plugin.

Stepan Kasal's avatar
Stepan Kasal committed
346 347 348 349
2005-09-05  Stepan Kasal  <kasal@ucw.cz>

	* src/gnm-so-polygon.c, COPYING: Update FSF's address.

350 351 352 353 354 355
2005-09-05  Jody Goldberg <jody@gnome.org>

	* src/workbook-edit.c (wbcg_edit_start) : no need to do the selection
	  magic here.  We now over ride 'gtk-entry-select-on-focus' in the
	  ExprEntry widget.

356 357 358 359
2005-09-05  Jody Goldberg <jody@gnome.org>

	* src/wbcg-actions.c (cb_data_import_text) : s/druid/assistant/ [#311998]

360 361 362 363 364 365 366 367 368 369 370 371 372 373 374
2005-09-04  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-canvas.c (gnm_canvas_key_press) : only ignore keyboard
	  events for normal mode.  objects still accept escape [#314866]
	* src/gnumeric-pane.c (cb_control_point_event) : ignore other buttons
	  while dragging.

2005-09-04  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_scalar_as_str) : remove.  This was intended
	  as a fix for #152317.  Unfortunately it ended up breaking two other
	  things.  xml persistence could not tell if something was a string or
	  an expression.  User input would not be quoted.  A more functional
	  solution is to push this logic down into the xls exporter.

375 376 377 378 379
2005-09-02  Jody Goldberg <jody@gnome.org>

	* src/number-match.c : Make DEBUG_NUMBER_MATCH compile again.
	(format_match_init) : Ignore fmt elements that contain '@'

380 381 382 383 384
2005-09-01  Morten Welinder <terra@gnome.org>

	* src/gnumeric-pane.c (gnm_pane_display_obj_size_tip): Make the
	tooltips use "www x hhh" format.

Jody Goldberg's avatar
Jody Goldberg committed
385 386 387 388
2005-08-29  Jody Goldberg <jody@gnome.org>

	* configure.in : bump goffice req

389 390 391 392 393
2005-08-27  Jody Goldberg <jody@gnome.org>

	* src/workbook.c (workbook_dispose) : Looks like this patch got
	  munged. Make it sane.

394 395 396 397 398
2005-08-29  Stepan Kasal  <kasal@ucw.cz>

	* src/ssconvert.c (convert): If output file name was not given,
	don't call go_shell_arg_to_uri.  Without gnome, this caused a segfault.

Morten Welinder's avatar
Morten Welinder committed
399 400 401 402
2005-08-28  Morten Welinder <terra@gnome.org>

	* configure.in: Post release bump.

Morten Welinder's avatar
Morten Welinder committed
403 404 405 406
2005-08-28  Morten Welinder <terra@gnome.org>

	* Release 1.5.5

Morten Welinder's avatar
Morten Welinder committed
407 408 409 410
2005-08-28  Morten Welinder <terra@gnome.org>

	* configure.in: Post release bump.

Morten Welinder's avatar
Morten Welinder committed
411 412 413 414
2005-08-28  Morten Welinder <terra@gnome.org>

	* Release 1.5.4

415 416 417 418
2005-08-26  Morten Welinder  <terra@gnome.org>

	* src/print.c (dialog_response): Reset page count.  [#314520]

419 420 421 422 423 424 425
2005-08-25  Stepan Kasal  <kasal@ucw.cz>

	* src/Makefile.am (check_PROGRAMS): Add test-pango only if WITH_GTK.
	(nodist_test_pango_SOURCES, nodist_gnumeric_component_SOURCES): Nuke,
	they only referred to nodist_gnumeric_SOURCES, which no longer exists.
	(UNUSED): Remove, this hack is no longer needed.

426 427
2005-08-24  Stepan Kasal  <kasal@ucw.cz>

Stepan Kasal's avatar
Stepan Kasal committed
428 429 430
	* src/workbook.c: Move the /* WITH_GTK */ comment to the right #endif.
	* src/gnm-so-polygon.c (so_polygon_view_set_bounds): Remove unused
	variable.
431

432 433
2005-08-23  Morten Welinder  <terra@gnome.org>

434 435 436 437
	* src/workbook-edit.c (set_cur_fmt): Split out.
	(cb_entry_cursor_pos): From here.
	(cb_entry_cursor_pos): use set_cur_fmt.  Fixes #314209.

438 439 440
	* src/dependent.c (dep_hash_destroy): Another case of
	don't-muck-with-the-hash-you-are-iterating-over.

Jody Goldberg's avatar
Jody Goldberg committed
441 442 443 444 445 446 447 448 449 450 451 452 453
2005-08-21  Jody Goldberg <jody@gnome.org>

	* src/workbook.c (workbook_sheet_attach_at_pos) : don't signal until
	  after the controls have been added. [#314208]

2005-08-21  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (gnm_style_equal) : MSTYLE_COLOR_BACK == 0 now, there
	  is no longer an invalid entry at 0 with back at 1.
	(gnm_style_equal_XL) : ditto.

	* src/sheet-style.c (cb_style_list_add_node) : improve the debugging.

454 455 456 457 458
2005-08-18  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/commands.c (cmd_object_raise_redo): pull_to_front and
	pull_forward actions were inverted.

459 460 461 462 463
2005-08-17  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wbv_save_to_uri): Only close the output
	handle if it is not already closed.  (msole closes its sink.)

Morten Welinder's avatar
Morten Welinder committed
464 465 466 467
2005-08-15  Morten Welinder <terra@gnome.org>

	* configure.in: Post release bump

Morten Welinder's avatar
Morten Welinder committed
468 469 470 471
2005-08-15  Morten Welinder <terra@gnome.org>

	* Release 1.5.3

472 473 474 475 476
2005-08-15  Jean Brefort  <jean.brefort@normalesup.org>

	* src/workbook-control-gui.c: (cb_graph_dim_editor_update): unref the
	scg. Fixes #313463

477 478
2005-08-12  Morten Welinder  <terra@gnome.org>

479 480 481 482
	* src/dependent.c (cb_dep_hash_destroy): Fix crashes related to
	changing a dependency container while we are looping over it.
	Fixed #312794.

483 484 485 486
	* src/sheet.c (sheet_finalize): Free ->sheet_views at the end
	because sheet_scrollbar_config as called via object removal can
	access it.

487 488 489 490 491 492
2005-08-12  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_destroy_contents): Move sheet object
	destruction here.
	(sheet_finalize): From here. 

493 494 495 496 497
2005-08-12  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c
	(sheet_widget_radio_button_set_property): Fix warning.

498 499 500 501 502
2005-08-12  Jean Brefort  <jean.brefort@normalesup.org>

	* src/dialogs/dialog-about.c: (dialog_about): do not remove the
	grid which does not exist anymore.

503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521
2005-08-11  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: needs libgsf-1.12.2
	* src/command-context-stderr.c: updated to new GSF_CLASS_FULL signature.
	* src/gnm-plugin.c: ditto.
	* src/gnm-so-filled.c: ditto.
	* src/gnm-so-line.c: ditto.
	* src/io-context-gtk.c: ditto.
	* src/sheet-filter.c: ditto.
	* src/sheet-object-cell-comment.c: ditto.
	* src/sheet-object-graph.c: ditto.
	* src/sheet-object-image.c: ditto.
	* src/sheet-object-widget.c: ditto.
	* src/widgets/gnumeric-expr-entry.c: ditto.
	* src/workbook-control-gui.c: ditto.
	* plugins/corba/corba-workbook.c: ditto.
	* plugins/python-loader/python-loader.c: updated to new
	GSF_DNAMIC_CLASS_FULL signature.

522 523 524 525 526
2005-08-11  Jody Goldberg <jody@gnome.org>

	* src/gnm-so-polygon.c : split out of filled and re-enable It's not
	  optimal, and the persistence is broken, but it does display.

527 528
2005-08-09  Morten Welinder  <terra@gnome.org>

529 530 531
	* src/rendered-value.c (rendered_value_recontext): Fix the hack to
	make printing look like screen.  [#312912]

532 533 534
	* src/workbook-view.c (wbv_save_to_uri): Close the file before
	checking for errors.  Part of fix for #312930.

535 536 537 538
2005-08-09  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: require libgda/libgnomedb CVS HEAD.

Morten Welinder's avatar
Morten Welinder committed
539 540 541 542
2005-08-08  Morten Welinder  <terra@gnome.org>

	* src/ssindex.c: Fix typo.  [#312823]

543 544 545 546
2005-08-08  Sunil Mohan Adapa  <sunil@atc.tcs.co.in>

	* configure.in: Added "te" to ALL_LINGUAS.

547 548 549 550
2005-08-08  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* *: Updated FSF's address.

551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567
2005-08-07  Jody Goldberg <jody@gnome.org>

	* src/main-application.c : Add --no-warnings
	* src/io-context-gtk.c (icg_error_error_info) : use it.

2005-08-07  Jody Goldberg <jody@gnome.org>

	* src/workbook.c (workbook_dispose) : do not free the uri until the
	  end to make debugging simpler.
	(workbook_sheet_hide_controls) : hide just controls not views.
	(cb_sheet_visibility_change) : restore just controls.

	* src/style-color.c (style_color_new_gdk) : new.
	* src/sheet-view.c (sv_get_control) : new.
	* src/sheet.c (sheet_destroy) : move the object deletion from here.
	(sheet_destroy_contents) : to here.

568 569 570
2005-08-04  Stepan Kasal  <kasal@ucw.cz>

	* src/Makefile.am (GNUMERIC_BASE): Add gnm-style-impl.h.
Stepan Kasal's avatar
Stepan Kasal committed
571
	* src/file-autoft.c: Add a missing include.
572

Stepan Kasal's avatar
Stepan Kasal committed
573 574 575
	* src/style-conditions.c (gnm_style_conditions_eval): Fix another
	  warning.

576 577
	* src/ssindex.c: Fix two option descriptions.

578 579 580 581 582
2005-08-03  Jody Goldberg <jody@gnome.org>

	* src/style-conditions.c (gnm_style_conditions_eval) : suppress a
	  warning and some debug spew.

Stepan Kasal's avatar
Stepan Kasal committed
583 584 585 586
2005-08-03  Stepan Kasal  <kasal@ucw.cz>

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

587 588 589 590 591 592 593 594 595 596 597 598 599
2005-08-01  Jody Goldberg <jody@gnome.org>

	* src/consolidate.c (retrieve_row_tree) : Ignore elements that have no
	  data. [#308431]

	* src/workbook-edit.c (cb_entry_delete_text) : queue an update of the
	  edit items.  This is a kludge.  We should move to a centralized
	  dropdown rather than screwing with the selection. [#308303]
	(wbcg_edit_start) : don't autocomplete while editing in the editline.

	* src/sheet-object-image.c (sheet_object_image_new_view) : create the
	  image hidden.  The bound_set. will fix it later. [#308301]

600 601 602 603 604 605
2005-07-29  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_scalar_as_str) : New. be smarter about
	  constant strings.  There's no need to quote them when they are the
	  entire expression. #152317

Morten Welinder's avatar
Morten Welinder committed
606 607 608 609
2005-07-27  Morten Welinder  <terra@gnome.org>

	* src/value.c (find_rows_that_match): Band-aid for 311567.

610 611 612 613 614 615
2005-07-26  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* src/style.c (style_font_new_simple): use 
	pango_font_description_copy() so that we store the exact
	font description we pass to pango. Partially Fix #161027.

616 617 618 619 620
2005-07-25  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/sheet-object-graph.c (sheet_object_graph_default_size): logical
	size of graph is a property of GogGraph now.

621 622 623 624 625 626 627 628 629 630 631 632 633
2005-07-23  Jody Goldberg <jody@gnome.org>

	Fix snap to grid for RTL mode.
	* src/sheet-control-gui.c (snap_pos_to_grid) : handle RTL and scaling
	  here.
	(snap_to_grid) : merge into.
	(apply_move) : here.

	Fix object motion in RTL mode.
	* src/gnumeric-canvas.c (gnm_canvas_window_to_coord) : new.
	* src/gnumeric-pane.c (cb_pane_drag_data_received) : use it here.
	(cb_gnm_pane_drag_motion) : and here.

634
2005-07-23  Ivan, Wong Yat Cheung  <email@ivanwong.info>
635 636 637 638

	* src/gnumeric-gconf.c (go_conf_set_str_list, go_conf_get_str_list):
	They didn't worked. Fix #308302.

639 640
2005-07-20  Morten Welinder  <terra@gnome.org>

641 642 643
	* src/mstyle.c (gnm_style_ref, gnm_style_unref): Add extra
	precondition.

644 645 646
	* src/commands.c (cmd_format_repeat): Handle NULL style.  Fixes
	#310924.

647 648 649 650
2005-07-18  Stepan Kasal  <kasal@ucw.cz>

	* src/libgnumeric.c: Remove double #include's.

651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673
2005-07-15  Jody Goldberg <jody@gnome.org>

	* src/print-info.c : Add Andreas to the list of Authors.
	(print_info_new) : Init the simple margins to -1 to signify unset.
	  Init the new flags.
	(print_info_margin_copy) : delete.
	(print_info_dup) : tidy up and handle the new flags.
	(print_info_get_margins) : if a margin is negative (unset) return 0.
	(print_info_set_n_copies) : delete.
	(print_info_get_n_copies) : delete.
	(print_info_set_orientation) : delete.
	(print_info_get_orientation) : delete.
	(print_info_make_config) : only set the margin in the print_config if
	  it is set.  Rework the orientation enum into a pair of bools to be
	  more XL compat.
	(print_info_load_config) : ditto.

	* src/gnumeric-gconf.c : s/right-then-down/across-then-down/ for RTL.
	(gnm_gconf_set_print_order_across_then_down) : renamed from
	  gnm_gconf_set_print_order_right_then_down.

	* gnumeric.xsd : margins are optional now.

674 675 676 677 678
2005-07-15  Jon K Hellan  <hellan@acm.org>

	* src/main-application.c (gnumeric_arg_parse): Call
	gnome_authentication_manager_init. 

679 680 681 682 683 684 685
2005-07-14  Jon K Hellan  <hellan@acm.org>

	* configure.in (set_more_warnings): Add -Wno-pointer-sign, which
	silences the "pointer targets differ in signedness" warnings from
	gcc as of version 4.0. Should probaby be turned on again at some
	point.

686 687
2005-07-11  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
688 689
	* src/ssconvert.c (list_them): Cleanup.

690 691 692 693 694
	* src/workbook-view.c (wb_view_new_from_uri, wbv_save_to_uri): Use
	g_printerr, not g_print.
	* src/workbook-control-gui.c (cb_workbook_debug_info): Ditto.
	* src/workbook.c (workbook_dispose): ditto.

695 696 697 698
2005-07-05  Stepan Kasal  <kasal@ucw.cz>

	* .cvsignore: Replace "autom4te*.cache" by "autom4te.cache"

699 700 701 702 703
2005-07-04  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in, README: Bumped the goffice requirement to get
	GOG_MS_DIM_START, GOG_MS_DIM_END, GOG_MS_DIM_LOW, GOG_MS_DIM_HIGH.

704 705 706 707
2005-07-01  Jon K Hellan  <hellan@acm.org>

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

708 709 710 711 712
2005-07-01  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-graph.c: inlude locale.h,
	(sheet_object_graph_write_object): fix a pointer compatibility warning.

713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729
2005-07-01  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnumeric-pane.c: (gnm_pane_drag_begin): add support to copy/paste and
	dnd charts to other apps.
	* src/gnumeric.h: ditto.
	* src/gui-clipboard.c: (graph_write), (x_clipboard_get_cb),
	(x_claim_clipboard): ditto
	* src/sheet-control-gui.c: ditto.
	* src/sheet-object-graph.c: ditto.
	(sheet_object_graph_get_object_target_list),
	(sheet_object_graph_write_object), (sog_exportable_init):
	* src/sheet-object-impl.h: ditto.
	* src/sheet-object.c: (sheet_object_exportable_get_type),
	(sheet_object_exportable_get_target_list),
	(sheet_object_write_object): ditto.
	* src/sheet-object.h: ditto.

730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746
2005-06-30  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (workbook_sheet_rename_check,
	workbook_sheet_change_protection,
	workbook_sheet_change_visibility, workbook_sheet_recolor,
	workbook_sheet_reorder_by_idx): Remove.  No longer used.

	* src/commands.c (command_redo_sheet_delete,
	cmd_reorganize_sheets_delete_get_this_sheet_info,
	cmd_reorganize_sheets_delete_shift_list,
	cmd_reorganize_sheets_delete_get_all_sheets_info,
	cmd_reorganize_sheets_delete_recreate_sheet,
	cmd_reorganize_sheets_delete_free, cmd_reorganize_sheets_undo,
	cmd_reorganize_sheets_redo, cb_slist_gdk_color_free,
	cmd_reorganize_sheets_finalize, cmd_reorganize_sheets_fix_list,
	cmd_reorganize_sheets):  Remove.  No longer used.

747 748 749 750 751 752
2005-06-28  Jody Goldberg <jody@gnome.org>

	* src/style-conditions.c (gnm_style_conditions_overlay) : when
	  applying a conditional overlay with a background colour to a base
	  without a pattern pretend the pattern is solid.

753 754 755 756
2005-06-27  Morten Welinder  <terra@gnome.org>

	* src/wbcg-actions.c: No ellipsis to Full Screen.

757 758 759 760
2005-06-25  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (gnm_style_dup) : no need to dup unassigned elements.

761 762 763
	* src/gnm-style-impl.h, src/style-conditions.c, src/style-conditions.h:
	  New files.

764 765 766 767 768
2005-06-25  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c (xml_sax_hlink) : new.
	(xml_sax_input_msg) : new.

769 770 771 772
2005-06-22  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (random_01): Use the Mersenne Twister as
	fallback.
773
	* configure.in: Stop checking for functions we no longer use.
774

775 776 777 778 779 780 781
2005-06-22  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/gnumeric-pane.c (cb_gnm_pane_drag_motion): set snap_to_grid if
	SHIFT is pressed, state given by widget parent window.
	* src/sheet-control-gui.c (scg_drag_receive_same_scg): ditto.
	(scg_objects_nudge): fix typo.
	
782 783 784 785 786 787 788 789 790 791 792 793 794 795 796
2005-06-22  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : enable pango-test

2005-06-22  Jody Goldberg <jody@gnome.org>

	* * : s/MStyle/GnmStyle/
	      s/mstyle_/gnm_style_/
	      s/StyleHAlignFlags/GnmHAlign/
	      s/StyleVAlignFlags/GnmVAlign/

2005-06-20  Morten Welinder  <terra@gnome.org>

	* src/commands.c (cmd_rename_sheet): Prevent renames to "".

797 798 799 800 801 802 803
2005-06-14  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=163414
	* src/item-bar.c (item_bar_event) : "If it hurts when you do that,
	  don't do that".  Position the tooltip above the cursor for row
	  headers too :-)

Morten Welinder's avatar
Morten Welinder committed
804 805 806 807 808 809 810 811 812
2005-06-14  Morten Welinder  <terra@gnome.org>

	* src/gnumeric-gconf.c (gnm_gconf_get_toolbar_visible,
	gnm_gconf_set_toolbar_visible): New functions.

	* src/wbc-gtk.c (cb_add_menus_toolbars): Set toolbar visibility.
	(cb_handlebox_visible): Make changes to visibility permanent.
	(wbc_gtk_init): Don't set everything visible.

813 814 815 816 817 818 819 820 821 822
2005-06-13  Jody Goldberg <jody@gnome.org>

	* src/expr.c (gnm_expr_eval) : when evaluating an array pass the
	  cols/rows into the EvalPos.

	* src/position.c (eval_pos_init) : init new cols/rows member
	(eval_pos_init_dep) : ditto.
	(eval_pos_init_cell) : ditto.
	(eval_pos_init_sheet) : ditto.

Jody Goldberg's avatar
Jody Goldberg committed
823 824 825 826
2005-06-13  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
827 828 829 830
2005-06-13  Jody Goldberg <jody@gnome.org>

	* Release 1.5.2

Jody Goldberg's avatar
Jody Goldberg committed
831 832 833 834 835
2005-06-13  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (gnm_named_expr_collection_lookup) : be more
	  careful.

Jody Goldberg's avatar
Jody Goldberg committed
836 837 838 839
2005-06-12  Jody Goldberg <jody@gnome.org>

	* src/value.c (value_get_as_bool) : handle err == NULL

840 841 842 843 844 845 846 847 848 849 850 851 852
2005-06-12  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (workbook_detach_view): Just dispose of the view.
	That will both break cycles and indirectly unref.
	(workbook_sheet_delete): Ditto.

	* src/workbook-view.c (wb_view_sheet_add): Don't leak a ref to the
	new view.

	* src/sheet-view.c (sheet_view_new): Ref the sheet view when we
	add it to the sheet's list of views.
	(sv_real_dispose): Unref as we remove from said list.

Morten Welinder's avatar
Morten Welinder committed
853 854
2005-06-10  Morten Welinder  <terra@gnome.org>

855 856 857 858 859
	* src/dependent.c (link_cellrange_dep, unlink_cellrange_dep): Fix
	condition for swapping sheet indices.  Fix loop.
	(dependent_unlink): Don't try to unlink dynamic dependencies from
	a NULL container.

860 861 862 863 864 865 866 867 868 869 870 871 872
	* src/dependent.c (gnm_dep_container_sanity_check): New function.
	(dependents_revive_sheet): Check sanity here.
	(gnm_dep_container_dump): And here.
	(handle_outgoing_references): New function.  Properly unlink
	dependencies that reference stuff outside current sheet.
	(do_deps_destroy, do_deps_invalidate): Use
	handle_outgoing_references.

	* src/dependent.c (dependents_invalidate_sheets): Handle 3d deps
	here.  Avoid crashes by not modifying the hash while we go over
	it.
	* src/workbook.c (workbook_sheet_delete): Not here.

Morten Welinder's avatar
Morten Welinder committed
873 874 875 876 877 878 879 880 881 882 883
	* src/xml-sax-write.c (xml_write_sheet): Write visibility.

	* src/xml-sax-read.c (xml_sax_attr_enum): New function.
	(xml_sax_sheet_start): Restore visibility.

	* src/xml-io.c (xml_read_selection_info): Don't crash if we lack a
	view.
	(xml_write_selection_info): Ditto.
	(xml_sheet_read): Restore visibility.
	(xml_sheet_write): Write visibility.

884 885 886 887 888
2005-06-09  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_realize) : init the menu prefs on
	  realization.

889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913
2005-06-09  Jody Goldberg <jody@gnome.org>

	* src/item-edit.c (ie_scan_for_range) : call
	  gnm_expr_entry_set_parsepos to be sure we're using the right
	  notional position.  This only really matters for R1C1 refs.

	* src/rendered-value.c (rendered_value_render) : use the Sheet::convs
	  to display expressions.
	(cell_get_entered_text) : ditto.

	* src/parse-util.c (rangeref_as_string) : r1c1 support.
	(cellref_as_string) : ditto.

	* src/item-bar.c (item_bar_draw) : for r1c1 use numbers for col
	  headers.
	(item_bar_calc_size) : ditto.

	* src/sheet.c : Add use-r1c1 property
	(re_render_formulas) : split from
	(sheet_set_display_formulas) : here.
	(sheet_set_use_r1c1) : for use here.

	* src/wbcg-actions.c (toggle_actions) : Add r1c1 toggle
	* src/GNOME_Gnumeric-gtk.xml : use it

914 915
2005-06-09  Morten Welinder  <terra@gnome.org>

916 917 918 919
	* src/workbook.c (workbook_sheet_delete): Merge
	workbook_sheet_detach into this.
	(workbook_sheet_detach): Removed.  All callers changed.

920 921 922 923 924
	* src/dependent.c (cb_dep_hash_destroy): Track changes to
	dependencies.
	(clear_revive_info): Free dep_exprs also.
	(dependents_revive_sheet): Undo changes to dependencies too.

925 926 927 928 929 930 931 932 933 934 935
2005-06-08  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (gnm_sheet_class_init): Rename "visible" property to
	"visibility" and make it an enum.  All users changed.
	* src/sheet.h (struct _Sheet): Ditto for is_visible member.

	* src/workbook-view.c (wb_view_sheet_remove): New function to
	mirror wb_view_sheet_add.
	* src/workbook.c (workbook_sheet_hide_controls): Use
	wb_view_sheet_remove.

936 937 938 939 940
2005-06-08  Ivan, Wogn Yat Cheung  <email@ivanwong.info>

	* src/sheet-control-gui.c (scg_drag_receive_uri_list):
	adapt to the change of go_get_mime_type(). [#304074]

941 942 943 944 945
2005-06-07  Jody Goldberg <jody@gnome.org>

	From Ivan, Wong Yat Cheung  <email@ivanwong.info>
	* src/Makefile.am : enable libspreadsheet

Jody Goldberg's avatar
Jody Goldberg committed
946 947 948 949 950 951 952 953 954 955
2005-06-07  Jody Goldberg <jody@gnome.org>

	* src/parser.y : Pass the convention to the range_ref parser

	* src/parse-util.c (r1c1_get_index) : make this more robust.
	(cellref_r1c1_get) : adjust calling to new get_index args.
	(r1c1_rangeref_parse) : new.
	(rangeref_parse) : connect into the r1c1 parser.
	(parse_util_init) : add an r1c1 convention set

956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984
2005-06-07  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (workbook_sheet_state_restore): Revive sheets
	being re-attached.

	* src/workbook-control-gui.c (scg_delete_sheet_if_possible): Use
	cmd_reorganize_sheets2.

	* src/sheet.h (struct _Sheet): Add extra "revive" member.

	* src/expr-name.c (gnm_named_expr_collection_relink,
	gnm_named_expr_collection_unlink): New functions.
	(gnm_named_expr_collection_free): Remove the extra indirection.
	All callers changed.

	* src/dependent.c (handle_dynamic_deps, handle_referencing_names):
	Extracted from do_deps_destroy.
	(do_deps_invalidate, clear_revive_info, dependents_revive_sheet):
	New functions.
	(dependents_link): Do not free the argument list.  All callers
	changed.
	(do_deps_destroy): Call clear_revive_info.
	(invalidate_name): Renamed from cb_name_invalidate.  Add "destroy"
	argument.  If not destroying, save the name-expression pairs.
	(cb_collect_deps_of_names): Collect also the names.
	(dependents_invalidate_sheet, dependents_invalidate_sheets): Add
	extra "destroy" argument.  All callers changed.
	(dep_hash_destroy): Walk over the hash once, not three times.

985 986
2005-06-06  Morten Welinder  <terra@gnome.org>

987 988 989
	* src/mathfunc.c (lgamma): Define when needed.
	(lgamma_r): Base the implementation on lgammacor, not lgamma.

990 991 992
	* src/sheet-control-gui.c (scg_drag_receive_uri_list): Add warning
	about things we do not understand.

993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006
2005-06-04  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=165172
	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : quick and cheesy
	  handling of Delete while editing.  It forces an end to
	  autocompletion rather than unintentionally clearing the cell as if
	  we were not editing.

2005-06-04  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=164779
	* src/sheet-control-gui.c (scg_objects_nudge) : no nudging while
	  creating an object.

1007 1008
2005-06-04  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
1009
	http://bugzilla.gnome.org/show_bug.cgi?id=163589
1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035
	* src/print.c (print_page_cells) : Use the PrintInfo from the supplied
	  sheet rather than something global.
	(print_page_repeated_rows) : ditto.
	(print_page_repeated_cols) : ditto.
	(print_page_repeated_intersect) : ditto.
	(print_hf_element) : ditto.
	(print_hf_line) : ditto.
	(print_headers) : ditto.
	(print_footers) : ditto.
	(setup_scale) : ditto.
	(print_page) : ditto.
	(print_range_down_then_right) : ditto.
	(print_range_right_then_down) : ditto.
	(print_job_info_init_sheet) : ditto.
	(print_sheet_range) : ditto.
	(compute_sheet_pages) : ditto.
	(compute_pages) : ditto.
	(print_sheet) : ditto.
	(workbook_print_all) : delete.
	(sheet_print_real) : and merge into here.
	(print_job_info_update_from_config) : merge into print_job_info_init_sheet.
	(print_job_info_get) : Do not attempt to load a PrintInfo from the
	  first sheet.  We'll set things up on a per sheet basis.
	(print_job_info_destroy) : we do not have a local copy of a PrintInfo
	  anymore.

1036 1037 1038 1039 1040
2005-06-04  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* tools/gconf-schemas-to-win32-reg.c (convert_schemalist):
	  Use REGEDIT4 so that Win9x knows.

Jody Goldberg's avatar
Jody Goldberg committed
1041 1042 1043 1044
2005-06-03  Jody Goldberg <jody@gnome.org>

	* src/gnumeric.h : s/GnmRow/GnmStyleRow/  That is clearer

1045 1046 1047 1048 1049
2005-06-03  Jody Goldberg <jody@gnome.org>

	* configure.in : bump gsf req to 1.12.1 for the new GSF_DYNAMIC_CLASS
	  signatures

1050 1051
2005-06-02  Morten Welinder  <terra@gnome.org>

1052 1053 1054 1055
	* src/mathfunc.c (binomialcf): Fix log_p case.
	(pfuncinverter): Handle NaNs better.
	(qbeta): Improve initial guess.

1056 1057 1058 1059
	* src/number-match.c (compute_value): When matching with
	strto[u]l, make sure to store the result in a variable large
	enough.  Fixes #306254.

1060 1061 1062 1063 1064 1065
2005-06-01  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (xml_write_cell_and_position): Don't duplicate
	ExprIDs for arrays.
	* src/xml-sax-write.c (xml_write_cell_and_position): Ditto.

1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079
2005-06-01  Stepan Kasal  <kasal@ucw.cz>

	* src/ranges.c (undo_cell_pos_name, undo_range_name, undo_range_list_name):
	  New functions.
	(max_range_name_width, range_list_name_try): New static functions.
	* src/commands.c (undo_global_range_name, cmd_cell_pos_name_utility):
	(cmd_range_list_to_string_utility, cmd_range_to_str_utility): Nuke; all
	  callers should use the new functions from ranges.c.

	* schemas/gnumeric-general.schemas.in (max_descriptor_width):
	Change the default to 40; "Clearing contents in Sheet1!A12:C34"
	should fit in without truncating.  The prefix is about 20 chars
	and about 20 chars should remain for the range name itself.

1080 1081 1082 1083 1084
2005-05-31  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_cell): Fix asserts.
	(xml_sax_cell_content): Guard against bogus values.

1085 1086 1087 1088 1089
2005-05-31  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c (gnm_xml_file_open) : register the doc if
	  necessary, and hook it too the application for destruction.

1090 1091 1092 1093 1094 1095 1096 1097
2005-05-31  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (random_hypergeometric): Define trivially using
	qhyper thus avoiding some performance problems.
	(qhyper): Move from plugins/fn-r/extra.c
	(pfuncinverter): Improve case where initial guess is outside valid
	range.

1098 1099 1100 1101 1102 1103 1104 1105 1106
2005-05-31  Stepan Kasal  <kasal@ucw.cz>

	* src/dialogs/dialog-solver.c (solver_max_time_err): Move the
	  variable and its initialization...
	* src/gutils.c (gutils_init): ... here.
	* src/gutils.h (solver_max_time_err): Declare.
	* src/tools/solver/solver.c: Include gutils.h instead of the
	  declaration of solver_max_time_err.

1107 1108 1109 1110 1111
2005-05-31  Stepan Kasal  <kasal@ucw.cz>

	* src/commands.c (cmd_set_text): Remove the variable `GObject *obj';
	it's not needed.  Similarly for other 43 command functions.

1112 1113 1114 1115 1116
2005-05-31  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* src/ssconvert.c (main):
	* src/ssindex.c (main): Use go_shell_argv_to_glib_encoding() as well.

1117 1118 1119 1120 1121 1122
2005-05-31  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=304559
	* src/sheet-object-widget.c (sheet_object_widget_new_view) : keep the
	  view hidden until we can set the bounds

1123 1124 1125 1126 1127 1128
2005-05-30  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* src/main-application.c (main): Use go_shell_argv_to_glib_encoding(),
	so we can open file with name in any encoding when users "open" them in
	explorer (Win32).

1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143
2005-05-29  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=167584
	* src/sheet-object-widget.c (cb_adjustment_config_ok_clicked) : relink
	  after changing the expression.
	(sheet_widget_adjustment_set_details) : ditto.
	(cb_checkbox_config_ok_clicked) : ditto.
	(sheet_widget_checkbox_set_link) : ditto.

2005-05-29  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=165061
	* src/mstyle.c (mstyle_equal_header) : new
	* src/ranges.c (range_has_header) :  use it.

1144 1145 1146 1147 1148
2005-05-29  Jody Goldberg <jody@gnome.org>

	* src/dependent.c (cb_collect_deps_of_name) : collect all deps of
	  names, even those we're about to lose.  Things need to be unlinked.

1149 1150 1151 1152 1153 1154 1155
2005-05-27  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=305405
	* src/gui-clipboard.c (x_targets_received) : Add biff atoms to support
	  pastes from MS Excel.
	(table_content_received) : ditto.

Morten Welinder's avatar
Morten Welinder committed
1156 1157
2005-05-27  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1158 1159
	* src/mathfunc.c (discpfuncinverter, pfuncinverter): Make public.

Morten Welinder's avatar
Morten Welinder committed
1160 1161 1162 1163 1164 1165 1166
	* src/position.c (eval_pos_init_cell): Constness fix.

	* src/cell.h (CELL_TO_DEP): Preserve constness.

	* src/dependent.c (dump_range_dep): Use range_name.
	(cell_queue_recalc): Not const.

Stepan Kasal's avatar
Stepan Kasal committed
1167 1168 1169
2005-05-26  Stepan Kasal  <kasal@ucw.cz>

	* src/clipboard.c: Remove unneeded includes.
1170 1171 1172 1173

	* src/gnumeric-gconf.c: Move common headers to the top, add more
	  stubs for build without gtk.

1174
	* src/ranges.c (range_name): Simplify.
1175 1176
	(global_range_name): Make the first parameter const.
	* src/ranges.h (global_range_name): Ditto.
1177

1178 1179 1180 1181 1182
2005-05-26  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (discpfuncinverter): New function.
	(qpois): New implementation based on discpfuncinverter.

1183 1184
2005-05-25  Morten Welinder  <terra@gnome.org>

1185 1186 1187
	* src/gui-clipboard.c (text_to_cell_region): Fall back to string.
	Fixes #305404.

1188 1189 1190
	* src/workbook-control-gui.c (wbcg_create_edit_area): Add tooltips
	for ok_button, cancel_button, and func_button.

1191 1192
2005-05-23  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1193 1194 1195
	* src/commands.c (cmd_reorganize_sheets_delete_recreate_sheet):
	Plug leak.

1196 1197 1198
	* src/dependent.c (cb_name_invalidate): Fix a crash relating to
	globally scoped names.

1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212
	* src/workbook-edit.c (cb_entry_delete_text): Make this work for
	non-rich text also.  Turn off auto-completion.
	(cb_entry_insert_text): Make this work for non-rich text also.
	Turn off auto-completion if the insert is not at the end.
	(cb_entry_cursor_pos): Make this work for non-rich text also.
	Turn off auto-completion if the cursor is no longer at the end.
	(wbcg_edit_finish): Always turn off signals if they have been
	connected.
	(wbcg_edit_start): Always bind insert_text, delete_text, and
	cursor position signals here.
	(wbcg_edit_init_markup): Don't connect to insert_text, delete_text
	and cursor position signals here.
	(auto_complete_matches): Get rid of ugly event hack.

1213 1214 1215
	* src/commands.c (command_redo): Keep a ref to the command and
	handle someone clearing the redo queue.  Fixes #305007.

1216 1217 1218 1219 1220 1221 1222
2005-05-23  Stepan Kasal  <kasal@ucw.cz>

	* src/position.c (parse_pos_init): Don't perform the same check
	  twice.
	* src/graph.c, src/sheet-object-widget.c (*_debug_name): All these
	  functions now take a GString as the second parameter; adapt to it.

1223 1224 1225 1226 1227
2005-05-21  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dependents_link): Drop pointless rwinfo
	argument.  All callers changed.

1228 1229
2005-05-20  Morten Welinder  <terra@gnome.org>

1230 1231 1232
	* src/dependent.c (gnm_dep_container_dump): Dump also dynamic
	dependencies and name dependencies.

1233 1234 1235
	* src/workbook-control.c (wb_control_parse_and_jump): Use
	expressions like A1, not A1:A1 for single cells.

Stepan Kasal's avatar
Stepan Kasal committed
1236 1237
2005-05-20  Stepan Kasal  <kasal@ucw.cz>

Stepan Kasal's avatar
Stepan Kasal committed
1238
	* src/sheet-filter.c (filter_view_set_bounds): Remove unused
Stepan Kasal's avatar
Stepan Kasal committed
1239 1240
	  variable so.

1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255
2005-05-19  Morten Welinder  <terra@gnome.org>

	* src/sheet.h (struct _Sheet): add being_invalidated flag.

	* src/dependent.c (dependents_workbook_destroy): Renamed from
	workbook_deps_destroy.  Mark all sheets being_invalidated before
	actually doing so.
	(dependents_invalidate_sheet): Renamed from sheet_deps_destroy.
	(do_deps_destroy): Don't take a GnmExprRewriteInfo argument --
	create it locally.

	* src/expr.h (struct _GnmExprRewriteInfo): Combine
	GNM_EXPR_REWRITE_SHEET and GNM_EXPR_REWRITE_WORKBOOK into
	GNM_EXPR_REWRITE_INVALIDATE_SHEETS.

1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266
2005-05-19  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (pre_sheet_index_change): Use dependent_unlink
	directly as callback.
	(post_sheet_index_change): Use dependent_link directly as
	callback.

	* src/dependent.c (dependent_link, dependent_unlink,
	link_expr_dep, unlink_expr_dep): Drop the pos argument, infer when
	needed.  All callers changed.

1267 1268 1269 1270 1271 1272 1273 1274 1275
2005-05-18  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dependent_pos): New utility function.
	(dependent_set_sheet, dependent_add_dynamic_dep, dependent_unlink,
	dependents_link, do_deps_destroy, dynamic_dep_free): use
	dependent_pos.
	(link_expr_dep, unlink_expr_dep, dependents_unrelocate_free,
	dependents_unrelocate): Avoid cast.

Jody Goldberg's avatar
Jody Goldberg committed
1276 1277 1278 1279 1280 1281 1282 1283 1284
2005-05-18  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (expr_name_new) : make public
	(expr_name_add) : accept a stub object.

2005-05-17  Jody Goldberg <jody@gnome.org>

	* src/workbook.c (workbook_focus_other_sheet) : fix

1285 1286 1287 1288 1289
2005-05-17  Morten Welinder  <terra@gnome.org>

	* src/expr-name.c (expr_name_set_expr): Don't relink deps for
	sheets that are being destroyed.

1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300
2005-05-16  Morten Welinder  <terra@gnome.org>

	* src/print-cell.c (print_cell): Fix and simplify rotated case.

	* src/cell-draw.c (cell_draw): Simplify rotated case.

	* src/rendered-value.c (rendered_value_remeasure): Collect extra
	information for rotated values.
	(rendered_value_init): Setup a separate pool for rotated cells.
	(rendered_value_shutdown): Shut that down.

1301 1302 1303 1304 1305
2005-05-16  Stepan Kasal  <kasal@ucw.cz>

	* src/sheet-control-gui.c (scg_drag_receive_uri_list): Change the
	  type of local variable `mime' to `const gchar *'.

1306 1307 1308
2005-05-16  Morten Welinder  <terra@gnome.org>

	* configure.in (set_more_warnings): Kill -Wcast-align.  It does
1309
	not catch anything useful.  We run-time check, either in gobject
1310 1311 1312 1313
	macros or else by virtue of running on a Sparc.  Also we do *tons*
	of valid cast from base classes to derived classes after carefully
	checking the dynamic type.

Jody Goldberg's avatar
Jody Goldberg committed
1314 1315 1316 1317
2005-05-16  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (filter_foo_view_init) : remove debug spew

Stepan Kasal's avatar
Stepan Kasal committed
1318 1319 1320 1321
2005-05-16  Stepan Kasal  <kasal@ucw.cz>

	* configure.in (PKG_PROG_PKG_CONFIG): Fix the explanation above.

1322 1323 1324
2005-05-15  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c: (gnm_go_data_vector_get_value),
Stepan Kasal's avatar
Stepan Kasal committed
1325
	(gnm_go_data_matrix_get_value): always release the value returned by
1326 1327
	value_coerce_to_number.

1328 1329 1330
2005-05-15  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Bumped the goffice requirement as we need GORegexp now.
1331 1332
	Enable a number of additional warnings (when available)
	for which the current code base is already virtually clean.
J.H.M. Dassen (Ray)'s avatar
J.H.M. Dassen (Ray) committed
1333 1334
	* src/func.c, src/gnumeric-gconf.c: Clean up function declarations.
	* src/sheet.h: Include prototype for sheet_apply_border.
1335

1336 1337 1338 1339 1340
2005-05-13  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=164950
	* src/ranges.c (range_trim) : make this more efficient.

1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358
2005-05-14  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=165734
	* src/value.c (find_rows_that_match) : The column in the condition is
	  absolute, not relative to the start of the input range.

2005-05-14  Jody Goldberg <jody@gnome.org>

	* src/ranges.c (gnm_sheet_range_from_value) : renamed from
	  value_to_global_range.
	(gnm_sheet_range_new) : renamed from global_range_new.
	(gnm_sheet_range_free) : renamed from global_range_free.
	(gnm_sheet_range_overlap) : renamed from global_range_overlap.
	(gnm_sheet_range_dup) : renamed from global_range_dup.

	* src/value.c (value_new_cellrange_str) : renamed from
	  global_range_parse.

1359 1360
2005-05-13  Morten Welinder  <terra@gnome.org>

1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375
	* src/rendered-value.c (get_rotated_layout_bounds): Remove.
	(rendered_value_remeasure): Rework the rotated case to match Excel
	much better.
	(rendered_value_new): Setup new noborders member.

	* src/sheet.c (sheet_apply_border): New functions.  Setting
	borders for rotated cells actually causes different rendering.

	* src/commands.c (cmd_format_undo): Fix CRITICAL.
	(cmd_format_redo): Use sheet_apply_border instead of going
	directly to sheet_style_apply_border.

	* src/cell-draw.c (cell_draw): Rework rotated case to match Excel
	much better.

1376 1377 1378
	* src/style.c (style_default_halign): Handle that down rotations
	are now angles >180, not <0.

1379 1380 1381 1382 1383
2005-05-13  Stepan Kasal  <kasal@ucw.cz>

	* src/xml-sax-read.c (content_ns, gnumeric_1_0_dtd): Mark these
	  variables with G_GNUC_UNUSED, the #warning below is enough.

1384 1385 1386 1387 1388 1389 1390 1391 1392
2005-05-12  Jody Goldberg <jody@gnome.org>

	* src/value.c (parse_database_criteria) : remove old FIXME with a
	  simple test.

	http://bugzilla.gnome.org/show_bug.cgi?id=165700
	* src/commands.c (update_after_action) : re-focus only controls for
	  the current view, not all controls.

1393 1394 1395 1396 1397
2005-05-12  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (filter_expr_eval) : for regexp based matches
	  make sure we matched the whole string.

1398 1399 1400 1401 1402
2005-05-10  Jean Brefort  <jean.brefort@normalesup.org>

	* src/value.c: (value_get_as_gstring): exchange row_sep and col_sep
	when formatting an array formula.

Jody Goldberg's avatar
Jody Goldberg committed
1403 1404 1405 1406
2005-05-10  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
1407 1408 1409 1410
2005-05-10  Jody Goldberg <jody@gnome.org>

	* Release 1.5.1

1411 1412
2005-05-09  Morten Welinder  <terra@gnome.org>

1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433
	* src/workbook.c (workbook_sheet_attach_at_pos): Add a ref to
	sheet to balance the unref in workbook_sheet_detach.
	(workbook_sheet_attach): Counter the above ref here.
	(workbook_sheet_add): Counter the above ref here.  Document that
	the returned sheet's ref is owned by the workbook.
	(workbook_sheet_detach): Get rid of sheet views here.  Replace
	almost all uses of this with workbook_sheet_delete.  (It was
	typically used to get rid of sheets that got created during a load
	which then failed.)

	* src/workbook-control-gui.c (wbcg_insert_sheet,
	wbcg_append_sheet): Use new cmd_reorganize_sheets2.

	* src/sheet.c (sheet_set_name): Fix logic to determine if a sheet
	is attached.
	(sheet_cell_destroy): Don't get rid of view here.

	* src/commands.c (command_undo): Hold a ref to cmd so it doesn't
	go away underneath us.  Don't crash if the undo command clears the
	undo queue.

Morten Welinder's avatar
Morten Welinder committed
1434 1435
	* src/workbook.c (workbook_sheet_state_diff): Implement.

Morten Welinder's avatar
Morten Welinder committed
1436
	* src/workbook-control-gui.c (cb_sheet_label_drag_begin): Fix
Morten Welinder's avatar
Morten Welinder committed
1437
	multihead issue.  Plug leak.
Morten Welinder's avatar
Morten Welinder committed
1438

1439 1440 1441 1442 1443
	* src/application.c (gnm_app_get_pixbuf): Remove.  All callers
	fixed.
	(add_icon): Don't install both a scalable and a fixed-sized icon.
	Fixes #302902.

1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460
2005-05-08  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c (xml_sax_styleregion_start) : work around use of
	  negative rotations which are used to indicate vertical text.
	* src/xml-io.c (xml_read_style) : ditto.

2005-05-07  Jody Goldberg <jody@gnome.org>

	* src/style.h : Add a 'VALIGN_DISTRIBUTED' that was added in XP
	  dunno what it does yet.
	* src/dialogs/dialog-cell-format.c : Add an entry for DISTRIBUTED

	* src/mstyle.h : document the range of rotation

	* src/workbook-view.c : remove pointless include
	* src/hlink.c : remove pointless include

1461 1462 1463 1464 1465 1466 1467 1468 1469 1470
2005-05-07  Jean Brefort  <jean.brefort@normalesup.org>

	* src/dialogs/dialog-about.c: (dialog_about): add NULL third arg
	to go_data_vector_val_new and go_data_vector_str_new.
	* src/stf-parse.c: use go_setlocale instead of gnm_setlocale.
	* src/xml-io.c: (xml_workbook_write), (xml_workbook_read): ditto.
	* src/xml-sax-read.c: (gnm_xml_file_open): ditto.
	* src/xml-sax-write.c: (gnm_xml_file_save),
	(gnm_cellregion_to_xml): ditto.

1471 1472
2005-05-06  Morten Welinder  <terra@gnome.org>

1473 1474 1475 1476 1477 1478 1479 1480 1481 1482
	* src/workbook.c (workbook_sheet_move): Public again.  Fix docs.

	* src/workbook-control-gui.c (gnm_notebook_page_num_by_label):
	Renamed from gtk_notebook_page_num_by_label.
	(cb_sheet_label_drag_data_received): Fix this in the presence of
	hidden sheets.
	(wbcg_sheet_move): Change to take old_pos, not new_pos which is
	trivial to get.  All callers changed.  Fix for the case where some
	sheets are hidden.

1483 1484 1485
	* src/workbook.c (workbook_unref): Remove and replace calls with
	simple g_object_unref

1486 1487
2005-05-05  Morten Welinder  <terra@gnome.org>

1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507
	* src/workbook.c (workbook_focus_other_sheet): New function.
	(workbook_sheet_hide_controls, workbook_sheet_delete): Use
	workbook_focus_other_sheet.
	(workbook_sheet_unhide_controls): Do nothing if sheet is already
	shown.
	(workbook_sheet_add): Take a numerical position, not a sheet
	pointer for placement.  All callers changed.
	(workbook_sheet_attach_at_pos): New function extracted from
	workbook_sheet_attach.
	(workbook_sheet_attach): Make this not take a placement parameter.
	All callers changed.
	(workbook_sheet_move): Make static, don't return a value, and make
	3d references.
	(workbook_sheet_state_new, workbook_sheet_state_free,
	workbook_sheet_state_restore, workbook_sheet_state_diff): New
	functions.

	* src/commands.c (cmd_reorganize_sheets2): New function.
	(cmd_rename_sheet): Use cmd_reorganize_sheets2.

1508 1509
	* src/dependent.c (do_deps_destroy): Fix sheet-remove crash.

1510 1511
2005-05-04  Morten Welinder  <terra@gnome.org>

1512 1513 1514 1515 1516
	* src/wbc-gtk.c (cb_show_menu_tip): Don't translate a space.

	* src/commands.c (cmd_rename_sheet): Simplify calling convention.
	Single caller fixed.

1517 1518 1519
	* src/gui-util.c (gnumeric_popup_menu): If we have an event
	anchor, use that to figure out what screen to show the popup on.

1520 1521
2005-05-03  Morten Welinder  <terra@gnome.org>

1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532
	* src/workbook-control-gui.c (cb_zoom_change): New function,
	extracted from wbcg_zoom_feedback.
	(wbcg_zoom_feedback): Remove zoom_feedback method.
	(wbcg_sheet_add): Don't attach to sheet notify signals here.
	(wbcg_sheet_focus): Do it here so we only watch one sheet at a
	time.
	(wbcg_sheet_remove, wbcg_sheet_remove_all): Disconnect here too.

	* src/sheet.c (sheet_set_zoom_factor): Make static and add
	zoom-factor property.  All callers changed.

Morten Welinder's avatar
Morten Welinder committed
1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548
	* src/workbook-view.c (wb_view_prefs_update): Remove.

	* src/workbook-control-priv.h: Remove prefs_update member.

	* src/sheet-control-priv.h: Remove adjust_preferences and
	direction_changed members.

	* src/sheet-control-gui.c (sheet_control_gui_new): Also hook up to
	sheet:text-is-rtl.

	* src/workbook-control-gui-priv.h: Remove rtl property.  All users
	changed to use sheet's text_is_rtl (and some already were).

	* src/sheet-control-gui-priv.h: Remove text_is_rtl property.  All
	users changed to use sheet's text_is_rtl (and some already were).

1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565
	* src/xml-sax-read.c (xml_sax_sheet_name): Use g_object_set to set
	sheet properties.

	* src/workbook-control-gui.c (wbcg_sheet_add): Connect to more
	sheet properties.
	(workbook_control_gui_class_init): Eliminate
	wbc_class->menu_state.sheet_prefs.

	* src/sheet.c (gnm_sheet_set_property): Add properties
	"display-outlines-below" and "display-outlines-right".
	(sheet_adjust_preferences): No need to call
	wb_control_menu_state_sheet_prefs anymore.

	* src/sheet-control-gui.c (sheet_control_gui_new): Connect to
	notify signals for all the sheet properties that cause changed
	display.

Morten Welinder's avatar
Morten Welinder committed
1566 1567
2005-05-02  Morten Welinder  <terra@gnome.org>

1568 1569 1570 1571 1572
	* src/workbook-control-gui.c (wbcg_sheet_add): Connect to
	sheet::name, sheet:tab-foregound, sheet:tab-background.
	(wbcg_sheet_remove): Disconnect.
	(wbcg_sheet_rename): Remove this method from the class.

Morten Welinder's avatar
Morten Welinder committed
1573 1574 1575 1576 1577 1578 1579 1580
	* src/commands.c (cmd_reorganize_sheets_finalize): Plug leak.

	* src/workbook-control-gui.c (cb_sheet_label_drag_end): Plug leak.

	* src/workbook.c (workbook_detach_view): Call sv_dispose to break
	circular links.
	(workbook_sheet_hide_controls): Fix search for focus and thus
	return value.
1581 1582
	(workbook_set_dirty, workbook_is_dirty, workbook_is_pristine):
	Walk the sheet array, not the hash.
Morten Welinder's avatar
Morten Welinder committed
1583 1584 1585 1586 1587 1588 1589 1590 1591

	* src/sheet.c (sheet_destroy): Call sv_dispose to break circular
	links.

	* src/sheet-view.c (sheet_view_new): Keep a ref to the sheet.
	(sv_dispose): New function.
	(sv_real_dispose): Renamed from s_view_finalize (and made proper
	for a dispose function).

1592 1593
2005-05-02  Morten Welinder  <terra@gnome.org>

1594 1595 1596 1597 1598 1599 1600
	* src/sheet-view.c (sv_direction_changed): Make static and change
	to a notification handler.

	* src/sheet.c (sheet_attach_view): Fold into sheet_view_new.
	(sheet_detach_view): Fold into s_view_finalize.
	(gnm_sheet_init): Setup ->sheet_views properly here.

1601 1602 1603 1604 1605 1606 1607 1608 1609 1610
	* src/style-color.c (gnm_style_color_get_type): New function
	defining the type as a boxed type.

	* src/sheet.c: Add "name", "tab-foreground", and "tab-background"
	properties.
	(sheet_set_tab_color): Remove.  All callers changed to use
	g_object_set.
	(sheet_rename): Make static.  All callers changed to use
	g_object_set.

1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638
2005-04-21  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object.[ch]: Add sheet_object_get_target_list.

	* src/sheet-object-image.c (sheet_object_image_get_target_list): 
	New. Gets targets object is able render itself as.
	(soi_imageable_init): Register get_target_list virtual.

	* src/sheet-object-graph.c (sheet_object_graph_get_target_list):
	New. Gets targets object is able render itself as.
	(sog_imageable_init): Register get_target_list virtual.

	* src/sheet-control-gui.c (scg_drag_send_image): Use
	go_mime_to_image_format to get format.

	* src/gui-clipboard.c (image_write): Use go_mime_to_image_format
	to get image format.
	(target_list_to_entries): New. Convert a target list to an array
	of GtkTargetEntries.
	(x_claim_clipboard): Use sheet_object_get_target_list to get
	targets for images.

	* src/gnumeric-pane.c (cb_test_so_imageable): Remove
	(target_list_add_list): New. Add targets from "added_targets" to
	"targets".
	(gnm_pane_drag_begin): Use sheet_object_get_target_list to get
	targets for images.

Morten Welinder's avatar
Morten Welinder committed
1639 1640
2005-04-29  Morten Welinder  <terra@gnome.org>

1641 1642 1643 1644 1645 1646
	* src/sheet.c (gnm_sheet_class_init): Make lots of things
	properties.
	(sheet_set_visibility, sheet_toggle_show_formula,
	sheet_toggle_hide_zeros): Make static (and make the toggle ones
	actually toggle).

Morten Welinder's avatar
Morten Welinder committed
1647 1648 1649 1650 1651 1652
	* src/commands.c (cmd_toggle_rtl_redo): Use go_object_toggle.

	* src/sheet.c (sheet_set_direction): Make static.  Change all
	existing callers to use g_object_set.
	(gnm_sheet_class_init): Install PROP_RTL.

Stepan Kasal's avatar
Stepan Kasal committed
1653 1654
2005-04-28  Stepan Kasal  <kasal@ucw.cz>

Stepan Kasal's avatar
Stepan Kasal committed
1655 1656 1657
	* configure.in (AC_CANONICAL_HOST): Call explicitly, we use $host.
	(WITH_WIN32): Small changes to make more the same as in goffice.
	(--disable-plugins): Support this.
Stepan Kasal's avatar
Stepan Kasal committed
1658
	(WINDRES): Add an AC_ARG_VAR declaration.
Stepan Kasal's avatar
Stepan Kasal committed
1659
	And some whitespace changes.
Stepan Kasal's avatar
Stepan Kasal committed
1660

1661 1662
2005-04-26  Morten Welinder  <terra@gnome.org>

1663 1664 1665 1666 1667 1668
	* src/print-info.c (hf_format_render): If format is NULL, simply
	return NULL.

	* src/print.c (print_hf_element): Handle NULL text from
	hf_format_render same as "".

1669 1670
	* src/gui-file.c (gui_file_save_as): Add a little crash safety.

1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684
2005-04-21  Stepan Kasal  <kasal@ucw.cz>

	* src/Makefile.am (gnumeric-paths.h): Rewrite the rule,
	  gnumeric-paths.sh* is no longer used.
	* src/gnumeric-paths.sh.in: Removed.
	* src/.cvsignore: Remove src/gnumeric-paths.sh.
	* configure.in: Don't generate gnumeric-paths.sh, rearrange the
	  gnumeric_* AC_SUBSTs.
	(gnumeric_gladedir, gnumeric_autoformatdir): Nuke.
	* src/dialogs/Makefile.am (gnumeric_gladedir): Replace by value.
	* templates/autoformat/Makefile.am (autoformatdir): New variable.
	(EXTRA_DIST): Don't use "%" when replacing suffixes; it's GNU make
	  specific.

1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711
2005-04-20  Stepan Kasal  <kasal@ucw.cz>

	gnm_sys_lib_dir() and such now just return the string;
	they don't take any parameter and don't allocate anything.

	* src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
	  Move to gutils.h; #include "gutils.h".
	(gnumeric_icon_dir, gnumeric_locale_dir): Move to gutils.c
	  and make static.
	* src/libgnumeric.c: Likewise.
	(gnm_pre_parse_init): Call gutils_init instead of doing it.
	(gnm_shutdown): Call gutils_shutdown instead of doing it.
	* gutils.h:
	* gutils.c (gutils_init, gutils_shutdown): New functions.
	(gnumeric_usr_dir): New static variable, set up in gutils_init.
	(gnm_sys_lib_dir, gnm_sys_data_dir, gnm_usr_dir): Just return
	  the static string; all callers fixed.
	(gnm_sys_glade_dir, gnm_sys_plugin_dir, gnm_usr_plugin_dir):
	  Nuked; callers fixed to build the string themselves.
	(gnm_icon_dir, gnm_locale_dir): New wrappers; callers fixed.
	(PLUGIN_SUFFIX): Renamed to ...
	(PLUGIN_SUBDIR): ..., and moved to .h.
	* src/gui-util.c (gnumeric_icondir): This function was removed;
	  callers fixed to use gnm_icon_dir.

	* src/sheet-object-image.c: Include goffice/utils/go-glib-extras.h

1712 1713 1714 1715 1716
2005-04-20  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* src/wbc-gtk.c (wbc_gtk_init_font_name): Set
	"case-sensitive" to FALSE. Fix #161382.

1717 1718
2005-04-19  Morten Welinder  <terra@gnome.org>

1719 1720 1721 1722 1723 1724 1725 1726
	* src/clipboard.c (clipboard_init, clipboard_shutdown): New
	functions.
	(gnm_cell_copy_new): Alloc in pool.
	(cellregion_unref): Free from pool.

	* src/libgnumeric.c (gnm_common_init): Call clipboard_init.
	(gnm_shutdown): Call clipboard_shutdown.

Morten Welinder's avatar
Morten Welinder committed
1727 1728
	* */*.c: #include fixes.

1729 1730 1731
	* src/rangefunc.c (range_mode): Fix the case where multiple
	different values occur equally often.

1732 1733 1734 1735 1736 1737 1738
2005-04-18  Stepan Kasal  <kasal@ucw.cz>

	* src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
	(gnumeric_icon_dir, gnumeric_locale_dir): Declare as "const char*",
	  not "const char[]"; we use "&gnumeric_lib_dir" sometimes.
	* src/libgnumeric.c: Likewise.

1739 1740 1741 1742 1743
2005-04-19  Stepan Kasal  <kasal@ucw.cz>

	* src/Makefile.am (SUFFIXES): Remove, Automake (at least >= 1.7)
	  deduces this.

Stepan Kasal's avatar
Stepan Kasal committed
1744 1745 1746 1747 1748 1749 1750
2005-04-18  Stepan Kasal  <kasal@ucw.cz>

	* src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
	(gnumeric_icon_dir, gnumeric_locale_dir): Declare as "const char[]"
	to get rid of some warnings (unless we are on OS/2). 
	* src/libgnumeric.c: Likewise.

Stepan Kasal's avatar
Stepan Kasal committed
1751 1752
2005-04-18  Stepan Kasal  <kasal@ucw.cz>

1753
	* configure.in: Call PKG_PROG_PKG_CONFIG explicitly.
Stepan Kasal's avatar
Stepan Kasal committed
1754 1755 1756 1757 1758 1759
	* Makefile.am (dist-hook): Don't handle gnumeric.spec here, ...
	(EXTRA_DIST): ... it's enough to add it here.
	  I tested this change with automake versions 1.7.9, 1.8.5 and 1.9.5.
	* schemas/Makefile.am: To silence `automake -Wall', don't use
	pattern rules (with %.reg), use portable suffix rules instead.

1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772
2005-04-16  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* configure.in:
	* Makefile.am: New subdir 'tools', we now have a win32
	binary to build.

	* schemas/Makefile.am: Install .reg files into
	$prefix/etc/win32/reg. Two versions are served, i.e.
	.hkcu.reg and .reg. When the user chooses to install
	gnumeric/win32 for the "current user" only, use .hkcu.reg
	and otherwise .reg.

	* src/tools/Makefile.am:
Stepan Kasal's avatar
Stepan Kasal committed
1773 1774
	* src/tools/gconf-schemas-to-win32-reg.c: Moved to tools/;
	see tools/ChangeLog for details.
1775

Stepan Kasal's avatar
Stepan Kasal committed
1776 1777 1778 1779
2005-04-15  Stepan Kasal  <kasal@ucw.cz>

	* schemas/Makefile.am (CLEANFILES): Add $(reg_DATA), if we are
	  building .reg files.
1780
	Don't distribute $(schema_DATA).
Stepan Kasal's avatar
Stepan Kasal committed
1781

1782 1783 1784 1785 1786 1787
2005-04-13  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (pfuncinverter): Handle Newton search when log_p
	is TRUE.
	(dgamma1, dbeta1): Don't bail out for log_p.

1788 1789
2005-04-13  Jon K Hellan  <hellan@acm.org>

1790 1791 1792
	* src/gui-clipboard.c (x_claim_clipboard): Don't clear clipboard
	if we still own CLIPBOARD.

1793 1794 1795 1796 1797 1798
	* src/sheet-control-gui.c (scg_drag_receive_uri_list): Handle a
	bunch of extra mime types for dropped files.
	(scg_drag_receive_cellregion, 
	(scg_drag_receive_same_proc_other_scg,
	(scg_drag_send_clipboard_objects): Check that cell region is non
	null before using it.
1799

1800 1801 1802
2005-04-12  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wb_view_sendto): Fix setting of "problem".
1803
	Handle failure of mkdtemp.
1804

1805 1806 1807 1808
2005-04-11  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (qf): Make our own version of this.

1809 1810
2005-04-10  Ivan, Wong Yat Cheung  <email@ivanwong.info>

1811 1812
	* src/dialogs/dialog-preferences.c (cb_pref_font_hf_set_fonts,
	cb_pref_font_set_fonts):
Stepan Kasal's avatar
Stepan Kasal committed
1813
	They were broken by my changes in 2005-04-08.
1814

Morten Welinder's avatar
Morten Welinder committed
1815 1816 1817 1818 1819
2005-04-09  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (qf): Make our own version of this.  It's quite
	simple now that we have a working qbeta.

1820 1821 1822 1823 1824 1825
2005-04-05  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=162951 : trivial
	* src/sheet-control-gui.c (scg_comment_display) : remove some
	  unnecessary code now that a gtk bug has been fixed.

1826 1827 1828 1829 1830 1831
2005-04-09  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* configure.in: Determine whether we are cross-compiling.

	* src/libgnumeric.[ch]: Path variables should not be const.

1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853
2005-04-08  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* schemas/Makefile.am: Convert .schemas to .reg if host_os ==
	win32 and we are not cross-compiling.

	* src/application.c (gnm_app_history_add):
	* src/libgnumeric.c (gnm_shutdown):
	* src/print-info.c:
	* src/dialogs/dialog-function-select.c
	(dialog_function_write_recent_func):
	* src/dialogs/dialog-preferences.c:
	* src/tools/auto-correct.c: adopt to the modified
	gnumeric-gconf's api.

	* src/tools/Makefile.am:
	* src/tools/gconf-schemas-to-win32-reg.c: New. The name
	explains itself.

	* src/gnumeric-gconf-priv.h:
	* src/gnumeric-gconf.[ch]: Introduce the concept of a
	"node". Implement the win32 backend.

Morten Welinder's avatar
Morten Welinder committed
1854 1855
2005-04-08  Morten Welinder  <terra@gnome.org>

1856 1857 1858
	* src/mathfunc.c (pfuncinverter): Improve in the special case
	where one of the interval endpoints is 0.

1859 1860 1861 1862
	* src/xml-sax-write.c (gnm_xml_file_save): Untangle the
	do-we-compress logic and make it work.  Fixes #173030.
	* src/xml-io.c (gnumeric_xml_write_workbook): Ditto.

Morten Welinder's avatar
Morten Welinder committed
1863 1864 1865
	* src/xml-sax-write.c (xml_write_cell_and_position): Fix crash.
	* src/xml-io.c (xml_write_cell_and_position): Ditto.

1866 1867 1868 1869 1870
2005-04-04  Morten Welinder  <terra@gnome.org>

	* src/stf-export.c (stf_export_cell): Introduce "auto" mode and do
	something sensible with dates and times.  (Fixes #128936)

1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881
2005-04-04  Stepan Kasal  <kasal@ucw.cz>

	s/INCLUDES/AM_CPPFLAGS/  "automake -Wall" has told me this.

	* src/Makefile.am (non-intermediate): New dummy rule; see
		http://bugzilla.gnome.org/show_bug.cgi?id=172211 and
		http://bugzilla.gnome.org/show_bug.cgi?id=172212
	(.list.c, .list.h): Remove $(GLIB_GENMARSHAL); it didn't work
	  anyway, the prerequisities of an implicit rule are ignored.
	* Makefile.am: Use $(POFILES_FULL), not GNU-specific $(wildcard...).
	* configure.in (GLIB_GENMARSHAL): Full path is not needed.
Stepan Kasal's avatar
Stepan Kasal committed
1882
	(POFILES_FULL): New AC_SUBSTed variable, contains full paths to
1883 1884 1885 1886 1887
	  po/*.po files.
	(perl): Fix a typo, and a few cosmetic changes.
	(AC_OUTPUT): Remove plugins/perl/*.
	* plugins/perl/*: Removed.

1888 1889 1890 1891
2005-04-04  Morten Welinder  <terra@gnome.org>

	* src/stf-export.c: Derive from GsfOutputCsv.

Jody Goldberg's avatar
Jody Goldberg committed
1892 1893 1894 1895
2005-04-04  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-write.c (gnm_cellregion_to_xml) : add a namespace decl

1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908
2005-04-04  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c : moved into the core from a plugin
	* src/xml-sax-write.c : ditto.
	(gnm_cellregion_to_xml) : new.

	* src/xml-io.c (xml_cellregion_write) : delete the DOM based version.
	(xml_init) : register the sax in/out routines

2005-04-04  Jody Goldberg <jody@gnome.org>

	* src/gui-clipboard.c (cellregion_to_string) : remove offset.

1909 1910 1911 1912
2005-04-02  Morten Welinder  <terra@gnome.org>

	* configure.in (perl): Fix perl checks.  (I hope.)

1913 1914 1915 1916 1917
2005-04-02  Jean Brefort  <jean.brefort@normalesup.org>

	* src/style.c: (style_init), (style_shutdown): removed calls to 
	number_format_init/shutdown (moved to goffice).

1918 1919
2005-04-01  Steve Murphy  <murf@e-tools.com>

1920
	* configure.in: Added "rw" to ALL_LINGUAS.
1921

1922 1923 1924 1925 1926
2005-04-01  Morten Welinder  <terra@gnome.org>

	* src/stf.c (csv_tsv_probe): In the content phase, decode to UTF-8
	before testing.  (Fixes #167191.)

1927 1928 1929 1930 1931
2005-04-01  Jon K Hellan  <hellan@acm.org>

	* src/gnm-so-filled.c (gnm_so_polygon_write_xml_dom) 
	(gnm_so_polygon_write_xml_sax): Fix warnings.

1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975
2005-04-01  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (wbcg_sheet_add): Make the
	GNUMERIC_SHEET target GTK_TARGET_SAME_APP. 
	(cb_wbcg_drag_data_received): Added source_widget parameter.

	* src/sheet-object.c (sheet_object_rubber_band_directly): Always
	return FALSE.

	* src/gnumeric-pane.c (drag_types_in, drag_types_out):
	New. Supported drag targets.
	(cb_pane_drag_data_received): Pass source widget to
	scg_drag_data_received. 
	(cb_gnm_pane_drag_data_get): New. drag-data-get callback.
	(cb_gnm_pane_drag_motion): New. drag-motion callback.
	(cb_gnm_pane_drag_leave): New. drag-leave callback.
	(gnm_pane_drag_dest_init): New. Factor out of gnm_pane_init and
	Connect drag-data-get, drag-motion and drag-leave callbacks. 
	(gnm_pane_init): Use it.
	(gnm_pane_objects_drag): New. Factored out of gnm_pane_object_move.
	(gnm_pane_object_move): Use it.
	(cb_test_so_imageable): New. Check if object is imageable.
	(gnm_pane_drag_begin): New. Start gtk drag.
	(cb_control_point_event): Use it.

	* src/sheet-control-gui.c (scg_paste_cellregion): New. Paste
	a cellregion.
	(scg_drag_receive_cellregion): New. Receive a dropped cellregion.
	(scg_drag_receive_uri_list): New. Receive a dropped uri list.
	(scg_drag_receive_same_scg): New. Receive a drop from same scg.
	(scg_drag_receive_same_proc_other_scg): New. Receive a drop from
	another scg in same process.
	(scg_drag_receive_same_process): New. Receive a drop from this
	gnumeric process.
	(scg_drag_data_received): Added source_widget parameter. Handling
	of each target moved to a separate function. Added support for gnumeric
	gtk clipboard format. Added support for process internal dnd which
	shortcuts the selection.
	(scg_drag_send_image): New. Send an image over the dnd selection.
	(scg_drag_send_clipboard_objects): New. Send selected objects over
	the dnd selection. Gnumeric gtk clipboard format is used.
	(scg_drag_data_get): New. Send selected objects over the dnd
	selection in requested format.

Morten Welinder's avatar
Morten Welinder committed
1976 1977
2005-04-01  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1978
	* src/stf-export.c: Gut.  Use GsfOutputCsv.  (Fixes #126513.)
Morten Welinder's avatar
Morten Welinder committed
1979

1980 1981
2005-03-31  Morten Welinder  <terra@gnome.org>

1982 1983 1984
	* src/wbc-gtk.c (regenerate_window_menu): Clean up and allow more
	windows in the menu.

1985 1986 1987
	* src/search.c (gnm_search_replace_class_init): Make scope a
	property too.

1988 1989 1990
	* src/commands.c (cmd_set_text): Improve undo description.  Fixes
	#171637.

1991
	* src/workbook-view.c (wbv_save_to_uri): Don't set the error if we
Morten Welinder's avatar
Morten Welinder committed
1992 1993
	already have one.  Together with libgsf and goffice changes, this
	fixes #168581.
1994

1995 1996 1997 1998 1999 2000
2005-03-31  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=87528
	* src/commands.c (cmd_paste_copy) : When not transposing and pasting
	  into a single cell, be more flexible and allow full cols/rows.

2001 2002 2003 2004 2005
2005-03-31  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=87477
	* src/commands.c (cmd_paste_copy) : Use a nice simple tiling approach.

2006 2007
2005-03-30  Morten Welinder  <terra@gnome.org>

2008 2009 2010 2011 2012 2013 2014
	* src/search.c (search_collect_cells): Drop sheet argument.  We
	already have it.  All callers changed.

	* src/commands.c (cmd_search_replace_do): Drop unused sheet and
	workbook arguments.  All callers changed.
	(cmd_search_replace): Drop sheet argument.  All	callers changed.

2015 2016
	* src/search.c: Adapt to goffice changes.  (Aka make it an object
	and cut most of it.)
2017
	(gnm_search_replace_class_init): Define a pile of properties.
2018

Jody Goldberg's avatar
Jody Goldberg committed
2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053
2005-03-29  Jody Goldberg <jody@gnome.org>

	* src/func.c (tokenized_help_new) : warning suppression.

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

2005-03-29  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_write_cell_and_position) : Take a value and
	  expression directly rather than a Cell to allow re-use between the
	  new clipboard data structure GnmCellCopy and GnmCell.

	* src/gui-clipboard.c (text_to_cell_region) : store data directly.
	(cellregion_to_string) : moved from clipboard.c and tweaked to support
	  the new data structure.
	(x_clipboard_get_cb) : no need for a pango context, we ignore variable
	  width formats when exporting.

	* src/sheet-style.c (style_list_get_style) : Use col & rol vs CellPos.

	* src/clipboard.c : Simplify GnmCellCopy and remove the ancient bogus
	  notion of keeping a copy of a full cell.
	(contents_as_expr) : renamed from cell_get_contents_as_expr, and
	  changed to take the expr and val directly.
	(apply_paste_oper_to_values) : deleted and merged into.
	(paste_cell_with_operation) : here.
	(gnm_cell_copy_new) : new.
	(paste_cell) : add some const.
	(clipboard_paste_region) : const and adjust to the changes.
	  We can test for pasting content here rather than per-cell.
	(cb_clipboard_prepend_cell) : use gnm_cell_copy_new.
	(cellregion_unref) : adjust to data structure change.
	(cellregion_to_string) : moved into gui-clipboard.c.  It's not really
	  gui specific but that is the only thing that uses it for now.

2054 2055 2056 2057
2005-03-29  Jon K Hellan  <hellan@acm.org>

	* src/xml-io.c (xml_cellregion_read): Silence warning.

2058 2059 2060 2061 2062
2005-03-29  Morten Welinder  <terra@gnome.org>

	* src/parse-util.c (col_name_internal): Handle nagative column
	numbers a bit saner.

Stepan Kasal's avatar
Stepan Kasal committed
2063 2064 2065 2066
2005-03-29  Stepan Kasal  <kasal@ucw.cz>

	* configure.in (--with-perl): Mention bug #171957.

2067 2068
2005-03-28  Jon K Hellan  <hellan@acm.org>

2069 2070 2071
	* src/gui-clipboard.c (image_write): Look harder for selected
	imageable objects.

2072 2073 2074 2075 2076
	* src/item-grid.c (drag_start): Remove.
	(item_grid_button_press): Don't call drag_start.

	* src/xml-io.c (xml_cellregion_read): Make param 'buffer' const.

Morten Welinder's avatar
Morten Welinder committed
2077 2078 2079 2080 2081 2082 2083 2084 2085
2005-03-28  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wb_view_auto_expr_precision): New function.

	* src/workbook-control-gui.c (cb_auto_expr_precision_toggled): New
	function.
	(cb_select_auto_expr): Add a check item to control whether maximum
	precision is used.

2086 2087 2088 2089 2090 2091 2092 2093 2094
2005-03-28  Jon K Hellan  <hellan@acm.org>

	* src/clipboard.[ch]: (clipboard_copy_obj): New. Returns a cell
	region with copies of objects in list. Factored out of
	gnm_app_clipboard_cut_copy_obj.

	* src/application.c (gnm_app_clipboard_cut_copy_obj): Use
	clipboard_copy_obj. 

2095 2096
2005-03-28  Morten Welinder  <terra@gnome.org>

2097 2098
	* src/workbook-view.c (wb_view_auto_expr_recalc): Take format from
	auto-format.
2099
	(wb_view_auto_expr_recalc): Plug leak.
2100

2101 2102 2103
	* src/xml-io.c: Don't include <goffice/utils/go-locale.h> which
	just went away and wasn't needed anyway.

2104 2105 2106
	* src/*.c src/*/*.c plugins/*/*.c: Use canonical object property
	names.

2107 2108 2109 2110 2111 2112
2005-03-24  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=171503
	* src/gnumeric-gconf.c (gnm_gconf_set_printer_config) : take control
	  of the string.

2113 2114 2115 2116 2117
2005-03-24  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/style-border.c (style_border_hash): use GPOINTER_TO_UINT
	  rather than just casting.

2118 2119 2120 2121
2005-03-24  Jon K Hellan  <hellan@acm.org>

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

Morten Welinder's avatar
Morten Welinder committed
2122 2123
2005-03-24  Morten Welinder  <terra@gnome.org>

2124 2125 2126 2127
	* src/mathfunc.c (tdistexp): Take a log_p flag.  Improve accuracy
	a tiny bit, mostly in the log case.
	(binApprox): Move logs earlier and improve log case's accuracy.

Morten Welinder's avatar
Morten Welinder committed
2128 2129 2130 2131 2132
	* src/application.c (gnm_app_get_pixbuf): Use non-zero size.

	* src/print.c (print_hf_element): If we have no format, don't
	print anything.

2133 2134 2135 2136 2137 2138
2005-03-23  Morten Welinder  <terra@gnome.org>

	* src/numbers.h: For long double support, include sunmath.c if we
	have it.
	* configure.in: Check for sunmath.h

2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149
2005-03-23  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-graph.c (sheet_object_graph_write_image): 
	New. Implements SheetObjectImageable. Extracted from
	sog_cb_save_as. 
	(sog_cb_save_as): Use sheet_object_write_image.
	(sog_imageable_init): SheetObjectImageable gobject voodoo.

	* src/application.c (gnm_app_clipboard_cut_copy_obj): Save sheet
	object points dimensions as object data.

2150 2151
2005-03-23  Morten Welinder  <terra@gnome.org>

2152 2153 2154 2155
	* src/io-context-gtk.c (icg_processing_file): Fix for Win32.
	* src/main-application.c (warn_about_ancient_gnumerics): Fix for
	Win32.

2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169
	* src/workbook-view.c (wb_view_sendto): Use g_mkdir, not mkdir.
	(cb_cleanup_sendto): Use g_unlink and g_rmdir, not unlink and
	rmdir.

	* src/mathfunc.c (random_01): Use g_open, not open.

	* src/main-application.c (warn_about_ancient_gnumerics): use
	g_stat, not stat.

	* src/func.c (function_dump_defs): Use g_fopen, not fopen.

	* src/file-autoft.c (category_list_get_from_dir_list): Use
	g_file_test, not stat.

Stepan Kasal's avatar
Stepan Kasal committed
2170 2171 2172 2173 2174
2005-03-23  Stepan Kasal  <kasal@ucw.cz>

	* configure.in (HAVE_LIBZ): Don't define it, noone uses it, since
	  zlib is mandatory.

2175 2176
2005-03-22  Morten Welinder  <terra@gnome.org>

Stepan Kasal's avatar
Stepan Kasal committed
2177 2178 2179
	* templates/autoformat/Makefile.am (install-data-local): Don't use
	${var#pat} and ${var%pat}; it's POSIX feature, but it doesn't work
	with Solaris' /bin/sh.
2180

2181 2182 2183
2005-03-22  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (wbcg_update_action_sensitivity): Set
2184 2185 2186 2187
	editability of sheet tabs too.  Fixes #170958.
	(sheet_menu_label_run): If we have only one sheet, keep "Remove"
	in the menu, but make it inactive.  Disable everything when we
	have a guru.  Use an enum, not a define for bit fields.
2188

Stepan Kasal's avatar
Stepan Kasal committed
2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201
2005-03-22  Stepan Kasal  <kasal@ucw.cz>

	* autogen.sh: REQUIRED_AUTOCONF_VERSION=2.54  We already required
	  that indirectly, by asking for Automake >= 1.7.2.
	* configure.in: AC_PREREQ(2.54)
	  - don't default to --without-gtk even if the reqs are not met;
	  - fail if someone tries --with-python=/path;
	  - when searching for $PYTHON, try python2.4 and such; 
	  - don't generate stamp.h; the issue is solved by Automake 1.7.2;
	    see info '(autoconf)Automatic Remaking' for details.
	* stamp.h.in: Nuke.
	* .cvsignore: Remove stamp.h and stamp-h.in.

2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212
2005-03-21  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (workbook_dispose): Simplify using
	workbook_set_saveinfo.  Move destruction of local functions to
	here.
	(workbook_finalize): From here.
	(workbook_sheet_name_strip_number): Fix docs; handle overflow;
	return unsigned value.
	(workbook_sheet_get_free_name): Adapt to changes in
	workbook_sheet_name_strip_number.

2213 2214 2215 2216 2217 2218 2219 2220 2221
2005-03-21  Stepan Kasal  <kasal@ucw.cz>

	* autogen.sh: Remove the unfortunate TRANSL_ONLY; fix the explanation
	  why we need our own copy of po/Makefile.in.in; use a nicer code to
	  generate po-functions/POTFILES.*.
	* README: Fix the Debian package name for pango, remove the intltool
	  requirement.
	* gnumeric.spec.in: Update the dependencies.

2222 2223 2224 2225
2005-03-17  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (x_claim_clipboard): Check for content == NULL.

Morten Welinder's avatar
Morten Welinder committed
2226 2227 2228 2229
2005-03-17  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (maybe_convert): Use go_guess_encoding.

Stepan Kasal's avatar
Stepan Kasal committed
2230 2231 2232 2233 2234
2005-03-17  Stepan Kasal  <kasal@ucw.cz>

	* autogen.sh: Use egrep, not awk; there is a system which distributes
	  a very broken version of it.  Thanks to Morten for noting this.

2235 2236
2005-03-16  Morten Welinder  <terra@gnome.org>

2237 2238 2239
	* src/xml-io.c (maybe_convert): Explicitly try ISO-8859-1 if
	locale fails.

Morten Welinder's avatar
Morten Welinder committed
2240 2241 2242 2243 2244 2245 2246 2247 2248 2249
	* src/workbook-control.c (wb_control_update_title): Handle NULL
	basename.

	* src/wbc-gtk.c (regenerate_window_menu): Ignore workbooks where
	we don't get a valid basename.

	* src/workbook-priv.h (struct Workbook): Remove .basename.

	* src/workbook.c (workbook_get_basename): Delete, it's unused.

2250 2251
	* src/parse-util.c (row_parse): Fix parsing problem.  [#170465]

2252 2253 2254 2255 2256 2257
2005-03-13  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=169830
	* src/gnumeric-pane.c (gnm_pane_init) : init the zoom.
	(gnumeric_pane_header_init) : ditto.

2258 2259 2260
2005-03-16  Stepan Kasal  <kasal@ucw.cz>

	* autogen.sh: require intltool >= 0.29; fix IFS handling;
2261 2262 2263
	  create po*/Makefile.in.in and po-functions/POTFILES.* ---
	  and if the traslators don't want anything but these files, they
	  can just run "TRANSL_ONLY=1 ./autogen.sh".
2264 2265 2266
	* acinclude.m4: Nuked, it shouldn't be needed.
	* Makefile.am (ACLOCAL_AMFLAGS): Remove.
	* configure.in: Do AC_SUBST(ACLOCAL_AMFLAGS, $ACLOCAL_FLAGS);
2267 2268 2269 2270 2271 2272
	  don't show --with-guile in the help, don't configure
	  directories plugins/gb/ and plugins/guile/.
	* plugins/Makefile.am (SUBDIRS): Simplify the conditional
	  assignments; omit subdirs gb and guile.
	* plugins/gb/Makefile.am, plugins/guile/Makefile.am: Add a text to
	  the top, warning about POTFILES.skip.
2273 2274 2275 2276 2277 2278 2279
	* src/pixmaps/Makefile.am (STRIP_BEGIN, STRIP_END, STRIP_DUMMY):
	  Remove these, I see no need for them; the cosmetic advantage
	  can be achieved with one echo.
	* configure.in (STRIP_BEGIN, STRIP_END, STRIP_DUMMY): Don't detect.

	In many files, fix the typo contraint --> constraint.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
2280 2281