Skip to content

Commit 754ee9a

Browse files
committed
Merge branch 'release/0.1.1'
2 parents 508e4e4 + 377a7f5 commit 754ee9a

33 files changed

+7226
-3357
lines changed

.config/webpack/languages.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ module.exports.create = function create() {
8080
externals: {
8181
['../..']: {
8282
root: 'HyperFormula',
83-
commonjs2: '../..',
84-
commonjs: '../..',
85-
amd: '../..',
83+
commonjs2: 'hyperformula',
84+
commonjs: 'hyperformula',
85+
amd: 'hyperformula',
8686
},
8787
},
8888
module: {

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [0.1.1] - 2020-07-01
10+
11+
### Fixed
12+
- Fixed a typo in a config option from `useRegularExpresssions` to `useRegularExpressions`. (#437)
13+
914
## [0.1.0] - 2020-06-25
1015

1116
### Added
@@ -26,7 +31,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2631
- named expressions support,
2732
- support for cut, copy, paste,
2833
- undo/redo support;
29-
- Following formulas: DATE(), DAYS(), ASIN(), COS(), E(), ERFC(), LOG(), PI(), SIN(), TAN(), AND(), AVERAGEA(), BASE(), BIN2HEX(), BITAND(), BITOR(), BITXOR(), CHAR(), CONCATENATE(), COUNTBLANK(), COUNTIFS(), COUNTIF(), DEC2BIN(), DEC2OCT(), DEGREES(), EVEN(), INT(), ISODD(), MAXA(), MIN(), MOD(), ODD(), ROUND(), ROUNDUP(), SUM(), SUMIFS(), SUMSQ(), XOR(), FALSE(), DAY(), ACOS(), ATAN(), COT(), ERF(), LN(), LOG10(), POWER(), SQRT(), ABS(), AVERAGE(), AVERAGEIF(), BIN2DEC(), BIN2OCT(), BITLSHIFT(), BITRSHIFT(), CEILING(), CODE(), CORREL(), COUNTA(), COUNTUNIQUE(), DEC2HEX(), DECIMAL(), DELTA(), IF(), ISEVEN(), MAX(), MEDIAN(), MINA(), NOT(), OR(), ROUNDDOWN(), SPLIT(), SUMIF(), SUMPRODUCT(), TRUNC(), TRUE();
34+
- Following functions: ABS(), ACOS(), AND(), ASIN(), ATAN(), ATAN2(), AVERAGE(), AVERAGEA(), AVERAGEIF(), BASE(), BIN2DEC(), BIN2HEX()BIN2OCT(), BITAND(), BITLSHIFT(), BITOR(), BITRSHIFT(), BITXOR(), CEILING(), CHAR(), CHOOSE(), CODE(), COLUMNS(), CONCATENATE(), CORREL(),
35+
COS(), COT(), COUNT(), COUNTA(), COUNTBLANK(), COUNTIF(), COUNTIFS(), COUNTUNIQUE(), DATE(), DAY(), DAYS(), DEC2BIN(), DEC2HEX(), DEC2OCT(), DECIMAL(), DEGREES(), DELTA(), E(), EOMONTH(), ERF(), ERFC(), EVEN(), EXP(), FALSE(), IF(), IFERROR(), IFNA(), INDEX(), INT(), ISBLANK(), ISERROR(), ISEVEN(), ISLOGICAL(), ISNONTEXT(), ISNUMBER(), ISODD(), ISTEXT(), LN(), LOG(), LOG10(), MATCH(), MAX(), MAXA(), MAXPOOL(), MEDIAN(), MEDIANPOOL(), MIN(), MINA(), MMULT(), MOD(), MONTH(), NOT(), ODD(), OFFSET(), OR(), PI(), POWER(), RADIANS(), RAND(), ROUND(), ROUNDDOWN(), ROUNDUP(), ROWS(), SIN(), SPLIT(), SQRT(), SUM(), SUMIF(), SUMIFS(), SUMPRODUCT(), SUMSQ(), SWITCH(), TAN(), TEXT(), TRANSPOSE(), TRUE(), TRUNC(), VLOOKUP(), XOR(), YEAR();
3036
- Support for volatile functions;
3137
- Cultures supports - can be configured according to the application need;
3238
- Custom functions support;
@@ -40,4 +46,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4046
- Cyclic dependency: #CYCLE!,
4147
- Wrong address reference: #REF;
4248
- Built-in function translations support for 16 languages: English, Czech, Danish, Dutch, Finnish, French, German, Hungarian, Italian, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish, Turkish.
43-

CONTRIBUTING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ is much appreciated in any of the following topics:
1818
Adding a new function will be a huge help for the library growth and
1919
should not be too problematic for the first issue. Extending the
2020
library of translations is also a good task to start with.
21+
[Here](https://docs.google.com/spreadsheets/d/1UUskn4ZDDjLGSpO6kg73DOvabNoeqLbkJYyVfLyYlYw)
22+
you can find a list of functions' translations.
2123

22-
Visit [building](building.md) and [testing](testing.md) sections to
24+
Visit [building]( https://handsontable.com/docs/hyperformula/guide/building.html) and [testing]( https://handsontable.com/docs/hyperformula/guide/testing.html) sections to
2325
get more info about these topics and check the list of commands you
2426
can run in this project. Check the `/i18n`
2527
folder in the project - all translations are kept just right there.
@@ -42,4 +44,4 @@ not `master`.
4244
## Code of conduct
4345

4446
By participating in this project, you are expected to uphold our
45-
[Code of Conduct](code-of-conduct.md).
47+
[Code of Conduct](https://github.com/handsontable/hyperformula/blob/master/CODE_OF_CONDUCT.md).

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
### HyperFormula is an open source, spreadsheet-like calculation engine ⚡
66

7+
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/handsontable/hyperformula/Test)](https://github.com/handsontable/hyperformula/actions?query=workflow%3ATest+branch%3Amaster)
8+
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fhandsontable%2Fhyperformula.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fhandsontable%2Fhyperformula?ref=badge_shield)
9+
[![Known Vulnerabilities](https://snyk.io/test/github/handsontable/hyperformula/badge.svg?targetFile=package.json)](https://snyk.io/test/github/handsontable/hyperformula?targetFile=package.json)
10+
[![GitHub contributors](https://img.shields.io/github/contributors/handsontable/hyperformula)](https://github.com/handsontable/hyperformula/graphs/contributors)
11+
12+
713
## Description
814

915
HyperFormula allows you to perform spreadsheet-like calculations in your
@@ -31,7 +37,7 @@ and [custom functions](https://handsontable.github.io/hyperformula/guide/custom-
3137
- [React](https://handsontable.github.io/hyperformula/guide/integration-with-react.html)
3238
- [Vue.js](https://handsontable.github.io/hyperformula/guide/integration-with-vue.html)
3339
- Angular (coming soon)
34-
- [Installation](https://handsontable.github.io/hyperformula/guide/client-side.html)
40+
- [Installation](https://handsontable.github.io/hyperformula/guide/client-side-installation.html)
3541
- [Basic usage](https://handsontable.github.io/hyperformula/guide/basic-usage.html)
3642
- [API Reference](https://handsontable.github.io/hyperformula/api/)
3743
- [Configuration options](https://handsontable.github.io/hyperformula/guide/configuration-options.html)
@@ -55,7 +61,6 @@ import { HyperFormula } from 'hyperformula';
5561
// define the options
5662
const options = {
5763
licenseKey: 'agpl-v3',
58-
precisionRounding: 10
5964
};
6065

6166
// define the data
@@ -91,8 +96,8 @@ applications. Here are some examples:
9196

9297
## Contributing
9398

94-
Help us to build the fastest and most flexible calculation engine for
95-
business web apps. Please read the [Contributing Guide]() before
99+
Help us build the fastest and most flexible calculation engine for
100+
business web apps. Please read the [Contributing Guide](https://handsontable.github.io/hyperformula/guide/contributing.html) before
96101
making a pull request.
97102

98103
Your help is much appreciated in any of the following topics:
@@ -121,4 +126,4 @@ and support services available.
121126
Created by [Handsontable](https://handsontable.com), [NavAlgo](https://www.navalgo.com/en/),
122127
and [Contributors](https://github.com/handsontable/hyperformula/graphs/contributors).
123128

124-
© 2020 Handsoncode
129+
© 2020 Handsoncode

docs/api-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const options = {
3636
```
3737

3838
#### Event Types
39-
In this section you can find information about all events you can subscribe to.
39+
In this section, you can find information about all events you can subscribe to.
4040

4141
For example, subscribing to `sheetAdded` event:
4242

docs/guide/advanced-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ console.log(winningTeam)
116116
## Demo
117117

118118
<iframe
119-
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/0.1.0/advanced-usage?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
119+
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/0.1.x/advanced-usage?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
120120
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
121121
title="handsontable/hyperformula-demos: advanced-usage"
122122
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/guide/basic-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ This demo presents several basic operations integrated with a
363363
sample UI.
364364

365365
<iframe
366-
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/0.1.0/basic-operations?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
366+
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/0.1.x/basic-operations?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
367367
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
368368
title="handsontable/hyperformula-demos: basic-operations"
369369
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/guide/basic-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ works. It's time to move on to a more
6666
## Demo
6767

6868
<iframe
69-
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/0.1.0/basic-usage?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
69+
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/0.1.x/basic-usage?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
7070
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
7171
title="handsontable/hyperformula-demos: basic-usage"
7272
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/guide/batch-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ might be sent as a single one.
124124
## Demo
125125

126126
<iframe
127-
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/0.1.0/batch-operations?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
127+
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/0.1.x/batch-operations?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
128128
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
129129
title="handsontable/hyperformula-demos: batch-operations"
130130
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"

docs/guide/built-in-functions.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ lets you design your own [custom functions](custom-functions).
4747
## Demo
4848

4949
<iframe
50-
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/0.1.0/built-in-functions?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
50+
src="https://codesandbox.io/embed/github/handsontable/hyperformula-demos/tree/0.1.x/built-in-functions?autoresize=1&fontsize=11&hidenavigation=1&theme=light&view=preview"
5151
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
5252
title="handsontable/hyperformula-demos: built-in-functions"
5353
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
@@ -74,6 +74,7 @@ lets you design your own [custom functions](custom-functions).
7474
| BITOR | Engineering | Returns a bitwise logical "or" of the parameters. | BITOR(Number1; Number2) |
7575
| BITRSHIFT | Engineering | Shifts a number right by n bits. | BITRSHIFT(Number; Shift) |
7676
| BITXOR | Engineering | Returns a bitwise logical "exclusive or" of the parameters. | BITXOR(Number1; Number2) |
77+
| CHOOSE | Lookup and reference | Uses an index to return a value from a list of up to 30 values.| CHOOSE(Index; Value1; ...; Value30) |
7778
| DEC2BIN | Engineering | Returns the binary number for the decimal number entered between –512 and 511. | DEC2BIN(Number; Places) |
7879
| DEC2HEX | Engineering | Returns the hexadecimal number for the decimal number entered. | DEC2HEX(Number; Places) |
7980
| DEC2OCT | Engineering | Returns the octal number for the decimal number entered. | DEC2OCT(Number; Places) |
@@ -83,19 +84,27 @@ lets you design your own [custom functions](custom-functions).
8384
| ISBLANK | Information | Returns TRUE if the reference to a cell is blank. | ISBLANK(Value) |
8485
| ISERROR | Information | The ISERROR tests if the cells contain general error values. | ISERROR(Value) |
8586
| ISEVEN | Information | Returns TRUE if the value is an even integer, or FALSE if the value is odd. | ISEVEN(Value) |
87+
| ISLOGICAL | Information | Tests for a logical value (TRUE or FALSE). | ISLOGICAL(Value) |
88+
| ISNONTEXT | Information | Tests if the cell contents are text or numbers, and returns FALSE if the contents are text. | ISNONTEXT(Value) |
89+
| ISNUMBER | Information | Returns TRUE if the value refers to a number. | ISNUMBER(Value) |
8690
| ISODD | Information | Returns TRUE if the value is odd, or FALSE if the number is even. | ISODD(Value) |
91+
| ISTEXT | Information | Returns TRUE if the cell contents refer to text.| ISTEXT(Value) |
8792
| AND | Logical | Returns TRUE if all arguments are TRUE. | AND(Logicalvalue1; Logicalvalue2 ...Logicalvalue30) |
8893
| FALSE | Logical | Returns the logical value FALSE. | FALSE() |
8994
| IF | Logical | Specifies a logical test to be performed. | IF(Test; Then value; Otherwisevalue) |
95+
| IFNA | Logical | Returns the value if the cell does not contains the #N/A (value not available) error value, or the alternative value if it does. | IFNA(Value; Alternate_value) |
96+
| IFERROR | Logical | Returns the value if the cell does not contains an error value, or the alternative value if it does. | IFERROR(Value; Alternate_value) |
9097
| NOT | Logical | Complements (inverts) a logical value. | NOT(Logicalvalue) |
98+
| SWITCH | Logical | Evaluates a list of arguments, consisting of an expression followed by a value. | SWITCH(Expression1, Value1[, Expression2, Value2[..., Expression_n, Value_n]]) |
9199
| OR | Logical | Returns TRUE if at least one argument is TRUE. | OR(Logicalvalue1; Logicalvalue2 ...Logicalvalue30) |
92100
| TRUE | Logical | The logical value is set to TRUE. | TRUE() |
93101
| XOR | Logical | Returns true if an odd number of arguments evaluates to TRUE. | XOR(Logicalvalue1; Logicalvalue2 ...Logicalvalue30) |
94102
| COLUMNS | Lookup and reference | Returns the number of columns in the given reference. | COLUMNS(Array) |
103+
| OFFSET | Lookup and reference | Returns the value of a cell offset by a certain number of rows and columns from a given reference point. | OFFSET(Reference; Rows; Columns; Height; Width) |
95104
| ROWS | Lookup and reference | Returns the number of rows in the given reference. | ROWS(Array) |
96105
| INDEX | Lookup and reference | Returns the content of a cell, specified by row and column number, or an optional range name. | INDEX(Reference; Row; Column; Range) |
97106
| MATCH | Lookup and reference | Returns the relative position of an item in an array that matches a specified value. | MATCH(Searchcriterion; Lookuparray; Type) |
98-
| TRANSPOSE | Lookup and reference | Transposes the rows and columns of an array. | TRANSPOSE(Array) |
107+
| TRANSPOSE | Matrix functions | Transposes the rows and columns of an array. | TRANSPOSE(Array) |
99108
| VLOOKUP | Lookup and reference | Searches vertically with reference to adjacent cells to the right. | VLOOKUP(Search_Criterion; Array; Index; Sort_Order) |
100109
| ABS | Math and trigonometry | Returns the absolute value of a number. | ABS(Number) |
101110
| ACOS | Math and trigonometry | Returns the inverse trigonometric cosine of a number. | ACOS(Number) |
@@ -106,14 +115,19 @@ lets you design your own [custom functions](custom-functions).
106115
| CEILING | Math and trigonometry | Rounds a number up to the nearest multiple of Significance. | CEILING(Number; Significance; Mode) |
107116
| COS | Math and trigonometry | Returns the cosine of the given angle (in radians). | COS(Number) |
108117
| COT | Math and trigonometry | Returns the cotangent of the given angle (in radians). | COT(Number) |
118+
| COUNTUNIQUE | Math and trigonometry | Counts the number of unique values in a list of specified values and ranges. | COUNTUNIQUE(Value1, [Value2, ...]) |
109119
| DECIMAL | Math and trigonometry | Converts text with characters from a number system to a positive integer in the base radix given. | DECIMAL("Text"; Radix) |
110120
| DEGREES | Math and trigonometry | Converts radians into degrees. | DEGREES(Number) |
121+
| E | Math and trigonometry | Returns 2.718281828459..., the value of the mathematical constant E to as many decimal places as set in configuration | E() |
111122
| EVEN | Math and trigonometry | Rounds a positive number up to the next even integer and a negative number down to the next even integer. | EVEN(Number) |
112123
| EXP | Math and trigonometry | Returns e raised to the power of a number. | EXP(Number) |
113124
| INT | Math and trigonometry | Rounds a number down to the nearest integer. | INT(Number) |
114125
| LN | Math and trigonometry | Returns the natural logarithm based on the constant e of a number. | LN(Number) |
115126
| LOG | Math and trigonometry | Returns the logarithm of a number to the specified base. | LOG(Number; Base) |
116127
| LOG10 | Math and trigonometry | Returns the base-10 logarithm of a number. | LOG10(Number) |
128+
| MMULT | Matrix functions | Calculates the array product of two arrays. | MMULT(Array; Array) |
129+
| MEDIANPOOL | Matrix functions | Calculates a smaller range which is a median of a Window_size, in a given Range, for every Stride element. | MEDIANPOOL(Range, Window_size, Stride) |
130+
| MAXPOOL | Matrix functions | Calculates a smaller range which is a maximum of a Window_size, in a given Range, for every Stride element. | MAXPOOL(Range, Window_size, Stride) |
117131
| MOD | Math and trigonometry | Returns the remainder when one integer is divided by another. | MOD(Dividend; Divisor) |
118132
| ODD | Math and trigonometry | Rounds a positive number up to the nearest odd integer and a negative number down to the nearest odd integer. | ODD(Number) |
119133
| PI | Math and trigonometry | Returns 3.14159265358979, the value of the mathematical constant PI to 14 decimal places. | PI() |
@@ -149,4 +163,5 @@ lets you design your own [custom functions](custom-functions).
149163
| CHAR | Text | Converts a number into a character according to the current code table. | CHAR(Number) |
150164
| CODE | Text | Returns a numeric code for the first character in a text string. | CODE("Text") |
151165
| CONCATENATE | Text | Combines several text strings into one string. | CONCATENATE("Text1"; ...; "Text30") |
166+
| SPLIT | Text | Divides text around a specified character or string, and puts each fragment into a separate cell in the row. | SPLIT(Text, Delimiter, [Split_by_each], [Remove_empty_text]) |
152167
| TEXT | Text | Converts a number into text according to a given format. | TEXT(Number; Format) |

0 commit comments

Comments
 (0)