1. 09 Jul, 2000 3 commits
    • Jody Goldberg's avatar
      Take units in pixels or points. (sheet_{col,row}_set_default_size_pixels) · b519fbd3
      Jody Goldberg authored
      
      2000-07-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_col_row_default_init) : Take units in pixels or
      	  points.
      	(sheet_{col,row}_set_default_size_pixels) : new functions.  This
      	  interface sucks.  Clean it up.
      
      	* src/parser.y : Optionally insert a place holder when an
      	  unknown function is found.
      
      	* src/func.c (function_add_placeholder) : New function, moved from the
      	  XL import code.
      
      	* src/expr.c (expr_parse_string) : gnumeric_expr_parser signature
      	  change.
      	* src/workbook.c (workbook_set_auto_expr) : Ditto.
      
      	* src/application.c (application_dpi_to_pixels) : New function.
      	* src/item-bar.c (item_bar_fonts_init) : Use it here.
      	* src/sheet-view.c (sheet_view_get_style_font) : And here.
      	* src/style.c (font_init) : and here.
      
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parse-util.c (cellref_r1c1_get) : Make stricter.
      	(r1c1_get_item) : Ditto.
      
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* plugins/Makefile.am (SUBDIRS) : Enable applix.
      
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parse-util.c (col_from_name) : Add optional arg to indicate
      	  where parsing stoped.  Similar to strtod.
      
      2000-07-07  Jody Goldberg <jgoldberg@home.com>
      
      	* src/xml-io.c (xml_write_style_border) : Trivial optimization.  No
      	  need to save colour for STYLE_BORDER_NONE.
      	(xml_read_style_border) : Ditto.
      b519fbd3
    • Jody Goldberg's avatar
      Fix. The Current view uses a different syntax than normal views. Ignore · ecf30b65
      Jody Goldberg authored
      
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* applix-read.c (applix_read_views) : Fix.  The Current view uses a
      	  different syntax than normal views.  Ignore it.
      	(applix_read_view) : Implement row/col sizes, custom and default.
      	(applix_read_cells) : Fix bottom/right borders.
      	(applix_parse_style) : Add font size and font colour. Ignore 'fg'
      	  directives.  What are they ??
      	(applix_get_line) : Implement.
      	(applix_read_impl) : Fix off by one error in column bound check.
      ecf30b65
    • Jody Goldberg's avatar
      Pixel match row/col size import. · 7911487e
      Jody Goldberg authored
      2000-07-08  Jody Goldberg <jgoldberg@home.com>
      
      	* applix-read.c (applix_read_views) : Fix.  The Current view uses a
      	  different syntax than normal views.  Ignore it.
      	(applix_read_view) : Implement row/col sizes, custom and default.
      7911487e
  2. 08 Jul, 2000 3 commits
    • Kenneth Christiansen's avatar
      Translations from Keld · 51181a4a
      Kenneth Christiansen authored
      balsa/po/da.po evolution/po/da.po gedit/po/da.po
      gernel/po/da.po gimp/po/da.po gnome-core/po/da.po
      gnome-vfs/po/da.po gnomeicu/po/da.po gnumeric/po/da.po
      gtranslator/po/da.po nautilus/po/da.po pan/po/da.po
      51181a4a
    • Morten Welinder's avatar
      Change traversal order for ranges. · 16ad54ce
      Morten Welinder authored
      2000-07-08  Morten Welinder  <terra@diku.dk>
      
      	* src/sheet.c (sheet_cell_foreach_range): Change traversal order
       	for ranges.
      
      	* src/func.c (function_iterate_do_value): Fix traversal order for
       	arrays.
      16ad54ce
    • Jody Goldberg's avatar
      Correct mis named files · b123a111
      Jody Goldberg authored
      b123a111
  3. 07 Jul, 2000 3 commits
  4. 06 Jul, 2000 6 commits
    • Almer. S. Tigelaar's avatar
      When splitting columns in 2 the last character in the rightmost column · e162d923
      Almer. S. Tigelaar authored
      2000-07-06  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/stf-parse.c (stf_parse_options_fixed_autodiscover): When splitting
      	columns in 2 the last character in the rightmost column would not be
      	taken into account.
      e162d923
    • Jody Goldberg's avatar
      Do not do anything if we have not moved. · 89615ea4
      Jody Goldberg authored
      
      2000-07-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_do_action) : Do not do anything if we
      	  have not moved.
      89615ea4
    • Jody Goldberg's avatar
      Get the range selectors parsed correctly. · 2154ace1
      Jody Goldberg authored
      2000-07-06  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-obj.c (ms_read_OBJ) : Take an ExcelSheet.
      
      	* ms-escher.c (ms_escher_read_ClientData) : ms_read_OBJ takes a sheet.
      	* ms-excel-read.c (ms_excel_read_sheet) : Ditto.
      	(ms_excel_read_workbook) : Ditto.
      
      	* ms-chart.c (3dbarshape) : A bit of research into probable values of
      	  the enum.
      	(ai) : After some thought this makes more sense.  We should only see
      	  an expression if we are linked to the workbook.  Similarly we should
      	  only see a format if one is specified.  We really need to avoid this
      	  kludge of needing a dummy sheet.
      	(areaformat) : Ignore colour index, use the stored colour.  Add some
      	  more debug info.
      	(lineformat) : Ditto.
      	(markerformat) : Ditto.
      	(ms_excel_chart) : Take an optional ExcelSheet.
      	  Parse BIFF_NUMBER records when they appear.
      	(ms_excel_read_chart) : Take an optional ExcelSheet.
      2154ace1
    • Jody Goldberg's avatar
      bug 16490. We were attempting to display the entered text rather than the · 2a420f79
      Jody Goldberg authored
      bug 16490.
      We were attempting to display the entered text rather than the formated text
      and falling over when the copied cell had no sheet.  This is not lovely, but it
      is as clean as we'll get for now.
      
      2000-07-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.c (sheet_style_compute_from_list) : Make public.
      	  and rename from sheet_mstyle_compute_from_list.  Changed all
      	  callers.
      
      	* src/rendered-value.c (rendered_value_new) : Optionaly take a style
      	  list.  Use it if offered.
      
      	* src/cell.c (cell_render_value) : New signature for rendered_value_new.
      
      	* src/render-ascii.c (cell_region_render_ascii) : Temporarily reverse
      	  the style list so that it goes in the correct direction.   Use
      	  rendered_value not entered_text.
      
      	* src/clipboard.c (clipboard_prepend_cell) : Init the Cell::pos with
      	  the offsets.  This is useful in when looking up formats.
      2a420f79
    • Jody Goldberg's avatar
      Add the bitwise operators supplied by Brian Murrel <brian@interlinx.bc.ca> · 67f3bc5e
      Jody Goldberg authored
      
      2000-07-06  Jody Goldberg <jgoldberg@home.com>
      
      	* numtheory.c : Add the bitwise operators supplied by
      	  Brian Murrel <brian@interlinx.bc.ca>
      	  Why put them here ?  They are too small live on their own.
      67f3bc5e
    • Jukka-Pekka Iivonen's avatar
      Implemented COUPNCD(). · 74e8a4dc
      Jukka-Pekka Iivonen authored
      2000-07-06  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/functions/fn-financial.c: Implemented COUPNCD().
      74e8a4dc
  5. 05 Jul, 2000 8 commits
    • 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
    • Michael Meeks's avatar
      35c63906
    • Michael Meeks's avatar
      Files I forgot. · 8d732c18
      Michael Meeks authored
      8d732c18
    • Michael Meeks's avatar
      implement. (write_mem_to_storage): implement. (create_xml_bonobo_stream): · ed8df623
      Michael Meeks authored
      2000-07-05  Michael Meeks  <michael@helixcode.com>
      
      	* src/bonobo-io.c (write_stream_to_storage): implement.
      	(write_mem_to_storage): implement.
      	(create_xml_bonobo_stream): create.
      	(xml_input_read_cb):
      	(xml_input_close_cb):
      	(hack_xmlSAXParseFile): copy from libxml.
      
      	* src/sheet-object.c (sheet_object_drop_file): update; this should
      	be totaly re-written.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_load): clean up.
      
      	* src/sheet-object-item.c (sheet_object_item_new): remove,
      	redundant; re-tool calls to sheet_object_container_new_object.
      
      	* src/sheet-object.c (create_object): rename the one use.
      
      	* src/sheet-object-container.c (sheet_object_container_new_from_object_id):
      	remove activation logic.
      
      	* src/sheet-object-bonobo.c (sheet_object_bonobo_destroy): free
      	object_id. (sheet_object_bonobo_construct): do activation in here.
      	(sheet_object_bonobo_get_object_iid): implement.
      
      	* src/sheet-object-container.c (sheet_object_container_new_from_goadid):
      	rename to (sheet_object_container_new_object): this.
      
      	* src/xml-io.c (xml_write_sheet_object): add bonobo io.
      	(xml_read_sheet_object): add bonobo and re-scope vars.
      	(xml_parse_ctx_new_full): implement.
      
      	* src/main.c (gnumeric_main): add bonobo_io_init.
      
      	* src/xml-io.c (xml_parse_ctx_init): implement,
      	(xml_parse_ctx_shutdown): ditto.
      	(xml_workbook_write): moved
      	(gnumeric_xml_write_workbook): s/parse_xml_context_t/XmlParseContext/
      
      	* src/xml-io.c (xml_workbook_read): publicise.
      	(xml_workbook_write): ditto.
      
      2000-07-04  Michael Meeks  <michael@helixcode.com>
      
      	* src/about.c (dialog_about): sort alphabeticaly.
      ed8df623
    • Morten Welinder's avatar
      const issues. · ff44e061
      Morten Welinder authored
      2000-07-05  Morten Welinder  <terra@diku.dk>
      
      	* src/clipboard.c (x_selection_to_cell_region): Copy data and zero
       	terminate it.
      
      	* src/stf-parse.c (stf_parse_fixed_line): Kill unneeded cast.
      	(stf_parse_convert_to_unix): Unconstify.  Don't bother keeping
       	track of len.  Handle form-feeds better.
      ff44e061
    • Almer. S. Tigelaar's avatar
      When a column has right and left aligned text split and has 2 or more · 01b8664a
      Almer. S. Tigelaar authored
      2000-07-05  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/stf-parse.c:
      	(stf_parse_options_fixed_autodiscover): When a column has right
      	and left aligned text split and has 2 or more spaces in the
      	middle split the column in two. (Suggested by Morten)
      01b8664a
    • Jody Goldberg's avatar
      update · 208e314b
      Jody Goldberg authored
      208e314b
    • Valek Frob's avatar
      Updated russian translation. · 1d0baff8
      Valek Frob authored
      1d0baff8
  6. 04 Jul, 2000 12 commits
  7. 03 Jul, 2000 5 commits
    • Jody Goldberg's avatar
      suppress warning. · b3b428fa
      Jody Goldberg authored
      
      2000-07-03  Jody Goldberg <jgoldberg@home.com>
      
      	* dialog-define-names.c (cb_name_guru_value_focus) : suppress warning.
      b3b428fa
    • Morten Welinder's avatar
      Don't add one to the number of lines if the last line is empty. · 332034ff
      Morten Welinder authored
      2000-07-03  Morten Welinder  <terra@diku.dk>
      
      	* src/stf-parse.c (stf_parse_get_rowcount): Don't add one to the
       	number of lines if the last line is empty.
      
      	* src/sheet.c (sheet_cell_set_text): Plug leak.
      
      	* src/workbook-format-toolbar.c
       	(do_sheet_selection_apply_number_format): Avoid double translation
       	of format.
      
      	* src/mstyle.c (mstyle_set_format_text): Renamed from
       	mstyle_set_format.
      	(mstyle_set_format): New function taking a StyleFormat *.
      332034ff
    • Jody Goldberg's avatar
      Begin the Name menu. · 672ded42
      Jody Goldberg authored
      
      2000-07-03  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c : Begin the Name menu.
      
      	* src/workbook-edit.c (workbook_edit_set_sensitive) : New function.
      	(workbook_finish_editing) : Use here.
      	(workbook_start_editing_at_cursor) : And here.
      	(workbook_edit_attach_guru) : And here.
      	(workbook_edit_detach_guru) : And here.
      	(workbook_edit_entry_redirect_p) : New function.
      
      	* src/item-grid.c (item_grid_button_1) : If we have a guru up, but are
      	  not selecting a region ignore clicks.
      	(item_grid_event) : Ditto.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_can_select_expr_range) : It is
      	  possible to have a guru up without selecting regions.
      
      	* src/expr-name.c (expr_name_list) : Doh!
      
      2000-07-02  Jody Goldberg <jgoldberg@home.com>
      
      	* src/expr.c (expr_rewrite) : Names can contain relative references,
      	  we need to check them too.
      
      	* src/parser.y (exp) : Add production for sheet specific names.
      	  eg Sheet2!name
      
      2000-07-01  Jody Goldberg <jgoldberg@home.com>
      
      	* src/functions/fn-string.c (parse_search_strin) : Use g_strdup.
      672ded42
    • Valek Frob's avatar
      Updated russian translation. · 8243cd20
      Valek Frob authored
      8243cd20
    • Jukka-Pekka Iivonen's avatar
      Implemented `Histogram' tool (mostly). · 275dc86f
      Jukka-Pekka Iivonen authored
      2000-07-03  Jukka-Pekka Iivonen  <iivonen@iki.fi>
      
      	* src/analysis-tools.c: Implemented `Histogram' tool (mostly).
      
      	* src/dialogs/tools.h: Related changes.
      
      	* src/dialogs/analysis-tools.glade,
      	src/dialogs/dialog-analysis-tools.c: Added dialogs for `Histogram'
      	and `Fourier Analysis' tools.  The later is not implemented yet.
      275dc86f