OChangeLog-2003-12-23 420 KB
Newer Older
Jody Goldberg's avatar
Jody Goldberg committed
1 2 3 4
2003-12-23  Jody Goldberg <jody@gnome.org>

	* Release 1.2.3

5 6 7 8 9 10 11 12 13 14
2003-12-23  Jody Goldberg <jody@gnome.org>

	* gnumeric.keys.in : expand our claims.
	* gnumeric.mime : apparently duplicates are not a good idea.

2003-12-23  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_preferred_fmt) : simplify to handle both
	  scalar and vector and use the auto-format code.

Morten Welinder's avatar
Morten Welinder committed
15 16 17 18
2003-12-22  Morten Welinder  <terra@gnome.org>

	* src/gutils.c (gnm_get_real_name): Fix $NAME case.

19 20 21 22 23 24
2003-12-21  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=128611
	* src/formats.c (cell_format_classify): ignore case when comparing
	  with general format

25 26 27
2003-12-21  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=129049
Morten Welinder's avatar
Morten Welinder committed
28
	* src/session.c (interaction_function): stick dialogs and workbook
29 30
	  windows to ensure they are visible for logout conversation

31 32 33 34 35 36 37
2003-12-21  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=129444
	* src/print-cell.c (cell_split_text_no_wrap): new
	(print_cell): check for non-word-wrapped cells with line breaks
	  and handle them like word-wrapped ones.

38 39 40 41 42
2003-12-20  Jody Goldberg <jody@gnome.org>

	* src/format.c (style_format_account) : quote currencies as necessary.
	(fmt_general_float) : decimal points are generally narrower.

43 44 45 46 47 48 49 50 51
2003-12-21  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/stf-export.c (stf_export_options_set_format_mode): new
	(stf_export_options_new): initialize new fields
	(stf_export_options_set_format_mode): new
	(stf_export_cell): use rendered text if required
	* src/stf-export.h (StfExportOptions_t): add preserve_format
	(stf_export_options_set_format_mode): new

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
52 53 54
2003-12-20  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_popup_menu): handle NULL event.
Morten Welinder's avatar
Morten Welinder committed
55

56 57 58 59 60 61 62 63 64
2003-12-19  Jon K Hellan  <hellan@acm.org>

	* src/format-template.c (format_template_new): Use gnm_get_real_name.

	* src/summary.c (summary_info_default): UTF-8 encode author name.
	(summary_item_new_string): Validate string as utf-8.

	* src/gutils.[ch] (gnm_get_real_name): New function.

65 66 67 68 69 70 71 72 73
2003-12-18  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_scalar_preferred_fmt) : new.

2003-12-18  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_scroll_wheel_support_cb) : add some
	  bounds checks to avoid listing things like 'zoom -10' in the ui.

74 75
2003-12-18  Jody Goldberg <jody@gnome.org>

76 77 78
	* src/workbook-control-gui.c (wbcg_scroll_wheel_support_cb) : support
	  scroll wheel zoom, and horizontal scrollwheels.

79 80 81
	* src/xml-io.c (xml_workbook_read) : fix xml import of manual recalc
	  flag.

Jody Goldberg's avatar
Jody Goldberg committed
82 83 84 85
2003-12-17  Jody Goldberg <jody@gnome.org>

	* src/number-match.c (value_is_error) : no need to use strncmp

J.H.M. Dassen (Ray)'s avatar
J.H.M. Dassen (Ray) committed
86 87 88 89
2003-12-14  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* debian/changelog, debian/control: Updated.

90 91 92 93 94 95
2003-12-13  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=128169
	* src/item-edit.c (ie_layout) : Use the actual font description, not
	  the default associated with the context.

96 97 98 99 100
2003-12-11  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/xml-io.c (xml_read_sheet_object): Do not try to get the class of
	object before its instantiation.

101 102 103 104 105
2003-12-10  Morten Welinder  <terra@gnome.org>

	* src/format.c (append_hour_elapsed): Re-fix display of negative
	values.

106 107 108 109 110 111
2003-12-06  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=128565
	* src/sheet-object.c (sheet_object_read_xml) : patch one direction.
	  new can now load old.  We'll need more work to get back to using old
	  name.
112 113 114 115 116
	(sheet_object_class_init) : init new xml_export_name member to NULL.
	(sheet_object_write_xml) : use it here.
	* src/sheet-object-cell-comment.c (cell_comment_class_init) : Use it
	  here to keep exporting comments as CellComment rather than the newly
	  renamed class.
117

118 119 120 121 122 123
2003-12-02  Morten Welinder  <terra@gnome.org>

	* configure.in: Fix checks for fdopen, M_PI, and various other
	library symbols.  (From bunk@fs.tum.de <Adrian Bunk>)
	http://bugzilla.gnome.org/show_bug.cgi?id=128136

124 125 126 127 128
2003-12-01  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=128166
	* src/commands.c (cmd_reorganize_sheets_undo): dirty workbook
	(cmd_reorganize_sheets_redo): ditto
Morten Welinder's avatar
Morten Welinder committed
129

130 131 132 133 134 135 136
2003-12-01  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/gnumeric-gconf.c (gnm_conf_init_essential): add
	  prefs.printer_config, since it is needed for first workbook
	(gnm_conf_init_extras): remove prefs.printer_config
	* src/print.c (sheet_print): remove some unused variables and code

Jody Goldberg's avatar
Jody Goldberg committed
137 138 139 140
2003-11-26  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
141 142 143 144
2003-11-26  Jody Goldberg <jody@gnome.org>

	* Release 1.2.2

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
145 146 147
2003-11-25  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print.c (print_job_info_destroy): plug leak
Morten Welinder's avatar
Morten Welinder committed
148

149 150 151 152 153 154 155 156 157 158
2003-11-24  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_colrow_group_ungroup) : when adding a group
	  calculate the global max gutter, not just the max in the changed
	  region.

2003-11-23  Jody Goldberg <jody@gnome.org>

	* src/item-cursor.c (item_cursor_draw) : Use not xor.

159 160 161 162
2003-11-20  Jody Goldberg <jody@gnome.org>

	* src/colrow.c (colrow_is_empty) : new.

163 164 165 166 167 168 169 170 171
2003-11-19  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print-info.c (print_info_new): don't read n_copies from
	  gnome_config
	(print_info_save): don't bother writing n_copies to gnome_config
	(print_info_set_n_copies): new
	* src/print-info.h: remove n_copies field from PrintInformation
	(print_info_set_n_copies): new

172 173 174 175 176 177
2003-11-18  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=64297
	* src/item-cursor.c (item_cursor_draw) : invert selection rectangle
	  outlining the content to keep it visible on dark backgrounds.

178 179
2003-11-18  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
180 181
	* src/print-info.c (print_info_new): disable page setup continuity
	  again. The bug seems to be still in libgnomeprint 2.4.x (it is gone
182 183
	  from 2.5.x, at least so it seems).

184 185 186 187
2003-11-17  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print-info.c (print_info_new): re-enable page setup continuity

188 189 190 191 192 193
2003-11-18  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=127262
	* src/item-grid.c (item_grid_draw) : Avoid 16bit overflow when drawing
	  the divider line,  just draw the visible bit.

194 195 196 197 198 199 200 201 202 203 204 205 206 207
2003-11-17  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=127238
	* src/format-template.c (format_template_transform_edges) : fix.

	http://bugzilla.gnome.org/show_bug.cgi?id=127211
	* src/style.c (style_default_halign) : errors appear to have default
	  horizontal alignment of center.  This is ancient code, I wonder why
	  no one ever noticed.

	http://bugzilla.gnome.org/show_bug.cgi?id=127199
	* src/gui-file.c (gui_file_read) : do a sheet_update after a
	  successful read.

208 209 210 211 212 213 214 215 216
2003-11-16  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : no need to
	  sheet_update on queued movement.

	* src/sheet-control-gui.c (scg_queue_movement) : call sheet_update as
	  necessary.
	(cb_scg_queued_movement) : ditto.

217 218 219 220 221
2003-11-16  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (random_01): Optionally generate pseudo-random
	(as opposed to random) numbers.

Jody Goldberg's avatar
Jody Goldberg committed
222 223 224 225
2003-11-16  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_parse_ctx_new) : set the workbook here.

226 227
2003-11-15  Jody Goldberg <jody@gnome.org>

228 229 230 231 232
	http://bugzilla.gnome.org/show_bug.cgi?id=116090
	* src/normal-args.c (gnumeric_arg_parse) : function info dumps do not
	  require libgnomui.
	* src/main-application.c (main) : only init session when we have a gui.

233 234 235 236 237 238 239 240 241 242
	* gnumeric.xsd : Add the Calculation info

	* src/xml-io.c (xml_workbook_write) : Save manual recalc and iteration
	  preferences.
	(xml_workbook_read) : And read them.

	http://bugzilla.gnome.org/show_bug.cgi?id=126907
	* src/commands.c (cmd_set_text_redo) : even when using manual recalc
	  we should calculate newly entered expression.

243 244 245 246 247 248
2003-11-14  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=68794
	* src/selection.c (sv_selection_to_plot) : default to rows
	  when rows == cols

249 250 251 252 253 254 255 256 257 258
2003-11-06  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=126389
	* src/commands.c (cmd_format_redo) : dirty the sheet.

