OChangeLog-2002-01-22 116 KB
Newer Older
Morten Welinder's avatar
Morten Welinder committed
1
2
3
4
5
6
7
2001-10-29  Morten Welinder  <terra@diku.dk>

	* src/func.c (function_iterate_argument_values): Plug leak.

	* src/workbook-view.c (wb_view_save_as): Plug leak.
	(wb_view_save): Ditto.

Jody Goldberg's avatar
Jody Goldberg committed
8
9
10
11
2001-10-29  Jody Goldberg <jgoldberg@home.com>

	* configure.in : bump version.

Jody Goldberg's avatar
Jody Goldberg committed
12
13
14
15
2001-10-29  Jody Goldberg <jgoldberg@home.com>

	* Release 0.73

16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
2001-10-29  Jody Goldberg <jgoldberg@home.com>

	* src/parser.y : add support for referencing names in other workbooks.

	* src/expr.c (expr_tree_new_name) : take an optional sheet and
	  workbook as scoping info.
	(expr_eval_real) : handle inactive names.
	(do_expr_tree_to_string) : improve scoping.
	(expr_rewrite) : handle inactives and scope changes.

	* src/expr-name.c (expr_name_lookup) : add the notion of active and a
	  ref count so that we can do a delayed destruction and invalidation.
	(expr_name_add) : make it clearer that the return is not meant
	  to be freed.
	(expr_name_create) : don't free the result of expr_name_lookup.
	(expr_name_ref) : generalize.
	(expr_name_unref) : ditto.
	(expr_name_remove) : deactivate the name.

Almer S. Tigelaar's avatar
Almer S. Tigelaar committed
35
36
37
38
39
40
2001-10-27  Almer S. Tigelaar  <almer@gnome.org>

	* src/GNOME_Gnumeric.xml: Tidy view menu.

	* src/workbook-control-gui.c: Idem.

Almer S. Tigelaar's avatar
Almer S. Tigelaar committed
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
2001-10-27  Almer S. Tigelaar  <almer@gnome.org>

	* src/GNOME_Gnumeric.xml: Enable validate menu item.

	* src/validation.[ch]: New, defines a container for
	validation settings.
	
	* src/Makefile.am: Add new validation.[ch]

	* src/gnumeric.h: Add validation declaration.

	* src/gui-validation.[ch] (validation_mstyle_get_title): Burn.
	(validation_generate_msg): Rework slightly to accept a stylecondition
	instead of an mstyle.
	(validation_mstyle_get_msg): Burn.
	(validation_mstyle_get_msg_subst): Burn.
	(validation_mstyle_set_title_msg): Burn.
	(validation_get_accept): Request a validation instead of
	an mstyle. Actually free the automatically generated message.

	* src/mstyle.[ch]: Adjust mstyle_names to include hidden/locked.
	(mstyle_hash): Remove validation style hashing.
	(mstyle_element_dump): Don't dump validation message, dump validation
	refcount instead.
	(mstyle_element_equal): Remove comparing of style and message.
	(mstyle_elements_equal): Don't give a mismatched types warning if
	one of the elements is not set.
	(mstyle_element_ref): Ref validation, remove reffing of msg.
	(mstyle_element_unref): Idem for unref.
	(mstyle_new_default): Don't initialize any validation related
	element.
	(mstyle_set_validation): Set a Validation instead of a StyleCondition.
	(mstyle_get_validation): Idem for get.
	(mstyle_set_validation_style): Burn.
	(mstyle_get_validation_style): Burn.
	(mstyle_set_validation_msg): Burn.
	(mstyle_get_validation_msg): Burn.

	* src/style-condition.c (style_condition_new_constraint): Initialize
	from passed parameter!

	* src/style-condition.h: Remove validation enum.

	* src/workbook-control-gui.c (cb_data_validate): Enable.
	(workbook_control_gui_init): Change index of consolidate
	menu item.

	* src/workbook-edit.c (wbcg_edit_validate) : Get the StyleCondition
	from the validation. The validation element must be set on the mstyle.
	Pass validation, not mstyle, to validation_get_accept.
	(wbcg_edit_finish): Only call wbcg_edit_validate if the validation
	element is set on the mstyle.

	* src/xml-io.c (xml_write_style_condition_chain): Generates a
	StyleConditionChain in XML format.
	(xml_read_style_condition_chain): Turns an XML description of a
	StyleConditionChain into a real StyleConditionChain.
	(xml_write_style): Add validation support.
	(xml_read_style): Idem.
	
101
102
103
104
105
106
107
2001-10-27  Jody Goldberg <jgoldberg@home.com>

	* src/expr.c (cellref_relocate) : Only make the sheet local if the
	  input ref did not qualify the sheet.

	* src/parse-util.c (parse_text_value_or_expr) : be more careful.

Jody Goldberg's avatar
Jody Goldberg committed
108
109
110
111
2001-10-27  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Support --with-python=prog

112
113
114
115
116
117
118
119
120
2001-10-27  Jody Goldberg <jgoldberg@home.com>

	* src/sheet.c (sheet_{insert,delete}_{cols,rows}) : don't have
	  sheet_relocate_objects update the bounds.  Save it for sheet_update.
	  This allows us to use reposition_objects which does double duty to
	  help with resizing frozen panes too.

	* src/sheet-object.c (sheet_relocate_objects) : only update if requested.

121
122
123
124
125
2001-10-27  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-control-gui.c (scg_colrow_select) : be smarter about
	  edit_pos placement when there are frozen panes.

126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
2001-10-27  Jody Goldberg <jgoldberg@home.com>

	* src/item-grid.c (item_grid_event) : move the cursor setting out of
	  event::ENTER and into scg_set_display_cursor.

	* src/sheet-control-gui.c (scg_set_display_cursor) : new routine.
	(scg_mode_edit) : reset the display cursors.
	(scg_mode_edit_object) : ditto.
	(scg_mode_create_object) : ditto.

	* src/gnumeric-canvas.c (gnm_canvas_key_press) : if the key is
	  unhandled forward it to the canvas items.

	* src/item-cursor.c (item_cursor_autofill_event) : ctrl-autofill
	  defaults to increment.

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
2001-10-26  Jody Goldberg <jgoldberg@home.com>

	* src/workbook-edit.c (wbcg_edit_finish) : remove the loops, and
	  recursions.  match against formatted values before expressions, then
	  fall back to strings.

	* src/parse-util.c (parse_text_value_or_expr) : match against
	  formatted values before expressions, then fall back to strings.

	* src/cell.c (cell_set_text) : parse_text_value_or_expr takes a ParsePos.
	* src/sheet.c (sheet_cell_set_text) : ditto.
	* src/widgets/gnumeric-expr-entry.c
	  (gnumeric_expr_entry_key_press_event) : ditto.
	* src/commands.c (cmd_area_set_text_redo) : ditto.
	(cmd_area_set_text) : ditto.
	(cmd_search_replace_do_cell) : create a tmp EvalPos to avoid changing
	  the search data structures.

	* src/expr.c (expr_tree_get_range) : renamed from range_from_expr_tree.
	  add support for singletons.

	* src/ranges.c (global_range_parse) : tweak slightly.

2001-10-26  Jody Goldberg <jgoldberg@home.com>

	* src/number-match.c (format_match_init) : don't include text in the
	  stock set of formats they should only match numbers.

170
171
172
173
174
175
2001-10-25  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-autofill.c (autofill_compute_delta) : try to clarify
	  things by removing the unused parameter.
	(autofill_cell) : Restore and correct the old code.

176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
2001-10-25  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.c : various routines added to keep track of missing 
	  observations as well as various routines removed that are no longer
	  required. Renamed data_set_t to old_data_set_t, and introduced a new
          data_set_t
	(correlation_tool) : now handles missing observations and permits disconnected
          rectangular data regions
	(covariance_tool) : ditto
	(descriptive_stat_tool) : now permits disconnected rectangular data regions 
	(sampling_tool) : now permits samples of multiple datasets as well as multiple 
	  samples.
	* src/analysis-tools.h : new group_by_t type
	* src/ranges.c (global_range_parse) : fix bug (relative references were 
	  evaluated with respect to B2 rather than A1)

192
193
194
195
196
197
198
199
200
2001-10-25  Morten Welinder  <terra@diku.dk>

	* src/number-match.c (format_create_regexp): Sign after "E" is
 	optional.
	(char_to_re): New function.
	(format_create_regexp): Use char_to_re to quote thousand and
 	decimal separators.
	(compute_value): Fix sign handling.

Jody Goldberg's avatar
Jody Goldberg committed
201
202
203
204
205
206
207
208
209
210
211
212
2001-10-25  Jody Goldberg <jgoldberg@home.com>

	* src/number-match.c (compute_value) : fix leaks.

	* src/sheet-autofill.c (autofill_cell) : fix leak.

	* gnumeric.xsd : add the scaling information.

	* src/xml-io.c (xml_write_print_info) : why weren't we saving scaling
	  info ?
	(xml_read_print_info) : or reading back.

213
214
2001-10-25  Jody Goldberg <jgoldberg@home.com>

215
216
217
218
219
220
221
222
223
224
225
226
227
	* src/ranges.c (global_range_list_parse) : put things in the right
	  order.
	(global_range_list_foreach) : new routine designed to replace old
	  range_list_foreach_full.

	* src/number-match.c (compute_value) : fix old typo, make dates
	  integers when possible.

2001-10-25  Jody Goldberg <jgoldberg@home.com>

	* src/number-match.c (compute_value) : fix return values and test that
	  year is within bounds.

228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
	* src/ranges.c (range_trim) : decrease lobotomization factor.

2001-10-23  Jody Goldberg <jgoldberg@home.com>

	* src/expr-name.c (named_expr_new) : renamed from add_real, simplified
	  interface.
	(expr_name_add) : take and store a parse position.
	(expr_name_create) : ditto.
	(expr_name_destroy) : adjust to stored parsepos.
	(expr_name_unlink) : ditto.
	(expr_name_sheet2wb) : ditto.
	(expr_name_init) : ditto.
	(expr_name_as_string) : renamed from expr_name_value.
	(expr_name_eval) : renamed from eval_expr_name.

	s/eval_expr/expr_eval/

	* src/expr.c (do_expr_tree_to_string) : Use value_as_string in most
	  places.
	* src/value-sheet.c (value_cellrange_get_as_string) : delete bogus
	  useless arg.
	(encode_cellref) : delete redundant.

	* src/parse-util.c (cellref_name) : ICK!  XL wraps relative references
	  that are out of bounds.

