summary refs log tree commit diff stats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* fixes #3339 by documenting the limitations of case-statement (#13366)Miran2020-02-081-0/+29
|
* fix #13150 `nim doc --project` now works reliably (#13223)Timothee Cour2020-02-061-0/+7
| | | | | | | | | | * fix #13150 `nim doc --project` works with duplicate names and with imports below main project file * add to help; fixup after #13212 isRelativeTo got merged * fix test tests/compilerapi/tcompilerapi.nim * remove nimblePkg field; compute on the fly instead * kochdocs: compiler docs now under compiler/ * --docRoot now has smart default: best among @pkg, @path
* contributing.rst: Add a special rule for 'outplace'-like featuresAraq2020-02-051-2/+15
|
* contributing docs: symbols need package prefix; changed allocStats to ↵Timothee Cour2020-01-251-0/+14
| | | | nimAllocStats (#13247)
* Updated 'nim for embedded systems' section to use --os:any and --gc:arc (#13237)Ico Doornekamp2020-01-231-15/+33
| | | | | | * Updated 'nim for embedded systems' section to use --os:any and --gc:arc * Added section about size optimization to embedded systems
* VM: allow overriding MaxLoopIterations without rebuilding nim (#13233)Timothee Cour2020-01-231-0/+1
|
* [backport] Documentation Fix #12251 (#13226) [ci skip]Juan Carlos2020-01-221-0/+8
|
* followup on #10435 : should be diff, not show (#13162)Timothee Cour2020-01-171-1/+1
|
* make sink operator optional (#13068)cooldome2020-01-171-2/+6
| | | | | | | | | | | | | | | | * make sink operator optional * bug fix, add changelog entry * Trigger build * fix one regression * fix test * Trigger build * fix typos
* Fix typo in doc/destructors.rst (#13148)Tomohiro2020-01-141-1/+1
|
* fixes #10665 (#13141) [backport]Andreas Rumpf2020-01-142-23/+28
|
* [easy] --hint:link:on now shows link cmd instead of nothing (#13056)Timothee Cour2020-01-071-1/+2
| | | | | | * --hint:link:on now shows link cmd instead of nothing * update doc for --listCmd
* Fix typo (#13015) [backport]Siegfried Ehret2020-01-031-1/+1
|
* --exception:goto switch for deterministic exception handling (#12977)Andreas Rumpf2020-01-011-1/+2
| | | | | This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior. Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented.
* [ci skip] docfix .. < => ..< (#12981) [backport]Timothee Cour2019-12-291-1/+1
|
* added guidelines for evolving Nim's stdlibAraq2019-12-241-0/+62
|
* docs: tiny style improvementsAraq2019-12-242-2/+3
|
* update documentation for `closureScope` and `capture` (#12886)Judd2019-12-211-1/+2
|
* ARC: cycle detector (#12823)Andreas Rumpf2019-12-172-6/+30
| | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish
* Add `--git.devel` option to the documentationBinHong Lee2019-12-151-0/+4
|
* feature dracula themed doc (#12816)Andreas Rumpf2019-12-101-214/+800
| | | | | | | | | | * Implement gorgeous Dracula themed Nim documentation * Add color for escape sequences * fixes the test cases * the big CSS cleanup
* Manual update: custom exceptions (#12847) [backport]Mark2019-12-081-0/+17
| | | Said that you can have custom exceptions and showed how to create and raise them.
* Removing the mention of using `discard` for block comments (#12837) [backport]Elliot Waite2019-12-081-3/+0
| | | | | | * Remove mention of using `discard` for block comments * Add a 32x32 alternate favicon
* deviated -> derived (#12846) [backport]Mark2019-12-081-3/+3
|
* deviated -> derived (#12845) [backport]Mark2019-12-081-1/+1
|
* [backport] Fix spelling typos (#12755)Brian Wignall2019-11-283-9/+9
|
* fix typo in the manual (#12723)tauplus2019-11-251-1/+1
|
* Fix wrong section hierarchy in the manual (#12724) [backport]tauplus2019-11-251-9/+9
|
* implemented a new localPassc pragma (#12706)Andreas Rumpf2019-11-221-4/+17
|
* added the --asm command line option for inspection of the produced assember ↵Andreas Rumpf2019-11-211-0/+1
| | | | code (#12699)
* conversions to unsigned numbers are not checked anymore; implements /… ↵Andreas Rumpf2019-11-201-0/+14
| | | | | | | | (#12688) [backport] * conversions to unsigned numbers are not checked anymore; implements / fixes https://github.com/nim-lang/RFCs/issues/175 * change the spec yet again to be less consistent but to make more sense; updated the changelog
* Discussion both in (#12678)c-blake2019-11-201-0/+1
| | | | | | | | | | | https://github.com/nim-lang/Nim/pull/12600 and in https://forum.nim-lang.org/t/5499 indicates that everyone is happy/happier with ``pop``. This just renames the brand new ``take``s to ``pop`` and installs inline aliases/wrappers to preserve ``Table.take`` and ``TableRef.take``. Update apis.rst to try to maintain consistency of remove-and-return procs.
* fixes and changes the recently introduced 'alignas' to be 'align' (#12666)Andreas Rumpf2019-11-151-13/+14
| | | | | | * fixes and changes the recently introduced 'alignas' to be 'align' * more improvements
* implemented alignas pragma (#12643)Arne Döring2019-11-131-0/+32
| | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof.
* add --clearNimblePath; fixes #12601 (#12609)Andy Davidoff2019-11-061-0/+1
|
* [backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip]Tor Arvid Lund2019-11-061-1/+1
| | | Derivative of `b*pow(x, 2)` is `2*b*x`, while old version had `2*a*x`
* [backport] Add links to packaging and distro pages (#12603) [ci skip]Federico Ceratto2019-11-062-0/+4
|
* fix several typos in documentation and comments (#12553)Nindaleth2019-10-301-1/+1
|
* destructors.rst: added a missing 'var' to the motivating exampleAraq2019-10-281-1/+1
|
* [backport] fix broken link to non-existing c2nim manual html, fixes #12537 ↵Anthon van der Neut2019-10-281-1/+1
| | | | [ci skip] (#12544)
* integer literal documentation [ci skip] (#12513)Arne Döring2019-10-281-0/+88
| | | | | | * integer literal documentation [ci skip] * apply feedback [ci skip]
* Remove sentences referring to the graphics module (#12522)Jjp1372019-10-261-2/+1
|
* '#' value parcing is explained (disambiguated) (#12476)Artem V L2019-10-251-1/+2
|
* [backport] Add link to posix_utils.html - related to #10723 (#12509)Federico Ceratto2019-10-241-1/+2
|
* [backport] Clarifies experimental / parallel example on manual.rst (#12472)UNIcodeX2019-10-241-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Clarifies experimental / parallel on manual.rst Details: Calling `useParallel()` in example fails with compiler error Error: 'parallel' section without 'spawn' Adding `spawn` causes error: Error: internal error: (filename: "ccgexprs.nim", line: 1032, column: 17) No stack traceback available To create a stacktrace, rerun compilation with ./koch temp c <file> Therefore a separate proc, `threadedEcho`, is added for the echo'ing of the string, which allows the example to build, however, `sync()` must be added so that the "echo in parallel" strings will actually be shown on the terminal. Otherwise, the program will spawn of the threads and exit before they can return to the main thread. * Fixes and clarifies example for threading in manual.rst Issue: Calling useParallel() in example failed with compiler error `Error: 'parallel' section without 'spawn'` Adding spawn yielded compiler error: ```bash Error: internal error: (filename: "ccgexprs.nim", line: 1032, column: 17) No stack traceback available To create a stacktrace, rerun compilation with ./koch temp c ``` Proposed Solution: - Separate proc, threadedEcho, is added for the echo'ing of the string, which allows the example to build - Added the thread number so that it can demonstrate that sometimes threads which were started sooner, come back after threads which were started later.
* Fix many broken links and prefer relative links within docs (#12463)Miran2019-10-2415-125/+138
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix many broken links Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol. * Prefer relative links for Nim documentation This is more friendly to those browsing the documentation without a network connection. The nim-doc package in Debian allows this, for example. Also, the domain name being used was not consistent. It could have been either nim-lang.org or nim-lang.github.io, and those reading the stable docs could have found themselves suddenly reading the devel docs instead. * koch.rst: remove link to nonexistent section * manual.rst: remove unintended link cast[T](0) is interpreted as a link to id 0 with text T, so escape the opening parentheses to display the intended output. * asyncstreams: replace unintended link with emphasis * Fix word wrapping
| * Fix word wrappingJjp1372019-10-2211-87/+98
| |
| * manual.rst: remove unintended linkJjp1372019-10-221-1/+1
| | | | | | | | | | cast[T](0) is interpreted as a link to id 0 with text T, so escape the opening parentheses to display the intended output.
| * koch.rst: remove link to nonexistent sectionJjp1372019-10-221-1/+1
| |
| * Prefer relative links for Nim documentationJjp1372019-10-224-8/+8
| | | | | | | | | | | | | | | | | | | | | | This is more friendly to those browsing the documentation without a network connection. The nim-doc package in Debian allows this, for example. Also, the domain name being used was not consistent. It could have been either nim-lang.org or nim-lang.github.io, and those reading the stable docs could have found themselves suddenly reading the devel docs instead.
700 committer Kartik K. Agaram <vc@akkartik.com> 2016-04-24 11:54:30 -0700 2864 - replace all address:shared with just address' href='/akkartik/mu/commit/076duplex_list.mu?h=main&id=b0bf5321de2ba32f3b92c2faf6b7b68a06b6b432'>b0bf5321 ^
77d5b5d6 ^
2d1e7d55 ^
e4ecdb0a ^
1ead3562 ^
b0bf5321 ^

e4ecdb0a ^
15f3b222 ^

e4ecdb0a ^
9e869332 ^
502d2ea5 ^
15f3b222 ^
9e869332 ^
e4ecdb0a ^
9e869332 ^
502d2ea5 ^
15f3b222 ^
1ead3562 ^
9e869332 ^
15f3b222 ^
e4ecdb0a ^
1ead3562 ^
9e869332 ^



556fc9a0 ^
ad8161f3 ^





0ab01e6f ^
ad8161f3 ^







0ab01e6f ^

ad8161f3 ^





0ab01e6f ^




556fc9a0 ^
ad8161f3 ^



9e869332 ^
ad8161f3 ^







9e869332 ^

ad8161f3 ^




9e869332 ^


0ab01e6f ^

556fc9a0 ^
ad8161f3 ^


0ab01e6f ^
ad8161f3 ^



0ab01e6f ^
ad8161f3 ^







0ab01e6f ^

ad8161f3 ^





0ab01e6f ^


94c59817 ^
9e869332 ^
ad8161f3 ^



9e869332 ^

e4ecdb0a ^
9e869332 ^

6aae6f46 ^
15f3b222 ^




b0bf5321 ^
6aae6f46 ^
2d1e7d55 ^
b0bf5321 ^
15f3b222 ^


a4f56447 ^

15f3b222 ^

1ead3562 ^
a4f56447 ^

b0bf5321 ^
15f3b222 ^


6aae6f46 ^
a4f56447 ^
cb75d366 ^

ad8161f3 ^







cb75d366 ^
ad8161f3 ^

cb75d366 ^

ad8161f3 ^


cb75d366 ^
ad8161f3 ^





cb75d366 ^

ad8161f3 ^



cb75d366 ^


15f3b222 ^
ad8161f3 ^
cb75d366 ^
ad8161f3 ^






cb75d366 ^
ad8161f3 ^

cb75d366 ^
15f3b222 ^
ad8161f3 ^
15f3b222 ^
ad8161f3 ^




cb75d366 ^
ad8161f3 ^





cb75d366 ^

ad8161f3 ^



cb75d366 ^


93752d9d ^
ad8161f3 ^
15f3b222 ^
ad8161f3 ^



93752d9d ^
ad8161f3 ^

15f3b222 ^
ad8161f3 ^

93752d9d ^
ad8161f3 ^





15f3b222 ^


ad8161f3 ^



15f3b222 ^



ad8161f3 ^
15f3b222 ^
ad8161f3 ^






15f3b222 ^
ad8161f3 ^

15f3b222 ^
ad8161f3 ^

15f3b222 ^
ad8161f3 ^



93752d9d ^

ad8161f3 ^


93752d9d ^


e4ecdb0a ^
b0bf5321 ^
a4f56447 ^
2d1e7d55 ^
1ead3562 ^

b0bf5321 ^
a4f56447 ^
b0bf5321 ^
a4f56447 ^



b0bf5321 ^
15f3b222 ^
5efd2b6b ^

15f3b222 ^
5efd2b6b ^
15f3b222 ^

a4f56447 ^

b0bf5321 ^
cb75d366 ^
2d1e7d55 ^
b0bf5321 ^
15f3b222 ^
1ead3562 ^
15f3b222 ^
cb75d366 ^

b0bf5321 ^
53aad02d ^
2d1e7d55 ^

53aad02d ^
b0bf5321 ^
53aad02d ^



53aad02d ^

a4f56447 ^
b0bf5321 ^
a4f56447 ^
2d1e7d55 ^
a4f56447 ^


2d1e7d55 ^
a4f56447 ^
741ef43e ^
a4f56447 ^









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
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559