Commit Graph

1386 Commits

Author SHA1 Message Date
Andreas Rumpf
b228b741a3 added destructors.rst document
(cherry picked from commit d37c4e44d3)
2019-07-02 13:56:55 +02:00
Andreas Rumpf
95df6af527 [other] additions to the manual
(cherry picked from commit 7113c1e931)
2019-07-02 13:56:27 +02:00
Andreas Rumpf
1503970c3b contributing.rst guide: Make the rules reflect the reality.
(cherry picked from commit 765ff4b67b)
2019-07-02 13:54:42 +02:00
Andreas Rumpf
922a4ed195 manual: typo
(cherry picked from commit 17bbce7c8a)
2019-07-02 13:54:42 +02:00
Andreas Rumpf
c39a799aec manual: document how accessors are resolved; fixes #11514
(cherry picked from commit d9604d7d0b)
2019-07-02 13:54:42 +02:00
Simon Krauter
f8087a2815 Spelling fixes in nimc.rst (#11569)
(cherry picked from commit 800bc661b6)
2019-06-27 18:15:53 +02:00
Juan Carlos
6a7b490046 [other] Documentation NimScript (#11548)
* Documentation of NimScript, update and expand, mention the benefits aside of its limitations, add examples, update the list of usable std lib modules

(cherry picked from commit bb9b60604b)
2019-06-27 18:15:46 +02:00
Araq
c57485e67b add HCR document to the tools.rst list
(cherry picked from commit c99ce5051e)
2019-06-20 11:52:51 +02:00
Araq
2d606e38ea HCR: better documentation
(cherry picked from commit 38f05bb9a3)
2019-06-20 11:52:44 +02:00
narimiran
1348cb525b [other] introduce a separate changelog for backports, update
contributing guidelines

(cherry picked from commit b70fd0400e)
2019-06-20 11:48:32 +02:00
Juan Carlos
77166176b2 [bugfix] Fixes #11434 , Update Tools Documentation (#11449)
(cherry picked from commit eb087b3546)
2019-06-20 11:46:12 +02:00
Juan Carlos
e15ce6bdeb [bugfix] Fixes #11495 , Remove TinyC from help (#11508)
(cherry picked from commit aa7f23e1ee)
2019-06-20 11:46:12 +02:00
Kaushal Modi
b68ee27dd5 [bugfix] Minor formatting fix in tut2 [ci skip] (#11501)
Monospace `untyped` like elsewhere in the tutorial.

(cherry picked from commit c656714623)
2019-06-16 17:19:43 +02:00
Juan Carlos
01fcde2146 [bugfix] document the norewrite pragma (#11453)
* fixes #9454
* Peer review feedback, wording, move to experimental manual

(cherry picked from commit 80320c72d3)
2019-06-16 17:19:43 +02:00
Simon Krauter
41e0fc593c Update tut1: -d:release does not turn off *allruntime checks off anymore (#11492)
According to https://nim-lang.org/blog/2019/06/06/version-0200-released.html
"The -d:release switch now does not disable runtime checks anymore. "

(cherry picked from commit e2f99a2026)
2019-06-16 17:18:58 +02:00
Miran
7cf9b522b5 [bugfix] rename Nimrod to Nim, fix #11460 (#11462) 2019-06-10 12:54:43 +02:00
Juan Carlos
3a91a93584 Fixes #11431 (#11451) [bugfix] 2019-06-10 10:53:34 +02:00
Andreas Rumpf
bf63d83a97 update the nimc.rst document about the release/danger split [bugfix] 2019-06-08 00:13:57 +02:00
Andreas Rumpf
2c03c9f42e updates the contributing guidelines [other] 2019-06-07 16:21:01 +02:00
Arne Döring
cb45527e37 pass typedesc as NimNode to macros (#11400)
* change typedesc's design in macros

* Manual and changelog entry.

* add link to RFC
2019-06-05 09:17:04 +02:00
narimiran
6f853a747a use proper mathematical expressions for subsets [ci skip]
Fixes https://github.com/nim-lang/website/issues/46
2019-06-04 14:57:04 +02:00
narimiran
7f63c1b83d fix c2nim link 2019-06-04 12:37:37 +02:00
Ico Doornekamp
41b74db218 Added 'except X as Y' to section 'except clauses' of manual (#11371) 2019-06-01 10:43:25 +02:00
Araq
9ecb1aae80 new compiler feature: --expandMacro 2019-05-29 20:47:28 +02:00
Andreas Rumpf
49e686ab4e fixes #1286; object case transitions are now sound 2019-05-27 21:29:02 +02:00
Jasper Jenkins
f774426095 Smarter variant object construction (#11273) 2019-05-26 21:22:02 +02:00
Andreas Rumpf
16aa10dfe1 fixes #10038; deprecate generic methods, they are unreliable 2019-05-25 23:56:16 +02:00
Andreas Rumpf
ef8ddef47b fixes #10912 (#11317)
* fixes #10912

* update the tutorial examples
2019-05-24 18:33:53 +02:00
Araq
279df834ba Nim is not a header file generator anymore; closes #4723 2019-05-22 15:13:26 +02:00
Andreas Rumpf
1e97b420bb fixes #7167 (#11300)
* fixes #7167
* spec: distinct types can be ordinal types
* bootstrapping issue
2019-05-22 11:50:05 +02:00
Araq
a470ba673b manual_experiments: clarifications 2019-05-15 18:16:45 +02:00
Araq
f84293ac8f fixes #11237 2019-05-13 09:40:43 +02:00
Jjp137
541751305c manual: fix typo in inImplicitlyConvertible [ci skip] (#11211) 2019-05-09 06:47:43 +02:00
Araq
4032726e87 manual: add a section about aliasing restrictions for parameter passing; Spark inspired 2019-05-06 21:42:49 +02:00
Araq
9348636cba docs: minor subjective improvement 2019-05-05 00:10:26 +02:00
Araq
6ed1f2b939 docs: minor subjective improvement 2019-05-05 00:04:06 +02:00
Federico Ceratto
70f5d7fc42 Run nimscript without "nim e" (#11121)
Add a link to nimscript.rst
Add a suggestion on disabling hints.
2019-05-04 23:54:05 +02:00
Federico Ceratto
90a7460d91 Document bit fields usage (#11011) 2019-05-04 23:31:05 +02:00
Federico Ceratto
2cdff617fd Update docs around docSeeSrcUrl #6071 (#11074)
Flag docSeeSrcUrl as deprecated.
Add quick start paragraph.
Add links from the language manual.
2019-04-23 11:36:16 +02:00
Araq
5edc5fc650 manual_experimental: cleanup the type/typedesc confusions, typedesc is here to stay for good 2019-04-20 17:55:25 +02:00
Araq
135f867870 manual: cleanup the type/typedesc confusions, typedesc is here to stay for good 2019-04-20 17:51:42 +02:00
Miran
43832f8e57 remove shadow warning, fixes #10732 (#11039) 2019-04-17 11:54:51 +02:00
Andy Davidoff
e2848ccd2b minor capitalization typo in manual (#11028) [ci skip] 2019-04-15 08:44:45 +02:00
Araq
0e57b4cf64 we do not support -d:useWinAnsi switch anymore 2019-04-12 15:17:47 +02:00
Araq
4974f999c3 manual: make currency example compile and ensure it remains working 2019-04-09 22:16:52 +02:00
Andreas Rumpf
fcd3b0c4d8 manual: prefer 'typeof(x)' over 'type(x)' 2019-03-27 15:08:32 +01:00
Andreas Rumpf
3cb645ab50 move more stuff into manual_experimental 2019-03-27 15:08:32 +01:00
Andreas Rumpf
4d0f05a98a manual.rst: move experimental features to manual_experimental 2019-03-27 15:08:32 +01:00
Andreas Rumpf
bf592c4e94 more destructor based changes (#10885)
* mark user defined destructors with sfOverriden to simplify the logic
* refactoring in preparation to merge liftings and generic instantiations for destructors
* ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on
* renamed 'patterns' switch to 'trmacros' as it was totally misleading before
* destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking
* test for invalid/too late destructor introductions
* liftdestructors: make code robust for nimsuggest
* --newruntime works for hello world again
* newruntime: code generation for closures
2019-03-23 00:12:05 +01:00
Miran
afeca3d9fe multi-methods need to be explicitly enabled (#10856)
* multi-methods need to be explicitly enabled

* update changelog, manual and tutorial
2019-03-18 08:21:37 +01:00