254
255
256
257
258
259
260
261
262
263
264
265
2001-10-23  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/ranges.c/h (global_range_parse) : remove `strict' argument
	(range_list_foreach_full) : change third argument from boolean to
	  enumerate to allow third variant, namely call backup even for NULL 
	  cells without creating them.
        * src/ranges.c (global_range_parse) : change to a wrapper
	  around expr_parse_string.
	(global_range_list_parse) : new routine, analogue 
	  to range_list_parse but calling global_range_parse rather than 
	  range_parse (for analysis tools)

266
267
268
269
270
271
272
273
274
275
276
2001-10-23  Almer S. Tigelaar  <almer@gnome.org>

	* src/mstyle.c (mstyle_get_validation_msg): Fix this for
	cases where the msg is NULL.

	* src/workbook-edit.c (wbcg_edit_validate): Call upon
	validation_get_accept in gui-validation.c to pop-up
	a dialog if needed.

	* src/gui-validation.[ch]: New, gui parts of validation.
	Used by wbcg_edit_validate and also in dialog-cell-format.c
Almer S. Tigelaar's avatar
Almer S. Tigelaar committed
277
278
279

	* src/style-condition.c (style_condition_flags_eval): Remove
	debug message.
280
	
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
2001-10-22  Almer S. Tigelaar  <almer@gnome.org>

	* src/style-condition.h :
	Re-Order validation Enum and define new StyleCondition
	types.

	* src/style-condition.c (style_condition_expr_dep_eval) :
	Renamed from style_condition_dep_eval.
	(style_condition_expr_set_expr) :
	Renamed from style_condition_set_expr.
	(style_condition_expr_dep_debug_name) :
	Renamed from style_condition_dep_debug_name.
	(style_condition_new_expr): Renamed from
	style_condition_new.
	(style_condition_new_constraint): New, creates a
	stylecondition of type constraint.
	(style_condition_new_flags): New, creates a stylecondition
	of type flags.
	(style_condition_unref): Deal with changes in stylecondition
	structure.
	(style_condition_chain): Add operator parameter.
	(style_condition_expr_eval): Split out from style_condition_eval.
	(style_condition_constraint_eval): Idem.
	(style_condition_flags_eval): New, handles allow blank.
	(style_condition_dump): New, dumps a style condition chain to the
	screen. For debugging purposes.
	(style_condition_eval): Handle the new chain operators and use
	the *_eval functions.

310
311
312
2001-10-22  Jody Goldberg <jgoldberg@home.com>

	* src/expr-name.c (name_refer_circular) : fix.
Jody Goldberg's avatar
Jody Goldberg committed
313

Jody Goldberg's avatar
Jody Goldberg committed
314
315
316
317
318
	* src/print.c (print_sheet_objects) : filter hidden objects.

	* src/commands.c (cmd_unmerge_cells_undo) : queue the original region
	  for a redraw before remerging in case of spans.

Jody Goldberg's avatar
Jody Goldberg committed
319
320
321
322
	* src/parser.y (gnumeric_parse_error) : Use workbook_sheet_by_name.

	* src/sheet.c (sheet_lookup_by_name) : delete bogus routine.

323
324
2001-10-21  Jody Goldberg <jgoldberg@home.com>

325
326
	* src/cellspan.c (cell_calc_span) : min_col is exclusive.

327
328
329
330
331
332
333
334
335
336
337
	* src/sheet-object-container.c (sheet_object_container_update_bounds) :
	  handle visibility.
	* src/sheet-object-cell-comment.c (cell_comment_update_bounds) : ditto.
	* src/sheet-object-graphic.c (sheet_object_graphic_update_bounds) : ditto.
	(sheet_object_filled_update_bounds) : ditto.
	* src/sheet-object-widget.c (sheet_object_widget_update_bounds) : ditto.

	* src/sheet-object.c (sheet_object_init) : init is_visible.
	  Not really needed, but lets be careful.
	(sheet_object_update_bounds) : check to visibility.

jody goldberg's avatar
jody goldberg committed
338
339
340
341
2001-10-20  jody goldberg <jgoldberg@home.com>

	* src/sheet.c (cb_max_cell_width) : factor in indents too.

342
343
344
345
346
2001-10-20  Jody Goldberg <jgoldberg@home.com>

	* src/sheet.c (sheet_find_boundary_{horizontal,vertical}) : handle
	  jumping to end of non-blank region where the end is hidden.

347
348
349
350
351
2001-10-19  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_setup) : it is 'oaf-run-query'
	  Spew the informative message for all oaf exceptions.

352
353
354
355
356
2001-10-19  Morten Welinder  <terra@diku.dk>

	* src/number-match.c (compute_value): Fix parsing of decimal
 	fractions and exponents.

Morten Welinder's avatar
Morten Welinder committed
357
358
359
360
361
362
363
364
365
2001-10-19  Morten Welinder  <terra@diku.dk>

	* src/goal-seek.c (goal_seek_newton): Deliberately overshoot in
 	each iteration.  This makes it more likely that we get to hit both
 	sides of the root.
	(goal_seek_bisection): Introduce Newton steps when we're close to
 	a root.  Pick best of xmid, xneg, and xpos when we decide we have
 	the required precision.

Jody Goldberg's avatar
ditto.    
Jody Goldberg committed
366
367
368
369
370
2001-10-19  Jody Goldberg <jgoldberg@home.com>

	* configure.in : Until the gb plugin works with newer gb make
	the test == 0.17

371
372
373
374
375
376
377
378
2001-10-19  Morten Welinder  <terra@diku.dk>

	* src/goal-seek.c (goal_seek_bisection): Use mid-point bisection
 	more often.  Increase maximum number of iterations (just in case).

	* src/commands.c (cmd_ins_del_colrow_redo): Initialise cri, just
 	in case.

379
380
381
382
2001-10-18  Andreas J. Guelzow <aguelzow@taliesin.ca>

        * src/ranges.c/h (global_range_parse) : new function

Jody Goldberg's avatar
Jody Goldberg committed
383
384
385
386
2001-10-18  Jody Goldberg <jgoldberg@home.com>

	* configure.in : post release bump.

Jody Goldberg's avatar
Jody Goldberg committed
387
388
389
390
2001-10-18  Jody Goldberg <jgoldberg@home.com>

	* Release 0.72

391
392
393
394
395
396
397
398
399
2001-10-18  Jody Goldberg <jgoldberg@home.com>

	* src/xml-io.c (xml_node_get_int) : use strtol
	(xml_node_get_double) : strtod.

	* src/number-match.c (format_match_number) : new.

	* src/expr.c (eval_expr_real) : format_match can match non-numbers now.

400
401
402
403
404
405
406
2001-10-18  Morten Welinder  <terra@diku.dk>

	* src/pixmaps/16_search.xpm: new file (derived from from Evolution).
	* src/application.c (application_init): Add search pixmap.
	* src/workbook-control-gui.c (workbook_menu_edit): Ditto.
	* src/GNOME_Gnumeric.xml: Ditto.

407
408
409
410
411
412
413
414
415
416
417
418
419
420
2001-10-17  Jody Goldberg <jgoldberg@home.com>

	* src/item-bar.c (ib_draw_cell) : add some protection in case of bad
	  fonts.

2001-10-17  Jody Goldberg <jgoldberg@home.com>

	* src/gui-util.c (gnumeric_create_popup_menu_list) : tweak this to
	  take a list.
	(gnumeric_create_popup_menu) : and make this a wrapper.

	* src/gnumeric-graph.c (gnm_graph_user_config) : connect to the graph
	  guru formatGuru.

421
422
423
424
2001-10-17  Jon K Hellan  <hellan@acm.org>

	* src/gnumeric-graph.h: Declare GNM_VECTOR_DATE to fix build.

Jody Goldberg's avatar
Jody Goldberg committed
425
426
2001-10-16  Jody Goldberg <jgoldberg@home.com>

Jody Goldberg's avatar
Jody Goldberg committed
427
428
	* src/sheet-object.c (sheet_object_clear_sheet) : fix leak.

Jody Goldberg's avatar
Jody Goldberg committed
429
430
	* src/gnumeric-graph.c (gnm_graph_import_specification) : fix leak.

431
432
433
434
435
436
437
438
439
440
441
442
443
2001-10-16  Jody Goldberg <jgoldberg@home.com>

	* rc/gnumeric-graph.c (gnm_graph_vector_eval) : patch leak.
	(gnm_graph_series_get_dimension) : s/element/dim_name/
	(gnm_graph_series_add_dimension) : ditto.

2001-10-16  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_type_selector) : delete.
	(gnm_graph_get_config_control) : ORBit returns garbage if the remote
	  call fails.
	(gnm_graph_subscribe_vector) : ditto.

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
444
445
446
447
2001-10-16  Andreas J. Guelzow <aguelzow@taliesin.ca>

       * src/analysis-tools.c (sampling_tool) : Fixed small bug.

448
449
450
451
452
453
454
455
456
2001-10-16  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_get_spec) : Buffer changed name.
	  leak fix.
	(gnm_graph_import_specification) : ditto.

	* idl/GNOME_Gnumeric_Graph.idl  : Add some derived controls to act as
	  gurus.

Jody Goldberg's avatar
Jody Goldberg committed
457
458
459
460
461
462
2001-10-15  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_series_get_dimension) : fix leak.
	(gnm_graph_import_specification) : fix leak.
	(gnm_graph_arrange_vectors) : ditto.

463
464
465
466
467
468
469
470
471
2001-10-14  Almer S. Tigelaar  <almer@gnome.org>
 
 	* src/workbook-control-gui.c (cb_data_validate):
 	Pop-up validation page of format dialog. Disabled
	for now.
 
 	* src/GNOME_Gnumeric.xml: Add validate menu
 	item. Commented out for now.

Morten Welinder's avatar
Morten Welinder committed
472
473
474
475
2001-10-13  Morten Welinder  <terra@diku.dk>

	* src/search.c (search_match_string): Fix last change.

476
477
478
479
480
481
482
483
484
485
2001-10-13  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : don't move past
	  the unhidden region.
	* src/sheet.c (sheet_find_boundary_horizontal) : ditto.
	(sheet_find_boundary_vertical) :ditto.

	* src/colrow.c (colrow_set_visibility) : keep track of the bound of
	  the unhidden region of the sheet.

486
487
488
489
490
491
2001-10-12  Jody Goldberg <jgoldberg@home.com>

	http://bugzilla.gnome.org/show_bug.cgi?id=62167
	* src/parser.y (yylex) : If an integer is out of range fall back to
	  float.  Reorganize slightly to make this more readable.

492
493
494
495
496
497
498
499
500
2001-10-12  Morten Welinder  <terra@diku.dk>

	* src/search.c (search_collect_cells_free): New convenience
 	function.
	(search_match_string): Fix word search.

	* src/commands.c (cmd_search_replace_do): Use
 	search_collect_cells_free.

501
502
503
504
2001-10-12  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_vector_destroy) : release the cached
	  value if it exists.
505
506
	(gnm_graph_arrange_vectors) : don't allocate anything if the manager
	  is missing.
507

Morten Welinder's avatar
Morten Welinder committed
508
509
510
511
2001-10-12  Morten Welinder  <terra@diku.dk>

	* src/workbook-view.c (wb_view_open_custom): Plug leak.

Jody Goldberg's avatar
fix.    
Jody Goldberg committed
512
513
514
515
516
517
518
519
520
521
522
523
524
2001-10-12  Jody Goldberg <jgoldberg@home.com>

	* idl/GNOME_Gnumeric_Graph.idl :  simplify my life
	  make the manager inherit from Embeddable directly.

2001-10-11  Jody Goldberg <jgoldberg@home.com>

	* src/mathfunc.c (minverse) : fix.

2001-10-11  Jody Goldberg <jgoldberg@home.com>

	* src/eval.c (dependent_set_sheet) : new utility.

525
526
2001-10-12  Morten Welinder  <terra@diku.dk>

527
528
529
	* configure.in (gal): Require 0.14 because the new search code
 	uses E-table.

530
531
532
	* src/workbook-control-gui.c: Add the F7 accelerator for
 	non-Bonobo also.

533
534
535
536
537
2001-10-12  John Gotts <jgotts@linuxsavvy.com>

	* gnumeric.spec.in: If you don't want bonobo, change %define WithBonobo
	1 to %define WithBonobo 0.

538
539
540
541
542
543
544
545
546
547
548
549
2001-10-11  Jody Goldberg <jgoldberg@home.com>

	* src/item-grid.c (ig_obj_create_motion) : renamed and restructured
	  from cb_obj_create_motion.
	(ig_obj_create_finish) : ditto from cb_obj_create_button_release.
	(ig_obj_create_begin) : ditto from sheet_object_begin_creation.
	  Grab to pointer and use the grid's event handler rather than
	  attempting to apply local handlers for the canvas.
	(cb_extend_object_creation) : new.
	(item_grid_event) : use the new obj_create routines.
	(item_grid_init) : init the obj_create data.

Morten Welinder's avatar
Morten Welinder committed
550
551
552
553
554
555
556
557
558
2001-10-11  Morten Welinder  <terra@diku.dk>

	* src/search.c (search_filter_matching,
 	search_filter_matching_free): New functions.

	* src/workbook-control-gui.c (workbook_control_gui_init): Plug leak.
	(cb_edit_search): Delete.
	(cb_edit_search): Use new dialog.

559
560
561
562
563
564
565
566
2001-10-11  Jody Goldberg <jgoldberg@home.com>

	* src/workbook-control-gui.c (cb_file_quit) :
	(workbook_close_if_user_permits) : optionally avoid closing pristine
	  books.  Return more state info to handle cancel vs closed vs can
	  close.
	(wbcg_close_control) : keep it simple.

567
568
569
570
571
2001-10-10  Jody Goldberg <jgoldberg@home.com>

	* src/colrow.c (colrow_visibility) : we stop wither at the edge, or 1
	  past the last match.

572
573
574
575
2001-10-10  Jody Goldberg <jgoldberg@home.com>

	* src/mstyle.c (mstyle_merge) : delete.

576
577
578
579
580
581
582
583
584
585
2001-10-10  Jody Goldberg <jgoldberg@home.com>

	* src/plugin-util.c (gnumeric_fopen) : be smarter about what type of
	  error to report.

	* src/xml-io.c (gnumeric_xml_write_workbook) : switch to manually
	  opening the file then dumping to prepare for xml2.  Apparently it
	  attempts to escape file names.
	* src/xml-io-autoft.c (gnumeric_xml_write_format_template) : ditto.

586
587
588
589
590
591
2001-10-10  Jody Goldberg <jgoldberg@home.com>

	* src/xml-io.c (gnumeric_xml_set_compression) : new utility.
	(gnumeric_xml_write_selection_clipboard) : Used here.
	(gnumeric_xml_write_workbook) : and here.

592
593
594
595
596
597
598
599
2001-10-10  Almer S. Tigelaar  <almer@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=62006
	* src/stf-parse.c (stf_parse_csv_is_separator): Tidy.
	(stf_parse_csv_cell): Fix handling of multiple separators.
	(stf_parse_get_colcount): Idem.
	(stf_parse_get_colwidth): Idem.

Jody Goldberg's avatar
Jody Goldberg committed
600
601
2001-10-10  Jody Goldberg <jgoldberg@home.com>

602
603
604
605
606
	http://bugzilla.gnome.org/show_bug.cgi?id=62031
	* src/sheet-control-gui.c (scg_cursor_extend) : Make this smarter.
	  only make the dimension that changed visible, there is no need to
	  jump to the corner.

Jody Goldberg's avatar
Jody Goldberg committed
607
608
	* src/gui-util.h (color_combo_get_style_color) : add missing decl.

J.H.M. Dassen (Ray)'s avatar
J.H.M. Dassen (Ray) committed
609
610
611
612
613
2001-10-08    J.H.M. Dassen (Ray) <jdassen@debian.org>

	* src/workbook-control-gui.c (cb_edit_fill_autofill) : 
	  Don't use C++/C99 `//' comment.