2003-11-05  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c : ditto.
	* src/GNOME_Gnumeric.xml : Enable select inputs

Morten Welinder's avatar
Morten Welinder committed
259 260
2003-11-03  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
261 262
	* src/print.c (sheet_print): Plug leak.

Morten Welinder's avatar
Morten Welinder committed
263 264
	* src/gui-util.c (gnumeric_error_info_dialog_new): Plug leak.

265 266 267 268 269 270
2003-11-03  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=126056
	* src/graph.c (cb_assign_val) : failed string conversion is inf,
	  rather than nan.

271 272 273 274 275 276 277 278 279 280 281 282 283 284
2003-11-03  Jody Goldberg <jody@gnome.org>

	* gnumeric.mime : add more.

2003-11-02  Jody Goldberg <jody@gnome.org>

	* src/main-application.c (main) : init before calling
	  handle_paint_events.

	* src/application.c: s/g_assert/g_return_if_fail/

	* src/ssconvert.c :  Add --list-importers
	* doc/C/ssconvert.1 : document it.

285 286 287 288 289 290
2003-11-02  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/gnumeric-gconf.c (gnm_conf_init_printer_decoration_font): new
	(gnm_conf_init_extra): call gnm_conf_init_printer_decoration_font
	  rather than doing the work itself.
	(gnm_conf_shutdown): new
Morten Welinder's avatar
Morten Welinder committed
291 292 293
	* src/gnumeric-gconf.h: printer_decoration_font replaces
	  printer_decoration_font_*
	* src/libgnumeric.c (gnm_common_init): gnm_conf_init requires
294 295
	  mstyle_init
	(gnm_shutdown): call gnm_conf_shutdown
Morten Welinder's avatar
Morten Welinder committed
296 297
	* src/print.c (print_job_info_get): printer_decoration_font replaces
	  printer_decoration_font_*
298

299 300 301 302 303 304
2003-11-02  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* src/application.c: Added g_assert()s to ensure app is not NULL prior
	to being dereferenced, to make crashes like Debian #217368 less
	spectacular.

Jody Goldberg's avatar
Jody Goldberg committed
305 306 307 308
2003-10-31  Jody Goldberg <jody@gnome.org>

	* configure.in : disable deprecated is only for development releases.

309 310 311 312
2003-10-29  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/stf.c (stf_init): csv means "... values"

313 314 315 316 317
2003-10-29  Jody Goldberg <jody@gnome.org>

	* gnumeric.desktop.in : Add a new String 'Spreadsheet' to conform to
	  freedesktop standards with a 'GenericName' entry.

318 319 320 321 322
2003-10-27  Morten Welinder  <terra@gnome.org>

	* src/gnumeric-gconf.c (gnm_gconf_get_float): Avoid double->float
	precision loss.  Quiet gcc.

323 324 325 326 327
2003-10-27  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=125577
	* src/sheet.c (cb_collect_cell) : preserve the recalc state.

328 329 330 331 332 333 334 335 336
2003-10-26  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_probe) : rework to use sax.
	(xml_dom_read_warning) : new.
	(xml_dom_read_error) : new.
	(xml_init) : setup.
	(gnumeric_xml_read_workbook) : cheesy mechanism to send errors to the
	  iocontext.

337 338 339 340 341 342 343
2003-10-25  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* schemas/gnumeric-dialogs.schemas.in: add schemas for header/footer
	  font
	* src/gnumeric-gconf-priv.h: new keys:
	  PRINTSETUP_GCONF_HF_FONT_NAME, PRINTSETUP_GCONF_HF_FONT_SIZE,
	  PRINTSETUP_GCONF_HF_FONT_BOLD, PRINTSETUP_GCONF_HF_FONT_ITALIC
Morten Welinder's avatar
Morten Welinder committed
344
	* src/gnumeric-gconf.c (gnm_conf_init_extras): initialize new fields
345 346 347 348
	* src/gnumeric-gconf.h: new fields for preference structure
	* src/print.c (print_job_info_get): use preference info and fallback
	  fonts

349 350 351 352 353 354
2003-10-25  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=125421
	* src/sheet-view.c (sv_panes_insdel_colrow) : don't move the top when
	  the insert happens before it

355 356 357 358
2003-10-25  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* debian/changelog, debian/control, debian/rules: Updated.

359 360 361 362 363
2003-10-24  Morten Welinder  <terra@gnome.org>

	* src/regression.c (general_linear_regression): Handle a
	loss-of-precision case for xdim==2.

364 365 366 367 368
2003-10-24  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=125230
	* src/format.c (append_hour_elapsed) : Add epsilon _before_ we scale

369 370 371 372 373 374 375
2003-10-24  Jody Goldberg <jody@gnome.org>

	* src/clipboard.c (clipboard_paste_region) : Fill in increasing order
	  to avoid the dreaded ultra deep stack caused by recalcing starting
	  at the end.  It is a bandaid.  During 1.3 we'll need something more
	  robust.

376 377 378 379 380 381 382 383 384 385 386
2003-10-23  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c : Ensure that all actions with
	  accelerators attempt to finish any edits in progress.

2003-10-22  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=77303
	* src/sheet-control-gui.c (scg_cursor_move) : don't scroll the other
	  panes unless we absolutely have to.

387 388 389 390 391
2003-10-21  Morten Welinder  <terra@gnome.org>

	* src/format.c (append_hour_elapsed): Get sign right, even when
	the hour is zero.

392 393 394 395 396 397 398
2003-10-20  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=124975
	* src/commands.c (CmdPasteCut) : handle undo for paste from a deleted
	  external sheet.  Only fixes first order problem.  We'll need a more
	  invasive approach later.

399 400 401 402 403 404 405 406 407
2003-10-20  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=123325
	* src/value.c (criteria_test_greater_or_equal) : NULL args are valid.
	(criteria_test_less_or_equal) : ditto.
	(criteria_test_greater) : ditto.
	(criteria_test_less) : ditto.
	(criteria_test_equal) : ditto.

408 409 410 411 412
2003-10-16  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-gconf.c : rework to catch missing schemas and delay non
	  essential loads until later.

413 414 415 416 417
2003-10-14  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (stf_parse_general): Add maxlines argument.  All
	callers changed.

418 419 420 421 422
2003-10-13  Jody Goldberg <jody@gnome.org>

	* src/number-match.c (format_match_init) : trivial optimization to
	  avoid checking against the same regexp multiple times.

423 424 425 426 427 428
2003-10-13  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (stf_parse_fixed_cell, stf_parse_csv_cell,
	stf_parse_general, stf_parse_lines): Switch to allocating from a
	GStringChunk.

429 430 431 432 433
2003-10-12  Jody Goldberg <jody@gnome.org>

	* configure.in : remove GTK_DISABLE_DEPRECATED for now.  gtk head has
	  changed alot recently and this breaks the build.

434 435 436 437
2003-10-12  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: bumped requirements for libgda and libgnomedb.

438 439 440 441 442 443 444 445 446 447 448 449 450 451
2003-10-10  Jody Goldberg <jody@gnome.org>

	* src/stf.c (stf_write_csv) : new to write csv files without
	  intervention.
	(stf_init) : Use it.

2003-10-09  Jody Goldberg <jody@gnome.org>

	* src/libgnumeric.c : pull the ancient if BONOBO checks

	* src/io-context-gtk.c (icg_show_gui) : mark the window as a splash.

	* schemas/Makefile.am : make friendlier for rpm builders

452 453
2003-10-08  Jody Goldberg <jody@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
454
	* configure.in : post release version bump
455

Jody Goldberg's avatar
Jody Goldberg committed
456 457 458 459
2003-10-08  Jody Goldberg <jody@gnome.org>

	* Release 1.2.1

460 461 462 463 464
2003-10-07  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_get_dep) : Its ok to have other GOData's.
	(gnm_go_data_set_sheet) : ditto.

465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489
2003-10-06  Jody Goldberg <jody@gnome.org>

	* src/value.c (criteria_test_equal) : privatize
	(criteria_test_less) : privatize
	(criteria_test_greater) : privatize
	(criteria_test_less_or_equal) : privatize
	(criteria_test_greater_or_equal) : privatize
	(criteria_test_unequal) : privatize and have it handle empty.
	(parse_criteria) : avoid replicated code.  Handle the trivial ==number
	  case here too.
	(parse_criteria_range) : use the new simplified interface.

2003-10-05  Jody Goldberg <jody@gnome.org>

	* src/workbook-control.c (wb_control_parse_and_jump) : skip blanks

	* src/func.c (function_def_get_arg_type_string) : handle 'B' a scalar
	  that can even be blank.
	(function_call_with_list) : ditto.

2003-10-05  Jody Goldberg <jody@gnome.org>

	* src/ssconvert.c : if no export file name is specified try to
	  generate one based on the exporter.

490 491 492 493 494 495 496 497 498 499 500 501 502
2003-10-05  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-graphic.c (sheet_object_graphic_user_config):
	gtk_combo_box renamed to gnm_combo_box.

	* src/workbook-control-gui.c (ur_stack, wbcg_undo_redo_clear,
	wbcg_undo_redo_truncate, wbcg_undo_redo_pop,
	wbcg_undo_redo_push, workbook_create_standard_toolbar,
	workbook_create_standard_toolbar): Ditto.

	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
	Ditto.

