OChangeLog-2003-12-23 363 KB
Newer Older
Jody Goldberg's avatar
Jody Goldberg committed
1 2 3 4 5 6 7 8
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.

9 10 11 12 13 14 15 16
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.

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

Morten Welinder's avatar
Morten Welinder committed
19 20
	* src/datetime.c (yearfrac): Even get February 29 right.

21 22 23
	* src/mathfunc.c (lbeta3): Gimme a brown paper bag.  (Thanks to
	deaddog for spotting.)

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

26 27 28 29 30
	* src/value.c (value_equal): Change to eq-style semantics
	(matching the hash function).

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

31 32 33 34 35 36 37 38 39
	* 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".

40 41 42 43 44 45
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
46 47 48 49 50 51 52
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

53 54 55 56 57 58
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.

59 60 61 62 63 64 65 66 67 68 69
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

70 71 72 73 74 75 76 77 78 79 80
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

Morten Welinder's avatar
Morten Welinder committed
81 82 83 84 85 86 87
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!

88 89 90 91 92 93
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

94 95 96 97 98 99
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
	
100 101 102 103 104
2003-07-04  Rodrigo Moya <rodrigo@gnome-db.org>

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

Rodrigo Moya's avatar
Rodrigo Moya committed
105 106 107 108
2003-07-04  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: added check for libgnomedb.

109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124
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.

125 126 127 128 129 130 131
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.

Jody Goldberg's avatar
Jody Goldberg committed
132 133 134 135 136
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.

137 138 139 140 141 142 143
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.

Jody Goldberg's avatar
Jody Goldberg committed
144 145 146 147 148
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.

149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
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
165 166 167 168
2003-07-01  Morten Welinder  <terra@gnome.org>

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

169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
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

184 185 186 187 188
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.

189 190
	* src/GNOME_Gnumeric.xml : Add FileSend

191 192 193 194 195 196 197 198 199 200 201
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.

Morten Welinder's avatar
Morten Welinder committed
202 203
2003-07-01  Morten Welinder  <terra@gnome.org>

204 205 206
	* src/graph.c (gnm_go_data_vector_load_values): Always set minimum
	and maximum.

207 208 209
	* src/stf-parse.c (stf_parse_csv_cell): Don't use O(n^2) UTF-8
	validation.

Morten Welinder's avatar
Morten Welinder committed
210 211 212
	* src/sheet-control-gui.c (cb_table_destroy): Properly release
	panes.

213 214
2003-06-30  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
215 216 217
	* src/libgnumeric.c (gnm_common_init, gnm_shutdown): Style depends
	on colours.

218 219 220
	* src/commands.c (cmd_set_text_redo): Don't override a user
	format.

221 222 223 224
	* src/gui-clipboard.c (text_to_cell_region): Handle column
	selection here too.
	* src/stf-parse.c (stf_parse_region): Ditto.

Morten Welinder's avatar
Morten Welinder committed
225 226
2003-06-29  Morten Welinder  <terra@gnome.org>

227 228 229 230
	* src/formats.c (style_format_percent, style_format_science,
	style_format_account, style_format_number): Simplify using
	g_string_append_len.

Morten Welinder's avatar
Morten Welinder committed
231 232
	* src/stf.c (stf_store_results): Don't switch locales here.

233 234 235 236 237 238 239 240 241 242 243
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
244 245 246 247 248 249
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.

250 251 252 253 254 255
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)

256 257 258
2003-06-27  Morten Welinder  <terra@gnome.org>

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

261 262 263 264 265 266 267 268
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.

269 270 271 272 273
2003-06-27  Jon K Hellan  <hellan@acm.org>

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

274 275 276 277 278 279 280 281 282
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.

Morten Welinder's avatar
Morten Welinder committed
283 284 285 286 287
2003-06-26  Morten Welinder  <terra@gnome.org>

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

288 289
2003-06-25  Morten Welinder  <terra@gnome.org>

290 291 292
	* src/gui-util.c (gdk_cursor_new_from_pixbuf): Please leaks in
	stolen code...

293 294 295 296
	* 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.

297 298 299 300 301
2003-06-25  Andreas J. Guelzow  <aguelzow@taliesin.ca>

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

302 303 304 305 306 307
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.

308 309 310 311 312 313
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.

314 315 316 317 318
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
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351
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.

