summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* WIP: nothing worksAndreas Rumpf2018-08-052-5/+6
|
* allows a destructor to be attached to a tyString/tySequenceAndreas Rumpf2018-07-272-9/+20
|
* allocators: add deallocAll proc pointerAndreas Rumpf2018-07-271-0/+1
|
* --gc:destructors: next steps; WIPAndreas Rumpf2018-07-213-21/+29
|
* fix merge conflictAndreas Rumpf2018-07-1818-680/+1048
|\
| * fixes #8223Andreas Rumpf2018-07-171-3/+2
| |
| * fixes #8338Andreas Rumpf2018-07-171-1/+1
| |
| * Fix setCursorPos and setCursorXPos on POSIX (#8310)John Novak2018-07-171-2/+2
| |
| * Add extended baud rates to posix/termios (#8322)Jeff Ciesielski2018-07-161-0/+15
| | | | | | | | 115200 is really common. I'd like to get support in nimserial, but I'm guessing it would help to have support in the stdlib first.
| * fix #8273 times format regression, and fix inconsistent ordering in 1 format ↵Timothee Cour2018-07-161-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | overload (#8290) * Fix issue #8273 [regression] [times.format] Error: attempting to call undeclared routine: 'format' * rename format to f for consistency with other overloads and avoid similar bugs as #8273 * breaking change since PR 8094: changed format*(f: TimeFormat, dt: DateTime) to format*(dt: DateTime, f: TimeFormat) for consistency w other overloads * use consistent ordering for times.parse procs
| * add SSL_set_SSL_CTX for SNI(Server Name Indication) (#8308)momf2018-07-131-0/+1
| | | | | | | | | | | | * add SSL_set_SSL_CTX for SNI * fix SSL_set_SSL_CTX
| * Don't depend on string.h in codegen (#8299)Yuriy Glukhov2018-07-137-23/+71
| |
| * fix issue #8251 ospaths.isAbsolute: out of bound errors (#8291)Timothee Cour2018-07-131-2/+12
| | | | | | | | | | | | | | | | * fix issue #8251 ospaths.isAbsolute: out of bound errors * address comments * add reference to a spec for quirky macos paths
| * Do not consider enums with holes as ordinals (#8264)LemonBoy2018-07-121-3/+3
| | | | | | | | | | | | Make the compiler behave consistently with respect to what's written in the manual. Fixes #1239
| * Fix terminal.nim to be GCSAFE. (#8296)Eugene Kabanov2018-07-121-85/+73
| | | | | | * Also fix deprecated callsite().
| * Fix undefined PObject referenceJoey Yakimowich-Payne2018-07-121-1/+1
| |
| * Make the Style enum a proper Ordinal (no holes) (#8282)Kaushal Modi2018-07-121-4/+7
| | | | | | The Style enum needs to be an Ordinal so that it can be used in sets.
| * Fixed $ on None[T] for T with .name (#8293)Quelklef2018-07-121-1/+15
| |
| * add os.absolutePath; fixes #8174 (#8213)Timothee Cour2018-07-101-0/+20
| | | | | | | | | | | | | | | | | | | | * add os.absolutePath * fixup * fixup * Fixes absolutePath error message.
| * Fixes #5880. (#7229)Dominik Picheta2018-07-101-1/+1
| |
| * New implementations of times.parse & times.format (#8094)Oscar Nihlgård2018-07-092-556/+824
| |
| * Custom pragmas in proc types (#8205)cooldome2018-07-091-1/+3
| |
* | WIP: strings/seqs based on destructorsAndreas Rumpf2018-07-174-116/+158
| |
* | more progress on destructor based stringsAndreas Rumpf2018-07-1310-217/+207
| |
* | system.substr is not implemented with compilerProcs anymoreAndreas Rumpf2018-07-114-67/+149
| |
* | mmdisp: code cleanupsAndreas Rumpf2018-07-111-64/+59
| |
* | string comparisons don't have to know the strings representationAndreas Rumpf2018-07-101-21/+8
| |
* | refactorings in preparations for the new runtimeAndreas Rumpf2018-07-103-285/+295
|/
* Testament should run tests with no action (#8232)genotrance2018-07-082-21/+23
| | | | | | * Testament should run tests with no action * Fix strutils tests for JS
* workaround issue #8223 nim doc fails with doAssertRaises (#8245)Timothee Cour2018-07-081-4/+7
|
* Add proc toOpenArray[byte] for strings (#7820)Dmitry Atamanov2018-07-071-1/+2
|
* Put back deprecation path for SomeRealMamy Ratsimbazafy2018-07-071-0/+2
| | | was wrongly deleted in https://github.com/nim-lang/Nim/commit/c7298561c199255facc562402700322360408179
* Merge pull request #6587 from FedericoCeratto/normalizePathDominik Picheta2018-07-071-2/+43
|\ | | | | Add normalizePath and tests
| * Add normalizePath and testsFederico Ceratto2018-07-061-2/+43
| |
* | hotfix: fixes possible out of bounds access in ospaths.joinPathAraq2018-07-071-1/+1
|/
* system.nim: minor code style changeAraq2018-07-061-1/+1
|
* Merge branch 'devel' of github.com:nim-lang/Nim into araq-develAraq2018-07-063-35/+124
|\
| * Use '\L' instead of '\n' in system for backwards compatibility.Dominik Picheta2018-07-061-1/+1
| | | | | | | | See https://github.com/nim-lang/packages/pull/785.
| * Rewrite the memory management code for Nintendo Switch (#8169)Joey2018-07-052-34/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewrite the memory management code for Nintendo Switch The first implementation was naive and did not account for multiple memory allocations. However, this implementation may still be incomplete. Currently, when running applications, the code runs fine. When the application is exited via code (the end of the program is reached or quit() is called), the Switch will crash. Not sure why this happens, but I suspect it is from Nim memory allocations. I suspect the memory allocations because when I compile the helloworld application without any Nim allocations (just C function calls) and use `--gc:none` as a compile option, the application exits fine.
* | make tmemfile2 work againAraq2018-07-061-1/+2
| |
* | restore deprecated PNimrodNode in order to make the CIs happyAndreas Rumpf2018-07-051-0/+2
| |
* | Merge branch 'devel' into araq-develAndreas Rumpf2018-07-044-28/+27
|\|
| * simplify typetraits.nim test (#8193)Timothee Cour2018-07-031-6/+1
| |
| * Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178)Vindaar2018-07-031-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * deprecate `0c`, `0C` prefix for octal literals Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for octal literals to bring the literals in line with the behavior of `parseOct` from parseutils. * add `msgKind` arg to `lexMessageLitNum` for deprecation messages * change literal tests to check all valid integer literals Also adds the `tinvaligintegerlit3` test to test for the (still) invalid `0O` prefix.
| * asyncftpclient: add missing file.close to retrFilezargot2018-07-021-0/+1
| |
| * Fix os.unixToNativePath proc returns wrong result(#8179) (#8181)Tomohiro2018-07-021-1/+1
| | | | | | | | | | | | * Fix os.unixToNativePath proc returns wrong result(#8179) * Add tests for unixToNativePath
| * Fixed #8173 (#8175)Tomohiro2018-07-021-1/+4
| |
* | Merge branch 'devel' into araq-develAndreas Rumpf2018-07-014-16/+17
|\|
| * Unexport times.stringifyUnit (#8168)Oscar Nihlgård2018-07-011-8/+6
| |
| * execCmdEx stderr redirection (#8162)Timothee Cour2018-07-011-3/+1
| |