503 504 505 506 507
2003-09-29  Morten Welinder  <terra@gnome.org>

	* src/format.c (render_number): Keep track of number of
	significant digits so we don't show garbage.

508 509 510 511
2003-09-27  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* src/ssconvert.c: Handle bad command lines in a sensible manner.

512 513 514 515
2003-09-27  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Updated ALL_LINGUAS as po/hi.po has been removed.

516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544
2003-09-25  Jody Goldberg <jody@gnome.org>

	* src/style.c (gnm_pango_context_get) : simple wrapper to enable
	  windowless operation.
	(font_init) : move the global_font crap here temporarily to enable
	  windowless operation.
	(font_shutdown) :  new merged in global_font_shutdown.

	* src/ssconvert.c : stick this ins CVS as an incentive to someone to
	  polish it up a bit and finish it.

	* src/sheet.c (sheet_new) : Use the new gnm_pango_context_get.

	* src/libgnumeric.c (gnm_common_init) : global_gnome_font_init is gone
	(gnm_shutdown) : ditto global_gnome_font_shutdown.

	* src/global-gnome-font.c : rip the init and shutdown logic out of here

	* src/style-color.c (gnumeric_color_init) : allow this to work with no
	  display.

	* src/command-context-stderr.c (command_context_stderr_new) : change
	  return type to the more useful and popular base class.

2003-09-25  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=123226
	* gnumeric.spec.in : patch the bugs mentioned and some general cleanup

545 546 547 548 549
2003-09-24  Morten Welinder  <terra@gnome.org>

	* src/number-match.c (compute_value): Reduce the number of
	localtime calls when matching partial dates.

550 551 552 553
2003-09-23  Jody Goldberg <jody@gnome.org>

	* src/str.h : Start of the big renaming s/String/GnmString/

554 555 556 557 558 559 560 561
2003-09-23  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_probe) : revert need to change libgsf api.  That
	  was a bug in libxml-2.6.0-beta2
	* configure.in :  ditto
	* gnumeric.spec.in : ditto
	* README : ditto

562 563 564 565 566 567 568
2003-09-22  Jody Goldberg <jody@gnome.org>

	From John Gill :
	* src/sheet-filter.c (sheet_filter_guess_region) : Some heuristics to
	  guess the region to autofilter when only 1 cell or row is selected.
	* src/workbook-control-gui.c (cb_auto_filter) : Use it.

Jody Goldberg's avatar
Jody Goldberg committed
569 570 571 572 573 574 575 576 577
2003-09-22  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_graph_dim_editor_update) : ignore if
	  dataset has already been deleted.
	(cb_dim_editor_weakref_notify) : new.
	(graph_dim_editor_free) : new.
	(wbcg_data_allocator_editor) : add a weakref to handle situation where
	  the dataset is deleted before the widget.

578 579 580 581 582 583 584 585 586 587
2003-09-22  Jody Goldberg <jody@gnome.org>

	* configure.in :  require libgsf 1.9.0 because it works around changes
	  in libxml2 semantics for 2.6.0 that break our sax based importers.

	* src/style.c (style_font_new_simple) : cache the font height too.

	* src/sheet.c (cb_max_cell_height) : be smarter.  There is no need to
	  render a cell whose value does not wrap.

588 589 590
2003-09-22  Morten Welinder  <terra@gnome.org>

	* src/format.c (format_boolean): Use function.
Morten Welinder's avatar
Morten Welinder committed
591
	(format_value_gstring): Use format_boolean.
592 593 594 595 596

	* src/number-match.c (format_match_simple): Ditto.
	* src/value-sheet.c (value_dump): Ditto.
	* src/value.c (value_get_as_gstring): Ditto.

597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612
2003-09-22  Jody Goldberg <jody@gnome.org>

	* src/stf.c (csv_tsv_probe) : probe only by name.  Always accepting
	  content turned this into a catch all importer.

	* src/plugin-service.c (gnm_plugin_file_opener_can_probe) : new.
	(gnm_plugin_file_opener_class_init) : hook it up.

	* src/file.c (gnm_file_opener_can_probe_real) : new.
	(gnm_file_opener_class_init) : link it up.
	(gnm_file_opener_can_probe) : call it here.

	* src/workbook-view.c (wb_view_new_from_input) : be more explicit
	  about when not to probe for content.  The underlying code is in
	  desperate need of cleanup.

613 614 615 616 617 618 619 620
2003-09-21  Jody Goldberg <jody@gnome.org>

	* src/stf.c (stf_text_to_columns) : relax requirements, blanks and
	  hidden are ok.  It might be nice to skip hidden, or filter blanks
	  but we have no capabilities to paste into 'non-hidden' region.  So
	  it makes sense to ignore hidden for consistency.
	(cb_get_content) : accept blanks.

621 622 623 624 625 626
2003-09-18  Jody Goldberg <jody@gnome.org>

	* src/gui-util.c (cb_free_keyed_dialog_context) : remove the
	  unnecessary precondition.  If we're being called during wbcg::finalize
	  then the data is already gone.

Jody Goldberg's avatar
Jody Goldberg committed
627 628 629 630 631
2003-09-16  Jody Goldberg <jody@gnome.org>

	* src/expr.c (do_expr_as_string) : fill in ParsePos::sheet too so that
	  names get properly qualified.

Jody Goldberg's avatar
Jody Goldberg committed
632 633 634 635 636 637 638
2003-09-15  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_vector_load_len) : don't get confused by
	  references to empty sheets.
	(gnm_go_data_vector_load_values) : set flags and min/max even for
	  empty vectors.

639 640
2003-09-15  Jon K Hellan  <hellan@acm.org>

Morten Welinder's avatar
Morten Welinder committed
641
	* configure.in: Require libgsf-gnome-1 >= 1.8.2. No big deal, we
642 643 644
	were already requiring libgsf-1 >= 1.8.2 elsewhere.
	Remove big bad "unstable branch" warning.

645 646 647 648
2003-09-15  Jody Goldberg <jody@gnome.org>

	* configure.in : bump the gsf-gnome req to 1.8.2 also.

649 650 651 652
2003-09-15  Jody Goldberg <jody@gnome.org>

	* configure.in : post release version bump

653 654
2003-09-15  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
655 656 657 658 659 660
	* Release 1.2.0

2003-09-15  Jody Goldberg <jody@gnome.org>

	* configure.in : Call it 1.2.0

661 662 663 664 665 666 667 668 669 670 671 672
	* src/style.c (gnm_font_find_closest_from_weight_slant) : put in some
	  fallbacks.

	* schemas/gnumeric-general.schemas.in : return to using 'Sans' rather
	  than 'Sans Regular'. The later does not make gnome-print any happier
	  and it is not listed in the default fontconfig list.

	* src/graph.c (cb_assign_val) : Only clip empty cells, not invalid
	  cells.  We might be interested in the strings even if they're not
	  useful as numbers.  This can happen when using a vector of strings
	  as the X axis in a scatter plot.

673 674
2003-09-14  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
675
	* src/gui-file.c (make_format_chooser): expect to receive the
676 677 678
	  correct list of formats.
	(gui_file_save_as): filter out FILE_SAVE_RANGE savers

679 680 681 682 683 684
2003-09-14  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/style.c: fix format warnings
	(gnm_font_find_closest_from_weight_slant): new
	* src/style.h (gnm_font_find_closest_from_weight_slant): new

685 686
2003-09-13  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
687
	* src/print-info.c (render_path): &[PATH] should not include
688 689
	  basename

690 691 692 693 694 695
2003-09-13  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print-info.h: remove unused enumeration items
	* src/print-info.c (render_tab): simplify default name
	(render_file): show basename only and provide default
	(render_path): new
Morten Welinder's avatar
Morten Welinder committed
696
	(render_opcode): remove unused code, don't strip and
697 698 699
	  forget subformatting, don't use g_ascii_strcasecmp on
	  tranlated text.

700 701
2003-09-13  Jody Goldberg <jody@gnome.org>

702 703 704
	* src/graph.c (gnm_go_data_vector_load_values) : typo broke horizontal
	  data.

705
	* src/workbook-control-gui.c (cb_graph_dim_entry_unmap) : only fire if
706
	  the widget is sensitive.  We have data displayed that the user
707 708
	  did not enter.

709 710 711 712 713 714 715 716
2003-09-13  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (cb_graph_dim_entry_unmap): New name
	for cb_graph_dim_entry_destroy. We now connect it to the "unmap"
	signal.
	(wbcg_data_allocator_editor): Connect cb_graph_dim_entry_unmap to
	the "unmap" signal.

717 718 719 720 721 722 723 724 725 726 727 728 729
2003-09-13  Jody Goldberg <jody@gnome.org>

	* gnumeric.spec.in:
	* README :
	* configure.in : require gsf 1.8.2 to ensure that libole2 based
	  gnumeric-1.0.x can read our xls files.

2003-09-12  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (cb_graph_dim_editor_destroy): New
	callback invoked when expr entry is destroyed.
	(wbcg_data_allocator_editor): Use it.

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
730 731 732 733 734
2003-09-12  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print.c (print_range_down_then_right) equalize the scaling parameters
	(print_range_right_then_down): ditto

735 736 737 738
2003-09-12  Jody Goldberg <jody@gnome.org>

	* gnumeric.spec.in : install the plugin schema too.

739 740 741 742 743
2003-09-12  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print.c (compute_scale_fit_to): adjust for the case that some
	  columns may not fit on a page.

