1. 08 May, 2006 3 commits
  2. 07 May, 2006 3 commits
  3. 06 May, 2006 3 commits
    • Jody Goldberg's avatar
      new. Add it. install headers. When we move to subversion we can move the · 57b41013
      Jody Goldberg authored
      
      2006-05-06  Jody Goldberg <jody@gnome.org>
      
      	* libspreadsheet-1.7.pc.in : new.
      	* configure.in : Add it.
      	* src/Makefile.am : install headers.  When we move to subversion we
      	  can move the path around a bit, with cvs too much surgery would be
      	  required.
      57b41013
    • Jody Goldberg's avatar
      start installing the headers as 'libspreadsheet-1-7/ssheet' · 69a028e7
      Jody Goldberg authored
      2006-04-30  Jody Goldberg <jody@gnome.org>
      
      	* start installing the headers as 'libspreadsheet-1-7/ssheet'
      
      2006-04-30  Jody Goldberg <jody@gnome.org>
      
      	* src/Makefile.am : remove unused code associated with bonobo.  People
      	  can pull it from cvs archives if desired.
      		: bonobo-io.c
      		: bonobo-io.h
      		: sheet-object-bonobo.c
      		: sheet-object-bonobo.h
      		: sheet-object-container.c
      		: sheet-object-container.h
      		: sheet-object-item.c
      		: sheet-object-item.h
      69a028e7
    • Jody Goldberg's avatar
      use new update_ui flag in GoalEvalData. (goal_seek_eval) : Have an · 745c5053
      Jody Goldberg authored
      2006-05-05  Jody Goldberg <jody@gnome.org>
      
      	* dialog-goal-seek.c (gnumeric_goal_seek) : use new update_ui flag in
      	  GoalEvalData.
      	(goal_seek_eval) : Have an update_ui flag that toggles between
      	  sheet_cell_set_value rather than cell_set_value so that the final
      	  call from gnumeric_goal_seek does not need to manually respan
      	  things.
      
      2006-05-05  Jody Goldberg <jody@gnome.org>
      
      	* src/dependent.h : s/DependentClass/GnmDependentClass/ to be
      	  consistent.
      745c5053
  4. 04 May, 2006 1 commit
  5. 03 May, 2006 3 commits
    • Morten Welinder's avatar
      Improve selection. · b8e31012
      Morten Welinder authored
      2006-05-03  Morten Welinder  <terra@gnome.org>
      
      	* src/commands.c (cmd_autofill_redo): Improve selection.
      b8e31012
    • Morten Welinder's avatar
      New function. (sheet_autofill_internal): Split out from sheet_autofill. · 0d36a9e6
      Morten Welinder authored
      2006-05-03  Morten Welinder  <terra@gnome.org>
      
      	* src/sheet-autofill.c (sheet_autofill_hint): New function.
      	(sheet_autofill_internal): Split out from sheet_autofill.
      	(afm_teach_cell): Deduce dateconv here instead of as an init
      	paramter.
      	(afa_teach_cell): Deduce deduce here.
      	(afa_set_cell): Set format correctly.
      
      	* src/item-cursor.c (cb_autofill_scroll): Display autofill hint.
      	(item_cursor_selection_event): Store button state.
      	(item_cursor_autofill_event): Use CONTROL state as-of when we
      	started the drag, not when we ended it.
      
      	* src/cell-draw.c (cell_finish_layout): Add parameter to allow
      	inhibiting numerical overflow.  All callers changed.
      0d36a9e6
    • Morten Welinder's avatar
      Call cell_finish_layout. Fixes #67351. · aea6e969
      Morten Welinder authored
      2006-05-02  Morten Welinder  <terra@gnome.org>
      
      	* src/sheet.c (cb_max_cell_width, cb_max_cell_height): Call
      	cell_finish_layout.  Fixes #67351.
      
      	* src/cell-draw.c (cell_finish_layout): Split out...
      	* src/print-cell.c (print_cell): ...here.
      
      	* src/rendered-value.c (rendered_value_new): Wrap texts only.
      aea6e969
  6. 02 May, 2006 3 commits
  7. 01 May, 2006 2 commits
  8. 30 Apr, 2006 4 commits
    • Jody Goldberg's avatar
      implement. · 5c840ace
      Jody Goldberg authored
      
      2006-04-30  Jody Goldberg <jody@gnome.org>
      
      	* src/mstyle.c (gnm_style_is_complete) : implement.
      5c840ace
    • Jody Goldberg's avatar
      returns a const to make it clear not to touch the result. update. update. · 9a397890
      Jody Goldberg authored
      2006-04-30  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-style.c (sheet_style_get) : returns a const to make it
      	  clear not to touch the result.
      	* src/workbook-view.c (wb_view_format_feedback) : update.
      	* src/workbook-edit.c (wbcg_edit_finish) : update.
      9a397890
    • Jody Goldberg's avatar
      renamed from cell_copy to be more consistent about naming, and mark as · e3d44f06
      Jody Goldberg authored
      
      2006-04-30  Jody Goldberg <jody@gnome.org>
      
      	* src/cell.c (cell_dup) : renamed from cell_copy to be more consistent
      	  about naming, and mark as deprecated.
      e3d44f06
    • Jody Goldberg's avatar
      merge excel_write_PANE into here and fix export of H or V only freezes. · 563646db
      Jody Goldberg authored
      2006-04-29  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_WINDOW2) : merge excel_write_PANE into
      	  here and fix export of H or V only freezes.
      
      2006-04-23  Jody Goldberg <jody@gnome.org>
      
      	* xlsx-write.c : new.  Basic export and some code that will move to
      	  libgsf for 'Open Package' support.
      	* plugin.xml.in : Add xlsx export.
      	* Makefile.am : ditto.
      
      2006-04-23  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (excel_read_EXTERNSHEET_v7) : patch
      	  tweak to import broken quoted sheetname from gnumeric-1.0.x eg
      	  Libro1.xls.
      
      2006-04-23  Jody Goldberg <jody@gnome.org>
      
      	* ms-chart.c (ms_excel_chart_read) : Don't set the graph and chart
      	  styles to blank unless this is a full sheet object.  Fixes the
      	  import of older charts that are not wrapped in BOF records eg
      	  ms699.xls.
      
      2006-04-29  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-view.c (wb_view_get_index_in_wb) : new for xlsx export.
      
      	* src/selection.h (sv_selection_foreach) : renamed from
      	  selection_foreach_range.  All callers changed.
      	* src/selection.c (sv_selection_add_full) : renamed from
      	  sv_selection_add_range to be clearer.
      	(sv_selection_add_range) : new utility that takes a ... GnmRange.
      
      	* src/sheet-view.h : SheetView::selections make this a GSList, no need
      	  for a GList.  This makes the api more homogeneous.
      
      	* src/cell.c (cell_get_style) : constify the result and rename from
      	  cell_get_mstyle.
      
      	* src/ranges.c (range_as_string) : renamed from range_name.  All
      	  callers fixed.
      
      	* src/style-conditions.c (gnm_style_conditions_eval) : tack on hooks
      	  for some of the new condition types in office 12.
      563646db
  9. 28 Apr, 2006 1 commit
    • Morten Welinder's avatar
      Remove. · a97c25bb
      Morten Welinder authored
      2006-04-27  Morten Welinder  <terra@gnome.org>
      
      	* src/commands.c (cmd_clone_sheet): Remove.
      
      	* src/wbcg-actions.c (cb_edit_duplicate_sheet): Remove.
      
      	* src/workbook-control-gui.c (wbcg_clone_sheet): New function,
      	based on cmd_reorganize_sheets.
      	(sheet_action_clone_sheet): Just call wbcg_clone_sheet.
      a97c25bb
  10. 27 Apr, 2006 3 commits
    • Morten Welinder's avatar
      Issue a warning if the cell has text format, but contains anything but a · 5dd9ec28
      Morten Welinder authored
      2006-04-27  Morten Welinder  <terra@gnome.org>
      
      	* src/workbook-edit.c (wbcg_edit_start): Issue a warning if the
      	cell has text format, but contains anything but a string.
      5dd9ec28
    • Morten Welinder's avatar
      Add stock_id. Not a perfect match, but close enough. · e423fea3
      Morten Welinder authored
      2006-04-27  Morten Welinder  <terra@gnome.org>
      
      	* src/wbc-gtk.c (wbc_gtk_init_zoom): Add stock_id.  Not a perfect
      	match, but close enough.
      e423fea3
    • Morten Welinder's avatar
      New font metrics setup. · 8b1641f1
      Morten Welinder authored
      2006-04-26  Morten Welinder  <terra@gnome.org>
      
      	* src/style.c (gnm_font_metrics_new, gnm_font_metrics_free,
      	gnm_font_metrics_unit): New font metrics setup.
      
      	* src/sheet.c (sheet_col_get_distance_pixels): New function.
      
      	* src/cell.c (cell_get_render_color, cell_get_entered_text,
      	cell_rendered_height, cell_rendered_width, cell_rendered_offset):
      	Moved from src/rendered-value.c.
      
      	* src/gnm-format.c (gnm_format_layout, gnm_format_general): New
      	functions.
      	(format_value_gstring): Use gnm_format_general.
      
      	* src/rendered-value.c (rendered_value_render): Calculate column
      	widths in pixels and use gnm_format_layout to get accurate
      	rendering.  Take layout instead of string.
      	(rendered_value_new): Set attributes before the call to
      	rendered_value_render.
      8b1641f1
  11. 26 Apr, 2006 1 commit
  12. 25 Apr, 2006 1 commit
  13. 24 Apr, 2006 1 commit
  14. 23 Apr, 2006 1 commit
    • Morten Welinder's avatar
      Rename from cmd_reorganize_sheets2. Take extra argument optionally · 4177cdfd
      Morten Welinder authored
      2006-04-23  Morten Welinder  <terra@gnome.org>
      
      	* src/commands.c (cmd_reorganize_sheets): Rename from
      	cmd_reorganize_sheets2.  Take extra argument optionally specifying
      	the front sheet before the action.
      	(cmd_reorganize_sheets_undo, cmd_reorganize_sheets_redo): Raise
      	relevant sheet.  Fixes #154705.
      4177cdfd
  15. 22 Apr, 2006 1 commit
    • Morten Welinder's avatar
      If we guessed a space separator that implies we want initial separators · 22a223d3
      Morten Welinder authored
      2006-04-21  Morten Welinder  <terra@gnome.org>
      
      	* src/stf-parse.c (stf_parse_options_guess): If we guessed a space
      	separator that implies we want initial separators ignored.
      	Further, space implies tab.
      	(stf_parse_options_csv_set_trim_seps): New function.
      	(stf_parse_csv_line): Ignore initial separators if asked to.
      	Fixes #339297.
      
      2006-04-21  Morten Welinder  <terra@gnome.org>
      
      	* dialog-stf-csv-page.c (stf_dialog_csv_page_init): Remove some of
      	the more crazy separators.  Add option to remove initial
      	separators.
      22a223d3
  16. 21 Apr, 2006 1 commit
    • Morten Welinder's avatar
      Speedup. · 8ed12840
      Morten Welinder authored
      2006-04-20  Morten Welinder  <terra@gnome.org>
      
      	* dialog-stf-preview.c (stf_preview_set_lines): Speedup.
      
      	* dialog-stf-csv-page.c (stf_dialog_csv_page_init): Project
      	guessed options onto gui.
      
      2006-04-20  Morten Welinder  <terra@gnome.org>
      
      	* src/stf-parse.c (stf_parse_options_guess): When we guess a space
      	as separators, make two count as one.  Fixes #332997.
      8ed12840
  17. 20 Apr, 2006 2 commits
    • Morten Welinder's avatar
      Add tooltip. Together with goffice patch, this fixes #339122. · fdf9153c
      Morten Welinder authored
      2006-04-20  Morten Welinder  <terra@gnome.org>
      
      	* src/wbc-gtk.c (wbc_gtk_init_zoom, wbc_gtk_init_font_size,
      	wbc_gtk_init_font_name): Add tooltip.  Together with goffice patch,
      	this fixes #339122.
      fdf9153c
    • Morten Welinder's avatar
      Simplify using select_range. (cmd_set_text_undo, cmd_set_text_redo): Call · 9195ac8b
      Morten Welinder authored
      2006-04-19  Morten Welinder  <terra@gnome.org>
      
      	* src/commands.c (cmd_paste_copy_impl, cmd_autofill_undo,
      	cmd_copyrel_undo, cmd_text_to_columns_impl, cmd_paste_cut_redo,
      	cmd_paste_cut_undo): Simplify using select_range.
      	(cmd_set_text_undo, cmd_set_text_redo): Call select_range.
      	(cmd_clear_undo): Simplify using select_selection.
      	(cmd_clear_redo, cmd_format_redo, cmd_format_undo): Call
      	select_selection.
      	(select_range, select_selection): New functions.
      9195ac8b
  18. 19 Apr, 2006 4 commits
    • Emmanuel Pacaud's avatar
      sheet_object_write_image takes an extra parameter for export resolution. · 926de31a
      Emmanuel Pacaud authored
      2005-04-19  Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
      
      	* src/gui-clipboard.c (image_write): sheet_object_write_image takes an
      	extra parameter for export resolution.
      	* src/sheet-control-gui.c (scg_drag_send_image): ditto.
      	* src/sheet-object-image.c (gnm_soi_write_image): ditto.
      	* src/sheet-object-impl.h: ditto.
      	* src/sheet-object.c (sheet_object_write_image): ditto.
      	* src/sheet-object-graph.c (gnm_sog_write_image): ditto.
      	(sog_cb_save_as): ditto. Get resolution from gui_get_image_save_info.
      926de31a
    • Morten Welinder's avatar
      Don't re-fit heights here. Don't redraw twice. (sheet_apply_border): Don't · 1a0c2fa4
      Morten Welinder authored
      2006-04-19  Morten Welinder  <terra@gnome.org>
      
      	* src/sheet.c (sheet_apply_style): Don't re-fit heights here.
      	Don't redraw twice.
      	(sheet_apply_border): Don't redraw twice.
      	(cb_max_cell_height): Drop cheap hack that didn't work on
      	multi-line text.
      
      	* src/commands.c (cmd_format_undo): Undo in reverse order of redo.
      	(cmd_format_redo): Use colrow_autofit.
      1a0c2fa4
    • Morten Welinder's avatar
      Autofit row heights for string constants. · a0ddd13f
      Morten Welinder authored
      2006-04-19  Morten Welinder  <terra@gnome.org>
      
      	* src/commands.c (cmd_set_text_redo): Autofit row heights for
      	string constants.
      
      	* src/sheet.c (sheet_col_size_fit_pixels): Add extra argument to
      	control whether to ignore strings.  All callers changed.
      	(sheet_row_size_fit_pixels): Similarly.
      a0ddd13f
    • Morten Welinder's avatar
      Autofit column based on cell's width. · 30ae7061
      Morten Welinder authored
      2006-04-18  Morten Welinder  <terra@gnome.org>
      
      	* src/commands.c (cmd_set_text_redo): Autofit column based on
      	cell's width.
      
      	* src/sheet.c (sheet_col_size_fit_pixels): Take two extra
      	arguments specifying the row interval to look at.  All callers
      	changed.
      	(sheet_row_size_fit_pixels): Similarly.
      
      	* src/colrow.c (colrow_autofit): New primitive to autofit columns
      	or rows based on the size of a range.
      	(rows_height_update): This is now a special case of
      	colrow_autofit.
      30ae7061
  19. 18 Apr, 2006 1 commit
    • Morten Welinder's avatar
      Hold a ref to the workbook while the save is in progress. Makes #338847 go · c9a4fc1e
      Morten Welinder authored
      2006-04-18  Morten Welinder  <terra@gnome.org>
      
      	* src/workbook-view.c (wb_view_save_as, wb_view_save,
      	wb_view_sendto): Hold a ref to the workbook while the save is in
      	progress.  Makes #338847 go away, even if the underlying cause has
      	not been fixed.
      
      	* src/wbc-gtk.c (cb_regenerate_window_menu): Safely handle a
      	control that no longer has a view (and thus a workbook).
      
      	* src/workbook-control.c (wb_control_get_workbook): Handle NULL
      	view.
      	* src/workbook-control-gui.c (wbcg_view_changed): Simplify after
      	above change.
      c9a4fc1e
  20. 17 Apr, 2006 1 commit