summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Don't use parseutils.parseInt in the times module (#10028)Oscar Nihlgård2018-12-221-39/+67
|
* appveyor: make the build green againAndreas Rumpf2018-12-221-3/+8
|
* IntSet documentation notes (#10051)Alexis Hope2018-12-211-19/+28
|
* Stop false positives in distros.detectOs (#10062)Taylor Hoff2018-12-211-3/+3
| | | | | | * Stop false positives in distros.nim * Fix bad string comparison on line 176 of distros.nim
* clarify doc for <= on tuple uses lexicographic order (#10069)Timothee Cour2018-12-211-4/+4
|
* Fixed insert for nil seq in js (#10068)Yuriy Glukhov2018-12-211-1/+1
|
* C++: make async tests green on WindowsAraq2018-12-211-1/+1
|
* Add system.$(HSlice) and fix #7898 (#8670)hlaaf2018-12-211-1/+11
| | | | | | * Add system.$(HSlice) and fix #7898 * Surround system.$(HSlice) with spaces
* fixes #10066Araq2018-12-211-19/+27
|
* os.walkDir: correctly evaluate paths when relative = true (#10057) [backport]alaviss2018-12-211-4/+5
|
* Add call to hostnamectl in detectOsImpl (#10048)Taylor Hoff2018-12-201-3/+4
|
* GC: avoid pathological behaviour; fixes #10040 [backport] (#10052)Andreas Rumpf2018-12-201-9/+9
|
* [json] document fact that key ordering is preserved (#10020)Timothee Cour2018-12-201-0/+7
|
* fix test failureTimothee Cour2018-12-191-2/+4
|
* fix #8255 numerous issues with splitFileTimothee Cour2018-12-191-4/+13
|
* strutils: minor code cleanupAraq2018-12-191-1/+0
|
* Update osproc.nim (#10043)Timothee Cour2018-12-191-1/+1
|
* much simpler implementation of constant tuple declarationsAndreas Rumpf2018-12-191-4/+3
|
* Const tuple unpacking (#9964)Neelesh Chandola2018-12-191-1/+2
| | | | | | | | | | * tuple unpacking is now supported for consts * Move nkConstTuple to the end of TNodeKind * Add nnkConstTuple in macros.nim * Fix Formatting
* Fixes #3060 and adds error checking for invalid else branches in object ↵Andreas Rumpf2018-12-191-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | variants (#9957) * Fix semRecordCase * Fix ftpclient.nim * Check for ordinal type * Check tyRange for exhaustiveness
| * Merge remote-tracking branch 'upstream/devel' into record-caseNeelesh Chandola2018-12-132-5/+0
| |\
| * | Fix ftpclient.nimNeelesh Chandola2018-12-131-1/+0
| | |
* | | Give better error message when profiler and memProfiler used at same time ↵Neelesh Chandola2018-12-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | (#9948) * Give better error message when profiler and memProfiler used at same time * Move to profiler.nim
* | | undo last commit (meant to send a PR instead)Timothee Cour2018-12-181-1/+1
| | |
* | | Update osproc.nimTimothee Cour2018-12-181-1/+1
| | |
* | | [os] fix #10017 regression, fix #10025 regression (#10018)Timothee Cour2018-12-181-1/+2
| | | | | | | | | | | | | | | * [os] fix #10017 regression * [os] fix #10025 regression
* | | see what breaks with a global config.nims (#10016)Andreas Rumpf2018-12-181-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | * see what breaks with a global config.nims * make tests green with a global config.nims file
| * | | make tests green with a global config.nims fileAraq2018-12-171-1/+1
| | | |
* | | | add `getCurrentCompilerExe` to vmops (eg allows to get nim compiler at CT); ↵Timothee Cour2018-12-182-1/+9
| | | | | | | | | | | | | | | | add tests for vmops (#9925)
* | | | Adding more documentation to logging.nimIstvan2018-12-171-1/+6
|/ / / | | | | | | Just minor addition to the documentation with the use of operators
* | | fixes #9120Araq2018-12-162-2/+2
| | |
* | | fixes #9420Araq2018-12-161-5/+6
| | |
* | | fixes #8991, fixes #4446Araq2018-12-161-2/+2
| | |
* | | fixes #9153Araq2018-12-161-3/+3
| | |
* | | fix experimental/diff documentation rendering (#9983)alaviss2018-12-151-5/+9
| | | | | | | | | also remove references to non-existant parameters
* | | --gc:destructors: baby stepsAndreas Rumpf2018-12-152-10/+5
| | |
* | | Allow an escape hatch for platform specific flags/default override (#9968)c-blake2018-12-141-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow an escape hatch for platform specific flags (of which there are many, for example MAP_POPULATE itself is a Linux-only thing, not other Unix). Continue with same defaults as before in this commit, but that really should be changed to *not* include MAP_POPULATE. While pre-faulting all the pages can be useful sometimes *if* you know you're going to access all the data, it is highly unlikely to be what users expect the default to be. For some things all that up front work is 1000s of times slower than being lazy/on-demand/only ever faulting parts of the file. Even the MAP_POPULATE fan who originally in 2014 committed to this file defaulted it to off (but turned it always-on as a "temporary" work around for some long since gone/mutated compiler issue). Anyway, at least something like this `mapFlags` gives users the ability to override the poor default choice or activate any other idiosyncratic platform-specific features. * Use simple, efficient default flags, but also accept whatever the open/mapMem caller specifies. Save flags in MemFile so they can be used in `resize`. This field should not need exporting like the others -- callers can always save whatever values they pass -- but we include a cautionary comment in case anyone ever asks for a `*` there, as well as for documentation. Also make documentation for ``mapFlags`` in open more likely to inspire care.
* | | added parseopt.remainingArgs; refs #9951Araq2018-12-141-0/+5
| | |
* | | timers.nim: avoid parser warningAraq2018-12-141-1/+1
| | |
* | | os.nim: use the new pathnorm.normalizePath implementationAraq2018-12-142-31/+39
| | |
* | | fixes joinPath regressionsAraq2018-12-132-2/+10
| | |
* | | os.nim: big refactoring, use the new pathnorm that was extracted by ↵Araq2018-12-133-151/+319
| |/ |/| | | | | compiler/pathutils.nim; added os.relativePath
* | Give error when case has an else branch even though all cases are already ↵Neelesh Chandola2018-12-132-5/+0
|/ | | | | | | | | covered (#9930) * Give error when case has an else branch even though all cases are already covered. * Don't check for invalid else for type tyFloat..tyFloat128, tyString, tyError * Remove unnecessary else in unittest.nim * Fix sockets.nim
* Merge pull request #9915 from zevv/asyncnet-unixDominik Picheta2018-12-123-7/+66
|\ | | | | Added basic AF_UNIX support to asyncnet.
| * Added basic AF_UNIX support to asyncnet.Ico Doornekamp2018-12-093-7/+66
| | | | | | | | | | | | | | | | Unfortunately this required some code duplication because the doConnect() from asynccommon.nim only works with addrInfo which does not make sense for AF_UNIX. makeUnixAddr() was moved to nativesocket.nim and exported
* | fix merge conflictAraq2018-12-122-4/+49
|\ \
| * \ Merge pull request #9552 from recloser/strmisc-docAndreas Rumpf2018-12-121-1/+28
| |\ \ | | | | | | | | Add runnableExamples for strmisc procs and a better doc for expandTabs
| | * | Add runnable examples for strmisc procs and a better doc for expandTabsrecloser2018-10-291-1/+28
| | | |
| * | | Merge branch 'devel' into sorted_deduplicateAndreas Rumpf2018-12-1214-310/+773
| |\ \ \
| * | | | Add the parameter isSorted for the sequtils.deduplicatedata-man2018-12-071-3/+21
| | | | |