Commit 9febb019 authored by Michael Meeks's avatar Michael Meeks
Browse files

Excel function updates: Nick Lamb,

Memory leak fixed.
parent 13da21d5
......@@ -15,8 +15,12 @@ Miguel
*
Michael
*
* Re-wrote the OLE block layer again...
Nick Lamb
* Lots of work adding excel function mappings.
Several translations updated: thanks to our translators
And lots of bugs fixed.
1999-05-21 Nick Lamb <njl98r@ecs.soton.ac.uk>
* ms-formula-read.c: Lots of new formulae translations.
1999-05-20 Michael Meeks <michael@imaginator.com>
* ole.c (main): Change ole_new to ole_open.
......
1999-05-21 Michael Meeks <michael@imaginator.com>
* ms-ole.c (ms_ole_stream_close): Leak fixed: thanks Morten.
1999-05-20 Michael Meeks <michael@imaginator.com>
* ms-ole.c: Whole Block structure totaly re-written for the
......
......@@ -1263,7 +1263,7 @@ ms_ole_stream_close (MS_OLE_STREAM *s)
p->size = s->size;
}
g_array_free (s->blocks, 0);
g_array_free (s->blocks, TRUE);
g_free (s);
}
}
......
......@@ -77,7 +77,7 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "MAX", -1 },
{ "0x8", 8 },
{ "COLUMN", -1 },
{ "0xa", 8 },
{ "0xa", 0 }, /* NA */
{ "0xb", 8 },
{ "STDEV", -1 },
{ "DOLLAR", 1 },
......@@ -94,15 +94,15 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "ABS", 1 },
{ "INT", 1 },
{ "SIGN", 1 },
{ "0x1b", 8 },
{ "0x1c", 8 },
{ "0x1d", 8 },
{ "ROUND", 2 },
{ "LOOKUP", -1 },
{ "INDEX", -1 },
{ "REPT", 2 },
{ "MID", 3 },
{ "LEN", 1 },
{ "VALUE", 1 },
{ "0x22", 8 },
{ "0x23", 8 },
{ "0x23", 8 }, /* FALSE */
{ "AND", -1 },
{ "OR", -1 },
{ "NOT", 1 },
......@@ -124,14 +124,14 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "0x36", 8 },
{ "0x37", 8 },
{ "0x38", 8 },
{ "0x39", 8 },
{ "FV", 5 },
{ "0x3a", 8 },
{ "0x3b", 8 },
{ "0x3c", 8 },
{ "0x3d", 8 },
{ "0x3e", 8 },
{ "IRR", 2 },
{ "RAND", 0 },
{ "0x40", 8 },
{ "MATCH", 3 },
{ "DATE", 3 },
{ "TIME", 3 },
{ "DAY", 1 },
......@@ -143,7 +143,7 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "SECOND", 1 },
{ "NOW", 0 },
{ "AREAS", 1 },
{ "0x4c", 8 },
{ "ROWS", 1 },
{ "COLUMNS", 1 },
{ "OFFSET", -1 },
{ "0x4f", 8 },
......@@ -211,7 +211,7 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "0x8d", 8 },
{ "0x8e", 8 },
{ "0x8f", 8 },
{ "0x90", 8 },
{ "DDB", 5 },
{ "0x91", 8 },
{ "0x92", 8 },
{ "0x93", 8 },
......@@ -234,7 +234,7 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "0xa4", 8 },
{ "0xa5", 8 },
{ "0xa6", 8 },
{ "0xa7", 8 },
{ "IPMT", 6 },
{ "0xa8", 8 },
{ "COUNTA", -1 },
{ "0xaa", 8 },
......@@ -251,7 +251,7 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "0xb5", 8 },
{ "0xb6", 8 },
{ "0xb7", 8 },
{ "0xb8", 8 },
{ "FACT", 1 },
{ "0xb9", 8 },
{ "0xba", 8 },
{ "0xbb", 8 },
......@@ -314,7 +314,7 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "INFO", 1 },
{ "0xf5", 8 },
{ "0xf6", 8 },
{ "0xf7", 8 },
{ "DB", 5 },
{ "0xf8", 8 },
{ "0xf9", 8 },
{ "0xfa", 8 },
......@@ -343,16 +343,16 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "BINOMDIST", 4 },
{ "CHIDIST", 2 },
{ "CHIINV", 2 },
{ "0x114", 3 },
{ "COMBIN", 2 },
{ "CONFIDENCE", 3 },
{ "CRITBINOM", 3 },
{ "0x117", 8 },
{ "EVEN", 1 },
{ "EXPONDIST", 3 },
{ "FDIST", 3 },
{ "FINV", 3 },
{ "FISHER", 1 },
{ "FISHERINV", 1 },
{ "0x11d", 8 },
{ "FLOOR", 2 },
{ "GAMMADIST", 4 },
{ "GAMMAINV", 3 },
{ "CEILING", 2 },
......@@ -365,7 +365,7 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "NORMINV", 3 },
{ "NORMSINV", 1 },
{ "STANDARDIZE", 3 },
{ "0x12a", 8 },
{ "ODD", 1 },
{ "PERMUT", 2 },
{ "POISSON", 3 },
{ "TDIST", 3 },
......@@ -404,7 +404,7 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "0x14e", 8 },
{ "0x14f", 8 },
{ "CONCATENATE", 2 },
{ "0x151", 8 },
{ "POWER", 2 },
{ "0x152", 8 },
{ "0x153", 8 },
{ "0x154", 8 },
......@@ -413,7 +413,7 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "DEGREES", 1 },
{ "0x158", 8 },
{ "0x159", 8 },
{ "0x15a", 8 },
{ "COUNTIF", 2 },
{ "COUNTBLANK", 1 },
{ "0x15c", 8 },
{ "0x15d", 8 },
......@@ -421,12 +421,20 @@ FORMULA_FUNC_DATA formula_func_data[] =
{ "0x15f", 8 },
{ "0x160", 8 },
{ "0x161", 8 },
{ "0x162", 8 },
{ "ROMAN", 2 },
{ "0x163", 8 },
{ "0x164", 8 },
{ "0x165", 8 },
{ "0x166", 8 },
{ "HYPERLINK", -1 },
{ "0x168", 8 },
{ "AVERAGEA", -1 },
{ "MAXA", -1 },
{ "MINA", -1 },
{ "0x16c", 8 },
{ "0x16d", 8 },
{ "0x16e", 8 },
{ "0x16f", 8 },
};
#define FORMULA_FUNC_DATA_LEN (sizeof(formula_func_data)/sizeof(FORMULA_FUNC_DATA))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment