Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | better docs: strutils | narimiran | 2019-01-16 | 1 | -768/+1265 |
| | |||||
* | better docs: sequtils | narimiran | 2019-01-16 | 1 | -303/+414 |
| | |||||
* | fix #9842 #9951: `nim -r` and parseopt.cmdLineRest are now correct | Timothee Cour | 2019-01-14 | 1 | -23/+1 |
| | |||||
* | Expose CTime (#10301) | genotrance | 2019-01-14 | 1 | -3/+3 |
| | |||||
* | Fixes #10065 (#10260) | Arne Döring | 2019-01-14 | 1 | -54/+43 |
| | | | | CountTable now returns 0 instead of 'key not found' for get requests. | ||||
* | Add stdin read support to nimscrit #3983 (#10292) | genotrance | 2019-01-14 | 1 | -3/+26 |
| | |||||
* | [backport] fix documentation leak to `os.nim`[ci skip] | narimiran | 2019-01-14 | 2 | -2/+2 |
| | |||||
* | added proc rand for typedesc (#10259) | Arne Döring | 2019-01-14 | 1 | -1/+5 |
| | |||||
* | fixes #9218 | Araq | 2019-01-13 | 1 | -2/+2 |
| | |||||
* | fixes #10271 [backport] | Araq | 2019-01-13 | 1 | -1/+2 |
| | |||||
* | fixes #7241 | Araq | 2019-01-13 | 1 | -10/+16 |
| | |||||
* | Implements BackwardsIndex `[]` for deque. (#10105) | Dominik Picheta | 2019-01-13 | 1 | -1/+13 |
| | |||||
* | make system.task compatible with NimScript; refs #10254 | Araq | 2019-01-13 | 1 | -2/+3 |
| | |||||
* | fixes #10273 execShellCmd now returns nonzero when child killed with signal ↵ | Timothee Cour | 2019-01-13 | 2 | -22/+20 |
| | | | | | | | | | | + other fixes (#10274) * s/exitStatus(...)/exitStatusLikeShell(...)/ * fix #10273 execShellCmd now returns nonzero when child exits with signal * test case for #10249 and explanation for the bug * fix test failure * add tests/nim.cfg | ||||
* | fix #10281 (#10282) | Timothee Cour | 2019-01-12 | 1 | -1/+5 |
| | |||||
* | Documented error source argument of macros.error() (#10279) | Ico Doornekamp | 2019-01-12 | 1 | -1/+3 |
| | |||||
* | make the stdlib work with the changed docgen | Araq | 2019-01-11 | 6 | -9/+9 |
| | |||||
* | RST parser: fixes #8158 | Araq | 2019-01-11 | 1 | -3/+3 |
| | |||||
* | docgen: support markdown headings too | Araq | 2019-01-11 | 1 | -8/+31 |
| | |||||
* | docgen: support markdown link syntax; enable markdown extensions | Araq | 2019-01-11 | 2 | -0/+31 |
| | |||||
* | docgen: render 'interpreted text' the same as inline literals for markdown ↵ | Araq | 2019-01-11 | 1 | -3/+1 |
| | | | | compat | ||||
* | Fixes new atomics for C + vcc (#10267) | Jörg Wollenschläger | 2019-01-11 | 1 | -21/+21 |
| | |||||
* | revert moving `oids` and `smtp` to graveyard | narimiran | 2019-01-11 | 3 | -0/+347 |
| | |||||
* | fix #10261 unittest now returns 1 on error instead of buggy behavior (#10264) | Timothee Cour | 2019-01-11 | 1 | -2/+2 |
| | |||||
* | [RFC] Better atomics (#8620) | Jörg Wollenschläger | 2019-01-10 | 1 | -0/+378 |
| | | | | | * Initial version of C++11 style atomics * Make Atomic[T] always concrete | ||||
* | add unsetControlCHook to remove a Ctrl-C hook after it was set (#7267) | Vindaar | 2019-01-10 | 3 | -0/+10 |
| | | | | | | | | | * add unsetControlCHook to remove a Ctrl-C hook after it was set Adds the inverse proc to setControlCHook in order to lift a Ctrl-C hook after it has been set. * remove check for noSignalHandler in system/excpt.nim | ||||
* | void object fields are now ignored by codegen and fields/fieldPairs iterator ↵ | Neelesh Chandola | 2019-01-10 | 1 | -0/+1 |
| | | | | | | | | | (#10144) * Codegen now ignores object fields of type void * Fix `$` bug for objects/tuples where it does not add a comma * fields/fieldPairs iterators now ignore void types * Use `isEmptyType` instead of checking for `tyVoid` directly | ||||
* | Merge pull request #10248 from narimiran/graveyard | Miran | 2019-01-10 | 5 | -1048/+0 |
|\ | | | | | Move four modules to graveyard | ||||
| * | remove `oids` | narimiran | 2019-01-10 | 1 | -93/+0 |
| | | |||||
| * | remove `smtp` | narimiran | 2019-01-10 | 2 | -254/+0 |
| | | |||||
| * | remove `scgi` | narimiran | 2019-01-10 | 1 | -295/+0 |
| | | |||||
| * | remove `subexes` | narimiran | 2019-01-10 | 1 | -406/+0 |
| | | |||||
* | | Times cosmetic changes (#10237) | Oscar Nihlgård | 2019-01-10 | 2 | -330/+385 |
| | | | | | | | | | | | | | | | | | | | | * Add more Date wrappers to jscore * Times cosmetic changes - Improved docs - Code wrapped at 80 chars - Formatting fixes using nimpretty - Remove some old deprecated procs | ||||
* | | Fix exception tracking for system.open (#10253) | Oscar Nihlgård | 2019-01-10 | 1 | -3/+4 |
|/ | |||||
* | ValueError now inherits from CatchableError (#10246) | Oscar Nihlgård | 2019-01-10 | 1 | -1/+1 |
| | |||||
* | make Stream.{read,peek} procs public (#9806) | Notkea | 2019-01-09 | 1 | -2/+2 |
| | | | Those are useful in generic code, and `proc write*[T](s: Stream, x: T)` was already public. | ||||
* | epoll selector starts with reasonable fd set size (1024) and increases in ↵ | Ico Doornekamp | 2019-01-09 | 2 | -3/+22 |
| | | | | powers of two when needed. This prevents the selector to allocate large amounts of memory at startup on systems with a high RLIMIT_NOFILE setting (#10194) | ||||
* | Merge pull request #10236 from treeform/passSSLPath | genotrance | 2019-01-08 | 1 | -1/+1 |
|\ | | | | | Fix libssl order. Newest one is 1.1 | ||||
| * | Fix libssl order. Newest one is 1.1 | Andre von Houck | 2019-01-08 | 1 | -1/+1 |
| | | |||||
* | | add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵ | Timothee Cour | 2019-01-08 | 4 | -6/+39 |
|/ | | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work | ||||
* | os.execShellCmd: fixes #10231 (#10232) | alaviss | 2019-01-08 | 1 | -1/+3 |
| | | | | | | | Darwin has long deprecated the wait union, but their macros still assume it unless you define _POSIX_C_SOURCE. This trips up C++ compilers. This commit duplicates the behavior of WEXITSTATUS when _POSIX_C_SOURCE is defined. | ||||
* | Better LibSSL search order. (#10230) | treeform | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | system/strmantle: avoid leaking docs to system.nim [ci skip] (#10233) | alaviss | 2019-01-08 | 1 | -1/+1 |
| | | | thanks @timotheecour for spotting this | ||||
* | add custom pragma support for var and let symbols (#9582) | jcosborn | 2019-01-07 | 1 | -1/+7 |
| | | | | | | * add custom pragma support for var and let symbols * updated changelog for custom pragmas on var and let symbols * add oldast switch for backwards compatibility | ||||
* | os.execShellCmd: use WEXITSTATUS to retrieve exit code (#10222) | alaviss | 2019-01-07 | 1 | -1/+1 |
| | | | | | | | According to POSIX, system() shall returns the termination status in the format specified by waitpid(), which means WEXITSTATUS should be used to retrieve the exit code portably. This fixes execShellCmd on Haiku. | ||||
* | remove deprecated modules (#10215) | Miran | 2019-01-07 | 9 | -1088/+0 |
| | | | | | | | | | | | | | | | | | | * removed from `compiler`: * lists (deprecated 2 years ago) * removed from `lib` (all deprecated 3 years ago): * ssl * matchers * httpserver * removed from `lib/deprecated`: * unsigned * actors (and three accompanying tests) * parseurl * moved to `lib/deprecated`: * securehash (the reason for not directly removing - it was deprecated (only) one year ago) | ||||
* | Added examples to strtabs module (#10160) | Ico Doornekamp | 2019-01-07 | 1 | -0/+31 |
| | |||||
* | Fix ODBC SQL Error string decoding (#10207) [backport] | Leonardo Cecchi | 2019-01-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | ODBC Errors were presented to the users as a sequence of characters. I.e.: >test_oracle.exe Error: ['H', 'Y', '0', '0', '0', '\x00', '\x00', ...] test_oracle.nim(15) test_oracle test_oracle.nim(8) test_oracle db_odbc.nim(534) open db_odbc.nim(168) dbError Error: unhandled exception: ODBC Error [DbError] This patch fix the string decoding, creating a real string: >test_oracle.exe Error: HY000 [Oracle][ODBC][Ora]ORA-12541: TNS:no listener test_oracle.nim(15) test_oracle test_oracle.nim(8) test_oracle db_odbc.nim(534) open db_odbc.nim(168) dbError Error: unhandled exception: ODBC Error [DbError] | ||||
* | Remove totally unneeded import of hashes. (#10221) | c-blake | 2019-01-07 | 3 | -3/+3 |
| | |||||
* | Fix getAddrInfo, add IPPROTO_ICMPV6 Closes #10198 | Federico Ceratto | 2019-01-06 | 4 | -2/+8 |
| |