mark-summerfield
9fda97b058
Fixed typo ( #5508 )
2017-03-12 20:01:01 +01:00
mark-summerfield
ef59b1a8eb
Nicer English ( #5513 )
2017-03-12 19:55:14 +01:00
mark-summerfield
974b4d59b4
Nicer English ( #5511 )
2017-03-12 17:55:30 +01:00
mark-summerfield
c1ce20594e
Nicer English ( #5514 )
2017-03-12 17:49:48 +01:00
mark-summerfield
639f786e5d
Update tut1.rst ( #5510 )
...
In general: s/have to/must/g - but you can't do this mechanically because sometimes the must has to go back a word (e.g., line 519).
This looks really odd to me:
if thisIsaLongCondition() and
thisIsAnotherLongCondition(1,
2, 3, 4):
x = true
I would have expected:
if thisIsaLongCondition() and
thisIsAnotherLongCondition(
1, 2, 3, 4):
x = true
If the second form is valid and good Nim style then I suggest using it rather than the original. However, if the original is the preferred style then this should be mentioned in the text since it is unusual.
Since Nim is case-sensitive I think it is bad to write wrongly cased names, e.g., ``Bool`` is a built-in type on line 589. This isn't true since Bool isn't anything, but bool is. So in these cases I'd always reword to avoid this problem (and that's what I've done -- and it also avoids "bool. Bool" which was ugly).
2017-03-12 17:44:33 +01:00
mark-summerfield
3ab884a9e3
Suggested small change to code ( #5509 )
...
In a code example I think it best to either use full names (index, item) or abbreviated names where that's common (i, item) but not non-standard abbreviations (indx, itm). So I've changed it to index, item since it is a tutorial, although i, item would be just as good.
2017-03-12 17:40:14 +01:00
zah
1be0022e7c
Fixes #5167 and related problems ( #5475 )
...
This commit returns to a bit less strict checking of the number
of macro arguments, because some old immediate macros rely on a
behavior where even the arity of the macro is not being checked.
It may be better if such macros are just declared to use varargs[expr],
but this remains for another day.
2017-03-12 09:33:49 +01:00
zah
6e358e3187
don't allow casting to non-concrete types; fixes #5428 ( #5502 )
2017-03-12 09:27:05 +01:00
Anatoly Galiulin
cb9d554ac9
Fix typo ( #5501 )
2017-03-10 16:18:56 +01:00
Andreas Rumpf
2430fc7d82
nimsuggest: special rule for 'of' completion in case statements
2017-03-10 14:42:11 +01:00
Andreas Rumpf
c5566f7c37
nimsuggest: make 'con' work again
2017-03-10 13:20:32 +01:00
Andreas Rumpf
68181e6da2
nimsuggest: maxresults limit; fixed local symbol usages priorizations
2017-03-10 11:29:16 +01:00
Zahary Karadjov
62ef5dfec8
new debugging helper to replace and friends
2017-03-10 12:02:55 +02:00
Andreas Rumpf
db888475dc
nimsuggest: make tests green again
2017-03-10 09:57:36 +01:00
Andreas Rumpf
16cef36cfd
nimsuggest now uses 0 based columsn consistently
2017-03-10 09:56:04 +01:00
Araq
556b564c7d
nimsuggest: make tests green again
2017-03-10 00:18:24 +01:00
konqoro
d1119c120d
Fix links to manual ( #5500 )
2017-03-09 22:37:44 +01:00
Araq
57ea01309e
nimsuggest: more things work
2017-03-09 17:09:39 +01:00
Araq
4755795416
nimsuggest: more precise cursor tracking
2017-03-09 14:58:14 +01:00
Andreas Rumpf
da821a22d9
nimsuggest: revert cpFuzzy bailouts
2017-03-09 11:30:36 +01:00
Araq
ced38f3fdb
udpate channels.nim documentation
2017-03-08 22:56:21 +01:00
Araq
4d0d6c47bd
bugfix: consider type contexts properly
2017-03-08 15:59:34 +01:00
Dominik Picheta
42e54e5527
Merge pull request #5497 from ehmry/smtp
...
SMTP sync/async deduplication
2017-03-08 14:45:32 +00:00
Araq
0f63c101e4
fixes nimsuggest bug #45
2017-03-08 13:21:40 +01:00
Araq
0596c11775
todo updates
2017-03-08 13:04:40 +01:00
Araq
1887390b0f
nimsuggest: fixes nimsuggest bug #45 ; do not show suggestions in string literals or comments
2017-03-08 12:53:21 +01:00
Araq
23a303c536
nimsuggest: update documentation
2017-03-08 12:44:57 +01:00
Andreas Rumpf
507feb3ce5
Merge branch 'devel' into faster-nimsuggest
2017-03-08 00:39:13 +01:00
Andreas Rumpf
91a4b448fd
nimsuggest: chk checks the full project lazily; much better suggestions orderings
2017-03-08 00:38:48 +01:00
Emery Hemingway
fecad72e02
SMTP sync/async deduplication
...
Deduplicate synchronous and asynchronous code with the multisync pragma.
Pass address and port at connect rather than ``new(Async)Smtp``.
2017-03-07 12:10:18 -06:00
David Krause
7dc8dcb581
fixes #5487 ( #5494 )
2017-03-07 16:58:38 +01:00
Andreas Rumpf
538c6c9898
make some tests green
2017-03-07 12:34:45 +01:00
Dominik Picheta
b46f23d7cc
Merge pull request #5496 from Calinou/readme_typo_fix
...
Fix typo in readme.md (there is no "build-essentials" package in Debian)
2017-03-07 11:33:36 +00:00
Hugo Locurcio
9e170f1159
Fix typo in readme.md (there is no "build-essentials" package in Debian)
2017-03-07 12:20:17 +01:00
Andreas Rumpf
9ed322323e
nimsuggest: better ordering of symbols (part 1)
2017-03-07 10:58:43 +01:00
Andreas Rumpf
d9ad6465af
nimsuggest: bugfix: don't intertwine errors and suggestions
2017-03-07 10:42:46 +01:00
Andrea Griffini
c2630b338d
Typo ( #5495 )
2017-03-07 10:01:07 +01:00
Ruslan Mustakov
9608acf200
Check if __STDC_VERSION__ is defined ( #5488 )
2017-03-07 09:56:46 +01:00
Anatoly Galiulin
24ec36f097
Fix iconv import on freebsd and netbsd ( #5490 )
2017-03-07 09:56:16 +01:00
Araq
3fa428c88b
fixes #5467
2017-03-07 00:27:47 +01:00
Araq
4a77b66b19
fixes #5478
2017-03-06 18:38:15 +01:00
Araq
8c0e27e8d9
fixes #5481
2017-03-06 18:25:27 +01:00
David Krause
643b7f8650
Fix for #5482 , let OrderedTable accept multiple keys ( #5485 )
2017-03-05 20:17:43 +01:00
Fabian Keller
d1d32f657a
tiny docstring fix; fixes #5483 ( #5484 )
2017-03-05 10:44:25 +01:00
Florent
93305443aa
close #5472 nre tests should be run ( #5474 )
...
nre tests were just being compiled - changed so that a failure causes exit code to defer causing `tester` to report it as a failure
2017-03-04 11:13:08 +01:00
Dominik Picheta
52462f031e
Merge pull request #5473 from raydf/devel
...
Only remove scheme when there's a TLS request ("https")
2017-03-03 19:52:47 +00:00
Rayner De Los Santos F
d5d975ceef
Only remove scheme when there's a TLS request ("https")
...
If condition, for not removing the scheme when proxied connection isn't a TLS request ("http://...").
2017-03-03 08:47:13 -04:00
Andreas Rumpf
5d125ca716
Merge branch 'devel' into faster-nimsuggest
2017-03-03 13:00:09 +01:00
Andreas Rumpf
3b0430bec6
nimsuggest: minor doc addition
2017-03-03 12:59:32 +01:00
Andreas Rumpf
6c0304f7f5
nimsuggest chk works for EPC
2017-03-03 11:59:00 +01:00