614
615
616
617
618
619
2001-10-10  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_vector_seq_scalar) : Fix row vectors.
	(gnm_graph_vector_seq_date) : ditto.
	(gnm_graph_vector_seq_string) : ditto.

620
621
622
623
624
625
626
2001-10-10  Jody Goldberg <jgoldberg@home.com>

	http://bugzilla.gnome.org/show_bug.cgi?id=62030
	* src/gui-util.c (color_combo_get_style_color) : new utility.
	* src/sheet-object-graphic.c (cb_dialog_graphic_clicked) : Use it here.
	(cb_dialog_filled_clicked) and here.

627
628
629
630
2001-10-09  John Gotts <jgotts@linuxsavvy.com>

	* gnumeric.spec.in: Added gnome-core and bonobo as requirements.

631
632
633
634
635
636
2001-10-09  Jody Goldberg <jgoldberg@home.com>

	* README : bump bonobo req to fix some crashes in printing.
	and fix some stale docs.
	* configure.in : ditto.

637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
2001-10-09  Jody Goldberg <jgoldberg@home.com>

	* GNOME_Gnumeric.oaf.in : Disable embeddable grid, it is broken.

2001-10-09  Jody Goldberg <jgoldberg@home.com>

	* src/eval.c (dependent_set_expr) : Make a default handler to merge
	  all the different states that have croppedup into one place.
	* src/gnumeric-graph.c (gnm_graph_vector_set_expr) : Use the default.
	* src/sheet-object-widget.c (checkbox_set_expr) : ditto.
	* src/style-condition.c (style_condition_dep_set_expr) : The default
	  handles most of the work.

	* src/style-condition.c : Use DEPENDENT_MAKE_TYPE.

652
653
654
655
656
657
658
2001-10-09  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_add_vector) : Allow empties to
	  remaing empty.
	(gnm_graph_vector_eval) : ditto.
	(gnm_graph_vector_seq_string) : handle singleton empties.

659
660
661
662
663
664
665
666
667
668
669
670
671
2001-10-08  Almer S. Tigelaar  <almer@gnome.org>

	* src/style-condition.[ch] (style_condition_eval):
	Add StyleFormat parameter and support for new non-value
	conditions.
	(style_condition_new): Don't demand expression for
	non-value restrictions.
	(style_condition_chain): Fix typo preventing chaining.

	* src/workbook-edit.c (wbcg_edit_validate): Pass
	StyleFormat parameter to style_condition_eval if
	the cell has one.

Jody Goldberg's avatar
Jody Goldberg committed
672
673
674
675
2001-10-08  Jody Goldberg <jgoldberg@home.com>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
676
677
678
679
2001-10-07  Jody Goldberg <jgoldberg@home.com>

	* Release 0.71

680
681
682
683
684
685
686
687
688
689
690
691
692
693
2001-10-07  Jody Goldberg <jgoldberg@home.com>

	* configure.in (EXTRA_GNOME_{CFLAGS,LIBS}) : rename to something
	  clearer like GNUMERIC_{CFLAGS,LIBS})
	* **/Makefile.am : Use them in place of EXTRA_* and GNOME_INCLUDEDIR.

2001-10-06  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_get_spec) : Add a force_update.
	(gnm_graph_series_delete) : new
	(gnm_graph_series_set_dimension) : new
	(gnm_graph_exception) : new.
	(gnm_graph_vector_from_string) : delete.

694
695
696
697
698
699
2001-10-06  Jody Goldberg <jgoldberg@home.com>

	* src/dialogs/dialog-stf-preview.c (stf_preview_new) : Use
	  gdk_fontset_load to be more friendly in multi-byte environments.
	* src/style.c (style_font_new_simple) : ditto.

Morten Welinder's avatar
Morten Welinder committed
700
701
702
703
704
705
706
707
708
709
710
2001-10-06  Morten Welinder  <terra@diku.dk>

	* src/workbook-control-gui.c (cb_edit_search_action): Handle
 	comments.

	* src/search.c (search_replace_cell, search_replace_comment): New
 	functions, extracted from commands.c.

	* src/commands.c (cmd_search_replace_do_cell): Use search_replace
 	and search_replace_comment.

Morten Welinder's avatar
Morten Welinder committed
711
712
713
714
715
716
717
718
719
720
2001-10-06  Morten Welinder  <terra@diku.dk>

	* src/workbook-control-gui.c (cb_edit_search): Implement search.

	* src/search.c (search_collect_cells): New function, extracted
 	from commands.c.
	(search_match_string): New function to check for match only.

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

721
722
723
724
725
726
727
728
729
730
731
732
733
734
2001-10-05  Jody Goldberg <jgoldberg@home.com>

	* src/number-match.c (format_match) : compute_value returns a Value
	  now.
	(compute_value) : return a Value.

2001-10-05  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_series_set_dimension) : new.
	(gnm_graph_series_delete) : new.

	* idl/GNOME_Gnumeric_Graph.idl : Add seriesSetDimension, and
	  seriesDelete.  Bump the idl version.

Morten Welinder's avatar
Morten Welinder committed
735
736
737
738
739
2001-10-05  Morten Welinder  <terra@diku.dk>

	* src/commands.c (cmd_search_replace_do): Leg work for search.
	* src/search.h: Ditto.

740
741
742
743
744
745
746
747
2001-10-05  Jody Goldberg <jgoldberg@home.com>

	* src/application.c (application_init) : Add a matching save icon for
	  the toolbar.

	* src/workbook-control-gui.c (workbook_standard_toolbar) : Use it.
	* src/GNOME_Gnumeric.xml : and here.

748
749
750
751
752
753
2001-10-04  Jody Goldberg <jgoldberg@home.com>

	* src/analysis-tools.c (get_data) : teeny tiny fixups.  use
	  prepend/reverse rather than append.  Add an ignore_blanks
	  flag.

754
755
756
757
758
759
2001-10-04  Jody Goldberg <jgoldberg@home.com>

	* src/analysis-tools.c (set_cell) : Use value_new_empty in place of an
	  empty string.
	(set_cell_value) : don't clip singletons.

760
761
762
763
764
2001-10-04  Jody Goldberg <jgoldberg@home.com>

	* src/number-match.c (format_create_regexp) : handle embedded strings
	  properly.

765
766
767
768
769
770
771
772
773
774
775
776
777
778
2001-10-04  Jody Goldberg <jgoldberg@home.com>

	* src/workbook-control-gui.c (zoom_changed) : Start searching for the
	  assigned text at the current list item.
	(cb_change_zoom) : adjust to new signal from the gnm_combo_text.
	  Make more error resistant.  Don't reset the content twice.
	(workbook_create_standard_toolbar) : adjsut to new signals from the
	  gnm_combo_text and use the simplified interface.

	* src/clipboard.c (paste_link) : adjust this to link a region not just
	  a single cell so that we can link all the cells, even the blanks.
	(clipboard_paste_region) : simplify and change link handling to ignore
	  the content.

779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
2001-10-03  Jody Goldberg <jgoldberg@home.com>

	* src/application.c (application_clipboard_cut_copy) : merge
	  application_clipboard_cut and application_clipboard_copy.
	  Make the animated cursor optional.

	* src/selection.c (sheet_selection_cut) : interface change.
	(sheet_selection_copy) : ditto.
	* src/commands.c (cmd_ins_del_colrow_undo) : ditto.
	(cmd_ins_del_colrow_redo) : ditto.

2001-10-03  Jody Goldberg <jgoldberg@home.com>

	* src/number-match.c (format_match_create) : ensure we don't compile
	  General.
	  (format_match_init) : no need to filter General here.
	* src/format.c (style_format_new_XL) : do it here.

797
798
799
800
801
2001-10-03  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>

	* src/functions/fn-financial.c (coupnum): Fixed frequency 2 and 4.
	Now it can pass quite extensive test suite.

802
803
804
805
806
2001-10-03  Jody Goldberg <jgoldberg@home.com>

	* src/item-cursor.c (item_cursor_point) : disable events that could
	  cause cursor changes or allow dragging while a guru is up.

Jakub Steiner's avatar
Jakub Steiner committed
807
808
809
810
2001-10-03  Jakub Steiner <jimmac@ximian.com>

	* gnome-gnumeric.png: now it scales down better AND looks nice ;)

811
812
813
814
815
816
817
2001-10-03  Morten Welinder  <terra@diku.dk>

	* src/workbook.c (workbook_sheet_get_free_name): Get rid of eye
 	sore constant 1000.

2001-10-03  Andreas J. Guelzow <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
818
        * src/analysis-tools.c (get_data) : Use sheet_cell_get_value rather
819
820
	  than sheet_cell_get
	  (covariance_tool) : These are covariances rather than correlations.
Morten Welinder's avatar
Morten Welinder committed
821

Jody Goldberg's avatar
Jody Goldberg committed
822
823
824
825
2001-10-03  Jody Goldberg <jgoldberg@home.com>

	* configure.in :  Improve the oaf test.

826
827
828
829
830
831
832
833
834
835
2001-10-02  Jody Goldberg <jgoldberg@home.com>

	* idl/Makefile.am : Don't make the stampel files unless the idl
	  compile was successful.

2001-10-02  Jody Goldberg <jgoldberg@home.com>

	* src/workbook-control-gui.c (workbook_create_standard_toolbar) : Use
	  the gnm_combo_text until we merge it back into gal.

836
837
838
839
840
841
842
843
844
845
2001-10-02  Morten Welinder  <terra@diku.dk>

	* src/commands.c (cmd_search_replace_do_cell): Implement querying
 	for cell comments.

	* src/search.h (SearchReplaceQuery): Add SRQ_querycommment.

	* src/workbook-control-gui.c (cb_edit_search_replace_query):
 	implement SRQ_querycommment.

846
847
848
849
2001-10-02  Jakub Steiner <jimmac@ximian.com>

	* gnome-gnumeric.png: less detail so it looks better scaled down

850
851
852
853
854
855
856
2001-10-01  Jody Goldberg <jgoldberg@home.com>

	* src/Makefile.am : don't use _SOURCES for things that are not
	  directly related to automake.  1.5 complains.

	* idl/Makefile.am (CLEANFILES) : New automake warnings.

