OChangeLog-2003-12-23 27.2 KB
Newer Older
Jon K Hellan's avatar
Jon K Hellan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
2002-02-25  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-image.h: Declare typedef ObjectImage.

	* src/sheet-object-image.c (struct _SheetObjectImage): Add
	cropping parameters.
	(sheet_object_image_new): Initialize cropping parameters.
	(sheet_object_image_set_crop): New function. Set cropping
	parameters.
	(soi_get_cropped_pixbuf): New function. Get the cropped image from
	pixbuf.
	(soi_get_pixbuf): Do cropping by calling soi_get_cropped_pixbuf.
	(sheet_object_image_init): Initialize cropping parameters.

15 16 17 18 19 20 21 22
2002-02-24  Almer S. Tigelaar  <almer@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=72416
	http://bugzilla.gnome.org/show_bug.cgi?id=71783
	* src/stf-export.c (stf_export_cell):
	Honor the 'never' quote setting and fix a subtle
	bug that caused the quoting character always be	"

23 24 25 26 27 28 29 30
2002-02-22  Morten Welinder  <terra@diku.dk>

	* src/numbers.h (floorgnum, ceilgnum, powgnum, expgnum, loggnum,
	log10gnum, singnum, cosgnum, tangnum, asingnum, acosgnum,
	atangnum): Supply these.  Use everywhere.

	* configure.in: Check for the above.

Morten Welinder's avatar
Morten Welinder committed
31 32 33 34 35 36 37 38 39 40 41
2002-02-22  Morten Welinder  <terra@diku.dk>

	* configure.in: Check for ldexpl and frexpl.

	* src/mathfunc.c (gpow2): New function.
	(gnumeric_add_epsilon, gnumeric_sub_epsilon, gnumeric_fake_floor,
	gnumeric_fake_ceil, gnumeric_fake_round, gnumeric_fake_trunc):
	Make these gnum_float typed.

	* src/numbers.h (frexpgnum, ldexpgnum): New stuff.

Morten Welinder's avatar
Morten Welinder committed
42 43
2002-02-21  Morten Welinder  <terra@diku.dk>

44 45 46
	* src/numbers.h: Define prototypes for strtognum, modfgnum, and
	gnumabs here when needed.

Morten Welinder's avatar
Morten Welinder committed
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
	* src/workbook-control-gui.c (wbcg_validation_msg): Constify.

	* src/cell.c (cell_is_zero): Use gnum_float.

	* src/regression.c (LUPDecomp): Use gnumabs.
	* src/solver-lp.c (solver_answer_report): Ditto.
	* src/value.c (value_diff): Ditto.
	* src/goal-seek.c: Ditto.
	* src/rangefunc.c (range_avedev): Ditto.

	* src/validation.c (validation_eval): Use gnum_float, modfgnum,
	and gnumabs.

	* src/numbers.h (GNUM_MANT_DIG, GNUM_MAX_EXP, gnumabs): New stuff.

Morten Welinder's avatar
Morten Welinder committed
62 63 64 65 66 67 68 69
2002-02-21  Morten Welinder <terra@diku.dk>

	* src/solver-lp.c (callback): Fix formats.

	* src/plugin-loader-module.h (ModulePluginFunctionInfo): Constify.
	* src/plugin-loader-module.c (gnumeric_plugin_loader_module_func_get_full_function_info): Constify.
	* src/func.c (function_def_get_full_info_if_needed): Constify.

Jody Goldberg's avatar
Jody Goldberg committed
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
2002-02-20  Jody Goldberg <jody@gnome.org>

	* src/workbook.h : some house cleaning.

	* src/workbook.c (workbook_is_pristine) : remove stuf for
	  external_dependents.  No use having fogotten stubs hanging around.

	* src/workbook-control-gui.c (cb_insert_component) : look for
	  ControlFactories.
	(cb_insert_shaped_component) : look for CanvasComponentFactories.

	* src/commands.h : remove include for gtkobject.

	* idl/GNOME_Gnumeric_Graph.idl : We a ControlFactory now, not an
	  Embeddable.

Morten Welinder's avatar
Morten Welinder committed
86 87 88 89 90 91 92 93 94
2002-02-20  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (display): Fix format.
	* src/analysis-tools.c (confidence_level): Ditto.
	(regression_tool): Ditto.
	* src/format.c (fmt_general_int): Ditto.

	* configure.in (set_mode_warnings): Add -Wformat also.