744 745 746 747
2003-09-12  Jody Goldberg <jody@gnome.org>

	* src/style.c (font_init) : be more verbose when we can't find fonts.

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
748 749 750 751
2003-09-12  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print.c (compute_scale_fit_to): only use real range

752 753 754 755 756
2003-09-11  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_sendto) : the gnm-sendto dir is what
	  we're creating, do not assume it exists.

757 758 759 760
2003-09-11  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print.c (compute_group): don't scale already scaled values

761 762 763 764 765
2003-09-11  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-cell-comment.c (cell_comment_finalize) : only
	  attempt to clear the state if we are connected to some views.

766 767 768 769
2003-09-10  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* README: Updated Debian package names.

770 771 772 773 774 775
2003-09-10  Christian Neumair  <chris@gnome-de.org>

	* src/sheet-object-graphic.c (sheet_object_graphic_user_config): Add
	  ATK relation information.
	(sheet_object_filled_user_config): ditto.

776 777 778 779 780
2003-09-10  Jody Goldberg <jody@gnome.org>

	* src/gui-util.c (gnm_setup_label_atk) : weaken requirement to
	  GtkWidget from GtkLabel for Manny.

781 782 783 784
2003-09-10  Jody Goldberg <jody@gnome.org>

	* configure.in : bump to 1.1.91 just in case

Jody Goldberg's avatar
Jody Goldberg committed
785 786 787 788
2003-09-10  Jody Goldberg <jody@gnome.org>

	* Release 1.1.90

789 790 791 792 793 794 795 796
2003-09-09  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=121873
	* src/format.c (style_format_number) : g_string_append (str, str->str)
          is a bad idea.
	(style_format_delocalize) : handle "" cleanly.
	* src/formats.c (cell_format_classify) : ditto.

797 798 799 800 801 802 803 804 805 806
2003-09-08  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-graph.c (cb_save_as) : Use gsf more extensively.
	  Use the new SVG renderer.

2003-09-07  Jody Goldberg <jody@gnome.org>

	* configure.in : Bump version reqs to at least gnome-2.0 to make
	  things nice and clear.

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
807 808 809 810
2003-09-06  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/sort.c (sort_permute): move comments

811 812 813 814 815 816 817 818 819 820 821 822
2003-09-06  Jody Goldberg <jody@gnome.org>

	* src/dependent.c (dependent_clear_dynamic_deps) : Just remove the
	  DynamicDep record from the hash that will free it as necessary.
	(dynamic_dep_free) : free the containing DynDep too, not just content.
	(invalidate_refs) : Ignore dynamic deps, we could not delete them with
	  things disconnected.
	(cb_find_dynamic_deps) : new.
	(dep_hash_destroy) : split out to cleanly handle dynamic deps
	(do_deps_destroy) : Collect dyn deps before invalidating, then queue
	  any of them that are external for recalc.

823 824 825 826 827
2003-09-06  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-graph.c (sheet_object_graph_populate_menu):
	Push "Save as image" down to 2nd place.

828 829 830 831 832 833 834 835 836
2003-09-03  Jody Goldberg <jody@gnome.org>

	* src/format.c (format_value_gstring) : be more expansive about
	  exactly what constitutes 'General'

	* src/graph.c (gnm_go_data_vector_load_values) : handle empty sheets.

	* src/ranges.c (range_normalize) : minor optimization

Morten Welinder's avatar
Morten Welinder committed
837 838
2003-09-03  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
839 840
	* src/stf.c (stf_open_and_read): Fix zero-size check.

Morten Welinder's avatar
Morten Welinder committed
841 842
	* src/number-match.c (compute_value): Handle negative hh:mm.

843 844 845 846 847 848
2003-09-02  Jody Goldberg <jody@gnome.org>

	* src/func.c (function_call_with_list) : always pass something to
	  optional args with supplied values, even if the supplied value is
	  empty.

849 850 851 852 853 854
2003-09-01  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_graph_dim_editor_update) : If the
	  parse fails, popup an error for vectors, and fall back to a string
	  for scalars.

855 856 857 858
2003-09-01  Metin Amiroff  <metin@karegen.com>

	configure.in: Added "az" in ALL_LINGUAS.

859 860 861 862 863 864 865 866
2003-08-30  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-graph.c (cb_save_as): New. Save graph as image.
	(sheet_object_graph_populate_menu): New. Add 'Save as image' menu
	item.
	(sheet_object_graph_class_init): Use
	sheet_object_graph_populate_menu.

867 868
2003-08-27  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
869
	* src/gui-util.c (gnm_pixbuf_intelligent_scale): use height and
870 871 872 873
	  width arguments
	* src/gui-util.h (gnm_pixbuf_intelligent_scale): ditto
	* src/workbook-control-gui.c: add #include

874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897
2003-08-27  Jody Goldberg <jody@gnome.org>

	* src/sheet-control-gui.c (scg_mode_edit) : reset the menu/toolbar.
	(scg_mode_edit_object) : ditto.
	(scg_mode_create_object) : ditto.

	* src/workbook-control-gui.c (wbcg_sheet_to_page_index) : handle
	  invocation before there is a notebook.
	(wbcg_menu_state_update) : enable and disable clipboard operations
	  depending on object editing state.
	(cb_edit_cut) : remove asymetry of deleting during the cut command.
	(workbook_create_standard_toolbar) : store the clipboard toolbar
	  widgets for the non-bonobo case.
	(workbook_control_gui_init) : store the clipboard menu items for the
	  non-bonobo case.

	* src/dependent.c (dependent_link) : keep a tail pointer and append
	  new dependents to the list.  This is a slightly better fit to the
	  common idiom of starting at the top and working down, and papers
	  over the most common case of ultra deep recursion blowing the stack.
	  We'll need to solve this more rigorously during 1.3.
	(dependent_unlink) : ditto.
	(gnm_dep_container_new) : ditto.

898 899 900 901 902
2003-08-27  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/gui-util.c (gnm_pixbuf_intelligent_scale): new
	* src/gui-util.h (gnm_pixbuf_intelligent_scale): new

903 904 905 906 907 908 909 910 911 912
2003-08-26  Jody Goldberg <jody@gnome.org>

	* configure.in : remove duplicate call to AM_PROG_LIBTOOL

	* src/expr.c (cellrange_relocate) : don't confuse Sheet:NULL as a 3d
	  reference.

2003-08-25  Jody Goldberg <jody@gnome.org>

	* schemas/gnumeric-general.schemas.in : Use 'Sans Regular' as the
913
	  default font, just Sans confuses gnome-print
914

915 916 917 918 919 920
2003-08-26  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_dialog_image_file_selection): deleted
	(selchanged_foreach) : deleted
	(cb_file_open_selchanged) : deleted
	* src/gui-util.h (gnumeric_dialog_image_file_selection): deleted
Morten Welinder's avatar
Morten Welinder committed
921
	* src/workbook-control-gui.c (cb_insert_image):  use
922 923
	  preview_file_selection_new and not
	  gnumeric_dialog_image_file_selection
Morten Welinder's avatar
Morten Welinder committed
924

925 926 927 928
2003-08-25  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_dialog_file_selection):
	  watch for NULL wbcg
Morten Welinder's avatar
Morten Welinder committed
929

930 931 932 933 934 935
2003-08-25  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/gui-util.c (selchanged_foreach): new
	(cb_file_open_selchanged): new
	(gnumeric_dialog_image_file_selection): new
	* src/gui-util.h (gnumeric_dialog_image_file_selection): new
Morten Welinder's avatar
Morten Welinder committed
936
	* src/workbook-control-gui.c (cb_insert_image): use
937 938
	  gnumeric_dialog_image_file_selection

939 940 941 942 943
2003-08-25  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/GNOME_Gnumeric.xml: enable DataImportText
	* src/gui-file.c (gui_file_open): add format argument
	(file_opener_find_by_id): new
Morten Welinder's avatar
Morten Welinder committed
944
	* src/gui-file.h (gui_file_open): add format argument
945 946 947 948
	* src/workbook-control-gui.c: enable DataImportText
	(cb_file_open): add argument to gui_file_open
	(cb_data_import_text): enable and implement

949 950 951 952 953
2003-08-24  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=120562
	* src/style.h (DEFAULT_FONT): change to "Sans Regular"

954 955 956 957 958 959 960 961 962 963
2003-08-24  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/sheet-object-graph.c (cmd_so_graph_config): use
	  sheet_object_graph_user_config_t
	(sheet_object_graph_user_config_free_data): new
	(sheet_object_graph_user_config): use gclosure
	(sheet_object_graph_guru): ditto
	* src/sheet-object-graph.h (sheet_object_graph_guru): use gclosure
	* src/workbook-control-gui.c (cb_launch_chart_guru): use gclosure

964 965 966 967 968 969 970
2003-08-24  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=120541
	* src/sheet.c (sheet_delete_cols) : we were only flagging the residual
	  that moved as having changed, not the source.
	(sheet_delete_rows) : ditto.