Morten Welinder's avatar
Morten Welinder committed
857
858
859
860
861
862
863
864
865
866
867
2001-10-01  Morten Welinder  <terra@diku.dk>

	* src/search.h (SearchReplaceQuery): Add SRQ_query.

	* src/commands.c (cmd_search_replace_do_cell): Implement querying.

	* src/workbook-control-gui.c (cb_edit_search_replace_query):
 	implement SRQ_query.

	* src/xml-io.c (xml_probe): Please gcc.

868
869
870
871
872
2001-09-30  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object-widget.c (sheet_widget_checkbox_user_config) : Use
	  gnumeric_expr_entry_set_rangesel_from_dep.

873
874
875
876
877
2001-10-01  Zbigniew Chyla  <cyba@gnome.pl>

	* src/xml-io.c (xml_probe): Accept .gnumeric, .xml, .xml.gz not
	"everything but .xml".

878
879
880
881
882
883
884
2001-09-30  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_vector_as_string) : screw it.
	  Simplify my life by treating constants as expressions.
	(gnm_graph_series_get_dimension) : new utility.
	(gnm_graph_series_add_dimension) : new utility.

885
886
887
888
889
2001-09-28  Morten Welinder  <terra@diku.dk>

	* src/regression.c (LUPDecomp): Revert last change.  This seems to
 	fix regression, but there is something really bogus going on here.

890
891
892
893
894
895
2001-09-28  Jody Goldberg <jgoldberg@home.com>

	* src/item-cursor.c (item_cursor_set_bounds_visibly) : Actually use
	  the visible_{col,row} args,  Rename them to something more obvious
	  to avoid future stupidity.

896
897
898
899
900
2001-09-27  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object.c (cell_offset_calc_pixel) : round to nearest
	  pixel, rather than truncating.

901
902
903
904
905
906
2001-09-27  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-control-gui.c (set_acetate_coords) : make the control pts
	  prettier.
	(set_item_x_y) : ditto.

907
908
909
910
911
912
2001-09-27  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object-graphic.c (sheet_object_filled_print) : fix the
	  color mapping.  This should really be a convenience routine.
	* src/sheet-object-graphic.c (sheet_object_graphic_print) : ditto.

913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
2001-09-27  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object-graphic.c (sheet_object_graphic_fill_color_set) :
	  Use StyleColors and make public.
	(sheet_object_graphic_destroy) : unref the fill colour.
	(sheet_object_graphic_new_view) : translate from stylecolor to gdk.
	(sheet_object_graphic_read_xml) : use style colors.
	(sheet_object_graphic_write_xml) : use style colors.
	(sheet_object_graphic_clone) : reference the fill colour.
	(sheet_object_graphic_print) : use style colour.
	(cb_dialog_graphic_clicked) : ditto.
	(cb_dialog_filled_clicked) : ditto.
	(sheet_object_graphic_user_config) : ditto.
	(sheet_object_filled_user_config) : ditto.

	* src/style-color.c (style_color_ref) : NULL is ok.
	(style_color_unref) : ditto.

	* src/xml-io.c (xml_node_get_color) : rename and tidy up.
	(xml_node_get_gdkcolor) : delete.
	(xml_node_set_gdkcolor) : delete.
	(xml_read_style_border) : changes to get_color.
	(xml_read_style) : ditto.

2001-09-26  Jody Goldberg <jgoldberg@home.com>

	* src/item-grid.c (cb_obj_create_motion) : use down&right vs down&left.
	* src/sheet-control-gui.c (scg_object_view_position) : ditto.
	* src/sheet-object.c (sheet_object_direction_set) : ditto.

943
944
945
946
947
948
949
950
951
952
953
954
955
956
2001-09-26  Jody Goldberg <jgoldberg@home.com>

	* gnumeric.xsd : The style flags are not required, it will eventually
	  be possible to define styles that only change some of the
	  attributes.  Add locked & hidden.

	* src/xml-io.c (xml_write_style) : write locked & hidden.
	(xml_read_style) : read them too.

	* src/mstyle.c (mstyle_element_equal) : support locked and hidden.
	(mstyle_{get,set}_content_{locked,hidden}) : We have not implemented
	  it yet, but storing the info is easy enough.
	(mstyle_new_default) : Add locked & hidden.

957
958
959
960
2001-09-25  Jody Goldberg <jgoldberg@home.com>

	* src/expr.c (eval_expr_real) : shrink the stack a bit.

961
962
963
2001-09-25  Jon K Hellan  <hellan@acm.org>

	* idl/.cvsignore: Adapt to present reality.
Morten Welinder's avatar
Morten Welinder committed
964

Jody Goldberg's avatar
Jody Goldberg committed
965
966
967
968
2001-09-25  Jody Goldberg <jgoldberg@home.com>

	* src/workbook-view.c (wb_view_selection_desc) : fix old typo.

969
970
2001-09-24  Jody Goldberg <jgoldberg@home.com>

Jody Goldberg's avatar
Jody Goldberg committed
971
972
973
	* src/formats.c (cell_format_classify) : parse first, search list later.
	  This ensures that we find the right precision and such.

974
975
976
977
978
979
	* src/number-match.c (format_create_regexp) : fix matching for
	  non-separated numbers.  This still needs work.  The regexp is
	  not handling the precision.
	(compute_value) : improve debug output.
	(format_match) : ditto.

980
981
2001-09-21  Jody Goldberg <jgoldberg@home.com>

982
983
984
	* src/clipboard.c (cellregion_to_string) : don't append tabs or
	  newlines for singletons.

985
986
987
	* src/item-bar.c (item_bar_event) : fix silliness that was breaking
	  autoscroll.

988
989
990
991
992
993
994
2001-09-20  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object-graphic.c (sheet_object_graphic_init) : Init the
	  fill colour for lines and arrows to black.
	(sheet_object_filled_init) : Use a name rather than assuming 0 = black
	  for outline colour, and convert the fill colour to white.

995
996
997
998
999
2001-09-19  Jody Goldberg <jgoldberg@home.com>

	* src/eval.c (workbook_recalc) : only redraw if something recalced.
	(dependent_eval) : return flag if something recalced.

Jody Goldberg's avatar
Jody Goldberg committed
1000
1001
1002
1003
1004
1005
1006
1007
1008
2001-09-19  Jody Goldberg <jgoldberg@home.com>

	* src/cell-draw.c (cell_draw) : off by 1.
	* src/print-cell.c (print_cell) : off by 1.

	* src/sheet.c (sheet_cell_calc_span) : support SPANCALC_NO_DRAW
	  and don't bother rendering calculated cells.
	(cb_max_cell_width) : render if necessary.

1009
1010
1011
1012
1013
2001-09-18  Jody Goldberg <jgoldberg@home.com>

	* src/style.c (style_font_get_width_pts) : renamed from
	  style_font_get_width and set to return pts.

1014
1015
1016
1017
1018
1019
1020
2001-09-18  Jody Goldberg <jgoldberg@home.com>

	* src/cell-draw.c (cell_draw) : implemenent a bit of just in time
	  rendering.
	* src/print-cell.c (print_cell) : ditto.
	* src/cell.c (cell_eval_content) : ditto.

1021
1022
1023
1024
1025
2001-09-18  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-control-gui.c (scg_scrollbar_config) : Fix old off by 1
	  error.  Number of visible = last - first PLUS 1.

1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
2001-09-18  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-control-gui.c (scg_redraw_all) : make headers optional.
	* src/sheet-control.c (sc_redraw_all) : make headers optional.
	* src/sheet.c (sheet_redraw_all) : make headers optional.

	* src/colrow.c (colrow_set_visibility_list) : redraw_all does headers.

	* src/cell.c (cell_eval_content) : don't redraw here, and only render
	  if we were already rendered.  This will avoid rendering sheets no
	  one is looking at.

	* src/eval.c (workbook_recalc) : after a recalc redraw all, but not
	  headers.

2001-09-17  Jody Goldberg <jgoldberg@home.com>

	* src/workbook-control.c (wb_control_menu_state_sensitivity) : new
	  virtual.

	* src/workbook-control-gui.c (wbcg_menu_state_sensitivity) : renamed
	  and moved from.
	* src/workbook-edit.c (workbook_edit_toolbars_set_sensitive). here.

	* src/workbook-view.c (wb_view_open_custom) : Use
	  wb_control_menu_state_sensitivity to enable/disable
	  the menus and toolbars of the manging contol.

Jody Goldberg's avatar
Jody Goldberg committed
1054
1055
1056
1057
2001-09-17  Jody Goldberg <jgoldberg@home.com>

	* src/sheet.c (sheet_cell_new) : add some protection.

1058
1059
1060
1061
1062
2001-09-16  Jody Goldberg <jgoldberg@home.com>

	* src/func.c (function_dump_defs) : dump the functions in alphabetical
	  order.  FIXME : when we have translated names we should use them.

1063
1064
1065
1066
1067
1068
1069
1070
1071
2001-09-14  Jody Goldberg <jgoldberg@home.com>

	* gnumeric.xsd : reference v8, and make Max{Col,Row} optional.

	* src/xml-io.c : bump the name space version to reflect the schema
	  and move the location of the dtd and schema to somewhere we control.
	(xml_workbook_write) : reference the schema.
	(xml_sheet_write) : The name space is always available already.

1072
1073
1074
1075
1076
1077
1078
1079
2001-09-14  Jody Goldberg <jgoldberg@home.com>

	* src/workbook-control-gui.c (workbook_create_standard_toolbar) : Use
	  gnome_preferences_get_toolbar_detachable rather than
	  gnome_preferences_get_menubar_detachable.
	* src/workbook-format-toolbar.c (workbook_create_format_toolbar) :ditto.
	* src/workbook-object-toolbar.c (workbook_create_object_toolbar) :ditto.

1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
2001-09-14  Jody Goldberg <jgoldberg@home.com>

	* src/style-color.c (style_color_new_name) : new utility.

	* src/gnumeric-graph.c : cleanup the debug info.
	(gnm_graph_get_spec) : make public and add some protection.

	* src/number-match.c : remove format_parse_t and merge it with
	  StyleFormat.
	(format_match_release) : new routine split from format_match_finish.
	(format_match_finish) : just unref the StyleFont.
	(format_match_create) : tweaking the calling convention and rename
	  format_match_define.
	(format_match_init) : manage the format_match_list here.
	(format_match) : Match against the currently assigned format first

	* src/format.c : clean the includes.
	Make _StyleFormat public for sharing with number-match.c
	(format_compile) : call format_match_create.
	(format_destroy) : call format_match_release.
	(format_color_init) : use style_color_new_name.
	(style_format_new_XL) : init the new regexp elements to NULL.

	* src/bonobo-io.c (gnumeric_bonobo_io_init) : name this better.

	* src/sheet-control-gui.c (scg_object_update_bbox) : add some
	  protection.

1108
1109
1110
1111
1112
1113
2001-09-12  John Gotts <jgotts@linuxsavvy.com>

	* gnumeric.spec.in: Keep better track of the /usr/share/gnumeric
	  directory structure, following problem reports on the GNOME mailing
	  lists.

1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
2001-09-12  Jody Goldberg <jgoldberg@home.com>

	* idl/GNOME_Gnumeric_Graph.idl : move the type enums here.
	  merge the addVector routines.
	  change immportSpec into an attribute.

	* src/gnumeric-graph.c (gnm_graph_write_xml) : new routine.
	(gnm_graph_read_xml) : new routine.
	(gnm_graph_class_init) : assign them here.
	(gnm_graph_new) : split this into a wrapper for
	(gnm_graph_setup) : this new routine.
	(gnm_graph_vector_seq_scalar) : handle blank cells.
	(gnm_graph_vector_seq_date) : handle blank cells.
	(gnm_graph_vector_seq_string) : handle blank cells.
	(gnm_graph_vector_corba_destroy) : release the subscriber.
	(gnm_graph_subscribe_vector) : adjust to idl changes.
	(gnm_graph_get_spec) : new routine.

	* src/position.c (parse_pos_init_dep) : new utility.

1134
1135
1136
1137
1138
1139
1140
2001-09-11  Jody Goldberg <jgoldberg@home.com>

	* src/style.c (style_font_new_simple) : store the width in pixels as
	  well as pts.

	* src/print-cell.c (print_cell) : sync with the drawing code.

Morten Welinder's avatar
Morten Welinder committed
1141
1142
2001-09-10  Morten Welinder  <terra@diku.dk>

1143
1144
	* src/xml-io.c (xml_probe): Don't be picky about file name case.