Morten Welinder's avatar
Morten Welinder committed
95 96 97 98 99
2002-02-20  Morten Welinder  <terra@diku.dk>

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

100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
2002-02-20  Morten Welinder  <terra@diku.dk>

	* src/parser.y (yyerror): Constify.

	* src/xml-io.c (xml_node_set_print_unit): Constify.
	(xml_read_print_repeat_range): Constify.

	* src/summary.c (summary_item_name): Constify.

	* src/print-info.c (predefined_formats, render_ops): Constify.

	* src/expr-name.c (builtins): Constify.

	* src/complex.c (complex_to_string): Constify.

	* src/commands.c (cmd_set_text): Constify.
	(cmd_area_set_text): Constify.

	* src/mstyle.c (mstyle_to_string): Missing g_strdup added for
 	sanity check, just in case.
	* src/summary.c (summary_item_as_text): Ditto.
	* src/value.c (value_get_as_string): Ditto.

	* configure.in (CFLAGS): Add -Wwrite-strings, if possible.

	* src/gui-util.c (gnumeric_dialog_raise_if_exists): Constify.

127 128 129 130 131 132 133 134 135 136 137
2002-02-20  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.c (regression_tool) : use only values
	  from extra_stat (renamed to regression_stat)
	* src/regression.c (general_linear_regression) : calculate more 
	  regression_stat
	(regression_stat_new) : new
	(regression_stat_destroy) : new
	* src/regression.h : add fields to regression_stat_t and add 
	  declarations of regression_stat_new and regression_stat_destroy

138 139
2002-02-20  Morten Welinder  <terra@diku.dk>

140 141 142
	* src/format.c (format_value): Missing g_strdup added for sanity
 	check, just in case.

143 144 145
	* src/datetime.c (coup_cd): Cleanup using
 	g_date_get_days_in_month.

