- 29 Sep, 1998 9 commits
-
-
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.
-
Tom Dyas authored
-
Arturo Espinosa authored
-
Vincent Renardias authored
* Added plugins/perl/Makefile to the list of files to generate.
-
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'.
-
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.
-
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
-
Arturo Espinosa authored
-
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
-
- 28 Sep, 1998 6 commits
-
-
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.
-
Tom Dyas authored
until I convince autoconf and automake to like me.
-
Arturo Espinosa authored
-
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).
-
Stuart Parmenter authored
-pav
-
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.
-
- 27 Sep, 1998 11 commits
-
-
Raja R Harinath authored
* src/Makefile.am (gnumeric_LDFLAGS): Pass `-export-dynamic', so that plugins can access symbols from the `gnumeric' binary.
-
Arturo Espinosa authored
-
Arturo Espinosa authored
-
Arturo Espinosa authored
-
Raja R Harinath authored
* configure.in (GNOME_COMPILE_WARNINGS): New check. (PYTHON_EXEC_PREFIX): Figure out `exec_prefix' where python was installed. (PYTHON_LIB_LOC): Use $PYTHON_EXEC_PREFIX instead of $PYTHON_PREFIX. * src/Makefile.am (CFLAGS): Comment out. * plugins/sample/Makefile.am (CFLAGS): Likewise. * plugins/python/Makefile.am (CFLAGS): Comment out. (libpython_la_LDFLAGS): Move $(PYTHON_LIB_LOC) here.
-
Arturo Espinosa authored
-
Adrian Likins authored
1998-09-27 Adrian Likins <adrian@gimp.org> * doc/gnumeric,editing,formulas, autofill.sgml: More approriate tags for the images and examples. Restructed to be a bit more logical. -adrian
-
Adrian Likins authored
dang, missed one.... a fragemtn left over from moving images from doc/ to doc/images -adrian
-
Manish Singh authored
-Yosh
-
Adrian Likins authored
1998-09-26 Adrian Likins <adrian@gimp.org> * doc/*.jpg: doc/images/*.jpg: moved images to an images subdir * doc/gnumeric.sgml, editing.sgml, autofill.sgml: cleaned up the markup some -adrian
-
Adrian Likins authored
the images around. -adrian
-
- 26 Sep, 1998 10 commits
-
-
Arturo Espinosa authored
New workbook routine to set the title Hack in autogen.sh to sed the libtool script and allow library dependecies Python plugin now loads its startup file from a system directory.
-
Vincent Renardias authored
* The fix didn't...
-
Raja R Harinath authored
* es.po: Fix terminating `\n'.
-
Vincent Renardias authored
* add -lpthread, overwise gnumeric spits an error messages on startup about pthread_create not found in /usr/lib/gnumeric/plugins/libpython.so.
-
Miguel de Icaza authored
1998-09-26 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/sheet-object.c (create_object): Swap arguments to the ellipse object to guarrantee we pass valid information.
-
Arturo Espinosa authored
Python warning fixes; Clipboard exports to X selection fixes Paste from X selection will need a bit more of work.
-
Adrian Likins authored
1998-09-25 Adrian Likins <adrian@gimp.org> *docs/cell_refer.sgml docs/gnumeric.sgml docs/editing.sgml: Change the structure of the outline of the docs to make a bit more sense. Added some more docs too. *docs/cell-*.jpg, docs/selection[8,9,10].jpg: more jpgs -adrian
-
Adrian Likins authored
1998-09-25 Adrian Likins <adrian@gimp.org> *docs/cell_refer.sgml docs/gnumeric.sgml docs/editing.sgml: Change the structure of the outline of the docs to make a bit mroe sense. Added some more docs too. *docs/cell-*.jpg, docs/selection[8,9,10].jpg: more jpgs -adrian
-
Miguel de Icaza authored
1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/render-ascii.c (cell_region_render_ascii): new routine that renders a cell selection into a an ascii string. IT HAS PILES OF LEAKS. I have to go to the movies, will fix later tonight. * src/clipboard.c (x_clipboard_bind_workbook): New function used to connect the selection signals for a workbook. (x_selection_handler): New function: X selection handler. (clipboard_export_cell_region): New function: Export our clipboard to the X selection. (clipboard_copy_cell_range): call clipboard_export_cell_region * src/plugin-manager.c (plugin_manager_new), plugin.c: Add internationalization support.
-
Arturo Espinosa authored
-
- 25 Sep, 1998 4 commits
-
-
Michael Fulbright authored
Dr Mike <msf@redhat.com>
-
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.
-
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
-
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
-