4118 Commits

Author SHA1 Message Date
Jos de Jong
517cd7d15a
Merge pull request #1114 from ericman314/matrix-inverse-debugging
Add pivoting to matrix inverse algorithm, and tests
2018-05-29 20:41:49 +02:00
Eric Mansfield
ad390e8903 Add pivoting to matrix inverse algorithm, and tests 2018-05-28 14:58:55 -06:00
jos
7e14bcbe02 Released v4.4.0 v4.4.0 2018-05-28 20:30:26 +02:00
jos
032d67e650 Merge remote-tracking branch 'origin/develop' into develop 2018-05-27 14:13:31 +02:00
jos
d08223e7a5 Implemented functions equalText. See #1085. 2018-05-27 14:13:17 +02:00
Jos de Jong
261f4be90b
Merge pull request #1111 from josdejong/browserstack2
Adds testing on BrowserStack
2018-05-27 11:55:33 +02:00
Harry Sarson
23cfaccd22
stop running browserstack tests for pull requests
Travis refuses to expose sensitive enviroment variables to pull requests.
Therefore, the browserstack script currently fails when run from a pull request.
This commit makes travis skip the browserstack script if running in this case.

See: https://docs.travis-ci.com/user/pull-requests/#Pull-Requests-and-Security-Restrictions
2018-05-27 10:00:50 +01:00
Harry Sarson
60d0f264ca
remove duplicate file 2018-05-26 23:40:54 +01:00
jos
94accc1889 Implemented function compareText, see #1085 2018-05-26 18:41:31 +02:00
Harry Sarson
d45eca5418
run tests on browserstack
credentials must be set using travis's per repository settings.
currently only chrome and firefox are tested, we should add tesing on ms edge and IE.

Follows on from work in #1105
2018-05-24 14:09:47 +01:00
Harry Sarson
aa94b94e23
rejig browser test configuration renaming karma to test:browser
Move karma config files to browser-tests and split out some
of the config file to make adding browserstack easier.

