1. 11 Oct, 2002 1 commit
    • Jody Goldberg's avatar
      move here and privatize. · f3bd2a8f
      Jody Goldberg authored
      
      2002-10-10  Jody Goldberg <jody@gnome.org>
      
      	* src/expr-sheet.c (value_intersection) : move here and privatize.
      
      	* src/func.c (function_call_with_list) : fence post error.  The first
      	  missing arg can be empty.  While we're here fix the precedence error
      	  that was breaking missing default args.  Remove use of
      	  value_intersection.  gnm_expr_eval handles it (I hope)
      
      	* src/expr.c (gnm_expr_eval) : support depends for constructed ranges too.
      
      2002-10-10  Jody Goldberg <jody@gnome.org>
      
      	* src/value-sheet.c (value_intersection) : move here and rework to
      	  support singletons.
      
      	* src/parser.y (parser_simple_val_or_name) : rename from
      	  parser_lookup_name and restore some of the value matching semantics
      	  so that we handle booleans again.  I'm not sure the error handling
      	  will kick in but it too is good.  the duble and int comparisons
      	  should be useless.  We can optimize things a bit by making a
      	  special case routine and removing those.
      
      	* src/expr.c (gnm_expr_eval) : handle dynamic depends and intersection
      	  for the the results.
      	NOTE WARNING WARNING WARNING : change of semantics
      	  In the permit_non_scalar case we do _not_ ensure that the content of
      	  the range has been evaluated.  The user is required to.  We only
      	  handle that in the intersection case.
      	For constant cellranges we now use value_intersection too.
      
      	* src/dependent.c (dependent_types_init) : register DynamicDep
      	(dependent_queue_recalc_list) : when we find a dynamic depend queue
      	  its container.
      	(dependent_queue_recalc) : rename from cb_dependent_queue_recalc and
      	  remove the ignored argument the compiler can handle it.
      	(dynamic_dep_debug_name) : new.
      	(dependent_add_dynamic_dep) : new.
      	(dynamic_dep_free) : new.
      	(dependent_clear_dynamic_deps) : new.
      	(dependent_unlink) : clear dynamic depends if they exist.
      	(cell_eval_content) : clear dynamic depends before we start to
      	  evaluate.  They get regenerated by evaluation and we are already know
      	  that we need to recalc, so there is no need to keep them.
      	(dependent_eval) : ditto.  duplicate the code to keep the semantics of
      	  cell_eval_content tidy.
      	(do_deps_destroy) : drop the dynamic depend table.
      	(gnm_dep_container_new) : initialize it here.
      f3bd2a8f
  2. 10 Oct, 2002 10 commits
  3. 09 Oct, 2002 7 commits
  4. 08 Oct, 2002 3 commits
    • Andreas J. Guelzow's avatar
      /home/aguelzow/gnumeric-files/message · d98414d4
      Andreas J. Guelzow authored
      d98414d4
    • Morten Welinder's avatar
      Catch invalid file names. · f9c62d3c
      Morten Welinder authored
      2002-10-08  Morten Welinder  <terra@diku.dk>
      
      	* src/workbook-view.c (wb_view_new_from_file): Catch invalid file
      	names.
      
      	* src/gutils.c (gnumeric_valid_filename): New function.
      f9c62d3c
    • Jody Goldberg's avatar
      support named expressions. (oo_cell_start) : support merged ranges. · 80a73121
      Jody Goldberg authored
      2002-10-08  Jody Goldberg <jody@gnome.org>
      
      	* openoffice-read.c (oo_named_expr) : support named expressions.
      	(oo_cell_start) : support merged ranges.
      
      
      2002-10-08  Jody Goldberg <jody@gnome.org>
      
      	* src/parser.y (parser_lookup_name) : default the placeholder to be at
      	  workbook scope.
      
      	* src/cellspan.c (row_calc_spans) : new.
      
      	* src/dependent.c (cell_eval_content) : flag the row as needing
      	  respan.  I'll probably want to distinguish between span and render
      	  somehow.
      
      	* src/sheet.c (sheet_update_only_grid) : test a new idea for doing
      	  just in time spanning.  It does not support a true model view split
      	  of the rendering.  However, it does delay the render & span until
      	  the row is visible, and as a result it is feasible to support
      	  spanning expressions.  The key is to flag the row as needing
      	  respanning then doing the entire row in the redraw loop.
      	* src/item-grid.c (item_grid_draw) : do a span recalc if necessary
      	* src/print-cell.c (print_cell_range) : ditto.
      
      	* src/workbook.c (workbook_init) : fix warning.
      
      	* src/parser.y (parser_lookup_name) : remove implicit conversion of
      	  unquoted strings that are not names into string values.  Replace it
      	  with the creation of a placeholder name.  This is useful for parsing
      	  expressions before a name has been declared.
      
      	* src/cell.c (cell_set_value) : fix docs.
      80a73121
  5. 07 Oct, 2002 7 commits
    • Jody Goldberg's avatar
      fix accidental offset of 1,1. · df8ac4c1
      Jody Goldberg authored
      
      2002-10-07  Jody Goldberg <jody@gnome.org>
      
      	* openoffice-read.c (oo_table_start) : fix accidental offset of 1,1.
      df8ac4c1
    • Jody Goldberg's avatar
      handle workbook protected files (thanks jpablo). · 8f56d128
      Jody Goldberg authored
      2002-10-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_excel_read_workbook) : handle workbook protected
      	  files (thanks jpablo).
      
      2002-10-07  Jody Goldberg <jody@gnome.org>
      
      	* cell-format.glade : restore the information that glade convert
      	  appears to have lost.  I hope that is all of it.
      	  Remove deprecated widgets by porting to treeview, and
      	  gnumeric-combo-text.
      	* dialog-cell-format.c : remove deprecated widgets and fix the bug
      	  where by the type of negative numbers was lost because the list was
      	  later cleared.
      
      2002-10-07  Jody Goldberg <jody@gnome.org>
      
      	* src/cell.c (cell_set_value) : fix docs.
      
      	* src/parse-util.c (col_parse) : don't get confused when parsing an
      	  absolute _row_ (yes I mean row) ref.  $3 would see the dollar then
      	  fail, but would return a col of -1.
      	(check_quoted) : fix stupidity.  Return the char after the last quote.
      8f56d128
    • Andreas J. Guelzow's avatar
      /home/aguelzow/gnumeric-files/message · b06d59da
      Andreas J. Guelzow authored
      b06d59da
    • Jody Goldberg's avatar
      don't get confused when parsing an absolute _row_ (yes I mean row) ref. $3 · 00bc3b07
      Jody Goldberg authored
      
      2002-10-07  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (col_parse) : don't get confused when parsing an
      	  absolute _row_ (yes I mean row) ref.  $3 would see the dollar then
      	  fail, but would return a col of -1.
      00bc3b07
    • Hasbullah Bin Pit's avatar
      Updated Malay translation. · 51b12eda
      Hasbullah Bin Pit authored
      2002-10-08 Hasbullah Bin Pit <sebol@ikhlas.com>
      
              * ms.po: Updated Malay translation.
      51b12eda
    • Morten Welinder's avatar
      New variable. Use global value_zero. · e913e0ce
      Morten Welinder authored
      2002-10-07  Morten Welinder  <terra@diku.dk>
      
      	* src/value.c (value_zero): New variable.
      	* src/value-sheet.c (value_area_fetch_x_y): Use global value_zero.
      e913e0ce
    • Morten Welinder's avatar
      Clarify. · 38da006f
      Morten Welinder authored
      38da006f
  6. 06 Oct, 2002 2 commits
    • Jody Goldberg's avatar
      Patch from peninguy.nicolas@wanadoo.fr (Nicolas Peninguy) replace the · 2f34df00
      Jody Goldberg authored
      
      2002-10-06  Jody Goldberg <jody@gnome.org>
      
      	Patch from peninguy.nicolas@wanadoo.fr (Nicolas Peninguy)
      	* src/formats.c : replace the currency and accounting format
      	  classification engines with a cleaner, more accurate regexp based
      	  approach.
      2f34df00
    • Jody Goldberg's avatar
      Fix rangesel · cff550f5
      Jody Goldberg authored
      2002-10-05  Jody Goldberg <jody@gnome.org>
      
      	* gnumeric-expr-entry.c (gnm_expr_entry_rangesel_start) : expressions
      	  need not start with header characters.
      cff550f5
  7. 05 Oct, 2002 3 commits
    • Jody Goldberg's avatar
      ignore named views. (applix_read_sheet_table) : implement. (applix_read) : · e0c10aca
      Jody Goldberg authored
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* applix-read.c (applix_read_view) : ignore named views.
      	(applix_read_sheet_table) : implement.
      	(applix_read) : rename the sheets.
      
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook.c (workbook_metadata) : new.
      e0c10aca
    • Jody Goldberg's avatar
      Some header file cleanup · eb1c9179
      Jody Goldberg authored
      eb1c9179
    • Jody Goldberg's avatar
      improve format generation slightly to be #,##0 rather than #,### · bd9fca4b
      Jody Goldberg authored
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* applix-read.c (applix_parse_style) : improve format generation
      	slightly to be #,##0 rather than #,###
      	(applix_fetch_sheet) : new.
      	(applix_read_view) : ignore PrintView's and keep track of target sheet
      	  order.
      	(applix_read) : set the sheets into the correct order in case any
      	  where implicitly created out of order.
      
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* src/gutils.c (gnumeric_strcase_hash) : Mark for fixing.
      
      	* src/dependent.c (workbook_link_3d_dep) : disable unlinking during
      	  reordering.
      	(workbook_unlink_3d_dep) : disable unlinking during reordering.
      
      	* src/commands.c (cmd_rename_sheet) : use workbook_sheet_by_name.
      
      	* src/sheet.c (sheet_rename) : store a case insensitive key.
      	(sheet_new) : ditto.
      	(sheet_destroy) : clear the name.
      
      	* src/workbook.c (workbook_sheet_reorder) : add missing call to
      	  pre_sheet_index_change.
      	(workbook_init) : No need for case insensitive hashing the callers
      	  will do the conversions.
      	(pre_sheet_index_change) : flag the reorder so that we do not remove
      	  the list of things we're reordering when they get unlinked.
      	(post_sheet_index_change) : ditto.
      	(workbook_sheet_by_name) : convert the target_name to casefolded form.
      	(workbook_sheet_attach) : use the case folded form of the name as key
      	  to the hash.
      	(workbook_sheet_detach) : ditto.
      	(workbook_sheet_reorganize) : ditto.
      bd9fca4b
  8. 04 Oct, 2002 4 commits
    • Morten Welinder's avatar
      Gripe. · d068ab16
      Morten Welinder authored
      d068ab16
    • Morten Welinder's avatar
      Adapt --geometry handling to gtk2. · ffd9404c
      Morten Welinder authored
      2002-10-04  Morten Welinder  <terra@diku.dk>
      
      	* src/workbook-control-gui.c (show_gui): Adapt --geometry handling
      	to gtk2.
      ffd9404c
    • Morten Welinder's avatar
      Fix includes. · bbbc3170
      Morten Welinder authored
      bbbc3170
    • Jody Goldberg's avatar
      ahhh, I understand now. names with expr_len == 0 represent the · 1c9758c2
      Jody Goldberg authored
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_excel_parse_NAME) : ahhh, I understand now.
      	  names with expr_len == 0 represent the placeholders used for unknown
      	  names.
      
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* dialog-define-names.c : port to TreeView.
      
      	* dialog-analysis-tools.c : Use the control from the state rather than
      	  the tool.
      
      2002-10-04  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control.c (wb_control_parse_and_jump) : use the new
      	  undo support and handle assigning to a placeholder.
      
      	* src/gnumeric-canvas.h : Clean up the naming convention to use
      	  GnmCanvas in all locations.
      
      	* src/expr-name.c (expr_name_add) : its ok if the expr is NULL create
      	  a placeholder.
      	(expr_name_is_placeholder) : new.
      
      	* src/commands.c (CmdChangeSummary) : this has no business being
      	  control specific.
      	(CmdPrintSetup) : ditto.
      	(CmdDefineName) : new.
      
      	* src/command-context.c (gnumeric_error_calc) : new.
      	(gnm_error_calc) : new.
      
      2002-10-03  Jody Goldberg <jody@gnome.org>
      
      	* src/format.c (format_get_currency) : convert locale's currency
      	  symbol to utf8.
      	(gnumeric_setlocale) : clear the cache currency symbol.
      
      2002-10-03  Jody Goldberg <jody@gnome.org>
      
      	* src/expr.c (gnm_expr_is_err) : new util.
      1c9758c2
  9. 03 Oct, 2002 2 commits
    • Morten Welinder's avatar
      Handle larger number of columns. · 0cdbae91
      Morten Welinder authored
      2002-10-03  Morten Welinder  <terra@diku.dk>
      
      	* src/parse-util.c (col_name_internal): Handle larger number of
      	columns.
      
      	* src/sheet-style.c (sheet_style_init): Warn if we have a conflict
      	between column name TRUE and constant TRUE.
      0cdbae91
    • Morten Welinder's avatar
      Auto-size. · 10c2cd10
      Morten Welinder authored
      2002-10-03  Morten Welinder  <terra@diku.dk>
      
      	* src/sheet-style.c (TILE_SIZE_COL, TILE_SIZE_ROW): Auto-size.
      10c2cd10
  10. 02 Oct, 2002 1 commit