352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370
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
371 372 373 374 375
2003-06-23  Andreas J. Guelzow  <aguelzow@taliesin.ca>

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

Morten Welinder's avatar
Morten Welinder committed
378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396
	* 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.

397 398 399
	* src/gui-util.h (GnmCursorType): Eliminate unused zoom and hand
	cursors.

400 401 402 403 404 405 406 407 408 409 410 411
	* 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.

412 413
2003-06-23  Jon K Hellan  <hellan@acm.org>

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

418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433
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

434 435 436 437 438
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.

439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464
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.

465 466 467 468 469 470 471 472 473
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

474 475 476 477 478 479 480 481
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

482 483 484 485 486 487 488
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

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
489
2003-06-20  Jon K Hellan  <hellan@acm.org>
490 491 492 493 494 495

	* 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.

496 497 498 499 500
2003-06-20  Andreas J. Guelzow  <aguelzow@taliesin.ca>

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

501 502 503 504 505
2003-06-19  Andreas J. Guelzow  <aguelzow@taliesin.ca>

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

506 507 508 509 510
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.

511 512 513 514 515 516 517 518 519 520 521 522 523 524 525
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'.

526 527 528 529
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
530 531 532 533 534
2003-06-18  Andreas J. Guelzow  <aguelzow@taliesin.ca>

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

535 536 537 538 539 540 541 542
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

543 544 545 546 547
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

548 549 550 551 552 553 554 555 556 557 558
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
559 560 561 562
2003-06-18  Jon K Hellan  <hellan@acm.org>

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

563 564 565 566 567 568
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.)

Morten Welinder's avatar
Morten Welinder committed
569 570
2003-06-17  Morten Welinder  <terra@gnome.org>

571 572 573 574 575
	* 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.

Morten Welinder's avatar
Morten Welinder committed
576 577 578
	* src/stf-parse.c (stf_parse_options_guess): Set sepchar in all
	cases.

579 580
2003-06-16  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
581 582 583 584 585 586 587
	* 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.

588 589 590
	* 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
591 592 593 594 595
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

596 597 598 599 600 601
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.

602 603
2003-06-13  Morten Welinder  <terra@gnome.org>

604 605 606
	* src/gui-clipboard.c (text_to_cell_region): Stop assuming
	nul-termination and stop copying the string.

607 608 609
	* src/workbook-control-gui.c (register_xml_ui): Change signature
	to using GCallback, not a bonobo type.

610 611
2003-06-12  Morten Welinder  <terra@gnome.org>

612 613 614
	* src/gui-clipboard.c (text_to_cell_region): Add fixed_encoding
	argument as for stf_dialog.  All callers changed.

615 616 617 618 619 620 621 622 623
	* 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
624 625 626 627
2003-06-12  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* configure.in: added en_CA

628 629 630 631 632
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

633 634
2003-06-12  Andreas J. Guelzow <aguelzow@taliesin.ca>

635
	* src/workbook-control-gui.c: Correct the description of the mean
636 637 638 639 640 641 642
	  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. 
643

644 645 646 647
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
648
	  completely different.  Use the properties instead of the old
649 650
	  accessors.

651 652 653 654 655 656 657 658 659
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
	
660 661 662 663 664 665 666 667 668 669
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

Morten Welinder's avatar
Morten Welinder committed
670 671 672 673 674 675 676 677 678 679 680 681
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.

682 683 684 685 686
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.

687 688
2003-06-11  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Delete.  
Morten Welinder committed
689 690 691 692 693
	* src/stf-parse.c (stf_parse_convert_to_unix): Delete.

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

694 695 696 697 698 699 700
	* 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.

701 702 703 704 705 706 707 708
	* 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.

709 710 711 712 713 714
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)

715 716 717 718 719 720 721 722 723 724 725 726 727
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.

728 729
2003-06-10  Morten Welinder  <terra@gnome.org>

730 731 732
	* 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
733 734
	* src/format-template.c: Apply flame thrower.

735 736 737 738 739 740 741 742 743 744 745 746 747 748
	* 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.

749 750 751 752 753
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.

754 755 756 757 758 759
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
760 761 762 763
2003-06-09  Morten Welinder  <terra@gnome.org>

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

767 768 769 770
2003-06-09  Jody Goldberg <jody@gnome.org>

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

771 772 773 774 775 776 777 778 779 780 781 782
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

