OChangeLog-2000-02-23 79.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
1999-09-26  Miguel de Icaza  <miguel@gnu.org>

	* src/sheet-object.c (sheet_button_release): Load content from
	bonobo objects here.
	(sheet_view_object_unrealize): Keep the bookkeeping of realized
	objects in the GnomeCanvasItem destroy handler.

	* src/sheet-object-bonobo.c (sheet_object_bonobo_load_from_file):
	New base class for SheetObjectContainer and SheetObjectBonobo

	* src/sheet-object-container.c: Redid for reusing the new
	hierarchy SheetObjectBonobo hierarchy.

1999-09-25  Miguel de Icaza  <miguel@gnu.org>

	* src/sheet-object.c (create_object): handle
	SHEET_MODE_CREATE_CANVAS_ITEM.

	* src/sheet.h (Sheet::mode_data): new field to keep per-mode data
	during the lifetime of the mode.

	* src/sheet-object-item.c: New sheet-object type.  This one is
	used for embedding Bonobo-based CanvasItems. 
	
25 26 27 28 29 30
1999-09-23  Lauris Kaplinski <lauris@ariman.ee>

	* configure.in: add et to ALL_LINGUAS

	* gnumeric.desktop: added Estonian strings

Michael Meeks's avatar
Michael Meeks committed
31 32 33 34 35 36 37 38
1999-09-25  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/dialogs/dialog-zoom.c (dialog_zoom): Correct glade name.
	(dialog_zoom_impl): use moveto after we know the final list size.
	(custom_selected): simplify. (radio_toggled): ditto.
	(select_sheet_cb): create. (dialog_zoom_impl): use update_zoom_but
	& complicate significantly :-) (update_zoom_buttons): create.

39 40 41 42 43 44 45 46 47
1999-09-25  Jody Goldberg <jgoldberg@home.com>

	* src/plugin.c (plugin_load) : Enable the error box when
	  loading a plugin fails.

	* src/item-grid.c (item_grid_draw) : Paint an empty
	  only if the cell does not exist.  VALUE_EMPTY cells should be
	  treated as std cells when drawing the background.

Morten Welinder's avatar
Morten Welinder committed
48 49 50 51
1999-09-24  Morten Welinder  <terra@diku.dk>

	* src/widgets/gtk-combo-box.c (gtk_combo_box_finalize): Plug leak.

Jody Goldberg's avatar
Jody Goldberg committed
52 53 54 55
1999-09-24  Jody Goldberg <jgoldberg@home.com>

	* src/expr.c (do_expr_decode_tree) : Handle missing arguments.

Morten Welinder's avatar
Leaks!  
Morten Welinder committed
56 57
1999-09-23  Morten Welinder  <terra@diku.dk>

58 59 60
	* src/widgets/widget-color-combo.c (color_combo_construct):
 	Now non-static since Miguel decided to prototype it.

61 62 63 64
	* src/regression.c (linear_regression, exponential_regression):
 	Change to multi-dimensional regression.  (Too bad linear_solve
 	does not handle it yet.)  All callers changed.

Morten Welinder's avatar
Leaks!  
Morten Welinder committed
65 66 67 68
	* src/widgets/widget-color-combo.c (color_clicked): Plug leak.
	(color_combo_select_color): Plug leak.
	(emit_change): Plug leak.

69 70 71 72 73
1999-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/widgets/widget-color-combo.c (color_combo_new): Install the
	Excel color table.

74 75 76 77
1999-09-23  Morten Welinder  <terra@diku.dk>

	* configure.in (gnome-print): back to 0.8.

78 79 80 81 82 83
1999-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/style.c (style_font_new_simple): Be defensive at
	font-loading time.  Basically, gnome-fonts might be allocated with
	a NULL gdk_font.  Maybe we need to revise this strategy

84 85
1999-09-23  Morten Welinder  <terra@diku.dk>

86 87 88 89 90
	* configure.in (gnome-print): only require 0.7 -- that's the
 	latest cvs version.

	* gnumeric.spec.in (Requires): Ditto.

91 92
	* configure.in (gnome-print): fix test.

Miguel de Icaza's avatar
Miguel de Icaza committed
93 94
1999-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>

95 96 97
	* gnumeric.gnorba (location_info): Dropped the IDL: prefix from
	the gnorba file, and use "GOADID:" now.

Miguel de Icaza's avatar
Miguel de Icaza committed
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
	* src/widgets/widget-color-combo.c (color_combo_class_init): Fixed
	memory leaks.

	* src/style.h: Keep the original colors handy here.

	* src/print-cell.c (print_cell_range, print_empty_cell): We now
	paint empty cells.  Now we paint the background for the cell.

	* src/print-cell.c

	* src/item-grid.c (item_grid_paint_empty_cell): Style leak fix.

	* src/print-cell.c (print_cell): Changed the way borders are
	printed to improve code reusability.

	* src/print-info.c (save_formats): New format name to fix in an
	upgradable fashion.
	(load_formats): ditto.
	(print_info_new): The defaults to load should use [PAGE] not
	[NUM], which explains why it was never being shown.

	* src/print-preview.c (print_preview_print_done): Close the
	context here so we have information available in the ->size
	field. 

Morten Welinder's avatar
Morten Welinder committed
123 124 125 126 127 128 129 130
1999-09-23  Morten Welinder  <terra@diku.dk>

	* src/regression.c (exponential_regression): Fix thingo.

	* src/widgets/widget-color-combo.c (color_table_setup): Static.
	(color_combo_construct): Static.
	(color_table_setup): really break out.

131 132 133 134
1999-09-23  Rodrigo Stulzer Lopes <rodrigo@conectiva.com.br>

	* configure.in: add pt_BR to ALL_LINGUAS

Miguel de Icaza's avatar
Miguel de Icaza committed
135 136 137 138
1999-09-23  Miguel de Icaza  <miguel@gnu.org>

	* src/print.c (print_page): Setup the rotation for each page.

139 140
1999-09-23  Jody Goldberg <jgoldberg@home.com>

Jody Goldberg's avatar
Jody Goldberg committed
141 142
	* src/xml-io.c (xml_set_print_unit) : Suppress warning.

143
	* src/dialogs/dialog-zoom.c (dialog_zoom_impl) : Set the spinbox value
Jody Goldberg's avatar
Jody Goldberg committed
144 145
	  when we start with a custom zoom factor, round correctly.  Set the
	  parent to be gnumeric.
146

147 148 149 150 151 152 153
1999-09-22  Jody Goldberg <jgoldberg@home.com>

	* src/xml-io.c (xml_write_sheet_object) : Avoid warning about
	  unhandled object types.

	* src/sheet-object.c (control_point_handle_event) : unused variable.

154 155
1999-09-22  Miguel de Icaza  <miguel@gnu.org>

156 157 158 159 160 161 162
	* src/item-grid.c (item_grid_paint_empty_cell): I am now using a
	gc for the empty cells (as the default gc is used and abused by
	the cell-draw code, better to keep our own).

	TODO: queue an update on the regions with changed style.  Wonder
	why this is not being done automatically.  Need to check. 

163 164 165
	* src/widgets/widget-color-combo.c (color_combo_construct): Fix
	visuals for working with Imlib properly.

Jody Goldberg's avatar
Jody Goldberg committed
166 167 168 169
1999-09-22  Jody Goldberg  <jgoldberg@home.com>

	* src/dialog/dialog-zoom.c : rewrite.

Morten Welinder's avatar
Morten Welinder committed
170 171 172 173 174
1999-09-21  Morten Welinder  <terra@diku.dk>

	* src/widgets/widget-font-selector.c (reload_preview): Spelling
 	fix.

175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
1999-09-21  Miguel de Icaza  <miguel@gnu.org>

	* src/sheet.c (cell_is_homogeneous): Set size here to get correct
	feedback results.

	* src/workbook-format-toolbar.c (change_font_in_selection_cmd):
	Simplified to use apply_style_to_selection
	(apply_style_to_selection): Big nice wrapper.
	(change_font_size_in_selection_cmd): Implement.

	* src/pixmaps.h: Removed GNUMERIC_TEST_ACTIVE_OBJECT for release. 

	* src/workbook-format-toolbar.c: More toolbar work, now we have
	color selectors for foreground and background.

	* src/workbook.c: Split the format toolbar

	* src/workbook-format-toolbar.[ch]: Now they contain the
	format-toolbar code. 

	* src/sheet-object-graphic.c (sheet_object_filled_realize): Width
	is now in points, not pixels.

	* src/widgets/gtk-combo-box.[ch]: New files, they implement an
	extensible ComboBox for Gtk.

	* src/widgets/color-combo.[ch]: New files, they implement the
	ColorCombo box. 
	
