1. 24 Oct, 2003 1 commit
  2. 07 Jul, 2003 1 commit
  3. 06 May, 2002 1 commit
  4. 06 Jul, 2001 1 commit
  5. 02 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      Add some debug macros to catch the magic helix cursor grab. Ditto. Ditto. · 0dbf3a31
      Jody Goldberg authored
      
      2000-12-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c : Add some debug macros to catch the magic helix
      	  cursor grab.
      	* src/item-cursor.c : Ditto.
      	* src/item-grid.c : Ditto.
      	* src/sheet-control-gui.c : Ditto.
      
      2000-12-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/functions/fn-lookup.c (gnumeric_hlookup) : fix cut-n-paste-o.
      0dbf3a31
  6. 21 May, 2000 1 commit
    • Jody Goldberg's avatar
      A few delayed patches. · 2779b474
      Jody Goldberg authored
      These optimize paste, exit, sheet deletetion,
      and start the process for fixing a few things.
      
      2000-05-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (clipboard_copy_cell_range) : Adjust signature to
      	  take a range.
      	(sheet_paste_selection) : Export in preparation for adding undo.
      
      	* src/commands.c (cmd_paste_copy) : Some initial work.  Not used or
      	  complete.
      
      	* src/parse-util.c (parse_text_value_or_expr) : Start passing in the
      	  current format so that we can eventually attempt to match it before
      	  trying all the others.
      
      	* src/sheet.c (sheet_formulas_unlink) : New function.
      	(sheet_destroy_contents) : Optimize.
      
      	* src/dialogs/dialog-plugin-manager.c : Make a bit prettier.
      	* src/dialogs/plugin-manager.glade : Ditto.
      
      2000-05-16  Jody Goldberg <jgoldberg@home.com>
      
      	* plugins/*/*.c : Rationalize the naming scheme.
      
      2000-05-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/eval.[ch] : Rename
      	  cell_queue_recalc      -> eval_queue_cell
      	  cell_queue_recalc_list -> eval_queue_list
      	  cell_unqueue_recalc    -> eval_unqueue_cell
      	(eval_unqueue_sheet) : New function.
      
      	* src/sheet.c (sheet_cell_remove_simple) : Add precautionary removal
      	  of cells from recalc list.  We should not need this in most
      	  instances, but the check is inexpensive so I'll play it safe.
      	(sheet_destroy_contents) : Batch cleanups rather than doing it cell by
      	  cell.
      
      	* src/cell.c (cell_make_value) : Fill in the implementation.
      
      	* src/clipboard.c (paste_cell_flags) : Remove some dead code.
      	  Merged in paste_cell and fixed handling of paste by value.
      
      2000-05-14  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (paste_cell) : No need to call cell_content_changed
      	  we can queue the recalc for the entire region later.  It is
      	  sufficent to make the cell as changed with sheet_cell_changed.
      	(paste_cell) : It is premature to redraw, we have no yet calculated
      	  spans.  Redraw and respan at the range level, not the cell.
      2779b474
  7. 18 May, 2000 1 commit
  8. 09 Apr, 2000 1 commit
    • Jody Goldberg's avatar
      Do not change the target style if editing has not yet been enabled. · cd9b6682
      Jody Goldberg authored
      
      2000-04-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-cell-format.c : Do not change the target style if
      	  editing has not yet been enabled.
      
      	* src/workbook.c (workbook_set_saveinfo) : If the save function is
      	  NULL default to xml.
      
      	* src/format.c (format_value) : Add some error checking.
      
      	* src/cell.c (calc_text_dimensions) : Make static
      
      	* src/main.c : Add main.h
      
      2000-04-03  Dom Lachowicz <dominicl@seas.upenn.edu>
      
       	* src/workbook.c (sheet_action_reorder_sheet): Right click on a
       	sheet tab, and if there's more than one sheet, you'll get an
       	option to bring up the re-order sheets dialog
      
       	* src/dialogs/dialog-plugin-manager.c (refresh_right_frame) :  Do not
      	  override default fonts and colours.
      
      	* src/dialogs/sheet-order.glade,
      	* src/dialogs/sheet-order.glade.h,
      	* src/dialogs/dialog-sheet-order.c (row_cb, delete_clicked_cb,
      	  up_clicked_cb, down_clicked_cb, close_clicked_cb,
      	  dialog_sheet_order_impl) : Improve look by moving buttons to the
      	  right edge rather than using stock buttons on the bottom and side.
      
      2000-04-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_finish_editing) : resensitize the toolbars
      	  after editing.
      	(workbook_start_editing_at_cursor) : Desensitize the toolbars when we
      	  start to edit.
      cd9b6682
  9. 02 Apr, 2000 1 commit
  10. 30 Mar, 2000 2 commits
  11. 29 Mar, 2000 1 commit
    • Jon K Hellan's avatar
      Add titles for torn off combos. · da485b05
      Jon K Hellan authored
      2000-03-29  Jon K Hellan  <hellan@acm.org>
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
      	Add titles for torn off combos.
      
      	* src/workbook.c (workbook_create_standard_toobar): Ditto
      
      2000-03-29  Jon K Hellan  <hellan@acm.org>
      
      	* src/widgets/gtk-combo-box.h (gtk_combo_box_set_title): Declare
      
      	* src/widgets/gtk-combo-box.c (struct _GtkComboBoxPrivate):
      	New/renamed members: toplevel, tearoff_window: Popup's
      	toplevel when torn_off/not torn off. torn_off: Tearoff status
      	flag. Names are the same as in gtk/gtkmenu.c. tearable: The tearoff
      	"button". popup: The widget which gets torn off. This is actually
      	the event box.
      	(gtk_combo_box_finalize): Destroy tearoff window.
      	(gtk_combo_box_popup_hide): Turned into a wrapper which does
      	nothing if popup is torn off, and calls
      	gtk_combo_box_popup_hide_unconditional if it isn't.
      	(gtk_combo_box_popup_hide_unconditional): Contains the logic which
      	used to be in gtk_combo_box_popup_hide. If torn off, the popup is
      	reattached after hiding.
      	(gtk_combo_box_popup_display): Realize popup as well as toplevel.
      	(gtk_combo_toggle_pressed): Use
      	gtk_combo_box_popup_hide_unconditional.
      	(gtk_combo_box_key_press): New function. Dismiss popup on escape.
      	(gtk_combo_box_init): Various renamings. Connect key press handler.
      	(gtk_combo_get_parent_toplevel):
      	(gtk_combo_popup_tear_off): New function. Tear off the popup.
      	(cb_tearable_button_release): Toggle tearoff state.
      	(gtk_combo_box_construct): Make tearoff menu item no fill, no
      	expand.
      	(gtk_combo_box_set_title): New function. Set a title to display
      	over the tearoff window.
      da485b05
  12. 26 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Prep for release. · 831eef61
      Jody Goldberg authored
      DOM's plugin manger aesthetic adjustments.
      
      2000-03-25  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_{col,row}_set_size_pts) : Set the update flags.
      
      	* src/workbook.c : Add undo/redo elements.
      
      2000-03-25  Jody Goldberg <jgoldberg@home.com>
      
      	For Dom Lachowicz <cinamod@hotmail.com>
      
      	* src/plugin.[ch] (plugin_data_get_size,
      	  plugin_data_last_modified) : New functions.
      	(plugin_load): updated
      
      	* src/dialogs/dialog-plugin-manager.c
      	(dialog-plugin-manager-impl, refresh-right-frame): updated.
      
      	* src/dialogs/plugin-manager.glade,
      	  src/dialogs/plugin-manager.glade.h
      	  New layout, enabled word-wrap in description,
      	  Other aesthetic changes
      831eef61
  13. 11 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      When the edit lined receives focus start editing. (accept_input) : No need · 297927c2
      Jody Goldberg authored
      
      2000-03-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (cb_editline_focus_in) : When the edit lined receives
      	  focus start editing.
      	(accept_input) : No need to force edit mode we should already be in
      	  edit mode.
      	(workbook_setup_edit_area) : Move the wizard button to the begining of
      	  the list and store the ok and cancel buttons in the Private section.
      	  Hook cb_editline_focus_in to focus-in.
      	(workbook_new) : After show_all, we need to hide the ok/cancel edit
      	  buttons.  We start out not editing.
      	(workbook_start_editing_at_cursor) : Show the ok/cancel edit buttons.
      	(workbook_finish_editing) : Hide them.
      297927c2
  14. 10 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Constness. · c2af08a9
      Jody Goldberg authored
      2000-03-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/func.c (tokenized_help_new) : Constness.
      
      	* src/widgets/gtk-combo-box.c (cb_state_change) : New function to keep
      	  the state of the combo display button and the combo arrow in sync.
      	(gtk_combo_box_init) : Connect cb_state_change to the arrow.
      	(gtk_combo_box_set_display) : Ditto for the display widget.
      
      	* src/sheet.c (sheet_set_zoom_factor) : Bound the factor at 10% and 500%
      
      	* src/workbook.c (change_zoom_in_current_sheet_cb) :
      	  call change_displayed_zoom_cb to adjust the combo to contain the
      	(workbook_focus_current_sheet) : Only emit signal if the sheet
      	  changed.
      
      2000-03-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/collect.c (callback_function_collect) : Treat arrays and ranges
      	  as errors.
      
      	* src/format.c (format_value) : formating a range returns a
      	  #VALUE! message.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
      	  Use the workbook flags, and delete the icky globals.
      	(start_cell_selection_at) : Hide the std cursor when a cell selection
      	  cursor is created.
      	(gnumeric_sheet_stop_cell_selection) : Restore the std cursor.
      
      2000-03-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (accept_input) : Use workbook_finish_editing.
      	(cancel_input) : Ditto.
      	(do_focus_sheet) : Support range selection across spreadsheets.
      	(workbook_get_sheet_position) : Fix and document.
      	(workbook_move_sheet) : Fix.
      	(workbook_focus_sheet) : Handle errors cleanly.
      	(wb_edit_key_pressed) : Improve F4 handling.
      	(wizard_input) : Begin non-modal function wizard.  NOT FINSIHED.
      	(workbook_start_editing_at_cursor) : transfered from
      	  sheet_start_editing_at_cursor.
      	(workbook_finish_editing) : Distilled from sheet_{accept,cancel}_pending_input.
      	(Workbook) : Add editing_cell, editing_sheet, editing.
      
      	* src/sheet.c (sheet_stop_editing) : Delete.
      	(sheet_accept_pending_input) : Merge into workbook_finish_editing.
      	(sheet_cancel_pending_input) : Ditto.
      	(sheet_start_editing_at_cursor) :
      	(sheet_create_edit_cursor) : New function.
      	(sheet_destroy_edit_cursor) : New function.
      	(sheet_destroy_cell_select_cursor) :  New function.
      	(Sheet) : Delete editing and editing_cell.
      
      	* src/selection.c (sheet_selection_changed_hook) : Make public.  This
      	  should eventually move but I'm not sure where.  It is used for more
      	  than just changes in the selection in the current sheet.  It must
      	  also be called when the sheet changes.  What it REALLY does it to
      	  sync the shared workbook state with the current sheet's selection.
      
      	* src/item-cursor.c (item_cursor_init) : Handle change from
      	  sheet_accept_pending_input -> workbook_finish_editing.
      	* src/item-grid.c (item_grid_button_1) : Ditto.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_can_move_cursor) : Edit moved
      	  from sheet -> workbook.
      	(selection_insert_selection_string) : Extend to support
      	  abs/rel refs and intersheet-refs.
      	(gnumeric_sheet_stop_cell_selection) : Add clear_string argument
      	  to optionally remove the selection range.
      	(gnumeric_sheet_key_mode_sheet) : Adjust to movement of editing flag
      	  from sheet -> workbook.  Be careful to use the original sheet when
      	  moving rather than the current sheet.  Support F4 while editing.
      
      	* src/cell-draw.c (cell_draw) : editing_cell has moved from sheet to
      	  workbook.  Fix font ref leak when drawing the edit cell.
      
      	* src/dialogs/dialog-function-wizard.c : Begin transition to being
      	  non-modal.  NOT FINISHED.
      c2af08a9
  15. 06 Mar, 2000 1 commit
    • Dom Lachowicz's avatar
      Created. · 52493557
      Dom Lachowicz authored
      2000-03-01  Dom Lachowicz <dominicl@seas.upenn.edu>
      
      	* src/dialogs/sheet-order.glade,
      	  src/dialogs/sheet-order.glade.h,
      	  src/dialogs/dialog-sheet-order.c: Created.
      
      	* src/dialogs/Makefile.am: Added three above files to project
      
      	* src/dialogs/dialogs.h (dialog_sheet_order): added new function
      
      	* src/workbook.c (sheet_order_cmd): added
      	(workbook_get_sheet_position, workbook_delete_sheet),
      	(workbook_move_sheet, workbook_focus_sheet, wb_edit_key_pressed): updated.
      
      	* src/workbook.h (workbook_delete_sheet, workbook_move_sheet): added
      52493557
  16. 04 Mar, 2000 1 commit
  17. 26 Feb, 2000 1 commit
  18. 22 Feb, 2000 1 commit
  19. 20 Feb, 2000 1 commit
  20. 18 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      - Merge some enhancements to the color combo boxes. · 771be446
      Jody Goldberg authored
      - Simplify and enhance the cursor and selection code.
        Its not as pretty as I'd like, but its getting better.
      - Fix a display glitch in the item-bar.  canvas redraw excludes
        the far coordinate.  That will teach me to read docs.
      
      2000-02-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/widgets/widget-color-combo.c (color_combo_construct) : typo.
      	(color_combo_new) : Disable the charting colours for now.  They are
      	  mostly duplicates.
      
      2000-02-16 Dom Lachowicz <dominicl@seas.upenn.edu>
      
      	* src/widgets/widget-color-combo.[ch]
      	Changed the code some to enable tooltips
      	Minor api changes
      
      2000-02-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-view.c : Add history.h.
      
      2000-02-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_redraw_selection) : Delete.
      
      	* src/selection.c (sheet_selection_extend_to) : Short circuit when
      	  there would be no change to the selection.
      	(sheet_selection_change) : The sheet already has the correct edit,
      	  move, base positions.  Use them.
      
      	* src/sheet-view.c (sheet_view_redraw_headers) : gnome_canvas_request_redraw
      	  EXCLUDES the far coordinates.  Add 1 so that the last pixel get
      	  redrawn too.
      
      2000-02-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/history.c (history_menu_item_create) : typo.
      
      2000-02-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-goal-seek.c (dialog_goal_seek) : Use edit_pos.
      	* src/dialogs/dialog-solver.c (dialog_solver) : Ditto.
      
      	* src/xml-io.c (xml_read_selection_info) : Use edit_pos.
      	(xml_write_selection_info) : Ditto.
      
      	* src/workbook.c (cb_sheet_check_dirty) : Use edit_pos.
      	(paste_cmd) : Ditto.
      	(paste_special_cmd) : Ditto.
      	(insert_current_date_cmd) : Ditto.
      	(insert_current_time_cmd) : Ditto.
      	(workbook_edit_comment) : Ditto.
      
      	* src/sheet.c (sheet_new) : sheet_selection_append -> sheet_selection_add.
      	(sheet_accept_pending_input) : Use edit_pos.
      	(sheet_load_cell_val) : Ditto.
      	(sheet_start_editing_at_cursor) : Ditto.
      	(sheet_update_controls) : Ditto.
      	(sheet_{col,row}_selection_type) : Fix cut-paste-o.
      	(walk_boundaries) : Move to selection.c.
      	(walk_boundaries_wrapped) : Ditto.
      	(sheet_selection_walk_step) : Reworked and moved to selection.c.
      	(sheet_cursor_move) : Switch to new framework.
      	(sheet_cursor_set) : Ditto.
      	(sheet_set_selection) : Delete.
      
      	* src/sheet.h : (SheetSlection) : Remove base member.
      	(Sheet) : adjsut notion of cursor to differentiate between,
      	edit, base, and movement.  (see comments).
      	* src/sheet-view.c (sheet_view_set_zoom_factor) : Use edit_pos.
      	(sheet_view_scrollbar_config) : Switch to new scheme.
      	(sheet_view_{col,row}_selection_changed) : Make the Top/Left visible
      	  cell the edit cursor when things are out of range.
      
      	* src/sheet-style.c (sheet_style_attach) : Use sheet_redraw_range directly.
      	(sheet_range_apply_style) : Ditto.
      	(sheet_range_set_border) : Ditto.
      
      	* src/selection.c (sheet_selection_add_range) : Renamed from,
      	  sheet_selection_append.  Document.  Switch to new edit, base, move
      	  scheme.  Directly call sheet_cursor_set rather than the confusingly
      	  named sheet_set_selection.
      	(sheet_selection_add) : Renamed from sheet_selection_append.
      	(sheet_selection_change) : Adjsut parm name from 'new' -> 'new_sel' to
      	  enable test compiles from C++.
      	(sheet_selection_extend_to) : Switch to new edit, base, move scheme.
      	(sheet_selection_extend) : Just call sheet_selection_extend_to for the
      	  main work.  Document.
      	(sheet_select_all) : sheet_selection_append_range -> sheet_selection_add_range.
      	(sheet_selection_extend_{horizontal, vertical} : Merge in to
      	  sheet_seletion_extend and fix.
      	(sheet_selection_set) : Switch to the new scheme.
      	(sheet_selection_reset) : sheet_selection_append -> sheet_selection_add.
      	  Use edit_pos.
      	(walk_boundaries) : Moved from sheet.c, merged with
      	  walk_boundaries_wrap, and change signature.
      	(sheet_selection_walk_step) : Moved from sheet.c and switched to the
      	  new method.  Do not change the selected region while iterating.
      
      	* src/item-grid.c (item_grid_paint_empty_cell) : Use edit_pos.
      	(item_grid_draw_cell) : Ditto.
      	(item_grid_event) : Ditto.
      	(context_paste_cmd) : Use the base and move cursors.
      	(context_paste_special_cmd) : Ditto.
      	(item_grid_button_1) : sheet_selection_append -> sheet_selection_add.
      
      	* src/item-cursor.c (item_cursor_autofill_event) : Use
      	  sheet_selection_add_range rather than the two step select extend.
      
      	* src/clipboard.c (sheet_paste_selection) : Use
      	  sheet_selection_add_range rather than the 2 step process
      	  of setting the corner and extending.
      
      	* plugins/excel/ms-excel-read.c (ms_excel_read_selection) :
      	    sheet_selection_append_range -> sheet_selection_add_range
      	* src/corba-sheet.c (Sheet_selection_append) : Ditto.
      	(Sheet_selection_append_range) : Ditto.
      
      	* src/gnumeric-sheet.c (move_cursor) : Ditto.
      	(gnumeric_sheet_key_mode_sheet) : Ditto.  Use edit_pos.
                sheet_selection_walk_step now handles the cursor and selection
      	  changes.
      	(gnumeric_sheet_set_selection) : Delete this was unnecessary.
      	(gnumeric_sheet_set_cursor_bounds) : Add preconditions.
      	(move_cursor_horizontal) : Use the edit_pos for movement.
      	(move_cursor_vertical) : Ditto.
      	(gnumeric_sheet_create_editing_cursor) : Ditto.
      	(start_cell_selection) : Ditto.
      	(move_horizontal_selection) : Use sheet_selection_extend.
      	(move_vertical_selection) : Ditto.
      	(gnumeric_sheet_compute_visible_ranges) : Force a redraw of the
      	  item-cursor when the visible region changes.  FIXME : This should be
      	  an update not a redraw.
      771be446
  21. 16 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      More header cleanup. Remove value.h and sheet.h from expr.h. Remove · c73b937c
      Jody Goldberg authored
      
      2000-02-15  Jody Goldberg <jgoldberg@home.com>
      
      	* *.[ch] : More header cleanup.  Remove value.h and sheet.h
      	  from expr.h.  Remove sheet.h from cell.h.
      
      2000-02-16  Dom Lachowicz <dominicl@seas.upenn.edu>
      
      	* src/plugin-manager.c : Move functionality.
      	* src/dialogs/dialog-plugin-manager.c : here.  and move to libglade.
      
      	* src/workbook.c (plugins_cmd) : Use dialog_plugin_manager instead
      	  of plugin_manager_new.
      c73b937c
  22. 14 Feb, 2000 1 commit
  23. 13 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      Major rationalization of pts vs pixels and the use of margins. · b6d04cff
      Jody Goldberg authored
      Some redraw speedups and the addition of XL2000 style alpha bended selections.
      
      2000-02-13  Jody Goldberg <jgoldberg@home.com>
      
      	* ./src/sheet-view.c (sheet_view_redraw_cell_region) : redraw the
      	  bounding grid lines too.
      
      	* src/item-cursor.c (item_cursor_get_pixel_coords) : Clip the cursor
      	  region to the visible range.  The layout still needs cleaning to
      	  match the 'correct' way of implementing canvas-items, but this
      	  heuristic saves us lots of iterations through the accumulator for
      	  the size of the entire sheet.
      
      2000-02-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c : Use visible flag and adjust to naming and
      	  margin changes.
      
      	* src/item-bar.c (colrow_tip_setlabel) : Use the format provided by
      	  XL2000.  Things are correct for rows, colwidth are quoted in pts
      	  rather than char widths.
      	(get_col_from_pos) : Use visible flag.
      	(item_bar_start_resize) : Function renaming.
      	(is_pointer_on_division) : Ditto.
      	(item_bar_draw) : Changes to margins.
      
      	* src/item-edit.c : Function renaming.
      	* src/item-cursor.c : Ditto.  decrease spacing for auto handle.
      
      	* src/item-grid.c (item_grid_draw) : Remove inversion process for the
      	  selection.  Instead have the cells draw their background
      	  differently.  Use the visible flag.
      	(item_grid_paint_empty_cell) : Ditto.
      	(item_grid_paint_cell) : Ditto.
      
      	* src/mstyle.c (mstyle_new_default) : The default vert alignment is BOTTOM.
      
      	* src/pattern.c (gnumeric_background_set_gc) : Draw the background of
      	  a selected cell differently.
      
      	* src/print-cell.c (DIM) : margins are already included.
      	(print_cell_text) : Adjust argument order to more closely match
      	  cell_draw.  Add support for vertical alignment of 1 line cells.
      	  Invert control of single vs multiple lines.
      	(print_cell) : Adjust to changes in the arguments.
      	(print_cell_range) : Use the visible flag.
      	  Draw line at the boundary rather than pretending there were
      	  additional rows/cols.
      
      	* src/print.c (compute_groups) : size_pts INCLUDES margins.  Use 'visible' flag.
      	(print_page) : Adjust to function renaming.
      	(print_range_used_units) : Ditto.
      
      	* src/selection.c : Include sheet-view directly for now.
      	(cb_set_row_height) : Adjust to function renaming.
      
      	* src/sheet-view.c (sheet_view_redraw_cell_region) : Adjust to function
      	  renaming.
      	(sheet_view_redraw_headers) : Ditto.
      	(sheet_view_set_zoom_factor) : Ditto.
      	(sheet_view_col_size_changed) : Ditto.
      	(sheet_view_row_size_changed) : Ditto.
      	(sheet_view_comment_get_points) : Ditto.
      
      	* src/sheet.[ch] : Rationalize function names, and add glossary.
      	Make the use of margins and sizes (in points and pixels) consistant.
      
      	(sheet_col_get_external_width : Delete.
      	(sheet_row_get_external_height : Delete.
      	(sheet_col_get_distance : Rename sheet_col_get_distance_pixels.
      	(sheet_row_get_distance : Rename sheet_row_get_distance_pixels.
      	(sheet_row_get_unit_distance : Rename sheet_row_get_distance_pts.
      	(sheet_col_get_unit_distance : Rename sheet_col_get_distance_pts.
      	(sheet_col_set_width : Rename sheet_col_set_size_pixels.
      	(sheet_col_set_width_units : Rename sheet_col_set_size_pts.
      	(sheet_row_set_height : Rename sheet_row_set_size_pixels.
      	(sheet_row_set_height_units) : Rename sheet_row_set_size_pts.
      	(sheet_get_default_external_col_width) : Rename sheet_col_get_default_size_pts.
      	(sheet_get_default_external_row_height): Rename sheet_row_get_default_size_pts.
      	(sheet_col_set_internal_width) : sheet_col_set_internal_size_pts.
      	(sheet_row_set_internal_height): sheet_row_set_internal_size_pts.
      	(sheet_{row,col}_set_default_size_pts) : New functions.
      
      	(sheet_init_default_styles) : Tune to match XL defaults.
      
      	* src/sort.c : Use g_strcasecmp, and include <stdlib.h>
      
      	* src/style.c (style_color_new) : Init the selection colour as a 50%
      	  alpha blend with lavender.
      
      	* src/style.h : Change default font to be Helvetica 9 because it will
      	  scale better when the standard 96 dpi resolution is assumed.
      	  Add a selected_color to StyleColor.
      
      	* src/value-sheet.c : Include <gnome.h> to get the
      	  internationalization support.
      
      	* src/workbook-cmd-format.c (workbook_cmd_format_column_auto_fit) :
      	  sheet_col_set_width -> sheet_col_set_size_pixels.
      	(workbook_cmd_format_column_width) :
      	  sheet_col_set_width_units -> sheet_col_set_size_pts.
      	(workbook_cmd_format_row_auto_fit) :
                sheet_row_set_height -> sheet_row_set_size_pixels
      	(workbook_cmd_format_row_height) :
      	  sheet_row_set_height_units -> sheet_row_set_size_pts.
      
      	* src/xml-io.c (xml_read_rows_info) : Rename
      	  sheet_row_set_height_units -> sheet_row_set_size_pts.
      	(xml_read_cols_info) : Rename
      	  sheet_col_set_height_units -> sheet_col_set_size_pts.
      	(xml_read_colrow_info) : Remove hack with negative pixels.
      	  Use 'visible' flag instead.
      	(xml_write_colrow_info) : Ditto.
      b6d04cff
  24. 12 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      Adjust to new signature for color_combo_new. Select index 0 rather than 1 · 97698b86
      Jody Goldberg authored
      
      2000-02-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c (workbook_create_format_toolbar) :
      	  Adjust to new signature for color_combo_new.
      	  Select index 0 rather than 1 (some one has spent too much time in
      	  fortran).  Reorder the initializations to match deployment (I'm
      	  being pedantic).
      
      	* src/widgets/widget-color-combo.c (color_table_setup) : Change the
      	  no_color flag to a possibly NULL string to provide finer control.
      	(color_combo_construct) : Ditto.
      	(color_combo_new_with_vals) : Ditto.
      	(color_combo_new) : Ditto.
      
      2000-02-11  Dean Scott <drscott12@hotmail.com>
      
      	* src/widgets/widget-color-combo.c (default_colors) : Reorder to match
      	  XL2000 more closely and provide names.
      	(color_combo_new) : Correct the layout to display all colours.
      97698b86
  25. 10 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      Some improvements to the default sizes of things to resizing. · 676c70fb
      Jody Goldberg authored
      We will need to tweak this to get things to match properly.
      
      2000-02-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (change_displayed_zoom_cb) : Add a '%' at the end of
      	  the zoom specification.
      	(workbook_create_standard_toobar) : Adjust the list of zoom labels.
      
      	* src/style.c (font_init) : Add comment explaining that the default
      	  fonts are not scaled by resolution, and that we depend on that.
      
      	* src/sheet.c (sheet_init_default_styles) : Set the default sizes
      	  based on the size of the default font not on pixels.
      
      	* src/sheet-view.c (new_canvas_bar) : Don't set the size or scroll
      	  region here.
      	(sheet_view_construct) : Call sheet_view_set_zoom_factor with a factor
      	  of 1 to set sizes and scroll regions.
      	(sheet_view_set_zoom_factor) : Do not hard code the sizes of the free
      	  dimensions.  Set them based on the font used for the headers.
      676c70fb
  26. 03 Feb, 2000 1 commit
    • Jody Goldberg's avatar
      New functions. (xml_{read,write}_range) : New functions. · 1412633f
      Jody Goldberg authored
      
      2000-02-03  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_{read,write}_selection_info) : New functions.
      	(xml_{read,write}_range) : New functions.
      	(xml_write_style_region) : Use xml_write_range.  (DOH!)
      	(xml_read_style_region) : Use xml_read_range.
      	(xml_sheet_read) : Use xml_read_selection_info.
      	(xml_sheet_write) : Use xml_write_selection_info.
      1412633f
  27. 31 Jan, 2000 1 commit
  28. 29 Jan, 2000 1 commit
  29. 27 Jan, 2000 1 commit