summary refs log tree commit diff stats
path: root/lib/system/jssys.nim
Commit message (Collapse)AuthorAgeFilesLines
* Fix fat pointers, object copying, magic double evals on JS (#9411) [backport]rec2018-12-041-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a test for issue #9389 * Fixes #9389. * Make object contructors copy objects properly by checking whether the expressions passed to them don't need to be copied. * Make mArrToSeq implementation actually check if a copy needs to be made. * Avoid unnecessary copy in mChr impl * Assume set constructor elements need no copy * Add a test for issue #9410 * Add a test * fix passing fat pointers (#9410) * Enhance tests * More tests and fixes * Add more (failing) tests [ci skip] * Added equality operator for fat pointers, more tests and fixes * Fix printing uninitialized strings * Fix mInc, mDec double eval, add more tests * Tests * Refactored, fixed multiple evals, revamped the tests, added missing ops * Fix ups * Fix #9643 and #9644 * add pointer normalization
* Fix printing and comparing uninitialized stringsrecloser2018-10-211-0/+3
|
* JS strings have no trailing zero anymore (#8936)LemonBoy2018-09-111-14/+6
|
* fixes merge conflictAndreas Rumpf2018-08-191-1/+1
|\
| * make more tests greenAndreas Rumpf2018-08-131-1/+1
| |
* | WIP: strings/seqs based on destructorsAndreas Rumpf2018-07-171-1/+0
| |
* | more progress on destructor based stringsAndreas Rumpf2018-07-131-3/+1
|/
* JS hotfix for the Internet Explorer up to version 11Araq2018-05-251-1/+14
|
* Remove PHP backend. (#7606)treeform2018-04-181-323/+164
| | | | | | | | | | * remove php * fix * keep nimphpext * remove targetJS enum
* Fix cmpStrings in js mode (#7604)treeform2018-04-151-2/+2
|
* fixes #6753Andreas Rumpf2017-11-221-6/+6
|
* Fixed handling of surrogate pairs (#6332)Yuriy Glukhov2017-09-051-8/+17
|
* fixes #6096Araq2017-07-171-2/+2
|
* fixes #5986 js backend failed to compile try ... except new syntax (#6116)andri lim2017-07-171-1/+1
|
* JS codegen: make 'echo' use console.log unless you define -d:nimOldEchoAndreas Rumpf2017-06-281-1/+1
|
* JS codegen: produce better code for constant setsAndreas Rumpf2017-05-011-1/+1
|
* fixes #5599 (#5610)Andreas Rumpf2017-03-261-0/+4
|
* Store stack trace in exceptionYuriy Glukhov2016-09-041-0/+3
|
* Fixed getCurrentException and getCurrentExceptionMsg. Closes #4635Yuriy Glukhov2016-08-291-9/+23
|
* Reset framePtr on unhabdled exception. Dont reset on getStackTrace.Yuriy Glukhov2016-08-271-3/+1
|
* Uncaught exceptions in JS now always propagate with better stack trace.Yuriy Glukhov2016-08-271-29/+37
|
* prepare Nim codebase for upcoming parser changesAndreas Rumpf2016-07-151-1/+1
|
* Fix toJSStr for control charactersnigredo-tori2016-05-201-1/+5
| | | | | fixes #4190 Add leading zero to encoded character if it is less than 0x10
* PHP codegen improvementsAndreas Rumpf2016-05-131-1/+4
|
* PHP codegen array constructor hack.Hans Raaf2016-05-111-5/+8
| | | | | | | | | | | | | | | | | | | Because of PHP can't have refs for literal function parameters I needed to come up with a hack such that the following code compiles with PHP target. ```nim type Foo = tuple[a: string, b: int] var foo: array [0..2, Foo] foo[0] = ("Test", 1) foo[1] = ("Me", 2) for x in foo: echo x.a echo x.b ```
* JS target improvementsAndreas Rumpf2016-04-291-0/+2
|
* Fix for PHP mnewString()Hans Raaf2016-03-061-3/+1
|
* PHP codegen: use nimAt for PHP 5.3 compatibilityAndreas Rumpf2016-03-041-0/+6
|
* php-codegen fixesAndreas Rumpf2016-02-061-0/+5
|
* PHP codegen can generate PHP classesAndreas Rumpf2016-02-061-5/+5
|
* first version of an PHP codegenAndreas Rumpf2016-02-061-128/+271
|
* Fixed unicode strings in JSYuriy Glukhov2016-01-221-7/+38
|
* Revert "Fixed unicode handling in JS. Fixes #3714."Yuriy Glukhov2016-01-211-26/+7
|
* Merge pull request #3754 from yglukhov/js-unsignedAndreas Rumpf2016-01-211-36/+0
|\ | | | | Unsigned arith corrected for JS
| * Unsigned arith corrected for JSYuriy Glukhov2016-01-211-36/+0
| |
* | Fixed unicode handling in JS. Fixes #3714.Yuriy Glukhov2016-01-181-7/+26
|/
* Fixed copying of nil seq in JSYuriy Glukhov2015-12-161-7/+12
|
* Removed Node, NodeType and Document definitions from jssys.Yuriy Glukhov2015-11-251-74/+20
|
* Fixed ret by var in jsYuriy Glukhov2015-10-151-3/+9
|
* Fixed JS copying.Yuriy Glukhov2015-08-311-9/+5
|
* Untyped pointers godegen changed. addr expression fixed.Yuriy Glukhov2015-08-211-9/+10
|
* Fixed fix of #2917yglukhov2015-06-171-2/+5
|
* Fixes #2917yglukhov2015-06-171-3/+16
|
* Added noUnhandledHandleryglukhov2015-06-151-7/+9
|
* Unhandled exceptions handling brought back.yglukhov2015-06-151-0/+24
|
* Fixed and slightly changed exception handling.yglukhov2015-06-151-25/+4
|
* Fixed copying of aggregates in JS.yglukhov2015-06-111-22/+30
|
* lib/system/g-w - Dropped 'T' from typespdw2015-06-041-33/+36
|
* Fixes #2323. Fixes #2148.Dominik Picheta2015-03-151-7/+11
|
* Fix typosFederico Ceratto2015-02-151-1/+1
|
bebb94010f57793b9c'>^
cac416f4 ^
f75c7021 ^

83c67014 ^
cac416f4 ^
f75c7021 ^
cac416f4 ^
f75c7021 ^
eee09a56 ^

f75c7021 ^
cac416f4 ^



f75c7021 ^
eee09a56 ^
f75c7021 ^

eee09a56 ^
f75c7021 ^







4a943d4e ^


83c67014 ^
4a943d4e ^
83c67014 ^
4a943d4e ^








a6517ed8 ^
4a943d4e ^


83c67014 ^
4a943d4e ^
83c67014 ^
4a943d4e ^








cac416f4 ^
4a943d4e ^

83c67014 ^
4a943d4e ^
83c67014 ^
4a943d4e ^






83c67014 ^



4a943d4e ^


a6061b9f ^
4a943d4e ^

83c67014 ^
4a943d4e ^
83c67014 ^
4a943d4e ^




83c67014 ^



4a943d4e ^


9b16f190 ^
4a943d4e ^


83c67014 ^
4a943d4e ^
83c67014 ^
4a943d4e ^







fb7cd3f1 ^
4a943d4e ^

83c67014 ^
4a943d4e ^
83c67014 ^
4a943d4e ^




f75c7021 ^
4a943d4e ^

83c67014 ^
4a943d4e ^





f75c7021 ^
f75c7021 ^









1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305