J.H.M. Dassen (Ray)'s avatar
J.H.M. Dassen (Ray) committed
783 784 785 786
2003-06-09  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* debian/*: Updated from latest package.

Morten Welinder's avatar
Morten Welinder committed
787 788 789 790
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
791 792
2003-06-08  Jody Goldberg <jody@gnome.org>

793 794 795 796
	* 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
797 798 799 800 801 802
	* 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
803 804 805 806
2003-06-07  Jody Goldberg <jody@gnome.org>

	* configure.in : bump again

Jody Goldberg's avatar
Jody Goldberg committed
807 808 809 810 811 812 813 814 815 816 817 818 819 820
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
821 822 823 824
2003-06-07  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
825 826 827 828
2003-06-07  Jody Goldberg <jody@gnome.org>

	* Release 1.1.18

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

831 832 833 834 835 836 837
	* 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
838
	* src/format.c (number_format_shutdown): Print leaks.
839
	(number_format_shutdown): Unref default formats.
840
	(format_destroy): Make static.
Morten Welinder's avatar
Morten Welinder committed
841

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

844 845 846 847 848 849
	* 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
850 851 852
	* configure.in : bump gsf req.
	* README : ditto.

853 854 855 856
2003-06-06  Jody Goldberg <jody@gnome.org>

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

857 858 859 860 861 862 863 864 865 866 867 868 869 870 871
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.

872 873
	* src/style.c (font_init): Don't export gnumeric_default_font, but
	gnumeric_default_font_width instead.  Single user changed.
874 875 876
	(style_font_string_width): Make static.
	(style_font_get_height): Delete.

877 878
2003-06-05  Jody Goldberg <jody@gnome.org>

879 880
	* src/gnumeric-gconf.c (gnm_gconf_rm_notification) : delete.

881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964
	* 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

965 966
2003-06-05  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Delete.  
Morten Welinder committed
967 968 969 970 971 972 973
	* 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.

974 975 976
	* src/stf.c (stf_preparse): Butcher this.  Don't do encodings
	here.

977 978
2003-06-04  Morten Welinder  <terra@gnome.org>

979 980 981 982 983 984
	* 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.

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

988 989 990 991 992
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.

993 994 995 996 997 998 999 1000 1001 1002 1003 1004
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

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

1007 1008 1009 1010
	* 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

1011 1012 1013 1014 1015
	* src/sheet-filter.c (gnm_filter_remove) : make filterered rows
	  visible.
	* src/workbook-control-gui.c (cb_auto_filter) : sheet_update on remove
	  too.

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

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

1021 1022
	* src/sheet.h : delete some non-existant decls.

1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051
	* 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.

1052 1053 1054 1055 1056 1057
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.

1058 1059 1060 1061 1062 1063 1064
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.

1065 1066
2003-06-02  Morten Welinder  <terra@gnome.org>

1067 1068 1069 1070 1071
	* 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.

1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082
	* 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.

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

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

1087 1088 1089
	* src/commands.c (cmd_analysis_tool): Clarify memory ownership
	rules and adhere to them.  Plug leak.

1090
	* src/item-edit.c (ie_layout): Handle ->layout properly so it
1091 1092
	doesn't get leaked.

1093 1094 1095 1096 1097 1098 1099
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.
1100 1101 1102 1103

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

1104 1105
2003-05-31  Jody Goldberg <jody@gnome.org>

1106 1107 1108 1109
	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.
1110
	(yylex) : As long as we're down here tack on a bit of user
1111 1112 1113 1114
	  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.

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

1118 1119 1120 1121
	http://bugzilla.gnome.org/show_bug.cgi?id=114151.
	* src/commands.c (cmd_selection_outline_change) : minor thinko when
	  implementing inverted placement.

1122 1123 1124 1125
	* src/sheet-control-gui.c (scg_setup_group_buttons) : honour the
	  sheet::display_outline flag.  We could probably move these to the
	  SheetView.

1126 1127 1128 1129 1130 1131 1132
	* 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.

1133 1134 1135 1136
	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!

1137 1138 1139 1140 1141 1142
	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.

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

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

1149 1150 1151 1152 1153 1154 1155
	* 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.

1156 1157 1158
	* src/gui-util.c (gnumeric_error_info_dialog_new) : make the close
	  button the default.

1159 1160 1161
	* src/validation.c (validation_eval) : fix typo that passed the type
	  as the style. Unique to 1.1.x

1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175
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.
1176 1177

	* src/GNOME_Gnumeric.xml : disable unimplemented import external.
1178 1179
	  Give Fill -> Series & Merge mnemonics
	  s/Graph/Chart/
1180 1181
	* src/workbook-control-gui.c : ditto.

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

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

1186 1187 1188 1189 1190 1191 1192 1193
	* 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
1194 1195 1196
	* src/mstyle.c (mstyle_link_sheet): Avoid referring to
	possibly-freed pointer.

1197 1198 1199 1200 1201 1202 1203 1204 1205
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.

1206 1207 1208 1209
2003-05-28  Jody Goldberg <jody@gnome.org>

	* configure.in : Add he to ALL_LINGUAS

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
1210 1211 1212 1213
2003-05-27  Jon K Hellan  <hellan@acm.org>

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

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

Morten Welinder's avatar
Morten Welinder committed
1216 1217 1218
	* src/style-border.c (style_border_none_set_color): Fix ref count
	leak.

Morten Welinder's avatar
Morten Welinder committed
1219 1220 1221 1222 1223 1224 1225 1226
	* 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.

Jody Goldberg's avatar
Jody Goldberg committed
1227 1228 1229 1230 1231 1232 1233 1234 1235 1236
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.

1237 1238
2003-05-23  Morten Welinder  <terra@gnome.org>

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

1241 1242 1243 1244 1245 1246
	* 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.

1247 1248 1249
	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
	Switch font and size selectors to gnm_combo_text.

1250 1251 1252 1253
	* 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.

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

1257 1258
2003-05-22  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1259 1260 1261 1262 1263 1264
	* 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.

1265 1266 1267 1268
	* src/gui-clipboard.c (x_claim_clipboard): Get the clipboard from
	the right display.
	(x_request_clipboard): Ditto.

1269 1270 1271 1272 1273 1274 1275
	* 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.

1276 1277 1278
	* src/item-bar.c (item_bar_realize): Set cursor for the right
	display.

1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294
	* 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.

1295 1296
2003-05-22  Jody Goldberg <jody@gnome.org>

1297 1298 1299
	* src/dependent.c (dependents_relocate) : cells optionally don't
	  relink, but objects must for now.

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

1303 1304 1305 1306 1307 1308 1309 1310
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.

Jody Goldberg's avatar
Jody Goldberg committed
1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323
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

1324 1325
2003-05-21  Morten Welinder  <terra@gnome.org>

1326 1327 1328
	* src/gui-util.c (cb_free_keyed_dialog_context): Set the
	KeyedDialog property on the right object.

1329 1330 1331 1332 1333 1334 1335 1336 1337
	* 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.

1338 1339 1340 1341
	* 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.

1342 1343
2003-05-20  Morten Welinder  <terra@gnome.org>

1344 1345 1346 1347 1348 1349
	* 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.

1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364
	* 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.

1365 1366 1367
	* src/gnumeric-canvas.c (gnm_canvas_realize): Plug "white" out of
	the style.

1368 1369 1370
	* 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.
1371 1372 1373 1374

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

1375 1376 1377 1378 1379 1380
	* 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).

1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394
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.

1395 1396 1397 1398 1399 1400 1401 1402
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.

1403 1404
2003-05-19  Morten Welinder  <terra@gnome.org>

1405 1406 1407 1408
	* src/history.c (file_history_cmd): Use GObject methods.
	(history_menu_item_create): Ditto.
	* src/gui-util.c (popup_item_activate): Ditto.

1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426
	* 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.

Morten Welinder's avatar
Morten Welinder committed
1427 1428
	* src/workbook-format-toolbar.c: Avoid GNOME deprecated pixmaps.

1429 1430 1431
	* src/libgnumeric.c (gnm_common_init): Use glade_init, not
	glade_gnome_init.

1432 1433 1434 1435 1436 1437
	* 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.

1438 1439 1440 1441
2003-05-18  Morten Welinder  <terra@gnome.org>

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

1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453
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.

1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464
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.

1465 1466 1467 1468
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
1469 1470 1471 1472 1473
2003-05-14  Andreas J. Guelzow <aguelzow@taliesin.ca>

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

1474 1475
2003-05-14  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
1476 1477 1478
	* 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.

1479 1480 1481 1482 1483 1484
	* 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.

1485 1486 1487 1488 1489
2003-05-14  Andreas J. Guelzow <aguelzow@taliesin.ca>

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

1490 1491
2003-05-14  Morten Welinder  <terra@gnome.org>

1492 1493 1494
	* src/gutils.c (ldexpgnum): Use gnm_pinf and gnm_ninf.
	* src/regression.c (general_linear_regression): Ditto.

1495 1496 1497
	* src/mathfunc.c (mathfunc_init): Generate gnm_pinf and gnm_ninf
	also.  Try much harder at making a NaN.

1498 1499 1500 1501
	* 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.

1502 1503
	* src/stf-export.h (StfExportOptions_t): Make quoting_char and
	cell_separator gunichars.
1504

1505 1506
	* src/stf-export.c (stf_export_options_set_quoting_char,
	stf_export_options_set_cell_separator): Ditto.
1507 1508
	(stf_export_cell): Handle gunichar quoting.

Jody Goldberg's avatar
Jody Goldberg committed
1509 1510 1511 1512
2003-05-13  Jody Goldberg <jody@gnome.org>

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

1513 1514
2003-05-13  Morten Welinder  <terra@gnome.org>

1515 1516 1517
	* src/stf.c (stf_read_workbook): Set an error message so cancels
	won't cause blank books.

1518 1519 1520 1521
	* src/mathfunc.c (random_binomial): Use qbinom for sane time
	consumption.
	(random_negbinom): Use qnbinom for sane time consumption.

1522 1523 1524 1525 1526 1527
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
1528 1529 1530 1531
2003-05-13  Jody Goldberg <jody@gnome.org>

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

Morten Welinder's avatar
Morten Welinder committed
1532 1533 1534 1535
2003-05-13  Morten Welinder  <terra@gnome.org>

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

Morten Welinder's avatar
Morten Welinder committed
1536 1537
2003-05-12  Morten Welinder  <terra@gnome.org>

1538 1539 1540
	* src/stf.c (stf_open_and_read): Fix crash on errors and empty
	files.  Fix return value for empty files.

Morten Welinder's avatar
Morten Welinder committed
1541 1542 1543
	* src/xml-io.c (gnumeric_xml_write_workbook): Fix broken object
	handling.

1544 1545
2003-05-12  Andreas J. Guelzow <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1546
	* src/stf-parse.c (compare_terminator) : return the byte
1547 1548 1549
	  length of the used terminator
	(stf_parse_paresoptions_new): initialize the string indicator
	  to our default
Morten Welinder's avatar
Morten Welinder committed
1550
	(stf_parse_next_token): pass all parse options, check also for
1551
	  separators and terminators
Morten Welinder's avatar
Morten Welinder committed
1552
	(stf_parse_options_csv_set_stringindicator): the string
1553
	  indicator could be a non-ascii character
Morten Welinder's avatar
Morten Welinder committed
1554
	(stf_parse_csv_cell): use the type information returned by
1555 1556 1557 1558 1559 1560 1561 1562
	  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
1563 1564
	* src/stf.c (stf_read_workbook_auto_csvtab): stf_parse_next_token
	  now needs a parseoption
1565

Jody Goldberg's avatar
Jody Goldberg committed
1566 1567 1568 1569
2003-05-12  Jody Goldberg <jody@gnome.org>

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

Jody Goldberg's avatar
Jody Goldberg committed
1570 1571 1572 1573
2003-05-12  Jody Goldberg <jody@gnome.org>

	* configure.in : post release version bump

Jody Goldberg's avatar
Jody Goldberg committed
1574 1575 1576 1577
2003-05-11  Jody Goldberg <jody@gnome.org>

	* Release 1.1.17

Jody Goldberg's avatar
Jody Goldberg committed
1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589
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.

1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608
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
1609

1610

1611 1612 1613
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
1614 1615
	* src/GNOME_Gnumeric.xml: insert separator between Open and
	  Save of the File menu.
1616 1617 1618
	* src/workbook-control-gui.c (workbook_menu_file): ditto


1619 1620 1621 1622 1623
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
1624
	(stf_export_can_transliterate): new
1625 1626 1627 1628 1629

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

1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649
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.

1650 1651 1652 1653 1654
2003-05-08  Morten Welinder  <terra@gnome.org>

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

1655 1656 1657 1658 1659
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)

1660 1661 1662 1663 1664
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

1665 1666 1667 1668 1669 1670 1671
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
1672

1673 1674
	* src/stf-export.h
	(StfExportOptions_t): add charset