ChangeLog 185 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
2002-08-28  Jody Goldberg <jody@gnome.org>

	* src/func.c (function_marshal_arg) : begin work to support implicit
	  iteration.

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

	* src/gnumeric-canvas.c : begin tighening the include requirements.
	* src/gui-file.c : ditto.
	* src/sheet-object-graphic.c : ditto.
	* src/sheet-object-widget.c : ditto.
	* src/xml-io.c : ditto.

	* src/gutils.c (gnm_extension_pointer) : move to libgsf.
	(gnm_iconv_close) : ditto.

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

	* configure.in : prep for inclusion of libegg code
	  bump libgsf version req.
	* src/Makefile.am : ditto.

	* README : update.

Jody Goldberg's avatar
Jody Goldberg committed
25 26 27 28 29 30
2002-08-25  Jody Goldberg <jody@gnome.org>

	* Release 1.1.8

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

Jody Goldberg's avatar
Jody Goldberg committed
31 32 33 34 35
	* src/workbook-control-gui.c : tweak page setup label to match bonobo.

	* src/sheet-object-image.c (sheet_object_image_print) : slight tweak
	  to get thing spartially working.  placement is still off.

Jody Goldberg's avatar
Jody Goldberg committed
36 37
	* configure.in : bump the gal req to get the new cursor.

38 39 40 41 42
2002-08-23  Jon K Hellan  <hellan@acm.org>

	* src/bonobo-io.c: Include gsf-input-bonobo.h from gsf-gnome dir
	rather than gsf.

43 44 45 46 47
2002-08-21  Zbigniew Chyla  <cyba@gnome.pl>

	* module-plugin-defs.h:
	Define PLUGIN_CLASS only if PLUGIN_ID is defined

48 49 50 51
2002-08-20  Jody Goldberg <jody@gnome.org>

	* configure.in : add config message about python

52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
2002-08-20  Zbigniew Chyla  <cyba@gnome.pl>

	* src/plugin-loader.[ch]: Inherit from GObject, not GtkObject.
	(gnumeric_plugin_loader_unload_service): Removed FIXME - unload plugin
	after unloading all services.

	* src/plugin-loader-module.h: Moved all typedefs with plugin
	structures...

	* src/module-plugin-defs.h: ... here, added some comments and
	  PLUGIN_CLASS macro

	* src/plugin-loader-module.c: Adjusted to plugin-loader.h

	* src/plugin.c:
	Inherit GnmPlugin from GModuleType, not GObject.
	(gnm_plugin_type_module_load, gnm_plugin_type_module_unload):
	New, GTypeModule methods.
	(gnm_plugin_deactivate): Destroy loader after deactivating plugin
	(GnmPlugin): Removed is_base_loaded,
	use gnumeric_plugin_loader_is_base_loaded to check this.
	(gnm_plugin_use_ref, gnm_plugin_use_unref):
	Added assertions (plugin must be active).

76 77 78 79 80
2002-08-19  Jon K Hellan  <hellan@acm.org>

	* src/stf.c (stf_read_default_probe): Use glib's seek enum instead
	of the enum which used to be in libgsf.

81 82 83 84
2002-08-19  Jody Goldberg <jody@gnome.org>

	* src/value.c (value_new_float) : return #NUM rather than #VALUE

85 86 87 88
2002-08-19  Jon K Hellan  <hellan@acm.org>

	* src/file-priv.h: include <bonobo/bonobo-storage.h>

Jody Goldberg's avatar
Jody Goldberg committed
89 90
2002-08-18  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
91 92
	* A pile of header cleanups.

Jody Goldberg's avatar
Jody Goldberg committed
93 94
	* src/gui-clipboard.c (x_claim_clipboard) : fix warnings.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
95 96 97 98
2002-08-18  Jon K Hellan  <hellan@acm.org>

	* src/print.c: Fix typo.

99 100 101 102 103
2002-08-18  Morten Welinder  <terra@diku.dk>

	* src/hlink.c (gnm_hlink_url_activate, ...): Use "lnk", not "link"
	as identifier.

Zbigniew Chyla's avatar
New  
Zbigniew Chyla committed
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
2002-08-15  Zbigniew Chyla  <cyba@gnome.pl>

	* src/gnumeric-i18n.[ch]: New

	* src/Makefile.am: Added gnumeric-i18n.[ch]

	* src/gutils.[ch]
	(g_lang_score_in_lang_list, g_lang_score_is_better): Removed

	* src/format-template.h
	(FormatTemplateCategoryGroup, FormatTemplateCategory): Removed lang_score

	* src/xml-io-autoft.c (gnumeric_xml_read_format_template_category):
	Don't assign category->lang_score

	* src/file-autoft.c
	(category_compare_orig_name): Renamed to
	category_compare_orig_name_and_dir, compare by both name and directory
	(category_group_list_get): Don't use lang_score, get translation from
	the first category in a group. Sorting by name and directory guarantees
	deterministic results

	* plugins/applix/applix-read.c, plugins/derivatives/options.c,
	plugins/dif/dif.c, plugins/excel/boot.c, plugins/excel/ms-excel-read.c,
	plugins/excel/ms-excel-write.c, plugins/excel/ms-formula-read.c,
	plugins/excel/ms-formula-write.c, plugins/fn-complex/functions.c,
	plugins/fn-complex/gsl-complex.c, plugins/fn-database/functions.c,
	plugins/fn-date/functions.c, plugins/fn-eng/functions.c,
	plugins/fn-financial/functions.c, plugins/fn-info/functions.c,
	plugins/fn-logical/functions.c, plugins/fn-lookup/functions.c,
	plugins/fn-math/functions.c, plugins/fn-random/functions.c,
	plugins/fn-stat/functions.c, plugins/fn-string/functions.c
	plugins/gb/plugin.c, plugins/gda/plugin-gda.c, plugins/guile/plugin.c,
	plugins/guile/smob-value.c, plugins/html/html_read.c,
	plugins/html/roff.c, plugins/lotus-123/lotus.c, plugins/mps/mps.c,
	plugins/mps/parser.c, plugins/numtheory/numtheory.c,
	plugins/oleo/oleo.c, plugins/plan-perfect/pln.c,
	plugins/psiconv/psiconv-read.c, plugins/python/python.c,
	plugins/python-loader/py-gnumeric.c,
	plugins/python-loader/python-loader.c, plugins/qpro/qpro-read.c,
	plugins/sample_datasource/sample_datasource.c, plugins/sc/sc.c,
	plugins/sylk/sylk.c, plugins/uihello/uihello.c, plugins/xbase/boot.c,
	plugins/xml_sax/xml-sax-read.c, src/bonobo-io.c, src/clipboard.c,
	src/cmd-edit.c, src/command-context-stderr.c, src/command-context.c,
	src/commands.c, src/corba-args.c, src/dates.c,
	src/dialogs/dao-gui-utils.c, src/dialogs/dialog-about.c,
	src/dialogs/dialog-advanced-filter.c,
	src/dialogs/dialog-analysis-tools.c, src/dialogs/dialog-autocorrect.c,
	src/dialogs/dialog-autoformat.c, src/dialogs/dialog-autosave.c,
	src/dialogs/dialog-cell-comment.c, src/dialogs/dialog-cell-format.c,
	src/dialogs/dialog-cell-sort.c, src/dialogs/dialog-col-width.c,
	src/dialogs/dialog-consolidate.c, src/dialogs/dialog-define-names.c,
	src/dialogs/dialog-delete-cells.c, src/dialogs/dialog-formula-guru.c,
	src/dialogs/dialog-function-select.c, src/dialogs/dialog-goal-seek.c,
	src/dialogs/dialog-goto-cell.c, src/dialogs/dialog-graph-guru.c,
	src/dialogs/dialog-insert-cells.c, src/dialogs/dialog-merge.c,
	src/dialogs/dialog-paste-special.c, src/dialogs/dialog-plugin-manager.c,
	src/dialogs/dialog-preferences.c, src/dialogs/dialog-printer-setup.c,
	src/dialogs/dialog-random-generator.c, src/dialogs/dialog-row-height.c,
	src/dialogs/dialog-search-replace.c, src/dialogs/dialog-search.c,
	src/dialogs/dialog-sheet-order.c, src/dialogs/dialog-simulation.c,
	src/dialogs/dialog-solver.c, src/dialogs/dialog-stf-export-sheet-page.c,
	src/dialogs/dialog-stf-export.c, src/dialogs/dialog-stf-fixed-page.c,
	src/dialogs/dialog-stf-format-page.c,
	src/dialogs/dialog-stf-main-page.c, src/dialogs/dialog-stf-preview.c,
	src/dialogs/dialog-stf.c, src/dialogs/dialog-summary.c,
	src/dialogs/dialog-tabulate.c, src/dialogs/dialog-workbook-attr.c,
	src/dialogs/dialog-zoom.c, src/expr-name.c, src/expr.c,
	src/file.c, src/format-template.c, src/format.c, src/formats.c,
	src/func-builtin.c, src/func.c, src/gnumeric-canvas.c,
	src/gnumeric-graph.c, src/gui-clipboard.c, src/gui-file.c,
	src/gui-util.c, src/history.c, src/hlink.c, src/item-bar.c,
	src/item-cursor.c, src/item-edit.c, src/libgnumeric.c,
	src/main-application.c, src/number-match.c, src/parser.y,
	src/plugin-loader-module.c, src/plugin-loader.c, src/plugin-service.c,
	src/plugin-util.c, src/plugin.c, src/print-info.c, src/print.c,
	src/search.c, src/selection.c, src/sheet-autofill.c,
	src/sheet-control-gui.c, src/sheet-merge.c, src/sheet-object-bonobo.c,
	src/sheet-object-container.c, src/sheet-object-graphic.c,
	src/sheet-object-widget.c, src/sheet-object.c, src/sheet-view.c,
	src/sheet.c, src/stf-parse.c, src/stf-parse.h, src/stf.c, src/style.c,
	src/tools/analysis-tools.c, src/tools/auto-correct.c, src/tools/dao.c,
	src/tools/filter.c, src/tools/random-generator.c,
	src/tools/simulation.c, src/tools/solver/api.c,
	src/tools/solver/reports-write.c, src/tools/solver/reports.c,
	src/tools/solver/solver.c, src/validation.c, src/value-sheet.c,
	src/value.c, src/widgets/gnumeric-expr-entry.c,
	src/widgets/widget-font-selector.c, src/workbook-cmd-format.c,
	src/workbook-control-gui.c, src/workbook-control.c, src/workbook-edit.c,
	src/workbook-format-toolbar.c, src/workbook-object-toolbar.c,
	src/workbook-view.c, src/workbook.c, src/xml-io.c:
	Use <gnumeric-i18n.h> everywhere

