summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fixes #5360, fixes #5238 (#5539); fixes type alias inequality for types ↵andri lim2017-03-163-4/+135
| | | | coming from templates/macros
* Update nep1 to show type keyword on its own lineDominik Picheta2017-03-151-12/+16
|
* hotfix: allocator: don't set origSize to 0Araq2017-03-151-2/+2
|
* decTypeSize on growObj (#5465)Yuriy Glukhov2017-03-151-0/+1
|
* Fixes #5062 (#5527); JS: holes in enumsSilvio2017-03-159-27/+95
|
* fixes #5231 inheriting from partial specialized generic object (#5538)andri lim2017-03-152-9/+59
|
* adding support for using llvm ASAN (#5536)Samantha Marshall2017-03-142-1/+31
|
* fixes #5264 (#5520); inheriting from generic objectandri lim2017-03-146-2/+184
|
* add bitops module for optimized bit manipulation. (#5201)Parashurama2017-03-145-0/+722
|
* asyncdispatch.nim recursion test. (#5534)Eugene Kabanov2017-03-141-0/+21
|
* Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-03-1462-442/+818
|\
| * Mentioned that critbits is sorted... (#5524)Mark Summerfield2017-03-141-1/+1
| | | | | | | | Having a lexicographically sorted collection is a big benefit (I asked GvR years ago to add one to Python but it was no then and seems to be no now!). Anyone looking for a such a collection could easily miss the critbits model because very few people have heard of them (according to Wikipedia most people in a ration of approx 750:1 know them as radix trees: https://en.wikipedia.org/wiki/Talk%3ACrit_bit_tree).
| * Minor doc fix as per issue #5523 (#5533)Mark Summerfield2017-03-141-1/+2
| |
| * Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2017-03-141-1/+1
| |\
| | * Deleted parenthetical phrase (#5526)Mark Summerfield2017-03-141-1/+1
| | | | | | | | | I deleted it because it came across as arrogant. It is also contentious so IMO has no place in a manual.
| * | nimsuggest: when invoked with a directory, detect the main nim file on its ownAndreas Rumpf2017-03-142-1/+24
| | |
| * | nimsuggest: suggest types in a type sectionAndreas Rumpf2017-03-144-3/+23
| |/
| * nimsuggest: make tdot1 test case green againAndreas Rumpf2017-03-141-1/+1
| |
| * nimsuggest: make test green againAndreas Rumpf2017-03-141-2/+2
| |
| * Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-03-1432-260/+474
| |\
| | * sequtils: removed outdated noteAndreas Rumpf2017-03-141-3/+0
| | |
| | * Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2017-03-143-2/+42
| | |\
| | | * fix varargs forwarding for templates; fixes #5455 (#5505)zah2017-03-133-2/+42
| | | | | | | | | | | | | | | | | | | | * fix varargs forwarding for templates; fixes #5455 * document the macros' varargs change in the news for 0.16.2
| | * | valgrind support for nimAndreas Rumpf2017-03-142-0/+23
| | |/
| | * Fixes incorrect fd==0 test on Unix; Conserves handles by default. (#5512)c-blake2017-03-123-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix 2 problems. First, 0 is a valid fd on Unix (easily gotten if user first closes all fds and then starts using memfiles). Use -1 instead for an invalid fd. Second, it is best practice to conserve open fds on Unix and file handles on Windows. These handles are not needed unless the user wants to remap the memory with ``mapMem`` (or a hypothetical future ``proc resize``). Adding a new bool param ``allowRemap=false`` to ``memfiles.open`` solves this cleanly in a "mostly" backward compatible way. This is only "mostly" because the default ``false`` case does not keep unneeded resources allocated, but that most sensible default means that any ``mapMem`` callers need to fix all their open calls to have allowRemap=true, as this PR also does for tmemfiles2.nim. * Include backwards compatibility note.
| | * Fixed typo (#5508)mark-summerfield2017-03-121-1/+1
| | |
| | * Nicer English (#5513)mark-summerfield2017-03-121-9/+9
| | |
| | * Nicer English (#5511)mark-summerfield2017-03-121-43/+43
| | |
| | * Nicer English (#5514)mark-summerfield2017-03-121-26/+26
| | |
| | * Update tut1.rst (#5510)mark-summerfield2017-03-121-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
| | * Suggested small change to code (#5509)mark-summerfield2017-03-121-2/+2
| | | | | | | | | 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.
| | * Fixes #5167 and related problems (#5475)zah2017-03-1217-4/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * don't allow casting to non-concrete types; fixes #5428 (#5502)zah2017-03-124-5/+58
| | |
| | * Fix typo (#5501)Anatoly Galiulin2017-03-101-2/+2
| | |
| | * new debugging helper to replace and friendsZahary Karadjov2017-03-102-5/+17
| | |
| | * Fix links to manual (#5500)konqoro2017-03-091-28/+28
| | |
| | * Merge pull request #5497 from ehmry/smtpDominik Picheta2017-03-081-114/+58
| | |\ | | | | | | | | SMTP sync/async deduplication
| | | * SMTP sync/async deduplicationEmery Hemingway2017-03-071-114/+58
| | | | | | | | | | | | | | | | | | | | Deduplicate synchronous and asynchronous code with the multisync pragma. Pass address and port at connect rather than ``new(Async)Smtp``.
| * | | nimsuggest: logging enable when compiled with -d:loggingAndreas Rumpf2017-03-131-10/+10
| | | |
| * | | nimsuggest: special rule for 'of' completion in case statementsAndreas Rumpf2017-03-103-1/+28
| | | |
| * | | nimsuggest: make 'con' work againAndreas Rumpf2017-03-102-0/+17
| | | |
| * | | nimsuggest: maxresults limit; fixed local symbol usages priorizationsAndreas Rumpf2017-03-104-49/+62
| | | |
| * | | nimsuggest: make tests green againAndreas Rumpf2017-03-101-2/+3
| | | |
| * | | nimsuggest now uses 0 based columsn consistentlyAndreas Rumpf2017-03-101-2/+2
| | | |
| * | | nimsuggest: make tests green againAraq2017-03-103-5/+5
| | | |
| * | | nimsuggest: more things workAraq2017-03-096-25/+51
| | | |
| * | | nimsuggest: more precise cursor trackingAraq2017-03-0924-81/+104
| | | |
| * | | nimsuggest: revert cpFuzzy bailoutsAndreas Rumpf2017-03-094-24/+26
| | | |
| * | | bugfix: consider type contexts properlyAraq2017-03-082-33/+42
| | | |
* | | | fixes #5529; don't merge type visibility flagsAraq2017-03-142-4/+4
| | | |