Michael Meeks's avatar
Michael Meeks committed
204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
1999-09-21  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/sheet-object-container.c (make_container_item): Add widget_handle.
	(sheet_object_container_destroy): clean.

	* src/sheet-object-widget.c (sheet_object_widget_realize): add widget
	handling hook.

	* src/sheet-object.c (sheet_object_event): renamed to canvas_event.
	(control_point_handle_event): use gdouble for x,y & remove duff w2w &
	dx*zoom code.

	* src/sheet-object.h: add various signals + a type.

	* src/sheet-object-widget.c (sheet_object_widget_construct): set press.

	* src/sheet-object.c (sheet_object_event, sheet_object_make_current): 
	remove redundant 'Sheet' argument.
	(control_point_handle_event): Add make_current to button press.
	(sheet_object_start_editing): clean + setup cursor data.
	(control_point_handle_event): Use sizing cursors.
	(sheet_object_event): Add 'press' cursor.
	(sheet_object_widget_event, sheet_object_widget_handle): handlers to pass
	events around.

	* src/sheet-object-container.c (user_activation_request_cb): update
	make_current.

	* src/cursors.h: Add new cursors.

	* src/cursors.c: ditto.

Morten Welinder's avatar
Morten Welinder committed
236 237 238 239 240 241 242 243
1999-09-21  Morten Welinder  <terra@diku.dk>

	* src/functions/fn-stat.c (gnumeric_logest): Add some meat.

	* src/regression.c (general_linear_regression): Renamed from
 	general_regression.
	(exponential_regression): New function.

244 245
1999-09-21  Jukka-Pekka Iivonen  <iivonen@iki.fi>

246 247
	* samples/statfuns.xls: Updated the second PERCENTRANK test.
	
248 249
	* src/functions/fn-stat.c: Added stubs for LOGEST and GROWTH.

Morten Welinder's avatar
Morten Welinder committed
250 251 252 253 254 255 256 257 258 259
1999-09-20  Morten Welinder  <terra@diku.dk>

	* src/expr.c (do_expr_decode_tree): Plug leak.

	* src/functions/fn-stat.c (gnumeric_linest): Handle "const"
 	parameter also.  Introduce skeleton to handle "stat" parameter.
	(gnumeric_percentile): Fix PERCENTILE.

	* src/format.c (format_number): Plug leak.

260 261
1999-09-20  Jody Goldberg <jgoldberg@home.com>

262 263 264 265
	* plugins/{ff-csv, gda, guile, python, sample, text}/Makefile.am :
	  Do not specify private warnings.  Use the default set from
	  compiler-flags.m4.

266 267 268 269
	* src/cell.h (cell_deep_thaw_dependencies,
		      cell_deep_freeze_dependencies) : Remove non-existant
		      prototypes.

270 271 272 273
1999-09-19  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/functions/fn-stat.c: Implemented PERCENTILE() function.

274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
1999-09-19  Jody Goldberg <jgoldberg@home.com>

	* src/value.c (value_release) : Releasing value_terminate should not
	  generate an error.

	* src/sheet-object-container.h : Add include
	  <bonobo/gnome-client-site.h>.

1999-09-18  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object.h : Make SheetObjectType names
	  constistant with SheetModeType names, and add
	  GRAPHIC, BUTTON, and CHECKBOX.

	* plugins/html/epsf.c (epsf_write_wb) : RECTANGLE -> BOX.
	  ELLIPSE -> OVAL.
	* src/sheet-object.c (create_object) : Ditto.
	* src/xml-io.c (xml_read_sheet_object) : Ditto.

293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
1999-09-18  Miguel de Icaza  <miguel@gnu.org>

	* src/dialogs/dialog-simple-input.c (dialog_get_sheet_name): use
	dialog_run_and_close here.
	(dialog_get_number): ditto.

	* src/format.c (format_add_thousand, format_remove_decimal,
	format_add_decimal): New routines.
	(format_number): Fixed bug in 'E', 'e' handler (format was
	incremented twice).

	* src/workbook-cmd-format.c: Hook up the add/remove decimal and
	add thousand actions.

	* src/sheet.c (range_is_homogeneous): Do not value_release a value
	terminate.

	* src/workbook-cmd-format.c (do_apply_style_to_selection): set
311
	sheet dirty.
312 313 314 315 316 317 318
	(workbook_cmd_format_column_auto_fit): ditto.
	(workbook_cmd_format_column_width): ditto.
	(workbook_cmd_format_row_auto_fit): ditto.
	(workbook_cmd_format_row_height): ditto.

	* src/workbook.c (workbook_rename_sheet): dirty sheet.

Michael Meeks's avatar
Michael Meeks committed
319 320 321 322 323 324 325 326 327
1999-09-19  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/workbook.c (about_cmd): make static.

	* src/sheet-object-container.c (sheet_object_container_load): fix
	return value.

	* src/workbook.c (create_format_toolbar): cast to widget not entry.

328 329
1999-09-19  Morten Welinder  <terra@diku.dk>

330 331 332 333 334 335 336 337
	* src/functions/fn-stat.c (callback_function_make_list): Static.
	(init_make_list_closure): Static.

	* src/expr.c (eval_expr_real): Static.

	* src/functions/fn-math.c (gnumeric_sum): Static.
	(gnumeric_suma): Static.

338 339 340 341 342 343 344 345 346 347 348
	* src/analysis-tools.c (covariance_tool): Plug leak.
	(descriptive_stat_tool): Plug leak.
	(correlation_tool): Plug leak.
	(ranking_tool): Plug leak.
	(anova_single_factor_tool): Plug leak.
	(sampling_tool): Don't read past array.

	* src/sheet.c (sheet_destroy): Plug leak.

	* src/dialogs/dialog-cell-sort.c (dialog_cell_sort): Plug leak.

349 350 351 352 353 354 355 356 357
1999-09-18  Jody Goldberg <jgoldberg@home.com>

	* src/sheet.c (range_is_homogeneous) : Ignore results from
	  sheet_cell_foreach_range it will always be NULL or
	  value_terminate.  Neither need to be freed.

	* src/value.c (value_release) : Re-enable test to avoid releasing
	  value_terminate.

Arturo Espinosa's avatar
Arturo Espinosa committed
358 359 360 361 362 363 364 365 366 367 368
1999-09-17  Miguel de Icaza  <miguel@gnu.org>

	* src/sheet.c (sheet_row_size_fit): fetch row information, not
	column information.  Fix the routine.

	* src/workbook-cmd-format.c (workbook_cmd_format_column_auto_fit):
	(workbook_cmd_format_column_width): 
	(workbook_cmd_format_row_auto_fit): 
	(workbook_cmd_format_row_height): Fix the range being scanned to
	be inclusive.

Jody Goldberg's avatar
Jody Goldberg committed
369 370 371 372 373 374
1999-09-17  Jody Goldberg <jgoldberg@home.com>

	* samples/operator.xls : Updated to be robust in the
	  face of errors, and to use epsilon comparisons for the
	  artihmetic comparisons.

Morten Welinder's avatar
Morten Welinder committed
375 376
1999-09-18  Morten Welinder  <terra@diku.dk>

Morten Welinder's avatar
Morten Welinder committed
377 378
	* gnumeric.spec.in (Requires): Update libglade version.

Morten Welinder's avatar
Morten Welinder committed
379 380
	* src/dialogs/dialog-printer-setup.c (do_hf_config): Plug leaks.

Morten Welinder's avatar
Morten Welinder committed
381 382 383 384
	* src/sheet.c (zoom_cell_style): Plug leak.

	* src/functions/fn-date.c (get_serial_time): Be defensive.

385 386 387 388
	* src/expr.c (eval_expr_real): For integer 0^0, return #NUM!.
	(eval_expr_real): Adjust float power error check to match the
 	integer one.

Morten Welinder's avatar
Morten Welinder committed
389 390 391 392 393
	* src/style.c (style_new): Silence.

	* src/sheet.c (sheet_update_controls): Initialize all closure
 	members.

Michael Meeks's avatar
Michael Meeks committed
394 395 396 397 398 399 400 401 402
1999-09-17  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/dialogs/dialog-summary.c (dialog_summary_update): Change to
	workbook argument, and reparent to toplevel.

	* src/dialogs/dialogs.h: ditto.

	* src/workbook.c (summary_cmd): ditto.

Miguel de Icaza's avatar
Miguel de Icaza committed
403 404 405 406 407
1999-09-17  Miguel de Icaza  <miguel@gnu.org>

	* src/widgets/gnumeric-toolbar.c (gnumeric_toolbar_class_init):
	typo fix.

408 409 410 411 412
1999-09-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/widgets/gnumeric-toolbar.c (gnumeric_toolbar_class_init):
	Parent class is GtkToolbar, not itself.