197 198 199 200 201 202
2002-08-18  Jody Goldberg <jody@gnome.org>

	* src/item-grid.c (item_grid_draw) : hmm, we didn't notice the typo
	  because it did not matter.  Simplify the code.
	* src/print-cell.c (print_cell_range) : ditto.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
203 204 205 206 207 208 209 210 211
2002-08-17  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (custom_uic_destroy): #ifdef
	WITH_BONOBO.

	* src/item-grid.c (item_grid_draw): Fix typo.

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

212 213 214 215 216 217
2002-08-17  Jon K Hellan  <hellan@acm.org>

	* configure.in: Make bonobo version link with libgsf-gnome-1.

	* src/Makefile.am (gnumeric_LDADD): Ditto.

218 219 220 221 222
2002-08-17  Jon K Hellan  <hellan@acm.org>

	* configure.in: Reintroduce stuff accidentaly clobbered by my
	commit 2002-08-15.

Jukka Pekka's avatar
Jukka Pekka committed
223 224 225 226
2002-08-17  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/position.[ch]: Added cellref_set.

227 228 229 230 231 232 233 234 235 236
2002-08-17  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_probe) : clear the sax routines so that it is
	  actually quiet.

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

	* src/gui-clipboard.c (x_clipboard_received) : tidy up a bit and
	  prepare to receive utf8.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
237 238 239 240 241 242 243 244 245 246 247 248
2002-08-16  Jon K Hellan  <hellan@acm.org>

	* src/xml-io.h (gnumeric_xml_read_workbook): Declare.

	* src/mathfunc.c (random_gaussian_pdf): Make static.

	* src/hlink.h (gnm_hlink_get_type, gnm_hlink_cur_wb_get_type,
	gnm_hlink_url_get_type): s/foo bar ()/foo bar (void)/

	* src/file.c (gnum_file_saver_save_to_stream_real): ifdef out
	currently unused code.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
249 250 251 252 253 254 255 256 257 258
2002-08-15  Jon K Hellan  <hellan@acm.org>

	* configure.in: Require libgsf 1.3.

	* src/xml-io.c (gnumeric_xml_read_workbook): Check for
	overflow from gsf_input_remaining.

	* src/stf.c (stf_open_and_read, stf_read_default_probe): Check for
	overflow from gsf_input_size.

259 260
2002-08-14  Jody Goldberg <jody@gnome.org>

261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
	* gnumeric.keys.in (application) : convert to use gnumeric_icondir

	* src/workbook-control-gui.c (workbook_control_gui_ctor_class) : move
	  the default icon init here.
	* src/libgnumeric.c (gnm_common_init) : from here.  I'd like to make
	  this non-gui.  That will take a fair amount of cleanup, but it
	  should be doable.

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

	* src/gui-util.c (gnumeric_load_image) : Use gtk_image_new_from_file
	  directly.

	* src/xml-io.c (xml_read_cell) : make the warning more informative.

Jody Goldberg's avatar
Jody Goldberg committed
276 277
	* src/workbook-control-component.c (wbcc_set_sensitive) : fix warning.

278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299
	* src/rendered-value.c (rendered_value_calc_size_ext) : some utf8
	  cleanliness.  Should probably use pango layout directly ?

	* src/cell-draw.c (draw_overflow) : Use the cached measurement of '#'
	  and draw the entire string in 1 go.
	(draw_text) : use the cached layout.
	(cell_split_text) : same as rendered_value_calc_size_ext.

	* src/print-cell.c (print_overflow) : use the same method as
	  draw_overflow.

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

	http://bugzilla.gnome.org/show_bug.cgi?id=87833
	Patch from dorami@bu.iij4u.or.jp to do an initial pass at supporting
	pango in cells.

	* src/cell-draw.c : first pass at using pango.
	* src/rendered-value.c : ditto.
	* src/style.c : ditto.
	* src/item-edit.c : ditto.

300 301 302 303 304 305 306 307 308 309 310 311
2002-08-14  Christian Meyer  <chrisime@gnome.org>

	* src/workgroup-control-component.c: Renamed to Page Setup accordingly.
	* src/workgroup-control-gui.c: ditto.
	* src/commands.c: ditto.
	* src/GNOME_Gnumeric.xml: Set mnemonic to Page Set_up (as proposed by
	HIG)
	* src/GNOME_Gnumeric.xml: ditto.
	* doc/C/menus.xml: Renamed Print Setup to Page Setup in the whole file.
	* doc/C/printing.xml: ditto.
	* doc/C/toolbars.xml: ditto.

312 313 314 315 316
2002-08-14  Christian Meyer  <chrisime@gnome.org>

	* src/GNOME_Gnumeric.xml: Renamed Print Setup to Page Setup.
	* src/GNOME_Gnumeric_Componente.xml: ditto.

317 318 319 320 321 322 323 324 325 326 327
2002-08-13  Zbigniew Chyla  <cyba@gnome.pl>

	* src/sheet.h (struct _Sheet): Added name_unquoted_collate_key.

	* src/sheet.c
	(sheet_rename, sheet_new): Generate collation key for unquoted name
	(sheet_destroy): g_free it here

	* src/search.c (cb_order_sheet_row_col, cb_order_sheet_col_row):
	Compare sheet names using strcmp() on collation keys

328 329 330 331
2002-08-13  Peteris Krisjanis <peteris.krisjanis@os.lv>

	* configure.in: (ALL_LINGUAS) Latvian (lv) language support.

Morten Welinder's avatar
Morten Welinder committed
332 333 334 335 336
2002-08-13  Morten Welinder  <terra@diku.dk>

	* src/regutf8.h (REG_EPAREN, REG_EBRACE, REG_EESCAPE, REG_OK):
	Move macros here.

Jody Goldberg's avatar
Jody Goldberg committed
337 338 339 340
2002-08-13  Jody Goldberg <jody@gnome.org>

	* src/regutf8.c : Add REG_OK

Jody Goldberg's avatar
Jody Goldberg committed
341 342 343 344
2002-08-12  Jody Goldberg <jody@gnome.org>

	* configure.in : post release version bump

Jody Goldberg's avatar
Jody Goldberg committed
345 346 347 348
2002-08-12  Jody Goldberg <jody@gnome.org>

	* Release 1.1.7

349 350 351 352 353
2002-08-12  Jody Goldberg <jody@gnome.org>

	* src/formats.c : remove the 8 bit characters until the gettext
	  infrasructure accepts them as utf8 without warning.

354 355
2002-08-12  Jody Goldberg <jody@gnome.org>

356 357 358
	* src/style-border.c (style_border_none_set_color) : Morten found the
	  colour leak.  While we're here lets fix the the GC warnings.

359 360 361
	* src/sheet-style.c (sheet_style_update_grid_color) : fix the leak
	  here too.

362 363
	* src/sheet-object-graphic.c : Add a quicky line based polygon object.

364 365
2002-08-11  Jody Goldberg <jody@gnome.org>

366 367
	* src/workbook-view.c (wb_view_save_as) : Doh! order these correctly.

368 369 370 371 372 373 374
	* src/sheet-object-cell-comment.c (cell_set_comment) : fix ref leak
	  when adding a comment.

	* src/expr-name.c (expr_name_remove) : tidy old cruft.
	(expr_name_shutdown) : Use expr_name_list_destroy.
	(expr_name_list_destroy) : make checking more anal.

Jody Goldberg's avatar
Jody Goldberg committed
375 376 377
2002-08-11  Jody Goldberg <jody@gnome.org>

	* configure.in : Add the planperfect plugin
Jody Goldberg's avatar
Jody Goldberg committed
378 379 380 381 382

	* src/mstyle.c : Add shrink to fit.
	* src/xml-io.c (xml_write_style) : and here.
	(xml_read_style) : And here.

Morten Welinder's avatar
Morten Welinder committed
383 384 385 386 387 388 389
2002-08-09  Morten Welinder  <terra@diku.dk>

	* src/search.c (match_is_word): Make utf8 safe.
	(calculate_replacement): Ditto.
	(search_match_string): Ditto.
	(search_replace_string): Ditto.

