OChangeLog-2005-11-14 368 KB
Newer Older
Morten Welinder's avatar
Morten Welinder committed
1 2
2003-07-16  Morten Welinder  <terra@gnome.org>

3 4 5
	* src/io-context-gtk.c (icg_show_gui): Load splash from
	application.  (So it can be displayed fast.)

6 7 8
	* src/application.c (gnumeric_application_setup_pixbufs): Add line
	and background patterns.

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

11 12 13 14 15 16 17 18 19 20 21 22
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.

23 24
2003-07-15  Morten Welinder  <terra@gnome.org>

25 26 27 28 29 30
	* 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.

31 32 33 34 35 36 37 38 39 40 41 42 43
	* 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.

44 45
2003-07-15  Morten Welinder  <terra@gnome.org>

46 47 48 49 50 51 52 53
	* 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.

54 55 56 57 58 59 60 61
	* 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.

62 63
	* src/format.c (format_number): Fix sign position for fractions.
	Align fractions.
64 65 66 67
	(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.
68

69 70 71 72 73 74
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.

75 76 77 78 79
2003-07-13  Andreas J. Guelzow  <aguelzow@taliesin.ca>

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

80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
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.

96 97 98 99 100 101 102 103 104 105 106 107 108
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.

109 110 111 112 113 114
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.

115 116
2003-07-10  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
117 118 119 120 121
	* 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.

122 123 124 125 126
	* src/formats.c (style_format_account): Do not discard old part of
	result.
	(currency_date_format_init): Add optional quotes around currency
	symbol.

127 128 129 130 131
	* src/workbook-view.c (wb_view_format_feedback): Take cell value's
	format into account.

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

132 133 134 135
2003-07-09  Andreas J. Guelzow  <aguelzow@taliesin.ca>

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

136 137 138 139 140 141 142 143 144 145 146 147
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.

148 149 150 151 152
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>
153 154 155 156 157 158

	* 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
159 160 161 162 163 164 165 166
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.

167 168 169 170 171 172 173 174
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.

175 176
2003-07-07  Morten Welinder  <terra@gnome.org>

177 178
	* src/datetime.c (yearfrac): Even get February 29 right.

179 180 181
	* src/mathfunc.c (lbeta3): Gimme a brown paper bag.  (Thanks to
	deaddog for spotting.)

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

184 185 186 187 188
	* src/value.c (value_equal): Change to eq-style semantics
	(matching the hash function).

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

189 190 191 192 193 194 195 196 197
	* 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".

198 199 200 201 202 203
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
204 205 206 207 208 209 210
2003-07-06  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/stf-parse.c (stf_parse_sheet): no col_import_array means 
	  we want to import all columns
	(stf_parse_region): ditto
	* src/stf.c (stf_apply_formats): ditto

211 212 213 214 215 216
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.

217 218 219 220 221 222 223 224 225 226 227
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
	(cb_insert_sheet): insert the sheet after the current sheet 
	  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

228 229 230 231 232 233 234 235 236 237 238
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
	(stf_parse_options_free (stf_parse_region): rewrite 
	* 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

239 240 241 242 243 244 245
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!

246 247 248 249 250 251
2003-07-05  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/GNOME_Gnumeric.xml: adding ellipses to the stat analysis 
	  menu items
	* src/workbook-control-gui.c: ditto

252 253 254 255 256 257
2003-07-04  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/GNOME_Gnumeric.xml: fix tooltip inconsistence and 
	  add stock item to delete
	* src/workbook-control-gui.c: ditto
	
258 259 260 261 262
2003-07-04  Rodrigo Moya <rodrigo@gnome-db.org>

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

263 264 265 266
2003-07-04  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: added check for libgnomedb.

267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
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.

283 284 285 286 287 288 289
2003-07-03  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-graphic.c (sheet_object_graphic_user_config) 
	(sheet_object_filled_user_config) 
	(sheet_object_filled_user_config): Turn off color combo
	tearoff behaviour in dialogs.

290 291 292 293 294
2003-07-02  Jody Goldberg <jody@gnome.org>

	* src/sheet-control-gui.c (scg_comment_display) : Use gtk_window_move
	  in place of the deprecated gtk_widget_set_uposition.

295 296 297 298 299 300 301
2003-07-02  Morten Welinder  <terra@gnome.org>

	* src/datetime.c (yearfrac): Swap args if incorrectly ordered.
	Make it clear that we're counting February 29ths, not leap days.
	(Leap days are February 24ths, if you must know.)  Get the less
	than one year special case right.

302 303 304 305 306
2003-07-02  Jody Goldberg <jody@gnome.org>

	* po/Makefile.in.in : As suggested by tino, try to do a release
	  without the .gmo files.

307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322
2003-07-02  Jody Goldberg <jody@gnome.org>

	* src/print.c (print_sheet_objects) : translate to the upper left
	  corner of the object and pass in its width and height.
	* src/sheet-object.c (sheet_object_print) : adjust print interface to
	  only pass width and height in pts.  print context is already at 0,0
	  and scaled.
	* src/sheet-object-graph.c (sheet_object_graph_print) : Use new
	  cleaner interface.
	* src/sheet-object-image.c (sheet_object_image_print) : ditto.
	* src/sheet-object-graphic.c (sheet_object_graphic_print) :
	  Save the graphics context before filling and just resuse it for the
	  outline.  Fix the direction handling for the new interface
	  semantics.
	(sheet_object_filled_print) : ditto.

Morten Welinder's avatar
Morten Welinder committed
323 324 325 326
2003-07-01  Morten Welinder  <terra@gnome.org>

	* src/datetime.c (yearfrac): New function.

327 328 329 330 331 332 333 334 335 336 337 338 339 340 341
2003-07-01  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : Be even more delicate about changeing built
	  sources.  Be very anal about not including generated files in the
	  release.
	* src/gnumeric-paths.sh.in : No need to handle paths here.  Do it in
	  the make file.

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

	http://bugzilla.gnome.org/show_bug.cgi?id=115929
	For gjc@inescporto.pt (Gustavo Carneiro)
	* autogen.sh : Use gnome-common's libtool version test rather than the
	  antiquated version in here that did not handle libtool-1.5

342 343 344 345 346
2003-07-01  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=116447
	* src/formats.c (style_format_account) : fix typo.

347 348
	* src/GNOME_Gnumeric.xml : Add FileSend

349 350 351 352 353 354 355 356 357 358 359
2003-06-30  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-paths.sh.in : Add exec_prefix

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

	For Ben Liblit
	* configure.in : add src/gnumeric-paths.sh
	* src/Makefile.am : Use src/gnumer-paths.sh and remove the all-local
	  kludge.

360 361
2003-07-01  Morten Welinder  <terra@gnome.org>

362 363 364
	* src/graph.c (gnm_go_data_vector_load_values): Always set minimum
	and maximum.

365 366 367
	* src/stf-parse.c (stf_parse_csv_cell): Don't use O(n^2) UTF-8
	validation.

368 369 370
	* src/sheet-control-gui.c (cb_table_destroy): Properly release
	panes.

371 372
2003-06-30  Morten Welinder  <terra@gnome.org>

373 374 375
	* src/libgnumeric.c (gnm_common_init, gnm_shutdown): Style depends
	on colours.

376 377 378
	* src/commands.c (cmd_set_text_redo): Don't override a user
	format.

379 380 381 382
	* src/gui-clipboard.c (text_to_cell_region): Handle column
	selection here too.
	* src/stf-parse.c (stf_parse_region): Ditto.

383 384
2003-06-29  Morten Welinder  <terra@gnome.org>

385 386 387 388
	* src/formats.c (style_format_percent, style_format_science,
	style_format_account, style_format_number): Simplify using
	g_string_append_len.

389 390
	* src/stf.c (stf_store_results): Don't switch locales here.

391 392 393 394 395 396 397 398 399 400 401
2003-06-28  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/stf-parse.c (stf_parse_options_new): initialize new fields
	(stf_parse_options_free): free new fields
	(stf_parse_csv_line): show all columns
	(stf_parse_sheet): only store selected rows (and formats vary within 
	  each row!)
	* src/stf-parse.h: add col_import_array to parse_options
	* src/stf.c (stf_store_results): apply only the format of selected
	  columns

Jody Goldberg's avatar
Jody Goldberg committed
402 403 404 405 406 407
2003-06-27  Jody Goldberg <jody@gnome.org>

	* src/datetime.c (days_between_basis) : tidy up a bit.
	(annual_year_basis) : move this here from the date plugin and use the
	  enum to improve clarity.

408 409 410 411 412 413
2003-06-27  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=115503
	* src/formats.c (cell_format_classify): set the date related
	  FormatCharacteristics to something valid (not just to something sane)

414 415 416
2003-06-27  Morten Welinder  <terra@gnome.org>

	* src/rendered-value.c (cell_get_entered_text): Always quote
417
	string values starting with a quote.
418

419 420 421 422 423 424 425 426
2003-06-26  Jody Goldberg <jody@gnome.org>

	* src/gui-file.c (ask_for_file_saver) : ditto.
	* src/file.c (gnm_file_saver_save_to_stream_real) : delete.  We can
	  handle this via libgsf now.

	* src/workbook-control-gui-priv.h : some cleanup.

427 428 429 430 431
2003-06-27  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui-priv.h (struct _WorkbookControlGUI):
	Remove clipboard_paste_callback_data.

432 433 434 435 436 437 438 439 440
2003-06-26  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (struct GnmGtkClipboardCtxt): New struct,
	clipboard paste context.
	(complex_content_received): Request fallback format if paste
	doesn't succeed.
	(x_clipboard_received): Choose a table or spreadsheet format as
	preferred paste format, and a string format to fall back to.

441 442 443 444 445
2003-06-26  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (stf_parse_options_guess): Improve separator
	guessing.

446 447
2003-06-25  Morten Welinder  <terra@gnome.org>

448 449 450
	* src/gui-util.c (gdk_cursor_new_from_pixbuf): Please leaks in
	stolen code...

451 452 453 454
	* src/expr.c (do_expr_as_string): Make this produce "(-2)^2", not
	"-2^2", to cut down on surprises.  Fix old bug in other
	()-insertion.

455 456 457 458 459
2003-06-25  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/func-builtin.c: change category name to match previous change 
	  in fn-math plugin

460 461 462 463 464 465
2003-06-25  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (x_clipboard_get_cb): Use
	gtk_selection_data_set_text when pasting as string. Makes pasting
	non Latin-1 work.

466 467 468 469 470 471
2003-06-24  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=115853
	* src/formats.c (style_format_number) : generate an _un_translated
	  format.

472 473 474 475 476
2003-06-24  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (x_clipboard_get_cb): Call
	gtk_selection_data_set with correct data flavour.

Morten Welinder's avatar
Morten Welinder committed
477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509
2003-06-24  Morten Welinder  <terra@gnome.org>

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

	* src/pixmaps/Makefile.am (VARIABLES): Extra gnm_cursor_cross from
	gui-util.c.

	* src/sheet-control-gui.c (scg_set_display_cursor): Use
	gnm_widget_set_cursor methods.

	* src/item-grid.c (cb_cursor_motion): Use
	gnm_pane_mouse_cursor_set.

	* src/gnumeric-pane.h (GnumericPane): Replace cursor_type member
	by mouse_cursor.

	* src/gnumeric-pane.c (gnm_pane_release): Free mouse_cursor.
	(gnm_pane_mouse_cursor_set): New function.

	* src/gui-util.c (gdk_cursor_new_from_pixbuf)
	[!HAVE_GDK_CURSOR_NEW_FROM_PIXBUF]: New function.
	(CursorDef, cursor_cross_xpm, gnm_cursor_init1, gnm_cursor_create,
	gnm_cursor_set_widget): Delete.
	(gnm_widget_set_cursor_type): Rename from gnm_widget_set_cursor.
	All callers changed.
	(gnm_widget_set_cursor): New function.
	(gnm_fat_cross_cursor): New function.

	* configure.in: Check for gdk_cursor_new_from_pixbuf.

	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
	Use application_get_pixbuf to get icons for color_combo_new.

510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528
2003-06-24  Jon K Hellan  <hellan@acm.org>

	* src/plugin-service.c (plugin_service_file_saver_read_xml):
	Recognize save_scope value "range".

	* src/gui-file.c (make_format_chooser): Leave savers with scope
	'range' out from menu.

	* src/gui-clipboard.c (table_cellregion_write): New
	function. Convert to memory buffer in format wanted by clipboard
	by pasting into a temporary workbook, saving that to a memory
	output stream.
	(x_clipboard_get_cb): Export to clipboard as xhtml.

	* src/file.h (enum FileSaveScope): Add FILE_SAVE_RANGE, used when
	exporting to clipboard.

	* src/file.[ch] (gnm_file_saver_get_save_scope): Constify.

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
529 530 531 532 533
2003-06-23  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/main-application.c (warn_about_ancient_gnumerics): change
	  Gnumeric URL
	
534 535
2003-06-23  Morten Welinder  <terra@gnome.org>

536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554
	* src/item-edit.c (item_edit_event): Use gnm_widget_set_cursor.

	* src/item-cursor.c (item_cursor_set_cursor): Use
	gnm_widget_set_cursor.

	* src/sheet-object-cell-comment.c (cell_comment_event): Use
	gnm_widget_set_cursor.

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

	* src/gui-util.h (GnmCursorType): Eliminate unused _SIZE cursors.

	* src/gnumeric-pane.c (cb_control_point_event): Change "cursor"
	data to a GdkCursorType.
	(set_acetate_coords): Ditto.
	(new_control_point): Ditto.  Arg type changed.  All callers
	changed.
	(set_item_x_y): Ditto.

555 556 557
	* src/gui-util.h (GnmCursorType): Eliminate unused zoom and hand
	cursors.

558 559 560 561 562 563 564 565 566 567 568 569
	* src/number-match.c (format_create_regexp): Simplify using
	gnumeric_regexp_quote1.
	(char_to_re): Delete.
	(str_to_re): Replace by gnumeric_regexp_quote.

	* src/search.c (search_replace_compile): Simplify using
	gnumeric_regexp_quote.

	* src/regutf8.c (gnumeric_regexp_quote, gnumeric_regexp_quote1):
	New functions.
	(gnumeric_regcomp_XL): Simplify using gnumeric_regexp_quote1.

570 571
2003-06-23  Jon K Hellan  <hellan@acm.org>

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
572 573
	* src/gui-clipboard.c (OOO11_ATOM_NAME, complex_content_received,
	x_clipboard_received): New name in OpenOffice.org 1.1 Beta for
574 575
	OpenOffice XML clipboard target. Add it.

576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591
2003-06-21  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* schemas/gnumeric-dialogs.schemas.in: add printsetup/header and
	  printsetup/footer schemas
	* src/gnumeric-gconf-priv.h: add more keys
	* src/gnumeric-gconf.c (gnm_gconf_set_printer_footer): new
	(gnm_gconf_set_printer_header): new
	(gnm_gconf_set_printer_config): change name of key
	(gnm_conf_init): initialize header and footer from gconf
	* src/gnumeric-gconf.h (gnm_gconf_set_printer_footer): new
	(gnm_gconf_set_printer_header): new
	(GnmAppPrefs): add header and footer fields
	* src/print-info.c (print_info_save): save footer and header to 
	  gconf
	(print_info_new): read footer and header to gconf

592 593 594 595 596
2003-06-22  Jon K Hellan  <hellan@acm.org>

	* src/file.c (gnm_file_saver_save): Don't check for overwrite if
	not saving to a file.

597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622
2003-06-22  Jody Goldberg <jody@gnome.org>

	* src/sheet-object.c (sheet_object_register) : register the graph
	  types to allow loading.

	* src/sheet-object-graph.c (sheet_object_graph_read_xml) : enable.
	(sheet_object_graph_write_xml) : enable.

	* src/graph.c (gnm_go_data_from_str) : new utility shared by vector
	  and scalar that can parse, and handle delaying the parse until the
	  data source is linked to a sheet to provide context.
	(gnm_go_data_set_sheet) : ditto.
	(gnm_go_data_scalar_from_str) : new requirement for interface.
	(gnm_go_data_scalar_set_sheet) : use gnm_go_data_set_sheet.
	(gnm_go_data_vector_from_str) : new requirement for interface.
	(gnm_go_data_vector_set_sheet) : use gnm_go_data_set_sheet.

	* src/application.c (application_history_add) : GObject::notify seems
	  to prefer hyphens to underscores.
	(gnumeric_application_class_init) : ditto.

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

	* src/hlink.c (gnm_hlink_cur_wb_activate) : jump to the target sheet,
	  not the current sheet.

623 624 625 626 627 628 629 630 631
2003-06-21  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/stf-parse.c (stf_parse_options_new): initialize locale
	(stf_parse_options_free): free locale
	(stf_parse_sheet): setup locale
	(stf_parse_region): setup locale
	* src/stf-parse.h : add locale to parseoptions
	* src/stf.c (stf_store_results): setup locale

632 633 634 635 636 637 638 639
2003-06-21  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/formats.c (currency_date_format_shutdown): free allocated
	  memory since currency_date_format_init/shutdown may be called
	  multiple time
	(currency_date_format_init): Do not assume that data structures
	  are in pristine state

640 641 642 643 644 645 646
2003-06-20  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print-info.c (print_info_new): set up (but disable) load of 
	  print-config from configuration string
	* src/print.c (print_job_info_set_one_time_defaults): delete
	(print_job_info_save_one_time_defaults): delete

647
2003-06-20  Jon K Hellan  <hellan@acm.org>
648 649 650 651 652 653

	* src/io-context-gtk.c (cb_realize): New. Called when splash is
	realized. Move placement logic here, and use natural size.
	(icg_show_gui): Register realize handler, move placement logic
	out, and get rid of explicit sizing.

654 655 656 657 658
2003-06-20  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print.c (print_job_info_get): don't overwrite page layout
	  info with default.

659 660 661 662 663
2003-06-19  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print-info.c (print_info_new): protect all parts of the
	  locale from libcups

664 665 666 667 668
2003-06-19  Morten Welinder  <terra@gnome.org>

	* src/format.c (format_get_decimal, format_get_thousand): Return a
	UTF-8 string, not a char.  All callers changed.

669 670 671 672 673 674 675 676 677 678 679 680 681 682 683
2003-06-19  Jon K Hellan  <hellan@acm.org>

	* src/main-application.c (main): Don't load any more workbooks if
	user closed splash.

	* src/io-context-gtk.c (struct _IOContextGtk): Add 'interrupted'
	member.
	(cb_icg_window_destroyed): Don't abort, set 'interrupted' flag
	instead, when user closes splash after the first file has been
	shown.
	(icg_init): Initialize 'interrupted'.

	* src/io-context-gtk.[ch] (icg_get_interrupted): New. Return
	'interrupted'.

684 685 686 687
2003-06-19  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* format.c (update_lc): set locale_info_cached to TRUE

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
688 689 690 691 692
2003-06-18  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/GNOME_Gnumeric.xml: spelling fixes
	* schemas/gnumeric-general.schemas.in: spelling fixes

693 694 695 696 697 698 699 700
2003-06-18  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/file.c: spelling fixes
	* src/format-template.c: spelling fixes
	* src/formats.c: spelling fixes
	* src/func-builtin.c: spelling fixes
	* src/sheet-style.c: spelling fixes

701 702 703 704 705
2003-06-18  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/gui-clipboard.c: call stf_dialog with new arguments
	* src/stf.c: call stf_dialog with new arguments

706 707 708 709 710 711 712 713 714 715 716
2003-06-18  Jon K Hellan  <hellan@acm.org>

	* src/io-context-gtk.c (struct _IOContextGtk): Add 'latency'
	member to help in startup time prediction.
	(icg_user_is_impatient): Try to predict startup time after
	ICG_POPUP_DELAY/3, and pop up splash if we predict startup to take
	> ICG_POPUP_DELAY.
	(icg_progress_set): Update progress before checking if it is time
	to show splash.
	(icg_init): Initialize latency.

Jon K Hellan's avatar
Jon K Hellan committed
717 718 719 720
2003-06-18  Jon K Hellan  <hellan@acm.org>

	* src/print-info.c: Include locale.h

721 722 723 724 725 726
2003-06-18  Andreas J. Guelzow  <aguelzow@taliesin.ca>

	* src/print-info.c (print_info_new): preserve the locale across
	  the call to gnome_print_config_default. 
	  (A workaround for a library bug.)

727 728
2003-06-17  Morten Welinder  <terra@gnome.org>

729 730 731 732 733
	* src/format.c (update_lc): New function to extract all lc info
	right away.
	(format_get_decimal, format_get_thousand, format_get_currency):
	Use it.

734 735 736
	* src/stf-parse.c (stf_parse_options_guess): Set sepchar in all
	cases.

737 738
2003-06-16  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
739 740 741 742 743 744 745
	* src/gutils.c (gnm_guess_encoding): New function.

	* src/stf.c (stf_read_workbook_auto_csvtab): Properly decode file
	before inspecting.  Use stf_parse_options_guess.

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

746 747 748
	* src/parse-util.c (sheetref_parse): Base on gnm_strunescape like
	parser.y's equivalent code.  Avoid unbounded stack usage.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
749 750 751 752 753
2003-06-14  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-graphic.c (sheet_object_graphic_user_config)
	(sheet_object_filled_user_config): Fix typo

754 755 756 757 758 759
2003-06-13  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-graphic.c (sheet_object_graphic_user_config)
	(sheet_object_filled_user_config): Turn off instant apply for
	color combos.

760 761
2003-06-13  Morten Welinder  <terra@gnome.org>

762 763 764
	* src/gui-clipboard.c (text_to_cell_region): Stop assuming
	nul-termination and stop copying the string.

765 766 767
	* src/workbook-control-gui.c (register_xml_ui): Change signature
	to using GCallback, not a bonobo type.

768 769
2003-06-12  Morten Welinder  <terra@gnome.org>

770 771 772
	* src/gui-clipboard.c (text_to_cell_region): Add fixed_encoding
	argument as for stf_dialog.  All callers changed.

773 774 775 776 777 778 779 780 781
	* src/stf-parse.c (compile_terminators): New function.
	(stf_parse_options_add_line_terminator,
	stf_parse_options_remove_line_terminator,
	stf_parse_options_clear_line_terminator): Call
	compile_terminators, fix memory ownership.
	(stf_parse_options_new): Set terminators using
	stf_parse_options_add_line_terminator.
	(compare_terminator): Speed up using compiled terminators.

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
782 783 784 785
2003-06-12  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* configure.in: added en_CA

786 787 788 789 790
2003-06-12  Andreas J. Guelzow <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=114099
	* src/clipboard.h: change PASTE_DEFAULT to include comments

791 792
2003-06-12  Andreas J. Guelzow <aguelzow@taliesin.ca>

793
	* src/workbook-control-gui.c: Correct the description of the mean
794 795 796 797 798 799 800
	  test.
	* src/GNOME_Gnumeric.xml: ditto
	
2003-06-12  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/workbook-control-gui.c: Improve the description of the mean 
	  test. 
801

802 803 804 805
2003-06-11  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (workbook_setup_sheets) : Fix my
	  incorrect replacement on 2003-06-05.  show_border is something
806
	  completely different.  Use the properties instead of the old
807 808
	  accessors.

809 810 811 812 813 814 815 816 817
2003-06-11  Andreas J. Guelzow <aguelzow@taliesin.ca>

	for Evert Verhellen
	* src/GNOME_Gnumeric.xml: change Insert->Add/Modify Comment to
	  Edit->Comment
	* src/workbook-control-gui.c: ditto
	* src/sheet-control-gui.c: change pop-up Add/Modify comment to
	  Edit Comment
	
818 819 820 821 822 823 824 825 826 827
2003-06-11  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* schemas/gnumeric-plugins.schemas.in: new
	* schemas/Makefile.am: added schemas/gnumeric-plugin.schemas.in
	* src/gnumeric-gconf-priv.h: add gconf keys
	* src/gnumeric-gconf.c (gnm_gconf_set_latex_use_utf8): new
	* src/gnumeric-gconf.h: add latex_use_utf field
	(gnm_gconf_set_latex_use_utf8): new
	* schemas/.cvsignore: add schemas/gnumeric-plugin.schemas

828 829 830 831 832 833 834 835 836 837 838 839
2003-06-11  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.h (StfParseOptions_t): Remove parselines member.

	* src/stf-parse.c (stf_parse_get_longest_row_width): Take a
	data_end pointer too.  Callers changed.
	(stf_parse_general): Ditto.
	(stf_parse_sheet): Ditto, but optional.
	(stf_parse_region): Ditto, but optional.
	(stf_parse_options_fixed_autodiscover): Ditto.  Remove data_lines arg.
	(stf_parse_options_set_lines_to_parse): Delete.

840 841 842 843 844
2003-06-11  Jody Goldberg <jody@gnome.org>

	* schemas/gnumeric-general.schemas.in : Make the default number of
	  sheets 3 to make things clearer in the documentation.

845 846
2003-06-11  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
847 848 849 850 851
	* src/stf-parse.c (stf_parse_convert_to_unix): Delete.

	* src/gui-clipboard.c (text_to_cell_region): Don't muck with line
	endings.

852 853 854 855 856 857 858
	* src/stf-parse.c (stf_parse_options_fixed_autodiscover): Handle
	line terminators correctly.
	(stf_parse_get_longest_row_width): Ditto.
	(stf_parse_general): Properly skip line endings.
	(stf_parse_lines): Add parse option argument and use standard line
	ending parsing.  All callers changed.

859 860 861 862 863 864 865 866
	* src/gui-clipboard.c (complex_content_received): Handle all kinds
	of strings here too.
	(text_to_cell_region): Rename from x_clipboard_to_cell_region.
	Add optional encoding parameter and let data be in that encoding.
	Only allow simple one-line paste if we can translate to UTF-8.
	(x_clipboard_received): Put string targets into prioritized list.
	(text_received): Delete.

867 868 869 870 871 872
2003-06-11  Andreas J. Guelzow <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=114777
	* src/stf-export.c (stf_export_cell): quote content before 
	converting it into some other encoding. (fix leaks on the side)

873 874 875 876 877 878 879 880 881 882 883 884 885
2003-06-10  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-image.c (sheet_object_image_print) : fix.

	* src/sheet-object-graph.c (sheet_object_graph_update_bounds) :
	  Handle inversion.
	(sheet_object_graph_print) : implement.

	* src/format-template.c (format_template_transform_edges) : minor
	  pedantic reordering.

	* src/print.c (print_sheet_objects) : handle inverted objects.

886 887
2003-06-10  Morten Welinder  <terra@gnome.org>

888 889 890
	* src/workbook-edit.c (wbcg_edit_start): Make sure we only mark
	ranges when we are dealing with a formula.

Morten Welinder's avatar
Morten Welinder committed
891 892
	* src/format-template.c: Apply flame thrower.

893 894 895 896 897 898 899 900 901 902 903 904 905 906
	* src/stf.c (stf_read_workbook): Make filename handling UTF-8
	safe.
	* src/workbook-view.c (wb_view_attach_control): Ditto.
	(wb_view_save): Ditto.
	(workbook_view_new): Ditto.
	(wbv_save_to_file): Ditto.
	* src/workbook.c (workbook_set_filename): Ditto.
	* src/print-info.c (render_file): Ditto.
	* src/gui-file.c (can_try_save_to): Ditto.

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

	* src/gutils.c (gnumeric_valid_filename): Delete.  No longer useful.

907 908 909 910 911
2003-06-10  Abel Cheung  <maddog@linux.org.hk>

	* configure.in: Removed en_CA and en_AU from ALL_LINGUAS. They are
	  dummy translations now.

912 913 914 915 916 917
2003-06-09  Jody Goldberg <jody@gnome.org>

	* src/format-template.c (xml_read_format_col_row_info) : remove use of
	  get_child_by_name.
	(xml_read_format_template_member) : ditto.

Morten Welinder's avatar
Morten Welinder committed
918 919 920 921
2003-06-09  Morten Welinder  <terra@gnome.org>

	* src/format-template.c (format_template_transform_edges): Plug
	leak.
922 923
	* src/gnm-marshalers.list: Add stuff from gal.
	* src/*.c: change to use imported gal widgets.
Morten Welinder's avatar
Morten Welinder committed
924

925 926 927 928
2003-06-09  Jody Goldberg <jody@gnome.org>

	* src/application.c (gnumeric_application_finalize) : patch a leak.

929 930 931 932 933 934 935 936 937 938 939 940
2003-06-09  Jody Goldberg <jody@gnome.org>

	* src/preview-grid.c : Major reorg.
	  Convert the signals into virtuals.
	  Add default value, and style methods
	  Convert from GtkArg -> GParam
	  Begin fixing _draw to support positions other than 0,0
	  Update queus a redraw

	* src/file-autoft.c (category_group_list_find_category_by_name) : delete
	* src/Makefile.am : add preview-grid-impl.h

941 942 943 944
2003-06-09  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* debian/*: Updated from latest package.

945 946 947 948
2003-06-09  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (mathfunc_init): Turn off SIGFPE in here.

Jean Brefort's avatar
Jean Brefort committed
949 950
2003-06-08  Jody Goldberg <jody@gnome.org>

951 952 953 954
	* src/style.h : DEFAULT size in the schemas is 10, use it here too.

	* schemas/gnumeric-general.schemas.in : Use valid english.

Jean Brefort's avatar
Jean Brefort committed
955 956 957 958 959 960
	* Makefile.am : do not include the .server or .server.in files in the
	  distribution.
	* src/Makefile.am (ui_DATA) : be absolutely anal about
	  gnumeric-paths.h, generate it early, and do not include it in the
	  distribution.

Jody Goldberg's avatar
Jody Goldberg committed
961 962 963 964
2003-06-07  Jody Goldberg <jody@gnome.org>

	* configure.in : bump again

Jody Goldberg's avatar
Jody Goldberg committed
965 966 967 968 969 970 971 972 973 974 975 976 977 978
2003-06-07  Jody Goldberg <jody@gnome.org>

	* Release 1.1.19

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

	* src/Makefile.am : Suck it up and ignore the make warnings about
	  circular dependencies.   automake-1.4 pisses me off.

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

	* src/dependent.c (link_expr_dep) : be more anal in case something
	  unexpected gets in.

Jody Goldberg's avatar
Jody Goldberg committed
979 980 981 982
2003-06-07  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
983 984 985 986
2003-06-07  Jody Goldberg <jody@gnome.org>

	* Release 1.1.18

Morten Welinder's avatar
Morten Welinder committed
987 988
2003-06-06  Morten Welinder  <terra@gnome.org>

989 990 991 992 993 994 995
	* src/style-border.c (style_border_set_gc_dash): Work around a
	missing const in gdk.
	(*_line, *_pattern): constify.

	* src/style-color.c (gnumeric_color_shutdown): Unref
	black/white/grid colors.  Print leaks.

Morten Welinder's avatar
Morten Welinder committed
996
	* src/format.c (number_format_shutdown): Print leaks.
997
	(number_format_shutdown): Unref default formats.
998
	(format_destroy): Make static.
Morten Welinder's avatar
Morten Welinder committed
999

Jody Goldberg's avatar
Jody Goldberg committed
1000 1001
2003-06-06  Jody Goldberg <jody@gnome.org>

1002 1003 1004 1005 1006 1007
	* src/sheet.c (sheet_colrow_delete_finish) : This is bad practice and
	  should not really be here.  However, we need to ensure that update is
	  run before sv_panes_insdel_colrow plays with frozen panes, updating
	  those can trigger redraws before sheet_update has been called.
	(sheet_colrow_insert_finish) : ditto.

Jody Goldberg's avatar
Jody Goldberg committed
1008 1009 1010
	* configure.in : bump gsf req.
	* README : ditto.

1011 1012 1013 1014
2003-06-06  Jody Goldberg <jody@gnome.org>

	* src/bonobo-io.c (gnm_persist_stream_load) : warning suppression.

1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029
2003-06-06  Morten Welinder  <terra@gnome.org>

	* src/item-bar.c (struct _ItemBar): Add normal_font_ascent and
	bold_font_ascent fields.  Change normal_font and bold_font to
	PangoFonts.
	(item_bar_calc_size): Set font and ascent fields.
	(ib_draw_cell): Use them.
	(item_bar_normal_font): Change to return a pango font.
	(ib_fonts_unref): Use g_object_unref, not style_font_unref.
	(ib_draw_cell): Use the right font for shaping.  (This prevents
	the bold dancing effect.)

	* src/sheet-control-gui.c (scg_setup_group_buttons): Match
	item_bar_normal_font change.

1030 1031
	* src/style.c (font_init): Don't export gnumeric_default_font, but
	gnumeric_default_font_width instead.  Single user changed.
1032 1033 1034
	(style_font_string_width): Make static.
	(style_font_get_height): Delete.

1035 1036
2003-06-05  Jody Goldberg <jody@gnome.org>

1037 1038
	* src/gnumeric-gconf.c (gnm_gconf_rm_notification) : delete.

1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 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 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122
	* src/plugin.c (gnumeric_extra_plugin_dirs) : clarify the ownership of
	  the lists.
	(plugins_init) : ditto.
	(plugins_shutdown) : ditto.

	* src/application.c (application_history_get_list) : const the output
	  to be clear on the ownership semantics.  Add a 'force_reload'
	  argument to force the list to reload and clip from the underlying
	  gconf source.  Should not be necessary later when we clear up the
	  relationship between application, and the config.
	(application_history_update_list) : deleted.
	(application_history_add) : new.  merge in some of the old
	  application_history_update_list, and some of the history_menu stuff
	  and emit a notifuy even on the newly created file_history_list
	  property of the application.  We should do the same for other
	  properties rather than requiring direct gconf connections.
	(application_history_list_shrink) : delete.
	(application_history_write_config) : delete.
	(gnumeric_application_get_property) : new.
	(gnumeric_application_class_init) : install the property.

	* src/workbook.c (workbook_finalize) : Just call
	  application_history_add directly rather than
	  workbook_history_update that was a pointless layer of indirection.
	  No need to directly call application_history_write_config
	  history_add handles that.

	* src/sheet-object-widget.c (sheet_widget_list_create_widget) : If
	  we're going to throw in a stub widget, it might as well a treeview
	  rather than a deprecated list widget.

	* src/workbook.c (workbook_history_update) : delete the vast majority
	  of this moving what little remained into.

	* src/history.c : delete everything but history_item_label.
	  greatly simplify the logic and move the majority of it into.
	* src/workbook-control-gui.c : here.  While we're at it simplify our
	  lives in preparation for turning the bonobo mess into virtuals on
	  wbcg.  Use a simpler approach to creation and removal that let
	    - monitors the application::notify::file-history-list rather than
	      requiring explicit calls from a non-gui layer.
	    - removes everything even the seperator then reinserts the new
	      entries.
	(wbcg_file_history_setup) : renamed from wbcg_history_setup.
	(change_menu_label) : Use gtk_label_set_text with use_underline
	  set to true in place of the deprecated parse_uline gunk.  While
	  we're in here set the tooltip too.  Its a hack, setting the data
	  directly based on knownledge of the implementation in libgnomeui.
	  However, there aren't many choices other than fixing libgnomeui
	  which is just too long a wait.
	(cb_edit_paste_special) : move call to cmd_paste_to_selection in to
	  the dialog like every other implemntation.
	(wbcg_finalize) :  Use g_signal_handlers_disconnect_by_func in place
	  of the deprecated gtk_signal_disconnect_by_func.
	(workbook_setup_sheets) : Use gtk_notebook_set_show_border (FALSE) in
	  place of the deprecated gtk_notebook_set_tab_border (0).
	(workbook_control_gui_init) : use allow_grow, and allow_shrink
	  properties in place of deprecated gtk_window_set_policy.  And
	  g_idle_add, in place of deprecated gtk_idle_add.

	* src/sheet-control-gui.c (context_menu_handler) :
	  dialog_paste_special now calls cmd_paste_to_selection itself
	  like all the other dialogs.

	* src/gutils.c (g_slist_map) : constify to make life easier.

	* src/gnumeric-pane.c : some minor property renaming in the custom
	  canvas-items when we removed the deprecated gunk.
	* src/item-bar.c : remove deprecated GtkArg gunk in favour of
	  GObject::Param stuff.
	* src/item-grid.c : ditto.

	* src/gnumeric-gconf.h : Make the public GSLists const just to be
	  absolutely clear about who owns what.

	* src/gnumeric-gconf.c (gnm_gconf_set_plugin_extra_dirs) : make list
	  ownership semantics absolutely clear.
	(gnm_gconf_set_plugin_extra_dirs) : ditto.
	(gnm_gconf_set_file_history_files) : ditto.
	(gnm_gconf_add_notification_plugin_directories) : delete unused.
	(gnm_gconf_set_autoformat_extra_dirs) : delete unused.

	* src/gnumeric-gconf-priv.h : no need to publicly include gconf anymore

1123 1124
2003-06-05  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1125 1126 1127 1128 1129 1130 1131
	* src/stf.c (stf_read_default_probe): Delete.

	* src/stf-parse.c (stf_parse_get_rowcount): Delete.
	(stf_parse_fixed_cell): Make UTF-8 safe.
	(stf_parse_get_longest_row_width): Ditto.
	(stf_parse_is_valid_data): Delete.

1132 1133 1134
	* src/stf.c (stf_preparse): Butcher this.  Don't do encodings
	here.

1135 1136
2003-06-04  Morten Welinder  <terra@gnome.org>

1137 1138 1139 1140 1141 1142
	* src/stf.c (stf_store_results): Fix off-by-one and missing base
	error in setting formats.

	* src/gui-clipboard.c (x_clipboard_to_cell_region): Fix off-by-one
	error in setting formats.

1143 1144 1145
	* src/stf-parse.c (stf_parse_region): Quote anything that might be
	an expression.  Still not brilliant, but better.

1146 1147 1148 1149 1150
2003-06-04  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (cb_filter_button_press) : this seems simpler,
	  and catches clicking on other buttons to close the popup.

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

	For Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
	http://bugzilla.gnome.org/show_bug.cgi?id=112713
	* src/gui-utils.[ch] 
	(gnumeric_button_new_with_stock_image) : new
	(gnumeric_add_dialog_button) : new
	(gnumeric_message_dialog_new) : new
	* src/workbook-control-gui.c
	(workbook_close_if_user_permits) : build a HIG compliant 
	confirmation dialog

1163 1164
2003-06-03  Jody Goldberg <jody@gnome.org>

1165 1166 1167 1168
	* src/sheet.c (sheet_row_size_fit_pixels) : delete the old hack to
	  work around granular font sizes and take out the +1 for the grid
	  line

1169 1170 1171 1172 1173
	* src/sheet-filter.c (gnm_filter_remove) : make filterered rows
	  visible.
	* src/workbook-control-gui.c (cb_auto_filter) : sheet_update on remove
	  too.

1174 1175 1176
	* src/item-cursor.c : clear out deprecated GtkObject::Arg goo.
	(item_cursor_draw) : pixel noise drawing zero sized animated cursors.

1177 1178
2003-06-03  Jody Goldberg <jody@gnome.org>

1179 1180
	* src/sheet.h : delete some non-existant decls.

1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209
	* src/sheet-object.c (sheet_objects_relocate) : kludgy tweak so that
	  ins/del col/row moves things and cut-n-paste does not.

2003-06-03  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (gnm_filter_overlaps_range) : new.
	(gnm_filter_contains_row) : delete.
	* src/sheet-view.c (sv_first_selection_in_filter) : new.
	(sv_edit_pos_in_filter) : delete.
	* src/workbook-control-gui.c (wbcg_menu_state_update) : use here.
	(cb_auto_filter) : and here.

2003-06-03  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (gnm_named_expr_collection_insert) : ease
	  requirements and allow active names to be inserted.  This is the
	  majority case for all the places we up/dowgrade placeholders and
	  change scope.
	(expr_name_check_for_loop) : rename from name_refer_circular and make
	  public.
	(expr_name_downgrade_to_placeholder) : new.
	(expr_name_set_scope) : no need to diddle ::active now that
	  collection_insert is less anal.
	(expr_name_cmp_by_name) : renamed from expr_name_by_name.

	* src/commands.c (cmd_define_name*) : add more checking at the start.
	  Don't bother keeping a ref to the nexpr.
	  handle undo for defining an existing placeholder.

1210 1211 1212 1213 1214 1215
2003-06-03  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (stf_parse_lines): New function.
	(stf_parse_next_token): Move UTF-8 from here to callers to avoid
	insane slowdown.

1216 1217 1218 1219 1220 1221 1222
2003-06-02  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (expr_name_set_scope) : if the new scope does not
	  have any names initialize it.  Don't remove the name from the old
	  scope if it already exists in the newscope.  Return an error message
	  in the case of problems.

1223 1224
2003-06-02  Morten Welinder  <terra@gnome.org>

1225 1226 1227 1228 1229
	* src/stf-parse.c (stf_parse_general_free): New function.
	(stf_parse_general): Switch from list <list<string>> to
	ptrarray<ptrarray<string>>, gaining random access.  All callers
	changed.

1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240
	* src/style.c (style_font_new_simple): Take a pango context
	argument also instead of producing a bogus one.
	(style_font_new): Ditto.  Improve fall-back scheme.
	(font_init): For now, create the default font on the default
	screen.  The need for the default is almost gone.

	* src/mstyle.c (mstyle_get_font, mstyle_get_pango_attrs): Take a
	pango context also to produce fonts.
	* src/rendered-value.c (calc_indent, rendered_value_render): Ditto.
	* src/sheet-control-gui.c (scg_get_style_font): Ditto.

1241 1242
	* src/print.c (sheet_print): Display preview on the right display.

Morten Welinder's avatar
Morten Welinder committed
1243 1244
	* src/gui-util.c (gnm_link_button_and_entry): New function.

1245 1246 1247
	* src/commands.c (cmd_analysis_tool): Clarify memory ownership
	rules and adhere to them.  Plug leak.

1248
	* src/item-edit.c (ie_layout): Handle ->layout properly so it
1249 1250
	doesn't get leaked.

1251 1252 1253 1254 1255 1256 1257
2003-06-01  Jody Goldberg <jody@gnome.org>

	* src/sheet-object.c (sheet_objects_relocate) : check for
	  move_with_cells.
	(sheet_object_init) : init move_with_cells.

	* src/sheet-filter.c (filter_field_init) : new.
1258 1259 1260 1261

	* src/workbook-control-gui.c (cb_auto_filter) : update the menu when
	  adding or removing a filter.

1262 1263
2003-05-31  Jody Goldberg <jody@gnome.org>

1264 1265 1266 1267
	http://bugzilla.gnome.org/show_bug.cgi?id=114084
	* src/parser.y (find_matching_close) : Generated spurious paren errors
	  because gnm_strunescape points to the first char after the string
	  then we incremented.
1268
	(yylex) : As long as we're down here tack on a bit of user
1269 1270 1271 1272
	  friendliness in the face of spaces.  If we know they can't be
	  operators based on the token we're returning ignore them to help the
	  users out.

1273 1274 1275
	http://bugzilla.gnome.org/show_bug.cgi?id=114147.
	* src/sheet.c (sheet_clone_colrow_info) : copy max outline level too.

1276 1277 1278 1279
	http://bugzilla.gnome.org/show_bug.cgi?id=114151.
	* src/commands.c (cmd_selection_outline_change) : minor thinko when
	  implementing inverted placement.

1280 1281 1282 1283
	* src/sheet-control-gui.c (scg_setup_group_buttons) : honour the
	  sheet::display_outline flag.  We could probably move these to the
	  SheetView.

1284 1285 1286 1287 1288 1289 1290
	* src/parser.y (parser_sheet_by_name) : don't leak the arguments when
	  attempting to parse an expression with an unknown function name.

	http://bugzilla.gnome.org/show_bug.cgi?id=114144.
	* src/workbook-control-gui.c (wbcg_validation_msg) : add accelerators
	  for the buttons.

1291 1292 1293 1294
	http://bugzilla.gnome.org/show_bug.cgi?id=114097.
	* src/sheet-object-widget.c : while we're in here clean up a bit.
	(cb_checkbox_label_changed) : doh!

1295 1296 1297 1298 1299 1300
	http://bugzilla.gnome.org/show_bug.cgi?id=114079.
	* src/colrow.c (colrow_get_states) : a difference in the default state
	  will also split a run. (fixes crash #2)
	* src/sheet-merge.c (sheet_merge_remove) : don't free range until
	  after we're through using r.  Just in case they are the same.

1301 1302 1303
	* src/workbook-control-gui.c (cb_view_freeze_panes) : base the
	  decision to use default position on the last visible, not last full.

1304 1305 1306
	* src/gnumeric-pane.c (cb_sheet_object_canvas_event) : don't freak out
	  if we can't edit the seleted object.

1307 1308 1309 1310 1311 1312 1313
	* src/xml-io.c (xml_read_style) : target needs a function, it is not a
	  GObject::param.

	* src/dialogs/dialog-hyperlink.c (dialog_hyperlink) : we need to
	  register the types earlier.  Move the calls from here.
	* src/libgnumeric.c (gnm_common_init) : to here.

1314 1315 1316
	* src/gui-util.c (gnumeric_error_info_dialog_new) : make the close
	  button the default.

1317 1318 1319
	* src/validation.c (validation_eval) : fix typo that passed the type
	  as the style. Unique to 1.1.x

1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333
2003-05-31  Jody Goldberg <jody@gnome.org>

	* src/workbook-edit.c (wbcg_edit_finish) : add an optional flag to
	  indicate if a dialog was displayed.  This is necessary for only 1
	  caller.
	* src/validation.c (validation_eval) : add the dialog needed flag here
	  too.
	* src/item-grid.c (item_grid_button_press) : don't start dragging or
	  showing a menu.  If there was a validation dialog we already ignored
	  the corresponding button release.

	* src/tools/fill-series.c (do_row_filling) : only clip the fill with
	  the selection if the stoping value is not set.  Add a bounds test.
	(do_column_filling) : ditto.
1334 1335

	* src/GNOME_Gnumeric.xml : disable unimplemented import external.
1336 1337
	  Give Fill -> Series & Merge mnemonics
	  s/Graph/Chart/
1338 1339
	* src/workbook-control-gui.c : ditto.

Morten Welinder's avatar
Morten Welinder committed
1340 1341
2003-05-30  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1342 1343
	* src/workbook-control.c (wb_control_parse_and_jump): Fix 114045.

1344 1345 1346 1347 1348 1349 1350 1351
	* src/style.c: Eliminate gnumeric_default_bold_font and
	gnumeric_default_italic_font.
	(style_font_new): Apply a simpler fall-back scheme that will work
	for bold & italic also.
	(style_shutdown): Greatly simplify now that
	gnumeric_default_bold_font and gnumeric_default_italic_font are
	gone.

Morten Welinder's avatar
Morten Welinder committed
1352 1353 1354
	* src/mstyle.c (mstyle_link_sheet): Avoid referring to
	possibly-freed pointer.

1355 1356 1357 1358 1359 1360 1361 1362 1363
2003-05-30  Morten Welinder  <terra@gnome.org>

	* src/mstyle.c (mstyle_init, mstyle_shutdown): New functions.
	(mstyle_new, mstyle_copy, mstyle_copy_merge, mstyle_unref): Use
	mstyle pool.

	* src/libgnumeric.c (gnm_common_init): Init mstyles.
	(gnm_shutdown): Shut them down.

1364 1365 1366 1367
2003-05-28  Jody Goldberg <jody@gnome.org>

	* configure.in : Add he to ALL_LINGUAS

1368 1369 1370 1371
2003-05-27  Jon K Hellan  <hellan@acm.org>

	* src/main-component.c: Include gnumeric-paths.h.

Morten Welinder's avatar
Morten Welinder committed
1372 1373
2003-05-27  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1374 1375 1376
	* src/style-border.c (style_border_none_set_color): Fix ref count
	leak.

Morten Welinder's avatar
Morten Welinder committed
1377 1378 1379 1380 1381 1382 1383 1384
	* src/style.c (style_font_new_simple): Fix warning text.

	* src/gnumeric-pane.h (struct _GnumericPane): cursor_type is of
	type GnmCursorType, not int.

	* src/item-grid.c (cb_cursor_motion): Ditto for cursor.
	* src/sheet-control-gui.c (scg_set_display_cursor): Ditto.

1385 1386 1387 1388 1389 1390 1391 1392 1393 1394
2003-05-24  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_sheet_label_drag_begin) : remove
	  deprecation.

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

	* src/selection.c (sv_selection_to_plot) : skip the dimension if its
	  can't be filled, don't just keep looking for data to put in it.

1395 1396
2003-05-23  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1397 1398
	* src/style-border.c (style_border_get_gc): Fix ref count error.

1399 1400 1401 1402 1403 1404
	* src/gnumeric-pane.c (set_acetate_coords): Create bitmap on the
	right display.

	* src/pattern.c (gnumeric_pattern_get_stipple): Take drawable
	argument for identifying screen that bitmaps need to be valid on.

1405 1406 1407
	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
	Switch font and size selectors to gnm_combo_text.

1408 1409 1410 1411
	* src/gui-util.c (gnm_cursor_set_widget): New function, cloned
	from GAL's e_cursor_set_widget which isn't multihead safe.  Some
	GAL stuff imported.  All callers changed.

1412 1413 1414
	* src/pattern.c (gnumeric_background_set_gc): Batching is back per
	Jody's request.  The multihead issues remain fixed, though.

1415 1416
2003-05-22  Morten Welinder  <terra@gnome.org>

1417 1418 1419 1420 1421 1422
	* src/style-color.c (style_color_new_uninterned): Set bogus .pixel
	values.

	* src/pattern.c (gnumeric_background_set_gc): Don't batch, gdk
	already does that.  Don't assume .pixel for colours.

1423 1424 1425 1426
	* src/gui-clipboard.c (x_claim_clipboard): Get the clipboard from
	the right display.
	(x_request_clipboard): Ditto.

1427 1428 1429 1430 1431 1432 1433
	* src/clipboard.c (cellregion_to_string): Take a pango context
	parameter.  Use that instead of faking it.

	* src/gui-clipboard.c (x_clipboard_get_cb): Make this take a wbcg
	which is what it already gets.  Use that to get a pango context to
	send to cellregion_to_string.

1434 1435 1436
	* src/item-bar.c (item_bar_realize): Set cursor for the right
	display.

1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452
	* src/workbook-control-gui.c (workbook_control_gui_new): Extra
	argument here is a GdkScreen pointer.  Supply that to
	workbook_control_gui_init.  All callers changed.

	* src/workbook-control-priv.h (WorkbookControlClass): Add extra
	parameter to control_new method.

	* src/workbook-control.c (wb_control_wrapper_new): Add "extra"
	argument here also and supply it to control_new.  All callers
	changed.

	* src/workbook-control-gui.c (workbook_control_gui_init): Make
	static.  Take extra GdkScreen parameter and set the new screen
	asap before we go creating pango contexts and gcs relating to the
	default screen.  All callers changed.

1453 1454
2003-05-22  Jody Goldberg <jody@gnome.org>

1455 1456 1457
	* src/dependent.c (dependents_relocate) : cells optionally don't
	  relink, but objects must for now.

1458 1459 1460
	* src/expr.c (cellrange_relocate) : fix logic inversion introduced
	  when I removed the unnecessary heuristic on 2003-05-16.

1461 1462 1463 1464 1465 1466 1467 1468
2003-05-22  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (workbook_menu_view): Combine the two
	New-View entries into one.
	(workbook_control_gui_init): Fix reference to freeze-panes menu
	entry.
	(cb_view_new): New function just calling the dialog.

1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481
2003-05-21  Jody Goldberg <jody@gnome.org>

	* src/item-edit.c : General de-cruftification.
	  - Move from GtkObject -> GObject
	  - Use set_property rather than set_args
	  - Remove pointless inclusion of sheet-control-gui-priv.h
	  (ie_layout) : rename from recalc_spans, move the
	  PangoLayout generation from _draw in here because it was more
	  advanced and cache the layout.

	* Makefile.am : don't clean the .server file it is generated by
	autoconf and a real pain to regenerate

1482 1483
2003-05-21  Morten Welinder  <terra@gnome.org>

1484 1485 1486
	* src/gui-util.c (cb_free_keyed_dialog_context): Set the
	KeyedDialog property on the right object.

1487 1488 1489 1490 1491 1492 1493 1494 1495
	* src/style-border.h (struct _StyleBorder): Add gc_screen field to
	track the screen that gc belongs to.

	* src/style-border.c (style_border_get_gc): Manage gc_screen.
	(style_border_unref): Ditto.

	* src/workbook-control-gui.c (workbook_create_standard_toolbar):
	Get pango context from toplevel widget.

1496 1497 1498 1499
	* src/preview-grid.c (preview_grid_draw): Get pango context from
	widget and pass it to pg_construct_cell.
	(pg_construct_cell): Remove bogus context construction from here.

1500 1501
2003-05-20  Morten Welinder  <terra@gnome.org>

1502 1503 1504 1505 1506 1507
	* src/style-border.c (style_border_set_gc_dash): Set the
	background colour as previosly, not the foreground.  Ugh.

	* src/sheet-control-gui.c (sheet_control_gui_new): Use
	g_object_set_data, not gtk_object_set_data.

1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522
	* src/style-border.c (style_border_set_gc_dash): Use
	gdk_gc_set_rgb_fg_color, not gdk_gc_set_foreground.  USe
	gdk_gc_set_rgb_bg_color, not gdk_gc_set_background.
	(style_border_none_set_color): Ditto.
	(style_border_get_gc): Ditto.

	* src/item-grid.c (item_grid_realize): Ditto.
	* src/item-cursor.c (item_cursor_draw): Ditto.
	* src/pattern.c (gnumeric_background_set_pc): Ditto.  (#if 0'ed.)
	(gnumeric_background_set_gc): Ditto, more or less.

	* src/preview-grid.c (preview_grid_realize): Plug "white" out of
	the style.  Use gdk_gc_set_rgb_fg_color, not
	gdk_gc_set_foreground.

1523 1524 1525
	* src/gnumeric-canvas.c (gnm_canvas_realize): Plug "white" out of
	the style.

1526 1527 1528
	* src/style-color.c (gnumeric_color_init): Make gs_yellow,
	gs_white, gs_black, gs_dark_gray, gs_light_gray, and gs_lavender
	unallocated colours.  Eliminate unused gs_red.
1529 1530 1531 1532

	* src/item-bar.c (item_bar_realize): Use gdk_gc_set_rgb_fg_color,
	not gdk_gc_set_foreground for multi-head support.

1533 1534 1535 1536 1537 1538
	* src/style-color.h (struct _StyleColor): Remove redundant red,
	green, and blue members.  All users changed to use color member.

	* src/style-color.c (color_hash): Improve hash function (as if it
	mattered).

1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552
2003-05-20  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-graph.c (sheet_object_graph_remove_from_sheet) : new.
	(sheet_object_graph_class_init) : hook it up.

	* src/graph.c (gnm_go_data_vector_finalize) : free the values too.
	(gnm_go_data_scalar_set_sheet) : handle unlinking too.
	(gnm_go_data_vector_load_len) : only free the buffer if the length
	  changed.
	(gnm_go_data_vector_set_sheet) : ditto.
	(cb_assign_val) : be smarter and collect min/max and do decent end
	  checking.
	(nm_go_data_vector_load_values) : use the additional information.

1553 1554 1555 1556 1557 1558 1559 1560
2003-05-19  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_sheet_focus) : set the scg earlier
	  as soon as the sheet gets focus.

	* configure.in : remove -Wsign-promo according to gcc-3.3 it is only
	  valid for C++ now.

1561 1562
2003-05-19  Morten Welinder  <terra@gnome.org>

1563 1564 1565 1566
	* src/history.c (file_history_cmd): Use GObject methods.
	(history_menu_item_create): Ditto.
	* src/gui-util.c (popup_item_activate): Ditto.

1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584
	* src/workbook-control-gui.c (workbook_create_standard_toolbar):
	Use gtk_widget_set_size_request, not gtk_widget_set_usize.
	(workbook_setup_auto_calc): Ditto.
	(show_gui): Ditto.
	(workbook_setup_edit_area): Ditto.  Also don't use an arbitrary
	pixel count.

	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
	Use gtk_widget_set_size_request, not gtk_widget_set_usize.

	* src/gui-util.c (gnumeric_error_info_dialog_new): Use
	gtk_widget_set_size_request, not gtk_widget_set_usize.  Also base
	size of window on screen size, not arbitrary pixel counts.

	* src/sheet-control-gui.c (scg_setup_group_buttons, scg_resize,
	scg_resize): Use gtk_widget_set_size_request, not
	gtk_widget_set_usize.

1585 1586
	* src/workbook-format-toolbar.c: Avoid GNOME deprecated pixmaps.

1587 1588 1589
	* src/libgnumeric.c (gnm_common_init): Use glade_init, not
	glade_gnome_init.

1590 1591 1592 1593 1594 1595
	* src/gui-util.c (gnumeric_position_tooltip): Use gtk_window_move,
	not deprecated gtk_widget_set_uposition.
	(gnumeric_clist_moveto): Use "void *" as arg instead of deprecated
	"GtkCList *" so the many includers of gui-util.h do not get
	punished.

1596 1597 1598 1599
2003-05-18  Morten Welinder  <terra@gnome.org>

	* src/*.c: Eliminate obvious deprecated stuff.

1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611
2003-05-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=106148.
	* src/expr.c (cellrange_relocate) : remove previous hack.  We're not
	  changing the expression so don't pretend to.  The right solution is.
	* src/dependent.c (dependents_relocate) : here.
	  Even if the expression does not change queue it for recalc.  We know
	  it depends on the region, so it needs to recalc.

	* src/sheet.c (sheet_move_range) : queue dependencies of target region
	  for recalc their expressions may not change but the content will.

1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622
2003-05-16  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (workbook_setup_auto_calc,
	workbook_create_standard_toolbar): Use gnm_measure_string instead
	of incorrect and deprecated GdkFont stuff.

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

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

1623 1624 1625 1626
2003-05-15  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/stf-parse.c (stf_parse_csv_cell): remove debug spew

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
1627 1628 1629 1630 1631
2003-05-14  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/GNOME_Gnumeric.xml: Fix spelling
	* src/workbook-control-gui.c: ditto

1632 1633
2003-05-14  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
1634 1635 1636
	* src/workbook-control-gui.c (cb_notebook_switch_page) : set the edit
	  line's scg if we are not in the middle of a rangesel.

1637 1638 1639 1640 1641 1642
	* src/xml-io.c (xml_read_names) : revert my previous error.
	  We can't use parse_pos_init_sheet here because it will fail in the
	  context of workbook level names.

	* src/position.c (parse_pos_init_sheet) : check for that.

1643 1644 1645 1646 1647
2003-05-14  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-file.c (gui_file_open): change in charmap_selector_new
	  arguments

1648 1649
2003-05-14  Morten Welinder  <terra@gnome.org>

1650 1651 1652
	* src/gutils.c (ldexpgnum): Use gnm_pinf and gnm_ninf.
	* src/regression.c (general_linear_regression): Ditto.

1653 1654 1655
	* src/mathfunc.c (mathfunc_init): Generate gnm_pinf and gnm_ninf
	also.  Try much harder at making a NaN.

1656 1657 1658 1659
	* src/stf-export.c (stf_export_can_transliterate): Don't use
	fallback.  I think we want it to fail if it cannot transliterate
	the test string.

1660 1661
	* src/stf-export.h (StfExportOptions_t): Make quoting_char and
	cell_separator gunichars.
1662

1663 1664
	* src/stf-export.c (stf_export_options_set_quoting_char,
	stf_export_options_set_cell_separator): Ditto.
1665 1666
	(stf_export_cell): Handle gunichar quoting.

1667 1668 1669 1670
2003-05-13  Jody Goldberg <jody@gnome.org>

	* schemas/gnumeric-general.schemas.in : Sans 10 is the default font

1671 1672
2003-05-13  Morten Welinder  <terra@gnome.org>

1673 1674 1675
	* src/stf.c (stf_read_workbook): Set an error message so cancels
	won't cause blank books.

1676 1677 1678 1679
	* src/mathfunc.c (random_binomial): Use qbinom for sane time
	consumption.
	(random_negbinom): Use qnbinom for sane time consumption.

1680 1681 1682 1683 1684 1685
2003-05-13  Jody Goldberg <jody@gnome.org>

	* src/gui-file.c (gui_file_open) : add mnemonics for the type and
	  encoding selector.
	(file_format_changed_cb) : desensitize the label as well as the menu.

Jody Goldberg's avatar
Jody Goldberg committed
1686 1687 1688 1689
2003-05-13  Jody Goldberg <jody@gnome.org>

	* src/pattern.c (gnumeric_pattern_get_stipple) : fence post.

Morten Welinder's avatar
Morten Welinder committed
1690 1691 1692 1693
2003-05-13  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (trim_spaces_inplace): Make UTF-8 safe.

1694 1695
2003-05-12  Morten Welinder  <terra@gnome.org>

1696 1697 1698
	* src/stf.c (stf_open_and_read): Fix crash on errors and empty
	files.  Fix return value for empty files.

1699 1700 1701
	* src/xml-io.c (gnumeric_xml_write_workbook): Fix broken object
	handling.

1702 1703
2003-05-12  Andreas J. Guelzow <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1704
	* src/stf-parse.c (compare_terminator) : return the byte
1705 1706 1707
	  length of the used terminator
	(stf_parse_paresoptions_new): initialize the string indicator
	  to our default
Morten Welinder's avatar
Morten Welinder committed
1708
	(stf_parse_next_token): pass all parse options, check also for
1709
	  separators and terminators
Morten Welinder's avatar
Morten Welinder committed
1710
	(stf_parse_options_csv_set_stringindicator): the string
1711
	  indicator could be a non-ascii character
Morten Welinder's avatar
Morten Welinder committed
1712
	(stf_parse_csv_cell): use the type information returned by
1713 1714 1715 1716 1717 1718 1719 1720
	  stf_parse_next_token
	(stf_parse_eat_separators): Don't eat null bytes.
	(stf_parse_get_rowcount): use stf_parse_next_token to avoid
	  counting in-string newlines
	* src/stf-parse.h (stf_parse_next_token): pass all parse
	  options
	(stf_parse_options_csv_set_stringindicator): the string
	  indicator could be a non-ascii character
1721 1722
	* src/stf.c (stf_read_workbook_auto_csvtab): stf_parse_next_token
	  now needs a parseoption
1723

Jody Goldberg's avatar
Jody Goldberg committed
1724 1725 1726 1727
2003-05-12  Jody Goldberg <jody@gnome.org>

	* omf-install/Makefile.am : add missing ;

1728 1729 1730 1731
2003-05-12  Jody Goldberg <jody@gnome.org>

	* configure.in : post release version bump

Jody Goldberg's avatar
Jody Goldberg committed
1732 1733 1734 1735
2003-05-11  Jody Goldberg <jody@gnome.org>

	* Release 1.1.17

1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747
2003-05-09  Jody Goldberg <jody@gnome.org>

	* src/item-edit.c (item_edit_set_arg) : Use connect_object and
	  simplify the detroy function
	(item_edit_destroy) : by not having to recall the handler ids.

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

	* src/workbook-control-gui.c (cb_data_pivottable) : disable until it
	  does something.
	* src/GNOME_Gnumeric.xml : ditto.

1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766
2003-05-10  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/stf-parse.c (comp_term): handle multibyte terminals
	(compare_terminator): check all terminators
	(stf_parse_options_new): initialize terminator list
	(stf_parse_options_free): free terminator list
	(long_string_first): new
	(stf_parse_options_set_line_terminator_char): deleted
	(stf_parse_options_set_line_terminator): deleted
	(stf_parse_options_clear_line_terminator): new
	(stf_parse_options_add_line_terminator): new
	(stf_parse_options_remove_line_terminator): new
	* src/stf-parse.h: Change type of StfParseOptions_t->
	  terminator
	(stf_parse_options_set_line_terminator_char): deleted
	(stf_parse_options_set_line_terminator): deleted
	(stf_parse_options_clear_line_terminator): new
	(stf_parse_options_add_line_terminator): new
	(stf_parse_options_remove_line_terminator): new
Morten Welinder's avatar
Morten Welinder committed
1767

1768

1769 1770 1771
2003-05-10  Andreas J. Guelzow <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=99649
Morten Welinder's avatar
Morten Welinder committed
1772 1773
	* src/GNOME_Gnumeric.xml: insert separator between Open and
	  Save of the File menu.
1774 1775 1776
	* src/workbook-control-gui.c (workbook_menu_file): ditto


1777 1778 1779 1780 1781
2003-05-10  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* stf-export.c (stf_export_cell): transliterate if
	  requested
	(stf_export_options_set_transliterate_mode): new
Morten Welinder's avatar
Morten Welinder committed
1782
	(stf_export_can_transliterate): new
1783 1784 1785 1786 1787

	* stf-export.h: Add StfTransliterateMode_t
	(stf_export_options_set_transliterate_mode): new
	(stf_export_can_transliterate): new

1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807
2003-05-09  Morten Welinder  <terra@gnome.org>

	* src/format.h: Use gnumeric_regex_t, not regex_t.

	* configure.in: Check for memmove.  Add
	src/cut-n-paste-code/pcre/Makefile.

	* src/Makefile.am (gnumeric_app_libs): Add
	cut-n-paste-code/pcre/libpcre.a.

	* src/formats.c (currency_date_format_init): Switch to pcre
	(==perl) syntax in regular expressions.
	(cell_format_is_number): Use UTF-8 regexp
	routines.

	* src/number-match.c (char_to_re): Take a gunichar, just in case.
	(format_create_regexp): Take an unsigned char *.  Make UTF-8 safe.

	* src/regutf8.c: Switch to using pcre.

1808 1809 1810 1811 1812
2003-05-08  Morten Welinder  <terra@gnome.org>

	* src/cell-draw.c (cell_draw): Fix HALIGN_CENTER case when a cell
	overflows.

1813 1814 1815 1816 1817
2003-05-08  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/stf.c (stf_read_workbook_auto_csvtab): use a locale dependent
	separator (same as argument separator)

1818 1819 1820 1821 1822
2003-05-07  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/stf.c (stf_read_workbook): add encoding argument
	(stf_init): set configurable text import to accept encoding

1823 1824 1825 1826 1827 1828 1829
2003-05-07   Andreas J. Guelzow <aguelzow@taliesin.ca>

	For Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
	http://bugzilla.gnome.org/show_bug.cgi?id=111075
	* src/stf-export.c
	(stf_export_options_set_charset): new
	(stf_export_cell): add conversion to selected charset
Morten Welinder's avatar
Morten Welinder committed
1830

1831 1832
	* src/stf-export.h
	(StfExportOptions_t): add charset
Morten Welinder's avatar
Morten Welinder committed
1833

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
1834 1835
2003-05-07  Andreas Guelzow <aguelzow@taliesin.ca>

1836
	* src/regutf8.c (ISASCII): last ASCII is 0x7f
Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
1837

1838 1839 1840 1841 1842 1843 1844
2003-05-07  Andreas Guelzow <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=100529
	* src/GNOME_Gnumeric.xml: Change `Open a....' to `Open a file'
	  and `Create a new spreadsheet' to `Create a new workbook'
	* src/workbook-control-gui.c: Change `Opena....' to `Opena file'

1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870
2003-05-06  Jody Goldberg <jody@gnome.org>

	* src/item-cursor.c (item_cursor_realize) : Use g_timeout_add
	  directly.
	(item_cursor_unrealize) : shutdown the animation here, not at
	  destruction.

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

	For Martin Hoffmann <nvnc-relay@gmx.net>
	* src/workbook-edit.c (auto_complete_matches) : fix autocompletion in
	  the face of multi byte characters.

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

	* src/gui-util.c (color_combo_get_style_color) : fix leak.

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

	* configure.in  : Tack on libart for the graphing.

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

	* src/gnumeric-pane.c (cb_control_point_event) : make things a bit
	  prettier.

1871 1872 1873 1874 1875 1876 1877
2003-05-06  Andreas Guelzow <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=80806
	* src/stf-parse.h (StfTokenType_t): new enumeration
	(stf_parse_options_set_line_terminator): change argument type
	(stf_parse_options_set_line_terminator_char): new
	(stf_parse_next_token): new
Morten Welinder's avatar
Morten Welinder committed
1878 1879

	* src/stf-parse.c
1880 1881 1882 1883 1884 1885 1886 1887
	(stf_parse_options_set_line_terminator): change argument type
	(stf_parse_options_set_line_terminator_char): new
	(stf_parse_next_token): new
	(comp_term): new inline
	(compare_terminator): new inline and use throughout the file
	(stf_parse_csv_is_separator): rewrite
	(stf_parse_csv_cell): rewrite
	(stf_parse_eat_separators): new
Morten Welinder's avatar
Morten Welinder committed
1888
	(stf_parse_csv_line): make UTF-8 clean
Morten Welinder's avatar
Morten Welinder committed
1889

1890
	* src/stf.c (stf_read_workbook): fix released memory access (thanks Morten)
Morten Welinder's avatar
Morten Welinder committed
1891
	(stf_read_workbook_auto_csvtab): make UTF-8 clean and adjust guess to make
1892 1893
	  it more likely to guess tsv rather than csv

1894 1895 1896 1897
2003-05-06  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (qbeta): Improve guess in log_p and lower_tail
	cases.
1898 1899 1900 1901
	(random_gaussian_pdf): Delete and use dnorm instead.
	(random_normal): Use the unit-circle method to generate two
	normally distributed numbers at a time.
	(random_lognormal): Use our own method based on random_normal.
1902

1903 1904 1905 1906
2003-05-06  Guntupalli Karunakar  <karunakar@freedomink.