Morten Welinder's avatar
Morten Welinder committed
1145
1146
	* src/GNOME_Gnumeric.xml: Add menu item for toolbars.

1147
1148
1149
1150
1151
1152
1153
1154
1155
2001-09-10  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.c (confidence_level) : Fix confidence interval
	  calculation (bug 57320). Change code to calculate mean only twice
	  rather than four times per variable.
	(summary_statistics) : Change code to calculate mean only twice
	  rather than four times per variable.
	(descriptive_stat_tool) : ditto

1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
2001-09-10  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_range_to_vectors) : move this here
	  from the guru.
	(gnm_graph_arrange_vectors) : implement.
	(gnm_graph_add_vector : init the extra members for arrangement.

2001-09-04  Christopher Fairbairn  <ckf13@student.canterbury.ac.nz>

	* src/GNOME_Gnumeric.xml: added new menu item
	* src/ranges.c: (range_trim): added function to trim blank cells
	  at bottom/right edge of a range
	* src/ranges.h: ditto
	* src/workbook-control-gui.c: (cb_edit_fill_autofill): added
	  keyboard and menu support for the autofill feature

1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
2001-09-07  Morten Welinder  <terra@diku.dk>

	* src/xml-io.c (gnumeric_xml_read_selection_clipboard): Properly
 	initialise context.
	(gnumeric_xml_write_selection_clipboard): Ditto.
	(StyleSideNames): Constify.
	(xml_arg_set): Constify.
	(xml_write_print_repeat_range): Constify.
	(xml_parse_ctx_new_full): Initialise new shared_exprs member for
 	reading.
	(xml_parse_ctx_destroy): Destroy shared_exprs.
	(xml_read_cell): Use shared_exprs over expr_map.

1185
1186
2001-09-03  Andreas J. Guelzow <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
1187
	* src/dialogs/descriptive-stats.glade : New file. Template for
1188
1189
	  descriptive stats analysis tool dialog.
	* src/analysis-tools.h : Separate descriptive_stat_tool_t type into
Morten Welinder's avatar
Morten Welinder committed
1190
	  descriptive_stat_tool_t (used by descriptive stats tool) and
1191
	  stat_tool_t (used by other tools).
Morten Welinder's avatar
Morten Welinder committed
1192
	* src/dialogs/dialog-analysis-tools.c : Rewrote code related to
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
	  descriptive stats tool to use glade template and gnumeric-expr-entry
	  widget.
	(summary_stat_signal_fun) : deleted
	(confidence_signal_fun) : deleted
	(kth_largest_signal_fun) : deleted
	(kth_smallest_signal_fun) : deleted
	(first_col_label_signal_fun) : deleted
	(add_groupped_by) : deleted
	(desc_stat_tool_destroy) : new procedure
	(desc_stat_tool_set_focus) : new procedure
	(cb_desc_stat_tool_ok_clicked) : new procedure
	(cb_desc_stat_tool_cancel_clicked) : new procedure
	(desc_stat_tool_update_sensitivity) : new procedure
	(desc_stat_tool_update_sensitivity_cb) : new procedure
	(dialog_desc_stat_tool_init) : new procedure
1208
	(dialog_descriptive_stat_tool) : setup guru rather than modal dialog.
1209

Jody Goldberg's avatar
Jody Goldberg committed
1210
1211
1212
1213
1214
2001-09-06  Jody Goldberg <jgoldberg@home.com>

	* src/xml-io.c (xml_parse_ctx_new) : Use GNUM_XML_LATEST.
	* src/bonobo-io.c (gnumeric_bonobo_write_workbook) : ditto.

1215
1216
1217
1218
1219
1220
1221
2001-09-06  Morten Welinder  <terra@diku.dk>

	* src/*.c: Fix MIX/MAX usage to always have identical argument
 	types.

	* src/xml-io.c (xml_parse_ctx_new): Fix version.

1222
1223
2001-09-06  Morten Welinder  <terra@diku.dk>

1224
1225
1226
	* src/eval.c (dependent_changed): Remove "pos" argument which is
 	always NULL.  All callers changed.

1227
1228
1229
	* src/main.c (main): Delete.
	(main): Renamed from gnumeric_main.  Return type changed to int.

1230
1231
2001-09-05  Jody Goldberg <jgoldberg@home.com>

1232
1233
1234
	* src/commands.c (cmd_ins_del_colrow) : don't store the clipboard if
	  it on another sheet.

1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
	* src/GNOME_Gnumeric.xml : The magic incantation  that allows us to
	  desensitize toolbars by setting a property on a command of the same
	  namedoesnot work with a menubar, but supplying an 'id' property to
	  the menu appears to do the trick.

	* src/workbook-edit.c (workbook_edit_toolbars_set_sensitive) : set the
	  menubar also.
	(workbook_edit_toolbars_set_sensitive) : add a kludge for bonobo
	  to disable its tendancy to resensitize the undo/redo widgets.
	(workbook_edit_set_sensitive) : decrease the timer so that we don't feel
	  so sluggish.

1247
1248
2001-09-04  Jody Goldberg <jgoldberg@home.com>

1249
1250
	* src/xml-io.c (xml_probe) : accept .xml & .xml.gz

1251
1252
1253
1254
1255
1256
	* src/sheet-object.c (sheet_object_anchor_init) : Actually store the
	  the direction.

	* src/gnumeric-graph.c (gnm_graph_add_vector) : improve handling of
	  failures.

Jody Goldberg's avatar
Jody Goldberg committed
1257
1258
1259
1260
1261
1262
2001-09-03  Jody Goldberg <jgoldberg@home.com>

	* src/value-sheet.c (value_area_get_width) : fix old silliness.
	(value_area_get_height) : ditto.  Handle inverted  mixed mode
	  references.

1263
1264
2001-09-02  Jody Goldberg <jgoldberg@home.com>

1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
	* src/style-condition.h : Qualify the namespace better.

2001-09-02  Jody Goldberg <jgoldberg@home.com>
	For Wayne Schuller <k_wayne@linuxpower.org>

	* src/pattern.c (gnumeric_background_set_pc) : Support gray scale
	  patterns when printing.

2001-09-02  Jody Goldberg <jgoldberg@home.com>

	* src/style-condition.c (style_condition_eval) : Use dependent_eval
	  and add an invariant that ensures that val is only NULL if we have
	  been queued for recalc.

1279
1280
	* src/eval.c (dependent_eval) : split from workbook_recalc.
	(cell_eval) : change return type.  no one was using it.
1281
	(dependent_needs_recalc) : new macro.
1282
1283
1284
1285
1286
1287

2001-08-31  Jody Goldberg <jgoldberg@home.com>

	* src/format.c (format_number) : add a way to force 12 hour mode
	  without showing am/pm

1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
2001-09-02  Almer S. Tigelaar  <almer@gnome.org>

	* src/style-condition.[ch]: Implementation of conditionals.

	* src/gnumeric.h: Add StyleCondition here.

	* src/mstyle.c (mstyle_hash): Hash validation style.
	(mstyle_element_dump): Dump validation message.
	(mstyle_element_equal): Add support for validation elements.
	(mstyle_element_ref): Ref validation message and style condition.
	(mstyle_element_unref): Idem.
	(mstyle_new_default): Initialize validation elements.
	(mstyle_set_validation): Sets validation style condition.
	(mstyle_get_validation): Gets ....
	(mstyle_set_validation_style): Sets validation style.
	(mstyle_get_validation_style): Gets ....
	(mstyle_set_validation_msg): Sets validation message.
	(mstyle_get_validation_msg): Gets ....

	* src/mstyle.h: Add the new elements.

	* src/workbook-edit.c (wbcg_edit_validate): Do the validation
	and handle the consequences if it fails.
	(wbcg_edit_finish): Use wbcg_edit_validate and discard the input
	if needed.

1314
1315
1316
1317
1318
1319
2001-08-31  Morten Welinder  <terra@diku.dk>

	* src/xml-io.c (xml_workbook_read): Avoid geek speak.  Most users
 	should not know, not care, that the underlying format is XML.
	(gnumeric_xml_read_workbook): Ditto.

1320
1321
1322
1323
2001-08-31  Abel Cheung  <maddog@linux.org.hk>

	* configure.in (ALL_LINGUAS): zh_TW.Big5 -> zh_TW

1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
2001-08-30  Jody Goldberg <jgoldberg@home.com>

	* src/sheet.c (sheet_cell_destroy) : fix.  We need to check
	  for recalc before we unlink, and possibly queue the dependents
	  of cells which had constant values.

	* src/eval.c : rearrange
	DependentSingle &
	DependentRange to keep the dep_list at the top
	Then define DependentAny for generic operations.
	(depsingle_dtor) : delete.
	(deprange_dtor) : delete.
	(dependent_queue_recalc_list) : remove unnecessary parameter.
	(sheet_region_queue_recalc) : walk the hash in both cases.
	(dependent_unlink) : only unlink if there is a dep list.
	(cb_search_rangedeps) : renamed from search_cell_deps.
	(cb_single_recalc_all_depends) : delete.
	(cb_range_recalc_all_depends) : delete.
	(cb_recalc_all_depends) : new.
	(cb_dep_hash_invalidate) : merge cb_single_hash_invalidate,
Morten Welinder's avatar
Morten Welinder committed
1344
	  cb_range_hash_invalidate.
1345
1346
1347
1348
1349
1350
1351
1352
	(do_deps_destroy) : use the merged invalidation routines.
	(add_range_dep) : loop through the range buckets.
	(drop_range_dep) : loop through the range buckets.
	(dependent_unlink_sheet) : use SHEET_FOREACH_DEPENDENT.
	(cell_foreach_range_dep) : only check useful buckets.
	(dependency_data_new) : create the buckets.
	(sheet_dump_dependencies) : handle ranges.

1353
1354
1355
1356
1357
1358
2001-08-30  Morten Welinder  <terra@diku.dk>

	* src/workbook.h (WORKBOOK_FOREACH_SHEET): New macro.
	(WORKBOOK_FOREACH_DEPENDENT): Re-factor.
	(Workbook): Move dependents to DependencyContainer, see below.
	Introduce new external_dependents, not yet used.
Morten Welinder's avatar
Morten Welinder committed
1359

1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
	* src/sheet.h (SHEET_FOREACH_DEPENDENT): New macro.

	* src/eval.h: (DependencyContainer): type moved from eval.c and
 	renamed from DependencyData.  Add dependent_list member which used
 	to be in Workbook.
	(DEPENDENT_IS_CELL): New macro.  Put into used lots of places.
	(DEPENDENT_CONTAINER_FOREACH_DEPENDENT): New macro.

	* src/eval.c (cb_dependent_queue_recalc): Allocate single list
 	element on stack, not heap.
	(dependent_queue_recalc_list): Don't essentailly copy all lists.
	(UNLINK_DEP): Take only dep arguement and find the container from
 	that.

1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
2001-08-29  Morten Welinder  <terra@diku.dk>

	* src/eval.c (workbook_queue_all_recalc): Avoid listifying.
	(cb_dependent_queue_recalc, cell_queue_recalc): Recast in terms of
 	dependent_queue_recalc_list.
	(dependent_queue_recalc_list): Eliminate recursion which used to
 	be unbounded deep.

	* src/eval.h (struct _Dependent): Name next to next_dep and prev
 	to prev_dep.  (Because we might need a similar list for evaluation
 	at some point.)

	(DEPENDENT_TYPE): New macro type hide most uses of the ugly
 	DEPENDENT_TYPE_MASK.  All such uses fixed.

1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
2001-08-29  Jody Goldberg <jgoldberg@home.com>

	* src/eval.c (dependent_queue_recalc_list) : fix my breakage and don't
	  bother recursing for already queued cells.
	(workbook_queue_all_recalc) : remove sillyness.
	(dependent_unqueue) : delete unused routine.

	* src/cell.c (cell_cleanout) : remove useless 'in_recalc_queue' flag.
	(cell_copy) : ditto.

	* src/sheet.c (sheet_cell_destroy) : no need to unqueue, unlink
	  handles it.
	(sheet_move_range) : ditto.

1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
2001-08-29  Jody Goldberg <jgoldberg@home.com>

	* src/eval.c (dependent_queue_recalc) : make this a macro.
	(cb_dependent_queue_recalc) : simplify to just mark the requirement
	  now that there is no distinct reval queue.
	(dependent_unqueue) : this is now trivial.
	(dep_slist_filter_sheet) : delete.
	(dependent_unqueue_sheet) : delete.
	(dependent_unlink) : clear the recalc flag directly.
	(cell_foreach_single_dep) : remove broken debugging.
	(workbook_recalc) : just walk the dependent list.  We can optimize
	  this later if need be.
	(sheet_dump_dependencies) : remove unnecessary debug info.

	* src/sheet.c (sheet_destroy_contents) : no need to unqueue_sheet.
	  unlink handles it.

	* src/workbook.c (workbook_destroy) : no more eval_queue.

Jody Goldberg's avatar
fix.    
Jody Goldberg committed
1422
1423
2001-08-28  Jody Goldberg <jgoldberg@home.com>

1424
1425
1426
	* src/eval.c (dependent_unlink_sheet) : Clear the sheet in case the
	  dependent tries to clear itself later.

Jody Goldberg's avatar
fix.    
Jody Goldberg committed
1427
1428
	* src/xml-io.c (xml_write_attributes) : fix.

1429
1430
1431
1432
1433
1434
2001-08-28  Jody Goldberg <jgoldberg@home.com>

	* src/xml-io.c (xml_sheet_read) : no need to load the max col/row.
	  That is really only useful for external parsers.  We handle it
	  internally.

1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
2001-08-28  Morten Welinder  <terra@diku.dk>

	* src/workbook.h (struct _Workbook): point to first dependent
 	directly, not via an slist.

	* src/eval.h (struct _Dependent): Add prev and next fields.

	* src/eval.c (dependent_unlink, dependent_unlink_sheet): Fix-up
 	unlinking.
	(dependent_link): Link using new double-linked structure.
	(sheet_region_queue_recalc): Use new dependent linking structure.
	(workbook_queue_all_recalc): Make an slist of dependents here.

	* src/workbook-control-gui.c (TOGGLE_HANDLER/display_formulas):
 	Adapt to new dependent linking structure.

	* src/workbook.c (workbook_expr_relocate): Adapt to new dependent
 	linking structure.

Jody Goldberg's avatar
Jody Goldberg committed
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
2001-08-28  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-control-gui.c (scg_mode_edit) : fix a warning on exit
	  when closing 1 of many open sheets.

	* src/gnumeric-graph.c : make the debug spew conditional.
	(CMANAGER1) : new macro.
	(gnm_graph_new) : add more safety checks.
	(gnm_graph_arrange_vectors) : use the versioning macros.
	(gnm_graph_import_specification) : new routine.

	* idl/gnumeric-graphs.idl (importSpecification) : new routine.

	* src/xml-io.c : clean up.
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
	s/xml_get_value_int/xml_node_get_int/
	s/xml_set_value_int/xml_node_set_int/
	s/xml_get_value_double/xml_node_get_double/
	s/xml_set_value_double/xml_node_set_double/
	s/xml_set_value_points/xml_node_set_points/
	s/xml_set_value_cstr/xml_node_set_cstr/
	s/xml_set_prop_cellpos/xml_node_set_cellpos/
	s/xml_get_prop_cellpos/xml_node_get_cellpos/
	s/xml_read_range/xml_node_get_range/
	s/xml_get_print_hf/xml_node_get_print_hf/
	s/xml_set_print_hf/xml_node_set_print_hf/
	s/xml_set_color_value/xml_node_set_color/
	s/xml_get_color_value/xml_node_get_color/
	s/xml_set_value_color/xml_node_set_gdkcolor/
	s/xml_get_value_color/xml_node_get_gdkcolor/
Jody Goldberg's avatar
Jody Goldberg committed
1483
1484
1485
1486
1487
1488
1489

	Remove the pointless searching of children for content.
	We never relied on those semantics, nor do we want them.

	(xml_sheet_create) : Use xmlGetProp directly.
	(xml_sheet_read) : ditto.
	(xml_read_solver) : ditto.
1490
	(xml_write_solver) : use xml_node_set_cstr.
Jody Goldberg's avatar
Jody Goldberg committed
1491
1492
1493
1494
1495
1496
1497
1498
	(xml_write_print_info) : Use xmlNewChild.
	(xml_value_get) : delete and use xmlGetProp directly.

2001-08-27  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_vector_set_expr) : remove debuggin
	  cruft.

1499
1500
1501
1502
2001-08-26  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object-graphic.c (sheet_object_graphic_init) : default
	  fill colour to white.  It makes for bett looking paceholders.
Morten Welinder's avatar
Morten Welinder committed
1503

Jukka-Pekka Iivonen's avatar
Jukka-Pekka Iivonen committed
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
2001-08-26  Jukka-Pekka Iivonen  <jiivonen@hutcs.cs.hut.fi>

	* plugins/mps/mps.c, plugins/mps/plugin.xml,
	plugins/mps/Makefile.am: Introduced.

	* configure.in, plugins/Makefile.am: Added the compilation of the
	MPS plugin.

	* samples/solver/afiro.mps: Added a sample file for the MPS plugin.
	It is from the Netlib collection which is in public domain.

1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
2001-08-26  Zbigniew Chyla  <cyba@gnome.pl>

	* src/file-priv.h (struct _GnumFileSaver):
	Added "overwrite_files" field.

	* src/file.h (gnum_file_saver_set_overwrite_files): New function.

	* src/file.c
	(gnum_file_saver_init): Initialize overwrite_files (set to TRUE).
	(gnum_file_saver_save): Report an error and abort saving if file with
	given name already exists and overwrite_files == FALSE.

	* src/plugin-service.h (struct _PluginServiceFileSaver):
	Added "overwrite_files" field.

	* src/plugin-service.c (plugin_service_file_saver_read,
	gnum_plugin_file_saver_new): Handle overwrite_files flag.

	* src/xml-io.c (gnumeric_xml_read_workbook):
	Use fstat to get file size. Corrected error message.

Jody Goldberg's avatar
Jody Goldberg committed
1536
1537
2001-08-26  Jody Goldberg <jgoldberg@home.com>

1538
1539
1540
1541
1542
1543
1544
1545
	* src/gnumeric-graph.c (gnm_graph_add_vector) : merge with
	  gnum_graph_vector_new and add intelligence to merge multiple
	  requests for the same vector into a single vector.

2001-08-26  Jody Goldberg <jgoldberg@home.com>

	* src/position.c (cellref_get_abs_pos) : rename and adjust signature.

Jody Goldberg's avatar
Jody Goldberg committed
1546
1547
	* src/expr.c (expr_tree_equal) : new function.

Jody Goldberg's avatar
fix.    
Jody Goldberg committed
1548
1549
2001-08-24  Jody Goldberg <jgoldberg@home.com>

1550
1551
1552
	* configure.in : bump bonobo req for real and remove unused
	  @gnumeric_executable@

Jody Goldberg's avatar
fix.    
Jody Goldberg committed
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
	* idl/Makefile.am : fix.

	* src/gnumeric-canvas.c : add gnome-i18n.
	* src/gnumeric-util.c : add gnome-{i18n,util}
	* src/gui-file.c : add gnome-{i18n,config,util}
	* src/history.c : add gnome-i18n.
	* src/main.c : add gnome-config.
	* src/sheet-control-gui.c : add gnome-i18n.
	* src/workbook.c : Add gnome-i18n, loosen sheet-control-gui req to
	  just sheet-control.
	* src/workbook-edit.c : add gnome-i18n.
	* src/workbook-view.c : add gnome-i18n and gnome-config, remove widget.
	* src/workbook-control-gui.c : Add gnome-i18n and gnome-config.
	* src/xml-io-autoft.c : add unistd.h

1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
2001-08-24  Zbigniew Chyla  <cyba@gnome.pl>

	* src/analysis-tools.c, src/application.c, src/bonobo-io.c,
	src/clipboard.c, src/cmd-edit.c, src/command-context.c,
	src/commands.c, src/corba-args.c, src/corba-workbook-factory.c,
	src/dates.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-consolidate.c,
	src/dialogs/dialog-define-names.c, src/dialogs/dialog-delete-cells.c,
	src/dialogs/dialog-function-wizard.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-paste-special.c,
	src/dialogs/dialog-plugin-manager.c,
	src/dialogs/dialog-printer-setup.c,
	src/dialogs/dialog-search-replace.c, src/dialogs/dialog-sheet-order.c,
	src/dialogs/dialog-simple-input.c, src/dialogs/dialog-solver.c,
	src/dialogs/dialog-stf-export-private.h,
	src/dialogs/dialog-stf-export-sheet-page.c,
	src/dialogs/dialog-stf-export.c, src/dialogs/dialog-stf-preview.h,
	src/dialogs/dialog-stf.c, src/dialogs/dialog-stf.h,
	src/dialogs/dialog-summary.c, src/dialogs/dialog-validate.c,
	src/dialogs/dialog-workbook-attr.c, src/dialogs/dialog-zoom.c,
	src/dialogs/utils-dialog.c, src/expr-name.c, src/expr.c,
	src/file-autoft.c, src/format-template.c, src/format.c, src/formats.c,
	src/func.c, src/global-gnome-font.c, src/gnumeric-util.h,
	src/gui-clipboard.c, src/gui-file.c, src/gui-gnumeric.h, src/gutils.c,
	src/history.c, src/item-bar.c, src/item-cursor.c, src/item-debug.c,
	src/main.c, src/normal-args.c, src/number-match-test.c,
	src/number-match.c, src/parse-util.c, src/parser.y, src/pattern.h,
	src/preview-grid.c, src/print-cell.c, src/print-info.c, src/print.c,
	src/search.c, src/selection.c, src/sheet-autofill.c,
	src/sheet-merge.c, src/sheet-object-bonobo.c,
	src/sheet-object-container.c, src/sheet-object-graphic.c,
	src/sheet-object-item.c, src/sheet-object-widget.c,
	src/sheet-object.c, src/sheet.c, src/stf-parse.h, src/stf.c,
	src/style-color.c, src/style.c, src/test-format.c, src/value-sheet.c,
	src/value.c, src/widgets/gnumeric-dashed-canvas-line.h,
	src/widgets/gnumeric-hscrollbar.c, src/widgets/gnumeric-toolbar.c,
	src/widgets/gnumeric-vscrollbar.c,
	src/widgets/widget-editable-label.c,
	src/widgets/widget-font-selector.c, src/workbook-cmd-format.c,
	src/workbook-control.c, src/workbook-format-toolbar.c,
	src/workbook-object-toolbar.c, src/workbook-private.h,
	src/xml-io-autoft.c, src/xml-io.c:
	Replace mega-include <gnome.h> with something smaller.

Jody Goldberg's avatar
Jody Goldberg committed
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
2001-08-24  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-control-gui.c (scg_context_menu) : use the new artwork.

	* configure.in : bump version req for gnome-print to ensure that
	  we only see fontmap2.
	* README : ditto.
	* gnumeric.spec.in : ditto.

	* src/style.c (font_init) : Mention only the file fontmap2.

Morten Welinder's avatar
Morten Welinder committed
1628
	* src/item-bar.c (item_bar_realize) : Don't attempt to use a gc from
Jody Goldberg's avatar
Jody Goldberg committed
1629
1630
1631
1632
1633
	  an unrealized button.  Do it manually instead.

	* src/sheet-object.c (sheet_object_populate_menu) : Put Properties
	  above delete.

1634
1635
2001-08-23  Jody Goldberg <jgoldberg@home.com>

1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
	* src/item-bar.c (item_bar_destroy) : remove debug msg.
	(item_bar_realize) : We need to use an existing widget to get style
	  information, use the select all button because it was the first
	  thing I thought of.

2001-08-23  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c (gnm_graph_clear_vectors_internal) : once we
	  clear the vectors be sure to also zero out the array.
	(gnm_graph_arrange_vectors) : CORBA does not like NULL.  Giveit some
	  zero length sequences.

1648
1649
1650
1651
	* src/commands.c (cmd_object_move) : init first_time.
	(cmd_object_move_destroy) : fix cut-n-paste-o.
	(cmd_object_move_redo) : do even less work.

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
2001-08-23  Jody Goldberg <jgoldberg@home.com>

	* idl/gnumeric-graphs.idl : reorganize to improve naming.
	  remove notion of header that was not working well.
	  remove freeze.
	  add arrangeVector.
	  add notion of selection for future uese.

	* src/gnumeric-graph.c (gnm_graph_vector_type_name) : add these.
	(MANAGER) : bump the idl version.
	(GnmGraphVector) : remove header, add id, adjust to new idl and use
	  vectors directly, rather than notifies.
	(gnm_graph_add_vector) : adjust to idl renaming.
	(gnm_graph_new) : improve error message.
	(gnm_graph_freeze) : delete.
	(gnm_graph_arrange_vectors) : new function.
	(gnm_graph_vector_seq_{scalar,date,string}) : headers are handled at a
	  higher level.
	(gnm_graph_vector_eval) : idl renaming.
	(impl_vector_selection_selected) : new.
	(gnm_graph_vector_corba_init) : split from gnm_graph_vector_new to
	  simpify cut-n-paste sharing with guppi.
	(gnm_graph_vector_corba_destroy) : Fix and split out to simplify
	  sharing.
	(gnm_graph_vector_destroy) : simplify and handle the case of a vector
	  being destroyed indepenently of the graph.
	(gnm_graph_vector_new) : handle headers at a higher level.
	(gnm_graph_vector_corba_class_init) : renamed from
	  corba_implementation_classes_init.

	* src/sheet-object-container.c (sheet_object_container_new_view) : Use
	  bonobo_client_site_new_view_full to disable the irrtiating frame
	  that causes the content to change size when the frme is activated
	  and deactivated.

Chyla Zbigniew's avatar
Chyla Zbigniew committed
1687
1688
1689
1690
1691
1692
1693
2001-08-22  Zbigniew Chyla  <cyba@gnome.pl>

	Fixes #59334

	* src/workbook-view.c (wb_view_open_custom):
	Try opening only regular files.

1694
2001-08-22  Almer S. Tigelaar  <almer@gnome.org>
Morten Welinder's avatar
Morten Welinder committed
1695

1696
1697
1698
1699
1700
1701
	* src/workbook-control-gui.c (wbcg_edit_error_dialog) :
 	Dialog for displaying errors and giving the user a choice as
 	to what action to take.
 	(wbcg_edit_finish): Call wbcg_edit_error_dialog and take appropriate
 	action depending on the users choice.

1702
1703
1704
1705
1706
1707
1708
2001-08-21  Morten Welinder  <terra@diku.dk>

	* src/style.c (style_font_unref) [AGGRESSIVE_CACHING]: Leave font
 	in cache.
	(style_font_new_simple): Rearrange ref-counting slightly for
 	clarity.

1709
1710
1711
1712
1713
2001-08-21  Morten Welinder  <terra@diku.dk>

	* src/style.c (style_font_new_simple): Don't measure the font size
 	unless we just created the font.

1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
2001-08-21  Zbigniew Chyla  <cyba@gnome.pl>

	* src/plugin-service.c
	(plugin_service_file_opener_read, plugin_service_file_saver_read):
	Get opener/saver description from translated content of <description>
	node inside <information> not from <information>'s attributes.
	(plugin_service_function_group_read):
	Get category name (both translated and untranslated) from <category>'s
	content, not from "name" attribute.

	* src/plugin.c
	(plugin_info_read):
	Get plugin name and description from translated content of <name> and
	<description> nodes inside <information>, not from <information>'s
	attributes.
	(plugin_loader_get_type_by_id, plugin_loader_is_available_by_id,
	plugin_db_activate_plugin_list, plugin_db_deactivate_plugin_list,
	plugin_db_get_plugin_info_by_plugin_id,
	plugin_db_update_saved_active_plugin_id_list):
	Removed unnecessary casts.

	* src/plugin-loader-module.c (gnumeric_plugin_loader_module_load,
	gnumeric_plugin_loader_module_unload): Put (possibly long) g_module
	error string in ErrorInfo details instead of appending it to our
	error message.

jody goldberg's avatar
jody goldberg committed
1740
1741
1742
1743
2001-08-20  Jody Goldberg <jgoldberg@home.com>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
1744
1745
1746
1747
1748
1749
1750
1751
1752
2001-08-20  Jody Goldberg <jgoldberg@home.com>

	* Release 0.70

2001-08-20  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-control-gui.c (scg_set_panes) : I do need to set the top &
	  left of the new panes when freezing.

1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
2001-08-20  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object.c (sheet_object_remove_cb) : All we need is a wbc.
	(sheet_object_anchor_set) : new routine to replace range_set.
	(sheet_object_anchor_get) : new.
	(sheet_object_anchor_cpy) : new.
	(sheet_object_anchor_init) : new routine to bundle up object
	  positioning more neatly.

	* src/sheet-object-cell-comment.c (cell_set_comment) : Only use anchor
	  types that are implemented.  Use the new SheetObjectAnchor scheme.

	* src/sheet-control-gui.c (scg_object_move) : track whether the ctrl
	  point causes a move or a resize.
	(cb_control_point_event) : store the initial anchor rather than the
	  control specific position,  and assume that the changes are simple
	  movements until a resize occurs.
	(scg_object_calc_position) : adjust to using SheetObjectAnchor.
	(scg_colrow_distance_get_virtual) : new routine.
	(scg_class_init) : register it here.

	* src/sheet-control.c (sc_colrow_distance_get) : a new new virtual.

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : delete newly
	  created objects too.
	(gnm_canvas_filenames_dropped) : signature change
	  for sheet_object_container_new_file.

	* src/gnumeric.h : add GnmGraph.

	* src/Makefile.am : rename graph-vector -> gnumeric-graph

	* idl/gnumeric-graphs.idl : Add some versioning.
	  Move the header arg out of the value callback.
	  Replace VectorNotify::remove with Manger::clearVectors.
	  Merge freeze & thaw.
	  Renamed 'nameChange' to 'headerChanged'
	  Add an 'id' arg when registering vectors.

2001-08-19  Jody Goldberg <jgoldberg@home.com>

	* src/commands.c
	    s/insert_object/object_insert/
	    s/move_object/object_move/
	    s/delete_object/object/delete/
	(cmd_object_insert_redo) : The object knows its position based on its
	  anchor. No need to set the control specific coordinates for an
	  arbitrary control.  No need to tweak the reference count either.
	(cmd_object_insert) :  ditto.
	(cmd_object_insert_undo) : no need to tweak the ref count.
	(cmd_object_delete_redo) : keep it simple, just set the sheet.
	(cmd_object_delete_undo) : just clear the sheet.
	(cmd_object_delete_destroy) : very simple.
	(cmd_object_move_redo) : store the anchor, not the position for a
	  specific control.  Be careful not to move the object the firs time
	  through.  We've already done that.
	(cmd_move_object_undo) : just call redo.
	(cmd_object_move) : store the old anchor and take a flag indicating
	  move vs resize.

	* src/workbook-control-gui.c (wb_control_gui_toplevel) : Add some
	  protection.

	* src/sheet-object.c (sheet_object_update_bounds) : rename from
	  sheet_object_position to have a clearer name.

	* src/embeddable-grid.c (embeddable_grid_init_anon) : init the sheet.
	(grid_view_new) : use scg_toplevel.

	* src/sheet-control-gui.c (scg_toplevel) : new function.

2001-08-18  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-graph.c : Major reorg to fix life cycle issues.
	(gnm_graph_new) : don't dangle the reference returned by oaf.
	(gnm_graph_destroy) : deactivate & _fini the corba obj.
	(gnm_graph_vector_destroy) : ditto.

	* src/expr.c (expr_to_graph_vector) : delete this function.
	  we have no need to disassemble the expression in graphs.

	* src/item-grid.c : revert switch from destroy -> finalize.
	* src/item-bar.c : ditto.

	* src/sheet-object-container.c : no need to include gnorba.
	  no need to include sheet-control-gui-priv anymore.
	(sheet_object_container_destroy) : delete unused.
	(sheet_object_container_new) : weaken requirements to take a workbook,
	  rather than a sheet as the container.
	(sheet_object_container_new_object) : ditto.
	(sheet_object_container_new_file) : ditto.

	* src/workbook-private.c : delete some unnecessary code.

	* src/workbook.c : include sheet-control vs sheet-control-gui.
	(workbook_expr_unrelocate) : it is ok to attempt to relocate to a
	  non-existent cell.

	* src/commands.c (cmd_paste_cut_undo) : restore the original content
	  AFTER unrelocating the expressions.

	* src/workbook-control-gui.c (workbook_control_gui_init) : Add the
	  magic to enable the bonobo toolbar config utility.
	(workbook_menu_edit) : Fix the accelerators and sync the text with the
	  bonobo version.
	(wbcg_menu_state_update) : Fix the capitalization for freeze/unfreeze.
	(change_menu_label) : Fix accelerator display, we still don't set
	  them, but at least we display them correctly.
	(insert_bonobo_object) : signature change to
	  sheet_object_container_new_object.

1864
1865
2001-08-17  Jody Goldberg <jgoldberg@home.com>

1866
1867
1868
1869
1870
1871
1872
	* src/sheet.c (sheet_freeze_panes) : set the initial top_left position
	  based on the frozen pane when unfreezing.

	* src/sheet-control-gui.c (scg_set_panes) : prepare for h/v only splits.
	  Reformat.  Remove code to set the topleft after the panes are
	  created or removed.  That is handled by sheet.

1873
1874
1875
1876
1877
	* src/GNOME_Gnumeric.xml : enable the font accelerators in the bonobo
	  build by making them standalone rather than associating them with
	  toolbuttons.  It appears as if bonobo does not support accelerators
	  for toolbuttons as yet.

1878
1879
2001-08-16  Zbigniew Chyla  <cyba@gnome.pl>

Morten Welinder's avatar
Morten Welinder committed
1880
	* src/func.h (struct TokenizedHelp): Added help_is_localized field.
1881
1882
1883
1884
1885
1886
1887

	* src/func.c (tokenized_help_new): Initialize it here.

	* src/dialogs/dialog-function-wizard.c (formula_guru_init_args):
	Use the default argument separator (comma) if the function's help is
	not localized.

1888
1889
1890
1891
1892
1893
1894
1895
2001-08-15  Jody Goldberg <jgoldberg@home.com>

	* src/GNOME_Gnumeric.xml : Use the new artwork from gtkhtml for
		- undo/redo
		- cut/copy/paste
	* src/workbook-control-gui.c : ditto.
	* src/application.c : ditto.

Jody Goldberg's avatar
Jody Goldberg committed
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
2001-08-15  Jody Goldberg <jgoldberg@home.com>

	* src/dialogs/dialog-about.c (dialog_about) : update.
	* AUTHORS : update.

2001-08-13    J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.ac: Test whether _USE_BSD is needed for M_PI and caddr_t.
	Made --without-evolution work as intended by fixing two tests.

1906
1907
1908
2001-08-14  Ariel Rios  <ariel@linuxppc.org>

	* src/main.c (main): Remove guile stuff. We no longer need
Morten Welinder's avatar
Morten Welinder committed
1909
	to take over main and all guile init functions are now handle
1910
1911
	by the guile plugin itself.

1912
1913
1914
2001-08-14  Lutz Mller <urc8@rz.uni-karlsruhe.de>

	* src/sheet-object-graphic.c (sheet_object_filled_user_config): Set
Morten Welinder's avatar
Morten Welinder committed
1915
1916
	the dialogs parent so that the dialog will get placed correctly. I did
	it already in sheet_object_graphic_user_config but forgot to add
1917
1918
	it here, too.

1919
1920
1921
1922
1923
1924
1925
1926
2001-08-14  Lutz Mller <urc8@rz.uni-karlsruhe.de>

	* src/print-cell.[c,h] (print_cell_range): Use a Range as parameter
	instead of four ints
	* src/print.c (print_titles), (print_sheet_objects), (print_page_cells),
	(print_page): Same here. In addition, adjust calls to these functions
	all over the place.

1927
1928
1929
1930
2001-08-14  Jody Goldberg <jgoldberg@home.com>

	* idl/Makefile.am : Use stamp files to make parallel compiles work.

1931
1932
1933
1934
1935
2001-08-14  Lutz Mller <urc8@rz.uni-karlsruhe.de>

	* src/sheet-object-graphic.c: Let the user configure arrow shapes only
	if the object is an arrow. Update the color of the arrow in the preview.

1936
1937
1938
1939
1940
2001-08-14  Lutz Mller <urc8@rz.uni-karlsruhe.de>

	* src/print.c (print_sheet_objects): gnome_print_gsave before we
	clip the SheetObjects' region.

1941
1942
1943
1944
1945
1946
2001-08-14  Lutz Mller <urc8@rz.uni-karlsruhe.de>

	* src/print.c: Remove all bonobo-related stuff.
	(print_sheet_objects): New. Prints all objects that overlap a given
	range and clips to that range.
	(print_page_cells): Call print_sheet_objects from here.
Morten Welinder's avatar
Morten Welinder committed
1947
1948
	(print_page_object): Removed.
	(print_page): Check for sheet objects if no printable cells can be
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
	found.
	(render_sheet_objects): Removed.
	* src/sheet-object-bonobo.c (sheet_object_bonobo_print): Move the
	bonobo printing stuff in here.
	* src/sheet-object-impl.h: The virtual method print now has only
	three arguments: The PrintContext and the base (x & y) where to
	start printing.
	* src/sheet-object.[c,h]: Adjusted to new syntax.
	* src/sheet-object-cell-commend.c (cell_comment_print): Same here.
	* src/sheet-object-graphic.c (sheet_object_graphic_print): And here.
	Fixed some broken logic. Printing of arrows implemented.
	(sheet_object_filled_print): Fixed.
Morten Welinder's avatar
Morten Welinder committed
1961
	* src/sheet.c (sheet_col_get_distance_pts): Make sign double like in
1962
1963
	sheet_row_get_distance_pts. This didn't fix my problem but it is
	nicer this way (problem got fixed by Jody's fix below).
Morten Welinder's avatar
Morten Welinder committed
1964

1965
1966
1967
1968
1969
2001-08-14  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-object.c (cell_offset_calc_pt) : Fixcut-n-paste-o to fix
	  printing placement.

1970
1971
1972
1973
1974
2001-08-14  Lutz Mller <urc8@rz.uni-karlsruhe.de>

	* src/sheet-object-cell-comment.c (cell_comment_print): Add a note that
	this function is left empty intentionally
	* src/sheet-object-graphic.c: Let the user configure the arrow shape
Morten Welinder's avatar
Morten Welinder committed
1975

Jody Goldberg's avatar
Jody Goldberg committed
1976
1977
2001-08-14  Jody Goldberg <jgoldberg@home.com>

Jody Goldberg's avatar
Jody Goldberg committed
1978
1979
1980
1981
1982
	* src/format-template.c (format_template_range_check) : fix typo.

	* src/xml-io.c (xml_sheet_read) : Add some sanity checking for bogus
	  inputs.

Jody Goldberg's avatar
Jody Goldberg committed
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
	* src/expr.c (expr_to_graph_vector) : new routine.

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

	* src/item-edit.c (item_edit_draw_text) : ignore leading newlines.
	(recalc_spans) : handle embedded newlines.

	* src/workbook-control-gui.c (wb_edit_key_pressed) : delete, and
	  move this logic from here.
	(workbook_setup_edit_area) : don't hook up wb_edit_key_pressed.
	  Use a GnumericExprEntry instead.

	* src/widgets/gnumeric-expr-entry.c (gnumeric_expr_entry_key_press_event) :
	  Move the magic embedded newline and Abs/Rel handling here.
	(gnumeric_expr_entry_new) : Take a wbcg.

1999
2000
2001
2002
2003
2004
2005
2001-08-13  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (gnumeric_sub_epsilon): New function.  Dual of
 	gnumeric_add_epsilon.
	(gnumeric_fake_ceil): Use gnumeric_sub_epsilon, not
 	gnumeric_add_epsilon.

2006
2007
2001-08-13  Lutz Mller <urc8@rz.uni-karlsruhe.de>

Morten Welinder's avatar
Morten Welinder committed
2008
	* src/sheet.c (sheet_get_extent): Don't ignore the SheetObjects! They
2009
2010
	want to get printed even if all cells are empty.

Jody Goldberg's avatar
Jody Goldberg committed
2011
2012
2013
2014
2001-08-12  Jody Goldberg <jgoldberg@home.com>

	* src/formats.c (currency_symbols) : fix brazil and argentina.

Jody Goldberg's avatar
Jody Goldberg committed
2015
2016
2017
2018
2001-08-12  Jody Goldberg <jgoldberg@home.com>

	* configure.in : bump version.

Jody Goldberg's avatar
Jody Goldberg committed
2019
2020
2021
2022
2001-08-11  Jody Goldberg <jgoldberg@home.com>

	* Release 0.69

2023
2024
2025
2026
2027
2028
2001-08-11  Ariel Rios <ariel@linuxppc.org>

	* configure.in: Configure is now able to detect
        whether a recent version of guile is available
        to be able to build the guile plugin.

2029
2030
2001-08-11  Lutz Mller <urc8@rz.uni-karlsruhe.de>

Morten Welinder's avatar
Morten Welinder committed
2031
	* src/sheet-object.c: Revert below removal of "Old crufty IO". In
2032
2033
	addition, fix a warning that I introduced yesterday (missing cast).

2034
2035
2001-08-11  Lutz Mller <urc8@rz.uni-karlsruhe.de>

Morten Welinder's avatar
Morten Welinder committed
2036
2037
	* src/sheet-object-graphic.c: Use GdkColors instead of strings.
	Implemented printing. Objects aren't in the right place though. Still
2038
2039
2040
2041
2042
2043
2044
2045
	needs some tuning. Configuration implemented (border width, outline
	color, fill color).
	* src/sheet-object-graphic.h: Be consistent, rename
	IS_SHEET_GRAPHIC_OBJECT -> IS_SHEET_OBJECT_GRAPHIC and
	IS_SHEET_FILLED_OBJECT -> IS_SHEET_OBJECT_FILLED
	* sheet-object.c: (sheet_object_read_xml): Remove "Old crufty IO"
	(quoted from code). Get and set the direction here instead of in
	sheet-object-graphic.
Morten Welinder's avatar
Morten Welinder committed
2046
	* src/xml-io.[c,h]: Make xml_[get,set]_value_double and
2047
2048
	xml_[get,set]_value_color public.

2049
2050
2051
2052
2053
2054
2001-08-09  Jody Goldberg <jgoldberg@home.com>

	* src/format.c (format_get_decimal) : Fix a problem in locale's with
	  different numeric conventions for standard and monetary use (eg ru_RU)
	  we must use the same thing as strtod.

2055
2056
2057
2058
2059
2060
2001-08-08  Zbigniew Chyla  <cyba@gnome.pl>

	* src/commands.c (cmd_move_object):
	Use "Resize object" instead of "Move object" as command's description
	if the size of the object has changed.

2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2001-08-07  Zbigniew Chyla  <cyba@gnome.pl>

	Fixes #58648
	Added support for default importers (with specified priority)

	* file.[ch]
	(register_file_opener_as_importer_as_default,
	get_default_file_importer): New functions, added support for default
	importers (with specified priority).

	* gui-file.c (gui_file_import): Open the dialog with default importer
	selected.

	* plugin-service.h (struct _PluginServiceFileOpener):
	Added default_importer_priority field.

	* plugin-service.c (plugin_service_file_opener_read): If importer is
	enabled, read default_importer_priority attribute.
	(plugin_service_file_opener_initialize): Register as default importer if
	default_importer_priority is specified.

	* src/stf.c (stf_init): Register "Gnumeric_stf:stf_druid" as default
	file importer with priority 50.

2085
2086
2087
2088
2089
2090
2001-08-07  Jody Goldberg <jgoldberg@home.com>

	* src/item-cursor.c (item_cursor_draw) : When centering the cursor
	  with an even width tweak it to make things symetric.
	Some cosmetic formating and naming issues too.

2091
2092
2093
2001-08-07  Lutz Mller <urc8@rz.uni-karlsruhe.de>

	* src/commands.c: (cmd_insert_object_redo): Do proper ref counting.
Morten Welinder's avatar
Morten Welinder committed
2094
	* src/item-grid.c: (cb_obj_create_button_release): Hook up
2095
2096
2097
	cmd_insert_object.
	* src/sheet-object.c: (sheet_object_remove_cb): Unref the sheet
	object.
Morten Welinder's avatar
Morten Welinder committed
2098
	(sheet_object_set_sheet): Just return TRUE if (so->sheet == sheet)
2099
2100
2101
2102
	instead of printing a warning. This is because when command_push_undo
	is called, the redo function will be called although there is nothing
	to redo at this moment. We detect this through this function here.

2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2001-08-07  Lutz Mller <urc8@rz.uni-karlsruhe.de>

	* src/commands.[c,h]: (cmd_insert_object), (cmd_delete_object): New.
	cmd_insert_object is not hooked up yet.
	* src/sheet-control-gui.c: (cb_control_point_event): Pass the sheet
	object to cmd_move_object, that makes more sense than the so_view.
	* src/sheet-object.c: (sheet_object_remove_cb): Call cmd_delete_object
	instead of just gtk_object_destroy which can't be undone.
	(sheet_object_clear_sheet): If so->sheet == NULL, just return instead
	of printing a warning.
Morten Welinder's avatar
Morten Welinder committed
2113

2114
2115
2001-08-07  Lutz Mller <urc8@rz.uni-karlsruhe.de>

Morten Welinder's avatar
Morten Welinder committed
2116
	* src/commands.[c,h]: (cmd_move_object): New. Will also handle
2117
2118
2119
2120
2121
2122
	resizing of objects
	* src/sheet-control-gui-priv.h: Remember the initial_coords before
	moving or resizing an object
	* src/sheet-control-gui.c: (cb_control_point_event): When done with
	moving/resizing, call cmd_move_object so that we can undo this action
	later.
Morten Welinder's avatar
Morten Welinder committed
2123

2124
2125
2126
2127
2128
2129
2130
2001-08-06  Jody Goldberg <jgoldberg@home.com>

	* src/sheet-autofill.c (autofill_compute_delta) : Make month/years
	  count forward and add some smarts to handle nice steps when days are
	  visible too.
	(autofill_cell) : ditto.

2131
2132
2133
2134
2135
2136
2001-08-06  Jody Goldberg <jgoldberg@home.com>

	* src/gnumeric-canvas.c (gnumeric_canvas_new) : don't use different
	  canvas groups for objects and animated cursors.  That was confusing
	  things.

2137
2138
2139
2140
2141
2001-08-04  Jody Goldberg <jgoldberg@home.com>

	* src/sheet.c (sheet_set_zoom_factor) : changing the zoom forces a
	  visibility computation.

2142
2143
2144
2145
2146
2001-08-06  Jody Goldberg <jgoldberg@home.com>

	* src/item-cursor.c (item_cursor_point) : Disable selection if we are
	  invisible.

Morten Welinder's avatar
Morten Welinder committed
2147
2148
2149
2150
2001-08-06  Morten Welinder  <terra@diku.dk>

	* configure.in (psion): Improve psiconv test.

2151
2152
2153
2154
2155
2001-08-06  Jody Goldberg <jgoldberg@home.com>

	* src/selection.c (walk_boundaries) : Check for merged regions while
	  walking, not just at the onset.

2156
2157
2158
2159
2160
2161
2162
2163
2164
2001-08-03  Jody Goldberg <jgoldberg@home.com>

	* src/colrow.c (colrow_restore_sizes) : Use sheet_flag_recompute_spans.
	  to simplfy debugging.
	* src/sheet.c (sheet_set_zoom_factor) : ditto
	(sheet_{insert,delete}_{cols,rows}) : ditto.
	(sheet_move_range) : ditto.
	sheet_{col,row}_set_size_{pts,pixels} : ditto.

2165
2166
2167
2168
2169
2001-07-19  Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>

	* configure.in: fix the GNUMERIC_HAVE_ALLOCA_H test to handle the
	new cache value used by autoconf 2.50+.

2170
2171
2172
2173
2001-08-02  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Use the new improved (functional) guile tests.

2174
2175
2176
2177
2178
2179
2180
2001-08-02  Jody Goldberg <jgoldberg@home.com>

	* src/application.c (application_init) : Add search&replace icon from
	  evo.
	* src/workbook-control-gui.c (workbook_standard_toolbar_orient) : Use
	  it.

J.H.M. Dassen (Ray)'s avatar