390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415
2002-08-09  Zbigniew Chyla  <cyba@gnome.pl>

	* src/plugin-service.[ch]
	(PluginServiceClass::get_description): New method
	(PluginService): Added saved_description field
	(plugin_service_general_get_description,
	plugin_service_file_opener_get_description,
	plugin_service_file_saver_get_description,
	plugin_service_function_group_get_description,
	plugin_service_plugin_loader_get_description,
	plugin_service_ui_get_description):
	Implementations of the new method
	(plugin_service_get_description):
	New, store generated strings in service->saved_description

	* src/plugin.[ch]
	(gnm_plugin_get_extra_info_list): Removed
	(gnm_plugin_get_services): New

	* src/plugin-loader.[ch]
	(gnumeric_plugin_loader_get_extra_info_list,
	GnumericPluginLoaderClass::get_extra_info_list): Removed

	* src/plugin-loader-module.c
	(gnumeric_plugin_loader_module_info_get_extra_info_list): Removed

Jody Goldberg's avatar
fix.  
Jody Goldberg committed
416 417 418 419
2002-08-09  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (expr_name_list_destroy) : fix.

420 421 422 423 424 425 426
2002-08-07  Zbigniew Chyla  <cyba@gnome.pl>

	* src/module-plugin-defs.h
	(PLUGIN): New convenience macro for accessing the plugin object.
	Define only if PLUGIN_ID is defined.
	(GNUMERIC_MODULE_PLUGIN_GET_INFO): Removed

Jody Goldberg's avatar
Jody Goldberg committed
427 428 429 430
2002-08-09  Jody Goldberg <jody@gnome.org>

	* configure.in (int) : enable plan perfect.

431 432 433 434 435 436
2002-08-09  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-component.c
	(workbook_control_component_ctor_class) : set_sensitive is now in
	command context.

437 438 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 472 473 474
2002-08-09  Jody Goldberg <jody@gnome.org>

	* src/dependent.c (sheet_deps_destroy) : clean names before deps
	  so that we don't end up with stale deps in a name dep list.
	(workbook_deps_destroy) : clear sheet names too.

	* src/expr-name.c (expr_name_shutdown) : deactivate the builtins
	  before freeing them.

2002-06-28  J.H.M. Dassen (Ray) <jdassen@debian.org>

	MIME consistency improvements
	* icons/gnome-application-vnd.lotus-1-2-3.png,
	  icons/gnome-application-x-applix-spreadsheet.png,
	  icons/gnome-application-x-generic-spreadsheet.png,
	  icons/gnome-application-x-generic-spreadsheet.png: New (from mc and
	  gnome-mime-data).
	* icons/Makefile.am: Updated for new icons.
	* gnumeric.keys.in: Added application/vnd.lotus-1-2-3,
	  application/x-applix-spreadsheet, application/x-oleo,
	  application/x-xbase
	* gnumeric.mime: Changed application/x-applix to
	  application/x-applix-spreadsheet to be consistent with the type
	  elsewhere; added application/vnd.lotus-1-2-3 with extensions as per
	  http://www.iana.org/assignments/media-types/application/vnd.lotus-1-2-3

