summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* __NR_gettid as const on amd64 (#7460)Jacek Sieka2018-04-061-1/+4
|
* Merge pull request #7471 from yglukhov/fixed-times-cpp-windows-32Dominik Picheta2018-04-051-3/+6
|\ | | | | Fixed compilation of times.nim with mingw 4.9.2 C++ 32bit
| * Fixed compilation of times.nim with mingw 4.9.2 C++ 32bitYuriy Glukhov2018-04-031-3/+6
| |
* | Merge pull request #7483 from GULPF/cookies-timezonesDominik Picheta2018-04-041-12/+12
|\ \ | | | | | | Don't assume UTC in cookies.setCookie
| * | Don't assume UTC in cookies.setCookieOscar Nihlgård2018-04-031-12/+12
| | |
* | | Merge pull request #7450 from cabhishek/develDominik Picheta2018-04-041-1/+1
|\ \ \ | | | | | | | | Fixes #6902
| * | | Fixes #6902Abhishek Kapatkar2018-03-301-1/+1
| | | |
* | | | Fixes #7473 (#7475)Arne Döring2018-04-041-36/+8
| | | | | | | | | | | | | | | | | | | | * removed code duplication * changelog entry, adopt tests for changes
* | | | Merge pull request #7495 from GULPF/fix-fill-bugDominik Picheta2018-04-041-3/+24
|\ \ \ \ | | | | | | | | | | Fix algorithm.fill for empty input
| * | | | Fix algorithm.fill for empty inputOscar Nihlgård2018-04-041-3/+11
| | | | |
| * | | | Move algorithm tests away from kochOscar Nihlgård2018-04-041-0/+13
| | |/ / | |/| |
* | | | Fix documentation link for set type (#7465)Roman Ovseitsev2018-04-031-1/+1
| | | |
* | | | Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2018-04-039-10/+79
|\ \ \ \
| * | | | Fix compiler stuck on waiting C/CPP backends. (#7472)Eugene Kabanov2018-04-022-1/+12
| | |_|/ | |/| |
| * | | Merge pull request #7459 from arnetheduck/posix-rlimit-nofileDominik Picheta2018-04-024-8/+10
| |\ \ \ | | | | | | | | | | RLIMIT_NOFILE as posix const
| | * | | RLIMIT_NOFILE as posix constJacek Sieka2018-04-014-8/+10
| | | |/ | | |/|
| * | | Merge pull request #7336 from yglukhov/ipaddr-sockaddr-conversionsDominik Picheta2018-04-023-1/+45
| |\ \ \ | | | | | | | | | | Conversion procs for (IpAddress, Port) <-> (SockAddr, Socklen)
| | * | | Comments addressedYuriy Glukhov2018-03-242-1/+4
| | | | |
| | * | | More flexible fromSockAddr interfaceYuriy Glukhov2018-03-151-5/+9
| | | | |
| | * | | Fixed crash/interface. Added tests.Yuriy Glukhov2018-03-153-7/+11
| | | | |
| | * | | Convertion procs for (IpAddress, Port) <-> (SockAddr, Socklen)Yuriy Glukhov2018-03-141-0/+33
| | | | |
| * | | | Comparing datetimesdata-man2018-04-011-0/+12
| | |/ / | |/| |
* | | | C codegen: preparations for different seq and string implementationsAndreas Rumpf2018-04-032-7/+6
| | | |
* | | | sysstr.nim: fix minor typosAndreas Rumpf2018-04-021-2/+2
|/ / /
* | | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2018-03-305-14/+143
|\ \ \
| * | | Add some missing things to dom.nimtreeform2018-03-291-0/+44
| | | | | | | | | | | | Add window.performance, window.performance.now(), window.devicePixelRatio, window.scrollX and Y, style.overflowX and Y, node.getBoundingRect.
| * | | Fixes #7433.Dominik Picheta2018-03-291-0/+10
| | | |
| * | | Merge pull request #7075 from lcrees/get_defaultDominik Picheta2018-03-291-13/+80
| |\ \ \ | | | | | | | | | | Add default argument to tables.getOrDefault
| | * | | Add default argument to 'tables.getOrDefault'lcrees2018-01-131-13/+80
| | | | |
| * | | | Merge pull request #7423 from alehander42/feature-disable-param-filteringDominik Picheta2018-03-291-1/+6
| |\ \ \ \ | | | | | | | | | | | | Unittest param filtering
| | * | | | Disable param filteringAlexander Ivanov2018-03-271-1/+6
| | | | | |
| * | | | | net.connect (with timeout), raise error on connect failureGraham Fawcett2018-03-281-0/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Under Linux (probably POSIX), the current code tests for timeout, but does not test for connection failure. connectAsync() returns succesfully upon an EINPROGRESS result; but at this point, the connection state is still unknown. After selectWrite() is done, we need to test the socket for errors again.
* / / / / further steps in implementing sink parameters; refs #7041Araq2018-03-302-0/+10
|/ / / /
* | | | added toOpenArray builtin for zero-copy slices; syntax sugar yet to comeAraq2018-03-241-0/+10
| | | |
* | | | mysql.nim: fixes how the DLL version loading worksAndreas Rumpf2018-03-241-2/+2
| | | |
* | | | Add an example to the `dynlib` module docEuan T2018-03-211-0/+43
| | | | | | | | | | | | Following a quesiton on Gitter about loading libraries dynamically based upon some runtime parameter, I noticed there's no documentation on the `dynlib` module for something that's quite common.
* | | | libssl.so.44 fix (#7358)Solitude2018-03-201-1/+1
| | | |
* | | | Merge pull request #7356 from GULPF/parseXml-stringDominik Picheta2018-03-181-10/+15
|\ \ \ \ | | | | | | | | | | Add string overload for parseXml
| * | | | Add string overload for parseXmlOscar Nihlgård2018-03-181-10/+15
| | |_|/ | |/| |
* | | | fix allocator corruption for large sizes (#7338)jcosborn2018-03-171-36/+45
| | | | | | | | | | | | | | | | | | | | | | | | * fix allocator corruption for large sizes * allow large chunks to coalesce and added test case * use correct constants in MaxBigChunkSize
* | | | fixes #7347, asyncfile.getFileSize (#7354)andri lim2018-03-171-0/+4
|/ / / | | | | | | | | | | | | | | | * fixes #7347 * fixes #7347
* | | More flexible lowerBound interface (#7344)Yuriy Glukhov2018-03-161-1/+1
| | |
* | | Add CommentStmt to astGenRepr (#7313)PMunch2018-03-161-2/+2
| | | | | | | | | | | | | | | | | | * Added codeRepr and dumpCode to the macros module. This allows those writing macros to write examples, get the code to generate the AST for that example, and then modify that code to be dynamic with the macro function.
* | | [Documentation] free -> dealloc (#7334)WhiteDuke2018-03-161-3/+3
| | |
* | | json.nim: documentation copy&paste issueAndreas Rumpf2018-03-161-1/+1
| |/ |/|
* | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2018-03-123-26/+72
|\ \
| * | FIXUP: Removed +1 causing substr slicing to skip chars on first iteration of ↵ryanc-signiq2018-03-081-1/+6
| | | | | | | | | | | | while loop (#7312)
| * | Add ability for users to elide ':' or '=' when CLI authors pass a (#7297)c-blake2018-03-081-22/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add ability for users to elide ':' or '=' when CLI authors pass a non-empty partial symbol table. Behavior should be identical to the old behavior if empty partial symbol tables are passed. "Partialness" of the symbol table refers to the fact that one need only specify option keys that are toggles/booleans/do not take arguments, hence the "NoArg" suffixes in shortNoArg and longNoArg. commandLineParams() returns seq[TaintedString], so use that consistently in getopt() and initOptParser(seq[TaintedString]) dropping the taint at the quoting stage just as with the paramStr() logic. Fix capitalization inconsistency of cmdLongOption. Export OptParser.cmd and OptParser.pos so that, at least *in principle*, users of this API can handle "--" option processing termination or some "git-like" sub-command stop word with a separate option sub-syntax. { Eg., ``case p.key of "": echo "trailing non-option args: ", p.cmd[p.pos..^1]`` or ``case p.kind of cmdArgument: if p.key == "mysubcmd": ...``. } Really, searching for the last delimiter before p.pos is probably needed to frame the trailing text..Not the nicest API, but still possible with effort. * Make requested changes from string to seq[char] (see https://github.com/nim-lang/Nim/pull/7297) * Document new behavior and elaborate on some special cases. * NoArg => NoVal to be less ambiguous/more clear. * Add more documentation and an example snippet. * Tweak language. Clarify still using ':'/'=' is ok. * Add a test case for new NoVal behavior.
| * | lib/system: Fix programResult documentation (#7307)alaviss2018-03-071-3/+3
| | |
* | | fixes httpclient documentation commentAraq2018-03-121-1/+1
|/ /