971 972 973 974 975 976 977 978 979 980 981 982 983 984 985
2003-08-24  Jody Goldberg <jody@gnome.org>

	* src/commands.c (cmd_so_graph_config_redo) : no need to diddle with
	  references.  set_gog adds and unrefs as necessary internally.
	(cmd_so_graph_config_undo) : all we need to do is watch our
	  references.

	* src/sheet-object-graph.c (sheet_object_graph_set_gog) : beef this up
	  a bit to handle connecting and disconnecting the data.  Remove the
	  'attach_signals' flag.  That exposes more implementation than I'm
	  comfortable with.
	(sog_datas_set_sheet) : new.  Split out of new.  Split out of.
	(sheet_object_graph_set_sheet) : here.
	(sheet_object_graph_remove_from_sheet) : and here.

986 987
2003-08-23  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
988
	* src/commands.c (cmd_so_graph_config_redo): use
989 990 991 992 993 994 995 996 997
	  sheet_object_graph_set_gog
	(cmd_so_graph_config_undo): ditto
	(cmd_so_graph_config): initialize me->first_time
	* src/sheet-object-graph.h (sheet_object_graph_reassign_gog):
	  export sheet_object_graph_set_gog instead
	(sheet_object_graph_reassign_gog): delete
	(sheet_object_graph_set_gog): allow this function to be called
	  even with a second (or later) graph.

998 999
2003-08-23  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1000
	* src/commands.c
1001 1002
	(cmd_reorganize_sheets_delete_get_this_sheet_info): do not
	  exclude graphs
Morten Welinder's avatar
Morten Welinder committed
1003

1004 1005 1006 1007 1008 1009 1010 1011 1012
2003-08-23  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_so_graph_config*): new
	* src/commands.h (cmd_so_graph_config): new
	* src/sheet-object-graph.c (sheet_object_graph_reassign_gog): new
	(cb_update_graph): use cmd_so_graph_config
	(sheet_object_graph_user_config): store wbcg on sheetobject
	* src/sheet-object-graph.h (sheet_object_graph_reassign_gog): new

Jody Goldberg's avatar
Jody Goldberg committed
1013 1014
2003-08-23  Jody Goldberg <jody@gnome.org>

1015 1016
	* src/formats.c : Use english form of plural, not polish for Zlotys

Jody Goldberg's avatar
Jody Goldberg committed
1017 1018 1019
	* src/workbook-control-gui.c (cb_edit_cut) : if we're goign to delete
	  an object don't cut the selection too.

1020 1021 1022 1023 1024 1025
2003-08-22  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_get_dep) : new.
	  Use it to clear up all sorts of related concepts.
	(gnm_go_data_dup) : new.

Morten Welinder's avatar
Morten Welinder committed
1026 1027 1028 1029 1030
2003-08-22  Morten Welinder  <terra@gnome.org>

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet): Support
	End+Home.

Jody Goldberg's avatar
Jody Goldberg committed
1031 1032
2003-08-21  Jody Goldberg <jody@gnome.org>

1033 1034 1035 1036
	http://bugzilla.gnome.org/show_bug.cgi?id=120436
	* schemas/Makefile.am : simplfy.
	* gnumeric.spec.in : the other half of the schema installation
	  delete bogus gal req
Jody Goldberg's avatar
Jody Goldberg committed
1037

1038 1039 1040 1041 1042
2003-08-21  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump to 1.1.90 in prep for beta status
	  next week.

1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056
2003-08-21  Jody Goldberg <jody@gnome.org>

	* Release 1.1.20

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

	* src/main-component.c (main) : bind the encoding to utf8 here.
	* src/main-application.c (main) : and here.
	* src/libgnumeric.c (init_init) : rather than here, which is too
	  early.  It can't be done until after popt does its stuff.

	* src/sheet-object.c (sheet_object_clone) : set_sheet adds a
	  reference, we don't need to keep the original.

1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085
2003-08-19  Jody Goldberg <jody@gnome.org>

	* src/workbook-edit.c (wbcg_edit_attach_guru_main) : clear END-mode
	(wbcg_edit_detach_guru) : ditto.

	From John Gill :
	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Enable support
	  for END-mode keystrokes.  The transition keys do something a bit
	  funky though, disabled by default.
	* src/workbook-control-gui.c (wbcg_toggle_end_mode) : new.
	(wbcg_set_end_mode) : new.  To handle display of 'END-mode' keys.

2003-08-19  Jody Goldberg <jody@gnome.org>

	* src/value.c : Add #UNKNOWN! to avoid problems.

	* src/expr.c (bin_cmp) : split out of.
	(gnm_expr_eval) : here, in preparation for support implicit iteration
	  for operators.

	* schemas/gnumeric-general.schemas.in : disable transition keys by
	  default because they make the ctrl-arrow movement odd.

	* src/sheet-object-graph.c (sheet_object_graph_read_xml) : be more
	  lenient about invalid xml.
	* src/sheet-object.c (sheet_object_read_xml) : produce better
	  warnings for unknown objects, and recognize that a GnmGraph is a
	  graph even though we don't call it that anymore.

Morten Welinder's avatar
Morten Welinder committed
1086 1087 1088 1089 1090 1091
2003-08-20  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dependent_add_dynamic_dep): Identify
	single-cell dependencies and record them as such.  (Fixes
	performance problem 120290.)

1092 1093 1094 1095
2003-08-18  Morten Welinder  <terra@gnome.org>

	* src/main-application.c (main): s/printf/g_print/, see 120124.

1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108
2003-08-17  Jody Goldberg <jody@gnome.org>

	* src/selection.c (characterize_vec) : handle empty cells at the end
	  when characterizing.

2003-08-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=117711
	* src/sheet-view.c (sv_panes_insdel_colrow) : be smarter during
	  deletetion.
	* src/sheet-control-gui.c (scg_resize) : stave off some warnings while
	  unfreezing by not resizing the panes that we're about to delete.

1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119
2003-08-16  Jody Goldberg <jody@gnome.org>

	A bit of tidying to make 70184 simpler
	* src/cell.c (cell_is_empty) : renamed from cell_is_blank.  All
	  callers changed.
	(cell_is_blank) : new function that handles "" too.

	* src/sheet-filter.c (cb_collect_unique) : Use it here.
	(cb_filter_non_blanks) : here.
	(cb_filter_blanks) : and here.

1120 1121 1122 1123
2003-08-15  Danilo Šegan  <dsegan@gmx.net>

	* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.

1124 1125 1126 1127 1128
2003-08-15  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wbv_save_to_file): Handle output errors
	that happen after the initial open.

1129 1130 1131 1132 1133
2003-08-14  Carlos Perelló Marín <carlos@gnome.org>

	* configure.in: We need intltool 0.27.2 to be able to work with UTF-8
	strings inside source code.

1134 1135
2003-08-12  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1136
	* src/workbook-control.c (wb_control_parse_and_jump): make the range
1137 1138
	  also visible

1139 1140 1141 1142 1143
2003-08-12  Morten Welinder  <terra@gnome.org>

	* src/sheet-filter.c (filter_expr_init): Set ->date_conv before we
	use it.

1144 1145 1146 1147 1148 1149 1150 1151 1152
2003-08-11  Jody Goldberg <jody@gnome.org>

	* src/sheet-private.h : Add filters_changed flag.

	* src/sheet-filter.c (gnm_filter_new) : set it here.
	(gnm_filter_remove) : here.
	(sheet_filter_insdel_colrow) : and here.  Only add a new field if a
	  col is inserted in the midst of a filter range.  Inserting before or
	  after just ignores moves them.
Morten Welinder's avatar
Morten Welinder committed
1153

1154 1155 1156 1157 1158 1159 1160
	(gnm_filter_add_field) : fix inserting fields in the middle.

	* src/sheet.c (sheet_update_only_grid) : regenerate the menu here if
	  it's set.

	* src/workbook-control-gui.c (cb_auto_filter) : sheet_update handles
	  it now.
Carlos Perelló Marín's avatar
Carlos Perelló Marín committed
1161 1162

2003-08-11  Carlos Perelló Marín <carlos@gnome.org>
1163 1164

	* configure.in: Added a dependency with intltool 0.27 because
Kwok-Koon Cheung's avatar
Kwok-Koon Cheung committed
1165
	this project needs UTF-8 strings inside source code. (#85718)
1166

1167 1168 1169 1170 1171 1172
2003-08-10  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/session.c (set_clone_restart): new
	(interaction_function): call set_clone_restart
	(client_save_yourself_cb): call set_clone_restart

1173 1174
2003-08-09  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1175
	* src/sheet-object-graphic.c: replace helpfile address
1176 1177 1178
	  with #define from help.h
	* src/sheet-object-widget.c: ditto

1179 1180 1181 1182
2003-08-08  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/sheet-filter.c (cb_filter_blanks): hide non-blanks
	(cb_filter_non_blanks): hide blanks
Morten Welinder's avatar
Morten Welinder committed
1183

1184 1185 1186 1187 1188 1189 1190
2003-08-08  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/session.c: new
	* src/session.h: new
	* src/Makefile.am: add src/session.[ch]
	* src/main-application.c (main): call gnm_session_init

Jody Goldberg's avatar
Jody Goldberg committed
1191 1192 1193 1194
2003-08-04  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_read_solver) : beef up error checking.

1195 1196
2003-08-07  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1197
	* src/commands.c
1198 1199 1200 1201
	(cmd_reorganize_sheets_delete_get_this_sheet_info):
	  save sheet object and colrow info
	(cmd_reorganize_sheets_delete_recreate_sheet): also
	  recreate sheet objects and set colrow info
