1. 27 May, 2001 1 commit
    • Jody Goldberg's avatar
      If successful queue everything for recalc. (xml_cell_set_array_expr) : no · b740bf75
      Jody Goldberg authored
      
      2001-05-26  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_file_open) : If successful queue everything
      	  for recalc.
      	(xml_cell_set_array_expr) : no need to queue a recalc for arrays.
      
      2001-05-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (colrow_move) : no need to queue recalc here.
      	(cb_sheet_cell_copy) : Actually copy the array values.
      
      	* src/cell.c (cell_relocate) : Just relink, no need to queue a recalc.
      	(cell_set_array_formula) : Remove the ability to queue the recalc at
      	  this level.  Just link the formulas in.  Reorder the the arguments
      	  to match the standard approach.
      
      	* src/eval.c (workbook_recalc_all) : Used here.
      	(workbook_queue_all_recalc) : new function.
      
      	* src/xml-io.c (xml_workbook_read) : Queue everything for recalc.
      	(xml_cell_set_array_expr) : no need to queue a recalc here.
      
      	* src/commands.c (cmd_autofill_redo) : queue the recalc here.
      	(cmd_area_set_text_redo) : we need to manually queue a recalc for
      	  arrays now.
      
      	* src/sheet.c (sheet_cell_set_text) : we need to queue a recalc for
      	  both expressions and values now.
      	(sheet_range_set_text) : queue recalcs for the region as a block.
      
      	* src/graph-vector.c (graph_vector_new) : Just use dependent_link if
      	  we don't want a recalc.
      b740bf75
  2. 22 May, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Bump XML version number. (xml_workbook_write): Write index of sheet names · b89fa763
      Almer S. Tigelaar authored
      2001-05-22  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/xml-io.c : Bump XML version number.
      	(xml_workbook_write): Write index of sheet names
      	at the beginning of the file and always write
      	latest version number.
      
      2001-05-22  Almer S. Tigelaar  <almer@gnome.org>
      
      	* xml-sax-read.c (xml_sax_sheet_name): Don't create
      	sheet here.
      	(xml_sax_wb_sheetname): Create sheet here.
      	(xml_sax_finish_parse_wb_names_name): Fix workbook level
      	name reading.
      	(xml_sax_start_element): Handle new sheetnameindex.
      	(xml_sax_end_element): Idem.
      	(xml_sax_characters): Idem.
      	(xml_sax_wb): Small tweak for correct version reading.
      b89fa763
  3. 21 May, 2001 2 commits
    • Almer S. Tigelaar's avatar
      Add support for workbook and sheet level names. · 8d4f3adb
      Almer S. Tigelaar authored
      2001-05-21  Almer S. Tigelaar  <almer@gnome.org>
      
       	* xml-sax-read.c (xml_sax_name): Add support for workbook and
       	sheet level names.
       	(xml_sax_finish_parse_wb_names_name): Idem.
       	(xml_sax_finish_parse_sheet_names_name): Idem.
       	(xml_sax_start_element): Idem.
       	(xml_sax_end_element): Idem.
       	(xml_sax_characters): Idem.
      8d4f3adb
    • Chyla Zbigniew's avatar
      s/FileOpener/GnumFileOpener/ · d1d0d998
      Chyla Zbigniew authored
      
      * xml-sax-read.c (xml_sax_file_probe, xml_sax_file_open):
      s/FileOpener/GnumFileOpener/
      
      * plugin.xml (<service>): Register only as importer.
      d1d0d998
  4. 19 May, 2001 2 commits
  5. 14 May, 2001 1 commit
  6. 12 May, 2001 1 commit
    • Jody Goldberg's avatar
      add sheet_merge. (xml_sax_start_element) : add sheet_merge, and · eb7517d7
      Jody Goldberg authored
      2001-05-11  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_characters) : add sheet_merge.
      	(xml_sax_start_element) : add sheet_merge, and sheet_merged_regions.
      	(xml_sax_end_element) : call xml_sax_parse_merge.
      	(xml_sax_parse_merge) : new function.
      	(xml_sax_parse_sheet_end) : new function to set the zoom after the
      	  content.
      	(xml_sax_parse_sheet_start) : renamed from xml_sax_parse_sheet.
      	(xml_parse_sheet_zoom) : just store the zoom don't set till later.
      	(xml_sax_cols_rows) : new function.
      
      2001-05-10  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml_sax_parse_attr_bool) : new function.
      	(xmlSaxParseSheet) : use it here.
      	(xml_sax_parse_wb) : fix inverted cmp.
      	(xmlSaxParseSheet) : no sheet yet here.  Just store the prefs for
      	  later.
      	(xmlSaxParseSheet) : use any saved prefs.
      	(xml_sax_file_open) : typo.
      
      2001-05-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/application.c (application_real_time_auto_expr_recalc) : new
      	  function.
      
      	* src/sheet.c (auto_expr_timer_clear) : new function.
      	(sheet_update) : toggle the selection_content_changed flag here and
      	  use a timer rather than an idle handler.
      
      	* src/workbook-edit.c (wbcg_edit_ctor) : Init the sensitivity timer.
      
      	* src/workbook-control-gui.c (workbook_setup_edit_area) : Use
      	  wbcg_edit_ctor.
      	(wbcg_destroy) : use wbcg_edit_dtor.
      
      	* src/main.c (gnumeric_main) : setlocale (LC_ALL, NULL) to force
      	  initialization of LC_* from the environment.
      eb7517d7
  7. 28 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      Catch fractions too. (render_number) : don't pass in so many copies of · 02b18e95
      Jody Goldberg authored
      
      2001-04-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (pre_parse_format) : Catch fractions too.
      	(render_number) : don't pass in so many copies of flags.  Just use the
      	  info struct.  Add a 'has_fraction' flag to disable rounding.
      	(do_render_number) : ditto.
      	(stern_brocot) : simple stern brocot tree.  Should really use an
      	  adaptive precision but I am lazy.
      	(format_number) : add fractions.
      
      	* src/commands.c (cmd_autofill_redo) : changing visiblity can triger a
      	  draw which requiresthat things be rendered and spanned.  Be sure to
      	  complete the action BEFORE changing visibility.
      02b18e95
  8. 26 Apr, 2001 2 commits
  9. 23 Apr, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Give focus to the edit line when an error is encountered. Don't store the · 78d888e3
      Almer S. Tigelaar authored
      2001-04-23  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-edit.c (workbook_finish_editing): Give focus
      	to the edit line when an error is encountered.
      	* src/workbook-control-gui.c
      	(wbcg_close_control) : Don't store the partially entered expression
      	when we are going to close.
      	(cb_file_quit) : Idem.
      	(cb_notebook_switch_page) : Idem, for switching between tabs
      	when we are _not_ in a subexpression.
      
      	* src/parser.y : Correct off-by-one glitches and strtod exponent
      	out of range error problem.
      
      	* src/expr.[ch] (expr_parse_string): Use a ParseError struct
      	instead of an error string.
      
      	* src/commands.c (cmd_area_set_text_redo): Use expr_parse_string
      	in the newly corrected fashion.
      	* src/expr-name.c (expr_name_create): Idem, require a ParseError
      	struct to be passed instead of a char** aswell.
      	* src/parse-util.c (parse_text_value_or_expr): Idem.
      	* src/sheet-object-widget.c (cb_checkbox_config_clicked): Idem.
      	* src/test-parser.c (main): Idem.
      	* src/xml-io.c (xml_cell_set_array_expr): Idem.
      
      	* src/sheet.c (sheet_clone_names): Use expr_name_create which now
      	uses ParseError instead of char **.
      	* src/xml-io.c (xml_read_names): Idem.
      
      2001-04-23  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-define-names.c (cb_name_guru_add):
      	Correct use of expr_parse_string.
      78d888e3
  10. 19 Apr, 2001 1 commit
  11. 15 Apr, 2001 1 commit
    • Jody Goldberg's avatar
      warning. · d4c146f6
      Jody Goldberg authored
      
      2001-04-15  Jody Goldberg <jgoldberg@home.com>
      
      	* xml-sax-read.c (xml2UnknownAttr) : warning.
      d4c146f6
  12. 13 Apr, 2001 1 commit
  13. 11 Apr, 2001 1 commit
  14. 17 Mar, 2001 1 commit
    • Jody Goldberg's avatar
      Handle outline mode. (ms_excel_read_colinfo) : ditto. (ms_excel_read_guts) · e1a87d5f
      Jody Goldberg authored
      
      2001-03-15  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_read_row) : Handle outline mode.
      	(ms_excel_read_colinfo) : ditto.
      	(ms_excel_read_guts) : ditto.
      
      2001-03-16  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_calc_size) : rename from
      	  item_bar_fonts_init.
      
      	* src/sheet-control-gui.c (scg_set_zoom_factor) : prepare for panes by
      	  zooming the col/row header canvases.  We need this as we transition
      	  to using gnumeric-sheets instead of canvases to hold the item-bars.
      
      2001-03-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/colrow.c (colrow_equal) : handle outline&collapse.
      	(colrow_copy) : ditto.
      
      	* src/item-bar.c (outline_button_press) : new function.
      	(item_bar_event) : used here.
      
      2001-03-15  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (compute_pixels_from_pts) : new function.
      	(item_bar_fonts_init) : resize the indent gutters based on the zoom.
      	(item_bar_realize) : add another gc for outline drawing.
      	(item_bar_unrealize) : ditto.
      	(item_bar_draw) : implement drawing for groupings.
      	(set_cursor) : handle cursor in the presence of groupings.
      
      2001-03-14  Jody Goldberg <jgoldberg@home.com>
      
      	* Makefile.am : update the handling of the oaf file.
      
      	* src/sheet.c (sheet_col_row_default_calc) : rename from
      	  sheet_col_row_default_init.
      
      2001-03-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_write_print_repeat_range) : PrintRepeatRange now
      	  uses a simple Range.
      	(xml_read_print_repeat_range) : ditto.
      	* src/print-info.c (print_info_new) : ditto.
      	(save_range) : Ditto.
      	* src/dialogs/dialog-printer-setup.c (do_fetch_page_info) : ditto.
      	* src/print.c (print_range_used_units) : ditto.
      	(print_range_right_then_down) : ditto.
      	(print_range_down_then_right) : ditto.
      	(print_page_repeated_intersect) : ditto.
      	(print_page_repeated_cols) : ditto.
      	(print_page_repeated_rows) : ditto.
      	(print_page) : ditto.
      
      	* src/sheet-control-gui.c (scg_set_zoom_factor) : The sizing has moved
      	  into the itembar.
      
      	* src/item-bar.c : s/orientation/is_col_header/
      	(item_bar_fonts_init) : Init the ideal cell size.
      	(item_bar_update) : Begin to support grouping.
      	(item_bar_draw) : ditto.
      	(item_bar_init) : init the new members.
      
      	* src/print-cell.c (print_cell) : re-enable halign FILL.
      	* src/cell-draw.c (cell_draw) : ditto.
      e1a87d5f
  15. 09 Mar, 2001 1 commit
  16. 08 Mar, 2001 1 commit
    • Jody Goldberg's avatar
      make units case sensitive. · 21c220c2
      Jody Goldberg authored
      
      2001-03-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_get_print_unit) : make units case sensitive.
      21c220c2
  17. 24 Feb, 2001 1 commit
    • Chyla Zbigniew's avatar
      Export "file_opener" plugin service (+ "file_saver" for dif and html). Use · 6ba33eed
      Chyla Zbigniew authored
      
      * plugins/applix/applix-read.c,
      plugins/applix/applix.h, plugins/applix/boot.c,
      plugins/applix/plugin.xml,
      plugins/dif/dif.c, /plugins/dif/plugin.xml,
      plugins/html/boot.c, plugins/html/html.c,
      plugins/html/html.h, /plugins/html/latex.c,
      plugins/html/latex.h, plugins/html/plugin.xml,
      plugins/html/roff.c, /plugins/html/roff.h,
      plugins/lotus-123/boot.c, plugins/lotus-123/lotus.c,
      plugins/lotus-123/lotus.h, plugins/lotus-123/plugin.xml,
      plugins/oleo/boot.c, plugins/oleo/oleo.c,
      plugins/oleo/oleo.h, plugins/oleo/plugin.xml,
      plugins/plan-perfect/pln.c, plugins/plan-perfect/plugin.xml,
      plugins/sc/plugin.xml, plugins/sc/sc.c,
      plugins/sylk/plugin.xml, plugins/sylk/sylk.c,
      plugins/xbase/boot.c, plugins/xbase/plugin.xml,
      plugins/xbase/xbase.c, plugins/xbase/xbase.h,
      plugins/xml2/plugin.xml, plugins/xml2/xml2.c:
      Export "file_opener" plugin service (+ "file_saver" for dif and html).
      Use ErrorInfo where needed.
      Use GNUMERIC_MODULE_PLUGIN_INFO_DECL macro instead of
      gnumeric_plugin_version[] declaration.
      
      * plugins/numtheory/numtheory.c, plugins/numtheory/plugin.xml:
      Export "function_group" plugin service.
      
      * plugins/gb/plugin.c, plugins/gb/plugin.xml,
      plugins/gda/plugin-gda.c, plugins/gda/plugin.xml,
      plugins/guile/plugin.c, /plugins/guile/plugin.xml,
      plugins/perl/perl.c, plugins/perl/plugin.xml,
      plugins/python/Makefile.am, plugins/python/plugin.xml,
      plugins/python/python.c:
      Export "general" plugin service.
      Use ErrorInfo where needed.
      (init_plugin, can_deactivate_plugin, cleanup_plugin): Rename and
      signature changes.
      
      * plugins/excel/boot.c (excel_save_95, excel_save_98, excel_save, excel_probe,
      excel_load): Signature changes.
      
      * plugins/excel/ms-formula-write.c: Use accessor functions from
      func.h instead of accessing FunctionDefinition struct directly.
      6ba33eed
  18. 20 Feb, 2001 2 commits
    • Jody Goldberg's avatar
      I/O for indent. · 5a5c1c75
      Jody Goldberg authored
      2001-02-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_write_style) : store indent.
      	(xml_read_style) : restore indent.
      5a5c1c75
    • Jon K Hellan's avatar
      Add level FILE_FL_MANUAL_REMEMBER. Fix typos: FILE_SAVER_ID_INVAID -> · caa620c4
      Jon K Hellan authored
      2001-02-19  Jon K Hellan  <hellan@acm.org>
      
      	* src/file.h: Add level FILE_FL_MANUAL_REMEMBER. Fix typos:
      	FILE_SAVER_ID_INVAID -> FILE_SAVER_ID_INVALID,
      	FILE_OPENER_ID_INVAID -> FILE_OPENER_ID_INVALID.
      
      	* src/file.c (file_format_register_open): Fix typo:
      	FILE_OPENER_ID_INVAID -> FILE_OPENER_ID_INVALID.
      	(file_format_register_save): Fix typo: FILE_OPENER_ID_INVAID ->
      	FILE_SAVER_ID_INVALID.
      	(cb_unregister_save, workbook_save): Fix
      	typo: FILE_SAVER_ID_INVAID -> FILE_SAVER_ID_INVALID.
      
      	* src/workbook.c (workbook_destroy): Only include in history is
      	file_format_level >= FILE_FL_MANUAL_REMEMBER.
      	(workbook_new, workbook_set_saveinfo): Fix typo:
      	FILE_SAVER_ID_INVAID -> FILE_SAVER_ID_INVALID.
      
      	* src/xml-io.c: Fix typos: FILE_SAVER_ID_INVAID ->
      	FILE_SAVER_ID_INVALID, FILE_OPENER_ID_INVAID ->
      	FILE_OPENER_ID_INVALID.
      
      
      	* plugins/applix/boot.c (applix_load): Change file format level to
      	FILE_FL_MANUAL_REMEMBER. Fix typo: FILE_SAVER_ID_INVAID ->
      	FILE_SAVER_ID_INVALID.
      
      
      	* plugins/excel/boot.c (excel_load, excel_init): Change file
      	format level to FILE_FL_MANUAL_REMEMBER.
      
      
      	* plugins/lotus/boot.c (lotus_load): Change file format level to
      	FILE_FL_MANUAL_REMEMBER. Fix typo: FILE_SAVER_ID_INVAID ->
      	FILE_SAVER_ID_INVALID.
      
      	* plugins/oleo/boot.c (oleo_load): Change file format level to
      	FILE_FL_MANUAL_REMEMBER. Fix typo: FILE_SAVER_ID_INVAID ->
      	FILE_SAVER_ID_INVALID.
      
      	* plugins/plan-perfect/pln.c (pln_read_workbook): Fix typo:
      	FILE_SAVER_ID_INVAID -> FILE_SAVER_ID_INVALID.
      
      	* plugins/sc/sc.c (sc_read_workbook): Fix typo:
      	FILE_SAVER_ID_INVAID -> FILE_SAVER_ID_INVALID.
      
      	* plugins/sylk/sylk.c (sylk_read_workbook): Change file format
      	level to FILE_FL_MANUAL_REMEMBER. Fix typo: FILE_SAVER_ID_INVAID
      	-> FILE_SAVER_ID_INVALID.
      
      	* plugins/xbase/boot.c (xbase_load): Change file format level to
      	FILE_FL_MANUAL_REMEMBER. Fix typo: FILE_SAVER_ID_INVAID ->
      	FILE_SAVER_ID_INVALID.
      
      	* plugins/xml2/xml2.c (xml2_open): Change file format level to
      	FILE_FL_MANUAL_REMEMBER. Fix typo: FILE_SAVER_ID_INVAID ->
      	FILE_SAVER_ID_INVALID.
      caa620c4
  19. 18 Feb, 2001 2 commits
    • Jody Goldberg's avatar
      s/display_zero/hide_zero/ + necessary logic inversions · a8dc5b30
      Jody Goldberg authored
      
      2001-02-18  Jody Goldberg <jgoldberg@home.com>
      
      	s/display_zero/hide_zero/		+ necessary logic inversions
      	s/show_grid/hide_grid/			+ necessary logic inversions
      	s/show_col_header/hide_col_header/	+ necessary logic inversions
      	s/show_row_header/hide_row_header/	+ necessary logic inversions
      	s/wb_control_paste_special_enable/wb_control_menu_state_paste_special/
      	s/wbcg_paste_special_enable/wbcg_menu_state_paste_special/
      
      	* src/workbook-format-toolbar.c (workbook_format_toolbutton_update) :
      	  Simplfy and use wbcg::updating_ui.
      	(workbook_format_halign_feedback_set) : use simplified interface.
      	(workbook_feedback_set) : Ditto.
      	(set_selection_halign) : If the current alignment is already set to
      	  the target type revert to general.
      
      	* src/preview-grid.c (preview_grid_draw) : cell_draw::h_center
      	  will default to width / 2.
      	* src/item-grid.c (item_grid_draw_merged_range) : Ditto.
      	(item_grid_draw) : Ditto.
      
      	* src/print-cell.c (print_cell) : print_cell::h_center
      	  will default to width / 2.
      	(print_merged_range) : Ditto.
      	(print_cell_range) : Ditto.
      
      	* src/sheet.c (sheet_adjust_preferences) : Update the menus to reflect
      	  changes in prefs.  Take a flag to control redraw requests.
      	(sheet_menu_state_enable_insert) : new function.
      
      	* src/workbook-control-gui.c (wbcg_menu_state_enable_insert) : Merge
      	  all the insert col/row/cell menu updates into here.
      	(wbcg_menu_state_sheet_prefs) : new function.
      	(cb_sheet_pref_display_formulas) : reentrancy protection and use
      	  sheet_adjust_preferences.
      	(cb_sheet_pref_hide_zeros) : ditto.
      	(cb_sheet_pref_hide_grid_lines) : ditto.
      	(cb_sheet_pref_hide_col_header) : ditto.
      	(cb_sheet_pref_hide_row_header) : ditto.
      	(workbook_control_gui_init) : add the new menu items.
      	(workbook_control_gui_ctor_class) : reorg a bit.
      
      	src/workbook-control.c : reorg a bit.
      
      2001-02-18  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Make python plugin optional.
      
      2001-02-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control.c (wb_control_sheet_add) : update menus here.
      
      	* src/print-cell.c (print_cell) : fix the display zero logic.
      	* src/cell-draw.c (cell_draw) : ditto.  And fix the comment.
      
      2001-02-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_default_halign) : Handle alignment of numbers
      	  correctly when displaying formulas.
      
      	* src/embeddable-grid.c (set_header_visibility) : start using our
      	  native MVC.
      	(Grid_set_header_visibility) : ditto.
      	(embeddable_grid_set_header_visibility) : delete.
      
      	* src/sheet-control-gui.c (scg_set_header_visibility) : delete.
      	(scg_adjust_preferences) : Make this contingent on having a wbcg.
      
      	* src/selection.c (sheet_selection_set_internal) : Use
      	  sheet_menu_state_enable_insert.
      	(sheet_selection_reset) : ditto.
      a8dc5b30
    • Jody Goldberg's avatar
      Save and restore sheet preference flags. · 0f28b58e
      Jody Goldberg authored
      This has demonstrated that the MVC code has not extented to these flags yet.
      
      2001-02-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_sheet_write) : Store some flags about the sheet.
      	(xml_sheet_read) : Restore them.
      0f28b58e
  20. 17 Feb, 2001 1 commit
    • Jody Goldberg's avatar
      Use some code from expr.c to simplify binary/unary output and to add · e0f71b51
      Jody Goldberg authored
      2001-02-16  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-formula-write.c (write_node) : Use some code from expr.c
      	  to simplify binary/unary output and to add parens when necessary.
      
      	* ms-excel-write.c (write_formula) : Start at paren level 0.
      	(write_names) : ditto.
      
      2001-02-16  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-cell-format.c (fmt_dialog_init_align_page) :
      	  begin support for indenting.
      	* src/workbook-format-toolbar.c : ditto.
      
      2001-02-16  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : post release version bump
      
      2001-02-15  Jody Goldberg <jgoldberg@home.com>
      
      	* s/fit_in_cell/wrap_text/
      	rename this in preparation for supporting shrink_to_fit
      e0f71b51
  21. 29 Jan, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Rename to sheet_selection_reset. · 2862b796
      Almer S. Tigelaar authored
      2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* src/selection.c, src/selection.h:
      	(sheet_selection_reset_only): Rename to sheet_selection_reset.
      
      	* src/cmd-edit.c: s/sheet_selection_reset_only/sheet_selection_reset.
      	* src/commands.c: Ditto.
      	* src/gnumeric-sheet.c: Ditto.
      	* src/item-grid.c: Ditto.
      	* src/sheet.c: Ditto.
      	* src/sheet-control-gui.c: Ditto.
      	* src/xml-io.c: Ditto.
      
      2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* ms-excel-read.c (ms_excel_read_selection):
      	Rename sheet_selection_reset_only to sheet_selection_reset.
      
      2001-01-30  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* xml2.c
      	(xml2ParseSelection): Rename sheet_selection_reset_only
      	to sheet_selection_reset.
      2862b796
  22. 27 Jan, 2001 1 commit
    • Chyla Zbigniew's avatar
      Making Gnumeric -Werror friendly (well, almost). · b3f070c4
      Chyla Zbigniew authored
      
      Making Gnumeric -Werror friendly (well, almost).
      
      * plugins/excel/ms-chart.c: Added "#if 0/#endif" around declarations
      of unused variables.
      
      * plugins/gda/plugin-gda.c (display_recordset): Removed unused
      variable, fixed some errors (that's why I use -Werror).
      
      * plugins/xml2/xml2.c (init_plugin): Used xml2_probe function.
      
      * src/search.c: Included "ranges.h".
      
      * src/style.c: Included "sheet.h"
      b3f070c4
  23. 25 Jan, 2001 1 commit
    • Chyla Zbigniew's avatar
      Defined gnumeric_plugin_version variable containing Gnumeric version · 37665894
      Chyla Zbigniew authored
      
      
      * plugins/applix/boot.c plugins/dif/dif.c plugins/excel/boot.c
      plugins/gb/plugin.c plugins/gda/plugin-gda.c plugins/guile/plugin.c
      plugins/html/boot.c plugins/html/boot.h plugins/html/html.c
      plugins/html/html.h plugins/html/latex.c plugins/html/latex.h
      plugins/html/roff.c plugins/html/roff.h plugins/lotus-123/boot.c
      plugins/numtheory/numtheory.c plugins/oleo/boot.c
      plugins/plan-perfect/pln.c plugins/python/python.c plugins/sc/sc.c
      plugins/sylk/sylk.c plugins/xbase/boot.c plugins/xml2/xml2.c:
      Defined gnumeric_plugin_version variable containing Gnumeric version
      string for every plugin.
      Added user_data parameter to "probe", "open" and "save" functions.
      Changed PluginData to PluginInfo.
      Modified can_deactivate_plugin, cleanup_plugin and init_plugin
      functions to match new prototypes in plugin.h.
      Storing registered opener_id/saver_id in variables and using them
      while unregistering.
      
      * plugins/applix/Makefile.am plugins/dif/Makefile.am
      plugins/gda/Makefile.am plugins/html/Makefile.am
      plugins/lotus-123/Makefile.am plugins/numtheory/Makefile.am
      plugins/oleo/Makefile.am plugins/plan-perfect/Makefile.am
      plugins/sc/Makefile.am plugins/sylk/Makefile.am
      plugins/xbase/Makefile.am plugins/xml2/Makefile.am:
      Installing every plugin in separate directory, together with plugin
      descriptions (plugin.xml files).
      
      * plugins/applix/plugin.xml, plugins/dif/plugin.xml,
      plugins/gda/plugin.xml, plugins/html/plugin.xml,
      plugins/lotus-123/plugin.xml, plugins/numtheory/plugin.xml,
      plugins/oleo/plugin.xml, plugins/plan-perfect/plugin.xml,
      plugins/python/plugin.xml, plugins/sc/plugin.xml,
      plugins/sylk/plugin.xml, plugins/xbase/plugin.xml,
      plugins/xml2/plugin.xml:
      New files - plugin descriptions in XML files.
      37665894
  24. 12 Jan, 2001 1 commit
    • Jody Goldberg's avatar
      Rework the style engine. Mostly functional. see BUGS for remaining details. · 9e615b65
      Jody Goldberg authored
      NOTE : I have not tested persistance.
      
      2001-01-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/mstyle.c (mstyle_ref_multiple) : new function.
      	(mstyle_copy_merge) : new function.
      	(mstyle_new_default) : Do not cache the result.  That is done at the
      	  sheet level.
      	(mstyle_do_merge) : delete.
      	(mstyle_get_format) : constness.
      
      	* src/format-template.c (cb_format_sheet_border) : delete.
      	(format_template_apply_to_sheet_regions) : borders are no longer special.
      
      	* src/expr.c (expr_tree_array_formula_corner) : do not store the
      	  corner anymore.
      	(expr_tree_new_array) : ditto.
      	(do_expr_tree_unref) : ditto.
      
      	* src/cell.c (cell_relocate) : Arrays are simplified.  No need to keep
      	  a pointer to the corner.  It made the system too brittle.
      	(cell_set_mstyle) : delete.
      
      	* src/Makefile.am : remove test.[ch]
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_find_{col,row}) : There is no
      	  1 pixel border.
      
      2001-01-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/mstyle.h : Change order of borders to match BorderLocation
      
      2001-01-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/ranges.c (range_has_header) : avoid leaking styles.
      
      	* src/cell.c (cell_get_mstyle) : Use sheet_style_get, and do not bump
      	  the ref count.
      	(cell_render_value) : Adjust.
      	(cell_get_format : Adjust.
      	(cell_set_text) : Adjust.
      
      	* src/functions/fn-information.c (gnumeric_cell) : sheet_style_get
      	  does not make a reference. Use it.
      	* src/workbook-format-toolbar.c (modify_cell_format) :  Ditto.
      	(change_selection_font) : Ditto.
      	* src/sheet-autofill.c (fill_item_new) : ditto.
      	* src/print-cell.c (print_cell_range) : ditto.
      	* src/cellspan.c (cell_calc_span) : ditto.
      	* src/sheet.c (sheet_cell_set_text) : ditto.
      	* src/rendered-value.c (rendered_value_calc_size) : ditto.
      	* src/workbook-view.c (wb_view_format_feedback) : ditto.
      
      2001-01-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-cell-format.c (dialog_cell_format) :
      	  init initial style to NULL.
      	(fmt_dialog_selection_type) : call sheet_style_get_uniform here.
      
      	* src/commands.c (cmd_format_redo) : Now that apply_border is not
      	  doing a redraw we need to if there is no style applied.
      
      	* src/selection.c (sheet_selection_extend_to) : Add support akin to
      	  gnumeric_sheet_rangesel_cursor_extend to extend to full col/row.
      
      	* src/sheet-control-gui.c (scg_colrow_select) : extend to full col/row
      	  if necessary.
      
      	* src/item-bar.c (item_bar_event) : Set the selection, not extend it.
      9e615b65
  25. 07 Jan, 2001 1 commit
    • Jon K Hellan's avatar
      New define giving precision for point measures. (xml_set_value_double): · 4d5fdff2
      Jon K Hellan authored
      2001-01-07  Jon K Hellan  <hellan@acm.org>
      
      	* src/xml-io.c (POINT_SIZE_PRECISION): New define giving precision
      	for point measures.
      	(xml_set_value_double): Add precision parameter.  -1 means default
      	(DBL_DIG).
      	(xml_set_value_points): New function. Set a double value for a
      	node with POINT_SIZE_PRECISION digits precision.
      	(xml_set_print_unit): Save in a more natural way.
      	(xml_get_print_unit): Do not expect the node to have a child.
      	(xml_write_print_info): Save margins as children of a "Margins"
      	node.
      	(xml_read_print_margins): New function: Read margins.
      	(xml_read_print_info): Find the PrintInformation node so that we
      	actually read print info.
      	(xml_write_style): Save font size using xml_set_value_points.
      	(xml_write_colrow_info): Save font size using
      	xml_set_value_points.
      	(xml_sheet_write): Save Cols, Rows DefaultSizePts using
      	xml_set_value_points.
      
      	* plugins/xml/xml2.c: Parse print margins.
      	(enum xml2State): Add states for each print margin.
      	(xml2_state_names): Add names fo each print margin.
      	(xml2ParseMargin): New function: Parse a print margin.
      	(xml2StartElement, xml2EndElement, xml2Characters): Add the print
      	margin states.
      4d5fdff2
  26. 02 Jan, 2001 1 commit
    • Jody Goldberg's avatar
      add the new file. · 8f9fa37b
      Jody Goldberg authored
      
      2001-01-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/Makefile.am : add the new file.
      
      	* src/sheet-style.h : new file split from sheet.h in preparation
      	  for changing the style engine.
      8f9fa37b
  27. 31 Dec, 2000 2 commits
  28. 27 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      fix old off by 1 error. · cbfeec73
      Jody Goldberg authored
      
      2000-12-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (cb_move_cursor) : fix old off by 1 error.
      
      	* src/workbook-format-toolbar.c (workbook_format_toolbar)
      	  merge/unmerge are not toggle items.
      
      	* src/gnumeric.xml : Add entries for merge/unmerge.
      
      	* s/MStyleBorder/StyleBorder/
      cbfeec73
  29. 22 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      new function. (sheet_object_container_new_bonobo) : delete. · 1afafe3a
      Jody Goldberg authored
      
      2000-12-22  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object-container.c (sheet_object_container_new) : new
      	  function.
      	(sheet_object_container_new_bonobo) : delete.
      
      2000-12-22  Jody Goldberg <jgoldberg@home.com>
      
      	* src/cell.c (cell_set_expr_and_value) : Make linking the
      	  expression optional.
      
      	* src/ranges.c (range_init_full_sheet) : adjusted from
      	  sheet_get_full_range.
      
      2000-12-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/bonobo-io.c (gnumeric_bonobo_obj_read) : Don't create the object
      	  here.  Pass it in.
      1afafe3a
  30. 19 Dec, 2000 1 commit
  31. 16 Dec, 2000 1 commit
    • Jody Goldberg's avatar
      Tidy up the naming scheme a bit. s/row_col/colrow/ s/col_row/colrow/ · 30c9841e
      Jody Goldberg authored
      
      2000-12-15  Jody Goldberg <jgoldberg@home.com>
      
      	Tidy up the naming scheme a bit.
      	s/row_col/colrow/
      	s/col_row/colrow/
      	s/SheetSelection/Range/
      
      	* src/workbook-cmd-format.c (workbook_cmd_resize_selected_colrow) :
      	  Merged from workbook_cmd_format_column_width and.
      	  & workbook_cmd_format_row_height
      
      	* src/item-bar.c (item_bar_end_resize) : Call scg_colrow_size_set
      	  directly.
      	(item_bar_class_init) : remove the SIZE_CHANGED signal.
      
      	* src/selection.c (sheet_selection_full_cols_rows) : merge
      	  sheet_selection_full_cols & sheet_selection_full_rows.
      30c9841e
  32. 15 Nov, 2000 1 commit
    • Morten Welinder's avatar
      Remove trailing white-space from files that have it. · 5570aef3
      Morten Welinder authored
      (The following command was done in src/ and plugins/.  Note, that the
      grep has a space and a tab.)
      
      for i in `find . -name '*.[ch]' -print`; do if grep '[         ]$' $i >/dev/null; then echo $i; perl -pi -e 's/[ \t]+$//' $i; fi; done
      5570aef3
  33. 14 Nov, 2000 2 commits