1. 29 Sep, 1998 10 commits
    • Arturo Espinosa's avatar
    • Miguel de Icaza's avatar
      Changed the formatting of it to be like the rest of Gnumeric. · ef54b95e
      Miguel de Icaza authored
      1998-09-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/xml-io.c: Changed the formatting of it to be like the rest
      	of Gnumeric.
      
      	* src/fn-math.c, src/fn-date.c: Simplify routines to use
      	value_float and value_int.
      
      	* src/expr.c (value_float, value_int): New utility functions to
      	create values of type integer and float.
      
      	* src/sheet.c (sheet_set_text): Use the matching engine on entered text
      
      	* src/cell.c (cell_set_text_simple): New function.  Does not queue
      	cell computations nor queue any redraws
      	(cell_content_changed): New function: Queues recomputations for
      	cells that depend on the contents of the argument.
      	(cell_set_format_simple): New routine, like cell_set_format but
      	does not render the value nor queues a redraw.
      
      	* src/xml-io.c: Use workbook_recalc_all instead of workbook_recalc
      
      	* src/fn-math.c (gnumeric_log10, gnumeric_log, gnumeric_log2):
      	Range check fix was wrong.  The valid range does not include
      	zero.  Thanks to Morten Welinder for noticing this.
      	(gnumeric_cosh): Call cosh, not cos.
      	Reordered this file to have the help always before the function
      	that defines it.
      	(callback_function_or): Bug fix: any non-zero value is considered
      	to be TRUE.
      	(gnumeric_fact): Use exp (lgamma (n+1)) to compute large
      	factorials (this only applies to factorials over 40).
      
      	* src/about.c (dialog_about): Stop using gnome_dialog_set_modal.
      ef54b95e
    • Tom Dyas's avatar
      s/python/perl/g · 94b39045
      Tom Dyas authored
      94b39045
    • Arturo Espinosa's avatar
      header file for number-match.c · 187cc5c1
      Arturo Espinosa authored
      187cc5c1
    • Vincent Renardias's avatar
      Added plugins/perl/Makefile to the list of files to generate. · 5754d037
      Vincent Renardias authored
      * Added plugins/perl/Makefile to the list of files to generate.
      5754d037
    • Miguel de Icaza's avatar
      Small bug fix. I was making 'mm' be parsed as 'mmm'. Support 'mmmm'. · 1ab9226b
      Miguel de Icaza authored
      1998-09-29  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/number-match.c (format_create_regexp): Small bug fix.  I was
      	making 'mm' be parsed as 'mmm'.  Support 'mmmm'.
      1ab9226b
    • 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
    • Adrian Likins's avatar
      [aklikins@adrian aklikins]$ cd src/gimp · 4f6f226c
      Adrian Likins authored
      1998-09-28  Adrian Likins <adrian@gimp.org>
      
              * doc/gnumeric.sgml, autofil.sgml, worksheet.sgml: More docs.
      	* docs/images/worksheet*.jpg: jpg's for the new worksheet
      	  docs.
      
      If someone wants to take a look at the worksheet docs, esp the
      menu and buttonbar markup and let me know if i'm heading down the
      right track, i'd appreciated it.
      
      
      -adrian
      4f6f226c
    • Arturo Espinosa's avatar
      6b9497a9
    • 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
  2. 28 Sep, 1998 6 commits
    • Tom Dyas's avatar
      Support in configure.in to detect Perl and enable compilation of the Perl · 5f628114
      Tom Dyas authored
      plugin. I didn't stick plugins/perl/Makefile into AC_OUTPUT for now because
      libtool is barking at me that it can't link with a "non-libtool" library.
      5f628114
    • Tom Dyas's avatar
      Plugin for Gnumeric that allows it to run Perl code. Don't look to closely · 340d4fae
      Tom Dyas authored
      until I convince autoconf and automake to like me.
      340d4fae
    • Arturo Espinosa's avatar
      Fixed pasting from the X selection -mig · 7cf36748
      Arturo Espinosa authored
      7cf36748
    • Miguel de Icaza's avatar
      Allow the lists to include an asterisk to be able to distinguish between · 0551a214
      Miguel de Icaza authored
      
      
      1998-09-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-autofill.c (matches_list): Allow the lists to include
      	an asterisk to be able to distinguish between abbreviations and
      	full descriptions.
      
      	* src/clipboard.c (x_selection_to_cell_region): New routine.
      	Creates a CellRegion of type text based on the selection provided
      	by X.
      	(paste_cell_flags): New function, decoupled from
      	do_clipboard_paste_cell_region.   Handles new type in CellCopy.
      
      	* src/sheet.c (sheet_selection_paste): Simplified as most of the
      	work is now
      
      	* src/clipboard.c (x_selection_received): Perform the paste
      	operation, moved most of the logic from sheet.c.  This does both
      	internal paste and paste from the X selection (and everything
      	works the way the user expects it to behave).
      0551a214
    • Stuart Parmenter's avatar
      79a88b7c
    • Miguel de Icaza's avatar
      Check the return value from symbol_lookup. · ae3dda69
      Miguel de Icaza authored
      
      1998-09-27  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/expr.c (function_call_with_values): Check the return value
      	from symbol_lookup.
      
      1998-09-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-object.c (sheet_view_object_realize): Swap coordinates
      	before passing to the canvas item.
      
      	* plugins/python/python.c (init_plugin): Use the system
      	installation directory to load the python scripts.
      
      	* autogen.sh: Hack to make libtool add library dependcy
      	information (it modifies the libtool file after it has been
      	created).
      
      	* src/workbook.c (workbook_set_filename): New routine to set the
      	filename being edited of the workbook.
      
      	* src/sheet-object.c (create_object): Swap arguments to the
      	ellipse object to guarrantee we pass valid information.
      
      	* src/render-ascii.c (cell_region_render_ascii): Ok, remove the
      	leaks now.
      ae3dda69
  3. 27 Sep, 1998 11 commits
  4. 26 Sep, 1998 10 commits
  5. 25 Sep, 1998 3 commits
    • Michael Fulbright's avatar
      Added spec file for version 0.2 · 9062a75f
      Michael Fulbright authored
      Dr Mike <msf@redhat.com>
      9062a75f
    • 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
    • Adrian Likins's avatar
      more docs, some on creating selections, and some on moving/copying cells · bff209aa
      Adrian Likins authored
      1998-09-25 Adrian Likins <adrian@gimp.org>
      
              * docs/dndselection.sgml, selection.sml: more docs, some
      	        on creating selections, and some on moving/copying cells
      	* docs/dndselection-*.jpg, selection-*.jpg: jpegs to
      		accompany the docs.
      
      -adrian
      bff209aa