1736 Commits

Author SHA1 Message Date
jos
967e65cceb Refactored usage of properties .isNode, .isSymbolNode, etc. into using functions like type.isNode(x) for security 2017-08-12 14:38:03 +02:00
jos
949261f92b Refactored usage of properties .isRange, .isIndex, .isResultSet, and .isHelp for their (safe) function equivalents 2017-08-12 13:31:09 +02:00
jos
fa01e993af Refactored x && x.isMatrix === true into type.isMatrix(x), same with isDenseMatrix and isSparseMatrix 2017-08-12 13:24:39 +02:00
jos
9e0cc3fb61 Refactored x && x.isUnit === true into type.isUnit(x) 2017-08-12 12:07:03 +02:00
jos
6d418b9b61 Refactored x && x.isFraction === true into type.isFraction(x) 2017-08-12 12:05:11 +02:00
jos
e10dd5bce5 Refactored x && x.isBigNumber === true into type.isBigNumber(x) 2017-08-12 11:54:53 +02:00
jos
26e70a4acd Refactored x.isComplex === true into type.isComplex(x) 2017-08-12 11:32:40 +02:00
jos
12918725f1 Merge branch 'develop' into moreStrictTypeChecks 2017-08-12 11:15:11 +02:00
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 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
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
5092e982f9 Merge branch 'develop' into moreStrictTypeChecks 2017-08-06 14:13:11 +02:00
jos
6ffef7f0a3 Released 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
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
jos
3e9f0d24f8 Implemented more strict type checks in typed-functions 2017-08-04 11:15:46 +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
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
62f7abfe09 Released 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
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
Thomas Brierley
bdb9710dcd Remove ghosting condition from isSafeProperty 2017-07-14 13:09:51 +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 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
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
8bf16778f0 Released v3.14.1 2017-06-30 15:12:16 +02:00
jos
e1e24d65b4 Released v3.14.0 2017-06-30 14:34:15 +02:00
jos
485cb88866 Use getSafeProperty in help 2017-06-30 14:27:28 +02:00
jos
142e200992 Added docs for set functions to the expression parser 2017-06-30 12:04:47 +02:00
jos
9572413f44 Merge remote-tracking branch 'origin/develop' into develop 2017-06-30 11:46:28 +02:00
Jos de Jong
000b748108 Merge pull request #889 from HarrySarson/single-quotes
Syntax error includes hint if single quotes are used for a string
2017-06-30 11:38:47 +02:00
jos
5b49cf8b0a Fixed broken gulp script 2017-06-30 11:36:21 +02:00
jos
6bbff5f54f Improved natural sorting for numeric types, matrix types, and objects 2017-06-30 11:16:42 +02:00
jos
96674094d6 Compare numeric types first by value, then by type 2017-06-30 10:02:26 +02:00
Harry Sarson
43ae05bbc5 remove " from end of error message 2017-06-29 23:55:44 +01:00
Harry Sarson
291b96d83e Syntax error includes hint if single quotes are used for a string 2017-06-29 23:49:16 +01:00
Thomas Brierley
cc8b7a2f6d Remove redundant conditions and comments 2017-06-29 15:07:38 +01:00
Thomas Brierley
7951ae221e Use isSafeProperty in set/getSafeProperty 2017-06-29 15:00:40 +01:00