OChangeLog-2003-12-23 337 KB
Newer Older
J.H.M. Dassen (Ray)'s avatar
J.H.M. Dassen (Ray) committed
1 2 3 4
2003-06-09  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* debian/*: Updated from latest package.

Morten Welinder's avatar
Morten Welinder committed
5 6 7 8
2003-06-09  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (mathfunc_init): Turn off SIGFPE in here.

Jean Brefort's avatar
Jean Brefort committed
9 10
2003-06-08  Jody Goldberg <jody@gnome.org>

11 12 13 14
	* src/style.h : DEFAULT size in the schemas is 10, use it here too.

	* schemas/gnumeric-general.schemas.in : Use valid english.

Jean Brefort's avatar
Jean Brefort committed
15 16 17 18 19 20
	* Makefile.am : do not include the .server or .server.in files in the
	  distribution.
	* src/Makefile.am (ui_DATA) : be absolutely anal about
	  gnumeric-paths.h, generate it early, and do not include it in the
	  distribution.

Jody Goldberg's avatar
Jody Goldberg committed
21 22 23 24
2003-06-07  Jody Goldberg <jody@gnome.org>

	* configure.in : bump again

Jody Goldberg's avatar
Jody Goldberg committed
25 26 27 28 29 30 31 32 33 34 35 36 37 38
2003-06-07  Jody Goldberg <jody@gnome.org>

	* Release 1.1.19

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

	* src/Makefile.am : Suck it up and ignore the make warnings about
	  circular dependencies.   automake-1.4 pisses me off.

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

	* src/dependent.c (link_expr_dep) : be more anal in case something
	  unexpected gets in.

Jody Goldberg's avatar
Jody Goldberg committed
39 40 41 42
2003-06-07  Jody Goldberg <jody@gnome.org>

	* configure.in : post release bump

Jody Goldberg's avatar
Jody Goldberg committed
43 44 45 46
2003-06-07  Jody Goldberg <jody@gnome.org>

	* Release 1.1.18

Morten Welinder's avatar
Morten Welinder committed
47 48
2003-06-06  Morten Welinder  <terra@gnome.org>

49 50 51 52 53 54 55
	* src/style-border.c (style_border_set_gc_dash): Work around a
	missing const in gdk.
	(*_line, *_pattern): constify.

	* src/style-color.c (gnumeric_color_shutdown): Unref
	black/white/grid colors.  Print leaks.

Morten Welinder's avatar
Morten Welinder committed
56
	* src/format.c (number_format_shutdown): Print leaks.
57
	(number_format_shutdown): Unref default formats.
58
	(format_destroy): Make static.
Morten Welinder's avatar
Morten Welinder committed
59

Jody Goldberg's avatar
Jody Goldberg committed
60 61
2003-06-06  Jody Goldberg <jody@gnome.org>

62 63 64 65 66 67
	* src/sheet.c (sheet_colrow_delete_finish) : This is bad practice and
	  should not really be here.  However, we need to ensure that update is
	  run before sv_panes_insdel_colrow plays with frozen panes, updating
	  those can trigger redraws before sheet_update has been called.
	(sheet_colrow_insert_finish) : ditto.

Jody Goldberg's avatar
Jody Goldberg committed
68 69 70
	* configure.in : bump gsf req.
	* README : ditto.

71 72 73 74
2003-06-06  Jody Goldberg <jody@gnome.org>

	* src/bonobo-io.c (gnm_persist_stream_load) : warning suppression.

75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
2003-06-06  Morten Welinder  <terra@gnome.org>

	* src/item-bar.c (struct _ItemBar): Add normal_font_ascent and
	bold_font_ascent fields.  Change normal_font and bold_font to
	PangoFonts.
	(item_bar_calc_size): Set font and ascent fields.
	(ib_draw_cell): Use them.
	(item_bar_normal_font): Change to return a pango font.
	(ib_fonts_unref): Use g_object_unref, not style_font_unref.
	(ib_draw_cell): Use the right font for shaping.  (This prevents
	the bold dancing effect.)

	* src/sheet-control-gui.c (scg_setup_group_buttons): Match
	item_bar_normal_font change.

90 91
	* src/style.c (font_init): Don't export gnumeric_default_font, but
	gnumeric_default_font_width instead.  Single user changed.
92 93 94
	(style_font_string_width): Make static.
	(style_font_get_height): Delete.

95 96
2003-06-05  Jody Goldberg <jody@gnome.org>

97 98
	* src/gnumeric-gconf.c (gnm_gconf_rm_notification) : delete.

99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182
	* src/plugin.c (gnumeric_extra_plugin_dirs) : clarify the ownership of
	  the lists.
	(plugins_init) : ditto.
	(plugins_shutdown) : ditto.

	* src/application.c (application_history_get_list) : const the output
	  to be clear on the ownership semantics.  Add a 'force_reload'
	  argument to force the list to reload and clip from the underlying
	  gconf source.  Should not be necessary later when we clear up the
	  relationship between application, and the config.
	(application_history_update_list) : deleted.
	(application_history_add) : new.  merge in some of the old
	  application_history_update_list, and some of the history_menu stuff
	  and emit a notifuy even on the newly created file_history_list
	  property of the application.  We should do the same for other
	  properties rather than requiring direct gconf connections.
	(application_history_list_shrink) : delete.
	(application_history_write_config) : delete.
	(gnumeric_application_get_property) : new.
	(gnumeric_application_class_init) : install the property.

	* src/workbook.c (workbook_finalize) : Just call
	  application_history_add directly rather than
	  workbook_history_update that was a pointless layer of indirection.
	  No need to directly call application_history_write_config
	  history_add handles that.

	* src/sheet-object-widget.c (sheet_widget_list_create_widget) : If
	  we're going to throw in a stub widget, it might as well a treeview
	  rather than a deprecated list widget.

	* src/workbook.c (workbook_history_update) : delete the vast majority
	  of this moving what little remained into.

	* src/history.c : delete everything but history_item_label.
	  greatly simplify the logic and move the majority of it into.
	* src/workbook-control-gui.c : here.  While we're at it simplify our
	  lives in preparation for turning the bonobo mess into virtuals on
	  wbcg.  Use a simpler approach to creation and removal that let
	    - monitors the application::notify::file-history-list rather than
	      requiring explicit calls from a non-gui layer.
	    - removes everything even the seperator then reinserts the new
	      entries.
	(wbcg_file_history_setup) : renamed from wbcg_history_setup.
	(change_menu_label) : Use gtk_label_set_text with use_underline
	  set to true in place of the deprecated parse_uline gunk.  While
	  we're in here set the tooltip too.  Its a hack, setting the data
	  directly based on knownledge of the implementation in libgnomeui.
	  However, there aren't many choices other than fixing libgnomeui
	  which is just too long a wait.
	(cb_edit_paste_special) : move call to cmd_paste_to_selection in to
	  the dialog like every other implemntation.
	(wbcg_finalize) :  Use g_signal_handlers_disconnect_by_func in place
	  of the deprecated gtk_signal_disconnect_by_func.
	(workbook_setup_sheets) : Use gtk_notebook_set_show_border (FALSE) in
	  place of the deprecated gtk_notebook_set_tab_border (0).
	(workbook_control_gui_init) : use allow_grow, and allow_shrink
	  properties in place of deprecated gtk_window_set_policy.  And
	  g_idle_add, in place of deprecated gtk_idle_add.

	* src/sheet-control-gui.c (context_menu_handler) :
	  dialog_paste_special now calls cmd_paste_to_selection itself
	  like all the other dialogs.

	* src/gutils.c (g_slist_map) : constify to make life easier.

	* src/gnumeric-pane.c : some minor property renaming in the custom
	  canvas-items when we removed the deprecated gunk.
	* src/item-bar.c : remove deprecated GtkArg gunk in favour of
	  GObject::Param stuff.
	* src/item-grid.c : ditto.

	* src/gnumeric-gconf.h : Make the public GSLists const just to be
	  absolutely clear about who owns what.

	* src/gnumeric-gconf.c (gnm_gconf_set_plugin_extra_dirs) : make list
	  ownership semantics absolutely clear.
	(gnm_gconf_set_plugin_extra_dirs) : ditto.
	(gnm_gconf_set_file_history_files) : ditto.
	(gnm_gconf_add_notification_plugin_directories) : delete unused.
	(gnm_gconf_set_autoformat_extra_dirs) : delete unused.

	* src/gnumeric-gconf-priv.h : no need to publicly include gconf anymore

183 184
2003-06-05  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
185 186 187 188 189 190 191
	* src/stf.c (stf_read_default_probe): Delete.

	* src/stf-parse.c (stf_parse_get_rowcount): Delete.
	(stf_parse_fixed_cell): Make UTF-8 safe.
	(stf_parse_get_longest_row_width): Ditto.
	(stf_parse_is_valid_data): Delete.

192 193 194
	* src/stf.c (stf_preparse): Butcher this.  Don't do encodings
	here.

195 196
2003-06-04  Morten Welinder  <terra@gnome.org>

197 198 199 200 201 202
	* src/stf.c (stf_store_results): Fix off-by-one and missing base
	error in setting formats.

	* src/gui-clipboard.c (x_clipboard_to_cell_region): Fix off-by-one
	error in setting formats.

203 204 205
	* src/stf-parse.c (stf_parse_region): Quote anything that might be
	an expression.  Still not brilliant, but better.

206 207 208 209 210
2003-06-04  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (cb_filter_button_press) : this seems simpler,
	  and catches clicking on other buttons to close the popup.

211 212 213 214 215 216 217 218 219 220 221 222
2003-06-03  Jody Goldberg <jody@gnome.org>

	For Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
	http://bugzilla.gnome.org/show_bug.cgi?id=112713
	* src/gui-utils.[ch] 
	(gnumeric_button_new_with_stock_image) : new
	(gnumeric_add_dialog_button) : new
	(gnumeric_message_dialog_new) : new
	* src/workbook-control-gui.c
	(workbook_close_if_user_permits) : build a HIG compliant 
	confirmation dialog

223 224
2003-06-03  Jody Goldberg <jody@gnome.org>

225 226 227 228
	* src/sheet.c (sheet_row_size_fit_pixels) : delete the old hack to
	  work around granular font sizes and take out the +1 for the grid
	  line

229 230 231 232 233
	* src/sheet-filter.c (gnm_filter_remove) : make filterered rows
	  visible.
	* src/workbook-control-gui.c (cb_auto_filter) : sheet_update on remove
	  too.

234 235 236
	* src/item-cursor.c : clear out deprecated GtkObject::Arg goo.
	(item_cursor_draw) : pixel noise drawing zero sized animated cursors.

237 238
2003-06-03  Jody Goldberg <jody@gnome.org>

239 240
	* src/sheet.h : delete some non-existant decls.

241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269
	* src/sheet-object.c (sheet_objects_relocate) : kludgy tweak so that
	  ins/del col/row moves things and cut-n-paste does not.

2003-06-03  Jody Goldberg <jody@gnome.org>

	* src/sheet-filter.c (gnm_filter_overlaps_range) : new.
	(gnm_filter_contains_row) : delete.
	* src/sheet-view.c (sv_first_selection_in_filter) : new.
	(sv_edit_pos_in_filter) : delete.
	* src/workbook-control-gui.c (wbcg_menu_state_update) : use here.
	(cb_auto_filter) : and here.

2003-06-03  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (gnm_named_expr_collection_insert) : ease
	  requirements and allow active names to be inserted.  This is the
	  majority case for all the places we up/dowgrade placeholders and
	  change scope.
	(expr_name_check_for_loop) : rename from name_refer_circular and make
	  public.
	(expr_name_downgrade_to_placeholder) : new.
	(expr_name_set_scope) : no need to diddle ::active now that
	  collection_insert is less anal.
	(expr_name_cmp_by_name) : renamed from expr_name_by_name.

	* src/commands.c (cmd_define_name*) : add more checking at the start.
	  Don't bother keeping a ref to the nexpr.
	  handle undo for defining an existing placeholder.

270 271 272 273 274 275
2003-06-03  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (stf_parse_lines): New function.
	(stf_parse_next_token): Move UTF-8 from here to callers to avoid
	insane slowdown.

276 277 278 279 280 281 282
2003-06-02  Jody Goldberg <jody@gnome.org>

	* src/expr-name.c (expr_name_set_scope) : if the new scope does not
	  have any names initialize it.  Don't remove the name from the old
	  scope if it already exists in the newscope.  Return an error message
	  in the case of problems.

283 284
2003-06-02  Morten Welinder  <terra@gnome.org>

285 286 287 288 289
	* src/stf-parse.c (stf_parse_general_free): New function.
	(stf_parse_general): Switch from list <list<string>> to
	ptrarray<ptrarray<string>>, gaining random access.  All callers
	changed.

290 291 292 293 294 295 296 297 298 299 300
	* src/style.c (style_font_new_simple): Take a pango context
	argument also instead of producing a bogus one.
	(style_font_new): Ditto.  Improve fall-back scheme.
	(font_init): For now, create the default font on the default
	screen.  The need for the default is almost gone.

	* src/mstyle.c (mstyle_get_font, mstyle_get_pango_attrs): Take a
	pango context also to produce fonts.
	* src/rendered-value.c (calc_indent, rendered_value_render): Ditto.
	* src/sheet-control-gui.c (scg_get_style_font): Ditto.

301 302
	* src/print.c (sheet_print): Display preview on the right display.

Morten Welinder's avatar
Morten Welinder committed
303 304
	* src/gui-util.c (gnm_link_button_and_entry): New function.

305 306 307
	* src/commands.c (cmd_analysis_tool): Clarify memory ownership
	rules and adhere to them.  Plug leak.

308
	* src/item-edit.c (ie_layout): Handle ->layout properly so it
309 310
	doesn't get leaked.

311 312 313 314 315 316 317
2003-06-01  Jody Goldberg <jody@gnome.org>

	* src/sheet-object.c (sheet_objects_relocate) : check for
	  move_with_cells.
	(sheet_object_init) : init move_with_cells.

	* src/sheet-filter.c (filter_field_init) : new.
318 319 320 321

	* src/workbook-control-gui.c (cb_auto_filter) : update the menu when
	  adding or removing a filter.

322 323
2003-05-31  Jody Goldberg <jody@gnome.org>

324 325 326 327
	http://bugzilla.gnome.org/show_bug.cgi?id=114084
	* src/parser.y (find_matching_close) : Generated spurious paren errors
	  because gnm_strunescape points to the first char after the string
	  then we incremented.
328
	(yylex) : As long as we're down here tack on a bit of user
329 330 331 332
	  friendliness in the face of spaces.  If we know they can't be
	  operators based on the token we're returning ignore them to help the
	  users out.

333 334 335
	http://bugzilla.gnome.org/show_bug.cgi?id=114147.
	* src/sheet.c (sheet_clone_colrow_info) : copy max outline level too.

336 337 338 339
	http://bugzilla.gnome.org/show_bug.cgi?id=114151.
	* src/commands.c (cmd_selection_outline_change) : minor thinko when
	  implementing inverted placement.

340 341 342 343
	* src/sheet-control-gui.c (scg_setup_group_buttons) : honour the
	  sheet::display_outline flag.  We could probably move these to the
	  SheetView.

344 345 346 347 348 349 350
	* src/parser.y (parser_sheet_by_name) : don't leak the arguments when
	  attempting to parse an expression with an unknown function name.

	http://bugzilla.gnome.org/show_bug.cgi?id=114144.
	* src/workbook-control-gui.c (wbcg_validation_msg) : add accelerators
	  for the buttons.

351 352 353 354
	http://bugzilla.gnome.org/show_bug.cgi?id=114097.
	* src/sheet-object-widget.c : while we're in here clean up a bit.
	(cb_checkbox_label_changed) : doh!

355 356 357 358 359 360
	http://bugzilla.gnome.org/show_bug.cgi?id=114079.
	* src/colrow.c (colrow_get_states) : a difference in the default state
	  will also split a run. (fixes crash #2)
	* src/sheet-merge.c (sheet_merge_remove) : don't free range until
	  after we're through using r.  Just in case they are the same.

361 362 363
	* src/workbook-control-gui.c (cb_view_freeze_panes) : base the
	  decision to use default position on the last visible, not last full.

364 365 366
	* src/gnumeric-pane.c (cb_sheet_object_canvas_event) : don't freak out
	  if we can't edit the seleted object.

367 368 369 370 371 372 373
	* src/xml-io.c (xml_read_style) : target needs a function, it is not a
	  GObject::param.

	* src/dialogs/dialog-hyperlink.c (dialog_hyperlink) : we need to
	  register the types earlier.  Move the calls from here.
	* src/libgnumeric.c (gnm_common_init) : to here.

374 375 376
	* src/gui-util.c (gnumeric_error_info_dialog_new) : make the close
	  button the default.

377 378 379
	* src/validation.c (validation_eval) : fix typo that passed the type
	  as the style. Unique to 1.1.x

380 381 382 383 384 385 386 387 388 389 390 391 392 393
2003-05-31  Jody Goldberg <jody@gnome.org>

	* src/workbook-edit.c (wbcg_edit_finish) : add an optional flag to
	  indicate if a dialog was displayed.  This is necessary for only 1
	  caller.
	* src/validation.c (validation_eval) : add the dialog needed flag here
	  too.
	* src/item-grid.c (item_grid_button_press) : don't start dragging or
	  showing a menu.  If there was a validation dialog we already ignored
	  the corresponding button release.

	* src/tools/fill-series.c (do_row_filling) : only clip the fill with
	  the selection if the stoping value is not set.  Add a bounds test.
	(do_column_filling) : ditto.
394 395

	* src/GNOME_Gnumeric.xml : disable unimplemented import external.
396 397
	  Give Fill -> Series & Merge mnemonics
	  s/Graph/Chart/
398 399
	* src/workbook-control-gui.c : ditto.

Morten Welinder's avatar
Morten Welinder committed
400 401
2003-05-30  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
402 403
	* src/workbook-control.c (wb_control_parse_and_jump): Fix 114045.

404 405 406 407 408 409 410 411
	* src/style.c: Eliminate gnumeric_default_bold_font and
	gnumeric_default_italic_font.
	(style_font_new): Apply a simpler fall-back scheme that will work
	for bold & italic also.
	(style_shutdown): Greatly simplify now that
	gnumeric_default_bold_font and gnumeric_default_italic_font are
	gone.

Morten Welinder's avatar
Morten Welinder committed
412 413 414
	* src/mstyle.c (mstyle_link_sheet): Avoid referring to
	possibly-freed pointer.

415 416 417 418 419 420 421 422 423
2003-05-30  Morten Welinder  <terra@gnome.org>

	* src/mstyle.c (mstyle_init, mstyle_shutdown): New functions.
	(mstyle_new, mstyle_copy, mstyle_copy_merge, mstyle_unref): Use
	mstyle pool.

	* src/libgnumeric.c (gnm_common_init): Init mstyles.
	(gnm_shutdown): Shut them down.

424 425 426 427
2003-05-28  Jody Goldberg <jody@gnome.org>

	* configure.in : Add he to ALL_LINGUAS

Jon Kåre Hellan's avatar
Jon Kåre Hellan committed
428 429 430 431
2003-05-27  Jon K Hellan  <hellan@acm.org>

	* src/main-component.c: Include gnumeric-paths.h.

Morten Welinder's avatar
Morten Welinder committed
432 433
2003-05-27  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
434 435 436
	* src/style-border.c (style_border_none_set_color): Fix ref count
	leak.

Morten Welinder's avatar
Morten Welinder committed
437 438 439 440 441 442 443 444
	* src/style.c (style_font_new_simple): Fix warning text.

	* src/gnumeric-pane.h (struct _GnumericPane): cursor_type is of
	type GnmCursorType, not int.

	* src/item-grid.c (cb_cursor_motion): Ditto for cursor.
	* src/sheet-control-gui.c (scg_set_display_cursor): Ditto.

Jody Goldberg's avatar
Jody Goldberg committed
445 446 447 448 449 450 451 452 453 454
2003-05-24  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_sheet_label_drag_begin) : remove
	  deprecation.

2003-05-23  Jody Goldberg <jody@gnome.org>

	* src/selection.c (sv_selection_to_plot) : skip the dimension if its
	  can't be filled, don't just keep looking for data to put in it.

455 456
2003-05-23  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
457 458
	* src/style-border.c (style_border_get_gc): Fix ref count error.

459 460 461 462 463 464
	* src/gnumeric-pane.c (set_acetate_coords): Create bitmap on the
	right display.

	* src/pattern.c (gnumeric_pattern_get_stipple): Take drawable
	argument for identifying screen that bitmaps need to be valid on.

465 466 467
	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
	Switch font and size selectors to gnm_combo_text.

468 469 470 471
	* src/gui-util.c (gnm_cursor_set_widget): New function, cloned
	from GAL's e_cursor_set_widget which isn't multihead safe.  Some
	GAL stuff imported.  All callers changed.

472 473 474
	* src/pattern.c (gnumeric_background_set_gc): Batching is back per
	Jody's request.  The multihead issues remain fixed, though.

475 476
2003-05-22  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
477 478 479 480 481 482
	* src/style-color.c (style_color_new_uninterned): Set bogus .pixel
	values.

	* src/pattern.c (gnumeric_background_set_gc): Don't batch, gdk
	already does that.  Don't assume .pixel for colours.

483 484 485 486
	* src/gui-clipboard.c (x_claim_clipboard): Get the clipboard from
	the right display.
	(x_request_clipboard): Ditto.

487 488 489 490 491 492 493
	* src/clipboard.c (cellregion_to_string): Take a pango context
	parameter.  Use that instead of faking it.

	* src/gui-clipboard.c (x_clipboard_get_cb): Make this take a wbcg
	which is what it already gets.  Use that to get a pango context to
	send to cellregion_to_string.

494 495 496
	* src/item-bar.c (item_bar_realize): Set cursor for the right
	display.

497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512
	* src/workbook-control-gui.c (workbook_control_gui_new): Extra
	argument here is a GdkScreen pointer.  Supply that to
	workbook_control_gui_init.  All callers changed.

	* src/workbook-control-priv.h (WorkbookControlClass): Add extra
	parameter to control_new method.

	* src/workbook-control.c (wb_control_wrapper_new): Add "extra"
	argument here also and supply it to control_new.  All callers
	changed.

	* src/workbook-control-gui.c (workbook_control_gui_init): Make
	static.  Take extra GdkScreen parameter and set the new screen
	asap before we go creating pango contexts and gcs relating to the
	default screen.  All callers changed.

513 514
2003-05-22  Jody Goldberg <jody@gnome.org>

515 516 517
	* src/dependent.c (dependents_relocate) : cells optionally don't
	  relink, but objects must for now.

518 519 520
	* src/expr.c (cellrange_relocate) : fix logic inversion introduced
	  when I removed the unnecessary heuristic on 2003-05-16.

521 522 523 524 525 526 527 528
2003-05-22  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (workbook_menu_view): Combine the two
	New-View entries into one.
	(workbook_control_gui_init): Fix reference to freeze-panes menu
	entry.
	(cb_view_new): New function just calling the dialog.

Jody Goldberg's avatar
Jody Goldberg committed
529 530 531 532 533 534 535 536 537 538 539 540 541
2003-05-21  Jody Goldberg <jody@gnome.org>

	* src/item-edit.c : General de-cruftification.
	  - Move from GtkObject -> GObject
	  - Use set_property rather than set_args
	  - Remove pointless inclusion of sheet-control-gui-priv.h
	  (ie_layout) : rename from recalc_spans, move the
	  PangoLayout generation from _draw in here because it was more
	  advanced and cache the layout.

	* Makefile.am : don't clean the .server file it is generated by
	autoconf and a real pain to regenerate

542 543
2003-05-21  Morten Welinder  <terra@gnome.org>

544 545 546
	* src/gui-util.c (cb_free_keyed_dialog_context): Set the
	KeyedDialog property on the right object.

547 548 549 550 551 552 553 554 555
	* src/style-border.h (struct _StyleBorder): Add gc_screen field to
	track the screen that gc belongs to.

	* src/style-border.c (style_border_get_gc): Manage gc_screen.
	(style_border_unref): Ditto.

	* src/workbook-control-gui.c (workbook_create_standard_toolbar):
	Get pango context from toplevel widget.

556 557 558 559
	* src/preview-grid.c (preview_grid_draw): Get pango context from
	widget and pass it to pg_construct_cell.
	(pg_construct_cell): Remove bogus context construction from here.

560 561
2003-05-20  Morten Welinder  <terra@gnome.org>

562 563 564 565 566 567
	* src/style-border.c (style_border_set_gc_dash): Set the
	background colour as previosly, not the foreground.  Ugh.

	* src/sheet-control-gui.c (sheet_control_gui_new): Use
	g_object_set_data, not gtk_object_set_data.

568 569 570 571 572 573 574 575 576 577 578 579 580 581 582
	* src/style-border.c (style_border_set_gc_dash): Use
	gdk_gc_set_rgb_fg_color, not gdk_gc_set_foreground.  USe
	gdk_gc_set_rgb_bg_color, not gdk_gc_set_background.
	(style_border_none_set_color): Ditto.
	(style_border_get_gc): Ditto.

	* src/item-grid.c (item_grid_realize): Ditto.
	* src/item-cursor.c (item_cursor_draw): Ditto.
	* src/pattern.c (gnumeric_background_set_pc): Ditto.  (#if 0'ed.)
	(gnumeric_background_set_gc): Ditto, more or less.

	* src/preview-grid.c (preview_grid_realize): Plug "white" out of
	the style.  Use gdk_gc_set_rgb_fg_color, not
	gdk_gc_set_foreground.

583 584 585
	* src/gnumeric-canvas.c (gnm_canvas_realize): Plug "white" out of
	the style.

586 587 588
	* src/style-color.c (gnumeric_color_init): Make gs_yellow,
	gs_white, gs_black, gs_dark_gray, gs_light_gray, and gs_lavender
	unallocated colours.  Eliminate unused gs_red.
589 590 591 592

	* src/item-bar.c (item_bar_realize): Use gdk_gc_set_rgb_fg_color,
	not gdk_gc_set_foreground for multi-head support.

593 594 595 596 597 598
	* src/style-color.h (struct _StyleColor): Remove redundant red,
	green, and blue members.  All users changed to use color member.

	* src/style-color.c (color_hash): Improve hash function (as if it
	mattered).

599 600 601 602 603 604 605 606 607 608 609 610 611 612
2003-05-20  Jody Goldberg <jody@gnome.org>

	* src/sheet-object-graph.c (sheet_object_graph_remove_from_sheet) : new.
	(sheet_object_graph_class_init) : hook it up.

	* src/graph.c (gnm_go_data_vector_finalize) : free the values too.
	(gnm_go_data_scalar_set_sheet) : handle unlinking too.
	(gnm_go_data_vector_load_len) : only free the buffer if the length
	  changed.
	(gnm_go_data_vector_set_sheet) : ditto.
	(cb_assign_val) : be smarter and collect min/max and do decent end
	  checking.
	(nm_go_data_vector_load_values) : use the additional information.

613 614 615 616 617 618 619 620
2003-05-19  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_sheet_focus) : set the scg earlier
	  as soon as the sheet gets focus.

	* configure.in : remove -Wsign-promo according to gcc-3.3 it is only
	  valid for C++ now.

621 622
2003-05-19  Morten Welinder  <terra@gnome.org>

623 624 625 626
	* src/history.c (file_history_cmd): Use GObject methods.
	(history_menu_item_create): Ditto.
	* src/gui-util.c (popup_item_activate): Ditto.

627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644
	* src/workbook-control-gui.c (workbook_create_standard_toolbar):
	Use gtk_widget_set_size_request, not gtk_widget_set_usize.
	(workbook_setup_auto_calc): Ditto.
	(show_gui): Ditto.
	(workbook_setup_edit_area): Ditto.  Also don't use an arbitrary
	pixel count.

	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
	Use gtk_widget_set_size_request, not gtk_widget_set_usize.

	* src/gui-util.c (gnumeric_error_info_dialog_new): Use
	gtk_widget_set_size_request, not gtk_widget_set_usize.  Also base
	size of window on screen size, not arbitrary pixel counts.

	* src/sheet-control-gui.c (scg_setup_group_buttons, scg_resize,
	scg_resize): Use gtk_widget_set_size_request, not
	gtk_widget_set_usize.

645 646
	* src/workbook-format-toolbar.c: Avoid GNOME deprecated pixmaps.

647 648 649
	* src/libgnumeric.c (gnm_common_init): Use glade_init, not
	glade_gnome_init.

650 651 652 653 654 655
	* src/gui-util.c (gnumeric_position_tooltip): Use gtk_window_move,
	not deprecated gtk_widget_set_uposition.
	(gnumeric_clist_moveto): Use "void *" as arg instead of deprecated
	"GtkCList *" so the many includers of gui-util.h do not get
	punished.

656 657 658 659
2003-05-18  Morten Welinder  <terra@gnome.org>

	* src/*.c: Eliminate obvious deprecated stuff.

660 661 662 663 664 665 666 667 668 669 670 671
2003-05-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=106148.
	* src/expr.c (cellrange_relocate) : remove previous hack.  We're not
	  changing the expression so don't pretend to.  The right solution is.
	* src/dependent.c (dependents_relocate) : here.
	  Even if the expression does not change queue it for recalc.  We know
	  it depends on the region, so it needs to recalc.

	* src/sheet.c (sheet_move_range) : queue dependencies of target region
	  for recalc their expressions may not change but the content will.

672 673 674 675 676 677 678 679 680 681 682
2003-05-16  Morten Welinder  <terra@gnome.org>

	* src/workbook-control-gui.c (workbook_setup_auto_calc,
	workbook_create_standard_toolbar): Use gnm_measure_string instead
	of incorrect and deprecated GdkFont stuff.

	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
	Ditto.

	* src/gui-util.c (gnm_measure_string): New function.

683 684 685 686
2003-05-15  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/stf-parse.c (stf_parse_csv_cell): remove debug spew

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
687 688 689 690 691
2003-05-14  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/GNOME_Gnumeric.xml: Fix spelling
	* src/workbook-control-gui.c: ditto

692 693
2003-05-14  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
694 695 696
	* src/workbook-control-gui.c (cb_notebook_switch_page) : set the edit
	  line's scg if we are not in the middle of a rangesel.

697 698 699 700 701 702
	* src/xml-io.c (xml_read_names) : revert my previous error.
	  We can't use parse_pos_init_sheet here because it will fail in the
	  context of workbook level names.

	* src/position.c (parse_pos_init_sheet) : check for that.

703 704 705 706 707
2003-05-14  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-file.c (gui_file_open): change in charmap_selector_new
	  arguments

708 709
2003-05-14  Morten Welinder  <terra@gnome.org>

710 711 712
	* src/gutils.c (ldexpgnum): Use gnm_pinf and gnm_ninf.
	* src/regression.c (general_linear_regression): Ditto.

713 714 715
	* src/mathfunc.c (mathfunc_init): Generate gnm_pinf and gnm_ninf
	also.  Try much harder at making a NaN.

716 717 718 719
	* src/stf-export.c (stf_export_can_transliterate): Don't use
	fallback.  I think we want it to fail if it cannot transliterate
	the test string.

720 721
	* src/stf-export.h (StfExportOptions_t): Make quoting_char and
	cell_separator gunichars.
722

723 724
	* src/stf-export.c (stf_export_options_set_quoting_char,
	stf_export_options_set_cell_separator): Ditto.
725 726
	(stf_export_cell): Handle gunichar quoting.

Jody Goldberg's avatar
Jody Goldberg committed
727 728 729 730
2003-05-13  Jody Goldberg <jody@gnome.org>

	* schemas/gnumeric-general.schemas.in : Sans 10 is the default font

731 732
2003-05-13  Morten Welinder  <terra@gnome.org>

733 734 735
	* src/stf.c (stf_read_workbook): Set an error message so cancels
	won't cause blank books.

736 737 738 739
	* src/mathfunc.c (random_binomial): Use qbinom for sane time
	consumption.
	(random_negbinom): Use qnbinom for sane time consumption.

740 741 742 743 744 745
2003-05-13  Jody Goldberg <jody@gnome.org>

	* src/gui-file.c (gui_file_open) : add mnemonics for the type and
	  encoding selector.
	(file_format_changed_cb) : desensitize the label as well as the menu.

Jody Goldberg's avatar
Jody Goldberg committed
746 747 748 749
2003-05-13  Jody Goldberg <jody@gnome.org>

	* src/pattern.c (gnumeric_pattern_get_stipple) : fence post.

Morten Welinder's avatar
Morten Welinder committed
750 751 752 753
2003-05-13  Morten Welinder  <terra@gnome.org>

	* src/stf-parse.c (trim_spaces_inplace): Make UTF-8 safe.

754 755
2003-05-12  Morten Welinder  <terra@gnome.org>

756 757 758
	* src/stf.c (stf_open_and_read): Fix crash on errors and empty
	files.  Fix return value for empty files.

759 760 761
	* src/xml-io.c (gnumeric_xml_write_workbook): Fix broken object
	handling.

762 763
2003-05-12  Andreas J. Guelzow <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
764
	* src/stf-parse.c (compare_terminator) : return the byte
765 766 767
	  length of the used terminator
	(stf_parse_paresoptions_new): initialize the string indicator
	  to our default
Morten Welinder's avatar
Morten Welinder committed
768
	(stf_parse_next_token): pass all parse options, check also for
769
	  separators and terminators
Morten Welinder's avatar
Morten Welinder committed
770
	(stf_parse_options_csv_set_stringindicator): the string
771
	  indicator could be a non-ascii character
Morten Welinder's avatar
Morten Welinder committed
772
	(stf_parse_csv_cell): use the type information returned by
773 774 775 776 777 778 779 780
	  stf_parse_next_token
	(stf_parse_eat_separators): Don't eat null bytes.
	(stf_parse_get_rowcount): use stf_parse_next_token to avoid
	  counting in-string newlines
	* src/stf-parse.h (stf_parse_next_token): pass all parse
	  options
	(stf_parse_options_csv_set_stringindicator): the string
	  indicator could be a non-ascii character
781 782
	* src/stf.c (stf_read_workbook_auto_csvtab): stf_parse_next_token
	  now needs a parseoption
783

Jody Goldberg's avatar
Jody Goldberg committed
784 785 786 787
2003-05-12  Jody Goldberg <jody@gnome.org>

	* omf-install/Makefile.am : add missing ;

Jody Goldberg's avatar
Jody Goldberg committed
788 789 790 791
2003-05-12  Jody Goldberg <jody@gnome.org>

	* configure.in : post release version bump

Jody Goldberg's avatar
Jody Goldberg committed
792 793 794 795
2003-05-11  Jody Goldberg <jody@gnome.org>

	* Release 1.1.17

Jody Goldberg's avatar
Jody Goldberg committed
796 797 798 799 800 801 802 803 804 805 806 807
2003-05-09  Jody Goldberg <jody@gnome.org>

	* src/item-edit.c (item_edit_set_arg) : Use connect_object and
	  simplify the detroy function
	(item_edit_destroy) : by not having to recall the handler ids.

2003-05-09  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_data_pivottable) : disable until it
	  does something.
	* src/GNOME_Gnumeric.xml : ditto.

808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826
2003-05-10  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/stf-parse.c (comp_term): handle multibyte terminals
	(compare_terminator): check all terminators
	(stf_parse_options_new): initialize terminator list
	(stf_parse_options_free): free terminator list
	(long_string_first): new
	(stf_parse_options_set_line_terminator_char): deleted
	(stf_parse_options_set_line_terminator): deleted
	(stf_parse_options_clear_line_terminator): new
	(stf_parse_options_add_line_terminator): new
	(stf_parse_options_remove_line_terminator): new
	* src/stf-parse.h: Change type of StfParseOptions_t->
	  terminator
	(stf_parse_options_set_line_terminator_char): deleted
	(stf_parse_options_set_line_terminator): deleted
	(stf_parse_options_clear_line_terminator): new
	(stf_parse_options_add_line_terminator): new
	(stf_parse_options_remove_line_terminator): new
Morten Welinder's avatar
Morten Welinder committed
827

828

829 830 831
2003-05-10  Andreas J. Guelzow <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=99649
Morten Welinder's avatar
Morten Welinder committed
832 833
	* src/GNOME_Gnumeric.xml: insert separator between Open and
	  Save of the File menu.
834 835 836
	* src/workbook-control-gui.c (workbook_menu_file): ditto


837 838 839 840 841
2003-05-10  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* stf-export.c (stf_export_cell): transliterate if
	  requested
	(stf_export_options_set_transliterate_mode): new
Morten Welinder's avatar
Morten Welinder committed
842
	(stf_export_can_transliterate): new
843 844 845 846 847

	* stf-export.h: Add StfTransliterateMode_t
	(stf_export_options_set_transliterate_mode): new
	(stf_export_can_transliterate): new

848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867
2003-05-09  Morten Welinder  <terra@gnome.org>

	* src/format.h: Use gnumeric_regex_t, not regex_t.

	* configure.in: Check for memmove.  Add
	src/cut-n-paste-code/pcre/Makefile.

	* src/Makefile.am (gnumeric_app_libs): Add
	cut-n-paste-code/pcre/libpcre.a.

	* src/formats.c (currency_date_format_init): Switch to pcre
	(==perl) syntax in regular expressions.
	(cell_format_is_number): Use UTF-8 regexp
	routines.

	* src/number-match.c (char_to_re): Take a gunichar, just in case.
	(format_create_regexp): Take an unsigned char *.  Make UTF-8 safe.

	* src/regutf8.c: Switch to using pcre.

868 869 870 871 872
2003-05-08  Morten Welinder  <terra@gnome.org>

	* src/cell-draw.c (cell_draw): Fix HALIGN_CENTER case when a cell
	overflows.

873 874 875 876 877
2003-05-08  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/stf.c (stf_read_workbook_auto_csvtab): use a locale dependent
	separator (same as argument separator)

878 879 880 881 882
2003-05-07  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/stf.c (stf_read_workbook): add encoding argument
	(stf_init): set configurable text import to accept encoding

883 884 885 886 887 888 889
2003-05-07   Andreas J. Guelzow <aguelzow@taliesin.ca>

	For Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
	http://bugzilla.gnome.org/show_bug.cgi?id=111075
	* src/stf-export.c
	(stf_export_options_set_charset): new
	(stf_export_cell): add conversion to selected charset
Morten Welinder's avatar
Morten Welinder committed
890

891 892
	* src/stf-export.h
	(StfExportOptions_t): add charset
Morten Welinder's avatar
Morten Welinder committed
893

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
894 895
2003-05-07  Andreas Guelzow <aguelzow@taliesin.ca>

896
	* src/regutf8.c (ISASCII): last ASCII is 0x7f
Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
897

898 899 900 901 902 903 904
2003-05-07  Andreas Guelzow <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=100529
	* src/GNOME_Gnumeric.xml: Change `Open a....' to `Open a file'
	  and `Create a new spreadsheet' to `Create a new workbook'
	* src/workbook-control-gui.c: Change `Opena....' to `Opena file'

905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930
2003-05-06  Jody Goldberg <jody@gnome.org>

	* src/item-cursor.c (item_cursor_realize) : Use g_timeout_add
	  directly.
	(item_cursor_unrealize) : shutdown the animation here, not at
	  destruction.

2003-05-03  Jody Goldberg <jody@gnome.org>

	For Martin Hoffmann <nvnc-relay@gmx.net>
	* src/workbook-edit.c (auto_complete_matches) : fix autocompletion in
	  the face of multi byte characters.

2003-05-03  Jody Goldberg <jody@gnome.org>

	* src/gui-util.c (color_combo_get_style_color) : fix leak.

2003-05-02  Jody Goldberg <jody@gnome.org>

	* configure.in  : Tack on libart for the graphing.

2003-05-01  Jody Goldberg <jody@gnome.org>

	* src/gnumeric-pane.c (cb_control_point_event) : make things a bit
	  prettier.

931 932 933 934 935 936 937
2003-05-06  Andreas Guelzow <aguelzow@taliesin.ca>

	http://bugzilla.gnome.org/show_bug.cgi?id=80806
	* src/stf-parse.h (StfTokenType_t): new enumeration
	(stf_parse_options_set_line_terminator): change argument type
	(stf_parse_options_set_line_terminator_char): new
	(stf_parse_next_token): new
Morten Welinder's avatar
Morten Welinder committed
938 939

	* src/stf-parse.c
940 941 942 943 944 945 946 947
	(stf_parse_options_set_line_terminator): change argument type
	(stf_parse_options_set_line_terminator_char): new
	(stf_parse_next_token): new
	(comp_term): new inline
	(compare_terminator): new inline and use throughout the file
	(stf_parse_csv_is_separator): rewrite
	(stf_parse_csv_cell): rewrite
	(stf_parse_eat_separators): new
Morten Welinder's avatar
Morten Welinder committed
948
	(stf_parse_csv_line): make UTF-8 clean
Morten Welinder's avatar
Morten Welinder committed
949

950
	* src/stf.c (stf_read_workbook): fix released memory access (thanks Morten)
Morten Welinder's avatar
Morten Welinder committed
951
	(stf_read_workbook_auto_csvtab): make UTF-8 clean and adjust guess to make
952 953
	  it more likely to guess tsv rather than csv

954 955 956 957
2003-05-06  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (qbeta): Improve guess in log_p and lower_tail
	cases.
958 959 960 961
	(random_gaussian_pdf): Delete and use dnorm instead.
	(random_normal): Use the unit-circle method to generate two
	normally distributed numbers at a time.
	(random_lognormal): Use our own method based on random_normal.
962

963 964 965 966
2003-05-06  Guntupalli Karunakar  <karunakar@freedomink.org>

	* configure.in: Added "hi" in ALL_LINGUAS.

967
2003-05-05  Andreas Guelzow <aguelzow@taliesin.ca>
Morten Welinder's avatar
Morten Welinder committed
968 969

	* stf.c (stf_read_workbook_auto_csvtab): make guesswork UTF-8
970 971
	  clean and make it more likely to guess tsv

972 973 974 975 976 977 978 979
2003-05-05  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (pfuncinverter): New function, extracted from
	qgamma.
	(qgamma): Use pfuncinverter.
	(qbeta): Replace R's version by pfuncinverter-based one.
	(dbeta): New from R.

980 981 982
2003-05-05  Andreas Guelzow <aguelzow@taliesin.ca>

	* src/Makefile.am: removed src/charset.[ch]
Morten Welinder's avatar
Morten Welinder committed
983
	* src/charset.[ch]: removed (replaced by
984
	  src/widgets/widget-charmap-selector.[ch])
Morten Welinder's avatar
Morten Welinder committed
985
	* src/gui-file.c: replaced data block CharmapChooser by
986 987 988
	  widget CharmapSelector including the corresponding
	  function calls

989 990 991 992 993
2003-05-05  Andreas Guelzow <aguelzow@taliesin.ca>

	* src/charset.c (make_charmap_chooser): move declarations
	  where they belong

994 995
2003-05-05  Andreas Guelzow <aguelzow@taliesin.ca>

Morten Welinder's avatar
Morten Welinder committed
996
	* src/charset.c (set_encodings_menu): handle unknown
997 998
	  locale encoding

999 1000 1001 1002
2003-05-05  Andreas Guelzow <aguelzow@taliesin.ca>

	* src/bonobo-io.c (gnm_persist_stream_load): add argument
	  to call of wb_view_new_from_input
Morten Welinder's avatar
Morten Welinder committed
1003

1004 1005 1006 1007 1008 1009
	* src/charset.c: new file
	* src/charset.h: new file
	* src/file-priv.h: (_GnmFileOpenerClass): add argument to
	  declaration of open method
	(_GnmFileOpener): add encoding_dependent field
	(gnm_file_opener_setup): add argument
Morten Welinder's avatar
Morten Welinder committed
1010 1011

	* src/file.c (gnm_file_opener_open_real): new argument to pass
1012
	  to open call
Morten Welinder's avatar
Morten Welinder committed
1013
	(gnm_file_opener_setup): new argument to be used for
1014
	  initialization of added field
Morten Welinder's avatar
Morten Welinder committed
1015
	(gnm_file_opener_new): add argument to call of
1016 1017 1018 1019
	  gnm_file_opener_setup
	(gnm_file_opener_new_with_enc): new function
	(gnm_file_opener_is_encoding_dependent): new function
	(gnm_file_opener_open): new argument
Morten Welinder's avatar
Morten Welinder committed
1020

1021 1022 1023 1024
	* src/file.h (GnmFileOpenerOpenFuncWithEnc): new type
	(gnm_file_opener_new_with_enc): new function
	(gnm_file_opener_open): new argument
	(gnm_file_opener_is_encoding_dependent): new function
Morten Welinder's avatar
Morten Welinder committed
1025

1026 1027
	* src/gui-clipboard.c (table_cellregion_read): add argument
	  to call of wb_view_new_from_input
Morten Welinder's avatar
Morten Welinder committed
1028

1029 1030
	* src/gui-file.c (file_format_changed_cb_data): new type
	(make_format_chooser): only make option menu
Morten Welinder's avatar
Morten Welinder committed
1031
	(gui_file_read): new argument to be passed to call of
1032 1033 1034
	  wb_view_new_from_file
	(file_format_changed_cb): new callback
	(gui_file_open): add encoding selector to load file dialog
Morten Welinder's avatar
Morten Welinder committed
1035

1036
	* src/gui-file.h (gui_file_read): new argument
Morten Welinder's avatar
Morten Welinder committed
1037
	* src/history.c (file_history_cmd): add argument to call of
1038
	  gui_file_read
Morten Welinder's avatar
Morten Welinder committed
1039 1040

	* src/main-application.c (main): add argument to call of
1041
	  wb_view_new_from_file
Morten Welinder's avatar
Morten Welinder committed
1042 1043

	* src/plugin-service.c (gnm_plugin_file_opener_open): new
1044 1045 1046
	  argument
	(gnm_plugin_file_opener_new): add argument to call of
	  gnm_file_opener_setup
Morten Welinder's avatar
Morten Welinder committed
1047

1048 1049 1050 1051 1052
	* src/stf.c (stf_open_and_read): new argument
	(stf_preparse): handle encoding conversion
	(stf_read_workbook_auto_csvtab): new argument to be passed to
	  the call of stf_parse
	(stf_init): setup encoding
Morten Welinder's avatar
Morten Welinder committed
1053 1054

	* src/workbook-view.c (wb_view_new_from_input): new argument to be
1055
	  passed to the call of gnm_file_opener_open
Morten Welinder's avatar
Morten Welinder committed
1056
	(wb_view_new_from_file): new argument to be passed to the call of
1057
	  wb_view_new_from_input
Morten Welinder's avatar
Morten Welinder committed
1058

1059 1060 1061
	* src/workbook-view.h (wb_view_new_from_input): new argument
	(wb_view_new_from_file): new argument

1062 1063 1064 1065 1066 1067
2003-05-02  Morten Welinder  <terra@gnome.org>

	* src/gnumeric-canvas.h (GNUMERIC_CANVAS_FACTOR_Y): Up size to
	6000000 which seems to be enough for acuster.  It's a kludge,
	though.

1068 1069
2003-05-01  Morten Welinder  <terra@gnome.org>

1070 1071 1072 1073
	* src/mathfunc.c (fmin2, fmax2, imin2, imax2): Make these inline
	functions instead of macros.  (The R versions are functions.)
	(gammafn): Delete.

1074 1075 1076
	* src/mstyle.c (mstyle_get_pango_attrs): Add zoom parameter.
	* src/rendered-value.c (rendered_value_new): Supply zoom.

Jody Goldberg's avatar
Jody Goldberg committed
1077 1078 1079
2003-05-01  Jody Goldberg <jody@gnome.org>

	* src/sheet-object.c (sheet_object_default_size) : simplify.
1080 1081 1082 1083 1084
	(sheet_object_update_bounds) : call position_changed to let the model
	  know the size/position have changed not just the views.


	* src/sheet-object-graph.c (sheet_object_graph_position_changed) :
Jody Goldberg's avatar
Jody Goldberg committed
1085

1086 1087
2003-05-01  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
1088 1089
	* src/gutils.c (g_unichar_strstr_utf8, g_unichar_strchr,
	g_unichar_strncmp, g_unichar_strlen): Delete.
Morten Welinder's avatar
Morten Welinder committed
1090

1091 1092 1093
	* src/sheet.c (cb_sheet_get_extent): Per Jody, let's respan here
	when needed.

Morten Welinder's avatar
Morten Welinder committed
1094 1095 1096 1097 1098 1099
2003-04-29  Morten Welinder  <terra@gnome.org>

	* src/mathfunc.c (mathfunc_init): New function.

	* src/libgnumeric.c (gnm_common_init): Call mathfunc_init.

1100 1101 1102 1103 1104 1105 1106 1107 1108
2003-04-28  Jody Goldberg <jody@gnome.org>

	* configure.in : I'm a lazy bugger and will just commit the
	  directories for the goffice work.

	* src/sheet-object-graph.c (sheet_object_graph_default_size) : Use the
	  graph's notion of its default size.
	(sheet_object_graph_class_init) : init here.

1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119
2003-04-28  Morten Welinder  <terra@gnome.org>

	* src/commands.c (cmd_area_set_text_undo): Restore formats too.
	(cmd_set_text_redo): Handle auto-format.
	(cmd_set_text_undo): Undo via pasting.

	* src/auto-format.c (auto_style_format_suggest): Ref the result.

	* src/format.c (style_format_default_money): Make the default
	format be the one using ()s and red negatives.

1120 1121
2003-04-26  Jody Goldberg <jody@gnome.org>

1122 1123 1124
	* src/position.c (parse_pos_init_sheet) : new convenience routine.
	  Use it all over the place.

1125 1126 1127 1128 1129
	* src/gui-util.c (gnm_setup_label_atk) : update.

	* src/workbook-control-gui.c (cb_graph_dim_editor_update) : signature
	  change for the GnmExprEntry::update signal.

1130 1131
2003-04-25  Jody Goldberg <jody@gnome.org>

1132 1133
	* configure.in : bump gsf version req to force the use of CVS.

1134 1135 1136
	* src/ranges.c (range_trim) : do a pre-emptive clip to the existing
	  region to ameliorate the cost.

1137 1138 1139 1140 1141
2003-04-25  Morten Welinder  <terra@gnome.org>

	* src/Makefile (gnm-marshalers.c): Add an #include to the
	generated file.

Jody Goldberg's avatar
Jody Goldberg committed
1142 1143 1144 1145
2003-04-23  Jody Goldberg <jody@gnome.org>

	* src/workbook-edit.c (wbcg_edit_ctor) : set the wbcg early.

Jody Goldberg's avatar
Jody Goldberg committed
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156
2003-04-22  Jody Goldberg <jody@gnome.org>

	* src/gnm-marshalers.list : add NONE:BOOLEAN

	* src/sheet-control-gui.c (scg_select_all) : pretend that we
	  drag selected the range to fire an update signal even if the
	  exprentry's update_policy is discontinuous.
	(scg_rangesel_extend) : keyboard changes cause an update too.
	(scg_rangesel_move) : ditto.
	* src/item-bar.c (item_bar_event) : ditto.

Morten Welinder's avatar
Morten Welinder committed
1157 1158
2003-04-22  Morten Welinder  <terra@gnome.org>

1159 1160 1161 1162 1163 1164 1165
	* src/gui-clipboard.c (x_request_clipboard): Follow cut-and-paste
	preference.

	* src/gnumeric-gconf.c (gnm_conf_init): Set initial cut-and-paste
	preference.
	(gnm_gconf_set_prefer_clipboard_selection): New function.

Morten Welinder's avatar
Morten Welinder committed
1166 1167 1168
	* src/formats.c (currency_date_format_init): Improve error
	messages.

1169 1170 1171 1172 1173
2003-04-22  Jody Goldberg <jody@gnome.org>

	* doc/xmldocs.make : install docs where libgnome expects them
	  now something actually happens, although it is dog slow.

1174 1175 1176 1177 1178 1179 1180 1181 1182 1183
2003-04-21  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (mstyle_hash) : adjust to allow styles from different
	  sheets to hash the same despite auto colours that have different
	  instances.
	(mstyle_element_equal) : ditto.

	* src/sheet.c (sheet_destroy) : free the names last to make debugging
	  easier.

1184 1185
2003-04-19  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

1186 1187
	* src/commands.c: Implemented Undo/Redo for data shuffling.

1188 1189
	* src/commands.c: Implemented Undo/Redo for scenario->manager.

1190 1191 1192 1193
2003-04-18  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/sheet.c (sheet_move_range): Added a call to update scenarios.

1194
	* src/commands.c: Implemented Undo/Redo for scenario->add.
1195

1196 1197 1198 1199 1200
2003-04-16  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/xml-io.c (xml_read_scenarios): Use global_range_parse
	instead of parse_range.

1201 1202 1203 1204 1205 1206 1207 1208 1209
2003-04-15  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/xml-io.c (xml_read_scenarios): Wrote. Reads scenarios of a
	sheet.
	(xml_write_scenarios): Wrote. Stores scenarios of a sheet.
	(xml_node_set_value): Wrote.
	(xml_node_get_value): Wrote.
	(xml_sheet_write): Added a call to write scenarios.
	(xml_sheet_read): Added a call to read scenarios.
Morten Welinder's avatar
Morten Welinder committed
1210

1211 1212 1213 1214 1215 1216 1217
2003-04-12  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_graph_guru_done) : new.
	(cb_launch_graph_guru) : simplify the DataAllocator interface.
	  The whole edit_{begin/end} was needed for wbcg.  We can handle that
	  here directly without extending the interface.

1218 1219 1220 1221 1222 1223 1224 1225 1226
2003-04-12  Jody Goldberg <jody@gnome.org>

	* icons/chart* : fix the background transparency.
	* *.c : Use g_type_class_peek_parent and tidy up upchaining a bit
	  to be more consistent across all classes.

	* schemas/Makefile.am :  no need to install or translate the
	  plot-types file those are migrating to the plot plugins.

Jukka Pekka's avatar
Jukka Pekka committed
1227 1228 1229 1230 1231
2003-04-11  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/sheet.c (sheet_delete_rows, sheet_delete_cols,
	sheet_insert_rows, sheet_insert_cols): Update scenarios.

1232 1233 1234 1235 1236
2003-04-11  Morten Welinder  <terra@gnome.org>

	* src/print.c (print_job_info_get): Use
	gnome_font_face_find_closest for a 0.1% drop in suckage.

1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251
2003-04-11  Morten Welinder  <terra@gnome.org>

	* src/print-info.c (print_info_save): Store the printer
	configuration too.

	* src/gnumeric-gconf.c (gnm_gconf_set_printer_config): New
	function replacing all other gnm_gconf_set_printer_* functions.
	(gnm_conf_init): Get new printer-config key, not the old printer
	config keys.

	* src/print.c (print_job_info_set_one_time_defaults): Just use
	gnome_print_config_from_string.
	(print_job_info_save_one_time_defaults): Just use
	gnome_print_config_to_string.

1252 1253
2003-04-10  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

Jukka Pekka's avatar
Jukka Pekka committed
1254 1255
	* src/workbook-control-gui.c: Added scenario tool.

1256 1257 1258
	* src/sheet.c (sheet_destroy): Added scenarios free call.
	(sheet_dup): Added scenarios copy call.

Jukka Pekka's avatar
Jukka Pekka committed
1259 1260 1261 1262 1263 1264
2003-04-09  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/sheet.c (sheet_new): Initialize scenarios field.

	* src/sheet.h: Added scenarios field.

1265 1266 1267 1268 1269 1270 1271 1272 1273 1274
2003-04-06  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_go_plot_data_allocator_init) :
	  conditionalize the graphing extensions.

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

	* schemas/Makefile.am : remove plot-types.xml that will be handled in
	  the plotting plugins now.  Remove file and move images later.

1275 1276 1277 1278 1279
2003-04-02  Jody Goldberg <jody@gnome.org>

	* src/plugin-loader-module.c : remove gobject loader capabilities and
	  just sponge off of gobject directly.

1280 1281 1282 1283 1284
2003-04-03  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/workbook-control-gui.c, src/GNOME_Gnumeric.xml: Added a new
	filling tool just like in XL.

1285 1286 1287 1288
2003-04-02  Jukka Pekka  <jiivonen@hutcs.cs.hut.fi>

	* src/workbook-control-gui.c: Added a new tool for data shuffling.

1289 1290 1291 1292 1293
2003-03-30  Morten Welinder  <terra@diku.dk>

	* src/func.c (function_remove): Prevent crash if the function is
	no longer there.

Jody Goldberg's avatar
Jody Goldberg committed
1294 1295
2003-03-27  Jody Goldberg <jody@gnome.org>

1296 1297 1298
	* src/xml-io.h : add missing decls for
	  xml_node_get_bool, xml_node_set_bool.

Jody Goldberg's avatar
Jody Goldberg committed
1299 1300
	* src/style.c (style_font_new_simple) : doh!  Thanks Morten.

1301 1302 1303 1304 1305
2003-03-26  Morten Welinder  <terra@diku.dk>

	* src/style.c (style_font_string_width): Dont'ask for height just
	to throw it away.

1306 1307
2003-03-26  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
1308 1309 1310 1311 1312
	* src/pattern.c (gnumeric_background_set_gc) : trivial optimization to
	  avoid multiple calls to gdk_gc_set_values.
	(gnumeric_pattern_get_stipple) : no need to publicize this for now.
	  simply a bit.

1313 1314 1315 1316 1317 1318 1319
	* src/commands.c (command_register_undo) : handle 0 sized command
	  queues by keeping a ref to the current command in case the
	  truncation unrefs it.

	* src/workbook-control-gui.c (workbook_control_gui_ctor_class) : be
	  more resilient in the face of incomplete installs.

1320 1321 1322 1323 1324 1325 1326 1327 1328 1329
2003-03-21  Morten Welinder  <terra@diku.dk>

	* src/rendered-value.c (cell_get_render_color): Work around the
	work-around for bug 105322.

2003-03-20  Morten Welinder  <terra@diku.dk>

	* src/xml-io.c (gnumeric_xml_write_workbook): Remove gratuitous
	const cast.

1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360
2003-03-18  Jody Goldberg <jody@gnome.org>

	* src/gui-util.c (gnumeric_inject_widget_into_bonoboui) : make it more
	  forgiving in the face of installation problems.

2003-03-17  Jody Goldberg <jody@gnome.org>

	* src/dependent.c (name_dep_debug_name) : new.
	(dynamic_dep_eval) : new.
	(dependent_types_init) : register name pseudo type a name is not
	  really a dependent, but it is useful for relocation to have a unique
	  type for it.

	* src/dependent.h : Add relocation flavour to handle the needs of
	  names and potentially eventually sorting.

	* src/clipboard.c (clipboard_paste_region) : set relocation flavour.
	* src/sheet-autofill.c (autofill_cell) : ditto.
	* src/sheet.c (cb_set_cell_content) : ditto.
	* src/workbook.c (workbook_sheet_detach) : ditto.

	* src/item-edit.c (recalc_spans) : support the use of partial columns
	  at the edges.
	* src/sheet-control-gui.c (gnm_canvas_make_cell_visible) : don't
	  scroll past the requested col/row if it is larger than the screen.

2003-03-15  Jody Goldberg <jody@gnome.org>

	* src/file.h : fix the naming of a few methods (Still needs cleanup)
	  and add gnm_file_saver_for_file_name.

1361 1362 1363 1364
2003-03-19  Guntupalli Karunakar  <karunakar@freedomink.org>

	* configure.in: Added "ml" in ALL_LINGUAS

Jody Goldberg's avatar
Jody Goldberg committed
1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381
2003-03-14  Jody Goldberg <jody@gnome.org>

	* src/gutils.h (GNM_SIZEOF_ARRAY) : delete and use G_N_ELEMENTS

2003-03-13  Jody Goldberg <jody@gnome.org>

	* src/stf.c (stf_text_to_columns) : patch warning.

	* src/plugin-service.c : Add ServiceSimple as a convenience base for
	  plugin services that are only data, no exectution.

	* src/plugin-loader.c (gnumeric_plugin_loader_load_service) : add
	  simple service as a convenience base class.
	(gnumeric_plugin_loader_unload_service) : ditto.

	* src/main-application.c : underscores in command line args are ugly.

1382 1383 1384 1385 1386 1387 1388 1389 1390 1391
2003-03-12  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=108225
	* src/format.c (append_hour_elapsed) : why did I round this ?
	  Ideally we need to know the display precision to round correctly.

	* src/gui-util.c (cb_keyed_dialog_keypress) : new.
	(gnumeric_keyed_dialog) : initialize it here so that all the keyed
	  dialogs get support for quiting when Escape is pressed.

1392 1393 1394 1395 1396 1397 1398 1399 1400
2003-03-07  Morten Welinder  <terra@diku.dk>

	* src/value.c (value_peek_string): Use G_N_ELEMENTS.
	* src/regutf8.c (test): Ditto.
	* src/gnumeric-pane.c (gnm_pane_init): Ditto.

	* src/main-component.c (n_zoom_levels): Replace with use of
	G_N_ELEMENTS macro.

1401 1402 1403 1404 1405 1406 1407 1408 1409 1410
2003-03-06  Jody Goldberg <jody@gnome.org>

	* src/sheet-control-gui.c (scg_queue_movement) : new.
	(cb_scg_queued_movement) : ditto.
	(scg_init) : init the delayed movement handler.
	(scg_finalize) : clear the delayed movment handler.

	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : use the motion
	  compression here for paging.

Jody Goldberg's avatar
Jody Goldberg committed
1411 1412
2003-03-05  Jody Goldberg <jody@gnome.org>

1413 1414 1415
	* src/test-pango.c (main) : init initial_workbook_open_complete so
	  that things exit on last unref.

Jody Goldberg's avatar
Jody Goldberg committed
1416 1417
	* src/item-grid.c (item_grid_button_press) : more morton warnings.

1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436
2003-03-05  Morten Welinder  <terra@diku.dk>

	* src/format-template.c (format_template_save): Fix grave
	integer/gboolean confusion.

	* src/workbook-control-gui.c (workbook_close_if_user_permits): Fix
	grave integer/gboolean confusion.

	* src/xml-io.c (xml_node_set_color): Fix pointer/integer
	confusion.

	* src/consolidate.c (cb_col_tree): Fix return type.

	* src/style-border.c (style_border_fetch): Fix pointer/integer
	confusion.

	* src/workbook.c (workbook_date_conv): Fix pointer/gboolean
	confusion.

1437 1438 1439 1440 1441
2003-02-28  Morten Welinder  <terra@diku.dk>

	* src/mathfunc.c (random_01): Get larger chunks of randomness.
	People who need randomness tend to need a lot.

1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468
2003-02-26  Morten Welinder  <terra@diku.dk>

	* src/rendered-value.h: No more rendered_text member.

	* src/rendered-value.c (rendered_value_destroy): Don't release
	rendered_text.
	(rendered_value_new): Don't set rendered_text.  Change to using
	format_value_gstring.  Recycle the GString.
	(rendered_value_get_text): Don't check rendered_text because we
	don't use it.
	(cb_rendered_value_pool_leak): Use the pango text.

	* src/print-cell.c (print_cell): Use the pango text.

	* src/print-info.c (render_value_with_format): Use
	format_value_gstring.

	* src/format.c (format_number): Change to take a GString *
	argument.  All callers changed.
	(fmt_general_float): Ditto.
	(fmt_general_int): Ditto.
	(format_value_gstring): New function copied from format_value.
	(format_value): Changed to a simple wrapper around
	format_value_gstring.

	* src/formats.c (cell_format_is_number): Don't redefine macro.

Morten Welinder's avatar
Morten Welinder committed
1469 1470 1471 1472 1473 1474 1475 1476 1477
2003-02-24  Morten Welinder  <terra@diku.dk>

	* src/sheet-object-bonobo.c (sheet_object_bonobo_set_object_iid):
	Don't use '== TRUE'.

	* src/rendered-value.c (rendered_value_new): Don't specify the
	text length for the layout text.  strlen takes time and
	pango_layout_set_text is going to walk over the string anyway.

1478 1479 1480 1481 1482 1483
2003-02-24  Morten Welinder  <terra@diku.dk>

	* src/xml-io.c (xml_read_styles): Count blank nodes too for
	progress update purposes.
	(xml_sheet_read): Ditto.

1484 1485 1486 1487 1488 1489 1490 1491 1492
2003-02-23  Morten Welinder  <terra@diku.dk>

	* src/format.c (render_number): Use g_string_append_len instead of
	g_string_append a few places where we know the length.  That saves
	a strlen call.

	* */*.c */*/*.c: s/g_string_new ("")/g_string_new (NULL)/.
	The latter saves a strlen call.

1493 1494 1495 1496 1497 1498 1499
2003-02-21  Morten Welinder  <terra@diku.dk>

	* src/style.c (style_font_new_simple): Set language on pango
	context.
	* src/clipboard.c (cellregion_to_string): Ditto.
	* src/sheet.c (sheet_new): Ditto.

1500 1501 1502 1503 1504
2003-02-18  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_new_from_input) : you can't probe
	  content if there is no probe function.

1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525
2003-02-17  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=106148.
	* src/expr.c (cellrange_relocate) : In situations where only part of a
	  range ref is moving we may not need to change the expression.
	  However, thiings will not be queued for recalc if the expression is
	  not changed, so pretend to change it.

2003-02-15  Jody Goldberg <jody@gnome.org>

	* src/plugin-loader-module.c
	(gnumeric_plugin_loader_module_load_service_plugin_loader) : simplify.

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

	* src/plugin-service.c (plugin_service_new) : use a hash table for the
	  service types.
	(plugin_services_init) : new to define the builtin services.
	(plugin_services_shutdown) : new.
	(plugin_service_define) : allow the definition of new service types.

Morten Welinder's avatar
Morten Welinder committed
1526 1527 1528 1529
2003-02-10  Morten Welinder  <terra@diku.dk>

	* src/xml-io.c (xml_read_cell_copy): Fix 104669.

1530 1531 1532 1533 1534 1535
2003-02-09  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* schemas/gnumeric-dialogs.schemas.in,
	schemas/gnumeric-general.schemas.in: Added <list_type>s to fix the
	warnings on schema installation.

1536 1537
2003-02-08  Jody Goldberg <jody@gnome.org>

1538 1539
	* configure.in : Remove tests for evolution.  We can use the simpler
	  command line interface with far fewer worries.
1540 1541
	* configure.in : remove mr_IN until there is content

1542 1543 1544 1545 1546
2003-02-07  Morten Welinder  <terra@diku.dk>

	* src/rendered-value.h: Store a GdkColor here in order to work
	around http://bugzilla.gnome.org/show_bug.cgi?id=105322.

1547 1548 1549 1550 1551 1552
2003-02-03  Jody Goldberg <jody@gnome.org>

	* src/workbook-view.c (wb_view_new_from_input) : A name match needs to
	  be a content match too.
	(wb_view_new_from_file) : suppress warnings.

1553 1554 1555 1556 1557
2003-02-02  Jody Goldberg <jody@gnome.org>

	* src/mstyle.c (mstyle_get_pango_attrs) : The mstyle uses the ref to
	  the new list so we need to add a ref for the result.

1558 1559 1560 1561
2003-02-01  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* README: Updated; added Debian package names.

1562 1563 1564 1565 1566
2003-01-28  Jody Goldberg <jody@gnome.org>

	* src/commands.c (cmd_area_set_text_redo) : fix minor warning from
	  autoformating.

1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582
2003-01-28  Morten Welinder  <terra@diku.dk>

	* src/mstyle.c (mstyle_get_pango_attrs): Cache attributes.
	(struct _MStyle): new member pango_attrs.
	(mstyle_pango_clear): New function.
	(mstyle_new): Set pango_attrs.
	(mstyle_copy): Duplicate pango_attrs.
	(mstyle_unref): Clear pango_attrs.
	(mstyle_set_color): Ditto.
	(mstyle_set_font_name): Ditto.
	(mstyle_set_font_bold): Ditto.
	(mstyle_set_font_italic): Ditto.
	(mstyle_set_font_uline): Ditto.
	(mstyle_set_font_strike): Ditto.
	(mstyle_set_font_size): Ditto.

1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624
2003-01-28  Morten Welinder  <terra@diku.dk>

	* src/workbook-control-gui.c (cb_rerender_zeroes): Rerender cells
	that are zero when toggling the hide-zeroes flag.

	* src/value.c (find_column_of_field): Don't refer to rendered
	text, because that is not what is meant.  Use value_get_as_string
	for now.

	* src/style.c (style_font_new_simple): Create a
	PangoFontDescription also (for the benefit of
	mstyle_get_pango_attrs.)
	(style_font_unref): Get rid of it.
	(style_font_text_width): Delete.

	* src/stf-export.c (stf_export_cell): Don't use rendered text, use
	the result of value_get_as_string.  Perhaps this should be a
	format call.

	* src/sheet.c (sheet_new): Create a PangoContext and store it in
	the sheet.
	(sheet_destroy): Unref it.

	* src/rendered-value.c (rendered_value_new): Take and use a
	PangoContext for creating layouts.  Place the string into the
	layout.  Handle zero-blanking here.  Process and store all mstyle
	info, either in layout or in RenderedValue itself.  Implement
	HALIGN_JUSTIFY modulo a Pango bug.  Implement HALIGN_FILL
	correctly for multi-line cells.

	* src/preview-grid.c (pg_construct_cell): Changed to match new
	conventions for rendering cells.

	* src/mstyle.c (mstyle_get_pango_attrs): Handle font also.

	* src/cell-draw.c (cell_draw): Rework to let Pango handle much of
	the alignment and line-breaking issues.  Clean out #includes.
	Move gdk_gc_set_fill calls into callers.  (Or rather into their
	setup routines.)

	* configure.in: post release bump.

Jody Goldberg's avatar
Jody Goldberg committed
1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639
2003-01-28  Jody Goldberg <jody@gnome.org>

	* Release 1.1.16

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

	* schemas/gnumeric-general.schemas.in : Override the default toolbar
	  layout to be icon only.  It can still be changed by clicking on the
	  toolbar, but at least the default is less ugly.

2003-01-26  Jody Goldberg <jody@gnome.org>

	* src/gui-file.h : remove unnecessary bonobo specific interface.
	  libgsf wraps all of that now.

1640 1641 1642 1643 1644 1645
2003-01-27  Morten Welinder  <terra@diku.dk>

	* src/print.c (print_page, print_job_info_get,
	print_job_info_destroy): Make robust with respect to missing
	fonts.

1646 1647 1648 1649 1650
2003-01-25  J.H.M. Dassen (Ray) <jdassen@debian.org>

	* configure.in: Consistently require libgsf 1.7.1. Thanks Christian
	Biesinger.

1651 1652 1653 1654 1655 1656 1657
2003-01-24  Morten Welinder  <terra@diku.dk>

	* src/format.c (format_number): Allow more digits in fractions and
	use continued_fraction.

	* src/mathfunc.c (continued_fraction): New function.

1658 1659 1660 1661 1662 1663 1664
2003-01-23  Jody Goldberg <jody@gnome.org>

	For Murray Cumming  <murrayc@usa.net>
	* configure.in: Now uses libgnomeprint*-2.2 instead of 2.0, for GNOME
 	2.2. It is an API-incompatible, parallel-installable separate library.
 	* src/print.c, src/dialogs/dialog-printer-setup.c:
 	Made code changes (search/replace) as per Chema's instructions.
Morten Welinder's avatar
Morten Welinder committed
1665

1666 1667 1668 1669 1670 1671
2003-01-23  Jon K Hellan  <hellan@acm.org>

	* src/gui-clipboard.c (table_cellregion_read): Initalize wb and
	wb_view to NULL, check against NULL before unrefing.
	(complex_content_received): const char* reader_id.
	(x_clipboard_clear_cb): Remove incorrect comment.
1672 1673
	(x_request_clipboard): Update confusing variable name 'primary' to
	'clipboard'.