Commit Graph

1194 Commits

Author SHA1 Message Date
hlaaf
9707b23258 Fixes #8766 (#8769) 2018-08-24 21:19:24 +02:00
Araq
30597e643f fixes merge conflict 2018-08-23 11:30:55 +02:00
Στέφανος
f87a91a3ec Fixed a minor typo (#8685) 2018-08-20 09:40:56 +02:00
Andreas Rumpf
696c0c48c7 fixes merge conflict 2018-08-19 15:14:03 +02:00
Andreas Rumpf
3ca8ebe778 fixes #8653 2018-08-16 18:49:22 +02:00
Andreas Rumpf
e4c759fbff Merge branch 'devel' into araq-misc 2018-08-16 01:22:21 +02:00
Andreas Rumpf
1061e26bc9 implements 'case statement macros' in order to encourage the development of pattern matching mechanisms that are not terrible to look at 2018-08-16 00:16:49 +02:00
Andreas Rumpf
da41fc1801 put the new for loop macros under an experimental switch named 'forLoopMacros' 2018-08-15 17:45:57 +02:00
Araq
83c89197f3 renames threadpool.await to blockUntil; refs #7853 2018-08-14 01:28:04 +02:00
Araq
f960523b46 document the new --nilseqs:on switch 2018-08-13 20:12:13 +02:00
DrSlump
6a0751e81a Fixes #7586: Adds documentation for hints 2018-08-13 11:24:58 +02:00
Andreas Rumpf
60c7a0a08f Merge branch 'araq-misc' of github.com:nim-lang/Nim into araq-misc 2018-08-10 16:51:45 +02:00
Araq
4cf1e3eb4b rename SystemError to CatchableError in order to avoid breaking Nimble and probably lots of other code 2018-08-10 15:31:53 +02:00
Andreas Rumpf
ba6601b149 fixes #8599 2018-08-10 12:09:51 +02:00
Andreas Rumpf
404de2f23e Merge branch 'devel' into araq-misc 2018-08-10 12:06:16 +02:00
Andreas Rumpf
1d78ba64b4 rework the exception hierarchy; refs #8363 2018-08-10 11:40:01 +02:00
Andreas Rumpf
1d63a8fe4a update the 'float' spec; refs #8589 2018-08-10 09:21:46 +02:00
Timothee Cour
43f634db8d fixes #8519; implements T.distinctBase to reverse T = distinct A (#8531) 2018-08-10 09:20:14 +02:00
Araq
265003df1a deprecated regionized pointers 2018-08-10 01:20:14 +02:00
Araq
b4e5c9d075 deprecate the .this pragma 2018-08-09 20:31:40 +02:00
alaviss
a2c5ffba0c Uses XDG_CACHE_HOME if available (#8585)
* compiler/options: use XDG_CACHE_HOME if set

* doc/nimc: update documentation
2018-08-09 10:50:36 +02:00
Andreas Rumpf
ef9dd46466 'nimcache' defaults to ~/.cache on Posix; cleaned up documentation 2018-08-08 09:35:38 +02:00
Andreas Rumpf
e067a7681f 'nimcache' defaults to ~/.cache on Posix; cleaned up documentation 2018-08-06 23:38:29 +02:00
Araq
7ac6462cbd make at least bootstrapping work 2018-08-05 14:17:24 +02:00
Timothee Cour
baa77387d7 fixes #8215; remove reference to old doc command which was deprecated (#8418) 2018-08-05 12:15:40 +02:00
Oscar Nihlgård
5491f1f53b Deprecate the dot style for import paths (#8474) 2018-07-30 09:24:16 -04:00
Timothee Cour
2569c74909 docs: document that --flag is same as flag in cfg config files (#8430) 2018-07-30 10:17:41 +02:00
Andreas Rumpf
4389409e26 fix merge conflict 2018-07-18 09:46:30 +02:00
Chris de Graaf
6eedac3207 Fix link to first class iterator docs (#8356) 2018-07-18 09:17:34 +02:00
Andreas Rumpf
1aa3435317 manual.rst: fixes a typo 2018-07-17 15:49:42 +02:00
Joey Yakimowich-Payne
d3c2fb22db Remove env vars from docs 2018-07-15 11:23:22 +09:00
Timothee Cour
32441d01e5 better doc for hard to find --define:SYMBOL:VAL (#8257) 2018-07-11 10:33:33 +02:00
Quelklef
6fe79fd158 Fixed a wrong AST example (#8269) 2018-07-11 08:52:09 +02:00
Araq
f8e219b877 add the apis.txt table to nep1.rst 2018-07-09 12:35:25 +02:00
Andreas Rumpf
32230ffe31 make tests green again 2018-07-06 17:26:45 +02:00
Vindaar
681d8e0749 Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178)
* deprecate `0c`, `0C` prefix for octal literals

Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for
octal literals to bring the literals in line with the behavior of
`parseOct` from parseutils.

* add `msgKind` arg to `lexMessageLitNum` for deprecation messages

* change literal tests to check all valid integer literals

Also adds the `tinvaligintegerlit3` test to test for the (still)
invalid `0O` prefix.
2018-07-03 01:56:36 +02:00
Kaushal Modi
5ac74da926 Clarify use of special : for passing a block of stmts to template (#8133)
Fixes https://github.com/nim-lang/Nim/issues/8131.
2018-06-27 21:37:31 +02:00
Joey
559a7615ad Nintendo switch support (#8069)
* Add config section for Nintendo Switch
* Add compiler configuration for Nintendo Switch and it's CPU
* Add specific lib code for Nintendo Switch
* Add GC support for Nintendo Switch
* Update changelog for Nintendo Switch
* Update changelog with more info about fixed paths
* Cleaned up GC memory management a bit
* Relocate docs for Switch
* Rename aarch64NoneElfGcc to nintendoSwitchGCC
* Remove armv8a57
* Fix installer.ini
* Reuse code in linux and amd64
* Add posix defs for nintendo switch
* Add more defined sections for nintendo switch
* Remove old comment
* Add what's not supported for Nintendo Switch docs
* Make nintendoswitch == posix
* Remove DEVKITPRO references from nim.cfg
* Make PR extccomp changes
* Remove Result type alias
* Add separate switch consts file
* Update docs for nintendo switch
* Fix travis errors with undefined consts and add correct wait.h procs
2018-06-27 12:35:09 +02:00
Andreas Rumpf
d8f7174dda Merge pull request #7736 from cooldome/range_float_type
Language feature: range float types
2018-06-27 00:08:21 +02:00
Andreas Rumpf
2a3a128e36 Merge branch 'devel' into typedesc-reforms 2018-06-26 18:33:51 +02:00
mboratko
70664bd1a2 Changed tutorial documentation referring to 'constant' to 'immutable' (#8056)
* Changed tutorial documentation referring to 'constant' to 'immutable'

* Clarification regarding side-effect free procedures fo:r multiple assignments
2018-06-18 02:05:35 -04:00
Zahary Karadjov
e129466910 requested pull-request changes 2018-06-16 16:46:32 +03:00
Zahary Karadjov
ea36e0ebbe document the new type[T] and static[T] features 2018-06-16 16:46:32 +03:00
Araq
21a17f3911 document the 'pkg' and 'std' pseudo directories; closes #7250 2018-06-14 16:40:06 +02:00
cooldome
37aa488f99 merge devel 2018-06-12 21:19:30 +01:00
cooldome
77f33db3ed style fixes, typos 2018-06-12 09:27:37 +01:00
cooldome
73b7ec9009 merge devel 2018-06-10 22:58:39 +01:00
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
Andreas Rumpf
12996c08a1 fixed merge conflict 2018-06-04 16:16:50 +02:00