1. 26 Jun, 2005 1 commit
    • Jody Goldberg's avatar
      new. (xml_sax_input_msg) : new. · e406c13c
      Jody Goldberg authored
      
      2005-06-25  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-sax-read.c (xml_sax_hlink) : new.
      	(xml_sax_input_msg) : new.
      
      2005-06-22  Jody Goldberg <jody@gnome.org>
      
      	* src/Makefile.am : enable pango-test
      
      2005-06-22  Jody Goldberg <jody@gnome.org>
      
      	* * : s/MStyle/GnmStyle/
      	      s/mstyle_/gnm_style_/
      	      s/StyleHAlignFlags/GnmHAlign/
      	      s/StyleVAlignFlags/GnmVAlign/
      e406c13c
  2. 12 Nov, 2003 2 commits
  3. 11 Oct, 2003 1 commit
    • Jody Goldberg's avatar
      new to write csv files without intervention. (stf_init) : Use it. · 7a725771
      Jody Goldberg authored
      
      
      2003-10-10  Jody Goldberg <jody@gnome.org>
      
      	* src/stf.c (stf_write_csv) : new to write csv files without
      	  intervention.
      	(stf_init) : Use it.
      
      2003-10-09  Jody Goldberg <jody@gnome.org>
      
      	* src/libgnumeric.c : pull the ancient if BONOBO checks
      
      	* src/io-context-gtk.c (icg_show_gui) : mark the window as a splash.
      
      	* schemas/Makefile.am : make friendlier for rpm builders
      7a725771
  4. 09 Oct, 2003 1 commit
    • Jody Goldberg's avatar
      Release 1.2.1 · b762bb9d
      Jody Goldberg authored
      
      2003-10-08  Jody Goldberg <jody@gnome.org>
      
      	* Release 1.2.1
      b762bb9d
  5. 15 Oct, 2002 1 commit
    • Jody Goldberg's avatar
      support for recalc and iteration attributes. · b24361f0
      Jody Goldberg authored
      2002-10-14  Jody Goldberg <jody@gnome.org>
      
      	* dialog-workbook-attr.c : support for recalc and iteration
      	  attributes.
      
      
      2002-10-14  Jody Goldberg <jody@gnome.org>
      
      	* src/commands.c (update_after_action) : quick and dirty support for
      	  manual recalc.
      	(cmd_paste_cut_update_origin) : ditto.
      b24361f0
  6. 21 Dec, 2001 1 commit
  7. 18 Jun, 2001 1 commit
  8. 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
  9. 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
  10. 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
  11. 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
  12. 10 Nov, 2000 1 commit
    • Jody Goldberg's avatar
      Minor optimization to decrease flicker. · df3eb271
      Jody Goldberg authored
      
      2000-11-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c (workbook_format_toolbutton_update) :
      	  Minor optimization to decrease flicker.
      
      	* src/sheet.c (sheet_cell_calc_span) : Clarify the semantics of
      	  the various flags.
      	(cb_max_cell_width) : If the value used a dynamic format we need to
      	  rerender ignoring the current width.
      
      	* src/rendered-value.c (rendered_value_new) : renamed from
      	  rendered_value_new_ext and delete the old rendered_value_new.
      	  Extend slightly to flag whether or not to handle dynamic formats.
      
      	* src/render-ascii.c (cell_region_render_ascii) : Handle the style
      	  lookup localy.
      
      	* src/cell.c (cell_eval_content) : We need to manually render
      	  the value here, but no longer need to calculate the size
      	  seperately.  That is done automatically in the render.
      	(cell_render_value) : Handle style localy, and calculate the size.
      
      2000-11-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-control-gui.c (workbook_control_gui_init) : move the
      	  autosave code here.
      	* src/workbook.c : from here.
      df3eb271
  13. 05 Jul, 2000 1 commit
    • Jody Goldberg's avatar
      Remove -lglade-bonobo for now. · bd9fc8e8
      Jody Goldberg authored
      
      2000-07-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/Makefile.am (EXTRA_DIST) : Remove -lglade-bonobo for now.
      
      	* src/main.c (gnumeric_main) : glade_bonobo_init -> glade_gnome_init
      bd9fc8e8
  14. 13 Jun, 2000 1 commit
    • Jody Goldberg's avatar
      - Initial version of formula guru · 489a4201
      Jody Goldberg authored
      - Some extensions to auto-fill
      - Slight reorg of Bonobo support.
      
      2000-06-13  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c : Enable the formula guru, make WorkbookPrivate hold
      	  the BonoboObject in the ENABLED_BONOBO case.
      
      	* src/workbook-edit.c (workbook_finish_editing) : Disconnect any gurus
      	  that may be up.
      	(entry_changed) : Do not autocomplete expressions.  Gurus play havoc
      	  with this.
      	(workbook_edit_auto_complete_init) : Delete unused.
      	(workbook_get_entry_logical) : New function.
      	(workbook_set_entry) : New function.
      	(workbook_edit_attach_guru) : New function.
      	(workbook_edit_detach_guru) : New function.
      	(workbook_editing_expr) : When a guru is up we are always editing an
      	  expression. TODO, tune this.
      	(workbook_edit_load_value) : Moved from Sheet, and renamed from
      	  sheet_load_cell_val.
      	(workbook_edit_init) : Handle gurus.
      
      	* src/sheet.c (sheet_destroy_cell_select_cursor) : Make clearing optional.
      
      	* src/sheet-vector.c (sheet_vector_new) : The vectors are
      	  BonoboObjects, destroy them correctly.
      	(sheet_vectors_shutdown) : Ditto.
      
      	* src/sheet-object.c (sheet_set_mode_type_full) : Silence warning.
      	(sheet_object_insert) : Renamed from sheet_insert_object and moved
      	  from sheet.c
      
      	* src/pixmaps.h : Enable the Formula guru.
      
      	* src/parser.y (arg_list) : Improve handling of empty arguments.
      
      	* src/gnumeric-sheet.c (selection_remove_selection_string) : Use
      	  workbook_get_entry_logical.
      	(selection_insert_selection_string) : Ditto.
      	(start_cell_selection_at) : Ditto.
      	(gnumeric_sheet_key_mode_sheet) : Ditto.
      
      	* src/workbook-private.[ch] : Make this into a Bonobo Object for now.
      
      	* src/embeddable-grid.c (embeddable_grid_init_anon) : Use
      	  workbook_new_with_sheets.
      	(embeddable_grid_new) : WorkbookPrivate is temporarily the bonobo
      	  object.
      
      	* src/history.c (history_menu_item_create) : Ditto.
      	(history_menu_locate_separator) : Ditto.
      	(history_menu_insert_separator) : Ditto.
      	(history_menu_remove_items) : Ditto.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_construct) : Ditto.
      	* src/sheet-object-container.c (sheet_object_container_realize) : Ditto.
      
      	* src/workbook-view.c (workbook_view_set_paste_special_state) : Ditto.
      	(change_menu_label) : Ditto.
      
      	* src/file.c (workbook_try_read) : Workbook is now always just a
      	  GtkObject.
      	(workbook_import) : Ditto.
      
      	* src/formats.c (cell_format_date) : Add some new formats.
      
      	* src/format.c (find_decimal_char) : Restore constness.
      	(format_remove_decimal) : Fix the const correctly.
      
      	* src/commands.c (cmd_ins_del_row_col_redo) : Fix to use the new
      	  semantics.
      
      2000-06-12  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-autofill.c (fill_item_destroy) : Free the format.
      	(fill_item_new) : Handle filling by month and year.
      	(autofill_compute_delta) : Ditto.
      	(autofill_cell) : Ditto.
      
      	* src/formats.c (cell_format_is_number) : currently handle the single
      	  character currencies.
      	(cell_format_date) : year only formats.
      
      2000-06-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible) : Minor
      	  optimization.
      489a4201
  15. 08 May, 2000 1 commit
  16. 24 Apr, 2000 1 commit
  17. 07 Apr, 2000 1 commit
    • Jon K Hellan's avatar
      Replace member name with name_quoted and name_unquoted. In name_quoted, · 699e8bf7
      Jon K Hellan authored
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
              * src/sheet.h (struct _Sheet): Replace member name with
      	name_quoted and name_unquoted. In name_quoted, names with spaces
      	or quote characters are protected with quotes.
      
      	* src/analysis-tools.c (prepare_output): Use
      	workbook_sheet_get_free_name to ensure that we don't create more
      	than one sheet with the same name.
      
      	* src/eval.c (dump_cell_list, sheet_dump_dependencies): Dump
      	sheet->name_unquoted instead of sheet->name.
      
      	* src/expr-name.c (name_sheet_title): Make value from
      	sheet->name_quoted instead of sheet->name. FIXME: Is this correct?
      
      	* src/gnumeric-sheet.c (selection_insert_selection_string): Make
      	selection string from sheet->name_quoted instead of quoting
      	sheet->name here.
      
      	* src/print-info.c (render_tab): Render sheet->name_unquoted
      	instead of sheet->name.
      
      	* src/print-preview.c (create_toplevel): Use sheet->name_unquoted
      	instead of sheet->name in window title.
      
      	* src/selection.c (sheet_selection_to_string, range_to_string):
      	Make reference string from sheet->name_quoted instead of quoting
      	sheet->name here.
      
      	* src/sheet.[ch] (sheet_quote_name): Rename to
      	sheet_name_quote. Take name_unquoted parameter, not a sheet.
      
      	* src/sheet.c (sheet_rename, sheet_new): Set both
      	sheet->name_quoted and sheet->name_unquoted.
      	(sheet_destroy): Free both sheet->name_quoted and
      	name_unquoted.
      	(cellref_name): Make reference from sheet->name_quoted instead of
      	quoting sheet->name here.
      
      	* src/test.c (thrash_sheet): Use sheet->name_unquoted instead of
      	sheet->name in debug output.
      
      	* src/value-sheet.c (value_dump): Dump sheet->name_quoted instead
      	of quoting sheet->name here.
      	(encode_cellref): Use sheet->name_quoted instead of quoting
      	sheet->name here.
      
      	* src/workbook.[ch] (workbook_sheet_get_free_name): Make it more
      	generally useful: Add "base" and "always_suffix" parameters. The
      	caller should now select the base to make the name from
      	(e.g. "Sheet"), and specify whether or not a suffix should be
      	added when the name "base" is not in use.
      
      	* src/workbook.c (insert_sheet_cmd): Use new signature of
      	workbook_sheet_get_free_name.
      	(workbook_rename_sheet): Insert unquoted name in hash table.
      	(sheet_label_text_changed_signal): Remove test for quote
      	characters in sheet name.
      	(sheet_action_delete_sheet): Prompt with name_unquoted instead of
      	name.
      	(sheet_action_rename_sheet, workbook_attach_sheet): Use
      	name_unquoted instead on name.
      	(workbook_detach_sheet): Use sheet->name_unquoted as hash key
      	instead of sheet->name.
      
      	* src/workbook-cmd-format.c
      	(workbook_cmd_format_sheet_change_name): Use name_unquoted instead
      	on name.
      
      	* src/xml-io.c (xml_sheet_write): Output sheet->name_unquoted
      	instead of sheet->name.
      
      	* src/dialogs/dialog-sheet-order.c (dialog_sheet_order_impl): Make
      	list header passive.
      	(add_to_sheet_clist, delete_cb): Substitute sheet->name_unquoted
      	for sheet->name.
      
      	* src/dialogs/dialog-zoom.c (dialog_zoom_impl): Ditto.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* graphic-context.c (graphic_wizard_guess_series): Substitute
      	sheet->name_quoted for sheet->name.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* ms-excel-read.c (ms_excel_set_xf, ms_excel_read_formula,
      	ms_excel_read_sheet):  Use
      	gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
      	output.
      	(ms_excel_read_workbook): Remove unused variable to silence
      	warning.
      
      	* ms-excel-write.c (write_externsheets): Output
      	gnum_sheet->name_quoted instead of gnum_sheet->name. FIXME: Is
      	this correct?
      	(write_sheet): Use gnum_sheet->name_unquoted instead of
      	gnum_sheet->name in debug output.
      	(write_workbook): Output gnum_sheet->name_unquoted instead of
      	gnum_sheet->name.
      
      	* ms-formula-read.c (ms_excel_parse_formula): Use
      	gnum_sheet->name_unquoted instead of gnum_sheet->name in debug
      	output.
      
      	* ms-obj.c (object_anchor_to_position): Ditto.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* html.c (html_write_wb_html32, html_write_wb_html40): Output
      	sheet->name_unquoted instead of sheet->name.
      	(html_read): Gettextize sheet name template.
      
      	* latex.c (html_write_wb_latex, html_write_wb_latex2e):  Output
      	sheet->name_unquoted instead of sheet->name.
      
      	* roff.c (write_wb_roff): Ditto
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* lotus.c (attach_sheet): Remove \n from sheet name. Gettextize
      	sheet name template.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* oleo.c (attach_sheet): Remove \n from sheet name. Gettextize
      	sheet name template.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* pln.c (pln_read_workbook): Use workbook_set_saveinfo instead of
      	workbook_set_filename.
      
      2000-04-08  Jon K Hellan  <hellan@acm.org>
      
      	* text-io.c (writeTextSheet): Output sheet->name_unquoted instead of
      	sheet->name.
      	(readTextWorkbook): Ungettextize name of sheet to
      	create. text_parse_file is supposed to rename it.
      699e8bf7
  18. 23 Mar, 2000 1 commit
    • Michael Meeks's avatar
      add 'all' flag to signify a hard vs. soft flush, freeze hash when it is a · 82349ba8
      Michael Meeks authored
      2000-03-22  Michael Meeks  <michael@helixcode.com>
      
      	* src/sheet-style.c (sheet_style_cache_flush): add 'all' flag to
      	signify a hard vs. soft flush, freeze hash when it is a nice size. Do
      	not bother destroying the hash table.
      	(sheet_mstyle_compute_from_list): kill debug in inner loop + add another
      	short circuit. (calc_grown_range): Spread the range better near the
      	edges.
      
      	* src/mstyle.c (mstyle_do_merge): simplify + add vital short circuit for
      	factor of 2 speedup on blank regions. (mstyle_get_*): kill redundant NULL
      	preconditions.
      
      	* src/main.c (gnumeric_main): add the tests again.
      
      2000-03-18  Michael Meeks  <michael@helixcode.com>
      
      	* src/mstyle.c (mstyle_do_merge): Use pointer increment to kill mul in
      	inner loop. (mstyle_element_ref): take a pointer.
      
      	* src/sheet-style.c: Clean internals a lot, kill the nasty dereference
      	macros, hash on CellPos to decrease memory usage.
      
      	* src/dialogs/dialog-cell-format.c (draw_format_preview): Clip the
      	sample down if it is a massive string to stop the dialog from becoming
      	stupidly wide.
      
      Fix for OLE to kill assertion for a vicious file corruption case.
      82349ba8
  19. 18 Mar, 2000 1 commit