`npm run test:browser` is more descriptive than `npm run karma`, does not
tie mathjs into using karma and will allow a new npm script to run tests
on browserstack also using karma.
2018-05-24 13:53:01 +01:00
Jos de Jong
ed2e7b5152
Merge pull request #1107 from josdejong/object-assign
Ponyfill Object.assign
2018-05-21 20:16:24 +02:00
Harry Sarson
1aa8266207
replace Object.assign with mathjs util map function.
`Object.assign` is not supported in IE 11 and is used here to perform
a shallow clone on objects. The `map` function from `utils/object.js`
can be used instead for this cloning.
2018-05-21 17:06:25 +01:00
jos
33dbe23bb7 Released v4.3.0 v4.3.0 2018-05-21 11:57:11 +02:00
jos
48579f5df0 Merge remote-tracking branch 'origin/develop' into develop 2018-05-21 11:51:16 +02:00
jos
9b5596f5a1 Fixed #1101: math.js bundle not working when loading in a WebWorker 2018-05-21 11:51:01 +02:00
Jos de Jong
e9abed3dea
Merge pull request #1099 from josdejong/karma
Introduce browser tests using karma.
2018-05-10 19:49:23 +02:00
Jos de Jong
ec463c4705
Merge branch 'develop' into karma 2018-05-10 19:42:55 +02:00
Jos de Jong
553531b57c
Merge pull request #1093 from harrysarson/sep-tests
Separate tests that depend on node
2018-05-10 19:40:12 +02:00
Harry Sarson
4e56faaa17
remove duplicate 'test' from mocha args
f620fae added to mocha's command line arguments to include the 
node-test directory. However, it also added a duplicate argument for
the test directory. This commit removes the duplicate test
2018-05-09 16:01:34 +01:00
Harry Sarson
f620fae4a7
run all tests with npm test
node tests were moved out of the test directory in 91bb2f5c which
meant mocha no longer ran then during `npm test`. Therefore, the
command line arguments to mocha have been updated to ensure that
all tests now run.
2018-05-07 22:06:01 +01:00
jos
0abdfbe590 Upgraded dependencies for complex.js and fraction.js (see #1100) 2018-05-07 21:16:07 +02:00
Harry Sarson
b037eb2244
Fix version of dev dependancies in package.json 2018-05-06 16:18:26 +01:00
jos
30ae447eb6 Updated history 2018-05-05 21:21:08 +02:00
jos
7c4920a9a3 Merge branch 'develop' into v5 2018-05-05 21:20:50 +02:00
Jos de Jong
b5c3ff2bdf
Merge pull request #1097 from jackschmidt/ctranspose
Add complex transpose. A' now takes conjugate.
2018-05-05 21:17:46 +02:00
jos
29aebc51b4 Updated history 2018-05-05 21:16:29 +02:00
Jos de Jong
7332993df7
Merge pull request #976 from ericman314/expm
Matrix exponential
2018-05-05 21:13:12 +02:00
Jack Schmidt
088ac99f65 ctranspose: Simplify method selection 2018-05-05 11:33:26 -04:00
Eric Mansfield
e46934541b Adjust return code in expm.js 2018-05-05 08:10:51 -06:00
jos
b2ae71b50c Released v4.2.2 v4.2.2 2018-05-05 10:56:05 +02:00
jos
ee93d3119c Fixed #1076: cannot use mathjs in React VR by updating to escape-latex@1.0.3 2018-05-05 10:53:44 +02:00
jos
032087ee9d Updated history 2018-05-05 10:05:26 +02:00
Jos de Jong
edfdc7f251
Merge pull request #1098 from jackschmidt/frob-bugfix
Bugix for Frobenius norm of complex matrices.
2018-05-05 10:02:18 +02:00
jos
835aab10b5 Merge branch 'develop' into v5
# Conflicts:
#	lib/expression/embeddedDocs/function/arithmetic/sqrt.js
2018-05-05 09:53:51 +02:00
Eric Mansfield
7d66e34bad Added support for SparseMatrix 2018-05-02 20:51:43 -06:00
Harry Sarson
872bbf1df0
remove chrome and ie launchers.
These are currently not used, can (and should) be added later when
we get CI running on these browsers.
2018-05-02 22:48:20 +01:00
Harry Sarson
7ae4f4401f
update karma config for webpack 4. 2018-05-02 22:37:09 +01:00
Harry Sarson
80c63232d6
updates package-lock 2018-05-02 21:31:52 +01:00
Harry Sarson
91bb2f5c8e
move tests that require node from test/node to node-test
Is a pain to include all sub dirs in test apart from node
2018-05-02 18:09:13 +01:00
Harry Sarson
2b56dea4a5
change error checking regexp to allow firefox's exception
Fix tests when running in firefox browser.
2018-05-02 18:07:03 +01:00
Harry Sarson
ee145675a7
allow longer before disconecting due to time outs 2018-05-02 18:07:02 +01:00
Harry Sarson
d93c8f6bdf
try running only firefox on travis 2018-05-02 18:07:02 +01:00
Harry Sarson
584f4e8bfe
create seperate stage for browser tests 2018-05-02 18:07:02 +01:00
Harry Sarson
18b9979dad
get travis to run karma 2018-05-02 18:07:01 +01:00
Harry Sarson
379d5d0adf
use karma to run tests in chrome and firefox 2018-05-02 18:06:30 +01:00
Harry Sarson
c5a3ab2a6c
move tests that require node from test/node to node-test
Is a pain to include all sub dirs in test apart from node
2018-05-02 18:03:33 +01:00
Harry Sarson
b6151bdd15
remove now unused require for matrixmarket
The code that depended on matrixmarket has been removed in c23761be but
I forgot to remove the `require()` in that commit.
2018-05-02 18:03:33 +01:00
Harry Sarson
2f678aafc0
use math.create() to prevent tests changing global state.
Tests should not import functions into global math namespace.
2018-05-02 18:03:32 +01:00
Harry Sarson
f97981452f
separate tests that depend on node
Ddds new directory 'test/node' for tests which require node.
In practice these tests are the ones that depend on matrixmarket.
2018-05-02 18:03:32 +01:00