Morten Welinder's avatar
Morten Welinder committed
1202
	(cmd_reorganize_sheets_delete_free): free sheet object
1203 1204 1205
	  and colrow info
	(cmd_reorganize_sheets): increade command size if sheets
	  are being deleted.
Morten Welinder's avatar
Morten Welinder committed
1206

1207 1208 1209 1210 1211 1212 1213 1214 1215
2003-08-06  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_reorganize_sheets): add
	  argument to call of workbook_sheet_rename_check
	* src/workbook.c (workbook_sheet_rename_check):
	  ignore sheets to be deleted
	* src/workbook.c (workbook_sheet_rename_check):
	  add argument

1216 1217 1218 1219 1220
2003-08-06  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c: revert all the sheet pointer/index
	  changes thoughout

1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231
2003-08-06  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_search_replace_undo): update
	  sheet pointer in cells
	(cmd_search_replace_redo): ditto
	(cmd_search_replace): initialize sri->sheet_idx
	(cmd_search_replace_update_sheet_pointer): new
	(cmd_define_name_undo): update sheet pointer in ParsePos
	(cmd_define_name_redo): ditto
	(cmd_define_name): use an appropriate cmd.sheet

1232 1233 1234 1235 1236
2003-08-06  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_sort_redo): adjust sheet pointer
	(cmd_sort_undo): ditto

1237 1238 1239 1240 1241 1242
2003-08-05  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_analysis_tool_undo): add argument
	  to dao_update_sheet_pointer
	(cmd_analysis_tool_redo): ditto

1243 1244 1245 1246 1247 1248 1249 1250 1251 1252
2003-08-05  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_merge_data_destroy_rrlist): new
	(cmd_merge_data_delete_sheets): delete
	(cmd_merge_data_vallist_to_rrlist): new
	(cmd_merge_data_update_rrlist): new
	(cmd_merge_data_undo): use sheet indices
	(cmd_merge_data_redo): ditto
	(cmd_merge_data): store sheet indices

1253 1254
2003-08-05  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1255
	* src/commands.c (cmd_text_to_columns_impl): save sheet
1256 1257
	  index and update sheet pointer

1258 1259 1260 1261 1262
2003-08-04  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_set_text_redo): use cmd->sheet rather than
	  pos.sheet

1263 1264
2003-08-04  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1265
	* src/commands.c (cmd_analysis_tool_undo): call
1266 1267 1268 1269
	  dao_update_sheet_pointer before causing the sheet pointer to
	  be used
	(cmd_analysis_tool_redo): ditto

1270 1271 1272 1273 1274 1275
2003-08-04  Jon K Hellan  <hellan@acm.org>

	* configure.in: Make Python plugin depend on python >= 2.0 and
	pygtk-2.0. Remove WITH_PYGTK and BROKEN_PY_INITIALIZE
	conditionals.

1276 1277
2003-08-04  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1278
	* src/commands.c (cmd_ins_del_colrow*): use sheet info in
1279 1280 1281 1282
	  me->cmd,sheet
	(cmd_resize_colrow): ditto
	(cmd_colrow_std_size): ditto

1283 1284 1285 1286 1287
2003-08-04  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/workbook-view.c (wb_view_selection_desc): don't include
	  the number of rows (or columns) for full columns (or rows)

1288 1289 1290 1291 1292
2003-08-04  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.h (cmd_tabulate): new
	* src/commands.c (cmd_tabulate*): new

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
1293 1294 1295 1296 1297
2003-08-03  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/consolidate.c (consolidate_check_destination):
	  implement

1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322
2003-08-03  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_consolidate*): delete
	* src/commands.h (cmd_consolidate): delete
	* src/consolidate.c (consolidate_free): add argument
	(consolidate_set_destination): delete
	(consolidate_get_dest_bounding_box): delete
	(consolidate_apply): make static
	(tool_consolidate_engine): new
	(set_cell_expr): delete
	(set_cell_value): delete
	(redraw_respan_and_select): delete
	(simple_consolidate): use dao
	(cb_row_tree): ditto
	(row_consolidate): ditto
	(cb_col_tree): ditto
	(col_consolidate): ditto
	(colrow_consolidate): use dao and write values only once
	* src/consolidate.h (consolidate_free): add argument
	(consolidate_set_destination): delete
	(consolidate_get_dest_bounding_box): delete
	(consolidate_apply): delete
	(tool_consolidate_engine): new
	(consolidate_check_destination): new

1323 1324 1325 1326 1327
2003-08-03  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-graphic.c (sheet_object_graphic_user_config):
	Remove preview from tab sequence, yielding sane tabbing behaviour.

1328 1329 1330 1331 1332 1333
2003-08-01  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_set_comment_redo): don't keep a sheet
	  pointer across undo/redo.
	(cmd_set_comment): ditto

1334 1335 1336 1337 1338 1339 1340 1341 1342
2003-08-01  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_reorganize_sheets_delete_recreate_sheet):
	  paste content back
	(cmd_reorganize_sheets_delete_get_this_sheet_info): get content
	(cmd_reorganize_sheets_delete_free): free content
	* src/workbook-control-gui.c (delete_sheet_if_possible):
	  Do not ask for confirmation.

1343 1344 1345
2003-08-01  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=118830
Morten Welinder's avatar
Morten Welinder committed
1346
	* src/sheet.c (sheet_dup): convert to zoom factor 1 before
1347 1348
	  duplicating

Morten Welinder's avatar
Morten Welinder committed
1349 1350 1351 1352 1353
2003-08-01  Morten Welinder  <terra@gnome.org>

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

1354 1355 1356 1357 1358 1359 1360
2003-07-31  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_clone_sheet*): new command
	* src/commands.h (cmd_clone_sheet): new
	* src/workbook-control-gui.c (sheet_action_clone_sheet):
	  use cmd_clone_sheet
	(cb_edit_duplicate_sheet): use cmd_clone_sheet
Morten Welinder's avatar
Morten Welinder committed
1361

1362 1363
2003-07-31  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1364
	* src/commands.c: switch from sheet pointer to sheet indices
1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386
	  throughout
	(cmd_reorganize_sheets_delete_sheets): deleted
	(cmd_reorganize_sheets_delete_get_this_sheet_info): new
	(cmd_reorganize_sheets_delete_shift_list): new
	(cmd_reorganize_sheets_delete_cmp_f): new
	(cmd_reorganize_sheets_delete_get_all_sheets_info): new
	(cmd_reorganize_sheets_delete_recreate_sheet): new
	(cmd_reorganize_sheets_delete_free): new
	(cmd_reorganize_sheets_fix_list): new
	(cmd_reorganize_sheets_undo): do most of the work here rather than
	  in workbook_sheet_reorganize
	(cmd_reorganize_sheets_redo): ditto
	(cmd_reorganize_sheets): handle deletion
	(cmd_reorganize_sheets_finalize): handle deletion
	* src/commands.h: change arguments to cmd_reorganize_sheets
	* src/workbook-control-gui.c (insert_sheet_at): new
	(cb_insert_sheet): use insert_sheet_at
	(cb_append_sheet): change call to cmd_reorganize_sheets
	(delete_sheet_if_possible): use cmd_reorganize_sheets
	(sheet_action_clone_sheet): temporarily append clone sheet (rather
	  than insert) to protect the undo-chain
	(cb_edit_duplicate_sheet): ditto
Morten Welinder's avatar
Morten Welinder committed
1387
	(cb_sheet_label_drag_data_received): change arguments to
1388
	  cmd_reorganize_sheets
Morten Welinder's avatar
Morten Welinder committed
1389
	* src/workbook.c (workbook_sheet_by_index): handle index -1
1390 1391 1392 1393 1394 1395 1396
	  separately
	(workbook_sheet_reorder): drop last argument
	(workbook_sheet_reorder_by_idx): new
	(workbook_sheet_recolor): new
	(workbook_sheet_rename): new
	(workbook_sheet_rename_check): new
	(workbook_sheet_change_protection): new
Morten Welinder's avatar
Morten Welinder committed
1397
	(workbook_sheet_reorganize): delete
1398 1399 1400 1401 1402 1403 1404 1405
	* src/workbook.h (workbook_sheet_reorder): drop last argument
	(workbook_sheet_reorder_by_idx): new
	(workbook_sheet_recolor): new
	(workbook_sheet_rename): new
	(workbook_sheet_rename_check): new
	(workbook_sheet_change_protection): new
	(workbook_sheet_reorganize): delete

1406 1407 1408 1409 1410 1411 1412 1413 1414
2003-07-31  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (maybe_convert) : seek back to the start if we don't
	  need to convert things.  Assume we were already at the start on
	  arrival.
	(maybe_gunzip) : ditto.
	* plugins/xml_sax/xml-sax-read.c (maybe_convert) : ditto.
	(maybe_gunzip) : ditto.

1415 1416 1417 1418 1419 1420
2003-07-31  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_vector_get_value) : implement.
	(gnm_go_data_vector_get_str) : implement and adjust to signature
	  change.

1421 1422 1423 1424 1425 1426
2003-07-31  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (maybe_gunzip, maybe_convert): New functions.
	(xml_probe, gnumeric_xml_read_workbook): Use above to handle 1.0
	documents (lacking encoding).

1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440
2003-07-30  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=118723
	* src/xml-io.c (copy_hash_table_to_ptr_array) : always export cells
	  with expressions, even if it's value is blank,

	* src/sheet-object.c (sheet_object_register) : add sheet-object-image.

