ChangeLog 202 KB
Newer Older
1 2 3 4
2005-08-08  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* *: Updated FSF's address.

5 6 7
2005-08-04  Stepan Kasal  <kasal@ucw.cz>

	* src/Makefile.am (GNUMERIC_BASE): Add gnm-style-impl.h.
Stepan Kasal's avatar
Stepan Kasal committed
8
	* src/file-autoft.c: Add a missing include.
9

Stepan Kasal's avatar
Stepan Kasal committed
10 11 12
	* src/style-conditions.c (gnm_style_conditions_eval): Fix another
	  warning.

13 14
	* src/ssindex.c: Fix two option descriptions.

15 16 17 18 19
2005-08-03  Jody Goldberg <jody@gnome.org>

	* src/style-conditions.c (gnm_style_conditions_eval) : suppress a
	  warning and some debug spew.

Stepan Kasal's avatar
Stepan Kasal committed
20 21 22 23
2005-08-03  Stepan Kasal  <kasal@ucw.cz>

	* src/test-pango.c: Fix warnings.

24 25 26 27 28 29 30 31 32 33 34 35 36
2005-08-01  Jody Goldberg <jody@gnome.org>

	* src/consolidate.c (retrieve_row_tree) : Ignore elements that have no
	  data. [#308431]

	* src/workbook-edit.c (cb_entry_delete_text) : queue an update of the
	  edit items.  This is a kludge.  We should move to a centralized
	  dropdown rather than screwing with the selection. [#308303]
	(wbcg_edit_start) : don't autocomplete while editing in the editline.

	* src/sheet-object-image.c (sheet_object_image_new_view) : create the
	  image hidden.  The bound_set. will fix it later. [#308301]

37 38 39 40 41 42
2005-07-29  Jody Goldberg <jody@gnome.org>

	* src/graph.c (gnm_go_data_scalar_as_str) : New. be smarter about
	  constant strings.  There's no need to quote them when they are the
	  entire expression. #152317

Morten Welinder's avatar
Morten Welinder committed
43 44 45 46
2005-07-27  Morten Welinder  <terra@gnome.org>

	* src/value.c (find_rows_that_match): Band-aid for 311567.

47 48 49 50 51 52
2005-07-26  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* src/style.c (style_font_new_simple): use 
	pango_font_description_copy() so that we store the exact
	font description we pass to pango. Partially Fix #161027.

53 54 55 56 57
2005-07-25  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/sheet-object-graph.c (sheet_object_graph_default_size): logical
	size of graph is a property of GogGraph now.

58 59 60 61 62 63 64 65 66 67 68 69 70
2005-07-23  Jody Goldberg <jody@gnome.org>

	Fix snap to grid for RTL mode.
	* src/sheet-control-gui.c (snap_pos_to_grid) : handle RTL and scaling
	  here.
	(snap_to_grid) : merge into.
	(apply_move) : here.

	Fix object motion in RTL mode.
	* src/gnumeric-canvas.c (gnm_canvas_window_to_coord) : new.
	* src/gnumeric-pane.c (cb_pane_drag_data_received) : use it here.
	(cb_gnm_pane_drag_motion) : and here.

71
2005-07-23  Ivan, Wong Yat Cheung  <email@ivanwong.info>
72 73 74 75

	* src/gnumeric-gconf.c (go_conf_set_str_list, go_conf_get_str_list):
	They didn't worked. Fix #308302.

76 77
2005-07-20  Morten Welinder  <terra@gnome.org>

78 79 80
	* src/mstyle.c (gnm_style_ref, gnm_style_unref): Add extra
	precondition.

81 82 83
	* src/commands.c (cmd_format_repeat): Handle NULL style.  Fixes
	#310924.

84 85 86 87
2005-07-18  Stepan Kasal  <kasal@ucw.cz>

	* src/libgnumeric.c: Remove double #include's.

88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
2005-07-15  Jody Goldberg <jody@gnome.org>

	* src/print-info.c : Add Andreas to the list of Authors.
	(print_info_new) : Init the simple margins to -1 to signify unset.
	  Init the new flags.
	(print_info_margin_copy) : delete.
	(print_info_dup) : tidy up and handle the new flags.
	(print_info_get_margins) : if a margin is negative (unset) return 0.
	(print_info_set_n_copies) : delete.
	(print_info_get_n_copies) : delete.
	(print_info_set_orientation) : delete.
	(print_info_get_orientation) : delete.
	(print_info_make_config) : only set the margin in the print_config if
	  it is set.  Rework the orientation enum into a pair of bools to be
	  more XL compat.
	(print_info_load_config) : ditto.

	* src/gnumeric-gconf.c : s/right-then-down/across-then-down/ for RTL.
	(gnm_gconf_set_print_order_across_then_down) : renamed from
	  gnm_gconf_set_print_order_right_then_down.

	* gnumeric.xsd : margins are optional now.

111 112 113 114 115
2005-07-15  Jon K Hellan  <hellan@acm.org>

	* src/main-application.c (gnumeric_arg_parse): Call
	gnome_authentication_manager_init. 

116 117 118 119 120 121 122
2005-07-14  Jon K Hellan  <hellan@acm.org>

	* configure.in (set_more_warnings): Add -Wno-pointer-sign, which
	silences the "pointer targets differ in signedness" warnings from
	gcc as of version 4.0. Should probaby be turned on again at some
	point.

123 124
2005-07-11  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
125 126
	* src/ssconvert.c (list_them): Cleanup.

127 128 129 130 131
	* src/workbook-view.c (wb_view_new_from_uri, wbv_save_to_uri): Use
	g_printerr, not g_print.
	* src/workbook-control-gui.c (cb_workbook_debug_info): Ditto.
	* src/workbook.c (workbook_dispose): ditto.

132 133 134 135
2005-07-05  Stepan Kasal  <kasal@ucw.cz>

	* .cvsignore: Replace "autom4te*.cache" by "autom4te.cache"

136 137 138 139 140
2005-07-04  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in, README: Bumped the goffice requirement to get
	GOG_MS_DIM_START, GOG_MS_DIM_END, GOG_MS_DIM_LOW, GOG_MS_DIM_HIGH.

141 142 143 144
2005-07-01  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (x_claim_clipboard): Plug leak.

145 146 147 148 149
2005-07-01  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-graph.c: inlude locale.h,
	(sheet_object_graph_write_object): fix a pointer compatibility warning.

150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
2005-07-01  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnumeric-pane.c: (gnm_pane_drag_begin): add support to copy/paste and
	dnd charts to other apps.
	* src/gnumeric.h: ditto.
	* src/gui-clipboard.c: (graph_write), (x_clipboard_get_cb),
	(x_claim_clipboard): ditto
	* src/sheet-control-gui.c: ditto.
	* src/sheet-object-graph.c: ditto.
	(sheet_object_graph_get_object_target_list),
	(sheet_object_graph_write_object), (sog_exportable_init):
	* src/sheet-object-impl.h: ditto.
	* src/sheet-object.c: (sheet_object_exportable_get_type),
	(sheet_object_exportable_get_target_list),
	(sheet_object_write_object): ditto.
	* src/sheet-object.h: ditto.

167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
2005-06-30  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (workbook_sheet_rename_check,
	workbook_sheet_change_protection,
	workbook_sheet_change_visibility, workbook_sheet_recolor,
	workbook_sheet_reorder_by_idx): Remove.  No longer used.

	* src/commands.c (command_redo_sheet_delete,
	cmd_reorganize_sheets_delete_get_this_sheet_info,
	cmd_reorganize_sheets_delete_shift_list,
	cmd_reorganize_sheets_delete_get_all_sheets_info,
	cmd_reorganize_sheets_delete_recreate_sheet,
	cmd_reorganize_sheets_delete_free, cmd_reorganize_sheets_undo,
	cmd_reorganize_sheets_redo, cb_slist_gdk_color_free,
	cmd_reorganize_sheets_finalize, cmd_reorganize_sheets_fix_list,
	cmd_reorganize_sheets):  Remove.  No longer used.

184 185 186 187 188 189
2005-06-28  Jody Goldberg <jody@gnome.org>

	* src/style-conditions.c (gnm_style_conditions_overlay) : when
	  applying a conditional overlay with a background colour to a base
	  without a pattern pretend the pattern is solid.

190 191 192 193
2005-06-27  Morten Welinder  <terra@gnome.org>

	* src/wbcg-actions.c: No ellipsis to Full Screen.

194 195 196 197
2005-06-25  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (gnm_style_dup) : no need to dup unassigned elements.

198 199 200
	* src/gnm-style-impl.h, src/style-conditions.c, src/style-conditions.h:
	  New files.

201 202 203 204 205
2005-06-25  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c (xml_sax_hlink) : new.
	(xml_sax_input_msg) : new.

206 207 208 209
2005-06-22  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (random_01): Use the Mersenne Twister as
	fallback.
210
	* configure.in: Stop checking for functions we no longer use.
211

212 213 214 215 216 217 218
2005-06-22  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/gnumeric-pane.c (cb_gnm_pane_drag_motion): set snap_to_grid if
	SHIFT is pressed, state given by widget parent window.
	* src/sheet-control-gui.c (scg_drag_receive_same_scg): ditto.
	(scg_objects_nudge): fix typo.
	
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233
2005-06-22  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : enable pango-test

2005-06-22  Jody Goldberg <jody@gnome.org>

	* * : s/MStyle/GnmStyle/
	      s/mstyle_/gnm_style_/
	      s/StyleHAlignFlags/GnmHAlign/
	      s/StyleVAlignFlags/GnmVAlign/

2005-06-20  Morten Welinder  <terra@gnome.org>

	* src/commands.c (cmd_rename_sheet): Prevent renames to "".

234 235 236 237 238 239 240
2005-06-14  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=163414
	* src/item-bar.c (item_bar_event) : "If it hurts when you do that,
	  don't do that".  Position the tooltip above the cursor for row
	  headers too :-)

Morten Welinder's avatar
Morten Welinder committed
241 242 243 244 245 246 247 248 249
2005-06-14  Morten Welinder  <terra@gnome.org>

	* src/gnumeric-gconf.c (gnm_gconf_get_toolbar_visible,
	gnm_gconf_set_toolbar_visible): New functions.

	* src/wbc-gtk.c (cb_add_menus_toolbars): Set toolbar visibility.
	(cb_handlebox_visible): Make changes to visibility permanent.
	(wbc_gtk_init): Don't set everything visible.

250 251 252 253 254 255 256 257 258 259
2005-06-13  Jody Goldberg <jody@gnome.org>

	* src/expr.c (gnm_expr_eval) : when evaluating an array pass the
	  cols/rows into the EvalPos.

	* src/position.c (eval_pos_init) : init new cols/rows member
	(eval_pos_init_dep) : ditto.
	(eval_pos_init_cell) : ditto.
	(eval_pos_init_sheet) : ditto.

Jody Goldberg's avatar
Jody Goldberg committed
260 261 262 263
2005-06-13  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
264 265 266 267
2005-06-13  Jody Goldberg <jody@gnome.org>

	* Release 1.5.2

Jody Goldberg's avatar
Jody Goldberg committed
268 269 270 271 272
2005-06-13  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (gnm_named_expr_collection_lookup) : be more
	  careful.

Jody Goldberg's avatar
Jody Goldberg committed
273 274 275 276
2005-06-12  Jody Goldberg <jody@gnome.org>

	* src/value.c (value_get_as_bool) : handle err == NULL

277 278 279 280 281 282 283 284 285 286 287 288 289
2005-06-12  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (workbook_detach_view): Just dispose of the view.
	That will both break cycles and indirectly unref.
	(workbook_sheet_delete): Ditto.

	* src/workbook-view.c (wb_view_sheet_add): Don't leak a ref to the
	new view.

	* src/sheet-view.c (sheet_view_new): Ref the sheet view when we
	add it to the sheet's list of views.
	(sv_real_dispose): Unref as we remove from said list.

Morten Welinder's avatar
Morten Welinder committed
290 291
2005-06-10  Morten Welinder  <terra@gnome.org>

292 293 294 295 296
	* src/dependent.c (link_cellrange_dep, unlink_cellrange_dep): Fix
	condition for swapping sheet indices.  Fix loop.
	(dependent_unlink): Don't try to unlink dynamic dependencies from
	a NULL container.

297 298 299 300 301 302 303 304 305 306 307 308 309
	* src/dependent.c (gnm_dep_container_sanity_check): New function.
	(dependents_revive_sheet): Check sanity here.
	(gnm_dep_container_dump): And here.
	(handle_outgoing_references): New function.  Properly unlink
	dependencies that reference stuff outside current sheet.
	(do_deps_destroy, do_deps_invalidate): Use
	handle_outgoing_references.

	* src/dependent.c (dependents_invalidate_sheets): Handle 3d deps
	here.  Avoid crashes by not modifying the hash while we go over
	it.
	* src/workbook.c (workbook_sheet_delete): Not here.

Morten Welinder's avatar
Morten Welinder committed
310 311 312 313 314 315 316 317 318 319 320
	* src/xml-sax-write.c (xml_write_sheet): Write visibility.

	* src/xml-sax-read.c (xml_sax_attr_enum): New function.
	(xml_sax_sheet_start): Restore visibility.

	* src/xml-io.c (xml_read_selection_info): Don't crash if we lack a
	view.
	(xml_write_selection_info): Ditto.
	(xml_sheet_read): Restore visibility.
	(xml_sheet_write): Write visibility.

321 322 323 324 325
2005-06-09  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_realize) : init the menu prefs on
	  realization.

326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350
2005-06-09  Jody Goldberg <jody@gnome.org>

	* src/item-edit.c (ie_scan_for_range) : call
	  gnm_expr_entry_set_parsepos to be sure we're using the right
	  notional position.  This only really matters for R1C1 refs.

	* src/rendered-value.c (rendered_value_render) : use the Sheet::convs
	  to display expressions.
	(cell_get_entered_text) : ditto.

	* src/parse-util.c (rangeref_as_string) : r1c1 support.
	(cellref_as_string) : ditto.

	* src/item-bar.c (item_bar_draw) : for r1c1 use numbers for col
	  headers.
	(item_bar_calc_size) : ditto.

	* src/sheet.c : Add use-r1c1 property
	(re_render_formulas) : split from
	(sheet_set_display_formulas) : here.
	(sheet_set_use_r1c1) : for use here.

	* src/wbcg-actions.c (toggle_actions) : Add r1c1 toggle
	* src/GNOME_Gnumeric-gtk.xml : use it

351 352
2005-06-09  Morten Welinder  <terra@gnome.org>

353 354 355 356
	* src/workbook.c (workbook_sheet_delete): Merge
	workbook_sheet_detach into this.
	(workbook_sheet_detach): Removed.  All callers changed.

357 358 359 360 361
	* src/dependent.c (cb_dep_hash_destroy): Track changes to
	dependencies.
	(clear_revive_info): Free dep_exprs also.
	(dependents_revive_sheet): Undo changes to dependencies too.

362 363 364 365 366 367 368 369 370 371 372
2005-06-08  Morten Welinder  <terra@gnome.org>

	* src/sheet.c (gnm_sheet_class_init): Rename "visible" property to
	"visibility" and make it an enum.  All users changed.
	* src/sheet.h (struct _Sheet): Ditto for is_visible member.

	* src/workbook-view.c (wb_view_sheet_remove): New function to
	mirror wb_view_sheet_add.
	* src/workbook.c (workbook_sheet_hide_controls): Use
	wb_view_sheet_remove.

373 374 375 376 377
2005-06-08  Ivan, Wogn Yat Cheung  <email@ivanwong.info>

	* src/sheet-control-gui.c (scg_drag_receive_uri_list):
	adapt to the change of go_get_mime_type(). [#304074]

378 379 380 381 382
2005-06-07  Jody Goldberg <jody@gnome.org>

	From Ivan, Wong Yat Cheung  <email@ivanwong.info>
	* src/Makefile.am : enable libspreadsheet

Jody Goldberg's avatar
Jody Goldberg committed
383 384 385 386 387 388 389 390 391 392
2005-06-07  Jody Goldberg <jody@gnome.org>

	* src/parser.y : Pass the convention to the range_ref parser

	* src/parse-util.c (r1c1_get_index) : make this more robust.
	(cellref_r1c1_get) : adjust calling to new get_index args.
	(r1c1_rangeref_parse) : new.
	(rangeref_parse) : connect into the r1c1 parser.
	(parse_util_init) : add an r1c1 convention set

393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421
2005-06-07  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (workbook_sheet_state_restore): Revive sheets
	being re-attached.

	* src/workbook-control-gui.c (scg_delete_sheet_if_possible): Use
	cmd_reorganize_sheets2.

	* src/sheet.h (struct _Sheet): Add extra "revive" member.

	* src/expr-name.c (gnm_named_expr_collection_relink,
	gnm_named_expr_collection_unlink): New functions.
	(gnm_named_expr_collection_free): Remove the extra indirection.
	All callers changed.

	* src/dependent.c (handle_dynamic_deps, handle_referencing_names):
	Extracted from do_deps_destroy.
	(do_deps_invalidate, clear_revive_info, dependents_revive_sheet):
	New functions.
	(dependents_link): Do not free the argument list.  All callers
	changed.
	(do_deps_destroy): Call clear_revive_info.
	(invalidate_name): Renamed from cb_name_invalidate.  Add "destroy"
	argument.  If not destroying, save the name-expression pairs.
	(cb_collect_deps_of_names): Collect also the names.
	(dependents_invalidate_sheet, dependents_invalidate_sheets): Add
	extra "destroy" argument.  All callers changed.
	(dep_hash_destroy): Walk over the hash once, not three times.

422 423
2005-06-06  Morten Welinder  <terra@gnome.org>

424 425 426
	* src/mathfunc.c (lgamma): Define when needed.
	(lgamma_r): Base the implementation on lgammacor, not lgamma.

427 428 429
	* src/sheet-control-gui.c (scg_drag_receive_uri_list): Add warning
	about things we do not understand.

430 431 432 433 434 435 436 437 438 439 440 441 442 443
2005-06-04  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=165172
	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : quick and cheesy
	  handling of Delete while editing.  It forces an end to
	  autocompletion rather than unintentionally clearing the cell as if
	  we were not editing.

2005-06-04  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=164779
	* src/sheet-control-gui.c (scg_objects_nudge) : no nudging while
	  creating an object.

444 445
2005-06-04  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
446
	http://bugzilla.gnome.org/show_bug.cgi?id=163589
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472
	* src/print.c (print_page_cells) : Use the PrintInfo from the supplied
	  sheet rather than something global.
	(print_page_repeated_rows) : ditto.
	(print_page_repeated_cols) : ditto.
	(print_page_repeated_intersect) : ditto.
	(print_hf_element) : ditto.
	(print_hf_line) : ditto.
	(print_headers) : ditto.
	(print_footers) : ditto.
	(setup_scale) : ditto.
	(print_page) : ditto.
	(print_range_down_then_right) : ditto.
	(print_range_right_then_down) : ditto.
	(print_job_info_init_sheet) : ditto.
	(print_sheet_range) : ditto.
	(compute_sheet_pages) : ditto.
	(compute_pages) : ditto.
	(print_sheet) : ditto.
	(workbook_print_all) : delete.
	(sheet_print_real) : and merge into here.
	(print_job_info_update_from_config) : merge into print_job_info_init_sheet.
	(print_job_info_get) : Do not attempt to load a PrintInfo from the
	  first sheet.  We'll set things up on a per sheet basis.
	(print_job_info_destroy) : we do not have a local copy of a PrintInfo
	  anymore.

473 474 475 476 477
2005-06-04  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* tools/gconf-schemas-to-win32-reg.c (convert_schemalist):
	  Use REGEDIT4 so that Win9x knows.

Jody Goldberg's avatar
Jody Goldberg committed
478 479 480 481
2005-06-03  Jody Goldberg <jody@gnome.org>

	* src/gnumeric.h : s/GnmRow/GnmStyleRow/  That is clearer

482 483 484 485 486
2005-06-03  Jody Goldberg <jody@gnome.org>

	* configure.in : bump gsf req to 1.12.1 for the new GSF_DYNAMIC_CLASS
	  signatures

487 488
2005-06-02  Morten Welinder  <terra@gnome.org>

489 490 491 492
	* src/mathfunc.c (binomialcf): Fix log_p case.
	(pfuncinverter): Handle NaNs better.
	(qbeta): Improve initial guess.

493 494 495 496
	* src/number-match.c (compute_value): When matching with
	strto[u]l, make sure to store the result in a variable large
	enough.  Fixes #306254.

497 498 499 500 501 502
2005-06-01  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (xml_write_cell_and_position): Don't duplicate
	ExprIDs for arrays.
	* src/xml-sax-write.c (xml_write_cell_and_position): Ditto.

503 504 505 506 507 508 509 510 511 512 513 514 515 516
2005-06-01  Stepan Kasal  <kasal@ucw.cz>

	* src/ranges.c (undo_cell_pos_name, undo_range_name, undo_range_list_name):
	  New functions.
	(max_range_name_width, range_list_name_try): New static functions.
	* src/commands.c (undo_global_range_name, cmd_cell_pos_name_utility):
	(cmd_range_list_to_string_utility, cmd_range_to_str_utility): Nuke; all
	  callers should use the new functions from ranges.c.

	* schemas/gnumeric-general.schemas.in (max_descriptor_width):
	Change the default to 40; "Clearing contents in Sheet1!A12:C34"
	should fit in without truncating.  The prefix is about 20 chars
	and about 20 chars should remain for the range name itself.

517 518 519 520 521
2005-05-31  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-read.c (xml_sax_cell): Fix asserts.
	(xml_sax_cell_content): Guard against bogus values.

522 523 524 525 526
2005-05-31  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c (gnm_xml_file_open) : register the doc if
	  necessary, and hook it too the application for destruction.

527 528 529 530 531 532 533 534
2005-05-31  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (random_hypergeometric): Define trivially using
	qhyper thus avoiding some performance problems.
	(qhyper): Move from plugins/fn-r/extra.c
	(pfuncinverter): Improve case where initial guess is outside valid
	range.

535 536 537 538 539 540 541 542 543
2005-05-31  Stepan Kasal  <kasal@ucw.cz>

	* src/dialogs/dialog-solver.c (solver_max_time_err): Move the
	  variable and its initialization...
	* src/gutils.c (gutils_init): ... here.
	* src/gutils.h (solver_max_time_err): Declare.
	* src/tools/solver/solver.c: Include gutils.h instead of the
	  declaration of solver_max_time_err.

544 545 546 547 548
2005-05-31  Stepan Kasal  <kasal@ucw.cz>

	* src/commands.c (cmd_set_text): Remove the variable `GObject *obj';
	it's not needed.  Similarly for other 43 command functions.

549 550 551 552 553
2005-05-31  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* src/ssconvert.c (main):
	* src/ssindex.c (main): Use go_shell_argv_to_glib_encoding() as well.

554 555 556 557 558 559
2005-05-31  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=304559
	* src/sheet-object-widget.c (sheet_object_widget_new_view) : keep the
	  view hidden until we can set the bounds

560 561 562 563 564 565
2005-05-30  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* src/main-application.c (main): Use go_shell_argv_to_glib_encoding(),
	so we can open file with name in any encoding when users "open" them in
	explorer (Win32).

566 567 568 569 570 571 572 573 574 575 576 577 578 579 580
2005-05-29  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=167584
	* src/sheet-object-widget.c (cb_adjustment_config_ok_clicked) : relink
	  after changing the expression.
	(sheet_widget_adjustment_set_details) : ditto.
	(cb_checkbox_config_ok_clicked) : ditto.
	(sheet_widget_checkbox_set_link) : ditto.

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

	http://bugzilla.gnome.org/show_bug.cgi?id=165061
	* src/mstyle.c (mstyle_equal_header) : new
	* src/ranges.c (range_has_header) :  use it.

581 582 583 584 585
2005-05-29  Jody Goldberg <jody@gnome.org>

	* src/dependent.c (cb_collect_deps_of_name) : collect all deps of
	  names, even those we're about to lose.  Things need to be unlinked.

586 587 588 589 590 591 592
2005-05-27  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=305405
	* src/gui-clipboard.c (x_targets_received) : Add biff atoms to support
	  pastes from MS Excel.
	(table_content_received) : ditto.

Morten Welinder's avatar
Morten Welinder committed
593 594
2005-05-27  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
595 596
	* src/mathfunc.c (discpfuncinverter, pfuncinverter): Make public.

Morten Welinder's avatar
Morten Welinder committed
597 598 599 600 601 602 603
	* src/position.c (eval_pos_init_cell): Constness fix.

	* src/cell.h (CELL_TO_DEP): Preserve constness.

	* src/dependent.c (dump_range_dep): Use range_name.
	(cell_queue_recalc): Not const.

Stepan Kasal's avatar
Stepan Kasal committed
604 605 606
2005-05-26  Stepan Kasal  <kasal@ucw.cz>

	* src/clipboard.c: Remove unneeded includes.
607 608 609 610

	* src/gnumeric-gconf.c: Move common headers to the top, add more
	  stubs for build without gtk.

611
	* src/ranges.c (range_name): Simplify.
612 613
	(global_range_name): Make the first parameter const.
	* src/ranges.h (global_range_name): Ditto.
614

615 616 617 618 619
2005-05-26  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (discpfuncinverter): New function.
	(qpois): New implementation based on discpfuncinverter.

620 621
2005-05-25  Morten Welinder  <terra@gnome.org>

622 623 624
	* src/gui-clipboard.c (text_to_cell_region): Fall back to string.
	Fixes #305404.

625 626 627
	* src/workbook-control-gui.c (wbcg_create_edit_area): Add tooltips
	for ok_button, cancel_button, and func_button.

628 629
2005-05-23  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
630 631 632
	* src/commands.c (cmd_reorganize_sheets_delete_recreate_sheet):
	Plug leak.

633 634 635
	* src/dependent.c (cb_name_invalidate): Fix a crash relating to
	globally scoped names.

636 637 638 639 640 641 642 643 644 645 646 647 648 649
	* src/workbook-edit.c (cb_entry_delete_text): Make this work for
	non-rich text also.  Turn off auto-completion.
	(cb_entry_insert_text): Make this work for non-rich text also.
	Turn off auto-completion if the insert is not at the end.
	(cb_entry_cursor_pos): Make this work for non-rich text also.
	Turn off auto-completion if the cursor is no longer at the end.
	(wbcg_edit_finish): Always turn off signals if they have been
	connected.
	(wbcg_edit_start): Always bind insert_text, delete_text, and
	cursor position signals here.
	(wbcg_edit_init_markup): Don't connect to insert_text, delete_text
	and cursor position signals here.
	(auto_complete_matches): Get rid of ugly event hack.

650 651 652
	* src/commands.c (command_redo): Keep a ref to the command and
	handle someone clearing the redo queue.  Fixes #305007.

653 654 655 656 657 658 659
2005-05-23  Stepan Kasal  <kasal@ucw.cz>

	* src/position.c (parse_pos_init): Don't perform the same check
	  twice.
	* src/graph.c, src/sheet-object-widget.c (*_debug_name): All these
	  functions now take a GString as the second parameter; adapt to it.

660 661 662 663 664
2005-05-21  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dependents_link): Drop pointless rwinfo
	argument.  All callers changed.

665 666
2005-05-20  Morten Welinder  <terra@gnome.org>

667 668 669
	* src/dependent.c (gnm_dep_container_dump): Dump also dynamic
	dependencies and name dependencies.

670 671 672
	* src/workbook-control.c (wb_control_parse_and_jump): Use
	expressions like A1, not A1:A1 for single cells.

Stepan Kasal's avatar
Stepan Kasal committed
673 674
2005-05-20  Stepan Kasal  <kasal@ucw.cz>

Stepan Kasal's avatar
Stepan Kasal committed
675
	* src/sheet-filter.c (filter_view_set_bounds): Remove unused
Stepan Kasal's avatar
Stepan Kasal committed
676 677
	  variable so.

678 679 680 681 682 683 684 685 686 687 688 689 690 691 692
2005-05-19  Morten Welinder  <terra@gnome.org>

	* src/sheet.h (struct _Sheet): add being_invalidated flag.

	* src/dependent.c (dependents_workbook_destroy): Renamed from
	workbook_deps_destroy.  Mark all sheets being_invalidated before
	actually doing so.
	(dependents_invalidate_sheet): Renamed from sheet_deps_destroy.
	(do_deps_destroy): Don't take a GnmExprRewriteInfo argument --
	create it locally.

	* src/expr.h (struct _GnmExprRewriteInfo): Combine
	GNM_EXPR_REWRITE_SHEET and GNM_EXPR_REWRITE_WORKBOOK into
	GNM_EXPR_REWRITE_INVALIDATE_SHEETS.

693 694 695 696 697 698 699 700 701 702 703
2005-05-19  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (pre_sheet_index_change): Use dependent_unlink
	directly as callback.
	(post_sheet_index_change): Use dependent_link directly as
	callback.

	* src/dependent.c (dependent_link, dependent_unlink,
	link_expr_dep, unlink_expr_dep): Drop the pos argument, infer when
	needed.  All callers changed.

704 705 706 707 708 709 710 711 712
2005-05-18  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dependent_pos): New utility function.
	(dependent_set_sheet, dependent_add_dynamic_dep, dependent_unlink,
	dependents_link, do_deps_destroy, dynamic_dep_free): use
	dependent_pos.
	(link_expr_dep, unlink_expr_dep, dependents_unrelocate_free,
	dependents_unrelocate): Avoid cast.

Jody Goldberg's avatar
Jody Goldberg committed
713 714 715 716 717 718 719 720 721
2005-05-18  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (expr_name_new) : make public
	(expr_name_add) : accept a stub object.

2005-05-17  Jody Goldberg <jody@gnome.org>

	* src/workbook.c (workbook_focus_other_sheet) : fix

722 723 724 725 726
2005-05-17  Morten Welinder  <terra@gnome.org>

	* src/expr-name.c (expr_name_set_expr): Don't relink deps for
	sheets that are being destroyed.

727 728 729 730 731 732 733 734 735 736 737
2005-05-16  Morten Welinder  <terra@gnome.org>

	* src/print-cell.c (print_cell): Fix and simplify rotated case.

	* src/cell-draw.c (cell_draw): Simplify rotated case.

	* src/rendered-value.c (rendered_value_remeasure): Collect extra
	information for rotated values.
	(rendered_value_init): Setup a separate pool for rotated cells.
	(rendered_value_shutdown): Shut that down.

738 739 740 741 742
2005-05-16  Stepan Kasal  <kasal@ucw.cz>

	* src/sheet-control-gui.c (scg_drag_receive_uri_list): Change the
	  type of local variable `mime' to `const gchar *'.

743 744 745
2005-05-16  Morten Welinder  <terra@gnome.org>

	* configure.in (set_more_warnings): Kill -Wcast-align.  It does
746
	not catch anything useful.  We run-time check, either in gobject
747 748 749 750
	macros or else by virtue of running on a Sparc.  Also we do *tons*
	of valid cast from base classes to derived classes after carefully
	checking the dynamic type.

Jody Goldberg's avatar
Jody Goldberg committed
751 752 753 754
2005-05-16  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (filter_foo_view_init) : remove debug spew

Stepan Kasal's avatar
Stepan Kasal committed
755 756 757 758
2005-05-16  Stepan Kasal  <kasal@ucw.cz>

	* configure.in (PKG_PROG_PKG_CONFIG): Fix the explanation above.

759 760 761
2005-05-15  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c: (gnm_go_data_vector_get_value),
Stepan Kasal's avatar
Stepan Kasal committed
762
	(gnm_go_data_matrix_get_value): always release the value returned by
763 764
	value_coerce_to_number.

765 766 767
2005-05-15  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Bumped the goffice requirement as we need GORegexp now.
768 769
	Enable a number of additional warnings (when available)
	for which the current code base is already virtually clean.
J.H.M. Dassen (Ray)'s avatar
J.H.M. Dassen (Ray) committed
770 771
	* src/func.c, src/gnumeric-gconf.c: Clean up function declarations.
	* src/sheet.h: Include prototype for sheet_apply_border.
772

773 774 775 776 777
2005-05-13  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=164950
	* src/ranges.c (range_trim) : make this more efficient.

778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795
2005-05-14  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=165734
	* src/value.c (find_rows_that_match) : The column in the condition is
	  absolute, not relative to the start of the input range.

2005-05-14  Jody Goldberg <jody@gnome.org>

	* src/ranges.c (gnm_sheet_range_from_value) : renamed from
	  value_to_global_range.
	(gnm_sheet_range_new) : renamed from global_range_new.
	(gnm_sheet_range_free) : renamed from global_range_free.
	(gnm_sheet_range_overlap) : renamed from global_range_overlap.
	(gnm_sheet_range_dup) : renamed from global_range_dup.

	* src/value.c (value_new_cellrange_str) : renamed from
	  global_range_parse.

796 797
2005-05-13  Morten Welinder  <terra@gnome.org>

798 799 800 801 802 803 804 805 806 807 808 809 810 811 812
	* src/rendered-value.c (get_rotated_layout_bounds): Remove.
	(rendered_value_remeasure): Rework the rotated case to match Excel
	much better.
	(rendered_value_new): Setup new noborders member.

	* src/sheet.c (sheet_apply_border): New functions.  Setting
	borders for rotated cells actually causes different rendering.

	* src/commands.c (cmd_format_undo): Fix CRITICAL.
	(cmd_format_redo): Use sheet_apply_border instead of going
	directly to sheet_style_apply_border.

	* src/cell-draw.c (cell_draw): Rework rotated case to match Excel
	much better.

813 814 815
	* src/style.c (style_default_halign): Handle that down rotations
	are now angles >180, not <0.

816 817 818 819 820
2005-05-13  Stepan Kasal  <kasal@ucw.cz>

	* src/xml-sax-read.c (content_ns, gnumeric_1_0_dtd): Mark these
	  variables with G_GNUC_UNUSED, the #warning below is enough.

821 822 823 824 825 826 827 828 829
2005-05-12  Jody Goldberg <jody@gnome.org>

	* src/value.c (parse_database_criteria) : remove old FIXME with a
	  simple test.

	http://bugzilla.gnome.org/show_bug.cgi?id=165700
	* src/commands.c (update_after_action) : re-focus only controls for
	  the current view, not all controls.

830 831 832 833 834
2005-05-12  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (filter_expr_eval) : for regexp based matches
	  make sure we matched the whole string.

835 836 837 838 839
2005-05-10  Jean Brefort  <jean.brefort@normalesup.org>

	* src/value.c: (value_get_as_gstring): exchange row_sep and col_sep
	when formatting an array formula.

Jody Goldberg's avatar
Jody Goldberg committed
840 841 842 843
2005-05-10  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
844 845 846 847
2005-05-10  Jody Goldberg <jody@gnome.org>

	* Release 1.5.1

848 849
2005-05-09  Morten Welinder  <terra@gnome.org>

850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870
	* src/workbook.c (workbook_sheet_attach_at_pos): Add a ref to
	sheet to balance the unref in workbook_sheet_detach.
	(workbook_sheet_attach): Counter the above ref here.
	(workbook_sheet_add): Counter the above ref here.  Document that
	the returned sheet's ref is owned by the workbook.
	(workbook_sheet_detach): Get rid of sheet views here.  Replace
	almost all uses of this with workbook_sheet_delete.  (It was
	typically used to get rid of sheets that got created during a load
	which then failed.)

	* src/workbook-control-gui.c (wbcg_insert_sheet,
	wbcg_append_sheet): Use new cmd_reorganize_sheets2.

	* src/sheet.c (sheet_set_name): Fix logic to determine if a sheet
	is attached.
	(sheet_cell_destroy): Don't get rid of view here.

	* src/commands.c (command_undo): Hold a ref to cmd so it doesn't
	go away underneath us.  Don't crash if the undo command clears the
	undo queue.

Morten Welinder's avatar
Morten Welinder committed
871 872
	* src/workbook.c (workbook_sheet_state_diff): Implement.

Morten Welinder's avatar
Morten Welinder committed
873
	* src/workbook-control-gui.c (cb_sheet_label_drag_begin): Fix
Morten Welinder's avatar
Morten Welinder committed
874
	multihead issue.  Plug leak.
Morten Welinder's avatar
Morten Welinder committed
875

876 877 878 879 880
	* src/application.c (gnm_app_get_pixbuf): Remove.  All callers
	fixed.
	(add_icon): Don't install both a scalable and a fixed-sized icon.
	Fixes #302902.

881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897
2005-05-08  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c (xml_sax_styleregion_start) : work around use of
	  negative rotations which are used to indicate vertical text.
	* src/xml-io.c (xml_read_style) : ditto.

2005-05-07  Jody Goldberg <jody@gnome.org>

	* src/style.h : Add a 'VALIGN_DISTRIBUTED' that was added in XP
	  dunno what it does yet.
	* src/dialogs/dialog-cell-format.c : Add an entry for DISTRIBUTED

	* src/mstyle.h : document the range of rotation

	* src/workbook-view.c : remove pointless include
	* src/hlink.c : remove pointless include

898 899 900 901 902 903 904 905 906 907
2005-05-07  Jean Brefort  <jean.brefort@normalesup.org>

	* src/dialogs/dialog-about.c: (dialog_about): add NULL third arg
	to go_data_vector_val_new and go_data_vector_str_new.
	* src/stf-parse.c: use go_setlocale instead of gnm_setlocale.
	* src/xml-io.c: (xml_workbook_write), (xml_workbook_read): ditto.
	* src/xml-sax-read.c: (gnm_xml_file_open): ditto.
	* src/xml-sax-write.c: (gnm_xml_file_save),
	(gnm_cellregion_to_xml): ditto.

908 909
2005-05-06  Morten Welinder  <terra@gnome.org>

910 911 912 913 914 915 916 917 918 919
	* src/workbook.c (workbook_sheet_move): Public again.  Fix docs.

	* src/workbook-control-gui.c (gnm_notebook_page_num_by_label):
	Renamed from gtk_notebook_page_num_by_label.
	(cb_sheet_label_drag_data_received): Fix this in the presence of
	hidden sheets.
	(wbcg_sheet_move): Change to take old_pos, not new_pos which is
	trivial to get.  All callers changed.  Fix for the case where some
	sheets are hidden.

920 921 922
	* src/workbook.c (workbook_unref): Remove and replace calls with
	simple g_object_unref

923 924
2005-05-05  Morten Welinder  <terra@gnome.org>

925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944
	* src/workbook.c (workbook_focus_other_sheet): New function.
	(workbook_sheet_hide_controls, workbook_sheet_delete): Use
	workbook_focus_other_sheet.
	(workbook_sheet_unhide_controls): Do nothing if sheet is already
	shown.
	(workbook_sheet_add): Take a numerical position, not a sheet
	pointer for placement.  All callers changed.
	(workbook_sheet_attach_at_pos): New function extracted from
	workbook_sheet_attach.
	(workbook_sheet_attach): Make this not take a placement parameter.
	All callers changed.
	(workbook_sheet_move): Make static, don't return a value, and make
	3d references.
	(workbook_sheet_state_new, workbook_sheet_state_free,
	workbook_sheet_state_restore, workbook_sheet_state_diff): New
	functions.

	* src/commands.c (cmd_reorganize_sheets2): New function.
	(cmd_rename_sheet): Use cmd_reorganize_sheets2.

945 946
	* src/dependent.c (do_deps_destroy): Fix sheet-remove crash.

947 948
2005-05-04  Morten Welinder  <terra@gnome.org>

949 950 951 952 953
	* src/wbc-gtk.c (cb_show_menu_tip): Don't translate a space.

	* src/commands.c (cmd_rename_sheet): Simplify calling convention.
	Single caller fixed.

954 955 956
	* src/gui-util.c (gnumeric_popup_menu): If we have an event
	anchor, use that to figure out what screen to show the popup on.

957 958
2005-05-03  Morten Welinder  <terra@gnome.org>

959 960 961 962 963 964 965 966 967 968 969
	* src/workbook-control-gui.c (cb_zoom_change): New function,
	extracted from wbcg_zoom_feedback.
	(wbcg_zoom_feedback): Remove zoom_feedback method.
	(wbcg_sheet_add): Don't attach to sheet notify signals here.
	(wbcg_sheet_focus): Do it here so we only watch one sheet at a
	time.
	(wbcg_sheet_remove, wbcg_sheet_remove_all): Disconnect here too.

	* src/sheet.c (sheet_set_zoom_factor): Make static and add
	zoom-factor property.  All callers changed.

Morten Welinder's avatar
Morten Welinder committed
970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985
	* src/workbook-view.c (wb_view_prefs_update): Remove.

	* src/workbook-control-priv.h: Remove prefs_update member.

	* src/sheet-control-priv.h: Remove adjust_preferences and
	direction_changed members.

	* src/sheet-control-gui.c (sheet_control_gui_new): Also hook up to
	sheet:text-is-rtl.

	* src/workbook-control-gui-priv.h: Remove rtl property.  All users
	changed to use sheet's text_is_rtl (and some already were).

	* src/sheet-control-gui-priv.h: Remove text_is_rtl property.  All
	users changed to use sheet's text_is_rtl (and some already were).

986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002
	* src/xml-sax-read.c (xml_sax_sheet_name): Use g_object_set to set
	sheet properties.

	* src/workbook-control-gui.c (wbcg_sheet_add): Connect to more
	sheet properties.
	(workbook_control_gui_class_init): Eliminate
	wbc_class->menu_state.sheet_prefs.

	* src/sheet.c (gnm_sheet_set_property): Add properties
	"display-outlines-below" and "display-outlines-right".
	(sheet_adjust_preferences): No need to call
	wb_control_menu_state_sheet_prefs anymore.

	* src/sheet-control-gui.c (sheet_control_gui_new): Connect to
	notify signals for all the sheet properties that cause changed
	display.

Morten Welinder's avatar
Morten Welinder committed
1003 1004
2005-05-02  Morten Welinder  <terra@gnome.org>

1005 1006 1007 1008 1009
	* src/workbook-control-gui.c (wbcg_sheet_add): Connect to
	sheet::name, sheet:tab-foregound, sheet:tab-background.
	(wbcg_sheet_remove): Disconnect.
	(wbcg_sheet_rename): Remove this method from the class.

Morten Welinder's avatar
Morten Welinder committed
1010 1011 1012 1013 1014 1015 1016 1017
	* src/commands.c (cmd_reorganize_sheets_finalize): Plug leak.

	* src/workbook-control-gui.c (cb_sheet_label_drag_end): Plug leak.

	* src/workbook.c (workbook_detach_view): Call sv_dispose to break
	circular links.
	(workbook_sheet_hide_controls): Fix search for focus and thus
	return value.
1018 1019
	(workbook_set_dirty, workbook_is_dirty, workbook_is_pristine):
	Walk the sheet array, not the hash.
Morten Welinder's avatar
Morten Welinder committed
1020 1021 1022 1023 1024 1025 1026 1027 1028

	* src/sheet.c (sheet_destroy): Call sv_dispose to break circular
	links.

	* src/sheet-view.c (sheet_view_new): Keep a ref to the sheet.
	(sv_dispose): New function.
	(sv_real_dispose): Renamed from s_view_finalize (and made proper
	for a dispose function).

1029 1030
2005-05-02  Morten Welinder  <terra@gnome.org>

1031 1032 1033 1034 1035 1036 1037
	* src/sheet-view.c (sv_direction_changed): Make static and change
	to a notification handler.

	* src/sheet.c (sheet_attach_view): Fold into sheet_view_new.
	(sheet_detach_view): Fold into s_view_finalize.
	(gnm_sheet_init): Setup ->sheet_views properly here.

1038 1039 1040 1041 1042 1043 1044 1045 1046 1047
	* src/style-color.c (gnm_style_color_get_type): New function
	defining the type as a boxed type.

	* src/sheet.c: Add "name", "tab-foreground", and "tab-background"
	properties.
	(sheet_set_tab_color): Remove.  All callers changed to use
	g_object_set.
	(sheet_rename): Make static.  All callers changed to use
	g_object_set.

1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075
2005-04-21  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object.[ch]: Add sheet_object_get_target_list.

	* src/sheet-object-image.c (sheet_object_image_get_target_list): 
	New. Gets targets object is able render itself as.
	(soi_imageable_init): Register get_target_list virtual.

	* src/sheet-object-graph.c (sheet_object_graph_get_target_list):
	New. Gets targets object is able render itself as.
	(sog_imageable_init): Register get_target_list virtual.

	* src/sheet-control-gui.c (scg_drag_send_image): Use
	go_mime_to_image_format to get format.

	* src/gui-clipboard.c (image_write): Use go_mime_to_image_format
	to get image format.
	(target_list_to_entries): New. Convert a target list to an array
	of GtkTargetEntries.
	(x_claim_clipboard): Use sheet_object_get_target_list to get
	targets for images.

	* src/gnumeric-pane.c (cb_test_so_imageable): Remove
	(target_list_add_list): New. Add targets from "added_targets" to
	"targets".
	(gnm_pane_drag_begin): Use sheet_object_get_target_list to get
	targets for images.

Morten Welinder's avatar
Morten Welinder committed
1076 1077
2005-04-29  Morten Welinder  <terra@gnome.org>

1078 1079 1080 1081 1082 1083
	* src/sheet.c (gnm_sheet_class_init): Make lots of things
	properties.
	(sheet_set_visibility, sheet_toggle_show_formula,
	sheet_toggle_hide_zeros): Make static (and make the toggle ones
	actually toggle).

Morten Welinder's avatar
Morten Welinder committed
1084 1085 1086 1087 1088 1089
	* src/commands.c (cmd_toggle_rtl_redo): Use go_object_toggle.

	* src/sheet.c (sheet_set_direction): Make static.  Change all
	existing callers to use g_object_set.
	(gnm_sheet_class_init): Install PROP_RTL.

Stepan Kasal's avatar
Stepan Kasal committed
1090 1091
2005-04-28  Stepan Kasal  <kasal@ucw.cz>

Stepan Kasal's avatar
Stepan Kasal committed
1092 1093 1094
	* configure.in (AC_CANONICAL_HOST): Call explicitly, we use $host.
	(WITH_WIN32): Small changes to make more the same as in goffice.
	(--disable-plugins): Support this.
Stepan Kasal's avatar
Stepan Kasal committed
1095
	(WINDRES): Add an AC_ARG_VAR declaration.
Stepan Kasal's avatar
Stepan Kasal committed
1096
	And some whitespace changes.
Stepan Kasal's avatar
Stepan Kasal committed
1097

1098 1099
2005-04-26  Morten Welinder  <terra@gnome.org>

1100 1101 1102 1103 1104 1105
	* src/print-info.c (hf_format_render): If format is NULL, simply
	return NULL.

	* src/print.c (print_hf_element): Handle NULL text from
	hf_format_render same as "".

1106 1107
	* src/gui-file.c (gui_file_save_as): Add a little crash safety.

1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121
2005-04-21  Stepan Kasal  <kasal@ucw.cz>

	* src/Makefile.am (gnumeric-paths.h): Rewrite the rule,
	  gnumeric-paths.sh* is no longer used.
	* src/gnumeric-paths.sh.in: Removed.
	* src/.cvsignore: Remove src/gnumeric-paths.sh.
	* configure.in: Don't generate gnumeric-paths.sh, rearrange the
	  gnumeric_* AC_SUBSTs.
	(gnumeric_gladedir, gnumeric_autoformatdir): Nuke.
	* src/dialogs/Makefile.am (gnumeric_gladedir): Replace by value.
	* templates/autoformat/Makefile.am (autoformatdir): New variable.
	(EXTRA_DIST): Don't use "%" when replacing suffixes; it's GNU make
	  specific.

1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148
2005-04-20  Stepan Kasal  <kasal@ucw.cz>

	gnm_sys_lib_dir() and such now just return the string;
	they don't take any parameter and don't allocate anything.

	* src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
	  Move to gutils.h; #include "gutils.h".
	(gnumeric_icon_dir, gnumeric_locale_dir): Move to gutils.c
	  and make static.
	* src/libgnumeric.c: Likewise.
	(gnm_pre_parse_init): Call gutils_init instead of doing it.
	(gnm_shutdown): Call gutils_shutdown instead of doing it.
	* gutils.h:
	* gutils.c (gutils_init, gutils_shutdown): New functions.
	(gnumeric_usr_dir): New static variable, set up in gutils_init.
	(gnm_sys_lib_dir, gnm_sys_data_dir, gnm_usr_dir): Just return
	  the static string; all callers fixed.
	(gnm_sys_glade_dir, gnm_sys_plugin_dir, gnm_usr_plugin_dir):
	  Nuked; callers fixed to build the string themselves.
	(gnm_icon_dir, gnm_locale_dir): New wrappers; callers fixed.
	(PLUGIN_SUFFIX): Renamed to ...
	(PLUGIN_SUBDIR): ..., and moved to .h.
	* src/gui-util.c (gnumeric_icondir): This function was removed;
	  callers fixed to use gnm_icon_dir.

	* src/sheet-object-image.c: Include goffice/utils/go-glib-extras.h

1149 1150 1151 1152 1153
2005-04-20  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* src/wbc-gtk.c (wbc_gtk_init_font_name): Set
	"case-sensitive" to FALSE. Fix #161382.

1154 1155
2005-04-19  Morten Welinder  <terra@gnome.org>

1156 1157 1158 1159 1160 1161 1162 1163
	* src/clipboard.c (clipboard_init, clipboard_shutdown): New
	functions.
	(gnm_cell_copy_new): Alloc in pool.
	(cellregion_unref): Free from pool.

	* src/libgnumeric.c (gnm_common_init): Call clipboard_init.
	(gnm_shutdown): Call clipboard_shutdown.

Morten Welinder's avatar
Morten Welinder committed
1164 1165
	* */*.c: #include fixes.

1166 1167 1168
	* src/rangefunc.c (range_mode): Fix the case where multiple
	different values occur equally often.

1169 1170 1171 1172 1173 1174 1175
2005-04-18  Stepan Kasal  <kasal@ucw.cz>

	* src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
	(gnumeric_icon_dir, gnumeric_locale_dir): Declare as "const char*",
	  not "const char[]"; we use "&gnumeric_lib_dir" sometimes.
	* src/libgnumeric.c: Likewise.

1176 1177 1178 1179 1180
2005-04-19  Stepan Kasal  <kasal@ucw.cz>

	* src/Makefile.am (SUFFIXES): Remove, Automake (at least >= 1.7)
	  deduces this.

Stepan Kasal's avatar
Stepan Kasal committed
1181 1182 1183 1184 1185 1186 1187
2005-04-18  Stepan Kasal  <kasal@ucw.cz>

	* src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
	(gnumeric_icon_dir, gnumeric_locale_dir): Declare as "const char[]"
	to get rid of some warnings (unless we are on OS/2). 
	* src/libgnumeric.c: Likewise.

Stepan Kasal's avatar
Stepan Kasal committed
1188 1189
2005-04-18  Stepan Kasal  <kasal@ucw.cz>

1190
	* configure.in: Call PKG_PROG_PKG_CONFIG explicitly.
Stepan Kasal's avatar
Stepan Kasal committed
1191 1192 1193 1194 1195 1196
	* Makefile.am (dist-hook): Don't handle gnumeric.spec here, ...
	(EXTRA_DIST): ... it's enough to add it here.
	  I tested this change with automake versions 1.7.9, 1.8.5 and 1.9.5.
	* schemas/Makefile.am: To silence `automake -Wall', don't use
	pattern rules (with %.reg), use portable suffix rules instead.

1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209
2005-04-16  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* configure.in:
	* Makefile.am: New subdir 'tools', we now have a win32
	binary to build.

	* schemas/Makefile.am: Install .reg files into
	$prefix/etc/win32/reg. Two versions are served, i.e.
	.hkcu.reg and .reg. When the user chooses to install
	gnumeric/win32 for the "current user" only, use .hkcu.reg
	and otherwise .reg.

	* src/tools/Makefile.am:
Stepan Kasal's avatar
Stepan Kasal committed
1210 1211
	* src/tools/gconf-schemas-to-win32-reg.c: Moved to tools/;
	see tools/ChangeLog for details.
1212

Stepan Kasal's avatar
Stepan Kasal committed
1213 1214 1215 1216
2005-04-15  Stepan Kasal  <kasal@ucw.cz>

	* schemas/Makefile.am (CLEANFILES): Add $(reg_DATA), if we are
	  building .reg files.
1217
	Don't distribute $(schema_DATA).
Stepan Kasal's avatar
Stepan Kasal committed
1218

1219 1220 1221 1222 1223 1224
2005-04-13  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (pfuncinverter): Handle Newton search when log_p
	is TRUE.
	(dgamma1, dbeta1): Don't bail out for log_p.

1225 1226
2005-04-13  Jon K Hellan  <hellan@acm.org>

1227 1228 1229
	* src/gui-clipboard.c (x_claim_clipboard): Don't clear clipboard
	if we still own CLIPBOARD.

1230 1231 1232 1233 1234 1235
	* src/sheet-control-gui.c (scg_drag_receive_uri_list): Handle a
	bunch of extra mime types for dropped files.
	(scg_drag_receive_cellregion, 
	(scg_drag_receive_same_proc_other_scg,
	(scg_drag_send_clipboard_objects): Check that cell region is non
	null before using it.
1236

1237 1238 1239
2005-04-12  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wb_view_sendto): Fix setting of "problem".
1240
	Handle failure of mkdtemp.
1241

1242 1243 1244 1245
2005-04-11  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (qf): Make our own version of this.

1246 1247
2005-04-10  Ivan, Wong Yat Cheung  <email@ivanwong.info>

1248 1249
	* src/dialogs/dialog-preferences.c (cb_pref_font_hf_set_fonts,
	cb_pref_font_set_fonts):
Stepan Kasal's avatar
Stepan Kasal committed
1250
	They were broken by my changes in 2005-04-08.
1251

Morten Welinder's avatar
Morten Welinder committed
1252 1253 1254 1255 1256
2005-04-09  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (qf): Make our own version of this.  It's quite
	simple now that we have a working qbeta.

1257 1258 1259 1260 1261 1262
2005-04-05  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=162951 : trivial
	* src/sheet-control-gui.c (scg_comment_display) : remove some
	  unnecessary code now that a gtk bug has been fixed.

1263 1264 1265 1266 1267 1268
2005-04-09  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* configure.in: Determine whether we are cross-compiling.

	* src/libgnumeric.[ch]: Path variables should not be const.

1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290
2005-04-08  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* schemas/Makefile.am: Convert .schemas to .reg if host_os ==
	win32 and we are not cross-compiling.

	* src/application.c (gnm_app_history_add):
	* src/libgnumeric.c (gnm_shutdown):
	* src/print-info.c:
	* src/dialogs/dialog-function-select.c
	(dialog_function_write_recent_func):
	* src/dialogs/dialog-preferences.c:
	* src/tools/auto-correct.c: adopt to the modified
	gnumeric-gconf's api.

	* src/tools/Makefile.am:
	* src/tools/gconf-schemas-to-win32-reg.c: New. The name
	explains itself.

	* src/gnumeric-gconf-priv.h:
	* src/gnumeric-gconf.[ch]: Introduce the concept of a
	"node". Implement the win32 backend.

Morten Welinder's avatar
Morten Welinder committed
1291 1292
2005-04-08  Morten Welinder  <terra@gnome.org>

1293 1294 1295
	* src/mathfunc.c (pfuncinverter): Improve in the special case
	where one of the interval endpoints is 0.

1296 1297 1298 1299
	* src/xml-sax-write.c (gnm_xml_file_save): Untangle the
	do-we-compress logic and make it work.  Fixes #173030.
	* src/xml-io.c (gnumeric_xml_write_workbook): Ditto.

Morten Welinder's avatar
Morten Welinder committed
1300 1301 1302
	* src/xml-sax-write.c (xml_write_cell_and_position): Fix crash.
	* src/xml-io.c (xml_write_cell_and_position): Ditto.

1303 1304 1305 1306 1307
2005-04-04  Morten Welinder  <terra@gnome.org>

	* src/stf-export.c (stf_export_cell): Introduce "auto" mode and do
	something sensible with dates and times.  (Fixes #128936)

1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318
2005-04-04  Stepan Kasal  <kasal@ucw.cz>

	s/INCLUDES/AM_CPPFLAGS/  "automake -Wall" has told me this.

	* src/Makefile.am (non-intermediate): New dummy rule; see
		http://bugzilla.gnome.org/show_bug.cgi?id=172211 and
		http://bugzilla.gnome.org/show_bug.cgi?id=172212
	(.list.c, .list.h): Remove $(GLIB_GENMARSHAL); it didn't work
	  anyway, the prerequisities of an implicit rule are ignored.
	* Makefile.am: Use $(POFILES_FULL), not GNU-specific $(wildcard...).
	* configure.in (GLIB_GENMARSHAL): Full path is not needed.
Stepan Kasal's avatar
Stepan Kasal committed
1319
	(POFILES_FULL): New AC_SUBSTed variable, contains full paths to
1320 1321 1322 1323 1324
	  po/*.po files.
	(perl): Fix a typo, and a few cosmetic changes.
	(AC_OUTPUT): Remove plugins/perl/*.
	* plugins/perl/*: Removed.

1325 1326 1327 1328
2005-04-04  Morten Welinder  <terra@gnome.org>

	* src/stf-export.c: Derive from GsfOutputCsv.

Jody Goldberg's avatar
Jody Goldberg committed
1329 1330 1331 1332
2005-04-04  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-write.c (gnm_cellregion_to_xml) : add a namespace decl

1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345
2005-04-04  Jody Goldberg <jody@gnome.org>

	* src/xml-sax-read.c : moved into the core from a plugin
	* src/xml-sax-write.c : ditto.
	(gnm_cellregion_to_xml) : new.

	* src/xml-io.c (xml_cellregion_write) : delete the DOM based version.
	(xml_init) : register the sax in/out routines

2005-04-04  Jody Goldberg <jody@gnome.org>

	* src/gui-clipboard.c (cellregion_to_string) : remove offset.

1346 1347 1348 1349
2005-04-02  Morten Welinder  <terra@gnome.org>

	* configure.in (perl): Fix perl checks.  (I hope.)

1350 1351 1352 1353 1354
2005-04-02  Jean Brefort  <jean.brefort@normalesup.org>

	* src/style.c: (style_init), (style_shutdown): removed calls to 
	number_format_init/shutdown (moved to goffice).

1355 1356
2005-04-01  Steve Murphy  <murf@e-tools.com>

1357
	* configure.in: Added "rw" to ALL_LINGUAS.
1358

1359 1360 1361 1362 1363
2005-04-01  Morten Welinder  <terra@gnome.org>

	* src/stf.c (csv_tsv_probe): In the content phase, decode to UTF-8
	before testing.  (Fixes #167191.)

1364 1365 1366 1367 1368
2005-04-01  Jon K Hellan  <hellan@acm.org>

	* src/gnm-so-filled.c (gnm_so_polygon_write_xml_dom) 
	(gnm_so_polygon_write_xml_sax): Fix warnings.

1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412
2005-04-01  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (wbcg_sheet_add): Make the
	GNUMERIC_SHEET target GTK_TARGET_SAME_APP. 
	(cb_wbcg_drag_data_received): Added source_widget parameter.

	* src/sheet-object.c (sheet_object_rubber_band_directly): Always
	return FALSE.

	* src/gnumeric-pane.c (drag_types_in, drag_types_out):
	New. Supported drag targets.
	(cb_pane_drag_data_received): Pass source widget to
	scg_drag_data_received. 
	(cb_gnm_pane_drag_data_get): New. drag-data-get callback.
	(cb_gnm_pane_drag_motion): New. drag-motion callback.
	(cb_gnm_pane_drag_leave): New. drag-leave callback.
	(gnm_pane_drag_dest_init): New. Factor out of gnm_pane_init and
	Connect drag-data-get, drag-motion and drag-leave callbacks. 
	(gnm_pane_init): Use it.
	(gnm_pane_objects_drag): New. Factored out of gnm_pane_object_move.
	(gnm_pane_object_move): Use it.
	(cb_test_so_imageable): New. Check if object is imageable.
	(gnm_pane_drag_begin): New. Start gtk drag.
	(cb_control_point_event): Use it.

	* src/sheet-control-gui.c (scg_paste_cellregion): New. Paste
	a cellregion.
	(scg_drag_receive_cellregion): New. Receive a dropped cellregion.
	(scg_drag_receive_uri_list): New. Receive a dropped uri list.
	(scg_drag_receive_same_scg): New. Receive a drop from same scg.
	(scg_drag_receive_same_proc_other_scg): New. Receive a drop from
	another scg in same process.
	(scg_drag_receive_same_process): New. Receive a drop from this
	gnumeric process.
	(scg_drag_data_received): Added source_widget parameter. Handling
	of each target moved to a separate function. Added support for gnumeric
	gtk clipboard format. Added support for process internal dnd which
	shortcuts the selection.
	(scg_drag_send_image): New. Send an image over the dnd selection.
	(scg_drag_send_clipboard_objects): New. Send selected objects over
	the dnd selection. Gnumeric gtk clipboard format is used.
	(scg_drag_data_get): New. Send selected objects over the dnd
	selection in requested format.

Morten Welinder's avatar
Morten Welinder committed
1413 1414
2005-04-01  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1415
	* src/stf-export.c: Gut.  Use GsfOutputCsv.  (Fixes #126513.)
Morten Welinder's avatar
Morten Welinder committed
1416

1417 1418
2005-03-31  Morten Welinder  <terra@gnome.org>

1419 1420 1421
	* src/wbc-gtk.c (regenerate_window_menu): Clean up and allow more
	windows in the menu.

1422 1423 1424
	* src/search.c (gnm_search_replace_class_init): Make scope a
	property too.

1425 1426 1427
	* src/commands.c (cmd_set_text): Improve undo description.  Fixes
	#171637.

1428
	* src/workbook-view.c (wbv_save_to_uri): Don't set the error if we
Morten Welinder's avatar
Morten Welinder committed
1429 1430
	already have one.  Together with libgsf and goffice changes, this
	fixes #168581.
1431

1432 1433 1434 1435 1436 1437
2005-03-31  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=87528
	* src/commands.c (cmd_paste_copy) : When not transposing and pasting
	  into a single cell, be more flexible and allow full cols/rows.

1438 1439 1440 1441 1442
2005-03-31  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=87477
	* src/commands.c (cmd_paste_copy) : Use a nice simple tiling approach.

1443 1444
2005-03-30  Morten Welinder  <terra@gnome.org>

1445 1446 1447 1448 1449 1450 1451
	* src/search.c (search_collect_cells): Drop sheet argument.  We
	already have it.  All callers changed.

	* src/commands.c (cmd_search_replace_do): Drop unused sheet and
	workbook arguments.  All callers changed.
	(cmd_search_replace): Drop sheet argument.  All	callers changed.

1452 1453
	* src/search.c: Adapt to goffice changes.  (Aka make it an object
	and cut most of it.)
1454
	(gnm_search_replace_class_init): Define a pile of properties.
1455

Jody Goldberg's avatar
Jody Goldberg committed
1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490
2005-03-29  Jody Goldberg <jody@gnome.org>

	* src/func.c (tokenized_help_new) : warning suppression.

	* src/expr.c (gnm_expr_is_array) : new.

2005-03-29  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_write_cell_and_position) : Take a value and
	  expression directly rather than a Cell to allow re-use between the
	  new clipboard data structure GnmCellCopy and GnmCell.

	* src/gui-clipboard.c (text_to_cell_region) : store data directly.
	(cellregion_to_string) : moved from clipboard.c and tweaked to support
	  the new data structure.
	(x_clipboard_get_cb) : no need for a pango context, we ignore variable
	  width formats when exporting.

	* src/sheet-style.c (style_list_get_style) : Use col & rol vs CellPos.

	* src/clipboard.c : Simplify GnmCellCopy and remove the ancient bogus
	  notion of keeping a copy of a full cell.
	(contents_as_expr) : renamed from cell_get_contents_as_expr, and
	  changed to take the expr and val directly.
	(apply_paste_oper_to_values) : deleted and merged into.
	(paste_cell_with_operation) : here.
	(gnm_cell_copy_new) : new.
	(paste_cell) : add some const.
	(clipboard_paste_region) : const and adjust to the changes.
	  We can test for pasting content here rather than per-cell.
	(cb_clipboard_prepend_cell) : use gnm_cell_copy_new.
	(cellregion_unref) : adjust to data structure change.
	(cellregion_to_string) : moved into gui-clipboard.c.  It's not really
	  gui specific but that is the only thing that uses it for now.

1491 1492 1493 1494
2005-03-29  Jon K Hellan  <hellan@acm.org>

	* src/xml-io.c (xml_cellregion_read): Silence warning.

1495 1496 1497 1498 1499
2005-03-29  Morten Welinder  <terra@gnome.org>

	* src/parse-util.c (col_name_internal): Handle nagative column
	numbers a bit saner.

Stepan Kasal's avatar
Stepan Kasal committed
1500 1501 1502 1503
2005-03-29  Stepan Kasal  <kasal@ucw.cz>

	* configure.in (--with-perl): Mention bug #171957.

1504 1505
2005-03-28  Jon K Hellan  <hellan@acm.org>

1506 1507 1508
	* src/gui-clipboard.c (image_write): Look harder for selected
	imageable objects.

1509 1510 1511 1512 1513
	* src/item-grid.c (drag_start): Remove.
	(item_grid_button_press): Don't call drag_start.

	* src/xml-io.c (xml_cellregion_read): Make param 'buffer' const.

Morten Welinder's avatar
Morten Welinder committed
1514 1515 1516 1517 1518 1519 1520 1521 1522
2005-03-28  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wb_view_auto_expr_precision): New function.

	* src/workbook-control-gui.c (cb_auto_expr_precision_toggled): New
	function.
	(cb_select_auto_expr): Add a check item to control whether maximum
	precision is used.

1523 1524 1525 1526 1527 1528 1529 1530 1531
2005-03-28  Jon K Hellan  <hellan@acm.org>

	* src/clipboard.[ch]: (clipboard_copy_obj): New. Returns a cell
	region with copies of objects in list. Factored out of
	gnm_app_clipboard_cut_copy_obj.

	* src/application.c (gnm_app_clipboard_cut_copy_obj): Use
	clipboard_copy_obj. 

1532 1533
2005-03-28  Morten Welinder  <terra@gnome.org>

1534 1535
	* src/workbook-view.c (wb_view_auto_expr_recalc): Take format from
	auto-format.
1536
	(wb_view_auto_expr_recalc): Plug leak.
1537

1538 1539 1540
	* src/xml-io.c: Don't include <goffice/utils/go-locale.h> which
	just went away and wasn't needed anyway.

1541 1542 1543
	* src/*.c src/*/*.c plugins/*/*.c: Use canonical object property
	names.

1544 1545 1546 1547 1548 1549
2005-03-24  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=171503
	* src/gnumeric-gconf.c (gnm_gconf_set_printer_config) : take control
	  of the string.

1550 1551 1552 1553 1554
2005-03-24  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/style-border.c (style_border_hash): use GPOINTER_TO_UINT
	  rather than just casting.

1555 1556 1557 1558
2005-03-24  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (x_clipboard_get_cb): Plug leak.

Morten Welinder's avatar
Morten Welinder committed
1559 1560
2005-03-24  Morten Welinder  <terra@gnome.org>

1561 1562 1563 1564
	* src/mathfunc.c (tdistexp): Take a log_p flag.  Improve accuracy
	a tiny bit, mostly in the log case.
	(binApprox): Move logs earlier and improve log case's accuracy.

Morten Welinder's avatar
Morten Welinder committed
1565 1566 1567 1568 1569
	* src/application.c (gnm_app_get_pixbuf): Use non-zero size.

	* src/print.c (print_hf_element): If we have no format, don't
	print anything.

1570 1571 1572 1573 1574 1575
2005-03-23  Morten Welinder  <terra@gnome.org>

	* src/numbers.h: For long double support, include sunmath.c if we
	have it.
	* configure.in: Check for sunmath.h

1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586
2005-03-23  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-graph.c (sheet_object_graph_write_image): 
	New. Implements SheetObjectImageable. Extracted from
	sog_cb_save_as. 
	(sog_cb_save_as): Use sheet_object_write_image.
	(sog_imageable_init): SheetObjectImageable gobject voodoo.

	* src/application.c (gnm_app_clipboard_cut_copy_obj): Save sheet
	object points dimensions as object data.

1587 1588
2005-03-23  Morten Welinder  <terra@gnome.org>

1589 1590 1591 1592
	* src/io-context-gtk.c (icg_processing_file): Fix for Win32.
	* src/main-application.c (warn_about_ancient_gnumerics): Fix for
	Win32.

1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606
	* src/workbook-view.c (wb_view_sendto): Use g_mkdir, not mkdir.
	(cb_cleanup_sendto): Use g_unlink and g_rmdir, not unlink and
	rmdir.

	* src/mathfunc.c (random_01): Use g_open, not open.

	* src/main-application.c (warn_about_ancient_gnumerics): use
	g_stat, not stat.

	* src/func.c (function_dump_defs): Use g_fopen, not fopen.

	* src/file-autoft.c (category_list_get_from_dir_list): Use
	g_file_test, not stat.

Stepan Kasal's avatar
Stepan Kasal committed
1607 1608 1609 1610 1611
2005-03-23  Stepan Kasal  <kasal@ucw.cz>

	* configure.in (HAVE_LIBZ): Don't define it, noone uses it, since
	  zlib is mandatory.

1612 1613
2005-03-22  Morten Welinder  <terra@gnome.org>

Stepan Kasal's avatar
Stepan Kasal committed
1614 1615 1616
	* templates/autoformat/Makefile.am (install-data-local): Don't use
	${var#pat} and ${var%pat}; it's POSIX feature, but it doesn't work
	with Solaris' /bin/sh.
1617

1618 1619 1620
2005-03-22  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (wbcg_update_action_sensitivity): Set
1621 1622 1623 1624
	editability of sheet tabs too.  Fixes #170958.
	(sheet_menu_label_run): If we have only one sheet, keep "Remove"
	in the menu, but make it inactive.  Disable everything when we
	have a guru.  Use an enum, not a define for bit fields.
1625

Stepan Kasal's avatar
Stepan Kasal committed
1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638
2005-03-22  Stepan Kasal  <kasal@ucw.cz>

	* autogen.sh: REQUIRED_AUTOCONF_VERSION=2.54  We already required
	  that indirectly, by asking for Automake >= 1.7.2.
	* configure.in: AC_PREREQ(2.54)
	  - don't default to --without-gtk even if the reqs are not met;
	  - fail if someone tries --with-python=/path;
	  - when searching for $PYTHON, try python2.4 and such; 
	  - don't generate stamp.h; the issue is solved by Automake 1.7.2;
	    see info '(autoconf)Automatic Remaking' for details.
	* stamp.h.in: Nuke.
	* .cvsignore: Remove stamp.h and stamp-h.in.

1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649
2005-03-21  Morten Welinder  <terra@gnome.org>

	* src/workbook.c (workbook_dispose): Simplify using
	workbook_set_saveinfo.  Move destruction of local functions to
	here.
	(workbook_finalize): From here.
	(workbook_sheet_name_strip_number): Fix docs; handle overflow;
	return unsigned value.
	(workbook_sheet_get_free_name): Adapt to changes in
	workbook_sheet_name_strip_number.

1650 1651 1652 1653 1654 1655 1656 1657 1658
2005-03-21  Stepan Kasal  <kasal@ucw.cz>

	* autogen.sh: Remove the unfortunate TRANSL_ONLY; fix the explanation
	  why we need our own copy of po/Makefile.in.in; use a nicer code to
	  generate po-functions/POTFILES.*.
	* README: Fix the Debian package name for pango, remove the intltool
	  requirement.
	* gnumeric.spec.in: Update the dependencies.

1659 1660 1661 1662
2005-03-17  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (x_claim_clipboard): Check for content == NULL.

Morten Welinder's avatar
Morten Welinder committed
1663 1664 1665 1666
2005-03-17  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (maybe_convert): Use go_guess_encoding.

Stepan Kasal's avatar
Stepan Kasal committed
1667 1668 1669 1670 1671
2005-03-17  Stepan Kasal  <kasal@ucw.cz>

	* autogen.sh: Use egrep, not awk; there is a system which distributes
	  a very broken version of it.  Thanks to Morten for noting this.

1672 1673
2005-03-16  Morten Welinder  <terra@gnome.org>

1674 1675 1676
	* src/xml-io.c (maybe_convert): Explicitly try ISO-8859-1 if
	locale fails.

Morten Welinder's avatar
Morten Welinder committed
1677 1678 1679 1680 1681 1682 1683 1684 1685 1686
	* src/workbook-control.c (wb_control_update_title): Handle NULL
	basename.

	* src/wbc-gtk.c (regenerate_window_menu): Ignore workbooks where
	we don't get a valid basename.

	* src/workbook-priv.h (struct Workbook): Remove .basename.

	* src/workbook.c (workbook_get_basename): Delete, it's unused.

1687 1688
	* src/parse-util.c (row_parse): Fix parsing problem.  [#170465]

1689 1690 1691 1692 1693 1694
2005-03-13  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=169830
	* src/gnumeric-pane.c (gnm_pane_init) : init the zoom.
	(gnumeric_pane_header_init) : ditto.

1695 1696 1697
2005-03-16  Stepan Kasal  <kasal@ucw.cz>

	* autogen.sh: require intltool >= 0.29; fix IFS handling;
1698 1699 1700
	  create po*/Makefile.in.in and po-functions/POTFILES.* ---
	  and if the traslators don't want anything but these files, they
	  can just run "TRANSL_ONLY=1 ./autogen.sh".
1701 1702 1703
	* acinclude.m4: Nuked, it shouldn't be needed.
	* Makefile.am (ACLOCAL_AMFLAGS): Remove.
	* configure.in: Do AC_SUBST(ACLOCAL_AMFLAGS, $ACLOCAL_FLAGS);
1704 1705 1706 1707 1708 1709
	  don't show --with-guile in the help, don't configure
	  directories plugins/gb/ and plugins/guile/.
	* plugins/Makefile.am (SUBDIRS): Simplify the conditional
	  assignments; omit subdirs gb and guile.
	* plugins/gb/Makefile.am, plugins/guile/Makefile.am: Add a text to
	  the top, warning about POTFILES.skip.
1710 1711 1712 1713 1714 1715 1716
	* src/pixmaps/Makefile.am (STRIP_BEGIN, STRIP_END, STRIP_DUMMY):
	  Remove these, I see no need for them; the cosmetic advantage
	  can be achieved with one echo.
	* configure.in (STRIP_BEGIN, STRIP_END, STRIP_DUMMY): Don't detect.

	In many files, fix the typo contraint --> constraint.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
1717 1718 1719 1720 1721 1722 1723
2005-03-15  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (image_write): New. Write an object as image
	to the clipboard.
	(x_clipboard_get_cb): Analyze clipboard content and advertise
	image formats when appropriate.

1724 1725
2005-03-15  Morten Welinder  <terra@gnome.org>

1726 1727 1728
	* src/search.h (struct SearchFilterResult): Don't store cell and
	comment.

1729 1730 1731 1732 1733 1734 1735
	* src/workbook.c (workbook_sheet_detach): Emit sheet_deleted
	signal here.
	(workbook_sheet_delete): Not here.
	(workbook_dispose): New function, extracted from
	workbook_finalize.
	(workbook_class_init): Install ->dispose.

1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751
2005-03-15  Jon K Hellan  <hellan@acm.org>

	* src/sheet-object-image.c (sheet_object_image_write_image):
	New. Implements SheetObjectImageable. Extracted from
	soi_cb_save_as. 
	(soi_cb_save_as): Use sheet_object_write_image.
	(soi_imageable_init): SheetObjectImageable gobject voodoo.

	* src/sheet-object.[ch] (sheet_object_imageable_get_type): New. For
	the SheetObjectImageable interface.
	(sheet_object_write_image): New. Method of SheetObjectImageable.

	* src/sheet-object-impl.h: Add _SheetObjectImageableIface

	* src/gnumeric.h: Add SheetObjectImageableIface

1752 1753
2005-03-14  Morten Welinder  <terra@gnome.org>

1754 1755 1756 1757 1758 1759 1760
	* src/sheet.c (sheet_finalize): New function, split out from
	sheet_destroy.
	(sheet_destroy): Just unref objects we hold refs for, i.e., no
	longer finalize.  All callers changed to unref sheet also.
	(gnm_sheet_class_init): Install sheet_finalize.  Define
	detached_from_workbook signal.

1761 1762 1763
	* src/workbook-control-gui.c (wbcg_validation_msg): Fix arg order
	of go_gtk_dialog_run call.

1764 1765 1766
	* src/gui-file.c (gui_file_save_as): Don't force local-only file
	chooser.

1767 1768 1769 1770 1771 1772 1773
2005-03-12  Jon K Hellan  <hellan@acm.org>

	* src/wbcg-actions.c: Add <Ctrl>+P accelerator for print.

	* src/gui-clipboard.c (table_content_received): Paste selection
	with only objects, no cells.

1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785
2005-03-10  Morten Welinder  <terra@gnome.org>

	* src/print-cell.c (print_cell): Pretend to have zoom=100%.

	* src/sheet-control-gui.h (scg_get_style_font): Delete.  Expand
	into all callers.

	* src/rendered-value.c (rendered_value_new,
	rendered_value_render): Take zoom as a parameter.  All callers
	changed.
	(calc_indent): Take zoom instead of sheet as parameter.

1786 1787 1788 1789 1790
2005-03-11  Jon K Hellan  <hellan@acm.org>

	* src/gnumeric-pane.c (gnm_pane_init): Add drag action
	GDK_ACTION_MOVE. Needed for drag receive from konqueror.

1791 1792 1793 1794 1795 1796 1797 1798 1799 1800
2005-03-11  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (text_content_received): New. Split out of
	complex_content_received.
	(image_content_received): New. Receive image data.
	(table_content_received): Renamed from complex_content_received
	and split.
	(x_targets_received): Renamed from x_clipboard_received.
	(x_request_clipboard): Use gtk_clipboard_request_targets-

1801 1802 1803 1804 1805 1806 1807 1808
2005-03-10  Jon K Hellan  <hellan@acm.org>

	* src/sheet-control-gui.c (scg_image_create): New. The parts which
	are common to scg_paste_image and scg_drag_receive_img_data.
	(scg_paste_image): New. Create an image at natural size and place
	it  at position given by range.
	(scg_drag_receive_img_data): Move parts to scg_image_create.

1809 1810 1811 1812 1813
2005-03-09  Morten Welinder  <terra@gnome.org>

	* configure.in (with-long-double): ride on top of libgoffice's
	stuff.  That kills all the ugly stuff here.

1814 1815 1816 1817
2005-03-07  Jon K Hellan  <hellan@acm.org>

	* src/sheet-control-gui.c (scg_drag_data_received): Check for NULL.

1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834
2005-03-07  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (cb_wbcg_drag_data_received):
	Delegate text/uri-list to scg_drag_data_received.

	* src/sheet-control-gui.c (scg_drag_receive_img_data): New. Receive
	dragged image data.
	* src/sheet-control-gui.c (scg_drag_receive_img_uri): New. Receive
	dragged image uri.
	(scg_drag_receive_spreadsheet): New. Receive dragged spreadsheet
	uri.
	(scg_drag_data_received): New. Receive drag data.

	* src/gnumeric-pane.c (cb_pane_drag_data_received): New. Receive
	drag data.
	(gnm_pane_init): Register as drag destination.

Morten Welinder's avatar
Morten Welinder committed
1835 1836
2005-03-07  Morten Welinder  <terra@gnome.org>

1837
	* configure.in: We no longer need the "finite" hackery.
1838

Morten Welinder's avatar
Morten Welinder committed
1839 1840
	* src/mathfunc.c (mathfunc_init): Use goffice's nan etc.

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
1841 1842 1843 1844 1845 1846
2005-03-04  Jon K Hellan  <hellan@acm.org>

	* src/ssindex.c (main): Plugin api renamed.

	* src/ssconvert.c (main): Ditto.

1847 1848 1849 1850 1851
2005-03-04  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/sheet-control-gui.c (apply_move): don't get rtl flag from 
	gcanvas, since it can be not fully initialized.
	
1852 1853 1854 1855 1856
2005-03-03  Jon K Hellan  <hellan@acm.org>

	* src/session.c (interaction_function): Deiconify toplevel before
	displaying save/cancel dialog.

1857 1858 1859 1860 1861 1862 1863
2005-03-03  Morten Welinder  <terra@gnome.org>

	* src/item-cursor.c (item_cursor_target_region_ok): Fix
	go_gtk_query_yes_no arg order.
	* src/gui-file.c (check_multiple_sheet_support_if_needed): Ditto.
	(gui_file_save_as): Ditto.

1864 1865 1866 1867
2005-03-02  Morten Welinder  <terra@gnome.org>

	* configure.in (gnumeric_gtk_reqs): Get rid of GnomeCanvas.

1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883
2005-03-01  Jody Goldberg <jody@gnome.org>

	* (all plugins) :
	    s/GNUMERIC_MODULE_PLUGIN_INFO_DECL/
	    GOFFICE_MODULE_PLUGIN_INFO_DECL(GNUMERIC_VERSION)/

	* configure.in : Add the libgoffice depend and remove the
	  src/cut-n-paste/goffice dirs
	remove test for gnome_print_pango_create_layout.
	    pango_layout_set_ellipsize,
	    pango_context_set_matrix,
	    pango_context_get_font_map

	* src/Makefile.am : drop the built in libgoffice and pcre libraries
	  we pull them externally now.

Morten Welinder's avatar
Morten Welinder committed
1884 1885 1886 1887 1888 1889
2005-03-01  Morten Welinder  <terra@gnome.org>

	* src/gui-util.c (gnumeric_glade_group_value): Constify.
	* src/mstyle.c (mstyle_names): Constify.
	* src/summary.c (summary_item_name): Constify.

1890 1891 1892 1893 1894 1895 1896 1897 1898
2005-02-28  Morten Welinder  <terra@gnome.org>

	* src/rendered-value.c (rendered_value_render): For numbers, map
	'-' to U2212 which has same width as "+".

	* src/gnm-format.h: Define a bunch of unicode characters by name.
	* src/parser.y (yylex): Use these.
	* src/cell-draw.c (cell_calc_layout): Ditto.

Morten Welinder's avatar
Morten Welinder committed
1899 1900
2005-02-25  Morten Welinder  <terra@gnome.org>

1901 1902 1903
	* src/main-application.c (main): Properly get rid of wbcgs when
	using --quit.

1904 1905 1906 1907 1908
	* src/workbook-control-gui.c (wbcg_create_status_area): Keep a ref
	for ->auto_expr_label in case the idle handler for updating it
	triggers at an inconvenient time.
	(wbcg_finalize): Unref.

Morten Welinder's avatar
Morten Welinder committed
1909 1910
	* src/main-application.c (main): Fix leak.

Morten Welinder's avatar
Morten Welinder committed
1911 1912
	* src/gnumeric-gconf.c (gnm_conf_shutdown): Fix crash with --quit.

1913 1914
2005-02-24  Morten Welinder  <terra@gnome.org>

1915 1916 1917
	* src/gui-file.c (gui_file_save_as): Fix arg order for
	go_url_check_extension.

1918 1919 1920
	* src/wbcg-actions.c: Mark action arrays const now that 142334 has
	been fixed.  Assume GTK_STOCK_ABOUT.

1921 1922 1923 1924 1925 1926
2005-02-23  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (cb_sheet_label_drag_data_received, 
	cb_sheet_label_drag_leave, cb_sheet_label_drag_motion): Don't
	crash or complain if drag source is in a different process.

1927 1928 1929 1930 1931 1932 1933 1934
2005-02-22  Stepan Kasal  <kasal@ucw.cz>

	* configure.in: Fix creation of po-functions/POTFILES.
	* src/Makefile.am: Fix declarations for generated sources.
	* src/cut-n-paste-code/goffice/utils/Makefile.am: Likewise.
	* plugins/corba/Makefile.am: Likewise.
	* idl/Makefile.am: Likewise.

1935 1936 1937 1938 1939
2005-02-18  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (count_character): Ignore completely empty
	lines.  They aren't telling us anything about separators.

1940 1941 1942 1943 1944
2005-02-17  Jody Goldberg <jody@gnome.org>

	* src/func.c (cb_generate_po) : more validation in preparation for
	  regenerating the help and po.

Jody Goldberg's avatar
Jody Goldberg committed
1945 1946 1947 1948 1949 1950 1951 1952
2005-02-16  Jody Goldberg <jody@gnome.org>

	* src/libgnumeric.c (gnm_pre_parse_init) : set the path for the new
	  gnumeric-functions message catalog

	* src/gnumeric-gconf.c : Add an ifdef to silence the gconf warnings
	* src/io-context.[ch], src/io-context-priv.h : move into goffice/app

1953 1954
2005-02-15  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1955 1956
	* src/main-application.c: Typo.  [#167495]

1957 1958 1959 1960
	* src/gui-file.c (do_save_as): Expand into lone caller.  Destroy
	dialog right after we're done with it, so there user doesn't get
	to press Save while we save.

1961 1962 1963 1964 1965 1966
2005-02-14  Stepan Kasal  <kasal@ucw.cz>

	Don't use #include <src/xyz.h>, as `-I $(top_srcdir)' is not
	always in the flags; none of these headers is duplicate in the
	tree, so we can safely omit the dirname.

1967 1968 1969 1970 1971 1972 1973 1974
2005-02-14  Stepan Kasal  <kasal@ucw.cz>

	* src/solver.h: Define most of the structures even if !ENABLE_SOLVER.
	* src/xml-io.c (xml_read_solver, xml_write_solver): Compile these two
	  functions even if !ENABLE_SOLVER, so that we don't cripple the
	  files we open and save; the only thing we really cannot do is to
	  to compute the text presentation of the constraints.

1975 1976 1977 1978 1979
2005-02-12  Jon K Hellan  <hellan@acm.org>

	* src/stf-parse.c (stf_parse_sheet): Don't crash if parsing
	doesn't return lines.

1980 1981 1982 1983 1984 1985 1986 1987
2005-02-12  Jody Goldberg <jody@gnome.org>

	* configure.in : move function docs into a distinct message catalog
	* */*.c : modify all function docs to start using the new format.
	* src/func.c (gnm_func_load_stub) : adjust to new GnmFuncHelp type
	(gnm_func_add) : ditto
	(tokenized_help_new) : ditto

1988 1989 1990 1991 1992 1993 1994 1995
2005-02-10  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=165982
	* src/gnm-plugin.c (gnm_plugins_init) : Use G_SEARCHPATH_SEPARATOR in
	  place of hard coding ':' to be more portable.
	* src/dialogs/dialog-plugin-manager.c (pm_gui_load_directory_page) :
	  ditto.

1996 1997 1998 1999 2000 2001 2002 2003 2004 2005
2005-02-09  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_sheet_add) : don't create a control
	  for a hidden sheet.

2005-02-09  Jody Goldberg <jody@gnome.org>

	For david@arabidopsis.info (David J Craigon):
	* src/ssconvert.c : Add -I flag to specify importer

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
2006 2007 2008 2009
2005-02-09  Jon K Hellan  <hellan@acm.org>

	* src/Makefile.am (GNUMERIC_BASE): Remove error-info.c.

2010 2011 2012 2013 2014
2005-02-09  Stepan Kasal  <kasal@ucw.cz>

	* src/error-info.h: Nuke, we are using <goffice/app/error-info.h>.
	* src/Makefile.am: Remove it.

2015 2016 2017 2018 2019
2005-02-09  Stepan Kasal  <kasal@ucw.cz>

	* configure.in (TPUT_CMD, marker_ok, marker_fail, marker_no): Nuke.
	(BIG_CHECKING): New m4 macro, used to emphasize some of the checks.

2020 2021 2022 2023
2005-02-08  Jody Goldberg <jody@gnome.org>

	* configure.in : Post release bump

Jody Goldberg's avatar
Jody Goldberg committed
2024 2025 2026 2027
2005-02-08  Jody Goldberg <jody@gnome.org>

	* Release 1.5.0

Jody Goldberg's avatar
Jody Goldberg committed
2028 2029 2030 2031
2005-02-08  Jody Goldberg <jody@gnome.org>

	* src/print-info.c (print_hf_same) : add some protection

2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043
2005-02-06  Jean Brefort  <jean.brefort@normalesup.org>

	* src/sheet-object-widget.c: (cb_adjustment_value_changed): avoid
	recalculation on update, fixes #166085. 
	(sheet_widget_adjustment_init_full),
	(cb_adjustment_config_ok_clicked),
	(sheet_widget_adjustment_write_xml_sax),
	(sheet_widget_adjustment_write_xml_dom),
	(sheet_widget_adjustment_read_xml_dom),
	(sheet_widget_adjustment_set_details): make constant and consistent
	scrollbar and slider max values, fixes #165173.

2044 2045 2046 2047
2005-02-05  Morten Welinder  <terra@gnome.org>

	* src/style.c (gnm_font_find_closest_from_weight_slant): Delete.

2048 2049 2050 2051 2052
2005-02-05  Morten Welinder  <terra@gnome.org>

	* src/print.c: Avoid going PangoFontDescription -> GnomeFont ->
	PangoFontDescription.

2053 2054
2005-02-04  Morten Welinder  <terra@gnome.org>

2055 2056 2057 2058
	* src/item-bar.c (item_bar_calc_size): Measure height of letters
	not logical line height.  Use more pango and less magic.  This
	might kill #162600.

2059 2060 2061
	* src/print.c (print_hf_element): Remove old #ifdef HAVE_foo.
	* src/cell-draw.c (cell_draw): Ditto.

2062 2063 2064 2065 2066 2067
	* src/print-cell.c: Eliminate old printing code.

	* src/style.c (style_font_new_simple): No need for setting
	->gnome_print_font any more.
	(style_font_unref): And no need to unref.

2068 2069 2070 2071
	* src/rendered-value.c (rendered_value_recontext): Copy font
	description too now that pango supports it.  Eliminate old #ifdef
	HAVE_foo.

2072 2073 2074 2075
	* src/mathfunc.c (gnumeric_fake_floor, gnumeric_fake_ceil): When
	adding epsilon, make sure that is <0.5.
	(gnumeric_fake_round, gnumeric_fake_trunc): Simplify in terms of
	gnumeric_fake_floor.
Morten Welinder's avatar
Morten Welinder committed
2076
	Fixes #166188.
2077

2078 2079 2080 2081
2005-02-03  Morten Welinder  <terra@gnome.org>

	* src/dependent.c: eliminate code predating micro hashes.

2082 2083
2005-02-03  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
2084
	* src/dependent.c (micro_hash_resize): Correctly handle	#elems<=1.
2085 2086
	(unlink_range_dep): Plug leak.  [#159581]

2087 2088 2089 2090 2091
2005-02-02  Morten Welinder  <terra@gnome.org>

	* src/format.c (fmt_general_float): Consistently use upper case
	"E" for general format when exponential notation is needed.

2092 2093 2094 2095 2096
2005-02-02  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c: (gnm_go_data_matrix_get_value): duplicate value before
	releasing (#166051)

Jody Goldberg's avatar
Jody Goldberg committed
2097 2098 2099 2100
2005-02-01  Jody Goldberg <jody@gnome.org>

	* gnumeric.xsd : Add entries for validation and hyperlinks

2101 2102
2005-02-01  Morten Welinder  <terra@gnome.org>

2103 2104 2105 2106
	* src/stf-parse.c (stf_parse_csv_is_separator): Handle
	end-of-buffer correctly in the single-character case.
	[Fixes #165617]

2107 2108
	* src/commands.c (cmd_ins_del_colrow): Survive if the current
	clipboard does not hold a range (but holds a sheet object).
2109
	[Fixes #165873]
2110

2111 2112 2113 2114 2115
2005-01-27  Morten Welinder  <terra@gnome.org>

	* src/complete-sheet.c (complete_sheet_search_iteration): Rework
	broken search strategy.

2116 2117 2118 2119 2120 2121
2005-01-27  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object): delta is 
	1.0 / FooCanvas::pixels_per_unit for correct behaviour when zoom is !=
	100 %

2122 2123 2124 2125 2126 2127 2128 2129 2130 2131
2005-01-26  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object): don't invert
	move in rtl mode.
	* src/sheet-control-gui.c (snap_pos_to_grid): use correct SHEET_MAX
	depending on what to snap to grid.
	(snap_to_grid): handle rtl case, where GNUMERIC_CANVAS_FACTOR_X is
	0 in world coordinates. World coordinates are negative in rtl mode.
	(apply_move): positive delta means going downward in cell numbers.

2132 2133 2134 2135 2136
2005-01-25  Morten Welinder  <terra@gnome.org>

	* configure.in (gnumeric_gnome_reqs): Upgrade requirements to
	something recent.

2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152
2005-01-25  Stepan Kasal  <kasal@ucw.cz>

	AC_PATH_PROG can be tricky: if the user sets the variable to
	something which doesn't look like a full path, autoconf proceeds
	with the test as if the variable were not set; no warning is issued
	(at least for autoconf versions <= 2.59).
	AC_CHECK_PROG is much more transparent: if the variable is nonempty,
	no test is executed.  Let's use it where possible.

	* configure.in (GCONFTOOL): Don't publish the variable, because
	  AM_GCONF_SOURCE_2, which is used after the check, has
	  ``gconftool-2'' hardwired anyway; clear the variable before use.
	  Call AC_CHECK_PROG instead of AC_PATH_PROG.
	(GLIB_GENMARSHAL): Explain why full path is needed.
	(GDK_PIXBUF_CSOURCE): Call AC_CHECK_PROG instead of AC_PATH_PROG.

2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167
2005-01-25  Stepan Kasal  <kasal@ucw.cz>

	* configure.in: work on --with-perl; this partially fixes
		http://bugzilla.gnome.org/show_bug.cgi?id=158029

	  In AC_CHECK_LIB(perl,...) change the third parameter to `:'
	  so that it is nonempty and -lperl is not added to LIBS; this fixes
		http://bugzilla.gnome.org/show_bug.cgi?id=158379

	  A cosmetic change: Don't use `[ ]' as an empty argument of a macro,
	  it may confuse m4; use `[]' instead.

	  Another cosmetic change: the word for ``case'' doesn't need any
	  quoting nor prefix.

2168 2169 2170 2171 2172 2173
2005-01-25  Stepan Kasal  <kasal@ucw.cz>

	* configure.in: Initialize win32=no, in case someone has the variable
	  in the environment.
	  Fix the help string for --enable-ssindex.

2174 2175 2176 2177 2178
2005-01-24  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	http://bugzilla.gnome.org/show_bug.cgi?id=164455
	* src/sheet-object-graph.c (sog_cb_save_as): fix svg size.

2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195
2005-01-24  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object): pass shift state
	to scg_objects_nudge.
	* src/gnumeric-pane.c (gnm_pane_object_move): alter real move values
	with feedback from scg_object_drags. With snap to grid real move can
	be different than what asked.
	(cb_slide_handler): update call to gnm_pane_object_move.
	(cb_control_point_event): update call to scg_object_drag. 
	Pass shift state to gnm_pane_object_move.
	* src/sheet-control-gui.c (snap_pos_to_grid): new.
	(snap_to_grid): new.
	(apply_move): new.
	(drag_object): new.
	(drag_selected_objects): use drag_object.
	(scg_objects_drag): drag primary object first.

2196 2197 2198 2199 2200 2201
2005-01-22  J.H.M. Dassen (Ray) <jdassen@debian.org>

	http://bugs.debian.org/291265
	* src/file.c (gnm_file_saver_save) : Produce an error when no proper
	UTF-8 filename was produced.

2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312
2005-01-20  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_sheet_write) : store the rtl flag
	(xml_sheet_read) : read the rtl flag

	* src/workbook-control-gui.c (cb_notebook_switch_page) : set the
	  direction on page change
	(show_gui) : setting it here too.
	(set_dir) : new.
	(wbcg_set_direction) : new

	* src/wbcg-actions.c (cb_direction) : A quick and simple direction
	  setting action.  We need a better icon, and improved state.

	* src/style-border.c (style_border_hmargins) : lots of finicky
	  -1*offset style changes for rtl.

	* src/sheet.c (gnm_sheet_class_init) : Add some as yet unused get/set
	  property routines.
	(gnm_sheet_init) : new to init the direction based on the locale.  Use
	  a gtk routine for now.  There's a bug open to have that moved to
	  glib.
	(sheet_set_direction) : new.

	* src/sheet-view.c (sv_init_sc) : init the direction.
	(sv_direction_changed) : new.

	* src/sheet-object-cell-comment.c (comment_view_set_bounds) : fold the
	  old comment_get_points into here and invert things in RTL mode.

	* src/sheet-control-gui.c (scg_redraw_headers) : col coordinates are
	  negative for rtl mode.
	(scg_resize) : rework for rtl
	(scg_set_zoom_factor) : ditto.
	(bar_set_left_col) : ditto.
	(bar_set_top_row) : ditto.
	(gnm_canvas_set_top_left) : ditto.
	(calc_obj_place) : ditto.  Clarify which coordinate system we're in.
	(scg_direction_changed) : new virtual.
	(scg_scale_changed) :  renamed from scg_set_zoom_factor.

	* src/print.c (print_sheet_objects) : handle rtl. (needs testing)
	(print_page_cells) : simple rtl handling

	* src/mstyle.c : Add a text_dir element that defaults to CONTEXT right
	  now.  This is unused until it is better understood, but it is read
	  and written from xls.  We need to add xml support.

	* src/item-grid.c (item_grid_draw_merged_range) : handle rtl
	(item_grid_draw) : ditto.
	* src/print-cell.c (print_merged_range) : ditto
	(print_cell_range) : ditto.

	* src/item-edit.c (ie_layout) : swap directions in RTL mode.  We still
	  need more work here to honour the alignment better while editing.

	* src/item-cursor.c
	(item_cursor_request_redraw) : delete, we can use foo_canvas_item_request_redraw
	(item_cursor_update) : handle rtl
	(item_cursor_draw) : ditto
	(item_cursor_bound_set) : add some safety to avoid drawing before the
	  position is set, or if it is set to something invalid

	* src/item-bar.c (item_bar_draw) : major rework to handle RTL mode.
	  - swap the the direction for the cells and the outlines
	(is_pointer_on_division) : handle rtl and clarify which coordinate
	  system the various inputs and results use.
	(ib_set_cursor) : simplify
	(outline_button_press) : RTL flips some coordinates.
	(item_bar_event) : ditto

	* src/gnumeric-simple-canvas.c (gnm_simple_canvas_x_w2c) : doh! handle
	  zoom

	* src/gnumeric-pane.c (gnumeric_pane_header_init) : handle rtl
	(gnm_pane_init) : ditto.
	(gnm_pane_colrow_resize_start) : ditto.
	(gnm_pane_colrow_resize_move) : ditto.
	(cb_slide_handler) : ditto.

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Swap the
	  direction of arrow keys in rtl mode.
	(gnm_canvas_key_mode_object) : ditto
	(gnm_canvas_size_allocate) : always recompute visible range.  In RTL
	  mode we want to have things aligned on the left edge whose coord
	  moves.
	(gnm_canvas_find_col) : handle the rtl negation of world coords
	(gnm_canvas_redraw_range) : ditto
	(gcanvas_sliding_callback) : ditto.
	(gnm_canvas_handle_motion) : ditto.
	  NOTE : work around a bug in gtk's use of X.  When dragging past the
	  right edge of the sheet in rtl mode we are operating at the edge of
	  a 32k wide window and the event coords get larger than can be held
	  in a signed short.  As a result we get world coords of -65535 or so.
	  KLUDGE KLUDGE KLUDGE
	    with our current limit of 256 columns it is unlikely that we'll
	    hit -65535 (at appropriate zoom) as a valid coord (it would
	    require all cols to be 256 pixels wide.  it is not impossible, but
	    at least unlikely.  So we put in a kludge here to catch the screw
	    up and remap it.   This is not pretty,  at large zooms this is not
	    far fetched.
	(gnm_canvas_compute_visible_region) : things are more complicated for
	  rtl mode.

	* src/commands.c : Add undo for the rtl vs ltr mode

	* src/cellspan.c (cell_calc_span) : in rtl mode swap the meaning of
	  horizontal alignment.

	* src/GNOME_Gnumeric-gtk.xml.in : Add the rtl toggle action

Jody Goldberg's avatar
Jody Goldberg committed
2313 2314 2315 2316
2005-01-20  Jody Goldberg <jody@gnome.org>

	* configure.in : post branching bump

2317 2318 2319 2320 2321 2322 2323 2324
2005-01-19  Morten Welinder  <terra@gnome.org>

	* src/style.c (style_font_new_simple): Only create
	gnome_print_fonts for old printing code.

	* src/print-cell.c (using_old_printing_code): New public function
	extracted from print_cell.

2325 2326 2327 2328 2329
2005-01-17  Jody Goldberg <jody@gnome.org>

	* configure.in : post release version bump
	  If everything is smooth we'll branch on Wed

Jody Goldberg's avatar
Jody Goldberg committed
2330 2331 2332 2333
2005-01-17  Jody Goldberg <jody@gnome.org>

	* Release 1.4.2