413 414 415 416 417 418 419
1999-09-17  Miguel de Icaza  <miguel@gnu.org>

	* src/workbook.c (create_format_toolbar): Make the size of the
	entry line onloy fit four zeros.
	(workbook_feedback_set): set the font even if no cached value
	exists. 

420 421 422 423
1999-09-17  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/workbook.c: Added ``Delete...'' entry to ``Edit'' menu.

424 425 426 427 428 429 430 431 432 433 434 435 436 437
1999-09-17  Miguel de Icaza  <miguel@gnu.org>

	* src/workbook-cmd.c: New file.  Moved a bunch of commands here,
	and move to be moved.
	Implemented the set money format;   Implemented the percent formt.
	
1999-09-16  Miguel de Icaza  <miguel@gnu.org>

	* src/sheet.c (sheet_update_controls, cell_is_homogeneous):
	Include checks for font name and font size.

	* src/dialogs/dialog-printer-setup.c (dialog_printer_setup): Add
	call to gnome_dialog_set_parent here.

Jody Goldberg's avatar
typo  
Jody Goldberg committed
438
	* src/dialogs/tools.h: New file, moved here all the tools declarations.
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 465 466 467 468 469 470 471
	Please, try to keep indentation for public functions as the rest
	of the Gnumeric ones.

	* src/workbook.c: Enable comands Format/Column, Format/Row and
	Format/Sheet.
	(create_format_toolbar): Add font selector toolbar widget.
	(change_font_in_selection_cmd): New routine.  Applies a font to a
	selection in the workbook.
	(workbook_feedback_set): Upgraded feedback interface
	
	* src/sheet-view.c (sheet_view_row_size_changed): There is no need
	to call gnumeric_compute_visible_ranges, the sheet_row_set_height
	code does this.

	* src/item-bar.c (item_bar_event): Support also row-autosizing.

	* src/sheet.c (sheet_col_size_fit): Add this routine.
	(sheet_col_set_internal_width): New function.  Similar to its
	counterpart

	* src/dialogs/dialog-cell-format.c (dialog_cell_format): Change
	call to g_list_free for sheet_cell_list_free.

	* src/selection.c (sheet_cell_list_free): New routine.

	* src/workbook.c: Reworked toolbars again.  We now only have 2
	toolbars instead of 8 or so.

	* src/sheet.h (SHEET_MAX_ROWS): New excel supports 64k rows, mimic this.

	* src/widgets/gnumeric-toolbar.c: Added new file.  Handles the
	Gnumeric toolbars.

472 473 474 475 476 477 478 479 480
1999-09-17  Jody Goldberg <jgoldberg@home.com>

	* src/sheet.c (sheet_col_get_unit_distance,
		       sheet_row_get_distance
		       sheet_row_get_unit_distance
		       sheet_col_get_unit_distance) : Constification.
	(sheet_init_default_styles) : Make the default row/col size
	  match excel more closely.

481 482 483 484 485 486 487 488 489 490 491 492 493 494 495
1999-09-16  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/func.c (functions_init): Remove misc_init.

	* src/functions/fn-misc.c: Removed, empty & redundant.

	* src/functions/Makefile.am: remove fn-misc.c

	* src/func.h: ditto.
	
	* src/sheet-object-container.c (sheet_object_container_load): Implement
	cleaner & simpler load method

	* NEWS (Michael): doh, move it into the correct version.

496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516
1999-09-16  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/print.c (sheet_print): Update to use gnumeric_porinter_dialog_run.
	(print_job_info_get): Add range parameter.

	* src/dialogs/Makefile.am (libdialogs_a_SOURCES): Added dialog-printer.[ch]

	* src/dialogs/dialog-printer.[ch]: New thin wrapper of GnomePrinterDialog
	to handle sheet selection.
	
	* src/sheet-object-container.c (sheet_object_container_land): Add
	comments about what needs doing.

	* src/sheet-object.c (sheet_object_event): renamed.
	Updated various SheetObject var names to 'so'.

1999-09-15  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/sheet-object-container.c (sheet_object_container_land): Cleaned
	debug, improved sizing logic.

517 518 519 520 521 522 523 524 525 526 527 528
1999-09-16  Jody Goldberg <jgoldberg@home.com>

	* src/ranges.c (range_dump) : Typo.

	* src/selection.c (selection_to_list) : rename from
	  sheet_selection_to_list and add allow_intersection parameter.
	(selection_to_string) : rename from sheet_selection_to_string and
	  use selection_apply.

	* src/dialogs/dialog-cell-format.c (dialog_cell_format) : Adjust to
	  changes in selection_to_list.

529 530
1999-09-15  Morten Welinder  <terra@diku.dk>

Morten Welinder's avatar
Morten Welinder committed
531 532 533 534
	* src/sheet.c (cell_is_homogeneous): Always return a value.

	* src/ranges.c (range_dump): Fix destination.

535 536
	* src/selection.c (selection_apply): Plug leak.