2003-07-30  Jody Goldberg <jody@gnome.org>

	For : Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
	* icons/Makefile.am: add chart_{line,area}*.png icons, and a pile of
	  svg for the future.

1441 1442 1443
2003-07-30  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* samples/test-math.gnumeric: add apostrophes around PASS and NO.
Morten Welinder's avatar
Morten Welinder committed
1444

1445 1446
2003-07-30  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1447
	* src/workbook-control-gui.c: Change verb name ToolsScenario to
1448 1449
	  ToolsScenarioAdd

1450 1451 1452 1453 1454 1455
2003-07-28  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=118261
	* src/sheet-object-image.c (sheet_object_image_update_bounds) : fix
	  when there really is an image.

1456 1457 1458 1459 1460 1461 1462 1463 1464 1465
2003-07-28  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_scalar_eq) : handle the delayed connection
	  to the sheet where the expression is still NULL because we have not
	  parsed it yet.
	(gnm_go_data_vector_eq) : ditto.

	* src/func.c (function_call_with_list) : allow implicit iteration that
	  does not start at the first argument.

1466 1467 1468 1469 1470 1471 1472 1473 1474 1475
2003-07-27  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-graphic.c (sheet_object_filled_user_config,
	sheet_object_graphic_user_config): Make <return> in text entry,
	spin button fields activate default.

	* src/sheet-object-widget.c (sheet_widget_adjustment_user_config,
	sheet_widget_checkbox_user_config): Make <return> in text entry,
	expression entry fields activate default.

1476 1477 1478 1479 1480 1481 1482
2003-07-26  Jon K Hellan  <hellan@acm.org>

	* src/plugin.c (gnm_plugin_try_unref): New function. Unref plugin
	object if it is legal to destroy it.
	(plugins_shutdown): Use it. Fixes
	http://bugzilla.gnome.org/show_bug.cgi?id=114211.

1483 1484
2003-07-25  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1485 1486
	* src/gui-util.c (gnumeric_clist_moveto): Finally delete this.

1487 1488 1489 1490 1491 1492 1493
	* src/stf-parse.c (stf_parse_options_fixed_splitpositions_clear):
	Add terminator here.
	(stf_parse_options_fixed_splitpositions_add): Insert sorted.
	(stf_parse_options_fixed_splitpositions_remove,
	stf_parse_options_fixed_splitpositions_count,
	stf_parse_options_fixed_splitpositions_nth): New functions.

1494 1495 1496 1497 1498
2003-07-23  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_goal_seek*): new
	* src/commands.h (cmd_goal_seek): new

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
1499 1500 1501 1502 1503
2003-07-23  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_solver*): new
	* src/commands.h (cmd_solver): new

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
1504 1505 1506 1507
2003-07-23  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_text_to_columns*): new
	* src/commands.h (cmd_text_to_columns): new
Morten Welinder's avatar
Morten Welinder committed
1508
	* src/gui-clipboard.c
Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
1509 1510
	(text_to_cell_region): use stf_dialog_result_attach_formats_to_cr
	* src/stf.c (stf_text_to_columns) use stf_parse_region and
Morten Welinder's avatar
Morten Welinder committed
1511
	  stf_dialog_result_attach_formats_to_cr rather than
Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
1512 1513
	  stf_store_results

Jody Goldberg's avatar
Jody Goldberg committed
1514 1515 1516 1517 1518
2003-07-22  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-widget.c (sheet_widget_button_set_label) : remove
	  debug spew.

1519 1520 1521 1522 1523 1524 1525
2003-07-22  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-image.c (sheet_object_image_update_bounds):
	Take care of placeholder tiling here.

	* src/gui-util.c (gnm_pixbuf_tile): New function.

1526 1527 1528
2003-07-21  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=117409
Morten Welinder's avatar
Morten Welinder committed
1529
	* src/stf-parse.c (stf_parse_region): fix one-off error in
1530 1531
	  number of columns

1532 1533 1534 1535 1536
2003-07-21  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-image.c (soi_get_pixbuf): Stop making silly
	files.  Show a "?" image instead of files we do not understand.

1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550
2003-07-18  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-widget.c (sheet_widget_slider_create_widget) : Mark
	  the object as being in the process of an update when a new widget is
	  created.  Otherwise the assignment of the new adjustment will look
	  like an update and dirt the workbook.
	(sheet_widget_spinbutton_create_widget) : ditto.
	(sheet_widget_scrollbar_create_widget) : ditto.

2003-07-18  Jody Goldberg <jody@gnome.org>

	For Joseph Pingenot <trelane@digitasaru.net>
	* src/sheet-object-widget.c : Add Spinner and Slider.

1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565
2003-07-18  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (mstyle_hash_internal) : renamed from mstyle_hash,
	  internalized and generalized.
	(mstyle_hash_XL) : new.
	(mstyle_hash) : new.

2003-07-17  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_sheet_add) : no need to set the
	  zoom again  sheet_control_gui_new already did.

	* src/sheet-control-gui.c (scg_finalize) : remove the comment window
	  if it is displayed.

1566 1567
2003-07-17  Morten Welinder  <terra@gnome.org>

1568 1569 1570
	* src/io-context-gtk.c (icg_user_is_impatient): Improve
	large-latency case.

1571 1572 1573 1574 1575
	* src/io-context.c (io_progress_update): Make sure we update at
	the end, so the display doesn't stop at, say, 95%.
	(value_io_progress_update): Ditto.
	(count_io_progress_update): Ditto.

1576 1577 1578 1579
	* src/number-match.c (format_create_regexp): Approach working
	state for fractions.
	(compute_value): Handle fractions.

1580 1581 1582 1583 1584 1585
	* src/workbook-control-gui.c (cb_sheet_label_drag_begin): Get
	marker from application.

	* src/application.c (gnumeric_application_setup_pixbufs): Add
	sheet_move_marker.

1586 1587 1588 1589
	* src/item-bar.c (item_bar_calc_size): Calculate the width based
	on SHEET_MAX_ROWS.  (This makes it slightly narrower than it used to,
	probably a good thing.)

Jody Goldberg's avatar
Jody Goldberg committed
1590 1591 1592 1593 1594 1595 1596 1597 1598 1599
2003-07-16  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c : include gog-data-set.h

	* src/stf.c (csv_tsv_probe) : probe content must be true or we won't
	  accept the match.

	* src/sheet-view.c (sv_init_sc) : set the zoom early to avoid problems
	  when attaching an existing control to a new sheet.

Morten Welinder's avatar
Morten Welinder committed
1600 1601
2003-07-16  Morten Welinder  <terra@gnome.org>

1602 1603 1604
	* src/io-context-gtk.c (icg_show_gui): Load splash from
	application.  (So it can be displayed fast.)

1605
	* src/application.c (gnumeric_application_setup_pixbufs): Add line
1606
	and background patterns.  Ditto for splash and borders.
1607

Morten Welinder's avatar
Morten Welinder committed
1608 1609
	* src/format.c (style_format_equal): Just compare pointers.

1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621
2003-07-15  Jody Goldberg <jody@gnome.org>

	From John Gill :
	* schemas/gnumeric-general.schemas.in : Add core/gui/editing/transitionkeys
	* src/application.c (application_history_add) : new.
	(application_set_transition_keys) : new.
	* src/gnumeric-gconf.c (gnm_conf_init) : load the new pref.
	(gnm_gconf_set_transition_keys) : new.

	* src/item-cursor.c (item_cursor_selection_event) : Improve the
	  heuristics even further.

1622 1623
2003-07-15  Morten Welinder  <terra@gnome.org>

1624 1625 1626 1627 1628 1629
	* src/format.c (style_format_build): New function.
	(style_format_number, style_format_account, style_format_science,
	style_format_percent, style_format_fraction): Move from format.c
	and make static.  Change to returning StyleFormat* instead of
	building a string.  All callers changed.

1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642
	* src/auto-format.c (is_date): Use precomputed family.
	* src/sheet-autofill.c (fill_item_new): Ditto.

	* src/formats.c (cell_format_classify): Don't use
	style_format_is_general since this function must work early.

	* src/format.h (struct _StyleFormat): Add family and family_info
	members.

	* src/format.c (style_format_new_XL): Init family stuff.
	(style_format_is_general, style_format_is_text): Make these
	macros.

1643 1644
2003-07-15  Morten Welinder  <terra@gnome.org>

1645 1646 1647 1648 1649 1650 1651 1652
	* src/format.h: Suck in formats.h and remove that file.  All
	includers fixed.

	* src/format.c (style_format_str_as_XL): Avoid a gazillion strlen
	calls.
	(style_format_new_XL): Don't free strings that aren't ours to
	free.

1653 1654 1655 1656 1657 1658 1659 1660
	* src/commands.c (cmd_selection_clear): Avoid a pointless strlen.

	* src/clipboard.c (cellregion_to_string): Avoid a silly copy of
	the result (and a few pointless strlens).

	* src/formats.c (style_format_number): Avoid making a copy of the
	format.

1661 1662
	* src/format.c (format_number): Fix sign position for fractions.
	Align fractions.
1663 1664 1665 1666
	(append_year, append_month, append_day, append_hour,
	append_hour_elapsed, append_minute, append_minute_elapsed,
	append_second, append_second_elapsed, format_number): Simplify
	using g_string_append_printf.