Morten Welinder's avatar
Morten Welinder committed
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
2002-02-19  Morten Welinder  <terra@diku.dk>

	* src/numbers.h (modfgnum, strtgnum, GNUM_FORMAT_[eEfg],
 	GNUM_DIG): New stuff.

  	* .../*.[cy]: All relevant strtod changed to strtognum; modf to
 	modfgnum; DBL_DIG to GNUM_DIG; formats changed to use
 	GNUM_FORMAT_...

	* src/gutils.c (strtognum): If needed, define a version here.

	* src/complex.c (complex_to_string): Use right format for
 	imaginary part.

	* configure.in: Add support for --with-long-double.

	* acconfig.h: Add WITH_LONG_DOUBLE.

164 165 166 167 168 169
2002-02-19  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=69362
	* src/auto-correct.c (autocorrect_tool) : only upper case things if
	  they are at the start of a word.

Morten Welinder's avatar
Morten Welinder committed
170 171
2002-02-19  Morten Welinder  <terra@diku.dk>

172 173
	* src/format.c: Use gnum_float instead of double.

174 175
	* src/mathfunc.c (random_01): Use /dev/urandom when available.

176 177 178 179 180
	* src/sheet-autofill.c (autofill_cell): Use gnum_float instead of
	double.
	* src/expr.c (expr_eval_real): Ditto.
	* src/datetime.c (datetime_timet_to_serial_raw): Ditto.

Morten Welinder's avatar
Morten Welinder committed
181 182 183 184
	* src/format.c (format_compile): Fix isdigit usage.

	* src/value.c (value_diff): Return a gnum_float, not a double.

185 186 187 188 189 190
2002-02-19  Jody Goldberg <jody@gnome.org>

	* src/global-gnome-font.c (global_gnome_font_init) : get font list
	  from pango.
	(global_gnome_font_shutdown) : and free it here.

Jody Goldberg's avatar
Jody Goldberg committed
191 192
2002-02-18  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
193
	* configure.in  : post release bump.
Jody Goldberg's avatar
Jody Goldberg committed
194

Jody Goldberg's avatar
Jody Goldberg committed
195 196 197 198
2002-02-18  Jody Goldberg <jody@gnome.org>

	* Release 1.1.0

199 200 201 202 203 204
2002-02-18  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_scroll_wheel_support) : fix
	  scrollwheel support.
	(workbook_control_gui_init) : use the new 'scroll-event' handler.

205 206 207 208 209
2002-02-17  Jody Goldberg <jody@gnome.org>

	* plugins/excel/ms-escher.c (ms_escher_read_OPT) : add support for
	  blip cropping.

210 211 212 213 214 215
2002-02-16  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-image.c (soi_get_pixbuf) : move things here.
	(sheet_object_image_new_view) : and use it here.
	(sheet_object_image_print) : and here.

Jody Goldberg's avatar
new.  
Jody Goldberg committed
216 217 218 219 220 221 222 223 224 225 226
2002-02-15  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-image.{ch} : new.

	* src/sheet-object.c (sheet_object_new_view) : use a weak_ref.

	* src/sheet-control-gui.c (scg_object_register) : more safety
	  and use a weak_ref.

	* src/sheet-object-graphic.c : More GObject-ification.

Morten Welinder's avatar
Morten Welinder committed
227 228 229
2002-02-15  Morten Welinder  <terra@diku.dk>

	* src/regression.c (LUPDecomp): Use fabs, not abs.
Morten Welinder's avatar
Morten Welinder committed
230
	* src/validation.c (validation_eval): Ditto.
Morten Welinder's avatar
Morten Welinder committed
231

232 233 234 235 236
2002-02-15  Morten Welinder  <terra@diku.dk>

	* src/regression.c (general_linear_regression): Cleanup using
	range functions.

Jody Goldberg's avatar
Jody Goldberg committed
237 238 239
2002-02-15  Jody Goldberg <jody@gnome.org>

	* src/widgets/gnumeric-combo-text.c (gnm_combo_text_destroy) : more
240 241
	  g_signal-ification.  g_signal_handlers_disconnect_by_func just hides
	  the problem.  The real issue is that we are disconnecting twice.
Jody Goldberg's avatar
Jody Goldberg committed
242 243 244

	* src/workbook.c (workbook_set_saveinfo) : use a weak_ref.

Jody Goldberg's avatar
Jody Goldberg committed
245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293
2002-02-15  Jody Goldberg <jody@gnome.org>

	* src/item-cursor.c (item_cursor_tip_setlabel) : enable now that the
	  canvas bug is fixed.

	* src/sheet-control-gui.c (cb_hscrollbar_adjust_bounds) : new.
	(cb_vscrollbar_adjust_bounds) : new.

	* src/gui-util.c (gtk_button_stock_alignment_set) : new.
	(gnumeric_init_help_button) : new.

	* src/gnumeric-canvas.h : Move declaration of
	  GnumericCanvasSlideHandler here.

	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : forward to the entry,
	  not the GnumericExprEntry wrapper.
	(gnm_canvas_key_mode_sheet) : ditto.

	* src/formats.c (cell_format_classify) : handle general.

	* src/file-priv.h : Inherit from GObject.

	* src/complete-sheet.c (complete_sheet_finalize) : call class_peek
	  here to avoid potential reference problems.

	* src/commands.c (cmd_set_text) : doh!  fix multi-line text.
	(cmd_autoformat) : const.

	* src/cell.c (cell_relocate) : const.
	* src/clipboard.c (paste_cell_with_operation) : const.
	(paste_cell) : ditto.

	* src/application.c (application_init) : add jimmac's expr-entry icon.

	* src/Makefile.am : distribute the marshaller.list

	s/GtkType/GType/
	s/GtkSignalFunc/GCallback/
	s/gtk_signal_connect/g_signal_connect/  + reformating.
	s/GTK_CHECK_CAST/G_TYPE_CHECK_INSTANCE_CAST/
	s/GTK_CHECK_TYPE/G_TYPE_CHECK_CLASS_CAST/
	s/GTK_CHECK_CLASS_CAST/G_TYPE_CHECK_INSTANCE_TYPE/
	s/GTK_CHECK_CLASS_TYPE/G_TYPE_CHECK_CLASS_TYPE/

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

	* src/stf.c (stf_init) : Make the names of the text import/export
	  clearer.

294 295
2002-02-12  Morten Welinder  <terra@diku.dk>

Morten Welinder's avatar
Morten Welinder committed
296 297 298 299 300 301 302
	* src/io-context.c (value_io_progress_update): Correct assertion.

	* src/io-context.c (file_io_progress_update,
	memory_io_progress_update, value_io_progress_update,
	count_io_progress_update, workbook_io_progress_update): Use test,
	not assignment.

303 304 305 306
	* src/stf-parse.c (trim_spaces_inplace): Fix isspace usage.
	(stf_parse_is_valid_data): Ditto.
	* src/sheet.c (sheet_name_quote): Ditto.

307 308
2002-02-11  Jon K Hellan  <hellan@acm.org>

309 310
	Support per-sheet grid color. Needed for correct XL import.

311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328
	* src/style-color.[ch] (color_equal): Rename to style_color_equal
	and export.

	* src/style-border.[ch] (style_border_none_set_color): New
	function. Update the grid color (color of style border none) to
	the given color.

	* src/sheet-style.[ch] (sheet_style_update_grid_color): New
	function. Update the grid color to fit the given sheet.

	* src/item-grid.c (item_grid_draw): Call
	sheet_style_update_grid_color before rendering.

	* src/print-cell.c (print_cell_range): Ditto

	* src/preview-grid.c (preview_grid_draw): Call
	style_border_none_update_color before rendering.

Jody Goldberg's avatar
Jody Goldberg committed
329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362
2002-02-11  Jody Goldberg <jody@gnome.org>

	* src/item-bar.c (item_bar_realize) : Use the standard cursor.

2002-02-08  Jody Goldberg <jody@gnome.org>

	* src/workbook-edit.c (wbcg_get_entry) : Use
	  gnumeric_expr_entry_get_entry.
	(wbcg_edit_attach_guru) : wbcg_get_entry.
	(wbcg_edit_detach_guru) : ditto.

	* src/workbook-control-gui.c : include datetime.h
	(workbook_setup_edit_area) : pack the ecpr-entry, not the contained
	entry.
	(wbcg_validation_msg) : warning suppression.

	* src/validation.c (validation_eval) : suppress warning.

	* src/sheet-autofill.c (str_contains) : delete.

	* src/number-match.c (format_match) : remove unused variable.

	* src/item-edit.c (item_edit_set_arg) : wbcg_get_entry signature change.

	* src/format-template.c (format_template_member_set_row_info) : delete.
	(format_template_member_set_col_info) : ditto.

	* src/commands.c (cmd_autoformat) : revert previous attempt at
	  constness.  It seems the templates are also used as acumulators
	  during application.  I don't think it is a great design choice,
	  but we'll live with it.

	* src/application.c (application_init) : add Jacub's expr entry.

Chema Celorio's avatar
Chema Celorio committed
363 364 365 366 367
2002-02-10  Chema Celorio  <chema@celorio.com>

	* configure.in: remove GNOME_COMMON_INIT
	[http://developer.gnome.org/dotplan/porting/ar01s05.html]

368 369
2002-02-08  Jon K Hellan  <hellan@acm.org>

Jon K Hellan's avatar
Jon K Hellan committed
370 371
	* src/mstyle.c (link_border_colors): Return from the right place.

372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393
	* src/style-color.c (style_color_new_uninterned): Create with
	refcount 1.
	(style_color_new): Only increment refcount if using cached color.

	* src/sheet.c (sheet_duplicate): Clone auto pattern color

	* src/sheet-style.c (sheet_style_init): Move auto_pattern_color
	initialization forward. sheet_style_get_auto_pattern_color is
	called from sheet_style_find below.
	(sheet_style_set_auto_pattern_color): Tag it as an auto
	color. Unref the input color.

	* src/sheet-style.[ch]: (sheet_style_get_auto_pattern_color): constify.

	* src/mstyle.c (link_pattern_color): New function.  Replace auto
	pattern color in style with sheet's auto pattern color.
	(link_border_colors): New function. Replace auto border colors in
	style with sheet's auto pattern color.
	(mstyle_link_sheet): Use target sheet's auto pattern color by
	calling link_xxxx_color functions.
	(mstyle_set_border): Fix typo.

394 395 396 397
2002-02-07  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.c (anova_single_factor_tool) : be more
	  careful with precision.
398

399 400
2002-02-07  Andreas J. Guelzow <aguelzow@taliesin.ca>

Morten Welinder's avatar
Typo.  
Morten Welinder committed
401
	* src/rangefunc.c (range_sum) : improve precision through 2 pass
402 403 404
	  algorithm
	(range_sumsq) : ditto

Jody Goldberg's avatar
Jody Goldberg committed
405 406 407 408 409
2002-02-06  Jody Goldberg <jody@gnome.org>

	* src/auto-format.c (auto_style_format_suggest) : it is now the
	  primitive.

410 411 412 413 414 415 416 417 418 419 420 421 422 423
2002-02-06  Michael Meeks  <michael@ximian.com>

	* src/workbook.c (workbook_bonobo_setup): don't
	setup the item container.

	* src/gnumeric-graph.c: porting action.
	(bonobo_activation_exception_id): kill.

	* src/corba-args.c (gnumeric_arg_parse): upd.

	* src/bonobo-io.c: porting action.

	* src/sheet-object-bonobo.c: porting action.

424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455
2002-02-06  Jody Goldberg <jody@gnome.org>

	* src/sheet-autofill.c (autofill_create_fill_items) : changes to the
	classification interface.  It will continue to evolve.

	* src/formats.c (cell_format_classify) : change the signature.  In the
	  future this should really be split.  This routine is
	  1) stupid
	  2) wrong
	  It is really only useful in the context of the format dialog.
	  however, our desire to call it elsewhere indicates what the new
	  format engine should make easiliy accessible.

	* src/expr.c (expr_eval_real) : quick and easy support for autoformat
	  style formating for percent operator.  Just a quick test to see how
	  hard it would be, and it wasn't.

	* src/auto-format.c : Convert to StyleFormat.  Nothing actually uses
	  this anymore but I have not merged its logic into the eval structure
	  yet.

	* src/format-template.c (format_template_check_valid) : warning
	  suppression.

	* src/format.c (style_format_general) : new.
	(style_format_default_date) : new.
	(style_format_default_time) : new.
	(style_format_default_percentage) : new.
	(style_format_default_money) : new.

	* src/cell.c (cell_get_format) : finish the conversion.

456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487
2002-02-05  Jon K Hellan  <hellan@acm.org>

	* src/style-color.c (style_color_new_uninterned): New
	function. Factored out of style_color_new. Creates color
	unconditionally, without using the hash table.
	(style_color_new): Factor out style_color_new_uninterned.
	(style_color_new_i8): New function. Create a style color from 8
	bit rgb values by cloning to 16 bits.
	(style_color_auto_font): New function. Returns an uninterned black
	to represent Excel auto font color.
	(style_color_auto_back): New function. Returns an uninterned white
	to represent Excel auto background color.
	(style_color_auto_pattern): New function. Returns an uninterned black
	to represent Excel auto pattern color.
	(color_equal): Include is_auto flag in comparison.
	(color_hash): Include is_auto flag in hash function.

	* src/style-color.h (style_color_new_i8, style_color_auto_font,
	style_color_auto_back, style_color_auto_pattern): Declare

	* src/sheet-style.c (struct _SheetStyleData): Add
	auto_pattern_color.
	(sheet_style_init): Initialize auto_pattern_color.
	(sheet_style_shutdown): Unref auto_pattern_color.
	(sheet_style_set_auto_pattern_color): New function. Set the auto
	pattern color for this sheet.
	(sheet_style_get_auto_pattern_color): New function. Get the auto
	pattern color for this sheet.

	* src/sheet-style.h (sheet_style_set_auto_pattern_color,
	sheet_style_get_auto_pattern_color): Declare.

488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517
2002-02-03  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_insert_current_date) : don't actually
	  store the value, just start editing with it.
	(cb_insert_current_time) : ditto.

2002-02-03  Jody Goldberg <jody@gnome.org>

	* src/value.c (value_new_*) : init Value*::fmt
	(value_duplicate) : ref the fmt too.
	(value_set_fmt) : new.

	* src/cell.c (cell_cleanout) : no more format.
	(cell_copy) : ditto.
	(cell_set_text) : ditto.
	(cell_set_expr_internal) : ditto.
	(cell_set_expr_unsafe) : ditto.
	(cell_get_format) : ditto.

	Change all callers.
	* src/sheet.c (sheet_cell_set_value) : remove format assingment.
	* src/cell.c (cell_set_expr_and_value) : remove format assignment.
	(cell_assign_value) : ditto.
	(cell_set_value) : ditto.
	(cell_set_expr) : ditto.
	* src/parser.y (expr_parse_str) : remove arg to return the suggested
	  format.  That will be handled at run time.
	* src/number-match.c (format_match) : remove arg to return the parse
	  formula.  Store it in the value instead.

518 519 520 521 522 523 524 525
2002-02-02  Jody Goldberg <jody@gnome.org>

	* src/main.c (main) : disable the removal of Shift as an accelerator
	  fixes the double movement in treeviews strangeness.

	* src/workbook-control-gui.c : reorganize the insert menu.
	* src/GNOME_Gnumeric.xml : ditto.

526 527 528 529 530
2002-02-01  Jody Goldberg <jody@gnome.org>

	* src/xml-io-autoft.c : port to libxml2 and begin merging into
	* src/format-template.c : here.

531 532 533 534
2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_dialog_question_yes_no) : port to gnome2

535 536 537 538 539 540 541 542 543 544 545
2002-02-01  Jody Goldberg <jody@gnome.org>

	* configure.in : cleanup the includes a bit and make the libole2
	  requirement specific to the XL plugin.  Tidy up the gda, and gb
	  tests to be consistent and more informative.

	* src/main.c : remove ole debug flag.

	* src/gnumeric-graph.c (gnm_graph_new) : return a GObject
	  makes it easier to handle NULL.

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
546 547 548 549
2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.h : add `warning' to GENERIC_TOOL_STATE
	  and some clean-up
550

Jody Goldberg's avatar
Jody Goldberg committed
551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590
2002-01-31  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_focus_cur_scg) : warning
	  suppression.
	(sheet_control_gui_new) : enable partial scrollbar support.

	* src/workbook-control.c (wb_control_parse_and_jump) : make defined
	  names absolute.

2002-01-30  Jody Goldberg <jody@gnome.org>

	* src/dialogs/dialog-autoformat.c (templates_load) : changes to
	  category_group_get_templates_list.

	* src/xml-io-autoft.c (gnumeric_xml_write_format_template) : take a
	  context not a control to clarify things.
	(gnumeric_xml_read_format_template) : ditto.

	* src/workbook.c (workbook_persist_file_save) : changes to
	  wb_view_save_as.

	* src/io-context.c (io_context_destroy) : impl is a command context now.
	(gnumeric_io_context_new) : weaken requirements so that all we need is
	  a command context.  Not strictly necessary, but makes it less likely
	  that people will get confused.

	* src/workbook-view.c (wb_view_save_as) : Take a command context not a
	  workbook control to avoid confusing what we are saving.
	(wb_view_save) : ditto.
	(wb_view_selection_desc) : Implement using an explicit control.
	(wb_view_open_custom) : add a missing precondition.
	* src/gui-file.c (do_save_as) : changes to wb_view_save_as.
	(gui_file_save_to_stream) :  changes to gnumeric_io_context_new.

	* src/file-autoft.c (category_get_templates_list) : take a command
	context, not a workbookcontrol.
	(category_group_get_templates_list) : ditto.
	* src/format-template.c (format_template_new) : ditto.
	(format_template_new_from_file) : ditto.

591 592 593 594 595 596 597
2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.h : include type definitions and function
	  prototypes previously in src/dialogs/dialog-analysis-tools.c
	* src/analysis-tools.c (autofit_columns) : make non-static
	* src/func-util.h (parse_database_criteria) : new

598 599 600 601 602 603 604 605 606 607 608 609 610 611
2002-01-30  Jody Goldberg <jody@gnome.org>

	* src/application.c : merge in the new object icons from jimmac.
	* src/pixmaps/Makefile.am : ditto.
	* src/workbook-control-gui.c : ditto.
	* src/GNOME_Gnumeric.xml : ditto.
	s/^/Object/
	s/Rect/Rectangle/
	s/Oval/Ellipse/
	s/Checkbutton/Checkbox/

	* src/gui-util.c (gnumeric_error_info_dialog_show) : center error
	  dialog on the mouse.

612 613 614 615 616 617 618 619 620 621 622 623
2002-01-29  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_notebook_switch_page) : fix changing
	  sheets.

2002-01-29  Jody Goldberg <jody@gnome.org>

	* src/workbook-format-toolbar.c (workbook_create_format_toolbar) :
	  hard code relief.
	* src/workbook-control-gui.c (workbook_create_standard_toolbar) :
	  ditto.

624 625
2002-01-29  Andreas J. Guelzow <aguelzow@taliesin.ca>

626
	* src/workbook-control-gui.c (sheet_action_rename_sheet) : move most
627 628 629
	  code into dialog_sheet_name and friends
	(cb_sheet_change_name) : ditto, also rename to cb_sheet_name

630 631 632 633 634
2002-01-28 Joshua R. Odom <jrodom@stic.net>

	* src/application.c : clean up the file names to match the code.
	* src/pixmaps/Makefile.am : ditto.

635 636
2002-01-28  Jody Goldberg <jody@gnome.org>

637 638 639
	* src/workbook.c (workbook_sheet_move) : flag if the move did
	  anything.

640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661
	* src/workbook-object-toolbar.c :  adjust to the new creation format.

	* src/workbook-edit.c (wbcg_edit_has_guru) : return the actual guru.

	* src/workbook-control-gui.c : Explicitly use the STOCK items rather
	  than just the stock icon names.  This enables the accelerators too.

	* src/sheet-object-widget.c : cleanup.
	  Use _init functions, no need to create a silly _new wrapper that calls
	  construct.  Remove unused Sheet arguments.

	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : new.
	(gnm_canvas_key_mode_sheet) : be more careful about what how to handle
	  keys when there is a guru up.

	* src/sheet-object-widget.c (sheet_widget_checkbox_user_config) :
	  create the table.

2002-01-27  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : cleanup the generated files.

662 663
2002-01-28  Andreas J. Guelzow <aguelzow@taliesin.ca>

664
	* src/consolidate.c (consolidate_set_destination) : accept
665 666 667 668 669
	  value instead of range
	(consolidate_add_source) : ditto
	* src/consolidate.h (consolidate_set_destination) : change
	  parameters
	(consolidate_add_source) : ditto
670

671 672 673 674 675 676
2002-01-27  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install .desktop file into prefix/share/applications,
	the new location for .desktop files in GNOME 2.
677

678 679 680 681 682 683
	* gnumeric.desktop.in:

	Add appropriate categories fields.

	Add a functional description to match the GNOME 2
	HIG.
684

685 686 687 688 689 690 691
2002-01-27  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui_util.c (gnumeric_destroy_dialog) : new callback
	(gnumeric_notice_nonmodal) : save dialog ptr in reference
	* src/gui_util.h (gnumeric_notice_nonmodal) : change
	  parameters and return value

692 693 694 695 696
2002-01-27  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c :
	  remove Menu_ prefix from pixmap names.

697 698 699 700 701 702
2002-01-26  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_notice_nonmodal) : non-modal version of
	  gnumeric_notice
	(gnumeric_dialog_run) : remove warning
	* src/gui-util.h (gnumeric_notice_nonmodal) : new
703

704 705
2002-01-26  Andreas J. Guelzow <aguelzow@taliesin.ca>

706
	* src/gui-util.c (entry_to_float) :
707 708 709 710
	  moved here from dialogs/dialog-analysis-tools.c
	(entry_to_int) : ditto
	(float_to_entry) : ditto
	(int_to_entry) : ditto
711 712

	* src/gui-util.h (entry_to_float) new function (used to be static)
713 714 715 716
	(entry_to_int) : ditto
	(float_to_entry) : ditto
	(int_to_entry) : ditto

717 718
2002-01-25  Andreas J. Guelzow <aguelzow@taliesin.ca>

719
	* item-grid.c (item_grid_event) : don't scroll at end of formula
720
	  range selection (http://bugzilla.gnome.org/show_bug.cgi?id=63485)
721

722 723 724 725 726 727 728 729 730 731
2002-01-25  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_dialog_run) : use GTK functions
	(gnumeric_notice) : create GTK_Message_Dialog
	* src/gui-util.h (gnumeric_notice) : change type of second argument
	* src/gui-file.c : fix all calls to gnumeric_notice
	* src/print.c : ditto
	* src/style.c : ditto
	* src/workbook-cmd-format.c : ditto
	* src/workbook-control-gui.c : ditto
732

Jody Goldberg's avatar
Jody Goldberg committed
733 734
2002-01-25  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
735 736 737 738
	* src/sheet-control-gui.c (scg_context_menu) : fix the icon names.

	* src/gui-util.c (gnumeric_popup_menu) : sink the menus.

Jody Goldberg's avatar
Jody Goldberg committed
739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758
	* src/main.c (main) : lock the encoding to be utf-8.

	* src/eval.c : enable the micro hash by default.

	* src/expr.c (cellref_relocate) : simplify and remove the force
	  arguments.  Flag invalidations from inside vs to inside. From takes
	  precendence.
	(cellref_shift) : new.
	(cellrange_relocate) : simplfy and try a different tack on how to
	  handle corners with different sets of relocation needs.

	* src/commands.c (cmd_paste_cut_undo) : pass NULL for the
	  reloc_storage to disable invalidation.

	* src/sheet.c (sheet_move_range) : document.
	  Make the reloc_storage optional.  If it is not specified do NOT
	  invalidate references to the dst region that are being
	  invalidated.  Since this routine is only used for cut redo/undo
	  and undo really should not be invalidating we use that as a flag.

759
2002-01-25  Jody Goldberg <jody@gnome.org>
760

761
	* src/Makefile.am : register the marshaller as BUILT sources.
762

763 764 765 766 767
2002-01-24  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/cell.h (cell_get_render_color) : new
	* src/rendered-value.c (cell_get_render_color) : new

Andreas J. Guelzow's avatar
new new  
Andreas J. Guelzow committed
768 769 770 771 772
2002-01-24  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/ranges.h (global_range_name) : new
	* src/ranges.c (global_range_name) : new

Jody Goldberg's avatar
Jody Goldberg committed
773 774
2002-01-24  Jody Goldberg <jody@gnome.org>

775
	* configure.in : explicitly disable guile, psiconv, and bonobo for now.
776
	Add a warning.
777

Jody Goldberg's avatar
Jody Goldberg committed
778 779 780
	* src/Makefile.am : Apparently the sources list is order dependent.
	  Put the built sources at the top.

781 782 783 784
2002-01-24  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: fixed libgda detection for GNOME 2.

Jody Goldberg's avatar
Jody Goldberg committed
785 786
2002-01-23  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
787 788 789
	* src/gui-util.c (gnumeric_textview_get_text) : new utility.
	(gnumeric_textview_set_text) : ditto.

Jody Goldberg's avatar
Jody Goldberg committed
790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 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
	* src/history.c : tidy up a mite.

	* src/gui-util.c : Some initial conversions to gnome2.  Needs work.

	* src/gui-file.c (can_try_save_to) : Use the new glib2 file utilities.

	* src/gnumeric.h : remove the gnome-1.4 compatibility shims.

	* src/gnumeric-pane.c (gnumeric_pane_realized) : renamed to be
	  consistent.

	* src/gnumeric-graph.c (bonobo_activation_exception_id) : renamed from
	  oaf_exception_id.
	(gnm_graph_setup) : begin conversion to bonobo-activation.

	* src/gnumeric-canvas.c : disable the IM support for now.

	* src/formats.c (currency_symbols) : pound, yen, euro -> utf8.

	* src/format.c : no need for portability.h
	* src/func.c : ditto.

	* src/file.c (gnum_file_saver_setup) : disable mime for now.

	* src/command-context.c : Inherit directly from GObject.
	* src/commands.c : ditto.
	* src/complete-sheet.c : ditto.
	* src/complete.c : ditto.

	* src/application.c : convert to new stock icon management.

	* src/Makefile.am : remove portability.h.
	  Add pixmaps subdir.
	  Build marshallers.

	* Makefile.am : Convert to intltool.
	* acconfig.h : Convert to gnome2 gettext format.
	* .cvsignore : Convert to intltool, and remove the Conf file.
	* src/.cvsignore : Update.
	* autogen.sh : Convert to gnome2.
	* configure.in : Rough conversion to gnome2.  We'll need to re-enable
	  the plugins.

	* idl/GNOME_Gnumeric.idl : Delete an unused interface.
	* idl/Makefile.am (dist) : update.

	* plugins/Makefile.am :  Use WITH_GUILE rather than just GUILE to be
	  consistent.
	* plugins/*/Makefile.am : Convert to intltool.

840 841 842 843 844
2002-01-22  Jody Goldberg <jody@gnome.org>

	* src/sheet-autofill.c (autofill_create_fill_items) : Use
	  list_prepend, and reverse in palce of append.

845 846 847 848 849
2001-01-22  Kevin Breit <mrproper@ximian.com>

	* Makefile.am: Added omf-install/
	* omf-install: Added directory for OMF stuff
	* omf-install/Makefile.am: Copied that in
850

851 852 853 854
2002-01-22  Rodrigo Moya <rodrigo@gnome-db.org>

	* README:
	* configure.in: increased minimum libgda versions