537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558
1999-09-15  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/sheet-object.c (window_to_world): Remove.
	(sheet_motion_notify, sheet_button_release, sheet_object_drop_file): 
	clean to use gnome_canvas_window_to_world.

	* src/sheet-view.c (sheet_view_construct, (filenames_dropped): move

	* src/gnumeric-sheet.c (gnumeric_sheet_filenames_dropped),
	(gnumeric_sheet_new): to here + rename; makes more sense.

	* src/sheet-object.c (sheet_object_drop_file): Take a GnumericSheet.

	* src/parser.y (array_row:): Manged to support wierd MS style array
	semantics some people get {1\2\3;4\5\6} instead of {1,2,3;4,5,6}.

	* src/workbook.c (workbook_file_toolbar): Remove duplicate print icon.

	* src/pixmaps/preview.xpm: Stop gap icon; improved.

	* src/xml-io.c (xml_get_print_hf): Remove redundant precondition.

Miguel de Icaza's avatar
Miguel de Icaza committed
559 560
1999-09-14  Miguel de Icaza  <miguel@gnu.org>

561 562 563 564
	* src/workbook.c: Split toolbars into mulitple toolbars;  Add a
	private field to Workbook structure. 
	Change the toolbar setup to have multiple dock-items.

Miguel de Icaza's avatar
Miguel de Icaza committed
565 566 567 568 569 570
	* src/format.c: Initialize this to NULL.

	* src/print-info.c (load_formats): Memory leak fix.

	* src/xml-io.c (xml_read_summary): Fixed memory leak.

Morten Welinder's avatar
Morten Welinder committed
571
1999-09-14  Morten Welinder  <terra@diku.dk>
Karl Eichwalder's avatar
Karl Eichwalder committed
572

Morten Welinder's avatar
Morten Welinder committed
573 574
	* src/dialogs/dialog-analysis-tools.c (tools): Make static.

Morten Welinder's avatar
Morten Welinder committed
575 576
	* src/print-info.c (load_formats): Plug leak.

Morten Welinder's avatar
Morten Welinder committed
577 578 579 580 581 582 583 584 585 586 587 588 589 590
	* src/functions/fn-eng.c (eng_functions_init): Arg fix.
	* src/functions/fn-string.c (string_functions_init): Ditto.
	* src/functions/fn-stat.c (stat_functions_init): Ditto.
	* src/functions/fn-sheet.c (sheet_functions_init): Ditto.
	* src/functions/fn-misc.c (misc_functions_init): Ditto.
	* src/functions/fn-math.c (math_functions_init): Ditto.
	* src/functions/fn-lookup.c (lookup_functions_init): Ditto.
	* src/functions/fn-logical.c (logical_functions_init): Ditto.
	* src/functions/fn-information.c (information_functions_init):
 	Ditto.
	* src/functions/fn-financial.c (finance_functions_init): Ditto.
	* src/value.c (value_terminate): Ditto.

	* gnumeric.spec.in (Requires): Update gnome-print dependency.
Karl Eichwalder's avatar
Karl Eichwalder committed
591

Karl Eichwalder's avatar
Karl Eichwalder committed
592 593
1999-09-14  Karl Eichwalder  <ke@suse.de>

Morten Welinder's avatar
Morten Welinder committed
594 595
	* src/workbook.c: The "import" item needs dots; it opens a dialog.

Karl Eichwalder's avatar
Karl Eichwalder committed
596 597
	* DEPENDS: Add gnome-print.

Karl Eichwalder's avatar
Karl Eichwalder committed
598 599 600 601
	* README: Increase gnome-print version (0.6); not sure, whether
	other version numbers are to be increased, too.  Fix typos; small
	prettifications.

602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623
1999-09-13  Jody Goldberg <jgoldberg@home.com>

	* src/ranges.c (range_dump) : Improve format.

	* src/workbook.c (deps_output) : The selection can be a region.

	* src/dialogs/dialog-cell-sort.c (dialog_cell_sor) :
	  sheet_selection_first_range returns a range.

	* src/print.c (sheet_print_selection) : Ditto.

	* src/selection.c (sheet_selection_first_range) : Simplify and move
	  closer to to sheet_verify_selection_simple.

	* src/workbook.c (insert_cols_cmd, insert_cols_cmd) : Handle
	  sheet_verify_selection_simple rename to selection_is_simple.

	* src/sheet.c (sheet_update_controls) : Use selection_apply
	  rather than sheet_selection_to_list which is expensive.
	(sheet_col_selection_type, sheet_row_selection_type) :
	  Constification.

Michael Meeks's avatar
Michael Meeks committed
624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643
1999-09-13  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/parser.y (forget_array): Created. exp: added array_row, array_exp,
	array_cols: created. (build_array): Implemented. (v_forget): added.

	* src/value.c (value_release): Update Array to only free if != NULL.

	* src/functions/fn-lookup.c (lookup_functions_init): add index.
	(gnumeric_index): Ghastly placeholder; we need more core functionality.
	(gnumeric_lookup): remove redundant value_duplicate fixing leak.
	(gnumeric_match): Implement as far as it goes.

	* src/workbook.c (workbook_delete_event): Nail fatal bug in #define for bonobo.

	* src/dialogs/dialog-printer-setup.c (dialog_print_info_new): Moved things into
	constructor and out of (dialog_printer_setup).
	(unit_changed): actually update the margin UnitInfo's value...

	* src/xml-io.c (xml_read_print_info, xml_write_print_info, xml_get_print_hf),
	(xml_set_print_hf): Header / footer, paper size writing.
Karl Eichwalder's avatar
Karl Eichwalder committed
644

Karl Eichwalder's avatar
Karl Eichwalder committed
645 646 647 648 649 650 651
1999-09-13  Karl Eichwalder  <ke@suse.de>

	* src/dialogs/hf-config.glade: Add missing `:'.  Is this the right
	place to fix this kind of a bug?
	* src/dialogs/hf-config.glade.h (N_): Ditto (I don't know how to
	autogenerate this file).

652 653
1999-09-13  Jukka-Pekka Iivonen  <iivonen@iki.fi>

654 655 656 657 658 659
	* src/functions/fn-misc.c, src/functions/fn-information.c: Moved the
	error functions to information functions file.

	* src/functions/fn-math.c, src/function/fn-lookup.c: Moved TRANSPOSE
	to lookup functions file.
	
Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
660 661
	* src/functions/fn-stat.c: Added more examples.

662 663 664
	* src/dialogs/dialog-analysis-tools.c: Bug fix.  Pressing ESC key
 	means CANCEL now in the subdialogs.

665 666 667 668 669 670 671
1999-09-13  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/dialogs/dialog-printer-setup.c (do_setup_page_info): Fix initial display
	of icon: lr/td first.

	* src/xml-io.c (xml_sheet_read, xml_sheet_write): Add print info R/W.

672 673
1999-09-12  Michael Meeks  <michael@nuclecu.unam.mx>

674 675 676 677 678 679 680
	* src/print-info.h: UnitName typo corrected.

	* src/dialogs/dialog-printer-setup.c (convert_to_mm, unit_editor_new): ditto.

	* src/xml-io.c (xml_read_print_info, xml_write_print_info): Implemented.
	(xml_read_summary): Cleaned preconditions to make Miguel happy.

Michael Meeks's avatar
Michael Meeks committed
681 682 683 684 685 686 687 688 689
	* src/print-preview.c (preview_destroyed, print_preview_new): Attach signal
	to the workbook and warn.

	* src/print.c (sheet_print): Remove redundant print_context_close_file.

	* src/embeddable-grid.c (grid_view_new): NULL a pointer.

1999-09-12  Michael Meeks  <mmeeks@gnu.org>

690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734
	* src/embeddable-grid.c (grid_view_activate): Hack to cope with new
	private Bonobo plug, just emit a warning.
	(grid_view_new): similarly hacked.

	* src/eval.c: Include ranges.h

	* src/selection.c (sheet_selection_first_range): Remove unused and
	cryptic base_col / base_row.

	* src/dialogs/dialog-cell-sort.c (dialog_cell_sort): remove base
	stuff.

	* src/workbook.c (print_setup_cmd, file_print_cmd),
	(file_print_preview_cmd): New print stuff.
	(deps_output): update to new first_range.

	* src/print-preview.c (print_preview_new): More wb->sheet.
	(sheet_destroyed): Renamed, (create_preview_canvas, render_page),
	(preview_file_print_cmd, create_toplevel): wb->sheet.
	include print.h (preview_file_print_cmd): Add active_sheet.
	(create_toplevel): Update name calc + add preconditions.

	* src/print-preview.h: update prototype + add _context proto.

	* src/print.c (print_job_info_get): more wb->sheet.
	(printjob_init_sheet): split out. (sheet_print_selection): implement.

	* src/sheet.c (sheet_new, sheet_destroy): Add print info bits.

	* src/workbook.c (workbook_do_destroy, workbook_init): Clean
	print-info bits.

	* src/dialogs/dialog-printer-setup.c (dialog_print_info_t):
	convert workbook -> sheet (do_print_preview_cb, do_print_cb),
	(dialog_print_info_new, dialog_printer_setup): ditto.
	(do_setup_main_dialog): preconditions.

	* src/dialogs/dialogs.h: Change prototype.

	* src/print.c (workbook_print): Implemented PRINT_ACTIVE_SHEETS,
	added default_range paramter: use for now; renamed (sheet_print)
	(print_sheet): preconditions (sheet_print_selection): renamed.

	* src/print.h (workbook_print): Move PrintRange enum here & re-name.

Miguel de Icaza's avatar
Miguel de Icaza committed
735 736 737 738 739
1999-09-11  Miguel de Icaza  <miguel@gnu.org>

	* src/workbook.c (workbook_delete_event): Fix the delete_event
	setup. 

740 741 742 743 744 745 746 747 748 749 750 751 752
1999-09-11  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object-widget.c (sheet_object_widget_update_bounds) :
	  Don't zoom coords sheet_object_get_bounds takes care of that
	  for us.

	* src/sheet-object-container.c (sheet_object_container_update_bounds) :
	  Ditto.

	* src/sheet-object-graphic.c (sheet_object_filled_update_bounds) :
	  Ditto, renamed from sheet_object_filled_update to be more
	  consistant.

753 754 755 756 757 758 759 760 761 762 763 764 765
1999-09-10  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/corba-sheet.c: include selection.h

	* src/sheet.c: Include ranges.h (sheet_insert_object): remove unused.

	* src/file.c (workbook_try_read): Remove unused var.
	(fs_key_event): Sort out return type & cast.

	* src/selection.c: Add Jody as an author if he isn't going to :-)

	* src/sheet-object.c: Cheekily do the same for me.

766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781
1999-09-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/corba-sheet.c: Updated to the new sheet selection API
	changes. 

	* src/gnumeric-sheet.c (destroy_item_editor): Removed FIXME
	comment.  More fixing from Federico's talk
	(gnumeric_sheet_stop_cell_selection): ditto

	* src/cell.c: Replaced unrefs of windows with destroys.  Federico
	explained a thing or two to me today.

	* src/file.c (dialog_query_load_file): Added a key handler to
	handle ESC on dialog boxes to mean cancel.
	(workbook_save_as): ditto.

782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803
1999-09-10  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/sheet-object.c (window_to_world): Added debug.

	* src/widgets/widget-editable-label.c (el_start_editing): 

	* src/workbook.c (sheet_label_text_changed_signal): Return focus
	to the main sheet when finished.

	* src/widgets/widget-editable-label.c (el_stop_editing): Convert
	gtk_object_unrefs to gtk_object_destroy's kills wierd debug.
	(el_destroy): NULL freed pointer.
	(el_start_editing): Add vital widget_grab_focus.

	* src/cursors.h (cursor_set_widget): Use G_STMT_* in macros.

	* src/workbook.c (workbook_can_close): Add forward definition.
	(workbook_new): Update sizing algo. to fit to the screen better.

	* src/main.c (gnumeric_main): Process gtk draw events between loading
	files, can't slow us down and looks lots better !

804 805 806 807
1999-09-10  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/functions/fn-*: Added tons of examples to help strings.

808 809 810 811 812
1999-09-09  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/sheet-object.c (sheet_button_release), sheet_motion_notify),
	(sheet_object_set_bounds): Fix for arrows.

Michael Meeks's avatar
Michael Meeks committed
813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839
1999-09-09  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/workbook.c (workbook_delete_event): Fix object_unref for
	Bonobo case. (workbook_widget_delete_event): remove strange unref, this
	needs looking at.

	* src/sheet-object.c (sheet_view_object_unrealize, sheet_object_destroy),
	(sheet_object_destroy_control_points): Changed _unref to _destroy nailing
	scads of warnings.

	* src/sheet-object-container.c (sheet_object_container_destroy_views): 
	ditto.

	* src/sheet-object-container.c (sheet_object_container_land): Get
	auto sizing working.

	* src/sheet-object*.[ch]: Large overhaul, extensively re-wrote signal
	handling, and state passing. Generic object 'bounds' is now stored in
	sheet-object, and accessed via access procedures. Homegenized naming,
	Drasticaly simplified re-sizing modes.
	
	* src/sheet-view.c: Include selection.h to kill warnings.

	* src/sheet-object.c (sheet_object_get_bounds): Created.
	(sheet_view_object_unrealize): Fix the same list manipulation bug
	( it gets everywhere ).

840 841 842 843
1999-09-09  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/functions/fn-*: Started adding examples to all functions.

844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872
1999-09-08  Jody Goldberg <jgoldberg@home.com>

	* src/*.c : Have Range use CellPos, and SheetSelection use Range.

	* src/functions/fn-sheet.c (gnumeric_selection) :
	  Switch to selection_apply.

	* src/sheet.c (sheet_set_selection) : Keep GNUMERIC_SHEET_VIEW
	  local to sheet.c

	* src/selection.c (sheet_selection_change,
			   selection_append_range,
			   sheet_selection_extend_to) :
	  Use sheet_set_selection.

	* src/dialogs/dialog-cell-format.c (apply_font_format,
					    cell_properties_apply) :
	  adjust to changes in SheetSelection.

	* src/functions/fn-sheet.c (gnumeric_selection) : Switch to
	  selection_apply.

	* src/gnumeric-util.c (range_contains) : Ditto. Const.

	* src/selection.c (sheet_selection_clear,
			   sheet_selection_clear_comments,
			   sheet_selection_clear_content,
			   sheet_selection_clear_formats) :
	  Use selection_apply.
873
	(selection_apply) : New function abstracting selections enabling
874 875 876 877 878
	  correct support for overlapping selection regions.
	(sheet_selection_to_list) : Use selection_apply.

	* src/value.c (value_new_array_empty) : New function.

879 880 881 882 883 884 885 886 887 888 889 890 891
1999-09-08  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/sheet-object.c (control_point_handle_event): substantialy
	re-written, same bugs :-), fix tommorow.; added range clipping.

	* src/sheet-object-container.c (sheet_object_container_land): Add
	auto-size placeholder & argument.
	(sheet_object_container_destroy): gnome_object_destroy instead of
	gtk_object_destroy.

	* src/sheet-object.c (sheet_object_drop_file): remove duff realize
	and debug. Correct gnome_object_destroy to gtk_object_destroy.

892 893 894 895
1999-09-08  Morten Welinder  <terra@diku.dk>

	* gnumeric.desktop: Add Danish translations.

Jody Goldberg's avatar
Jody Goldberg committed
896 897 898 899
1999-09-08  Jody Goldberg <jgoldberg@home.com>

	* src/cell.c (cell_get_span) : Support VALUE_EMPTY.

Michael Meeks's avatar
Michael Meeks committed
900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919
1999-09-08  Michael Meeks  <michael@nuclecu.unam.mx>

	* src/sheet-view.c (filenames_dropped, sheet_view_construct): Move
	D&D activation to here, so we get sensible handling of positions.
	
	* src/sheet-object-container.c (user_activation_request_cb): typo.
	(sheet_object_drop_file): Emit the correct signal to realize, take
	a SheetView argument, clean 'msg's up.
	(sheet_object_container_new): Squashed warning.

	* src/workbook.c (filenames_dropped, workbook_new): Move D&D into
	sheet-view.c.

	* src/file.c (workbook_try_read): Split from workbook_read.
	(workbook_import, workbook_read): Correct casts & updated.

	* src/dialogs/dialog-function-select.c (function_definition_update),
	(function_categories_fill): Add casts to get round daft clist_append
	constification.

920 921 922 923 924 925
1999-09-08  Vincent Renardias  <vincent@ldsol.com>

	* src/dialogs/dialog-analysis-tools.c: A number of displayed strings
	were not marked as such.
	* po/fr.po: Updated accordingly.

926 927 928 929 930
1999-09-08  Pablo Saratxaga <srtxg@chanae.alphanet.ch>

	* src/workbook.c: changed "_Comments" to "Co_mments" as there is
	already "_Content" in the same menu

Jody Goldberg's avatar
Jody Goldberg committed
931 932 933 934 935
1999-09-07  Jody Goldberg <jgoldberg@home.com>

	* src/dialogs/dialog-function-select.c (function_definition_update,
	  function_categories_fill) : Const.

936 937
1999-09-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>

938 939
	* src/workbook.c: Remove sample button from the toolbar.

940 941 942
	* src/item-bar.c (item_bar_event): Use the item_bar->resize_pos
	computed during button press. #2090 fixed

943 944 945 946 947 948 949 950
1999-09-07  Morten Welinder  <terra@diku.dk>

	* src/print-info.c (save_margin): Terminate the set of strings to
 	concatenate.

	* src/dialogs/dialog-printer-setup.c (do_setup_main_dialog): Plug
 	leak.

951 952 953 954 955 956 957 958 959 960 961 962
1999-09-07  Michael Meeks  <michael@imaginator.com>

	* src/pixmaps.h: Added button.xpm

	* src/sheet-object.c (sheet_object_drop_file): Created.

	* src/workbook.c (filenames_dropped): Move component d&d guts into
	sheet-object.

	* src/file.c (workbook_import, workbook_read): Add bonobo_object
	_destroy if we have bonobo.

Miguel de Icaza's avatar
Miguel de Icaza committed
963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004
1999-09-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/item-grid.c: Code now can draw emtpy cells with the correct style.

1999-09-03  Miguel de Icaza  <miguel@gnu.org>

	* src/dialogs/dialog-printer-setup.c (draw_margins): Added margin
	display preview. 

	* src/print-preview.c (preview_zoom_out_cmd): Zoom-in, zoom-out
	and move are now toggle buttons.

	* src/workbook.c (italic_cmd, bold_cmd): Simplified the code some.

	* src/dialogs/dialog-printer-setup.c (do_setup_page_info): Force
	the icon display here.
	(preview_page_create): Invert test.
	(PAGE_X, PAGE_Y): They are now the same values.
	(do_setup_page): Show the images here.

1999-09-02  Miguel de Icaza  <miguel@gnu.org>

	* src/print-preview.c (create_toplevel): Add a toolbar.

	* src/print.c (compute_groups): Include the margins in the
	size computation.

	* src/print-cell.c (print_cell_range): Start printing from the
	start_row, not from zero.

	* src/print-preview.c: Change of plans.  We now use a metafile, we
	render all the code there.  And then we use the new metafile
	operations for rendering a specific page.

	* src/item-cursor.c (item_cursor_autofill_event): Change this to
	destroy again.

1999-09-01  Miguel de Icaza  <miguel@gnu.org>

	* src/print-preview.c (print_preview_print_done): Show the first
	page here.

1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021
1999-09-03  Michael Meeks  <michael@imaginator.com>

	* src/sheet-object-container.c (sheet_object_container_land): Add
	return type to denote if we created and bound correctly.
	(sheet_object_container_creation_finished): Add warning on failure.
	(get_file_name): Kill warning.

1999-09-01  Michael Meeks  <michael@imaginator.com>

	* src/sheet-object-container.c (sheet_object_container_land): Add
	optional file argument and document.
	(sheet_object_container_creation_finished): update call's args.

	* src/sheet-object.h: Removed redundant sheet_object_register.

	* src/workbook.c (filenames_dropped): Hacked.

Miguel de Icaza's avatar
Miguel de Icaza committed
1022 1023 1024 1025 1026
1999-09-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/item-bar.c (item_bar_event): Use the item_bar->resize_pos
	computed during button press. #2090 fixed

1027 1028 1029 1030 1031
1999-09-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/format.c (format_number): "\" is an escape character for the
	next character on the format.

1032 1033 1034 1035 1036 1037 1038
1999-09-07  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.h: Make up for deficient header files.

	* src/cursors.c (create_bitmap_and_mask_from_xpm): Fix bitmap
 	loading.  This code isn't exactly elegant.

Jody Goldberg's avatar
Jody Goldberg committed
1039 1040 1041 1042 1043 1044 1045 1046 1047
1999-09-06  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-view.[ch] (sheet_view_scrollbar_config) : Adjust scrollbar
	  increment.  Split out from sheet_view_size_allocate.

	* src/gnumeric-sheet.c (gnumeric_sheet_compute_visible_ranges) :
	  call sheet_view_scrollbar_config, to adjust scrollbar when region
	  changes.

1048 1049 1050 1051
1999-09-05  Miguel de Icaza  <miguel@gnu.org>

	* src/print-preview.c (preview_canvas_event): Add an event handler
	for the preview canvas.  
1052
	Make the drag action on MOVE mode move the canvas.
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067
	(zoom_state): new routine, controls the toolbar widget display.

	* src/cursors.c: Add new zoom in and zoom out cursors.

	* src/dialogs/dialog-printer-setup.c (unit_editor_new): One line
	warning fix.

	* src/sheet.c (sheet_col_size_fit): Returns the size required to
	render every cell completely.

	* src/item-bar.c (item_bar_event): Delay column/row resizing
	action until the division is actually being dragged.  We need this
	to catch double-clicks for auto-sizing cells.
	(GDK_2BUTTON_PRESS):

1068 1069 1070 1071 1072 1073 1074 1075 1076 1077
	* src/dialogs/dialog-cell-format.c (create_background_radio,
	create_foreground_radio): Set the toggle button to the colored
	when the color selector has been clicked.

	* src/item-grid.c (item_grid_draw): Experimental code for drawing
	empty cells with the correct attributes.

	Only enabled if you use set gnumeric debugging flag above 1.  I do
	have some issues with selection drawing. 

1078 1079 1080 1081
1999-09-05  Richard Hestilow  <hestgray@ionet.net>

	* configure.in: Minor s/For/for library check message fix.
	
1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097
1999-09-03  Miguel de Icaza  <miguel@gnu.org>

	* src/dialogs/dialog-printer-setup.c (draw_margins): Added margin
	display preview. 

	* src/print-preview.c (preview_zoom_out_cmd): Zoom-in, zoom-out
	and move are now toggle buttons.

	* src/workbook.c (italic_cmd, bold_cmd): Simplified the code some.

	* src/dialogs/dialog-printer-setup.c (do_setup_page_info): Force
	the icon display here.
	(preview_page_create): Invert test.
	(PAGE_X, PAGE_Y): They are now the same values.
	(do_setup_page): Show the images here.

Miguel de Icaza's avatar
Miguel de Icaza committed
1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119
1999-09-02  Miguel de Icaza  <miguel@gnu.org>

	* src/print-preview.c (create_toplevel): Add a toolbar.

	* src/print.c (compute_groups): Include the margins in the
	size computation.

	* src/print-cell.c (print_cell_range): Start printing from the
	start_row, not from zero.

	* src/print-preview.c: Change of plans.  We now use a metafile, we
	render all the code there.  And then we use the new metafile
	operations for rendering a specific page.

	* src/item-cursor.c (item_cursor_autofill_event): Change this to
	destroy again.

1999-09-01  Miguel de Icaza  <miguel@gnu.org>

	* src/print-preview.c (print_preview_print_done): Show the first
	page here.

1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132
1999-09-02  Jody Goldberg <jgoldberg@home.com>

	* src/clipboard.c (clipboard_paste_region) : Check that another
	  workbook has not already freed the selection before releasing.
	(x_selection_received) : Ditto.
	(x_clipboard_bind_workbook) : Init clipboard_paste_callback_data.

1999-09-01  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object.c (sheet_object_update_coords) : Scale movements by
	  zoom factor.
	* src/sheet-object-widget.c (sheet_object_widget_update_coords) : Ditto.

1133 1134 1135 1136 1137 1138 1139
1999-09-01  Jody Goldberg <jgoldberg@home.com>

	* src/sheet.c (sheet_compute_col_row_new_size) :
	  The margin appears to be used for the border used to
	  mark the current cell.  This border is not scaled when
	  zoomed.

1140 1141 1142 1143 1144 1145 1146 1147
1999-09-01  Miguel de Icaza  <miguel@gnu.org>

	* src/file.c (workbook_read): If the file does not exist, create a
	1-sheet worbook.

	* src/print-preview.c: Re-enable zoom in and zoom out after the gnome-print
	fixes

1148 1149 1150 1151 1152 1153
1999-09-01  Jody Goldberg <jgoldberg@home.com>

	* src/sheet.c (sheet_move_column, sheet_shift_row,
	  sheet_insert_row, sheet_delete_row, sheet_shift_col) : Don't
	  relocate the expressions. (Bug 2041)

1154 1155 1156 1157
1999-09-01  Pablo Saratxaga <pablo@mandrakesoft.com>

	* configure.in,po/da.po: added Danish file

1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172
1999-08-31  Miguel de Icaza  <miguel@gnu.org>

	* src/dialogs/dialog-printer-setup.c (do_setup_main_dialog):
	Enable the print-preview buttons.

	* configure.in (have_bonobo): Test for gnome-print 0.5

	* src/print.c (workbook_print): Adapt to the new gnome-print;
	Added support for print preview.

	* src/print-preview.c: New file.  Implements the print preview
	control window.

	* src/functions/fn-financial.c: Add brace to remove ambiguity
	
1173 1174 1175 1176
1999-08-31  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/functions/fn-financial.c: Implemented ACCRINT() and DISC().

Miguel de Icaza's avatar
Miguel de Icaza committed
1177 1178 1179 1180
1999-08-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/dialogs/dialog-paste-special.c: Typo fix.

Morten Welinder's avatar
Morten Welinder committed
1181 1182 1183 1184 1185 1186
1999-08-29  Morten Welinder  <terra@diku.dk>

	* src/about.c (dialog_about): Add Ross Ihaka.

	* src/dialogs/dialog-paste-special.c: Typo.

1187 1188 1189 1190 1191 1192 1193
1999-08-29  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/functions/fn-financial.c: Implemented ACCRINTM(), INTRATE(),
 	RECEIVED(), PRICEDISC(), and PRICEMAT().

	* src/func.h, src/functions/fn-date.c: Made get_date public.

1194 1195
1999-08-29  Morten Welinder  <terra@diku.dk>

Morten Welinder's avatar
Morten Welinder committed
1196 1197 1198 1199 1200
	* src/functions/fn-lookup.c (gnumeric_indirect): Plug leak.

	* src/format.c (pre_parse_format): Don't overrun string.
	(format_number): Plug leak.

1201 1202
	* src/workbook.c (workbook_do_destroy): Typo.

1203 1204 1205 1206 1207 1208
1999-08-28  Miguel de Icaza  <miguel@gnu.org>

	* src/dialogs/*.glade.h: Make sure every dialog box has updated
	.glade.h and add glade.h generation to the summary, names and
	import glade files.

Karl Eichwalder's avatar
Karl Eichwalder committed
1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219
1999-08-28  Karl Eichwalder  <ke@suse.de>

	* gnumeric.desktop: Sort entries.
	(Name): Add `de'.
	(Comment): Ditto.

	* src/dialogs/dialog-zoom.c (dialog_zoom): Help xgettext to
	recognize the strings as `no-c-format'.
	* src/formats.c: Ditto.
	* src/gnumeric-sheet.c: Ditto.

Karl Eichwalder's avatar
typo  
Karl Eichwalder committed
1220 1221
1999-08-27  Karl Eichwalder  <ke@suse.de>

1222 1223 1224 1225
	* src/workbook.c: Typo.
	* src/workbook.c (sheet_action_delete_sheet): Change messages
	string.
	* src/workbook.c (sheet_action_delete_sheet): Ditto.
Karl Eichwalder's avatar
typo  
Karl Eichwalder committed
1226

Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
1227 1228 1229 1230
1999-08-26  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/functions/fn-financial.c: Implemented ISPMT().
	
1231 1232
1999-08-25  Jukka-Pekka Iivonen  <iivonen@iki.fi>

Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
1233 1234
	* samples/finfuns.xls: Fixed the test of MIRR.

1235 1236
	* src/functions/fn-financial.c: Implemented FVSCHEDULE().
	
1237 1238 1239 1240 1241
1999-08-24  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/functions/fn-financial.c: Implemented TBILLEQ() and started
	MIRR().
	
1242 1243 1244 1245 1246
1999-08-23  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/functions/fn-financial.c: Implemented TBILLPRICE() and
 	TBILLYIELD().
	
1247 1248
1999-08-22  Jukka-Pekka Iivonen  <iivonen@iki.fi>

1249 1250 1251 1252 1253 1254 1255
	* src/dialogs/dialogs-solver.c: Fixed a lot of things, memory
 	leaks and bugs.  The backend is still not there (but wait, one of
 	these days it may get there).

	* src/dialogs/dialogs.h, src/dialogs/dialogs-analysis-tools.c:
 	hbox_pack_label_and_entry made public.

1256 1257 1258 1259
	* src/collect.[ch], src/functions/fn-financial.c: Removed
 	collect_dates.  Added a flag COLLECT_DATES to
 	callback_function_collect instead.
	
1260 1261 1262 1263 1264
1999-08-22  Miguel de Icaza  <miguel@gnu.org>

	* src/main.c (gnumeric_main): New Bonobos need to issue the
	bonobo_activate() call.

Miguel de Icaza's avatar
Miguel de Icaza committed
1265 1266 1267 1268 1269
1999-08-21  Miguel de Icaza  <miguel@gnu.org>

	* src/workbook.c (workbook_new_with_sheets): Fixed hardcoded
	buffer. 

1270 1271 1272 1273 1274
1999-08-20  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* samples/finfuns.xls: Made all the dates to use DATE() function
	instead of using strings in scandinavian style.
	
1275 1276 1277 1278 1279
1999-08-20  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/fn-financial.c: Made the last two arguments of PMT and PPMT
 	optional.
	
Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
1280 1281 1282 1283 1284 1285
1999-08-20  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/fn-financial.c: DDB() implemented.

	* src/fn-stat.c: QUARTILE() implemented.
	
1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303
1999-08-20  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* po/de.po: Removed the last bogus msgid to make it compile again.

	* src/sheet.c (sheet_insert_object): Added #if ENABLE_BONOBO to
 	make it compile without BONOBO.

	* src/gnumeric-sheet.c (gnumeric_sheet_drag_data_get): Ditto.

	* src/collect.[ch]: Wrote collect_dates and collect_dates_value.

	* src/fn-financial.c: DB() and XNPV() implemented.  DOLLARDE() and
 	DOLLARFR() fixed.

	* src/fn-date.c, src/func.h: get_serial_date made public.

	* TODO: Killed the four functions above from the todo list.
	
1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341
1999-08-19  Miguel de Icaza  <miguel@gnu.org>

	* src/workbook.c (workbook_container_get_object): Finish
	implementing this routine for responding to monikers.
	(create_graphic_cmd): temporarily bind this to
	Generic Bonobo object insertion.
	(cb_sheet_check_dirty): Make the dialog parent be the workbook
	window. 

	* src/workbook.h (Workbook): Include a GnomeUIHandler.
	
	* src/sheet.c (sheet_insert_object): Enable this function again
	and update it to match the latest Bonobo developments.

	* src/sheet.h (Sheet): Include a pointer to the active object
	frame. 

	* src/sheet-object.c (sheet_set_mode_type): Do deactivation of
	Bonobo frames here.

	*  src/gnumeric-sheet.c (gnumeric_drag_data_get): Beginning of
	drag and drop support for Bonobo monikers.

	* src/item-grid.c (drag_start): More DnD support for Gnumeric
	selections using Monikers.

	* src/sheet-object-container.c (user_activation_request_cb,
	view_activated_cb, get_file_name): New routines for dealing with
	the Bonobo object action in Gnumeric.

	(sheet_object_container_land): Do object selection here for now.
	Support both PersistStream and PersistFile

	* src/sheet-object.c: 

	* src/workbook.c (cb_sheet_check_dirty): Bind the dialog to the
	main window.

1342 1343 1344 1345 1346
1999-08-20  Michael Meeks  <michael@imaginator.com>

	* src/cell.c (cell_set_text_simple): Add checks for over/under
	flow on integer reading... fall back to double values.

Miguel de Icaza's avatar
Miguel de Icaza committed
1347 1348 1349 1350 1351
1999-08-19  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/cell.c (cell_content_changed): Ok, Paolo corrected me.  This
	is not what he wanted.  

Michael Meeks's avatar
Michael Meeks committed
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362
1999-08-16  Michael Meeks  <michael@imaginator.com>

	* src/fn-lookup.c (gnumeric_indirect): Fix leak
	Update to use new cellref_*_get functions.

	* src/parser.y (return_cellref): Use new function.

	* src/sheet.c (cellref_get): Implemented
	(cellref_a1_get): Snarf from parser.y :-)
	(cellref_r1c1_get): Implemented.

1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374
1999-08-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/workbook.c (workbook_class_init): Added cell_content_changed
	signal.  
	(workbook_do_destroy): Do not enable widgets to be focused.

	* src/cell.c (cell_content_changed): Calls workbook_cell_changed.
	This is for Paolo and his speech system for GNOME.
	
	* configure.in: New bonobo detection code and support for not
	compiling Bonobo support even if it is present on the system
	
1375 1376 1377 1378 1379
1999-08-17  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* samples/statfuns.xls: Updated the tests of LINEST and TREND to
	cover more possible cases.

Jody Goldberg's avatar
Jody Goldberg committed
1380 1381
1999-08-15  Jody Goldberg <jgoldberg@home.com>

1382 1383 1384
	* src/format.c (split_time) : Use a integer to avoid problems with
	  rounding when compiling with optimization.  Be extra careful to
	  round the result of the initial scaling.
Jody Goldberg's avatar
Jody Goldberg committed
1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399

	* src/sheet-view.c (vertical_scroll_event, horizontal_scroll_event) :
	  Only move and append to the selection if the cursor actually moves.

	* src/dialog-function-wizard.c (arg_data_list_new) : Constness.

	* src/expr.c (eval_expr_real) : Add OPER_PERCENT.
	(do_expr_decode_tree) : Ditto.
	(expr_dump_tree) : Ditto.

	* src/expr.h : Ditto.

	* src/parser.y : Add function build_unary_op, and support
	  exp '%'.  Precedence is a GUESS.

1400 1401 1402 1403 1404 1405 1406 1407 1408 1409
1999-08-16  Michael Meeks  <michael@imaginator.com>

	* src/widget-editable-label.c (el_start_editing): Remove
	GTK_WIDGET_SET/UNSET_FLAGS (GTK_CAN_FOCUS): broken for
	scrolling notebooks.
	(el_stop_editing): ditto.

	* src/workbook.c (workbook_setup_sheets): remove
	unset FOCUS on notebook.

1410 1411 1412 1413 1414
1999-08-15  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/fn-stat.c: Implemented TREND (mostly).  Made the second
 	argument of LINEST optional.

1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455
1999-08-15  Jody Goldberg <jgoldberg@home.com>

	* src/expr.c (eval_expr_real) : Don't free empty cells
	  in OPER_CONCAT.

1999-08-14  Jody Goldberg <jgoldberg@home.com>

	* src/clipboard.c (clipboard_release) : Use the original
	  row/col to calculate offsets when pasting cells that relocate
	  references.
	(clipboard_copy_cell_range) : Handle relocation.

	* src/expr.c (do_expr_decode_tree) : Duplicate the error message
	  because someone is going to free it.
	(expr_relocate) : New Function.

	* src/cell.c (cell_relocate) : Use expr_relocate.
	(cell_copy) : Don't NULL out the row/col/sheet
	  in the copied cell.  It gets reset on entry and is useful
	  information.
	(paste_cell) : Handle relocate.
	(clipboard_copy_cell_range) : Ditto.

	* cell.h : Differentiate CELL_COPY_TYPE_CELL into
	CELL_COPY_TYPE_CELL_ABSOLUTE or CELL_COPY_TYPE_CELL_RELATIVE,
	to deal with cut vs paste.

	* src/sheet-autofill.c : Use cell_relocate to test for out of bounds.

1999-08-14  Jody Goldberg <jgoldberg@home.com>

	* src/workbook.c (wb_edit_key_pressed) : Support F4 toggling
	  abs/relative.

	* src/expr.h : Constify FunctionDefinition.

	* src/fn-information.c : Use 'Red' instead of 'red' to match XL.

	* src/func.c (function_get_category, fn_def_init,
		      function_add_nodes, function_add_args) : Constify.

1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472
1999-08-15  Morten Welinder  <terra@diku.dk>

	* src/fn-stat.c (gnumeric_frequency): Fix leak (bin_array).  Fix
 	leak (data_cl.entries).  Fix leak (bin_cl.entries).  Fix leak
 	(floats for data).  Fix leak (floats for bins).  Fix leak (count).
	(gnumeric_linest): Simplify.
	(gnumeric_intercept): Simplify.
	(gnumeric_slope): Simplify.
	(gnumeric_forecast): Simplify.

	* src/collect.c (collect_floats_value): Make non-static.
	(float_range_function2): Plug leak.

	* src/Makefile.am (GNUMERIC_BASE_SOURCES): Add regressions.[ch].

	* src/style.c (style_font_unref): Fix obsolete warning.

Kjartan Maraas's avatar
Kjartan Maraas committed
1473 1474 1475 1476
1999-08-12  Kjartan Maraas  <kmaraas@online.no>

	* src/fn-math.c: Typo fixes.
	
1477 1478 1479 1480 1481
1999-08-12  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/fn-stat.c: Implemented the simplest case of LINEST()
 	function.
	
1482 1483
1999-08-12  Jody Goldberg <jgoldberg@home.com>

Jody Goldberg's avatar
Jody Goldberg committed
1484 1485 1486
	* src/fn-date.c (gnumeric_date) : Fix typo that was moving us 1900
	  years into the future.

1487 1488 1489
	* src/formats.c (cell_format_numbers) :  Use 'Red' rather than 'red'
	  to match XL better.

1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505
1999-08-11  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-sheet.c ( move_cursor_horizontal, move_cursor_vertical,
	  move_horizontal_selection, move_vertical_selection,
	  selection_cursor_move_horizontal, selection_cursor_move_vertical) :
	  selection_expand_horizontal, selection_expand_vertical) :
	  Support Ctrl-Arrow which jumps to the boundaries of non-blank
	  ranges.

	* src/sheet.c (sheet_find_boundary_vertical,
	  sheet_find_boundary_horizontal) :  New functions, to find the start
	  and end of ranges.  They also ensure that the corner which was moved
	  stays visible.
	(sheet_selection_extend_vertical) : Use sheet_find_boundary_vertical.
	(sheet_selection_extend_horizontal) : Use sheet_find_boundary_horizontal.

1506 1507 1508 1509 1510 1511 1512 1513 1514 1515
1999-08-11  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/fn-string.c: Fixed the rounding of DOLLAR() function.

	* src/fn-financial.c: Some minor cleaning.

	* src/func.h: Added prototypes for callback_function_make_list.
	
	* src/fn-stat.c: Fixed PROB() function.

Michael Meeks's avatar
Michael Meeks committed
1516 1517 1518 1519
1999-08-11  Michael Meeks  <michael@imaginator.com>

	* plugins/text/text-io.c: Prototypes updated.

Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
1520 1521
1999-08-11  Jukka-Pekka Iivonen  <iivonen@iki.fi>

1522 1523
	* TODO: Updated the remaining work of build-in functions.

Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
1524 1525
	* src/fn-stat.c: Implemented FREQUENCY().

1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555
1999-08-09  Miguel de Icaza  <miguel@gnu.org>

	* src/xml-io.c (xml_workbook_write): Handle locale switching here.
	(xml_workbook_read): Handle locale switching here.

	* src/file.c: Removed all references to saving and re-setting the
	locale.  This should be handled in the xml-io code.

1999-08-10  Miguel de Icaza  <miguel@gnu.org>

	* src/workbook.c (workbook_do_destroy): remove g_free from the
	workbook.  We are now a GtkObject.

1999-08-09  Miguel de Icaza  <miguel@gnu.org>

	* src/xml-io.c (xml_workbook_write): Move the locale
	setting/resetting here, instead of putting it all over the place.

1999-08-09    <miguel@gnu.org>

	* src/xml-io.c (xml_workbook_read): Adjusted to use the new file
	open convention.

	* src/file.h: File open methods now take a workbook as an argument
	instead of creating it themselves.  Required for the
	GNOME::Persist bonobo interfaces.

	* src/file.c (workbook_read): Fix the workbook creation order to
	keep the locale correct if the file did not exist.

1556 1557 1558 1559 1560
1999-08-10  Morten Welinder  <terra@diku.dk>

	* src/workbook.c (workbook_do_destroy): Don't free the workbook
 	ourselves.

1561 1562 1563 1564 1565 1566
1999-08-10  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* samples/statfuns.xls: Updated the tests of functions returning
	array values.

	* samples/dbfuns.xls: Added a test for GETPIVOTDATA function.
Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
1567
	Also added a very simple pivot table.
1568
	
Michael Meeks's avatar
Michael Meeks committed
1569 1570 1571 1572 1573 1574 1575
1999-08-10  Michael Meeks  <michael@imaginator.com>

	* TODO, DEPENDS, doc/Future-Roadmap, doc/Design: Updated,
	and added short plugin design section.

	* doc/saving.txt: Added short section on Summary Information.

1576 1577 1578 1579 1580
1999-08-10  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/fn-math.c: Finished ROMAN().  Gnumeric now supports all the
 	60 mathematical functions of Excel 2000.

Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
1581 1582 1583 1584
1999-08-10  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/fn-math.c: Added MDETERM().

1585 1586 1587 1588 1589
1999-08-09  Michael Meeks  <michael@imaginator.com>

	* src/workbook.c (workbook_class_init): Moved hack to workbook.h,
	and removed comment.

Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
1590 1591 1592 1593
1999-08-09  Jukka-Pekka Iivonen  <iivonen@iki.fi>

	* src/fn-math.c: Added MINVERSE().

1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604
1999-08-09  Michael Meeks  <michael@imaginator.com>

	* src/sheet.c (sheet_cell_add): Optimise by checking last
	element of the list for a simple append before calling
	g_list_insert_sorted. CRowSort took up way too much time in my
	profile :-). [ This fix is quite temporary ]

	* src/workbook.c (workbook_init): Conditionaly compile bonobo
	specific code.
	(workbook_class_init): Grotesque hack so it compiles.

1605 1606 1607 1608
1999-08-08  Jacob Berkman  <jberkman@andrew.cmu.edu>

	* src/workbook.c: use smaller menu stock icon instead of large one

1609 1610
1999-08-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>

1611 1612 1613
	* src/xml-io.c (xml_write_summary): I think this is the correct
	fix.  We should not add childs if no summary info is available.

1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626
	* src/corba-sheet.c (Sheet_cell_set_font): Use the standard
	procedure to set the font.

	* src/cell.c: deleted finally cell_set_font.

	* src/workbook.c: Reorganization to make the code be a GtkObject.
	Redone the destruction bits of the Workbook.

	* src/workbook.h: Split sheet.h into workbook.h and sheet.h

	* src/workbook.h: Now the Workbook is a GtkObject or a
	GnomeObject, depending on the compilation flags.

1627 1628
1999-08-05  Morten Welinder  <terra@diku.dk>

Morten Welinder's avatar
Morten Welinder committed
1629 1630 1631 1632 1633 1634
	* src/dialog-printer-setup.c (dialog_print_info_destroy): Plug
 	leaks.

	* src/print-info.c (hf_format_render): Plug leak.
	(render_opcode): Constify.

1635 1636 1637
	* src/item-cursor.c (item_cursor_autofill_event): Don't unref, but
 	destroy.  We no longer own the ref.

1638 1639 1640 1641 1642
1999-08-05  Michael Meeks  <michael@imaginator.com>

	* src/file.c (workbook_import): Fix control flow to have 1 return.
	fix leak.

1643 1644 1645 1646
1999-08-05  Jody Goldberg <jgoldberg@home.com>

	* src/func.c (function_get_category) : Lookup/store in sorted list.

Morten Welinder's avatar
Morten Welinder committed
1647 1648
1999-08-05  Morten Welinder  <terra@diku.dk>

Morten Welinder's avatar
Morten Welinder committed
1649 1650 1651 1652 1653
	* src/cell.c (cell_set_font): Obsolete -- #if 0 for now.

	* src/cell.h: Remove now-static cell_formula_changed,
 	calc_text_dimensions, and cell_set_font.

Morten Welinder's avatar
Morten Welinder committed
1654 1655
	* src/dialog-analysis-tools.c (add_output_frame): Plug leak.

1656 1657 1658 1659 1660 1661 1662
1999-08-05  Michael Meeks  <michael@imaginator.com>

	* src/file.c (workbook_import): Major hacks to get round quirks
	in libglade.

	* src/import.glade: Add label to the container.

1663 1664 1665 1666 1667 1668 1669 1670 1671
1999-08-04  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/cell.c (calc_text_dimensions): Made static.
	(queue_cell): Killed dependency_deep_frozen routines, this was
	archaic code. 
	(cell_formula_changed): Made static.

	* src/sheet-autofill.c (autofill_register_list): Make static.

Michael Meeks's avatar
Michael Meeks committed
1672 1673 1674 1675 1676
1999-08-03  Michael Meeks  <michael@imaginator.com>

	* src/workbook.c (workbook_setup_edit_area): Removed function
	wizard.

Miguel de Icaza's avatar
Miguel de Icaza committed
1677 1678 1679 1680
1999-08-03  Miguel de Icaza  <miguel@gnu.org>

	* src/corba-sheet.c (fill_corba_value): Corrected the argument here.
	
1681 1682
1999-08-03  Jody Goldberg <jgoldberg@home.com>

1683 1684
	* src/plugin.h (struct) : 'private' is a C++ keyword.

1685 1686 1687 1688 1689 1690 1691 1692 1693 1694
	* src/sheet.h : Add GHashTable *dependency_hash to sheet.

	* src/sheet.c (sheet_destroy) : Clear depende