Commit 9d2259fe authored by Morten Welinder's avatar Morten Welinder

whitespace

parent 8bcbc366
......@@ -19,7 +19,7 @@
2010-08-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gnumeric.xml: update the statistical analysis tools intro
* analysis-statistical.xml: restructure to match the new menu
* analysis-statistical.xml: restructure to match the new menu
structure
* doc/C/figures/analysistools-tools.png: updated to show the
new menu structure
......@@ -106,9 +106,9 @@
2010-01-24 Andreas J. Guelzow <aguelzow@pyrshep>
* func.defs: propagate changes and additions in
* func.defs: propagate changes and additions in
the function descriptions (due to the changes in func.c)
* functions.xml: propagate changes and additions in
* functions.xml: propagate changes and additions in
the function descriptions (make-func-list.pl and func.c)
* gnumeric.xml: bump manual version number to 1.10
......@@ -118,7 +118,7 @@
2010-01-09 Andreas J. Guelzow <aguelzow@pyrshep>
* func.defs: propagate changes and additions in
* func.defs: propagate changes and additions in
the function descriptions (due to the changes in func.c)
* functions.xml: ditto
......@@ -128,13 +128,13 @@
2010-01-08 Andreas J. Guelzow <aguelzow@pyrshep>
* func.defs: propagate changes and additions in
* func.defs: propagate changes and additions in
the function descriptions (due to the changes in func.c)
* functions.xml: ditto
2010-01-07 Andreas J. Guelzow <aguelzow@pyrshep>
* func.defs: propagate changes and additions in
* func.defs: propagate changes and additions in
the function descriptions
* functions.xml: ditto
......@@ -490,7 +490,7 @@
2007-09-04 Jody Goldberg <jody@gnome.org>
* quick-start.xml : validate
* quick-start.xml : validate
2007-09-02 J.H.M. Dassen (Ray) <jdassen@debian.org>
......@@ -499,7 +499,7 @@
and using an authorial "we".
* data-entry.xml, data-types.xml, extending-python.xml,
files-formats.xml, gnumeric.xml, gui-overview.xml, morehelp.xml,
quick-start.xml, welcome.xml:
quick-start.xml, welcome.xml:
* When referring to the desktop environment as a whole, capitalise
"GNOME" consistently.
* Removed spaces before colons.
......@@ -718,7 +718,7 @@
* worksheet.xml: minor tweaks.
* workbook.xml: minor tweaks.
* graphics-overview.xml: Change the context menu shot, edit the
text.
text.
* figures/menu-context-object-order.png: Added.
* figures/menu-context-graph-order.png: Added.
......@@ -762,11 +762,11 @@
2004-11-19 Adrian Custer <acuster@gnome.org>
* NEWS Bump version to 1.4. Start edits of worksheet
* NEWS Bump version to 1.4. Start edits of worksheet
chapter. Minor Edits.
* gnumeric.xml: Change title, edit paragraph.
Change guilabel -> emphasis.
* gnumeric.xml: Change title, edit paragraph.
Change guilabel -> emphasis.
* manual-usage.xml: Change title, edit paragraph.
* worksheets.xml: Major edits.
* welcome.xml: Edit for 1.4. Change guilabel -> emphasis.
......@@ -807,7 +807,7 @@
* files-saving.xml: remove valign from <tgroup>. Add a link.
* bugs.xml: remove valign from <tgroup>.
* gui-toolbars.xml: rm discussion of "tearing off" since it broke
a ref.
a ref.
* graphics-widgets.xml: added a link.
* graphics-drawings.xml: added a link.
......@@ -827,9 +827,9 @@
* NEWS Updated the 'Elements' chapter.
* gnumeric.xml: Revert to Docbook 4.2. We actually need to back
down to 4.1.2 or clear this with the GDP. For the moment, I
only have 4.2 so we can change this when I get closer to a
* gnumeric.xml: Revert to Docbook 4.2. We actually need to back
down to 4.1.2 or clear this with the GDP. For the moment, I
only have 4.2 so we can change this when I get closer to a
real network. Bump this up to validate and back down to commit.
* figures/gnumeric-labelled.png: changed.
......@@ -870,8 +870,8 @@
* figures/textguru-export-panel1-withTags.png: Added.
* figures/textguru-export-panel2-withTags.png: Added.
* figures/files-csv-export-ex1.png
* figures/files-csv-export-ex2.png
* figures/files-csv-export-ex1.png
* figures/files-csv-export-ex2.png
* figures/Makefile.am: Add and delete files above.
* gnumeric.xml: Disable the "About" chapter.
......@@ -887,7 +887,7 @@
intro paragraph for components section.
* files-saving.xml: Edits to make parallel to files-opening.
* files-textsave.xml: Edits to update, add figures.
* files-email.xml:
* files-email.xml:
* files-ssconvert.xml: Edits.
2004-10-02 J.H.M. Dassen (Ray) <jdassen@debian.org>
......@@ -930,7 +930,7 @@
2004-10-01 Adrian Custer <acuster@gnome.org>
* NEWS
* NEWS
* README: Tweak.
* data-types.xml: add TODO comment.
......@@ -995,9 +995,9 @@
2004-09-30 Adrian Custer <acuster@gnome.org>
* NEWS: Rewrite of the 'Text Import' section of the 'Working with
Files' chapter.
Files' chapter.
* NEWS: Cleaned up the figures/ dir. Now only images in the text
are present.
are present.
* gnumeric.xml: Add explicit encoding.
......@@ -1280,9 +1280,9 @@
started" section, moved to chapter header in gnumeric.xml. Added
section: "Parts of Gnm". Placed text correctly in <para> to
validate.
* data-selections.xml: Edit the multiple cell selection text, closes
* data-selections.xml: Edit the multiple cell selection text, closes
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=256777.
2004-05-15 Adrian Custer <acuster@gnome.org>
......@@ -1306,7 +1306,7 @@
2004-01-14 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gui-other-elements.xml, gui-overview.xml, gui-toolbars.xml,
* gui-other-elements.xml, gui-overview.xml, gui-toolbars.xml,
printing.xml: Added missing '.png' suffix to figure filerefs.
* figures/Makefile.am: Added missing figures to EXTRA_DIST.
......@@ -1391,7 +1391,7 @@
* figures/analysistools-ztest-ex2.png: updated
* figures/analysistools-ztest.png: updated
* figures/analysistools-descstats-ex1-options.png: new
* gnumeric_doc_analysistools.gnumeric: data for analysis tools
* gnumeric_doc_analysistools.gnumeric: data for analysis tools
screen shots
2003-11-11 J.H.M. Dassen (Ray) <jdassen@debian.org>
......@@ -1556,4 +1556,4 @@
2003-06-01 Adrian Custer <acuster@nature.berkeley.edu>
* New ChangeLog
* New ChangeLog
......@@ -88,7 +88,7 @@
2010-01-07 Andreas J. Guelzow <aguelzow@pyrshep>
* make-func-list.pl: also include the short
* make-func-list.pl: also include the short
description
2009-12-15 Morten Welinder <terra@gnome.org>
......@@ -149,7 +149,7 @@
2009-04-29 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* C/.gitignore: add files created when building the gnumeric
* C/.gitignore: add files created when building the gnumeric
documentation
2009-04-06 Jody Goldberg <jody@gnome.org>
......@@ -251,7 +251,7 @@
* C/figures/analysistools-exp-smoothing-roberts-stderr.png: new
* C/figures/analysistools-exp-smoothing-holt-stderr.png: new
* C/figures/Makefile.am: add above files
* C/analysis-statistical.xml: Add info on standard error for
* C/analysis-statistical.xml: Add info on standard error for
exponential smoothing
2008-10-07 Andreas J. Guelzow <aguelzow@pyrshep.ca>
......
......@@ -362,7 +362,7 @@
2003-07-31 Andreas J. Guelzow <aguelzow@taliesin.ca>
* applix-read.c (applix_read): remove last argument
* applix-read.c (applix_read): remove last argument
in workbook_sheet_reorder, replace workbook_sheet_reorganize
with workbook_sheet_rename
......
......@@ -62,7 +62,7 @@
2010-07-27 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* ms-excel-read.h (ExcelFont): change underline field from PangoUnderline
* ms-excel-read.h (ExcelFont): change underline field from PangoUnderline
to MsBiffFontUnderline
* ms-excel-read.c (excel_read_FONT): underline field of ExcelFont is not
a GnmUnderline but (now) a MsBiffFontUnderline
......@@ -707,7 +707,7 @@
2009-01-15 Jean Brefort <jean.brefort@normalesup.org>
* ms-chart.c: (axesused): Don't use g_return_val_if_fail for data
dependent errors.
dependent errors.
2009-01-11 Morten Welinder <terra@gnome.org>
......@@ -773,7 +773,7 @@
* xlsx-read.c (indexed_color) : return a GOColor.
(themed_color) : new. Has some magic to use the theme indicies as
lookups into a hard coded map.d
lookups into a hard coded map.d
(xlsx_draw_color_themed) : simplified, the theme_colors_by_name is always defined.
(hue_to_color) : new.
(apply_tint) : new. Could be moved into goffice.
......@@ -1139,7 +1139,7 @@
(end): a better auto marker test for #344950,
(ms_excel_chart_read), reparent invisible axis children before
deleting the axis.
(chart_write_axis_sets): write radar plots axes.
(chart_write_axis_sets): write radar plots axes.
* ms-excel-read.c: (excel_read_BOF): reverse objects stack order.
2007-11-23 Jody Goldberg <jody@gnome.org>
......@@ -1371,7 +1371,7 @@
* ms-chart.c: (end): use "Backplane" instead of "Grid" when goffice is 0.5,
(chart_write_text), (ms_excel_chart_write): made some work on titles
position export.
position export.
2007-09-13 Jean Brefort <jean.brefort@normalesup.org>
......@@ -1632,7 +1632,7 @@
* ms-excel-write.c (excel_write_SETUP): use
print_info_get_paper_orientation
(write_sheet_head): print_info might be modified
* ms-excel-read.c (excel_read_SETUP): use
* ms-excel-read.c (excel_read_SETUP): use
print_info_set_paper_orientation
2007-04-21 Morten Welinder <terra@gnome.org>
......@@ -1667,7 +1667,7 @@
(xlsx_write_workbook) : ditto.
(xlsx_write_col) : up the accuracy of width export to match XL 2007.
put hidden before other flags to ease visual inspection of xml.
(xlsx_write_cols) : skip initial empty cols, and include the last col.
(xlsx_write_cols) : skip initial empty cols, and include the last col.
2007-03-16 Morten Welinder <terra@gnome.org>
......@@ -1834,7 +1834,7 @@
2005-07-06 Jon K Hellan <hellan@acm.org>
* ms-excel-read.c (ms_sheet_realize_obj): Realize Excel 95 images
* ms-excel-read.c (ms_sheet_realize_obj): Realize Excel 95 images
[#155696].
* ms-obj.h: Add MS_OBJ_ATTR_IS_GOBJECT_MASK and
......@@ -1922,7 +1922,7 @@
* boot.c: replaced gi18n.h by gi18n-lib.h.
* excel-xml-read.c: ditto.
* ms-excel-read.c: ditto.
* ms-excel-write.c: ditto.
* ms-excel-write.c: ditto.
* ms-formula-read.c: ditto.
* ms-formula-write.c: ditto.
* xlsx-read.c: ditto.
......@@ -2908,7 +2908,7 @@
* ms-excel-read.h (ms_biff_get_chars): Give g_iconv the right kind
of pointer.
* ms-excel-write.h (excel_write_string_len): Change second
* ms-excel-write.h (excel_write_string_len): Change second
argument to be size_t*.
* ms-escher.c (ms_escher_get_data): Fix confusion between
......@@ -3022,7 +3022,7 @@
2004-09-18 J.H.M. Dassen (Ray) <jdassen@debian.org>
* ms-excel-read.c: Added comments on how the paper size information can
be used once gnome-print's API has been extended.
be used once gnome-print's API has been extended.
2004-09-17 Jody Goldberg <jody@gnome.org>
......@@ -3038,7 +3038,7 @@
2004-09-15 Jon K Hellan <hellan@acm.org>
* ms-excel-write.c (txomarkup_new): New. Factored out of
cb_cell_pre_pass.
cb_cell_pre_pass.
(cb_cell_pre_pass): See above.
(excel_write_ClientTextbox): Change first parameter to
ExcelWriteState. Save markup.
......@@ -3217,7 +3217,7 @@
* crypt-md4.[ch]. New files. MD4 checksum to use as BLIP
id. Grabbed from Ethereal, originally from Samba.
* ms-excel-write.c:
* ms-excel-write.c:
(blipinf_new): New function. Initialize a record for image data.
(blipinf_free): New function. Free an image data record.
(excel_write_image): New function. Write an image Sp record
......@@ -3666,7 +3666,7 @@
2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
* ms-excel-read.c (excel_read_SETUP): use print_info_set_orientation
* ms-excel-write.c (excel_write_SETUP): ditto
* ms-excel-write.c (excel_write_SETUP): ditto
2004-01-16 Jody Goldberg <jody@gnome.org>
......@@ -3755,7 +3755,7 @@
(cb_enumerate_macros) : new.
(cb_write_macro_NAME) : new.
(excel_write_names) : new.
* ms-excel-read.c (get_xtn_lens) : add a limiter on the rich text
warning.
(excel_formula_shared) : add some debug.
......@@ -3764,7 +3764,7 @@
(excel_read_CF) : ditto.
(excel_read_DIMENSIONS) : ditto.
(excel_read_GUTS) : ditto.
(excel_read_HLINK) : target frame is first (according to
(excel_read_HLINK) : target frame is first (according to
xls-export-crash.xls) and the docs.
(excel_read_SUPBOOK) : handle external workbooks with unicode names.
......@@ -4205,7 +4205,7 @@
* boot.c (excel_file_probe): Guard against gsf read error.
(excel_file_open): Ditto.
(excel_file_open):
(excel_file_open):
2003-03-26 Jody Goldberg <jody@gnome.org>
......@@ -4809,7 +4809,7 @@
like XL2k generates different indicies when exporting as XL95 than
XL95 did. So have a fall back. If the theory that
a+1 == -ixals, a, b are 0 based
fails. Go back to
fails. Go back to
a == ixals, and a, b are 1 based
2002-10-21 Jody Goldberg <jody@gnome.org>
......@@ -4930,7 +4930,7 @@
2002-09-26 Jody Goldberg <jody@gnome.org>
* ms-formula-read.c (ms_excel_parse_formula) : fix handling of 26 & 27.
* ms-formula-read.c (ms_excel_parse_formula) : fix handling of 26 & 27.
The docs are confusing. The cached data is appended not to the the
subexpression but to the entire string. While we're here add a stub
for tables.
......@@ -5151,7 +5151,7 @@
* ms-excel-write.c (init_base_char_width_for_write) : delete.
(style_get_char_width) : renamed from get_base_char_width as it is now
just a wrapper around the
just a wrapper around the
(ms_excel_write_DEFCOLWIDTH) : renamed from write_default_col_width
and use the right font in the width calculations.
(ms_excel_write_COLINFO) : renamed from write_colinfo and use the
......@@ -5326,8 +5326,8 @@
2002-05-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
* ms-excel-read.c (ms_excel_init_margins) : margins are now in
print_config
* ms-excel-read.c (ms_excel_init_margins) : margins are now in
print_config
(ms_excel_read_setup) : ditto
(ms_excel_read_sheet) : ditto
* ms-excel-write.c (margin_write) : ditto
......
......@@ -1355,7 +1355,7 @@ BC_R(lineformat)(XLChartHandler const *handle,
ms_line_pattern [pattern]););
switch (pattern) {
default:
default:
case 0:
s->style->line.dash_type = GO_LINE_SOLID;
break;
......@@ -2275,7 +2275,7 @@ BC_R(tick)(XLChartHandler const *handle,
else
; // FIXME: not supported for now
}
d (1, {
switch (major) {
case 0: g_printerr ("no major tick;\n"); break;
......
......@@ -1619,7 +1619,7 @@ excel_read_FONT (BiffQuery *q, GnmXLImporter *importer)
case 0x22: fd->underline = XLS_ULINE_DOUBLE_ACC; break; /* double accounting */
default:
g_printerr ("Unknown uline %#x\n", (int)data1);
break;
break;
}
fd->fontname = excel_biff_text_1 (importer, q, 14);
}
......@@ -1933,7 +1933,7 @@ xls_uline_to_gnm_underline (MsBiffFontUnderline mul)
{
g_return_val_if_fail (mul >= XLS_ULINE_NONE, UNDERLINE_NONE);
g_return_val_if_fail (mul <= XLS_ULINE_DOUBLE_ACC, UNDERLINE_NONE);
switch (mul) {
case XLS_ULINE_SINGLE:
return UNDERLINE_SINGLE;
......@@ -1947,7 +1947,7 @@ xls_uline_to_gnm_underline (MsBiffFontUnderline mul)
default:
return UNDERLINE_NONE;
}
}
/* Adds a ref the result */
......@@ -1998,7 +1998,7 @@ excel_get_style_from_xf (ExcelReadSheet *esheet, BiffXFData const *xf)
gnm_style_set_font_italic (mstyle, fd->italic);
gnm_style_set_font_strike (mstyle, fd->struck_out);
gnm_style_set_font_script (mstyle, fd->script);
gnm_style_set_font_uline
gnm_style_set_font_uline
(mstyle, xls_uline_to_gnm_underline (fd->underline));
font_index = fd->color_idx;
} else
......@@ -3069,7 +3069,7 @@ ms_wb_get_font_markup (MSContainer const *c, unsigned indx)
if (fd->attrs == NULL) {
PangoAttrList *attrs;
PangoUnderline underline = gnm_translate_underline_to_pango
PangoUnderline underline = gnm_translate_underline_to_pango
(xls_uline_to_gnm_underline (fd->underline));
attrs = pango_attr_list_new ();
......@@ -3390,9 +3390,9 @@ excel_parse_name (GnmXLImporter *importer, Sheet *sheet, char *name,
name for the sheet it specifies. This
triggers on the file from 632050. */
gnm_rangeref_normalize_pp (value_get_rangeref (val),
&pp,
&start_sheet,
&end_sheet,
&dest);
......@@ -5105,7 +5105,7 @@ excel_read_CF (BiffQuery *q, ExcelReadSheet *esheet, GnmStyleConditions *sc)
mul = XLS_ULINE_DOUBLE_ACC;
break;
}
gnm_style_set_font_uline
gnm_style_set_font_uline
(cond.overlay,
xls_uline_to_gnm_underline (mul));
}
......
......@@ -2017,7 +2017,7 @@ excel_font_overlay_pango (ExcelWriteFont *efont, GSList *pango)
break;
case PANGO_ATTR_UNDERLINE :
efont->underline = gnm_translate_underline_from_pango
efont->underline = gnm_translate_underline_from_pango
(((PangoAttrInt *)attr)->value);
break;
......
......@@ -4278,7 +4278,7 @@ xlsx_run_weight (GsfXMLIn *xin, xmlChar const **attrs)
if (state->run_attrs == NULL)
state->run_attrs = pango_attr_list_new ();
pango_attr_list_insert (state->run_attrs, attr);
}
}
......@@ -4292,7 +4292,7 @@ xlsx_run_style (GsfXMLIn *xin, xmlChar const **attrs)
if (state->run_attrs == NULL)
state->run_attrs = pango_attr_list_new ();
pango_attr_list_insert (state->run_attrs, attr);
}
}
......@@ -4306,7 +4306,7 @@ xlsx_run_family (GsfXMLIn *xin, xmlChar const **attrs)
if (state->run_attrs == NULL)
state->run_attrs = pango_attr_list_new ();
pango_attr_list_insert (state->run_attrs, attr);
}
}
......@@ -4320,7 +4320,7 @@ xlsx_run_size (GsfXMLIn *xin, xmlChar const **attrs)
if (state->run_attrs == NULL)
state->run_attrs = pango_attr_list_new ();
pango_attr_list_insert (state->run_attrs, attr);
}
}
......@@ -4334,7 +4334,7 @@ xlsx_run_strikethrough (GsfXMLIn *xin, xmlChar const **attrs)
if (state->run_attrs == NULL)
state->run_attrs = pango_attr_list_new ();
pango_attr_list_insert (state->run_attrs, attr);
}
}
......@@ -4356,7 +4356,7 @@ xlsx_run_underline (GsfXMLIn *xin, xmlChar const **attrs)
if (state->run_attrs == NULL)
state->run_attrs = pango_attr_list_new ();
pango_attr_list_insert (state->run_attrs, attr);
}
}
......@@ -4377,7 +4377,7 @@ xlsx_run_color (GsfXMLIn *xin, xmlChar const **attrs)
if (state->run_attrs == NULL)
state->run_attrs = pango_attr_list_new ();
pango_attr_list_insert (state->run_attrs, attr);
}
}
......@@ -4457,7 +4457,7 @@ xlsx_comment_end (GsfXMLIn *xin, G_GNUC_UNUSED GsfXMLBlob *blob)
}
sheet_object_set_sheet (SHEET_OBJECT (state->comment), state->sheet);
state->comment = NULL;
}
static void
......@@ -4520,7 +4520,7 @@ GSF_XML_IN_NODE_FULL (START, COMMENTS, XL_NS_SS, "comments", GSF_XML_NO_CONTENT,
GSF_XML_IN_NODE (TEXTITEM, ITEM_PHONETIC_RUN, XL_NS_SS, "rPh", GSF_XML_NO_CONTENT, NULL, NULL),
GSF_XML_IN_NODE (ITEM_PHONETIC_RUN, PHONETIC_TEXT, XL_NS_SS, "t", GSF_XML_CONTENT, NULL, NULL),
GSF_XML_IN_NODE (TEXTITEM, ITEM_PHONETIC, XL_NS_SS, "phoneticPr", GSF_XML_NO_CONTENT, NULL, NULL),
GSF_XML_IN_NODE_END
};
......@@ -4564,7 +4564,7 @@ xlsx_wb_end (GsfXMLIn *xin, G_GNUC_UNUSED GsfXMLBlob *blob)
continue;
}
/* load comments */
cin = gsf_open_pkg_open_rel_by_type (sin,
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments", NULL);
xlsx_parse_stream (state, sin, xlsx_sheet_dtd);
......
......@@ -1413,7 +1413,7 @@ xlsx_write_sheet (XLSXWriteState *state, GsfOutfile *dir, GsfOutfile *wb_part, u
xlsx_write_comments (state, sheet_part, charts);
g_slist_free (charts);
}
/* charts */
charts = sheet_objects_get (state->sheet, NULL, SHEET_OBJECT_GRAPH_TYPE);
if (NULL != charts) {
......@@ -1583,8 +1583,8 @@ xlsx_write_workbook (XLSXWriteState *state, GsfOutfile *root_part)
gsf_xml_out_end_element (xml);
gsf_xml_out_start_element (xml, "workbookPr");
gsf_xml_out_add_int (xml, "date1904",
workbook_date_conv (state->base.wb)->use_1904
gsf_xml_out_add_int (xml, "date1904",
workbook_date_conv (state->base.wb)->use_1904
? 1 : 0);
gsf_xml_out_end_element (xml);
......
/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* excelplugins.c:
*
*
* Adapter interface to load worksheet functions defined in Excel
* plugins (also known as XLLs). Note that this adapter interface
* only works for XLL worksheet functions that expect all their
......
......@@ -96,7 +96,7 @@ adjust_year (int year, GODateConventions const *conv)
return 2000 + year;
else if (year <= 99)
return 1900 + year;
else if (year < (gnm_datetime_allow_negative () ? 1582
else if (year < (gnm_datetime_allow_negative () ? 1582
: go_date_convention_base (conv)))
return -1;
else if (year > 9956)
......
......@@ -334,7 +334,7 @@
2003-06-30 Andreas J. Guelzow <aguelzow@taliesin.ca>
* functions.c: Do not use preprocessor macros in
* functions.c: Do not use preprocessor macros in
translatable text
2003-06-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
......
......@@ -14,7 +14,7 @@
* functions.c (help_networkdays): fix argument description according
to the changes in the OpenFormula draft, correct the situation with
respect to only weekend days
respect to only weekend days
(help_workday): ditto
2010-07-30 Morten Welinder <terra@gnome.org>
......
......@@ -807,7 +807,7 @@ gnumeric_workday (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
if (weekends != default_weekends)
g_free (weekends);
return make_date (value_new_int (go_date_g_to_serial (&date, conv)));
}
}
if (argv[2]) {
int j;
......@@ -910,7 +910,7 @@ gnumeric_workday (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
while (dm_part_week) {
g_date_subtract_days (&date, 1);
weekday = (weekday > 0) ? (weekday - 1)
weekday = (weekday > 0) ? (weekday - 1)
: G_DATE_SATURDAY;
if (!weekends[weekday])
dm_part_week--;
......
......@@ -64,8 +64,8 @@
2010-05-05 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* functions.c (gnumeric_accrint): make @{par} optional
(help_accrint): update
(financial_functions): update
(help_accrint): update
(financial_functions): update
2010-04-16 Morten Welinder <terra@gnome.org>
......@@ -85,7 +85,7 @@
2010-01-04 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* functions.c (help_npv): there does not seem to be
* functions.c (help_npv): there does not seem to be
a type argument
2010-01-02 Andreas J. Guelzow <aguelzow@pyrshep.ca>
......@@ -107,7 +107,7 @@
2009-12-03 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* functions.c (help_euro): add currencies added to
* functions.c (help_euro): add currencies added to
the euro in 2007 to 2009
(one_euro): ditto
......
......@@ -368,17 +368,17 @@ static GnmFuncHelp const help_accrint[] = {
{ GNM_FUNC_HELP_ARG, F_("frequency:number of interest payments per year")},
{ GNM_FUNC_HELP_ARG, F_("basis:calendar basis, defaults to 0")},
{ GNM_FUNC_HELP_ARG, F_("calc_method:calculation method, defaults to TRUE")},
{ GNM_FUNC_HELP_DESCRIPTION,
{ GNM_FUNC_HELP_DESCRIPTION,
F_("If @{first_interest} < @{settlement} and @{calc_method} is "
"TRUE, then ACCRINT returns the sum of the"
" interest accrued in all coupon periods from @{issue} "
" date until @{settlement} date.") },
{ GNM_FUNC_HELP_DESCRIPTION,
{ GNM_FUNC_HELP_DESCRIPTION,
F_("If @{first_interest} < @{settlement} and @{calc_method} is "
"FALSE, then ACCRINT returns the sum of the"
" interest accrued in all coupon periods from @{first_interest} "
" date until @{settlement} date.") },
{ GNM_FUNC_HELP_DESCRIPTION,
{ GNM_FUNC_HELP_DESCRIPTION,
F_("Otherwise ACCRINT returns the sum of the"
" interest accrued in all coupon periods from @{issue} "
" date until @{settlement} date.") },
......@@ -2907,7 +2907,7 @@ static GnmFuncHelp const help_amordegrc[] = {
"2.0 for an expected lifetime of at least 5 years but at most 6 years,\n"
"2.5 for an expected lifetime of more than 6 years.") },
{ GNM_FUNC_HELP_NOTE, F_("Special depreciation rules are applied for the last two periods resulting in a possible total "
"depreciation exceeding the difference of @{cost} - @{salvage}.") },
"depreciation exceeding the difference of @{cost} - @{salvage}.") },
{ GNM_FUNC_HELP_NOTE, F_("Named for AMORtissement DEGRessif Comptabilite.") },
GNM_DATE_BASIS_HELP
{ GNM_FUNC_HELP_EXAMPLES, "=AMORDEGRC(2400,DATE(1998,8,19),DATE(1998,12,30),300,1,0.14,1)" },
......
......@@ -69,7 +69,7 @@ gnumeric_hdate_get_date (GnmValue const * const *arg, int *year, int *month, int
}