2002-06-02  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* debian/*: updated.
	* src/cell.h: made declaration of cell_new a prototype.
	* src/plugin.h: declare printf format attribute for plugin_message.
	* src/print.c: removed duplicate declaration of print_debugging (which
	  is already declared via libgnumeric.h .

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

	* src/expr-name.c (expr_name_shutdown) : fix

Jody Goldberg's avatar
Jody Goldberg committed
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499
2002-08-08  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_new_from_input) : its ok to have 0 sheets,
	  this is not the place to display the error messages.

	* src/expr-name.c (expr_name_init) : activate the builtins to help
	  catch someone trying to unref them.

	* gnumeric.desktop.in (Categories) : add encoding

	* src/value.c (value_get_as_string) : quote strings in arrays

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

	* src/command-context.c (cmd_context_set_sensitive) : move here from
	  workbook_control_set_sensitive.

	* src/workbook-view.c (wb_view_save_as) : use it here.

	* src/gui-file.c (gui_file_read) : rename it here.

	* src/command-context-stderr.c (ccs_get_password) : new.
	(ccs_set_sensitive) : new.
	(ccs_class_init) : register them.

Hasbullah Bin Pit's avatar
Hasbullah Bin Pit committed
500 501 502 503
2002-08-09  Hasbullah Bin Pit <sebol@ikhlas.com>

	* configure.in: (ALL_LINGUAS) Added Malay (ms).

504 505 506 507 508
2002-08-07  Zbigniew Chyla  <cyba@gnome.pl>

	* src/plugin-service.c
	s/g_strcasecmp/g_ascii_strcasecmp/

509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527
2002-08-04  Zbigniew Chyla  <cyba@gnome.pl>

	* src/func.[ch]
	(struct _FunctionDefinition): Added ref_notify
	(fn_def_new): Get extra (optional) argument and copy it to ref_notify
	(function_add_args, function_add_nodes, function_add_name_only):
	Get extra arg and pass it to fn_def_new.
	(func_ref): Call ->ref_notify on every change of refcount from 0 to 1
	(func_unref): ... and from 1 to 0

	* src/plugin-service.c:
	(plugin_service_function_group_func_ref_notify): New,
	call gnm_plugin_use_(un)ref when provided function is (de)referenced.
	(plugin_service_function_group_activate): Removed FIXME, pass
	extra argument to function_add_name_only.

	* func-builtin.c
	(func_builtin_init): Adjusted to function_add_* signature changes.

528 529 530 531 532 533 534
2002-08-05  Zbigniew Chyla  <cyba@gnome.pl>

	* configure.in (AC_OUTPUT): added plugins/uihello/Makefile

	* plugins/Makefile.am (SUBDIRS_EXAMPLES):
	moved $(GNOME_GLOSSARY_DIR) and $(PYFUNC_DIR) here, added uihello

Zbigniew Chyla's avatar
New  
Zbigniew Chyla committed
535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 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
2002-08-05  Zbigniew Chyla  <cyba@gnome.pl>

	* src/plugin-service.h
	(PluginServiceUICallbacks, GNM_PLUGIN_SERVICE_UI_TYPE,
	GNM_PLUGIN_SERVICE_UI, GNM_IS_PLUGIN_SERVICE_UI): New

	* src/plugin-service.c
	(PluginServiceUIClass, struct _PluginServiceUI, plugin_service_ui_init,
	plugin_service_ui_finalize, plugin_service_ui_read_xml, ui_verb_fn,
	plugin_service_ui_activate, plugin_service_ui_deactivate,
	plugin_service_ui_class_init): Implementation of the "ui" service.
	(service_types): Added "ui".

	* src/plugin-loader.h
	(struct _GnumericPluginLoaderClass):
	Added load_service_ui and load_service_ui methods.

	* src/plugin-loader.c
	(gnumeric_plugin_loader_unload_service_ui_real,
	gnumeric_plugin_loader_class_init,
	gnumeric_plugin_loader_load_service,
	gnumeric_plugin_loader_unload_service): Added support for ui service

	* plugin-loader-module.h
	(ModulePluginUIVerbInfo): New

	* src/plugin-loader-module.c
	gnumeric_plugin_loader_module_class_init
	ServiceLoaderDataUI
	gnumeric_plugin_loader_module_func_exec_verb
	gnumeric_plugin_loader_module_load_service_ui
	gnumeric_plugin_loader_module_unload_service_ui

	* src/workbook-control-gui-priv.h
	(struct _WorkbookControlGUI): Added custom_ui_components field

	* src/workbook-control-gui.h
	(register_xml_ui, unregister_xml_ui): New

	* src/workbook-control-gui.c
	(struct _CustomXmlUI, registered_xml_uis,
	wbcg_add_custom_ui, wbcg_remove_custom_ui,
	add_ui_to_workbook_controls, remove_ui_from_workbook_controls,
	register_xml_ui, unregister_xml_ui): New
	(workbook_control_gui_init): Initialize wbcg->custom_ui_components
	hash table, add all registered uis to the workbook control.
	(wbcg_finalize): Destroy wbcg->custom_ui_components

Morten Welinder's avatar
Morten Welinder committed
583 584
2002-08-06  Morten Welinder  <terra@diku.dk>

Morten Welinder's avatar
Morten Welinder committed
585 586
	* src/gutils.c (gnumeric_strcase_equal): Make utf8 safe.
	(gnumeric_strescape): Make utf8 safe.
Morten Welinder's avatar
Morten Welinder committed
587

588 589 590 591 592 593 594 595 596 597 598 599
2002-08-06  Jody Goldberg <jody@gnome.org>

	* src/GNOME_Gnumeric.xml (</) : make control-p the print accelerator.

	* src/item-edit.c (item_edit_destroy) : reset the cursor here.
	(item_edit_event) : set the cursor to something clearer on entry.

	* src/item-grid.c (item_grid_button_press) : Its crufty but given that
	  we do a grab on button down we need to recognize the double click
	  ourselves.
	(cb_cursor_come_to_rest) : remove some debugging cruft.

600 601 602 603 604 605 606 607 608 609 610 611 612 613
2002-08-06  Zbigniew Chyla  <cyba@gnome.pl>

	* src/plugin.h: Put information about PLUGIN_ALWAYS_LOAD in the comment.

	* src/plugin-service.c (plugin_service_activate):
	Load before activating if PLUGIN_ALWAYS_LOAD is defined.

	* src/plugin-loader.c
	(gnumeric_plugin_loader_load_base, gnumeric_plugin_loader_unload_base):
	Pass sensible level value to plugin_message().

	* src/plugin.c
	(plugin_info_read, plugins_init, plugins_shutdown): ditto

614 615 616 617 618
2002-08-05  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* samples/fn-random.gnumeric: A sample file containing 10,000
	random numbers of each distribution.

619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634
2002-08-04  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (workbook_setup_edit_area) : no need to
	  handle activate.  That is too late to do the cursor movement
	  correctly.

	* src/libgnumeric.c (gnm_shutdown) : don't leak the clipboard on exit.

	* src/cell.c (cb_cell_pool_leak) : new.
	(cell_shutdown) : use it.

	http://bugzilla.gnome.org/show_bug.cgi?id=88057
	* src/dependent.c (dependent_unlink) : unlink from the correct
	  position if we are unlinking a cell but the caller passed in a NULL
	  position.

635 636 637 638 639 640 641 642 643 644 645 646 647
2002-08-04  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (expr_name_new) : init as inactive.
	(expr_name_add) : activate when the name is added.
	(expr_name_create) : clarify the life cycle of the expression.
	(expr_name_unref) : it should not be possible to destroy a name that
	  is still in the lists.
	(expr_name_unlink) : delete and merge into expr_name_remove.
	(expr_name_list_destroy) : use remove.

	* src/dependent.c (sheet_deps_destroy) : remove the names in the sheet.
	(workbook_deps_destroy) : ditto.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
648 649 650 651
2002-08-04  Jon K Hellan  <hellan@acm.org>

	* src/search.c: Include gutils.h.

652 653 654 655 656 657
2002-08-04  Zbigniew Chyla  <cyba@gnome.pl>

	* src/plugin.[ch]
	(plugin_db_activate_plugin_list, plugin_db_deactivate_plugin_list):
	Made public (for use by plugin manager).

658 659 660 661 662 663 664
2002-08-03  Zbigniew Chyla  <cyba@gnome.pl>

	* src/plugin.c
	(gnm_plugin_force_mark_inactive, ghf_plugin_mark_inactive): Removed
	(plugins_shutdown): Proper way of handling plugins marked for
	deactivation.

Zbigniew Chyla's avatar
Zbigniew Chyla committed
665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691
2002-07-31  Zbigniew Chyla  <cyba@gnome.pl>

	* src/gnumeric-gconf-priv.h: removed PLUGIN_GCONF_KNOWN

	* src/gnumeric-gconf.[ch]
	(gnm_gconf_get_known_plugins, gnm_gconf_set_known_plugins): removed

	* src/gutils.h
	(g_string_s]list_copy): added cast to GnmMapFunc
	(GNM_[S]LIST_APPEND): new
	(GNM_SIZEOF_ARRAY): cast to int, unsigned ints are evil

	* src/plugin-loader.c
	(gnumeric_plugin_loader_unload_service_general_real,
	gnumeric_plugin_loader_unload_service_file_opener_real,
	gnumeric_plugin_loader_unload_service_file_saver_real,
	gnumeric_plugin_loader_unload_service_function_group_real,
	gnumeric_plugin_loader_unload_service_plugin_loader_real):
	made static

	* src/plugin.[ch]
	(struct _GnmPlugin): added saved_textdomain
	(gnm_plugin_init): set saved_textdomain to NULL
	(gnm_plugin_finalize): g_free it here
	(gnm_plugin_get_config_prefix): removed
	(gnm_plugin_get_textdomain): new

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 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771
2002-07-27  Zbigniew Chyla  <cyba@gnome.pl>

	* src/gutils.c:
	Converted g_string_[s]list_copy to more general functions,
	g_[s]list_map.

	* src/gutils.h:
	(g_[s]list_map): New
	(g_[s]tring_list_copy): Converted to macro (using g_[s]list_map)
	(g_list_to_vector, g_list_to_vector_custom, g_vector_free_custom,
	g_slist_to_vector):
	Removed
	(GNM_[S]LIST_SORT): New members of GNM_[S]LIST_* family.
	(GNM_SIZEOF_ARRAY): New macro

	* src/error-info.h:
	(GNM_INIT_RET_ERROR_INFO):
	New macro, I plan to add some extra code here.

	* src/plugin-service.[ch]
	PluginService and PluginService* are GObjects now
	(with three virtual methods: read_xml, activate, deactivate).
	All implementation details are hidden. Every PluginService* exposes
	only service-specific PluginService*Callbacks struct (returned by
	plugin_service_get_cbs function) for use by plugin loaders.
	Placed "id" attribute in PluginService struct instead of
	duplicating it in other structs.
	(plugin_service_{get,set,clear}_loader_data): Removed
	s/plugin_service_read/plugin_service_new/

	* src/plugin.c
	Adjusted to plugin-service.h changes
	(struct _GnmPlugin): Replace vectors with SLists.
	(plugins_shutdown): Destroy all plugins (g_object_unref).
	Use GNM_INIT_RET_ERROR_INFO everywhere.

	* src/plugin-loader.c
	(gnumeric_plugin_loader_unload_service_general_real,
	gnumeric_plugin_loader_unload_service_file_opener_real,
	gnumeric_plugin_loader_unload_service_file_saver_real,
	gnumeric_plugin_loader_unload_service_function_group_real,
	gnumeric_plugin_loader_unload_service_plugin_loader_real):
	Set callbacks using plugin_service_get_cbs and PluginService*Callbacks
	structs, instead of settings PluginService* fields directly (they are
	private now).
	(gnumeric_plugin_loader_load_service,
	gnumeric_plugin_loader_unload_service)
	Use RTTI to select (un)loading method.
	(gnumeric_plugin_loader_set_attributes,
	gnumeric_plugin_loader_load_base,
	gnumeric_plugin_loader_unload_base):
	Use GNM_INIT_RET_ERROR_INFO macro everywhere.

	* src/plugin-loader-module.c
	(gnumeric_plugin_loader_module_set_attributes,
	gnumeric_plugin_loader_module_load_base,
	gnumeric_plugin_loader_module_unload_base,
	gnumeric_plugin_loader_module_info_get_extra_info_list,
	gnumeric_plugin_loader_module_destroy,
	gnumeric_plugin_loader_module_func_init,
	gnumeric_plugin_loader_module_func_clean,
	gnumeric_plugin_loader_module_load_service_general,
	gnumeric_plugin_loader_module_func_file_probe,
	gnumeric_plugin_loader_module_func_file_open,
	gnumeric_plugin_loader_module_load_service_file_opener,
	gnumeric_plugin_loader_module_func_file_save,
	gnumeric_plugin_loader_module_load_service_file_saver,
	gnumeric_plugin_loader_module_func_get_full_function_info,
	gnumeric_plugin_loader_module_load_service_function_group,
	gnumeric_plugin_loader_module_unload_service_function_group,
	gnumeric_plugin_loader_module_func_get_loader_type,
	gnumeric_plugin_loader_module_load_service_plugin_loader):
	Use g_object data instead of plugin_service_[gs]et_loader_data.
	Set callbacks using plugin_service_get_cbs and PluginService*Callbacks
	structs, instead of settings PluginService* fields directly (they are
	private now).
	"has_probe" field has been removed, always get a pointer to 
    *_file_probe pointer function if it's available.
	Less assertions, use GNM_INIT_RET_ERROR_INFO macro everywhere.

772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 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 840 841 842 843 844 845 846 847 848 849
2002-07-22  Zbigniew Chyla  <cyba@gnome.pl>

	* src/gnumeric.h:
	Added typedefs: GnmPlugin, PluginService, GnumericPluginLoader.

	* src/gutils.h: New macros: GNM_LIST_FOREACH, GNM_LIST_PREPEND,
	GNM_LIST_REMOVE, GNM_LIST_CONCAT, GNM_LIST_REVERSE,
	GNM_SLIST_FOREACH, GNM_SLIST_PREPEND,
	GNM_SLIST_REMOVE, GNM_SLIST_CONCAT, GNM_SLIST_REVERSE.

	* src/gutils.c: Fixed typo in comment.

	* src/plugin-loader-module.h: s/PluginInfo/GnmPlugin/

	* src/plugin-loader-module.c:
	(ServiceLoaderDataGeneral): Removed module_func_can_deactivate.
	(gnumeric_plugin_loader_module_func_can_deactivate): Removed
	(gnumeric_plugin_loader_module_set_attributes):
	Adjusted to plugin-loader.c (read attributes from GHashTable).
	s/..._load/..._load_base/
	s/..._unload/..._unload_base/
	Use new macros from gutils.h.

	* src/plugin-loader.[ch]
	s/..._load/..._load_base/
	s/..._unload/..._unload_base/
	s/is_loaded/is_base_loaded/
	s/PluginInfo/GnmPlugin/
	(GnumericPluginLoaderClass::set_attributes,
	gnumeric_plugin_loader_set_attributes: Changed signature, read
	attributes from GHashTable, not from two lists.
	(gnumeric_plugin_loader_load_base): Ignore dependencies, now
	GnmPlugin object is responsible for this.
	(gnumeric_plugin_loader_unload_base): Ditto
	(gnumeric_plugin_loader_load_service): Don't load base part of the
	plugin, plugin takes care of this.

	* src/plugin-service.[ch]:
	s/PluginInfo/GnmPlugin/
	(PluginServiceGeneral::plugin_func_can_deactivate,
	plugin_service_can_deactivate,
	plugin_service_*_can_deactivate,
	plugin_services_data_new, plugin_services_data_free,
	PluginServicesData, plugin_service_can_deactivate): Removed.
	(plugin_service_plugin_loader_initialize): Use plugins_register_loader,
	passing loader id as "plugin-id:loader-service-id".
	(plugin_service_plugin_loader_cleanup): Ditto, plugins_unregister_loader.
	Use new macros from gutils.h.

	* src/plugin.[ch]
	Cut down the number of public functions by 20.
	Documented most public functions.
	Made PluginInfo a GObject, renamed to GnmPlugin.
	GnmPlugin sends signals on state change (active, loaded,
	can_deactivate).
	Removed _peek functions, no need for two types of getters.
	Remember "plugin file state" only for plugins from previous Gnumeric
	session (so that the list doesn't get bigger with every Gnumeric
	version installing .../gnumeric/version/plugins/... directories).
	Don't save known plugins separately, use the above list.
	Store available plugins in hash table for faster lookups by id.
	Ditto for loaders.
	Removed strange *_init, *_shutdown functions, now everything is in
	plugins_init and plugins_shutdown.
	Automatically add plugin containing loader to the list of plugin
	dependencies (it's easy because loader id is now:
	plugin_id + ":" + service_id).
	Detect cyclic dependencies during activation/deactivation.
	Very simple method for determining whether plugin can be deactivated
	- use "plugin usage counter" (increased by dependent plugins or plugin
	services if something keeps references to plugin structures).
	Validate plugin id, it may include only letters, digits and underscore.
	Removed ugly enums/structs (PluginDependencyType,
	PluginLoaderStaticInfo, PluginLoaderTypeInfo).
	Other simplifications.
	No new features.
	Use new macros from gutils.h (it looks so much better).

Jody Goldberg's avatar
Jody Goldberg committed
850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871
2002-08-04  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (expr_name_set_scope) : handle the wb -> sheet
	  transition too.
	(expr_name_set_expr) : tweak the expr ref counting semantics to be
	  more useful.  Just absorb it.

	* src/dependent.c (cb_name_invalidate) : don't NULL the name's
	  expression, rewrite it if necessary.

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

	* src/workbook-view.c (wb_view_auto_expr_recalc) : support NULL views.

	* src/sheet.c (sheet_get_view) : support NULL.

	* src/workbook-control-gui.c (wbcg_sheet_to_page_index) : allow
	  unfocused controls.

	* src/workbook.c (workbook_sheet_delete) : make sure nothing is
	  focused on the deleted sheet.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
872 873
2002-08-03  Jon K Hellan  <hellan@acm.org>

874 875 876 877
	* src/GNOME_Gnumeric.xml: Add Edit/Fill/Merge.
	Change SheetReorder label to "Manage Sheets".

	* src/workbook-control-gui.c (verbs): s/ToolsMERGE/ToolsMerge/
Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
878

879 880 881 882
2002-08-03  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (verbs, wbcg_menu_state_update):
	Added Data/Filter/Show All.
Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
883 884 885 886

	* src/GNOME_Gnumeric.xml: Added `Risk simulation' tool.
	Added Data/Filter/Show All.

887 888
2002-08-02  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

Jukka Pekka's avatar
Jukka Pekka committed
889 890
	* samples/simulation.gnumeric: Sample file of simulation.
	
Jukka Pekka's avatar
Jukka Pekka committed
891 892
	* src/workbook-control-gui.c: Added `Risk simulation' tool.

893 894
	* src/sheet.h: Added a round variable for risk simulation tool.

Jody Goldberg's avatar
Jody Goldberg committed
895 896 897 898 899 900 901 902
2002-08-02  Jody Goldberg <jody@gnome.org>

	* src/io-context.c (gnm_io_warning) : a simple placeholder.

	http://bugzilla.gnome.org/show_bug.cgi?id=88933
	* src/sheet-view.c (sv_attach_control) : no need to manually
	  initialize things.  Use sv_init_sc.

903 904 905 906 907 908 909
2002-08-01  Zbigniew Chyla  <cyba@gnome.pl>

	* src/stf.c
	(stf_open_and_read): Use g_try_malloc
	(stf_preparse, stf_read_workbook, stf_read_workbook_auto_csvtab):
	s/free/g_free/

910 911 912 913 914 915 916 917 918 919 920 921 922 923
2002-08-01  Jody Goldberg <jody@gnome.org>

	* src/sheet-style.c (sheet_style_foreach) : new.

	* src/mstyle.c (mstyle_equal_XL) : new.

	* src/item-grid.c (item_grid_draw) : partially fix drawing for merged
	  regions that have some cols/rows hidden.  It is impossible to do
	  that from the gnumeric ui, but it can happen with importers, and
	  will potentially happen with filters.

	* src/item-cursor.c (item_cursor_selection_event) : bring up context
	  menus on right button.

Morten Welinder's avatar
Morten Welinder committed
924 925 926 927 928 929 930 931 932
2002-07-30  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (random_01): Fix path of random device!

2002-07-30  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (ran_gamma_int): Fix incorrect underflow
	assumptions.

933 934 935 936
2002-07-28  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/func-buildin.c: Function description clean up.

Jukka Pekka's avatar
Jukka Pekka committed
937 938
2002-07-26  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

939 940 941 942
	* src/sheet.h, src/workbook-control-gui-priv.h,
	src/workbook-control-gui.c, src/tools/filter.c: Hide the
	sensitivity of `Show All' if there are no filtered rows.

Jukka Pekka's avatar
Jukka Pekka committed
943 944
	* src/workbook-control-gui.c: Added `Filter->Show All'.

945 946 947 948 949
2002-07-25  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (dgeom, pgeom): Properly import using
	tools/import-R.

Jukka Pekka's avatar
Added.  
Jukka Pekka committed
950 951 952 953
2002-07-22  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/mathfunc.[ch] (dgeom, pgeom): Added.

Jukka Pekka's avatar
Added.  
Jukka Pekka committed
954 955 956
2002-07-21  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/mathfunc.[ch] (random_gaussian_tail): Added.
Jukka Pekka's avatar
Added.  
Jukka Pekka committed
957
	
Jukka Pekka's avatar
Added.  
Jukka Pekka committed
958 959 960 961
2002-07-21  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/mathfunc.[ch] (random_landau): Added.

Jody Goldberg's avatar
Jody Goldberg committed
962 963 964 965
2002-07-21  Jody Goldberg <jody@gnome.org>

	* Release 1.1.6

Jukka Pekka's avatar
Added.  
Jukka Pekka committed
966 967 968 969
2002-07-21  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/mathfunc.[ch] (random_rayleigh_tail): Added.

Jukka Pekka's avatar
Added.  
Jukka Pekka committed
970 971 972 973 974
2002-07-21  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/mathfunc.[ch] (random_exppow_pdf, random_exppow,
	random_gaussian, random_gaussian_pdf, random_laplace_pdf): Added.

975 976 977 978 979 980
2002-07-21  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_sheet_label_button_press) : be
	  consistent and select before bringing up the context menu given
	  that the menu is being applied to the tab.

981 982 983 984 985 986 987 988
2002-07-20  Jon K Hellan  <hellan@acm.org>

	* configure.in: Test for BROKEN_PY_INITIALIZE feature (before
	Python 2.0, Python would write to the environment, and we had to
	work around it.)

	* acconfig.h: Add BROKEN_PY_INITIALIZE

989 990 991 992 993 994 995 996
2002-07-20  Jody Goldberg <jody@gnome.org>

	* src/item-grid.c (item_grid_button_press) : tidy the interface
	  handle all types button presses, not just button1.
	  Button 3 is not consistent in selecting and bringing up context menu
	  rather than just the menu (Thanks to the OpenOffice folk for noticing)
	(item_grid_event) : move the press logic into item_grid_press_event.

997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008
2002-07-20  Jody Goldberg <jody@gnome.org>

	* src/item-grid.c (item_grid_init) : init the cursor timer.
	(item_grid_event) : handle hlink cursor transitions and tips.
	(ig_clear_hlink_tip) : new.
	(item_grid_destroy) : clear the cursor timer and any visible tips.
	(cb_cursor_come_to_rest) : new.
	(cb_cursor_motion) : new.

	* src/sheet-control-gui.c (scg_set_display_cursor) : in the non-object
	  case use the pane's current cursor.

1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030
2002-07-18  Jody Goldberg <jody@gnome.org>

	* src/expr.c (gnm_expr_extract_ref) : take some eval flags to see if
	  we can support implicit iteration.
	* src/func.c (function_call_with_list) : ditto.

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

	* src/hlink.c : write url and internal link support.

2002-07-16  Jody Goldberg <jody@gnome.org>

	* src/cellspan.c (cell_calc_span) : center across selection can force
	  a span for something that would wrap.

	* src/workbook-control-gui.c (wbcg_error_error_info) : add 150% as a
	  std zoom level.

2002-07-15  Jody Goldberg <jody@gnome.org>

	* src/func.h : add status info to the func def for easy update

1031 1032
2002-07-18  Morten Welinder  <terra@diku.dk>

1033 1034 1035 1036 1037
	* src/search.c (calculate_replacement): Make utf-8 safe at last.
	(inspect_case): New function split out from calculate_replacement.

	* src/gutils.c (gnumeric_utf8_strcapital): New function (that
	should really be in glib).
1038

1039 1040 1041 1042
	* src/mathfunc.c (random_01): Use unsigned char array, not
	unsigned int.
	(random_cauchy, etc.): Make gnum_float safe.

1043 1044 1045 1046 1047
2002-07-18  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/mathfunc.[ch]: Added random_levy, random_levy_skew, 
	random_gumbel1 and random_gumbel2.

Jukka Pekka's avatar
Jukka Pekka committed
1048 1049 1050 1051
2002-07-18  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/mathfunc.[ch]: Added random_tdist.

1052 1053 1054 1055 1056 1057
2002-07-18  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/mathfunc.[ch]: Added random_beta, random_chisq, random_fdist,
	random_geometric, random_hypergeometric, random_logarithmic, and
	random_logistic.

1058 1059 1060 1061 1062
2002-07-18  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/mathfunc.[ch]: Added random_gamma, random_pareto, random_laplace,
	and random_weibull.

1063 1064 1065 1066
2002-07-18  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/mathfunc.[ch]: Added random_cauchy and random_lognormal.

Yanko Kaneti's avatar
Yanko Kaneti committed
1067 1068 1069 1070
2002-07-16  Yanko Kaneti <yaneti@declera.com>

	* configure.in: (ALL_LINGUAS) Added Bulgarian (bg).

1071 1072 1073 1074 1075 1076
2002-07-16  Morten Welinder  <terra@diku.dk>

	* configure.in (long double): Move to later when LIBS is in better
	shape.
	* src/gutils.c: Fix includes.

Jody Goldberg's avatar
Jody Goldberg committed
1077 1078 1079 1080 1081 1082 1083 1084 1085 1086
2002-07-13  Jody Goldberg <jody@gnome.org>

	* src/workbook.c (workbook_foreach_cell_in_range) : fix 3d handling,
	  and convert.

	* src/sheet.c (sheet_foreach_cell_in_range) : convert from boolean to
	  bit flags and support only_visible in addition to only existing.
	(sheet_col_size_fit_pixels) : Only fit visible cells.
	(sheet_row_size_fit_pixels) : ditto.

1087 1088 1089 1090 1091 1092 1093 1094
2002-07-12  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (cb_max_cell_width) : leave merged cells out of the
	  running.

	http://bugzilla.gnome.org/show_bug.cgi?id=87987
	(sheet_range_bounding_box) : nice catch, thankfully it is a new bug.

1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130
2002-07-12  Jody Goldberg <jody@gnome.org>

	* src/plugin-service.c (gnum_plugin_file_opener_probe) : remove
	  pretend feature that supported regexp.  Only shell paterns are
	  supported now.
	(plugin_service_file_opener_read) : ditto.

	* src/io-context.c (file_io_progress_set) : delete.
	(file_io_progress_update) : ditto.
	(memory_io_progress_set) : ditto.
	(memory_io_progress_update) : ditto.

	* src/gnumeric-gconf.c (gnm_gconf_get_horizontal_dpi) : dummy out for
	  now until we add a cache.
	(gnm_gconf_get_vertical_dpi) : ditto.

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

	* src/stf.c (stf_preparse) : stf_parse_convert_to_unix now returns the
	  length.
	* src/stf.c (stf_read_default_probe) : handle short files.

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

	* src/gui-clipboard.c (x_clipboard_to_cell_region) :
	  stf_parse_is_valid_data now takes a length.
	* src/stf.c (stf_read_default_probe) : ditto.
	(stf_preparse) : ditto.
	* src/stf-parse.c (stf_parse_is_valid_data) : Use the supplied buffer
	  length, not a 0 terminator.

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

	* configure.in : enable quatro pro plugin
	* plugins/Makefile.am : ditto

1131 1132 1133 1134 1135 1136 1137
2002-07-11  Morten Welinder  <terra@diku.dk>

	* src/search.c (calculate_replacement): Initial work towards UTF-8
	safety.
	(search_replace_compile, search_replace_verify): Make UTF-8 safe,
	except for the fact that our regexp routines are not.

1138 1139 1140 1141 1142 1143
2002-07-10  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-component.c (cb_help_about): Remove
	debugging output.
	(workbook_control_component_activate): Plug leak.

1144 1145 1146 1147 1148 1149 1150
2002-07-10  Morten Welinder  <terra@diku.dk>

	* src/search.c (search_replace_string): Use glib 2's
	g_string_append_len.
	(calculate_replacement): Ditto.
	(cb_order_sheet_col_row, cb_order_sheet_row_col): Make UTF-8 safe.

1151 1152 1153 1154
2002-07-09  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (random_poisson): Fix loop (by switching method).

Jody Goldberg's avatar
Jody Goldberg committed
1155 1156 1157 1158
2002-07-09  Jody Goldberg <jody@gnome.org>

	* plugins/Makefile.am : excel is no longer conditional

1159 1160 1161 1162 1163
2002-07-09  Jody Goldberg <jody@gnome.org>

	* README : add libgsf and remove libole
	* configure.in : remove libole

1164 1165 1166 1167
2002-07-08  Jon K Hellan  <hellan@acm.org>

	* src/gnumeric-graph.c: modernize a little bit more.

Jody Goldberg's avatar
Jody Goldberg committed
1168 1169 1170 1171
2002-07-08  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-graph.c : modernize.

Jody Goldberg's avatar
Jody Goldberg committed
1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183
2002-07-07  Jody Goldberg <jody@gnome.org>

	* src/gnumeric.h : Add GnmHLink.

	* src/item-grid.c : include hlink.h
	(item_grid_event) : a button release on an h-link activates it.

	* src/Makefile.am : Add hlink.[ch]

	* src/sheet.h : Lets take a break from architecture and add something
	  simple like hyper-links.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194
2002-07-07  Jon K Hellan  <hellan@acm.org>

	* src/datetime.c (date_init, datetime_g_to_serial,
	datetime_g_days_between, datetime_g_months_between,
	datetime_isoweeknum, datetime_weeknum,
	days_between_BASIS_MSRB_30_360, days_between_BASIS_30E_360,
	days_between_BASIS_30Ep_360, days_between_basis, coup_cd):
	Replaced deprecated g_date_xxx with g_data_get_xxx.

	* src/sheet-autofill.c (autofill_compute_delta): Ditto.

Morten Welinder's avatar
Morten Welinder committed
1195 1196 1197 1198 1199 1200
2002-07-01  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (fact): Use table and avoid recursion.
	(permut): New function.
	(combin): Improve precision.

1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217
2002-06-27  Jody Goldberg <jody@gnome.org>

	* src/sheet-view.c : move frozen panes here.
	* src/sheet.c : from here.

	* src/sheet-control-gui.c (scg_resize) : freezing in in view now.
	(scg_scrollbar_config) : ditto.
	(gnm_canvas_update_inital_top_left) : ditto.
	(scg_set_left_col) : ditto.
	(scg_set_top_row) : ditto.
	(scg_make_cell_visible) : ditto.
	(scg_set_panes) : ditto.
	* src/workbook-control-gui.c (wbcg_menu_state_update) : ditto.
	(cb_view_freeze_panes) : ditto.
	* src/xml-io.c (xml_read_sheet_layout) : ditto.
	(xml_write_sheet_layout) : ditto.

Jody Goldberg's avatar
Jody Goldberg committed
1218 1219
2002-06-27  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
1220 1221
	* src/main-application.c : include gui-file.h

Jody Goldberg's avatar
Jody Goldberg committed
1222 1223
	* src/mathfunc.c : silence some warnings.

Jody Goldberg's avatar
Jody Goldberg committed
1224 1225 1226 1227 1228 1229
	* src/gui-util.c : add missing include.

2002-06-26  Jody Goldberg <jody@gnome.org>

	* configure.in : bump the gsf version req

Jody Goldberg's avatar
Jody Goldberg committed
1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240
2002-06-26  Jody Goldberg <jody@gnome.org>

	* src/expr.c (do_gnm_expr_unref) : add missing break.

2002-06-26  Jody Goldberg <jody@gnome.org>

	* src/gui-util.c (gui_file_open) : move the magic directory selector
	  for here.
	(gnumeric_dialog_file_selection) : to here, so that it works for other
	  situations too.

1241 1242 1243 1244 1245
2002-06-26  Jon K Hellan  <hellan@acm.org>

	* GNOME_Gnumeric.server.in.in: Add mime types for lotus, applix,
	oleo & xbase.

1246 1247 1248 1249 1250 1251 1252 1253 1254 1255
2002-06-25  Jon K Hellan  <hellan@acm.org>

	* src/bonobo-io.c (get_raw_bytes_from_stream)
	(get_bytes_from_compressed_stream, get_bytes_from_stream)
	(cleanup_stream, check_gzip_header, init_for_inflate)
	(hack_xmlSAXParseFile, deserialize_wb_from_xml_stream)
	(read_from_stream): Remove.
	(gnumeric_bonobo_read_from_stream): GsfInput-ize. Probe for file
	type.

1256 1257 1258 1259 1260 1261
2002-06-24  Morten Welinder  <terra@diku.dk>

	* src/regression.c: Include Daniel Carrera's experimental
 	non-linear regression code (still unreachable).  Fix the most
 	obvious porting mistakes and leaks.

1262 1263 1264 1265 1266 1267 1268 1269 1270
2002-06-24  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=86338
	* src/formats.c (cell_format_time) : reorder to keep hour major
	  formats before minute major.

	* src/number-match.c (MatchType) : add cummulative types.
	(compute_value) : support cummulative time.

1271 1272 1273 1274 1275
2002-06-24  Jody Goldberg <jody@gnome.org>

	* src/func-builtin.c : finish cleaning out the 'selection' function
	and silence the warnings.

1276
2002-06-23  Jody Goldberg <jody@gnome.org>
1277 1278 1279 1280 1281

	* src/sheet-control-gui-priv.h (SCG_FOREACH_PANE) : respect the
	  GnumericPane::is_active flag to begin support for h/v only freezing.
	* src/sheet-control-gui.c (scg_redraw_headers) : ditto.
	(scg_make_cell_visible) : ditto.
1282

1283 1284 1285
	* src/sheet-view.c (sv_attach_control) : position the cursors for the
	  newly attached control.

1286 1287 1288 1289 1290 1291 1292 1293 1294
	* src/func-builtin.c (func_builtin_init) : delete the 'selection'
	  function.  It is no longer possible with a sheetview.

	* src/workbook-control-gui.c (cb_select_auto_expr) : remove
	  'selection(0)' argument and just pass function name.  The conversion
	  to SheetView forces a different methodology.
	* src/workbook-view.c (workbook_view_new) : ditto.
	(wb_view_auto_expr_recalc) : Make the call manually.

1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311
2002-06-22  Jody Goldberg <jody@gnome.org>

	* src/expr.h : support constructed ranges.
	* src/parser.y (parser_sheet_by_name) : ditto.
	* src/expr-name.c (name_refer_circular) : ditto.

	* src/expr.c (do_gnm_expr_unref) : support range_ctor and reorder to
	  produce a better jump table.
	(gnm_expr_equal) : ditto.
	(do_expr_as_string) : ditto.
	(gnm_expr_rewrite) : ditto.
	(ets_hash) : ditto.
	(ets_equal) : ditto.
	(expr_tree_sharer_share) : ditto.
	(expr_eval_real) : ditto and use gnm_expr_extract_ref.
	(gnm_expr_extract_ref) : new.

1312 1313
2002-06-21  Jody Goldberg <jody@gnome.org>

1314 1315 1316
	* src/workbook-view.c (workbook_view_new) : add views of all existing
	  sheets.

Jody Goldberg's avatar
Jody Goldberg committed
1317 1318 1319
	* src/workbook-control-component.c (wbcc_sheet_focus) : move to new
	signature.

1320 1321 1322
	* src/application.c (gnumeric_application_finalize) : do not free the
	  clipboard here.  It is too late.

Jody Goldberg's avatar
Jody Goldberg committed
1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385
2002-06-21  Jody Goldberg <jody@gnome.org>

	* src/parse-util.c (parse_cell_name) : take a cellpos *

	* src/func-builtin.c (gnumeric_selection) : dummy out for now until a
	  different approach is available.

	* src/commands.c : convert to sheetview.
	  s/parent/cmd/ to make things more readable
	(cmd_selection_clear) : rename from cmd_clear_selection so that we can
	  start to group the operations that currently operate on selections.
	(cmd_selection_format) : rename from cmd_format.
	(cmd_selection_colrow_hide) : rename from cmd_colrow_hide_selection.
	(cmd_selection_outline_change) : rename from cmd_colrow_outline_change.
	(cmd_selection_group) : rename from cmd_group.
	(cmd_selection_autoformat) : rename from cmd_autoformat.
	(cmd_colrow_hide_correct_selection) : take a control.

	* src/colrow.c (cb_colrow_visibility) : selections are now part of
	  sheetview.
	(colrow_get_visiblity_toggle) : ditto.

	* src/cmd-edit.c (cmd_select_cur_row) : convert to sheetview.
	(cmd_select_cur_col) : ditto.
	(cmd_select_cur_array) : ditto.
	(cmd_select_cur_depends) : ditto.
	(cmd_select_cur_inputs) : ditto.
	(cmd_paste_to_selection) : ditto.

	* src/bonobo-io.c (deserialize_wb_from_xml_stream) : pass the wbv into
	  the context directly.
	(gnumeric_bonobo_write_workbook) : ditto.
	(gnumeric_bonobo_read_workbook) : ditto.

	* src/consolidate.c (redraw_respan_and_select) : set selection only
	  for the calling view.
	(row_consolidate) : pass in the view.
	(col_consolidate) : ditto.
	(colrow_consolidate) : ditto.
	(consolidate_apply) : Take a control so that we can extract the view.

	* src/commands.c (cmd_consolidate_redo) : Pass the control.

2002-06-20  Jody Goldberg <jody@gnome.org>

	* src/sheet-view.c (sheet_view_init) : init the selection.

	* src/workbook-view.c (workbook_view_new) : init current_sheet_view.
	(wb_view_format_feedback) : operate on the sheetview.
	(wb_view_selection_desc) : ditto.
	(wb_view_edit_line_set) : ditto.

2002-06-20  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_sheet_add) : Use sheet_get_view.
	(wb_view_sheet_focus) : ditto.
	* src/xml-io.c (xml_write_selection_info) : ditto.
	(xml_read_selection_info): ditto.
	(xml_workbook_write) : now that the view is in the context don't
	  bother passing it.
	(xml_write_wbv_attributes) : ditto.
	(xml_read_wbv_attributes) : ditto.

1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402
2002-06-21  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/application.h (gnumeric_application_get_app) : new
	* src/application.c (gnumeric_application_get_app) : new
	(application_clipboard_clear) : emit "clipboard_modified" rather than
	  calling wb_control_menu_state_update on each control
	(application_clipboard_cut_copy) : ditto
	* src/libgnumeric.c (gnm_common_init) : remove debug spew, no need
	  to keep an app pointer
	(gnm_shutdown) : use gnumeric_application_get_app rather than a static 
	  app pointer
	* src/workbook-control-priv.h : new clipboard_changed_signal field in 
	  WorkbookControl
	* src/workbook-control.c (cb_wbc_clipboard_modified) : new
	(wbc_finalize) : disconnect signal handler
	(workbook_control_init) : new

Morten Welinder's avatar
Morten Welinder committed
1403 1404 1405 1406
2002-06-21  Morten Welinder  <terra@diku.dk>

	* configure.in: When checking for 2.96, use $CC.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
1407 1408 1409 1410 1411 1412
2002-06-20  Jon K Hellan  <hellan@acm.org>

	* configure.in (have_pygtk): Add test for Pygtk.

	* acconfig.h: Add WITH_PYGTK

1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429
2002-06-19  Jody Goldberg <jody@gnome.org>

	* src/application.c (application_clipboard_cut_copy) : Use sv_weak_ref.
	(application_clipboard_clear) : Use sv_weak_unref.

	* src/workbook-view.c (wb_view_sheet_add) : create the view before
	  potentially looking for it.

	* src/workbook-edit.c (wbcg_edit_finish) : Accept text with only a
	  leading expr char as strings, we know they can not be expressions.

	* src/parse-util.c (gnumeric_char_start_expr_p) : be more lenient
	  about accepting leading '+' as the start of an expression.

	* src/application.c (application_set_selected_sheet) : merge into.
	(application_clipboard_cut_copy) : here.

1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448
2002-06-19  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/application.h : gobjectify
	* src/application.c : gobjectify; replace app. with app-> throughout
	(application_init) : deleted
	(gnumeric_application_init) : new
	(gnumeric_application_class_init) : new
	(application_display_dpi_set) : deleted
	(application_use_auto_complete) : use gconf
	(application_live_scrolling) : ditto
	(application_auto_expr_recalc_lag) : ditto
	(gnumeric_application_setup_icons) : new
	(gnumeric_application_finalize) : finalize
	* src/libgnumeric.c (gnm_common_init) : use new application object
	(gnm_shutdown) : ditto
	* src/commands.c (cmd_cell_range_is_locked_effective) : use range type
	(cmd_dao_is_locked_effective) : new
	(cmd_sort_redo) : check for locks

1449 1450 1451 1452 1453 1454
2002-06-19  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c: Update to R 1.5.1.
	(pexp, pweibull): Use R's version.  All callers
	changed to match new prototype.

1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512
2002-06-19  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_destroy) : no need to unant, that is a view
	  responsibility.

	* src/sheet-view.c (sv_weakref_notify) : new.
	(sv_weak_ref) : new.
	(sv_weak_unref) : new.
	(sv_unant) : move here from sheet.
	(sv_ant) : move here from sheet.
	(sv_selection_copy): from selection.c
	(sv_selection_cut) : from selection.c

	* src/sheet-control.c (sc_view) : new.

	* src/sheet-control-gui.c (scg_ant) : the animated cursors are now
	  stored in the view not the sheet.
	(context_menu_handler) : sync with the workbook control criteria for
	  enabling paste special.

	* src/selection.c (sheet_selection_copy) : start the process of
	  migrating to SheetView and move this there.
	(sheet_selection_cut) : ditto.

	* src/item-cursor.c (item_cursor_do_action) : pass a SheetView.

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : pass a
	  SheetView.

	* src/corba-sheet.c : untested patch to handle views.

	* src/commands.c (cmd_ins_del_colrow_undo) : use the sheetview.
	(cmd_ins_del_colrow_redo) : ditto.
	(cmd_ins_del_colrow_finalize) : remove weakref on the view.
	(cmd_ins_del_colrow) : add a weak ref to the view.

	* src/application.c (application_init) : we store a view now, not just
	  a sheet.
	(application_clipboard_clear) : update all workbooks, not just this
	  one, and store the view.
	(application_clipboard_unant) : use the view.
	(application_set_selected_sheet) : the selection is now view based.
	(application_clipboard_cut_copy) : take a view and remove the crufy
	  enable_paste_special flag.  That is handled locally.
	(application_clipboard_is_empty) : handle SheetView.
	(application_clipboard_is_cut) : ditto.
	(application_clipboard_sheet_get) : ditto.
	(application_clipboard_sheet_view_get) : ditto.

	* src/workbook-control-gui.c (wbcg_menu_state_update) : Use the
	  current sheet not some magic sheet.

	* src/sheet.c (sheet_new) : delete enable_paste_special.

	* src/workbook-control-gui.c (wbcg_menu_state_update) : paste special
	  is for local copies, use the application data rather than a sheet
	  local flag.

1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531
2002-06-19  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_attach_view) : renamed from sheet_attach_control.
	(sheet_detach_view) : renamed from sheet_detach_control.

	* src/sheet-view.c : new.

	* src/sheet-control.c (sc_sheet_set) : delete bogus.
	(sc_view) : new.

	* src/sheet-control-gui.c (sheet_control_gui_new) : A control now takes a
	  view in place of a model.

	* src/selection.c (sheet_selection_redraw) : adjustment to 
	  SHEET_FOREACH_CONTROL.

	* src/gnumeric.h : Add SheetView
	* src/Makefile.am : Add sheet-view.[ch]

1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560
2002-06-18  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_insert_current_date) : check for
	  failure to start editing.
	(cb_insert_current_time) : ditto.

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

	* src/gnumeric-graph.c (gnm_graph_vector_seq_scalar) : forward port a
	  patch for keelyn.

	* src/file.c (gnum_file_saver_save_to_stream_real) : forward port a
	  warning suppression.

	* src/clipboard.c (clipboard_paste_region) : restore the expr_relocate
	  code in preparation for supporting the XL style heuristic.

	* src/GNOME_Gnumeric.xml : forward port some fixes.
	* src/sheet-object-widget.c (cb_scrollbar_value_changed) : ditto.
	(sheet_widget_scrollbar_set_sheet) : ditto.

2002-06-17  Jody Goldberg <jody@gnome.org>

	* src/dependent.c (cb_name_invalidate) : renamed from
	  cb_name_invalidate_sheet.  Just set the expression to NULL.
	  no need to be polite.  It just confuses things during workbook
	  destruction when the name references another sheet which has already
	  been destroyed.

1561 1562 1563 1564 1565 1566 1567 1568 1569 1570
2002-06-17  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/commands.c (cmd_cell_range_is_locked_effective) : use 
	  gnumeric_error_invalid rather than gnumeric_notice,
	  change arguments to cmd_cell_range_is_locked_effective 
	  throughout.
	(cmd_selection_is_locked_effective) : change arguments
	(cmd_clear_redo) : check for locked cells
	(cmd_format_redo) : check for locked cells

1571 1572 1573 1574 1575 1576
2002-06-17  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/commands.c (cmd_selection_is_locked_effective) : new
	(cmd_area_set_text_redo) : check for locked cells
	(cmd_ins_del_colrow_redo) : check for locked cells and split arrays

1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592
2002-06-15  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/application.c : add pixmaps
	* src/commands.c (cmd_reorganize_sheets_undo) : change call to 
	  cmd_reorganize_sheets
	(cmd_reorganize_sheets_redo) : ditto
	(cmd_reorganize_sheets_finalize) : handle lock lists
	(cmd_reorganize_sheets) : handle lock lists
	* src/commands.h (cmd_reorganize_sheets) : change arguments
	* src/workbook-control-gui.c : change calls to cmd_reorganize_sheets
	* src/workbook.c (workbook_sheet_reorganize) : handle changed locks
	* src/workbook.h (workbook_sheet_reorganize) : add arguments
	* src/pixmaps/Makefile.am : add padlock_no.xpm and padlock.xpm
	* src/pixmaps/padlock_no.xpm : new
	* src/pixmaps/padlock.xpm : new

1593 1594
2002-06-14  Jody Goldberg <jody@gnome.org>

1595 1596 1597 1598 1599
	* src/workbook.c (workbook_sheet_detach) : add comment that we should
	  not do the check if it is during destruction.
	(workbook_finalize) : Its too late to destroy the 3d depends here.
	* src/dependent.c (workbook_deps_destroy) : do it here.

1600 1601 1602 1603
	* src/parser.y (parser_sheet_by_name) : new utility function to
	  support applix style absolute sheet references.
	(sheetref) : parser_sheet_by_name.

1604 1605 1606 1607 1608
2002-06-13  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/commands.c (cmd_cell_range_is_locked_effective) : new
	(cmd_analysis_tool_redo) : check whether output region is locked.

1609 1610 1611 1612 1613
2002-06-13  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/workbook-control-gui.c (workbook_close_if_user_permits) :
	show "All" buttons only if multiple workbooks are open.
	
1614 1615 1616 1617 1618 1619
2002-06-13  Jody Goldberg <jody@gnome.org>

 	http://bugzilla.gnome.org/show_bug.cgi?id=85181
	* src/workbook-edit.c (wbcg_edit_start) : protect against recursion
	  before testing for protection, we may already have a dialog up.

Rodrigo Moya's avatar
Rodrigo Moya committed
1620 1621 1622 1623 1624
2002-06-12  Rodrigo Moya <rodrigo@gnome-db.org>

	* src/file.c:
	* src/plugin-service.c: s/IS_GSF/GSF_IS

1625 1626 1627 1628 1629 1630 1631
2002-06-11  Jon K Hellan  <hellan@acm.org>

	* src/file.c: Include unistd.h to declare unlink, close and read.

	* src/main-application.c: Inlude bonobo-main.h to declare
	bonobo_activate.

1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642
2002-06-10  Jon K Hellan  <hellan@acm.org>

	* src/file.c: Fix up includes to make the bonobo version build.

	* src/plugin-service.c: Ditto.

	* src/gui-file.c (ask_for_file_saver, gui_file_save_to_stream):
	Disable for now to make the bonobo version build.

	* src/workbook-control-gui.c (cb_file_send): Ditto.

Jody Goldberg's avatar
Jody Goldberg committed
1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690
2002-06-07  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_open) : convert to libgsf.

	* src/stf.c (stf_open_and_read) : convert to libgsf.
	(stf_preparse) : ditto.
	(stf_read_workbook) : ditto.
	(stf_read_workbook_auto_csvtab) : ditto.
	(stf_read_default_probe) : ditto.

	* src/stf-parse.c (stf_parse_is_valid_data) : actually disable the
	  wide char support if it is not available.

	* src/gutils.c (gnm_extension_pointer) : copied from libgnome to
	  decrease our dependence on it.

	* src/gui-util.c (gnumeric_editable_enters) : modernize a bit.

	* src/gnumeric-simple-canvas.c (gnm_simple_canvas_grab) : suppress
	  warning.

	* src/file.c (gnum_file_opener_probe_real) : Use libgsf.
	(gnum_file_opener_open_real) : ditto.
	(gnum_file_opener_probe) : ditto.
	(gnum_file_opener_open) : ditto.
	(gnum_file_saver_save_to_stream_real) : disable, we can move this out
	  of here when GsfOutput comes online.

	* src/collect.c (string_range_function) : suppress warning.

	* src/cell.c (cell_set_array_formula) : Adjust to the signature change
	  for gnm_expr_new_array.
	* src/sheet-autofill.c (autofill_cell) : ditto.

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

	* configure.in : require libgsf.

	* src/xml-io.c (xml_check_version) : move the sanity checking here.
	(gnumeric_xml_read_workbook) : rather than here.  Support GsfInput.
	(xml_probe) : and here.
	(gnumeric_xml_write_workbook_to_stream) : delete.

2002-05-31  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-simple-canvas.c (gnm_simple_canvas_grab) : actually
	  return the result.

1691 1692
2002-06-01  Jody Goldberg <jody@gnome.org>

1693 1694 1695 1696
 	http://bugzilla.gnome.org/show_bug.cgi?id=83794
	* src/stf.c (stf_read_workbook_auto_csvtab) : simple autodetection of
	  tab delimited vs csv

1697 1698 1699 1700
	http://bugzilla.gnome.org/show_bug.cgi?id=82847
	* src/value.c (parse_criteria_range) : Check for null in both cases.
	  Clean up a touch while we are in here.

Jody Goldberg's avatar
Jody Goldberg committed
1701 1702 1703 1704
2002-05-29  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am (EXTRA_DIST) : include main-component.c

Jody Goldberg's avatar
Jody Goldberg committed
1705 1706 1707 1708
2002-05-29  Jody Goldberg <jody@gnome.org>

	* configure.in : post release version bump

Jody Goldberg's avatar
Jody Goldberg committed
1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720
2002-05-29  Jody Goldberg <jody@gnome.org>

	* Release 1.1.4

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

	* src/Makefile.am : tweak to make automake happy

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

	* configure.in : up the gnome-print req.

1721 1722 1723 1724
2002-05-29  Jody Goldberg <jody@gnome.org>

	* src/parse-util.h : Add PERR_SINGLE_RANGE.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
1725 1726 1727 1728
2002-05-29  Jon Kre Hellan  <hellan@acm.org>

	* configure.in (try_python): Fix typo

1729 1730 1731 1732 1733 1734 1735
2002-05-22  Jody Goldberg <jody@gnome.org>

	* src/clipboard.c (clipboard_paste_region) : remove
	  PASTE_EXPR_RELOCATE.  It was added so that sorting cells with
	  relative references would change, but it was not well considered and
	  causes breakage.

1736 1737 1738 1739 1740 1741 1742 1743 1744
2002-05-21  Morten Welinder  <terra@diku.dk>

	* src/func-builtin.c (func_builtin_init, shutdown_cat): Use plain
	function_get_category.

	* src/func.c (function_get_category): Don't use NULL as translated
	name -- translate!
	(function_add_placeholder): Use plain function_get_category.