2900 Commits

Author SHA1 Message Date
jos
a18f2068f3 Fixed toString of a parsed expression tree containing an immediately invoked function assignment not being wrapped in parenthesis 2017-08-12 11:03:19 +02:00
jos
54230e8dc9 Fixed #916 handle dynamic function calls in simplify 2017-08-12 10:39:51 +02:00
jos
797d226f7b Merge branch 'master' into develop 2017-08-12 10:09:24 +02:00
jos
a627785f6c Updated history 2017-08-12 10:04:37 +02:00
Jos de Jong
a65420c0a5 Merge pull request #902 from AlexanderBeyn/simplify-units-in-toNumeric
Simplify units before returning numeric value
2017-08-12 10:01:17 +02:00
Alexander Beyn
27ad919287 Use a different unit, since length squared may have been affected by other tests. 2017-08-10 02:57:35 -07:00
firepick1 (localhost)
dccec26cb1 #916 simplifyCore loses custom functions 2017-08-08 20:48:24 -07:00
jos
8c2f10a865 Fixed #915: No access to property "name" 2017-08-07 20:09:12 +02:00
jos
6ffef7f0a3 Released v3.16.0 v3.16.0 2017-08-06 13:46:55 +02:00
jos
05e80095dc Fixed #912: math.js didn't work on IE10 anymore 2017-08-06 12:59:40 +02:00
jos
4fc0c4bb7b Updated docs of simplify, extended algebra examples 2017-08-06 12:56:20 +02:00
jos
fd87f836f3 Updated history 2017-08-06 12:06:38 +02:00
jos
8cb017dd0d Merge branch 'simplify2' into develop 2017-08-06 12:03:53 +02:00
jos
1f2d4f3296 Replaced another occurrence of ES6 backtick 2017-08-06 12:00:51 +02:00
jos
3bb5412466 Replace ES6 backtick 2017-08-06 11:58:22 +02:00
jos
601f1942c2 Replace ES6 functionality with ES5 2017-08-06 11:54:59 +02:00
Alexander Beyn
bcf781907a Simplify units on "other", since it may have been replaced. 2017-08-03 01:55:54 -07:00
firepick1 (localhost)
53e64ee18d resolve scope Node values 2017-08-02 13:39:55 -07:00
jos
e7766e4468 Replaced examples resulting in round-off errors to prevent confusion (see #910) 2017-08-02 20:02:51 +02:00
firepick1 (localhost)
709f1bc075 #907 simplify.resolve 2017-08-02 07:30:00 -07:00
firepick1 (localhost)
bd870d3545 simplifyCore() performance improvement 2017-08-01 11:45:06 -07:00
jos
e05cd0b785 Print expression in benchmark 2017-07-31 20:47:53 +02:00
jos
62f7abfe09 Released v3.15.0 v3.15.0 2017-07-29 14:11:11 +02:00
jos
9666c16378 Fixed #846: Issues in the functions map, forEach, and filter when used in the expression parser 2017-07-29 14:05:27 +02:00
jos
60e739edf2 Updated history 2017-07-29 10:59:28 +02:00
jos
eb5ec9cc26 Added some more unit tests 2017-07-29 10:52:43 +02:00
Jos de Jong
b221946f2a Merge pull request #905 from MightyVincent/patch-1
Fixed the regex for the '-' symbol in an negative imaginary number
2017-07-28 19:59:22 +02:00
Vincent Lee
57b8199ef9 Update Complex.js 2017-07-28 08:48:29 +08:00
Vincent Lee
77768a195a Fixed the regex for imaginary number
I think you are trying to match the '-' symbol in the imaginary number of complex number, but using /[\b-.]/ as regex instead of /[-]/, right?
2017-07-27 00:06:24 +08:00
Alexander Beyn
8af981ff03 Simplify units before returning numeric value 2017-07-23 14:02:33 -07:00
Jos de Jong
27d4111547 Merge pull request #900 from ThomasBrierley/prototyped-scopes
Remove ghosting from isSafeProperty
2017-07-14 21:18:01 +02:00
Thomas Brierley
743854e1d4 Remove property ghosting tests (no longer restricted) 2017-07-14 13:10:46 +01:00
Thomas Brierley
e1749d2a0e Revert expression security test to original error 2017-07-14 13:10:18 +01:00
Thomas Brierley
bdb9710dcd Remove ghosting condition from isSafeProperty 2017-07-14 13:09:51 +01:00
Jos de Jong
b70ba60850 Merge pull request #899 from ThomasBrierley/prototyped-scopes
Update isSafeProperty ghosting
2017-07-13 21:29:28 +02:00
Thomas Brierley
ac002370bd Add test for ghosting custom properties 2017-07-12 16:36:06 +01:00
Thomas Brierley
fe0b993e72 Fix security test, fails on length first 2017-07-12 16:33:31 +01:00
Thomas Brierley
425e927a5f Change isSafeProperty stop ghosting natives only 2017-07-12 16:31:06 +01:00
jos
469e6bf3cf Fixed #895: added support for the dollar character $ in symbol names 2017-07-10 20:29:30 +02:00
Jos de Jong
69f3e882d7 Merge pull request #888 from ThomasBrierley/prototyped-scopes
Prototyped Scopes
2017-07-05 22:01:29 +02:00
jos
c8c4bd9b90 Released v3.14.2 v3.14.2 2017-07-05 21:45:42 +02:00
jos
b8b76cd5b7 Fixed #891: using BigNumbers not working in browser environments 2017-07-05 21:42:37 +02:00
Thomas Brierley
1dd67cd591 Fix undefined isSafeProperty test + comment 2017-07-04 20:03:06 +01:00
Thomas Brierley
7d6c583629 Add isSafeProperty unit tests 2017-07-04 19:43:05 +01:00
Thomas Brierley
e8ace81449 Use 'in' on root prototype checks
Because on NodeJS <= v0.10 hasOwnProperty returns false for __proto__ on
Object.prototype. Function.prototype and Object.prototype are roots so
it should be safe to use 'in' instead.
2017-07-04 19:43:01 +01:00
jos
94b813e168 Revert to webpack 2.6 for now (need to drop support for node 0.10) 2017-07-02 14:24:44 +02:00
jos
dedd2a1ed8 Upgraded to webpack 3 2017-07-02 14:04:40 +02:00
jos
4110d69463 Upgraded to fraction.js@4.0.2 2017-06-30 16:45:18 +02:00
jos
8bf16778f0 Released v3.14.1 v3.14.1 2017-06-30 15:12:16 +02:00
jos
7706d41377 Reverted to fraction.js@4.0.0, there is an issue with 4.0.1 2017-06-30 15:05:24 +02:00