1. 03 May, 1999 2 commits
  2. 30 Apr, 1999 1 commit
  3. 29 Apr, 1999 1 commit
  4. 15 Apr, 1999 1 commit
  5. 11 Apr, 1999 2 commits
  6. 07 Apr, 1999 1 commit
  7. 30 Mar, 1999 1 commit
  8. 09 Feb, 1999 1 commit
    • Miguel de Icaza's avatar
      Apparently string concatenation operator in Excel has the lower priority. · 43fe0ef0
      Miguel de Icaza authored
      1999-02-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y: Apparently string concatenation operator in Excel
      	has the lower priority.
      
      	* src/workbook.c (workbook_detach_sheet): New function used to
      	detach a sheet from a workbook.
      	(sheet_menu_label_run): New routine.  Invoked on button-3 on the
      	sheet label.
      
      	* src/gnumeric-util.c (gnumeric_auto_kill_popup_menu_on_hide): New
      	routine to deallocate menus when they go to unshown state
      43fe0ef0
  9. 11 Jan, 1999 1 commit
    • Miguel de Icaza's avatar
      Use 0.0########## instead. Looks saner. · c46a2f59
      Miguel de Icaza authored
      1999-01-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/format.c (format_value): Use 0.0########## instead.  Looks saner.
      
      1999-01-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/workbook.c (change_auto_expr_menu): Use the event->button
      	field to get the popup menu to behave correctly.
      	(workbook_setup_auto_calc): Put the information display inside a
      	GtkFrame.
      
      	* src/item-bar.c (set_cursor): This routine can be invoked before
      	we are realized.
      
      	* src/workbook.c (sheet_label_button_press): We need to do the
      	page flipping ourselves, as the GtkNotebook wont take events if
      	they are not for a window it knows about.
      
      	* src/widget-editable-label.c (el_button_press_event): Forward
      	events to parent.
      
      	* src/parser.y: New non-terminal "cellref".  Make this
      	non-terminal include CELLREF and SHEETREF!CELLREF constructions.
      
      	* src/expr.c: Changed the whole module according to the dropping
      	of VALUE_CELLREF.
      
      	* src/expr.h: VALUE_CELLREF did not make much sense.  Better add
      	to the ExprTree union a CellRef field specifically for OPER_VAR
      	nodes.
      c46a2f59
  10. 10 Jan, 1999 1 commit
    • Miguel de Icaza's avatar
      Reorganization. Hanlde VALUE_CELLREF here and make OPER_VAR and · 910cc0b7
      Miguel de Icaza authored
      1999-01-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/eval.c (add_value_deps): Reorganization.  Hanlde
      	VALUE_CELLREF here and make OPER_VAR and OPER_CONSTANT call
      	add_value_deps.
      
      	* src/expr.c (do_expr_tree_relocate, expr_tree_relocate): New
      	routine that returns an ExprTree relocated.
      	(value_copy_to): Handle the VALUE_CELLREF type.
      
      	* src/expr.h: define VALUE_CELLREF
      
      	* src/parser.y (yylex): Type fix.
      	When creating values of type VALUE_CELLREF, set this value.
      
      1999-01-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet.c (sheet_move_column): Update to new cell_relocate
      	semantics.
      	(sheet_shift_row): ditto.
      	(sheet_insert_row): ditto.
      	(sheet_delete_row): ditto.
      	(sheet_shift_col): ditto.
      
      	* src/clipboard.c: Update to new cell_relocate semantics.
      	Remove the old GTK compatibility code.
      
      	* src/cell.c (cell_relocate): We do not need to reference this
      	formula.
      	This routine now takes delta-x and delta-y values for the
      	relocation, instead of absolute cordinates.  To implement the
      	proper semantics of cell movement that other spreadsheets implement
      910cc0b7
  11. 03 Jan, 1999 1 commit
    • Miguel de Icaza's avatar
      Add support for non-local cells here. I am impressed how simple this was. · 19500e12
      Miguel de Icaza authored
      1999-01-03  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/expr.c (eval_expr): Add support for non-local cells here.  I
      	am impressed how simple this was.
      
      	* src/parser.y: Add rules for cell references outside of the
      	current sheet.
      
      	* src/main.c: New option --debug.  Turns on the zoom in/zoom out
      	buttons on the main sheet.
      
      	* src/workbook.c: Include the zoom in/zoom out buttons conditionally.
      
      	* src/xml-io.c (xmlGetCoordinates): Load using double numbers the
      	information.
      
      	* src/parser.y (yylex): Allow strings to be specified with "'"
      	characters.
      19500e12
  12. 28 Nov, 1998 1 commit
    • Miguel de Icaza's avatar
      OH MY GOD! This has been on my laptop for AGES! and it never went into CVS. What a dork I am · 11be5291
      Miguel de Icaza authored
      So, here it is:
      
      1998-11-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-autofill.c (autofill_cell): Simplify by using
      	cell_set_formula_tree
      
      	* src/expr.c (expr_parse_string): Take a sheet argument
      	(expr_decode_tree): Same
      
      	* sheet.c (cellref_name): Now takes a sheet argument and decodes the
      	cellref depending on the sheet.
      
      	* cell.c (CellRef): Now they include the sheet location.
      11be5291
  13. 13 Nov, 1998 1 commit
    • Miguel de Icaza's avatar
      Use case-insenstive routines when creating the hash table. · 3cbc7cdc
      Miguel de Icaza authored
      1998-11-12  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y:
      
      	* src/workbook.c (workbook_new): Use case-insenstive routines when
      	creating the hash table.
      	(workbook_sheet_get_free_name): Find an unused name for a sheet.
      	(workbook_sheet_lookup): Looks up a sheet by name in a Workbook.
      	(insert_sheet_cmd): New command to insert a sheet into a workbook.
      
      	* src/utils.c (gnumeric_strcase_hash, gnumeric_strcase_equal):
      	Routines used for strings hash tables that are not case
      	sensitive.
      
      1998-11-12  Morten Wellinder <terra@diku.dk>
      
      	* test-parser.c: Fix to compile with the new API
      
      	* parser.y: Make the code more maintainable.
      3cbc7cdc
  14. 11 Nov, 1998 1 commit
    • Miguel de Icaza's avatar
      Missing function. · 74ad45b9
      Miguel de Icaza authored
      1998-11-11  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/gnumeric-util.c (font_get_italic_name): Missing function.
      
      	* src/parser.y: Use '^'.
      74ad45b9
  15. 28 Oct, 1998 1 commit
  16. 30 Sep, 1998 1 commit
  17. 29 Sep, 1998 3 commits
    • Raja R Harinath's avatar
      Update to change in `expr.h'. s/OP_/OPER_/g. · 8a6487ec
      Raja R Harinath authored
      * src/parser.y (dump_tree): Update to change in `expr.h'.
      s/OP_/OPER_/g.
      8a6487ec
    • Miguel de Icaza's avatar
      New: · f4929ca6
      Miguel de Icaza authored
      
      
      New:
      
      	- Excel-like magic on strings works.  This means that everytime
      	  a string appears in an expression, it will be tried to match
      	  against all of the stock formating codes in Gnumeric to see
      	  if there is a match (basically, the inverse to format.c).
      	  If there is one, then the input is converted to a float using
      	  the format rules and the format for the cell is set to the
      	  matching format.
      
      	  This basically means, you can do stuff like:
      		="1/1/1997"+200 and get "7/20/1997"
      
      	  It also works for hours and also lets you input in your own
      	  language (if the locale provides proper translation), ie,
      	  you can input:
      
      		="15 pesos" + 10
      
      	  And get the result.
      
      	- Made another autogen.sh hack to shutup the noisy libtool during
      	  final link stage.
      
      	- Abbreviated months and days now include an asterisk at the
      	  beginning to let translators provide unambiguated strings
      	  (like, may->may).
      
      Miguel.
      Full ChangeLogs:
      
      1998-09-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/fn-date.c (gnumeric_now, gnumeric_date, gnumeric_today):
      	Note that jannuary 1st is day 1, not day zero.
      
      	* src/format.c (append_month): Fixed handling: tm_mon is zero based.
      	(split_time): Fixed silly mistake I did last time I looked at this code
      
      	* src/cell.c (cell_set_formula): Try to set the cell style if the
      	style is General.
      
      	* src/parser.y (return_symbol): Try to match the input with the
      	format matching engine.
      
      	* autogen.sh (PKG_NAME): Another hack to get rid of the annoying
      	extracing symbols list, which, slows down my link time :-)
      
      1998-09-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/number-match.c (compute_value): New file:  Implements a
      	smart way of parsing numbers:  From all of the registered formats,
      	it creates regexps for matching at the time the user inputs data.
      	If that data matches any of the regexps, then the input is
      	converted into a float, and a display format is assigned to it.
      
      	* src/format.c (append_day, append_month): Skip the -now included-
      	start at the begining for internationalization purposes.
      	(split_time): Fixed the hour and second renddering.
      	(format_number): Fix:  hour_seen was not being set.
      
      	* src/sheet-autofill.c (matches_list): Allow the lists to include
      	an asterisk to be able to distinguish between abbreviations and
      	full descriptions.
      f4929ca6
    • Arturo Espinosa's avatar
      Moving stuff around a little. · 6e7b6467
      Arturo Espinosa authored
      
      
      Moving stuff around a little.
      
      I am preparing my matching engine on input, so that Gnumeric will
      auto-convert stuff like "10/Jan" and "10:45am" into a serial number.
      
      Miguel
      6e7b6467
  18. 25 Sep, 1998 1 commit
    • Miguel de Icaza's avatar
      New version that makes sure the column information has been allocated. · d3276a42
      Miguel de Icaza authored
      1998-09-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet.c (sheet_selection_row_extend_to,
      	sheet_selection_col_extend_to): New version that makes sure the
      	column information has been allocated.
      
      	* src/workbook.c (workbook_parse_and_jump): Maximum ranges were a
      	little bit off.
      
      	* src/parser.y (return_cellref): Fixed the same bug we had in
      	parse_cell_name:  The parsing of the column name to a column index
      	was wrong here too.
      
      	* src/sheet.c (sheet_row_info_set_height,
      	sheet_col_info_set_width): New functions based on the older
      	non-ColRowInfo versions.
      
      	* src/sheet-view.c (sheet_view_row_size_changed,
      	sheet_view_col_size_changed): Apply changes globaly if the whole
      	sheet is selected.
      d3276a42
  19. 23 Sep, 1998 1 commit
    • Miguel de Icaza's avatar
      Accept underscores in identifiers. · 2abd0f81
      Miguel de Icaza authored
      1998-09-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y (yylex): Accept underscores in identifiers.
      
      	* src/xml-io.c (readXmlCell): Set the content of the cell even if
      	the file contains NULLS.
      
      	* src/style.c (style_font_new): Better tolerance to missing fonts.
      
      	* src/xml-io.c: Remove geometry setting: it has some bad side
      	effects.
      
      	* src/func.c (constants_init): Add a GNUMERIC_VERSION constant.
      2abd0f81
  20. 20 Sep, 1998 1 commit
  21. 05 Sep, 1998 1 commit
    • Miguel de Icaza's avatar
      Add unary '+' · d31d1eaf
      Miguel de Icaza authored
      1998-09-05  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y: Add unary '+'
      
      	* src/gnumeric-sheet.c: Add keybinding for Control-Enter which
      	fills the selection with the current text.
      
      	* src/sheet.c (sheet_set_text): New function: sets the contents of
      	an arbitrary cell to the text as if it were typed by the user.
      	(sheet_fill_selection_with): Fill the selection with a string.
      d31d1eaf
  22. 18 Aug, 1998 1 commit
    • Miguel de Icaza's avatar
      Today: · 8df6dcc8
      Miguel de Icaza authored
      
      
      Today:
      
      	- Cell format dialog box + working number formats.
      
      Miguel.
      
      1998-08-17  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/eval.c (cell_eval): Use the formating routine now.
      
      	* src/expr.c (value_format): Format a Value with a StyleFormat.
      
      	* src/item-cursor.c (item_cursor_set_bounds_visibly): Force a
      	canvas update after moving the selection.
      
      	* src/sheet.c (sheet_selection_to_list): New function: generates a
      	list of cells from the sheet->selections list.
      
      	* src/style.c: Now styles have a "valid_flag" that has a bit
      	turned on for those parts of the style that are actually used.
      	This is required for adding the regions of style application in a
      	Sheet.
      	(style_destroy): destroy only those valid parts in a style.
      
      	* src/dialog-cell-format.c: New file.   Implements the cell/format
      	dialog box.
      
      	* src/cell.c (cell_render_value): new routine used to render the
      	cell->value into cell->text.
      	(cell_queue_redraw): new routine to queue individual redraws of
      	the screen.  I believe it is buggy, as the screen does not update
      	after an apply in the cell/format dialog box.
      	(cell_set_format): New routine to change the format of an existing
      	cell.
      
      	* src/format.c (format_number): Added color argument;  smaller
      	fixes to use it within gnumeric.
      
      	* src/main.c (main): Include i18n setup as per namsh's suggetion.
      8df6dcc8
  23. 14 Aug, 1998 1 commit
  24. 13 Aug, 1998 1 commit
  25. 07 Aug, 1998 3 commits
  26. 06 Aug, 1998 1 commit
    • Arturo Espinosa's avatar
      Lots of things today: · b261e986
      Arturo Espinosa authored
      
      
      Lots of things today:
      
      - New functions implemented:
      	SELECTION(),  SUM(),  IF()
      
      - Autocompute of an expression that applies to the selection.
      
      - Added comparission to the expression grammar.
      
      - Added array values.
      
      Bug fixes as usual and lots other thingies I forget.
      
      Miguel
      b261e986
  27. 05 Aug, 1998 2 commits
  28. 04 Aug, 1998 1 commit
  29. 30 Jul, 1998 1 commit
    • 0's avatar
      Free the record that tracks the allocation records. (alloc_clean): Handle · 69def31c
      0 authored
      1998-07-30    <miguel@nuclecu.unam.mx>
      
      	* src/parser.y (alloc_clean): Free the record that tracks the
      	allocation records.
      	(alloc_clean): Handle Strings.
      	(alloc_list_free): New function: cleans up the allocation list.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_load_cell_val): Fix to use
      	the new Strings.
      
      	* src/cell.h: Use the new Strings instead of the Symbols.  That
      	was just a stupid idea.
      
      	* src/str.c (string_ref): New file:  Implements string sharing.
      
      	* src/symbol.c (symbol_install): Use our copy of the allocated key
      	when installing the symbol.
      
      1998-07-29    <miguel@nuclecu.unam.mx>
      
      	* src/symbol.c (symbol_unref_ptr): New function that does symbol
      	unreferencing and if the reference count reaches zero, it also
      	sets the value pointed to NULL.
      
      	* src/sheet.c (cell_set_text): Release evaluation tree after
      	entering new contents in a cell.
      
      	* src/sheet.h (Cell): We now keep all of the character information
      	as refcounted Symbols.
      
      	* src/expr.c (eval_node_release): Renamed and made static.  New
      	allocation strategy: EvalTree's top node are now refcounted to
      	simplify cell duplication.
      	(eval_expr): Now it takes column and row arguments for evaluating
      	the expression in that context.
      	(expr_parse_string): Same.
      
      	* src/parser.y: Renamed EvalNode to EvalTree.
      	(return_cellref): CellRefs now contain offsets relative to the
      	current column/row if the references are not absolute.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_make_cell_visible): Use new
      	helper routines for doing the scrolling.  Scroll vertically.
      	(gnumeric_sheet_set_top_row, gnumeric_sheet_set_top_col): New
      	routines for keeping the contents of the canvas and the bars in
      	sync.
      	(gnumeric_sheet_new): Take the ItemBars for the columns and rows
      	as a parameter now.
      
      	* src/sheet.c (sheet_select_all): New routine: select the complete spreadsheet.
      
      	* src/item-bar.c (item_bar_class_init): Signal now takes an extra
      	argument which indicates the beginning of a column selection.
      
      	* src/sheet.c (sheet_selection_col_extend_to,
      	sheet_selection_row_extend_to): New methods for implementing the
      	extending column and row selection.
      	(sheet_row_selection_changed, sheet_col_selection_changed): Now
      	they use the new parameter to start the selection.
      69def31c
  30. 24 Jul, 1998 1 commit
  31. 23 Jul, 1998 1 commit
  32. 22 Jul, 1998 1 commit
    • Miguel de Icaza's avatar
      Numbers are parsed correctly. Bits of Oleo number parsing plugged in. · ef28d5f2
      Miguel de Icaza authored
      1998-07-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y (yylex): Numbers are parsed correctly.  Bits of
      	Oleo number parsing plugged in.
      
      	* src/util.c, src/util.h: New files with assorted number utilities.
      
      	* src/numbers.h: New file: takes care of using gmp or regular
      	double/int.
      
      	* src/expr.c (eval_release_node): Implement.
      	(eval_release_value): New function.
      
      	* src/sheet.c (sheet_col_selection_changed,
      	sheet_row_selection_changed): Implement.
      	(sheet_selection_clear, sheet_selection_clear_only): Splitted
      	functionality into two routines.
      	(sheet_selection_clear_only): Remove any marks from the bars.
      	(sheet_row_set_selection, sheet_col_set_selection): Implement.
      
      	* src/item-bar.c (is_pointer_on_division): Return the column
      	changed.
      
      	* src/item-grid.c (item_grid_draw_cell): Fix the computation for
      	right indentation.
      ef28d5f2
  33. 20 Jul, 1998 1 commit