1667

1668 1669 1670 1671 1672 1673
2003-07-14  Morten Welinder  <terra@gnome.org>

	* src/auto-format.c (is_date): New function.
	(do_af_suggest): Be smarter about date differences.  They're
	common and formatting them as dates is irritating.

1674 1675 1676 1677 1678
2003-07-13  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/commands.c (cmd_analysis_tool_redo): recalc
	(cmd_analysis_tool_undo): ditto

1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694
2003-07-10  Jody Goldberg <jody@gnome.org>

	* src/func.c (function_dump_defs) : tack on category
	  and make the generated links for the state dump uppercase to match
	  the results from yelp.

2003-07-10  Jody Goldberg <jody@gnome.org>

	* src/stf.c (csv_tsv_probe) : quicky bogus probe for csv/tsv suffixes.
	  We really need to merge the plugin service and the Openers for 1.3

2003-07-09  Jody Goldberg <jody@gnome.org>

	* configure.in : we're not going to be finished in time.  Make bonobo
	  the default.

1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707
2003-07-11  Morten Welinder  <terra@gnome.org>

	* src/formats.c (style_format_fraction): Handle fixed-denominator
	fractional formats.
	(cell_format_fraction): Add three-digit general and several
	fixed-denominator fractional formats.
	(currency_date_format_init): Recognize fractional formats with
	explicit denominator.
	(cell_format_is_fraction): Recognize explicit denominator.

	* src/format.c (format_add_decimal, format_remove_decimal): Do
	something sensible for fixed-denominator fractional formats.

1708 1709 1710 1711 1712 1713
2003-07-11  Morten Welinder  <terra@gnome.org>

	* src/format.c (format_toggle_thousands, format_add_decimal,
	format_remove_decimal, reformat_decimals): Return a StyleFormat,
	not a [vile XL format] string.  All callers changed.

1714 1715
2003-07-10  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1716 1717 1718 1719 1720
	* src/format.c (format_toggle_thousands): New function.

	* src/workbook-format-toolbar.c (cb_format_with_thousands): Toggle
	thousands separator instead of just applying a random format.

1721 1722 1723 1724 1725
	* src/formats.c (style_format_account): Do not discard old part of
	result.
	(currency_date_format_init): Add optional quotes around currency
	symbol.

1726 1727 1728 1729 1730
	* src/workbook-view.c (wb_view_format_feedback): Take cell value's
	format into account.

	* src/format.c (style_format_equal): New function.

1731 1732 1733 1734
2003-07-09  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/stf.c (stf_text_to_columns): do not pass null data to stf_dialog

1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746
2003-07-09  Morten Welinder  <terra@gnome.org>

	* src/formats.c (currency_date_format_shutdown): Free regexps.
	(currency_date_format_init): Build regexp for fractions.
	(cell_format_is_fraction): New function.
	(cell_format_classify): Recognize fraction with precision.

	* src/format.c (format_remove_decimal, format_add_decimal): Handle
	fraction formats too.

	* src/formats.c (style_format_fraction): New function.

1747 1748 1749 1750 1751
2003-07-09  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/stf.c (stf_text_to_columns): do not post an error on user cancel.

2003-07-09  Andreas J. Guelzow  <aguelzow@taliesin.ca>
1752 1753 1754 1755 1756 1757

	* src/stf.c (stf_read_workbook): do not post a cancelled "error"
	* src/workbook-view.c (wb_view_new_from_input): if the workbook
	  has no sheet but we didn't have an error, the user must have
	  cancelled

Jody Goldberg's avatar
Jody Goldberg committed
1758 1759 1760 1761 1762 1763 1764 1765
2003-07-08  Jody Goldberg <jody@gnome.org>

	* src/application.c (gnumeric_application_setup_icons) : add
	  spinbutton

	* src/pixmaps/Makefile.am : Add spin button and use the icons from
	  glade for button and radio button.

1766 1767 1768 1769 1770 1771 1772 1773
2003-07-08  Morten Welinder  <terra@gnome.org>

	* src/datetime.c (days_between_basis): Handle new basis
	BASIS_MSRB_30_360_SYM.
	(days_between_BASIS_MSRB_30_360_SYM): New function.
	(days_between_BASIS_MSRB_30_360): Handle end-of-February
	correctly.

1774 1775
2003-07-07  Morten Welinder  <terra@gnome.org>

1776 1777
	* src/datetime.c (yearfrac): Even get February 29 right.

1778 1779 1780
	* src/mathfunc.c (lbeta3): Gimme a brown paper bag.  (Thanks to
	deaddog for spotting.)

Morten Welinder's avatar
Morten Welinder committed
1781 1782
	* src/sheet-style.c: Use pool allocation.

1783 1784 1785 1786 1787
	* src/value.c (value_equal): Change to eq-style semantics
	(matching the hash function).

	* src/expr.c (gnm_expr_equal): Use value_equal.

1788 1789 1790 1791 1792 1793 1794 1795 1796
	* src/workbook-control-gui.c (workbook_control_gui_init): Fix
	numbering after separator.
	(workbook_control_gui_init): Remove assignments to members
	menu_item_sheets_edit_reorder and menu_item_sheets_format_reorder.
	(Wrong, but unused anyway.)

	* src/workbook-view.c (wb_view_sendto): Fix encoding confusion.
	(wb_view_sendto): Fix uninitialized use of "problem".

1797 1798 1799 1800 1801 1802
2003-07-06  Jody Goldberg <jody@gnome.org>

	For John Gill <jng@renre.com>
	* src/item-cursor.c (item_cursor_selection_event) : More XLish
	  heuristics for autofill range selection when double clicking.

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
1803 1804
2003-07-06  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1805
	* src/stf-parse.c (stf_parse_sheet): no col_import_array means
Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
1806 1807 1808 1809
	  we want to import all columns
	(stf_parse_region): ditto
	* src/stf.c (stf_apply_formats): ditto

1810 1811 1812 1813 1814 1815
2003-07-06  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in:
	* plugins/Makefile.am: added gnome-db plugin directory, built only
	when Bonobo is compiled in.

1816 1817 1818 1819
2003-07-06  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/GNOME_Gnumeric.xml: clean up the sheet insert/append issue
	* src/workbook-control-gui.c: ditto
Morten Welinder's avatar
Morten Welinder committed
1820
	(cb_insert_sheet): insert the sheet after the current sheet
1821 1822 1823 1824 1825 1826
	  rather than append
	(cb_append_sheet): append a new sheet
	(sheet_action_add_sheet): use cmd_... via cb_append_sheet rather
	  than adding without undo
	(sheet_action_insert_sheet): new

1827 1828 1829 1830 1831
2003-07-05  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/gui-clipboard.c: change dialogresult->formats to
	  dialogresult->parseoptions->formats thoughout
	* src/stf-parse.c (stf_parse_options_new): initialize formats
Morten Welinder's avatar
Morten Welinder committed
1832
	(stf_parse_options_free (stf_parse_region): rewrite
1833 1834 1835 1836 1837
	* src/stf-parse.h: add formats list to parseoptions
	* src/stf.c (stf_store_results): split into stf_store_results
	  and stf_apply_formats
	(stf_apply_formats): new

1838 1839 1840 1841 1842 1843 1844
2003-07-05  Morten Welinder  <terra@gnome.org>

	* src/position.c (cellref_hash): Use hash space much better.

	* src/expr.c (expr_tree_sharer_destroy): Provide a sane hash for
	cell refs!

1845 1846
2003-07-05  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1847
	* src/GNOME_Gnumeric.xml: adding ellipses to the stat analysis
1848 1849 1850
	  menu items
	* src/workbook-control-gui.c: ditto

1851 1852
2003-07-04  Andreas J. Guelzow  <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1853
	* src/GNOME_Gnumeric.xml: fix tooltip inconsistence and
1854 1855
	  add stock item to delete
	* src/workbook-control-gui.c: ditto
Morten Welinder's avatar
Morten Welinder committed
1856

1857 1858 1859 1860 1861
2003-07-04  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: require libgnomedb CVS version, for
	gnome_db_login_set_dsn.

1862 1863 1864 1865
2003-07-04  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: added check for libgnomedb.

1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881
2003-07-04  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_sendto) : quick implementation that
	  hard codes evolution-1.4, and its syntax.  Will leak the file if we
	  exit too soon after sending.

	* src/sheet-object-graphic.c (cb_dialog_graphic_config_destroy) : fix leak.
	(cb_dialog_graphic_config_ok_clicked) : delete.
	(cb_fill_color_changed) : simplify.
	(sheet_object_graphic_user_config) : tidy and set mnemonics for the
	  colour combos.
	(sheet_object_filled_user_config) : ditto.
	(cb_dialog_filled_config_destroy) : fix leaks.
	(cb_fillcolor_changed) : simplify
	(cb_outlinecolor_changed) : ditto.

1882 1883
2003-07-03  Jon K Hellan  <hellan@acm.org>

Morten Welinder's avatar
Morten Welinder committed
1884 1885
	* src/sheet-object-graphic.c (sheet_object_graphic_user_config)
	(sheet_object_filled_user_config)
1886 1887 1888
	(sheet_object_filled_user_config): Turn off color combo
	tearoff behaviour in dialogs.

1889 1890 1891 1892 1893
2003-07-02  Jody Goldberg <<