summary refs log tree commit diff stats
path: root/tests/js
Commit message (Collapse)AuthorAgeFilesLines
* Tests: JS: Times: Fix text so that it works in timezones other then UTC+4.Konstantin Molchanov2017-03-291-3/+4
| | | | `parse` returns TimeInfo with the local timezone, which may not be the same as the one in the original string. To compare the moments encoded in the original string and returned by `parse`, we normalize them to UTC.
* Tests: Times: JS: Add test for timestamp persistence.Konstantin Molchanov2017-03-271-1/+9
|
* Tests: Times: JS: Local timezone assignment during Time to TimeInfo conversion.Konstantin Molchanov2017-03-271-0/+4
|
* Tests: Times: JS: Fix test.Konstantin Molchanov2017-03-271-1/+1
|
* Tests: Times: JS: Add test for yearday attribute.Konstantin Molchanov2017-03-271-0/+13
|
* Fixes #5062 (#5527); JS: holes in enumsSilvio2017-03-154-0/+53
|
* made nodecl implicit for vars in the js backend. (#5297)Michael Jendrusch2017-01-292-1/+14
|
* Implement RFC #4873 improvements to JavaScript FFI (#5213)Michael Jendrusch2017-01-261-0/+267
|
* fix genderef of jsgen (#5274)shsnow232017-01-241-0/+20
|
* fixes #5234 (#5240)Michael Jendrusch2017-01-201-0/+23
|
* Fixes #5244 (#5245)Yuriy Glukhov2017-01-181-0/+10
|
* Removed mangling of object fields for the js target only. (#5226)Michael Jendrusch2017-01-171-0/+83
| | | | | | | | * removed mangling of object fields for the js target only. * changed default mangling behaviour for the php target as well. * Added test for unorthodox field names (reserved words and operators). Adjusted field accessors and object constructors / new to be ECMAScript first edition compatible, when using fieldnames which are reserved words.
* Updated js console logging to avoid wrapping into arrayAndrea Ferretti2016-10-061-2/+6
|
* Added js console objectAndrea Ferretti2016-09-211-0/+9
|
* JS: Fixed ICE on ptr assignmentYuriy Glukhov2016-09-202-0/+15
|
* Fixed another test to expect new unittest outputFelix Krause2016-08-241-1/+3
|
* fixes #4471Andreas Rumpf2016-07-121-0/+11
|
* moved random procs from math to its own module (breaking change)Andreas Rumpf2016-05-301-1/+1
|
* Fixes #4222Yuriy Glukhov2016-05-261-1/+12
|
* Slightly better test caseDmitry Polienko2016-05-201-1/+3
| | | | Tests identity rather than exact output.
* Fix toJSStr for control charactersnigredo-tori2016-05-201-0/+6
| | | | | fixes #4190 Add leading zero to encoded character if it is less than 0x10
* Added js closures test. Fixes #3132.Yuriy Glukhov2016-04-071-0/+51
|
* Fixed unicode strings in JSYuriy Glukhov2016-01-221-15/+69
|
* fixes #3584Araq2016-01-181-0/+12
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-2/+2
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* Fixed passing byvarYuriy Glukhov2015-08-251-0/+10
|
* Untyped pointers godegen changed. addr expression fixed.Yuriy Glukhov2015-08-211-0/+8
|
* Merge pull request #2903 from yglukhov/js-bracket-addrAndreas Rumpf2015-06-131-0/+22
|\ | | | | Fixed addr of bracket expression. Fixes #2148.
| * Fixed addr of bracket expression. Fixes #2148.yglukhov2015-06-111-0/+22
| |
* | Fixed copying of aggregates in JS.yglukhov2015-06-111-0/+13
|/
* Merge pull request #2824 from yglukhov/js-ct-lambda-liftingAndreas Rumpf2015-06-051-4/+1
|\ | | | | Perform lambda lifting for compile-time stuff when targeting JS.
| * Perform lambda lifting for compile-time stuff when targeting JS. Enable ↵yglukhov2015-05-291-4/+1
| | | | | | | | unittest test.
* | Fixed codegen for DotDot magicyglukhov2015-06-041-1/+4
| |
* | added missing testAraq2015-05-281-0/+35
|/
* Enabled taddr and testobjs testsyglukhov2015-05-272-5/+15
|
* Fixes #2798yglukhov2015-05-261-0/+20
|
* fixes #2581Araq2015-04-221-0/+24
|
* disabled JS testAraq2015-04-181-0/+7
|
* Test JS proc header codegenOleh Prypin2015-04-091-1/+10
|
* Fixes #2323. Fixes #2148.Dominik Picheta2015-03-151-0/+36
|
* Fixes #1959, rounding floats in JSSimon Hafner2015-01-291-0/+7
|
* JS tests cleaned upAraq2014-12-172-5/+6
|
* Fixing extraneous semicolon in jsgen outputjuxiliary2014-12-061-0/+34
| | | | | | | | jsgen was producing javascript objects like this ``` {, name:"foo"} ``` causing syntax errors in javascript interpretors.
* fixes #1489, fixes #1490Araq2014-11-281-0/+32
|
* Tester now appreciates the test target. Modified 'cmd' in specs.Dominik Picheta2014-04-163-3/+0
|
* don't mess with semfold, use vars insteadSimon Hafner2013-09-261-2/+2
|
* moved eqproc to the correct magic positionSimon Hafner2013-09-261-0/+10
| | | | also added mEqCString to evalOps so the test runs
* fixes #376Araq2013-03-241-0/+23
|
* WA for #329, caused by #335Simon Hafner2013-02-151-0/+5
|
* EcmaScript => JS. Fixes #330Simon Hafner2013-02-151-1/+1
| | | | No one calls it EcmaScript anymore.