OChangeLog-2005-11-14 224 KB
Newer Older
Jody Goldberg's avatar
Jody Goldberg committed
1 2 3 4
2005-11-14  Jody Goldberg <jody@gnome.org>

	* Release 1.6.1

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
2005-11-14  Jody Goldberg <jody@gnome.org>

	The rest of the Maemo port.
	From eduardo.lima@indt.org.br
	http://bugzilla.gnome.org/show_bug.cgi?id=321073
	* src/Makefile.am
	* src/gnumeric-canvas.c
	* src/gui-file.c
	* src/item-grid.c
	* src/sheet-control-gui.c
	* src/wbc-gtk.c
	* src/wbcg-actions.c
	* src/workbook-control-gui-priv.h
	* src/workbook-control-gui.c : Merge the remaining Maemo/Hildon patches.

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

	* configure.in : bump goffice req to 0.1.2 to get morten's fix.
	  Add a < 0.2.0 to avoid problems when we branch.
	  Disable the DEPRECATED warnings in the stable release.

2005-11-13  Jody Goldberg <jody@gnome.org>

	* src/sheet-control-gui.c (cb_hscrollbar_adjust_bounds) : we weren't
	  extending while at the very top.
	(cb_vscrollbar_adjust_bounds) : ditto.

32 33 34 35 36 37 38
2005-11-13  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnumeric-canvas.c: (gnm_canvas_key_press),
	(gnm_canvas_commit_cb): use localized decimal separator [#80139].
	* src/gnumeric-canvas.h:
	* src/widgets/gnumeric-expr-entry.c: (cb_gee_key_press_event): ditto.

39 40 41 42 43
2005-11-10  Morten Welinder  <terra@gnome.org>

	* src/application.c (gnumeric_application_finalize): Free
	->clipboard_cut_range.

44 45 46 47
2005-11-06  Jody Goldberg <jody@gnome.org>

	* src/GNOME_Gnumeric-gtk.xml.in : Include menu item for R1C1

48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
2005-11-05  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c : Delete the original DOM based export.  The pseudo-sax
	  based variant is faster and lighter and there's not much point in
	  maintaining two code bases.

	* src/gnm-so-filled.c (gnm_so_filled_write_xml_dom) : delete.
	* src/gnm-so-line.c (gnm_so_line_write_xml_dom) : delete.
	* src/gnm-so-polygon.c (gnm_so_polygon_write_xml_dom) : delete.
	* src/sheet-object-cell-comment.c (cell_comment_write_xml_dom) : delete.
	* src/sheet-object-image.c (sheet_object_image_write_xml_dom) : delete.
	* src/sheet-object-widget.c
	(sheet_widget_frame_write_xml_dom) : delete.
	(sheet_widget_button_write_xml_dom) : delete.
	(sheet_widget_adjustment_write_xml_dom) : delete.
	(sheet_widget_checkbox_write_xml_dom) : delete.
	(sheet_widget_list_base_write_xml_dom) : delete.
	* src/sheet-object-graph.c (sheet_object_graph_write_xml_dom) : delete.
	(sheet_object_graph_prep_xml_sax) : new.
	(sog_xml_finish) : new.
	(sheet_object_graph_write_object) : use the sax interface.

70
	* src/xml-sax-read.c (xml_sax_wb) : ICK.  We are actually dependent on
71 72 73 74 75 76
	  the prefix for the namespace.  The change from gmr -> gnm broke the
	  version test here.  Add gnm to fix it.
	(xml_sax_wb_sheetname) : be more flexible and only create a sheet if
	  we really need it.
	(xml_sax_object_start) : implement.

77 78 79 80 81 82 83 84 85 86 87 88 89
2005-11-02  Jody Goldberg <jody@gnome.org>

	* src/sheet-autofill.c : remove the i18n flags for string lists as far
	  as I can tell they were always true.
	(type_is_compatible) : an item might be in
	  multiple lists.  Check that the current item is in the previous list
	  or that the previous item is in the current list.

2005-10-25  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (collect_unique_elements) : yes that is the type
	  of equality and hash we want.  Remove the warning.

90 91 92 93 94
2005-11-01  Morten Welinder  <terra@gnome.org>

	* src/main-application.c: Move include of popt stuff here.  It has
	no business in libgnumeric.h

95 96 97 98
2005-11-01  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* README: Updated list archives URL (Debian #336699).

99 100 101 102
2005-11-01  Stepan Kasal  <kasal@ucw.cz>

	* src/sheet-filter.c, src/xml-io.c, src/tools/analysis-tools.c:
	#include <stdlib.h>, for the qsort() prototype.
103
	* src/gnumeric-gconf.c: In the non-gconf case, #include glib/gstdio.h.
104

105 106 107 108 109
2005-10-31  Morten Welinder  <terra@gnome.org>

	* src/gnumeric-gconf.c: Implement non-gconf case, see #310354.
	(Patch from Allin Cottrell.)

110 111 112 113
2005-10-24  Morten Welinder  <terra@gnome.org>

	* src/func.c (function_dump_defs): Describe args too.

114 115 116 117 118
2005-10-24  Morten Welinder  <terra@gnome.org>

	* src/func.c (function_dump_defs): Do the minimum for the new
	function doc stuff.

119 120 121 122 123 124 125 126 127
2005-10-23  Jody Goldberg <jody@gnome.org>

	* src/parse-util.c (r1c1_rangeref_parse) : cut-n-paste-o
	(r1c1_get_index) : == max is ok, we're about to decrement.

	* src/parser.y (yylex) : special case check for #N/A which does not
	  end in '!' or '?'.
	(cellref) : Allow RANGEREF : RANGEREF

128 129 130 131 132
2005-10-15  Jody Goldberg <jody@gnome.org>

	* src/wbcg-actions.c (cb_format_general) : Fix fmt accelerators.
	  ctrl-~ == general not number
	  ctrl-! == number not accounting
133

134 135 136 137
	* src/gnm-format.c (format_value_gstring) : Use the last element as a
	  catch all. eg [>10][Blue]0;0 will fmt 1 in black even though it's
	  implicit condition is <0

138 139 140
	* src/sheet-view.c (sv_freeze_panes) : if frozen == unfrozen unfreeze
	  things.

Stepan Kasal's avatar
Stepan Kasal committed
141 142 143 144 145 146
2005-10-12  Stepan Kasal  <kasal@ucw.cz>

	* configure.in (gnumeric_gnome_reqs): Require libgsf-gnome >= 1.13.0,
	  1.12.x cannot be used in combination with libgsf >= 1.13.2 anyway.
	* README: Sync all version requirements with configure.in.

147 148 149 150
2005-10-10  Morten Welinder  <terra@gnome.org>

	* src/stf.c (csv_tsv_probe): Fix a pile of content-probe issues.
	Fixes #318419.
151
	Handle empty csv files sanely.
152

153 154 155 156 157 158 159
2005-10-10  Jody Goldberg <jody@gnome.org>

	* src/xml-io.c (xml_sheet_read) : xml_node_get_bool returns TRUE on
	  success.  Only set the value if we have one.  The other code is
	  reading directly into the value and setting it to a constant on
	  failure.

Jody Goldberg's avatar
Jody Goldberg committed
160 161 162 163
2005-10-10  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
164 165 166 167 168 169 170 171
2005-10-10  Jody Goldberg <jody@gnome.org>

	* Release 1.6.0

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

	* configure.in : bump gsf req to avoid breakage in 1.13.1

172 173 174 175 176
2005-10-10  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (pdhyper): Avoid infinite loop for NB==0, n==x.
	NOTE: Changed directly in genereated code.

177 178 179 180 181
2005-10-08  Jody Goldberg <jody@gnome.org>

	* src/cellspan.c (cell_calc_span) : numbers can span when centered
	  across selection. [Debian #286131]

182 183 184 185 186
2005-10-07  Jody Goldberg <jody@gnome.org>

	* src/style-border.c (style_borders_row_draw) : more rtl fixage.
	(style_borders_row_print) : ditto.

187 188 189 190 191
2005-10-07  Morten Welinder  <terra@gnome.org>

	* src/xml-sax-write.c (xml_write_summary): Save all the summary
	items, not N copies of the first.  [#318254]

192 193 194 195 196 197
2005-10-06  Jean Brefort  <jean.brefort@normalesup.org>

	* src/gnumeric-pane.c: (build_so_menu): localize all menu items [#318042].
	* src/sheet-autofill.c: (in_list), (autofill_cell): use localized days
	and months names when autofilling [#318043].

198 199 200 201 202 203 204 205 206
2005-10-06  Jody Goldberg <jody@gnome.org>

	* src/style-conditions.c (gnm_style_conditions_eval) : whip up the
	  other conditions.
	* src/print-cell.c (print_merged_range) : support conditional styles
	  in merged cells.
	* src/item-grid.c (item_grid_draw_merged_range) : ditto.

2005-10-06  Jody Goldberg <jody@gnome.org>
207 208 209 210 211 212

	http://bugzilla.gnome.org/show_bug.cgi?id=317806
	* src/dependent.c (cb_single_contained_collect) : do not collect
	  dynamic depends they may get cleared.
	(cb_range_contained_collect) : ditto.

213 214 215 216 217 218
2005-10-04  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : libspreadsheet_la_LDFLAGS is already defined use
	  += for WITH_WIN32

2005-10-04  Jody Goldberg <jody@gnome.org>
219 220 221 222 223

	* src/func-builtin.c (gnumeric_table_link) : finish
	* src/dependent.c (link_expr_dep) : take an EvalPos rather than just a
	  dep so that we can pass around array bound details.

224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
2005-10-02  Jody Goldberg <jody@gnome.org>

	* src/ranges.c (range_intersection) : return FALSE if the ranges do
	  not overlap, but do not generate an error.
	  formula_import_biff8.xls

	* src/gnumeric-pane.c (gnm_pane_init) : Use a realize handler on the
	  canvas to create the object views.  Doing it sooner can break
	  because the canvas has not been attached to a container yet.
	  test-xls/prislistekomplett.xls

	* src/workbook-control-gui.c (wbcg_sheet_add) : only grab focus if we
	  are the current sheet.
	  samples/derivatives.gnumeric

Jody Goldberg's avatar
Jody Goldberg committed
239 240 241
	* src/xml-sax-read.c : Move to new libgsf xml interface.
	  Support un-namespaced variant of Name for compatibility.

242 243 244 245 246 247 248 249
	http://bugzilla.gnome.org/show_bug.cgi?id=317427
	* src/parse-util.c (gnm_1_0_rangeref_as_string) : new stripped down
	  variant of rangeref_as_string.
	* src/xml-sax-write.c (xml_io_conventions) : use it here.
	* src/xml-io.c (xml_io_conventions) : and here.

	* src/style.c (required_updates_for_style) : add super/sub script

250 251 252 253 254
2005-10-01  Stepan Kasal  <kasal@ucw.cz>

	* src/Makefile.am (libspreadsheet_la_LDFLAGS): Add a -release flag,
	  that says that there is no compatibility between releases.

255 256 257 258 259 260 261
2005-09-28  Morten Welinder  <terra@gnome.org>

	* src/xml-io.c (xml_read_names): Check whether the expression is
	NULL, not whether the exp function pointer is.
	(xml_workbook_read): Setup context earlier.
	(xml_read_names): Work around bug 317427.

262 263 264 265 266
2005-09-28  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c: (gnm_go_data_set_sheet): unlink dependent if necessary
	before setting the sheet.

267 268 269 270 271
2005-09-28  Jean Brefort  <jean.brefort@normalesup.org>

	* src/graph.c: (gnm_go_data_dup): set the sheet of the dep with a
	call to dependent_set_sheet.

272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300
2005-09-26  Jody Goldberg <jody@gnome.org>

	* src/gnm-style-impl.h : Add a script element to GnmStyle
	* src/mstyle.c (elem_is_eq) : support scripts
	(elem_assign_content) : support scripts
	(gnm_style_new_default) : support scripts
	(gnm_style_get_pango_attrs) : support scripts
	(gnm_style_dump) : support scripts
	(gnm_style_set_font_script) : new.
	(gnm_style_get_font_script) : new.

	* src/GNOME_Gnumeric-gtk.xml.in  : Add the super/sub script
	  accelerators

	* gnumeric.xsd : update to include the new h/v alignments and to add
	  Script.

	* src/wbc-gtk.c (wbc_gtk_style_feedback) : support super/sub script
	  and fix support for double underline

	* src/wbcg-actions.c (toggle_font_attr) : support super/sub script
	(cb_font_subscript) : new.
	(cb_font_superscript) : new.

	* src/xml-io.c (xml_write_style) : ditto.
	(xml_read_style) : ditto.
	* src/xml-sax-read.c (xml_sax_styleregion_font) : ditto.
	* src/xml-sax-write.c (xml_write_gnmstyle) : ditto.

Morten Welinder's avatar
Morten Welinder committed
301 302 303 304
2005-09-27  Morten Welinder  <terra@gnome.org>

	* src/position.c (eval_pos_init_dep): Fix typo.

305 306
2005-09-26  Jody Goldberg <jody@gnome.org>

307
	* src/workbook-control-gui.c (show_gui) : protection against scg == NULL
Morten Welinder's avatar
Morten Welinder committed
308
	  Wallenbach-Formulas2003/chap17/thermometer chart.xls
309 310 311
	(disconnect_sheet_signals) : no need to warn when shutting down hidden
	  sheets.

312 313 314 315
	* src/format-template.c (gnm_auto_fmt_filter_edges) : This is not
	  correct, but at least it no longer causes a crash.  Rework things to
	  rationalize the handling of edges at some point in the future.

316 317 318 319
	* src/mstyle.c (gnm_style_set_shrink_to_fit) : cut-n-paste-o that
	  would erase wrap text with shrink to fit.
	(gnm_style_get_shrink_to_fit) : ditto.

Jody Goldberg's avatar
Jody Goldberg committed
320 321
2005-09-24  Jody Goldberg <jody@gnome.org>

322 323 324 325 326 327 328 329 330 331 332 333 334 335
	* src/sheet-control-gui.c (resize_pane_pos) : handle motion in frozen
	  areas.
	(sheet_control_gui_new) : use a blank label as a space rather than a
	  scrollbar.  Emmanuel's idea seems more consistent with frozen panes
	  than reseting the pane.
	(set_resize_pane_pos) : new utility to calculate the desired pane
	  position and block the signal.
	(resize_pane_finish) : renamed from cb_resize_pane_finish to be more
	  consistent.  Round the pane position to the col/row bound using
	  set_resize_pane_pos.
	(scg_set_panes) : position the resize panes.  Change the behavior not
	  to short circuit if the freeze status is unchanged.  This seems safe
	  and makes sue that set_resize_pane_pos is called.

Jody Goldberg's avatar
Jody Goldberg committed
336 337
	* src/dependent.c : warning suppression.

338 339 340 341 342 343 344
2005-09-22  Jody Goldberg <jody@gnome.org>

	* src/selection.c (sv_selection_to_plot) : Use the total number of
	  rows and cols to decide row vs col major.  Using just the first
	  range had the potential for problems with a singleton followed by a
	  full col.

345 346 347 348
	http://bugzilla.gnome.org/show_bug.cgi?id=314867
	* src/dependent.c (workbook_recalc) : queue an update to the auto
	  expr.

349 350 351 352 353 354
2005-09-20  Jody Goldberg <jody@gnome.org>

	* src/position.c : Add some gnm_ to the api.
	(gnm_cellref_set_col_ar) : new
	(gnm_cellref_set_row_ar) : new.

355 356 357 358 359 360 361
2005-09-20  Morten Welinder  <terra@gnome.org>

	* src/cell-draw.c: Don't use gdk_draw_layout_with_colors -- it
	breaks rich text.  (We might be able to use it if we can somehow
	deduce that rich text is not present, but that is a patch for
	later.)  Unset clip explicitly in the rotation case.

362 363 364 365 366 367 368
2005-09-19  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=316597
	* src/cell-draw.c (cell_draw) : gtk-2.8 clips more vigorously.
	  Don't clip at all for rotation rather than setting a clip of
	  0..maxint

Stepan Kasal's avatar
Stepan Kasal committed
369 370
2005-09-18  Stepan Kasal  <kasal@ucw.cz>

371 372
	* configure.in: Fix the way GCONF_SCHEMAS_INSTALL is set.
	  Update obsolete macros.
Stepan Kasal's avatar
Stepan Kasal committed
373

374 375 376 377 378
2005-09-17  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-canvas.c (gnm_canvas_key_press) : add a quick guard
	  around gtk_im_context_reset to avoid starting an edit for no reason.

379 380 381 382 383 384
2005-09-16  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_destroy_contents) : destroy filters and pivots
	  before remaining objects.  Those are higher order objects and may
	  contain objects themselves.  [#316533]

385 386 387 388 389 390
2005-09-15  Jody Goldberg <jody@gnome.org>

	* src/func-builtin.c (gnumeric_table_link) : new incomplete.
	(gnumeric_table_unlink) : new incomplete.
	(gnumeric_table) : implement 1d iteration.

391 392 393 394 395 396 397 398 399 400 401 402
2005-09-15  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_is_local_drag) : new.
	(cb_wbcg_drag_motion) : check for object drags here.
	(cb_wbcg_drag_leave) : here.
	(cb_wbcg_drag_data_received) : and here.
	(wbcg_set_toplevel) : include the local object targets.

	* src/gnumeric-canvas.c (cb_obj_autoscroll) : new.
	(gnm_canvas_object_autoscroll) : new.  A kludge to get sheet objects
	  to autoscroll again.

403 404 405 406 407 408
2005-09-15  Morten Welinder  <terra@gnome.org>

	* src/main-application.c (check_pango_attr_list_splice_bug): New
	function.
	(main): Call check_pango_attr_list_splice_bug.

409 410 411 412 413 414
2005-09-13  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=316026
	* src/sheet-control-gui.c (drag_object) : type 8 movement (sliding
	  full object) in rtl mode should snap coord 2, the right side.

415 416 417 418 419
2005-09-13  Morten Welinder  <terra@gnome.org>

	* src/dependent.c (dep_hash_destroy): Don't start changing
	dependencies until we are done looking at containers.

Stepan Kasal's avatar
Stepan Kasal committed
420
2005-09-10  Stepan Kasal  <kasal@ucw.cz>
421 422 423 424 425 426 427

	* src/main-application.c (main): Change the type of variable "args"
	  to "gchar const **", call go_shell_argv_to_glib_encoding_free at
	  the end of the day.
	* src/ssconvert.c, src/ssindex.c: Likewise.
	* configure.in: Require goffice 0.1.0.

428 429 430
	* src/workbook.c (workbook_sheet_state_diff): It seems that the last
	  chunk of the change from 2005-08-27 was a mistake.  Remove it.

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

	* src/dependent.c (link_expr_dep) : honor new DEPENDENT_IGNORE_ARGS
	  flag which instructs the linker not to depend on the arguments to
	  the function.

437 438 439 440
2005-09-08  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump, prep for 1.6.0

Jody Goldberg's avatar
Jody Goldberg committed
441 442 443 444 445 446 447 448 449
2005-09-08  Jody Goldberg <jody@gnome.org>

	* Release 1.5.90

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

	* src/GNOME_Gnumeric-gtk.xml.in : remove 'EditMetaData' it is not
	  complete.

Jody Goldberg's avatar
Jody Goldberg committed
450 451 452 453 454
2005-09-05  Jody Goldberg <jody@gnome.org>

	* src/expr.c (gnm_expr_is_data_table) : move this out of the xls
	  plugin.

Stepan Kasal's avatar
Stepan Kasal committed
455 456 457 458
2005-09-05  Stepan Kasal  <kasal@ucw.cz>

	* src/gnm-so-polygon.c, COPYING: Update FSF's address.

459 460 461 462 463 464
2005-09-05  Jody Goldberg <jody@gnome.org>

	* src/workbook-edit.c (wbcg_edit_start) : no need to do the selection
	  magic here.  We now over ride 'gtk-entry-select-on-focus' in the
	  ExprEntry widget.

465 466 467 468
2005-09-05  Jody Goldberg <jody@gnome.org>

	* src/wbcg-actions.c (cb_data_import_text) : s/druid/assistant/ [#311998]

469 470 471 472 473 474 475 476 477 478 479 480 481 482 483
2005-09-04  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-canvas.c (gnm_canvas_key_press) : only ignore keyboard
	  events for normal mode.  objects still accept escape [#314866]
	* src/gnumeric-pane.c (cb_control_point_event) : ignore other buttons
	  while dragging.

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

	* src/graph.c (gnm_go_data_scalar_as_str) : remove.  This was intended
	  as a fix for #152317.  Unfortunately it ended up breaking two other
	  things.  xml persistence could not tell if something was a string or
	  an expression.  User input would not be quoted.  A more functional
	  solution is to push this logic down into the xls exporter.

484 485 486 487 488
2005-09-02  Jody Goldberg <jody@gnome.org>

	* src/number-match.c : Make DEBUG_NUMBER_MATCH compile again.
	(format_match_init) : Ignore fmt elements that contain '@'

489 490 491 492 493
2005-09-01  Morten Welinder <terra@gnome.org>

	* src/gnumeric-pane.c (gnm_pane_display_obj_size_tip): Make the
	tooltips use "www x hhh" format.

Jody Goldberg's avatar
Jody Goldberg committed
494 495 496 497
2005-08-29  Jody Goldberg <jody@gnome.org>

	* configure.in : bump goffice req

498 499 500 501 502
2005-08-27  Jody Goldberg <jody@gnome.org>

	* src/workbook.c (workbook_dispose) : Looks like this patch got
	  munged. Make it sane.

503 504 505 506 507
2005-08-29  Stepan Kasal  <kasal@ucw.cz>

	* src/ssconvert.c (convert): If output file name was not given,
	don't call go_shell_arg_to_uri.  Without gnome, this caused a segfault.

Morten Welinder's avatar
Morten Welinder committed
508 509 510 511
2005-08-28  Morten Welinder <terra@gnome.org>

	* configure.in: Post release bump.

Morten Welinder's avatar
Morten Welinder committed
512 513 514 515
2005-08-28  Morten Welinder <terra@gnome.org>

	* Release 1.5.5

Morten Welinder's avatar
Morten Welinder committed
516 517 518 519
2005-08-28  Morten Welinder <terra@gnome.org>

	* configure.in: Post release bump.

Morten Welinder's avatar
Morten Welinder committed
520 521 522 523
2005-08-28  Morten Welinder <terra@gnome.org>

	* Release 1.5.4

524 525 526 527
2005-08-26  Morten Welinder  <terra@gnome.org>

	* src/print.c (dialog_response): Reset page count.  [#314520]

528 529 530 531 532 533 534
2005-08-25  Stepan Kasal  <kasal@ucw.cz>

	* src/Makefile.am (check_PROGRAMS): Add test-pango only if WITH_GTK.
	(nodist_test_pango_SOURCES, nodist_gnumeric_component_SOURCES): Nuke,
	they only referred to nodist_gnumeric_SOURCES, which no longer exists.
	(UNUSED): Remove, this hack is no longer needed.

535 536
2005-08-24  Stepan Kasal  <kasal@ucw.cz>

Stepan Kasal's avatar
Stepan Kasal committed
537 538 539
	* src/workbook.c: Move the /* WITH_GTK */ comment to the right #endif.
	* src/gnm-so-polygon.c (so_polygon_view_set_bounds): Remove unused
	variable.
540

541 542
2005-08-23  Morten Welinder  <terra@gnome.org>

543 544 545 546
	* src/workbook-edit.c (set_cur_fmt): Split out.
	(cb_entry_cursor_pos): From here.
	(cb_entry_cursor_pos): use set_cur_fmt.  Fixes #314209.

547 548 549
	* src/dependent.c (dep_hash_destroy): Another case of
	don't-muck-with-the-hash-you-are-iterating-over.

Jody Goldberg's avatar
Jody Goldberg committed
550 551 552 553 554 555 556 557 558 559 560 561 562
2005-08-21  Jody Goldberg <jody@gnome.org>

	* src/workbook.c (workbook_sheet_attach_at_pos) : don't signal until
	  after the controls have been added. [#314208]

2005-08-21  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (gnm_style_equal) : MSTYLE_COLOR_BACK == 0 now, there
	  is no longer an invalid entry at 0 with back at 1.
	(gnm_style_equal_XL) : ditto.

	* src/sheet-style.c (cb_style_list_add_node) : improve the debugging.

563 564 565 566 567
2005-08-18  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>

	* src/commands.c (cmd_object_raise_redo): pull_to_front and
	pull_forward actions were inverted.

568 569 570 571 572
2005-08-17  Morten Welinder  <terra@gnome.org>

	* src/workbook-view.c (wbv_save_to_uri): Only close the output
	handle if it is not already closed.  (msole closes its sink.)

Morten Welinder's avatar
Morten Welinder committed
573 574 575 576
2005-08-15  Morten Welinder <terra@gnome.org>

	* configure.in: Post release bump

Morten Welinder's avatar
Morten Welinder committed
577 578 579 580
2005-08-15  Morten Welinder <terra@gnome.org>

	* Release 1.5.3

581 582 583 584 585
2005-08-15  Jean Brefort  <jean.brefort@normalesup.org>

	* src/workbook-control-gui.c: (cb_graph_dim_editor_update): unref the
	scg. Fixes #313463

586 587
2005-08-12  Morten Welinder  <terra@gnome.org>

588 589 590 591
	* src/dependent.c (cb_dep_hash_destroy): Fix crashes related to
	changing a dependency container while we are looping over it.
	Fixed #312794.

592 593 594 595
	* src/sheet.c (sheet_finalize): Free ->sheet_views at the end
	because sheet_scrollbar_config as called via object removal can
	access it.

596 597 598 599
2005-08-12  Jody Goldberg <jody@gnome.org>

	* src/sheet.c (sheet_destroy_contents): Move sheet object
	destruction here.
Morten Welinder's avatar
Morten Welinder committed
600
	(sheet_finalize): From here.
601

602 603 604 605 606
2005-08-12  Morten Welinder  <terra@gnome.org>

	* src/sheet-object-widget.c
	(sheet_widget_radio_button_set_property): Fix warning.

607 608 609 610 611
2005-08-12  Jean Brefort  <jean.brefort@normalesup.org>

	* src/dialogs/dialog-about.c: (dialog_about): do not remove the
	grid which does not exist anymore.

612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630
2005-08-11  Jean Brefort  <jean.brefort@normalesup.org>

	* configure.in: needs libgsf-1.12.2
	* src/command-context-stderr.c: updated to new GSF_CLASS_FULL signature.
	* src/gnm-plugin.c: ditto.
	* src/gnm-so-filled.c: ditto.
	* src/gnm-so-line.c: ditto.
	* src/io-context-gtk.c: ditto.
	* src/sheet-filter.c: ditto.
	* src/sheet-object-cell-comment.c: ditto.
	* src/sheet-object-graph.c: ditto.
	* src/sheet-object-image.c: ditto.
	* src/sheet-object-widget.c: ditto.
	* src/widgets/gnumeric-expr-entry.c: ditto.
	* src/workbook-control-gui.c: ditto.
	* plugins/corba/corba-workbook.c: ditto.
	* plugins/python-loader/python-loader.c: updated to new
	GSF_DNAMIC_CLASS_FULL signature.

631 632 633 634 635
2005-08-11  Jody Goldberg <jody@gnome.org>

	* src/gnm-so-polygon.c : split out of filled and re-enable It's not
	  optimal, and the persistence is broken, but it does display.

636 637
2005-08-09  Morten Welinder  <terra@gnome.org>

638 639 640
	* src/rendered-value.c (rendered_value_recontext): Fix the hack to
	make printing look like screen.  [#312912]

641 642 643
	* src/workbook-view.c (wbv_save_to_uri): Close the file before
	checking for errors.  Part of fix for #312930.

644 645 646 647
2005-08-09  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: require libgda/libgnomedb CVS HEAD.

Morten Welinder's avatar
Morten Welinder committed
648 649 650 651
2005-08-08  Morten Welinder  <terra@gnome.org>

	* src/ssindex.c: Fix typo.  [#312823]

652 653 654 655
2005-08-08  Sunil Mohan Adapa  <sunil@atc.tcs.co.in>

	* configure.in: Added "te" to ALL_LINGUAS.

656 657 658 659
2005-08-08  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* *: Updated FSF's address.

660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676
2005-08-07  Jody Goldberg <jody@gnome.org>

	* src/main-application.c : Add --no-warnings
	* src/io-context-gtk.c (icg_error_error_info) : use it.

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

	* src/workbook.c (workbook_dispose) : do not free the uri until the
	  end to make debugging simpler.
	(workbook_sheet_hide_controls) : hide just controls not views.
	(cb_sheet_visibility_change) : restore just controls.

	* src/style-color.c (style_color_new_gdk) : new.
	* src/sheet-view.c (sv_get_control) : new.
	* src/sheet.c (sheet_destroy) : move the object deletion from here.
	(sheet_destroy_contents) : to here.

677 678 679
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
680
	* src/file-autoft.c: Add a missing include.
681

Stepan Kasal's avatar
Stepan Kasal committed
682 683 684
	* src/style-conditions.c (gnm_style_conditions_eval): Fix another
	  warning.

685 686
	* src/ssindex.c: Fix two option descriptions.

687 688 689 690 691
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
692 693 694 695
2005-08-03  Stepan Kasal  <kasal@ucw.cz>

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

696 697 698 699 700 701 702 703 704 705 706 707 708
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]

709 710 711 712 713 714
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
715 716 717 718
2005-07-27  Morten Welinder  <terra@gnome.org>

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

719 720
2005-07-26  Ivan, Wong Yat Cheung  <email@ivanwong.info>

Morten Welinder's avatar
Morten Welinder committed
721
	* src/style.c (style_font_new_simple): use
722 723 724
	pango_font_description_copy() so that we store the exact
	font description we pass to pango. Partially Fix #161027.

725 726 727 728 729
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.

730 731 732 733 734 735 736 737 738 739 740 741 742
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.

743
2005-07-23  Ivan, Wong Yat Cheung  <email@ivanwong.info>
744 745 746 747

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

748 749
2005-07-20  Morten Welinder  <terra@gnome.org>

750 751 752
	* src/mstyle.c (gnm_style_ref, gnm_style_unref): Add extra
	precondition.

753 754 755
	* src/commands.c (cmd_format_repeat): Handle NULL style.  Fixes
	#310924.

756 757 758 759
2005-07-18  Stepan Kasal  <kasal@ucw.cz>

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

760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782
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.

783 784 785
2005-07-15  Jon K Hellan  <hellan@acm.org>

	* src/main-application.c (gnumeric_arg_parse): Call
Morten Welinder's avatar
Morten Welinder committed
786
	gnome_authentication_manager_init.
787

788 789 790 791 792 793 794
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.

795 796
2005-07-11  Morten Welinder  <terra@gnome.org>

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

799 800 801 802 803
	* 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.

804 805 806 807
2005-07-05  Stepan Kasal  <kasal@ucw.cz>

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

808 809 810 811 812
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.

813 814 815 816
2005-07-01  Jon K Hellan  <hellan@acm.org>

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

817 818 819 820 821
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.

822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838
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.

839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855
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.

856 857 858 859 860 861
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.

862 863 864 865
2005-06-27  Morten Welinder  <terra@gnome.org>

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

866 867 868 869
2005-06-25  Jody Goldberg <jody@gnome.org>

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

870 871 872
	* src/gnm-style-impl.h, src/style-conditions.c, src/style-conditions.h:
	  New files.

873 874 875 876 877
2005-06-25  Jody Goldberg <jody@gnome.org>

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

878 879 880 881
2005-06-22  Morten Welinder  <terra@gnome.org>

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

884 885 886 887 888 889
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.
Morten Welinder's avatar
Morten Welinder committed
890

891 892 893 894 895 896 897 898 899 900 901 902 903 904 905
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 "".

906 907 908 909 910 911 912
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
913 914 915 916 917 918 919 920 921
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.

922 923 924 925 926 927 928 929 930 931
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
932 933 934 935
2005-06-13  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
936 937 938 939
2005-06-13  Jody Goldberg <jody@gnome.org>

	* Release 1.5.2

Jody Goldberg's avatar
Jody Goldberg committed
940 941 942 943 944
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
945 946 947 948
2005-06-12  Jody Goldberg <jody@gnome.org>

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

949 950 951 952 953 954 955 956 957 958 959 960 961
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
962 963
2005-06-10  Morten Welinder  <terra@gnome.org>

964 965 966 967 968
	* 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.

969 970 971 972 973 974 975 976 977 978 979 980 981
	* 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
982 983 984 985 986 987 988 989 990 991 992
	* 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.

993 994 995 996 997
2005-06-09  Jody Goldberg <jody@gnome.org>

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

998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022
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

1023 1024
2005-06-09  Morten Welinder  <terra@gnome.org>

1025 1026 1027 1028
	* src/workbook.c (workbook_sheet_delete): Merge
	workbook_sheet_detach into this.
	(workbook_sheet_detach): Removed.  All callers changed.

1029 1030 1031 1032 1033
	* 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.

1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044
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.

1045 1046 1047 1048 1049
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]

1050 1051 1052 1053 1054
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
1055 1056 1057 1058 1059 1060 1061 1062 1063 1064
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

1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093
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.

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

1096 1097 1098
	* src/mathfunc.c (lgamma): Define when needed.
	(lgamma_r): Base the implementation on lgammacor, not lgamma.

1099 1100 1101
	* src/sheet-control-gui.c (scg_drag_receive_uri_list): Add warning
	about things we do not understand.

1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115
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.

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

Jody Goldberg's avatar
Jody Goldberg committed
1118
	http://bugzilla.gnome.org/show_bug.cgi?id=163589
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144
	* 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.

1145 1146 1147 1148 1149
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
1150 1151 1152 1153
2005-06-03  Jody Goldberg <jody@gnome.org>

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

1154 1155 1156 1157 1158
2005-06-03  Jody Goldberg <jody@gnome.org>

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

1159 1160
2005-06-02  Morten Welinder  <terra@gnome.org>

1161 1162 1163 1164
	* src/mathfunc.c (binomialcf): Fix log_p case.
	(pfuncinverter): Handle NaNs better.
	(qbeta): Improve initial guess.

1165 1166 1167 1168
	* 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.

1169 1170 1171 1172 1173 1174
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.

1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188
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.

1189 1190 1191 1192 1193
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.

1194 1195 1196 1197 1198
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.

1199 1200 1201 1202 1203 1204 1205 1206
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.

1207 1208 1209 1210 1211 1212 1213 1214 1215
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.

1216 1217 1218 1219 1220
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.

1221 1222 1223 1224 1225
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.

1226 1227 1228 1229 1230 1231
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

1232 1233 1234 1235 1236 1237
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).

1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252
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.

1253 1254 1255 1256 1257
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.

1258 1259 1260 1261 1262 1263 1264
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
1265 1266
2005-05-27  Morten Welinder  <terra@gnome.org>

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

Morten Welinder's avatar
Morten Welinder committed
1269 1270 1271 1272 1273 1274 1275
	* 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
1276 1277 1278
2005-05-26  Stepan Kasal  <kasal@ucw.cz>

	* src/clipboard.c: Remove unneeded includes.
1279 1280 1281 1282

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

1283
	* src/ranges.c (range_name): Simplify.
1284 1285
	(global_range_name): Make the first parameter const.
	* src/ranges.h (global_range_name): Ditto.
1286

1287 1288 1289 1290 1291
2005-05-26  Morten Welinder  <terra@gnome.org>

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

1292 1293
2005-05-25  Morten Welinder  <terra@gnome.org>

1294 1295 1296
	* src/gui-clipboard.c (text_to_cell_region): Fall back to string.
	Fixes #305404.

1297 1298 1299
	* src/workbook-control-gui.c (wbcg_create_edit_area): Add tooltips
	for ok_button, cancel_button, and func_button.

1300 1301
2005-05-23  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1302 1303 1304
	* src/commands.c (cmd_reorganize_sheets_delete_recreate_sheet):
	Plug leak.

1305 1306 1307
	* src/dependent.c (cb_name_invalidate): Fix a crash relating to
	globally scoped names.

1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321
	* 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.

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

1325 1326 1327 1328 1329 1330 1331
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.

1332 1333 1334 1335 1336
2005-05-21  Morten Welinder  <terra@gnome.org>

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

1337 1338
2005-05-20  Morten Welinder  <terra@gnome.org>

1339 1340 1341
	* src/dependent.c (gnm_dep_container_dump): Dump also dynamic
	dependencies and name dependencies.

1342 1343 1344
	* 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
1345 1346
2005-05-20  Stepan Kasal  <kasal@ucw.cz>

Stepan Kasal's avatar
Stepan Kasal committed
1347
	* src/sheet-filter.c (filter_view_set_bounds): Remove unused
Stepan Kasal's avatar
Stepan Kasal committed
1348 1349
	  variable so.

1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364
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.

1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375
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.

1376 1377 1378 1379 1380 1381 1382 1383 1384
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
1385 1386 1387 1388 1389 1390 1391 1392 1393
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

1394 1395 1396 1397 1398
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.

1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409
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.

1410 1411 1412 1413 1414
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 *'.

1415 1416 1417
2005-05-16  Morten Welinder  <terra@gnome.org>

	* configure.in (set_more_warnings): Kill -Wcast-align.  It does
1418
	not catch anything useful.  We run-time check, either in gobject
1419 1420 1421 1422
	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
1423 1424 1425 1426
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
1427 1428 1429 1430
2005-05-16  Stepan Kasal  <kasal@ucw.cz>

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

1431 1432 1433
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
1434
	(gnm_go_data_matrix_get_value): always release the value returned by
1435 1436
	value_coerce_to_number.

1437 1438 1439
2005-05-15  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Bumped the goffice requirement as we need GORegexp now.
1440 1441
	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
1442 1443
	* src/func.c, src/gnumeric-gconf.c: Clean up function declarations.
	* src/sheet.h: Include prototype for sheet_apply_border.
1444

1445 1446 1447 1448 1449
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.

1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467
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.

1468 1469
2005-05-13  Morten Welinder  <terra@gnome.org>

1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484
	* 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.

1485 1486 1487
	* src/style.c (style_default_halign): Handle that down rotations
	are now angles >180, not <0.

1488 1489 1490 1491 1492
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.

1493 1494 1495 1496 1497 1498 1499 1500 1501
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.

1502 1503 1504 1505 1506
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.

1507 1508 1509 1510 1511
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
1512 1513 1514 1515
2005-05-10  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
1516 1517 1518 1519
2005-05-10  Jody Goldberg <jody@gnome.org>

	* Release 1.5.1

1520 1521
2005-05-09  Morten Welinder  <terra@gnome.org>

1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542
	* 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
1543 1544
	* src/workbook.c (workbook_sheet_state_diff): Implement.

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

1548 1549 1550 1551 1552
	* 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.

1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569
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

1570 1571 1572 1573 1574 1575 1576 1577 1578 1579
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.

1580 1581
2005-05-06  Morten Welinder  <terra@gnome.org>

1582 1583 1584 1585 1586 1587 1588 1589 1590 1591
	* 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.

1592 1593 1594
	* src/workbook.c (workbook_unref): Remove and replace calls with
	simple g_object_unref

1595 1596
2005-05-05  Morten Welinder  <terra@gnome.org>

1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616
	* 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.

1617 1618
	* src/dependent.c (do_deps_destroy): Fix sheet-remove crash.

1619 1620
2005-05-04  Morten Welinder  <terra@gnome.org>

1621 1622 1623 1624 1625
	* 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.

1626 1627 1628
	* 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.

1629 1630
2005-05-03  Morten Welinder  <terra@gnome.org>

1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641
	* 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
1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657
	* 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).

1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674
	* 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
1675 1676
2005-05-02  Morten Welinder  <terra@gnome.org>

1677 1678 1679 1680 1681
	* 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
1682 1683 1684 1685 1686 1687 1688 1689
	* 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.
1690 1691
	(workbook_set_dirty, workbook_is_dirty, workbook_is_pristine):
	Walk the sheet array, not the hash.
Morten Welinder's avatar
Morten Welinder committed
1692 1693 1694 1695 1696 1697 1698 1699 1700

	* 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).

1701 1702
2005-05-02  Morten Welinder  <terra@gnome.org>

1703 1704 1705 1706 1707 1708 1709
	* 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.

1710 1711 1712 1713 1714 1715 1716 1717 1718 1719
	* 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.

1720 1721 1722 1723
2005-04-21  Jon K Hellan  <hellan@acm.org>

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

Morten Welinder's avatar
Morten Welinder committed
1724
	* src/sheet-object-image.c (sheet_object_image_get_target_list):
1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747
	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
1748 1749
2005-04-29  Morten Welinder  <terra@gnome.org>

1750 1751 1752 1753 1754 1755
	* 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
1756 1757 1758 1759 1760 1761
	* 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
1762 1763
2005-04-28  Stepan Kasal  <kasal@ucw.cz>

Stepan Kasal's avatar
Stepan Kasal committed
1764 1765 1766
	* 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
1767
	(WINDRES): Add an AC_ARG_VAR declaration.
Stepan Kasal's avatar
Stepan Kasal committed
1768
	And some whitespace changes.
Stepan Kasal's avatar
Stepan Kasal committed
1769

1770 1771
2005-04-26  Morten Welinder  <terra@gnome.org>

1772 1773 1774 1775 1776 1777
	* 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 "".

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

1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793
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.

1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820
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

1821 1822 1823 1824 1825
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.

1826 1827
2005-04-19  Morten Welinder  <terra@gnome.org>

1828 1829 1830 1831 1832 1833 1834 1835
	* 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
1836 1837
	* */*.c: #include fixes.

1838 1839 1840
	* src/rangefunc.c (range_mode): Fix the case where multiple
	different values occur equally often.

1841 1842 1843 1844 1845 1846 1847
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.

1848 1849 1850 1851 1852
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
1853 1854 1855 1856
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[]"
Morten Welinder's avatar
Morten Welinder committed
1857
	to get rid of some warnings (unless we are on OS/2).
Stepan Kasal's avatar
Stepan Kasal committed
1858 1859
	* src/libgnumeric.c: Likewise.

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

1862
	* configure.in: Call PKG_PROG_PKG_CONFIG explicitly.
Stepan Kasal's avatar
Stepan Kasal committed
1863 1864 1865 1866 1867 1868
	* 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.

1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881
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
1882 1883
	* src/tools/gconf-schemas-to-win32-reg.c: Moved to tools/;
	see tools/ChangeLog for details.
1884

Stepan Kasal's avatar
Stepan Kasal committed
1885 1886 1887 1888
2005-04-15  Stepan Kasal  <kasal@ucw.cz>

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

1891 1892 1893 1894 1895 1896
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.

1897 1898
2005-04-13  Jon K Hellan  <hellan@acm.org>

1899 1900 1901
	* src/gui-clipboard.c (x_claim_clipboard): Don't clear clipboard
	if we still own CLIPBOARD.

1902 1903
	* src/sheet-control-gui.c (scg_drag_receive_uri_list): Handle a
	bunch of extra mime types for dropped files.
Morten Welinder's avatar
Morten Welinder committed
1904
	(scg_drag_receive_cellregion,
1905 1906 1907
	(scg_drag_receive_same_proc_other_scg,
	(scg_drag_send_clipboard_objects): Check that cell region is non
	null before using it.
1908

1909 1910 1911
2005-04-12  Morten Welinder  <terra@gnome.org>

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

1914 1915 1916 1917
2005-04-11  Morten Welinder  <terra@gnome.org>

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

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

1920 1921
	* src/dialogs/dialog-preferences.c (cb_pref_font_hf_set_fonts,
	cb_pref_font_set_fonts):
Stepan Kasal's avatar
Stepan Kasal committed
1922
	They were broken by my changes in 2005-04-08.
1923

Morten Welinder's avatar
Morten Welinder committed
1924 1925 1926 1927 1928
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.

1929 1930 1931 1932 1933 1934
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.

1935 1936 1937 1938 1939 1940
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.

1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962
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
1963 1964
2005-04-08  Morten Welinder  <terra@gnome.org>

1965 1966 1967
	* src/mathfunc.c (pfuncinverter): Improve in the special case
	where one of the interval endpoints is 0.

1968 1969 1970 1971
	* 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
1972 1973 1974
	* src/xml-sax-write.c (xml_write_cell_and_position): Fix crash.
	* src/xml-io.c (xml_write_cell_and_position): Ditto.

1975 1976 1977 1978 1979
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)

1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990
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
1991
	(POFILES_FULL): New AC_SUBSTed variable, contains full paths to
1992 1993 1994 1995 1996
	  po/*.po files.
	(perl): Fix a typo, and a few cosmetic changes.
	(AC_OUTPUT): Remove plugins/perl/*.
	* plugins/perl/*: Removed.

1997 1998 1999 2000
2005-04-04  Morten Welinder  <terra@gnome.org>

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

Jody Goldberg's avatar
Jody Goldberg committed
2001 2002 2003 2004
2005-04-04  Jody Goldberg <jody@gnome.org>

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

2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017
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.

2018 2019 2020 2021
2005-04-02  Morten Welinder  <terra@gnome.org>

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

2022 2023
2005-04-02  Jean Brefort  <jean.brefort@normalesup.org>

Morten Welinder's avatar
Morten Welinder committed
2024
	* src/style.c: (style_init), (style_shutdown): removed calls to
2025 2026
	number_format_init/shutdown (moved to goffice).

2027 2028
2005-04-01  Steve Murphy  <murf@e-tools.com>

2029
	* configure.in: Added "rw" to ALL_LINGUAS.
2030

2031 2032 2033 2034 2035
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.)

2036 2037
2005-04-01  Jon K Hellan  <hellan@acm.org>

Morten Welinder's avatar
Morten Welinder committed
2038
	* src/gnm-so-filled.c (gnm_so_polygon_write_xml_dom)
2039 2040
	(gnm_so_polygon_write_xml_sax): Fix warnings.

2041 2042 2043
2005-04-01  Jon K Hellan  <hellan@acm.org>

	* src/workbook-control-gui.c (wbcg_sheet_add): Make the
Morten Welinder's avatar
Morten Welinder committed
2044
	GNUMERIC_SHEET target GTK_TARGET_SAME_APP.
2045 2046 2047 2048 2049 2050 2051 2052
	(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
Morten Welinder's avatar
Morten Welinder committed
2053
	scg_drag_data_received.
2054 2055 2056 2057
	(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
Morten Welinder's avatar
Morten Welinder committed
2058
	Connect drag-data-get, drag-motion and drag-leave callbacks.
2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084
	(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
2085 2086
2005-04-01  Morten Welinder  <terra@gnome.org>

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

2089 2090
2005-03-31  Morten Welinder  <terra@gnome.org>

2091 2092 2093
	* src/wbc-gtk.c (regenerate_window_menu): Clean up and allow more
	windows in the menu.

2094 2095 2096
	* src/search.c (gnm_search_replace_class_init): Make scope a
	property too.

2097 2098 2099
	* src/commands.c (cmd_set_text): Improve undo description.  Fixes
	#171637.

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

2104 2105 2106 2107 2108 2109
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.

2110 2111 2112 2113 2114
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.

2115 2116
2005-03-30  Morten Welinder  <terra@gnome.org>

2117 2118 2119 2120 2121 2122 2123
	* 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.

2124 2125
	* src/search.c: Adapt to goffice changes.  (Aka make it an object
	and cut most of it.)
2126
	(gnm_search_replace_class_init): Define a pile of properties.
2127

Jody Goldberg's avatar
Jody Goldberg committed
2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162
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.

2163 2164 2165 2166
2005-03-29  Jon K Hellan  <hellan@acm.org>

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

2167 2168 2169 2170 2171
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
2172 2173 2174 2175
2005-03-29  Stepan Kasal  <kasal@ucw.cz>

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

2176 2177
2005-03-28  Jon K Hellan  <hellan@acm.org>

2178 2179 2180
	* src/gui-clipboard.c (image_write): Look harder for selected
	imageable objects.

2181 2182 2183 2184 2185
	* 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
2186 2187 2188 2189 2190 2191 2192 2193 2194
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.

2195 2196 2197 2198 2199 2200 2201
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
Morten Welinder's avatar
Morten Welinder committed
2202
	clipboard_copy_obj.
2203

2204 2205
2005-03-28  Morten Welinder  <terra@gnome.org>

2206 2207
	* src/workbook-view.c (wb_view_auto_expr_recalc): Take format from
	auto-format.
2208
	(wb_view_auto_expr_recalc): Plug leak.
2209

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

2213 2214 2215
	* src/*.c src/*/*.c plugins/*/*.c: Use canonical object property
	names.

2216 2217 2218 2219 2220 2221
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.

2222 2223 2224 2225 2226
2005-03-24  Andreas J. Guelzow <aguelzow@taliesin.ca>

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

2227 2228 2229 2230
2005-03-24  Jon K Hellan  <hellan@acm.org>

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