Commit Graph

1142 Commits

Author SHA1 Message Date
Dominik Picheta
ae342f84de Revert "[RFC] NEP-1.1. Relax 80 chars requirement." 2018-06-09 18:39:33 +01:00
Yuriy Glukhov
1531738974 NEP-1.1. Relax 80 chars requirement. 2018-06-08 20:51:44 +03:00
Chris McIntyre
8557a2e1a5 Fixed operator precedence in example (#7912)
The order of operations was incorrect for the right-hand side of the `assert` statement on line 3199, based on the operator precedence for line 3197.
2018-06-01 11:24:49 -04:00
Daniil Yarancev
c0ea647c37 Remove #
I don't even know how it got there.
2018-05-27 18:48:24 +03:00
data-man
dedf0f3e19 Removed space between "array" and a square bracket in the docs 2018-05-19 20:28:27 +03:00
Araq
5526252fa0 fixes testament compilation 2018-05-14 17:45:44 +02:00
Zahary Karadjov
cf13c5fba4 implement the export/except statement 2018-05-07 09:37:49 +02:00
Zahary Karadjov
ae5c946a32 Support thread-local variables declared inside procs; fixes #7565 2018-05-07 09:37:49 +02:00
Andreas Rumpf
79ec95a9b5 remove hardly used TimeMachine feature 2018-05-06 20:07:42 +02:00
Andreas Rumpf
d62fe7d538 update the documentation 2018-05-01 09:38:17 +02:00
Araq
85af8fb74c introduce --laxstrings switch for backwards compatibility 2018-04-30 19:50:36 +02:00
Andreas Rumpf
5237ef4f52 update the documentation about the new strings/seqs behaviours 2018-04-29 08:14:00 +02:00
genotrance
e931f3b5a9 Fixes #802, #803 and #3775 - genscript issues (#7677)
* Fixes #802, #803 and #3775 - genscript issues

* Test case for genscript

* Test script

* Verify on Linux

* Update categories.nim

* Fix merge

* Improve test framework

* Windows fixes
2018-04-25 10:52:32 +02:00
Andreas Rumpf
ee366f1746 .experimental can now be used to enable specific features 2018-04-24 09:34:29 +02:00
Jacek Sieka
72dfe176f5 remove dead code elimination option (#7669) 2018-04-23 11:02:38 +02:00
Andreas Rumpf
4f10b5edb6 improve documentation for 'var T return values'; refs #7373 2018-04-21 17:01:33 +02:00
Arne Döring
516ce73066 macro manual improvements (#7666)
* macro manual improvements

* fixes a typo

* Small fixes
2018-04-21 08:15:41 +02:00
Andreas Rumpf
9cc8fec370 replace --advanced by --fullhelp; refs #7621 2018-04-20 08:45:03 +02:00
jcosborn
7e15d5134b allow setting template/macro recursive evaluation limits (#7652)
* allow setting template/macro recursive evaluation limits

* revert setting template/macro eval limits
set them to 1000
2018-04-19 22:39:18 +02:00
Andreas Rumpf
c9f14ca9be manual: remove the bind-once typedesc weirdness; replaced by how things should be done 2018-04-15 22:16:07 +02:00
AdrianV
0ce28d15cc Nim namespace for cpp (#7453)
- new option --usenamespace to generate nim cpp code in its own namespace Nim
- minor changes for compatibility with the new Embarcadero = Borland C++-Builder (bcc)
2018-04-15 13:43:01 +02:00
Andreas Rumpf
70c0ff1be2 manual: cleanup the documentation; document for-loop macros; ensure the examples compile 2018-04-15 11:56:18 +02:00
Andreas Rumpf
8c09ffd36d manual: many additions and improvements 2018-04-14 14:53:31 +02:00
Andreas Rumpf
c6f15c53f4 merge the different manual/*.rst include files. Was too hard to find the corresponding sections otherwise. Hope it means the manual is more likely to be kept up to date. 2018-04-14 08:42:53 +02:00
Andreas Rumpf
9e884c31dd the new feature's name is hotCodeReloading 2018-04-13 23:48:56 +02:00
zah
e3037a2f33 Support code hot reloading for JavaScript projects (#7362)
* Support code hot reloading for JavaScript projects

* Add some missing JavaScript symbols and APIs

* fix the Travis build

* (review changes) remove the js type from the standard library as it doesn't follow NEP-1

* more additions to the DOM module

* Follow NEP-1 in jsffi; spell 'hot code reloading' correctly

* introduce a jscore module

* Document jscore module.

* readded js type

* Remove the '$' operator that doesn't behave
2018-04-13 19:08:43 +02:00
Andreas Rumpf
5e1e1a9145 fixes #7551 2018-04-11 23:26:20 +02:00
Arne Döring
6baca58693 Get symbol kind (#7491) 2018-04-11 16:48:01 +02:00
cooldome
16c1a90857 Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360) 2018-04-10 12:14:59 +02:00
Araq
212fdc5946 added the 'x.p[:T]' notation for explicit generic instantiations in combination with the ddot calling syntax 2018-04-06 22:05:57 +02:00
Araq
0872e7a27e renamed future.nim to sugar.nim 2018-04-06 11:59:49 +02:00
Timothee Cour
aa40c91e6e cmd line help: clarify compileOnly vs noLinking 2018-04-05 14:34:55 -07:00
Dominik Picheta
d6d3c5695b Fixes #7400 2018-03-30 13:16:59 +01:00
Timothee Cour
50229293ae doc: fix path to $HOME/.config/nim.cfg to work on POSIX (not just unix but also osx) (#7421) 2018-03-27 09:45:43 +02:00
Abhishek
23064bba3a fix small typo in the documentation (#7411) 2018-03-26 09:48:39 +02:00
Oscar Nihlgård
d8108d0449 Remove basic2d & 3d from module list
`basic2d` and `basic3d` has been moved to nimble packages
2018-03-19 15:52:45 +01:00
twetzel59
d20729e840 Fix #7304 by clarifying integer width in manual (#7319)
* Fix #7304 by clarifying integer width in manual

* Update lexing.txt
2018-03-17 20:25:28 +01:00
Robert Hencke
ac10a3813a Fix casing in rule 'typeDesc' (#7324)
Also, leave a note in grammar.txt that it is generated.
2018-03-12 09:27:36 +01:00
PMunch
5003942256 Renamed jsondoc2 to jsondoc, similar to doc2 (#7279)
* Update information about jsondoc/jsondoc2

Manual was missing information about jsondoc2 which made it seem like
it didn't exist at all. This commit adds mention of the jsondoc2
command along with an example.

* Renamed jsondoc2 similar to doc2 and updated docs

doc2 was recently renamed to doc while doc was renamed to doc0. This
commits renames jsondoc to jsondoc2 and jsondoc2 to jsondoc0 to behave
tha same way. The documentation for doc/jsondoc was also lagging behind
this change which has also been fixed. I interpreted this as a soft
deprecation of doc and jsondoc and therefore removed them from the
auto-complete lists.
2018-03-08 15:11:45 +01:00
Araq
a9974a33f1 more documentation fixes 2018-03-05 23:25:50 +01:00
Andreas Rumpf
3dab0877da fixes #7247 2018-02-23 11:42:19 +01:00
Dominik Picheta
5476a82c47 Move joyent_http_parser out of stdlib. 2018-02-17 17:53:32 +00:00
Andreas Rumpf
70e8640244 move new sha1 module into the new 'std' namespace 2018-02-06 17:40:31 +01:00
Andreas Rumpf
fc52dd6463 Tut 1: tiny improvements 2018-02-05 21:13:18 +01:00
Andreas Rumpf
cfa96c9b13 fixes the RST in the manual 2018-02-04 00:49:47 +01:00
Andreas Rumpf
4e0b3fefa3 Merge branch 'devel' into araq-overloading-symmetry 2018-02-03 07:58:31 +01:00
Andreas Rumpf
c671356d51 manual: do not mention the VTable types which are not implemented yet 2018-02-02 17:35:04 +01:00
Andreas Rumpf
bd1dfa4b38 better type inference for numerical types; prerequisitive for version 1 2018-02-02 09:29:05 +01:00
Andreas Rumpf
7fc80f8f86 manual: do not mention the VTable types which are not implemented yet 2018-02-02 08:07:31 +01:00
konqoro
90c1edff8b Fix the names of the float checks pragmas. (#7170) 2018-02-01 14:02:32 +01:00