summary refs log tree commit diff stats
path: root/tests/js
Commit message (Collapse)AuthorAgeFilesLines
* fixes #6753Andreas Rumpf2017-11-221-1/+14
|
* added a version of macros.expectLen that takes min/max valuesAraq2017-11-211-0/+0
|
* fixes #6532 array bounds check for non zero based arrays on the js backend ↵skilchen2017-11-061-0/+44
| | | | (#6550)
* make tests green againAndreas Rumpf2017-09-301-8/+8
|
* Restore the old behavior of parsing "quote do:"Zahary Karadjov2017-08-191-2/+2
| | | | close #5845
* fixes #5986 js backend failed to compile try ... except new syntax (#6116)andri lim2017-07-171-0/+13
|
* fixes a JS codegen regressionAndreas Rumpf2017-07-101-0/+18
|
* fixes #5608Andreas Rumpf2017-07-091-0/+43
|
* fixes #6035Araq2017-06-301-1/+19
|
* fixes #5517Andreas Rumpf2017-06-301-0/+15
|
* closes #5379Andreas Rumpf2017-06-291-1/+9
|
* fixes #5974Andreas Rumpf2017-06-291-1/+12
|
* fixes #4703Andreas Rumpf2017-06-291-0/+24
|
* make JS tests green on OSX on my local machine; XXX needs further investigationsAndreas Rumpf2017-06-261-1/+4
|
* fixes #5933Andreas Rumpf2017-06-031-0/+51
|
* review and merge zahary's work (#5849)zah2017-06-031-0/+10
| | | | | | | | | * proper indentation for the generated JS code * improved dead-code elimination for JavaScript * test the JS dead-code elimination A new test spec has been added - "maxcodesize". It specifies the maximum size of the generated code in bytes.
* allow StmtLists to pass through semExprWithTypeZahary Karadjov2017-04-111-1/+7
| | | | | | This fix was necessary in order to fix the lambda lifting used in the "jsffi" module, which relies on turning nkStmtList into nkLambda in a catch-all dot operator.
* lift parameter-less do block to lambdasZahary Karadjov2017-04-101-3/+5
|
* improve the usability of the jsffi moduleZahary Karadjov2017-04-091-4/+48
| | | | | | * All JavaScript operators are usable with JsObject * The dot operators will use native JavaScript strings * Results returned from dot calls are consired discardable
* Implementing `repr` for JS (#5578)Silvio2017-03-311-0/+422
|
* 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
|/