summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fixes #7492 excessiveStackTrace:on shows non-absolute file in stacktrace (#8469)Timothee Cour2018-07-301-1/+3
|
* Fix links to manual.html in the system module documentation (#8467)Hugo Locurcio2018-07-281-3/+3
| | | | The HTML anchor IDs were changed, which made those links not link to the appropriate section anymore.
* Allow async stdinYuriy Glukhov2018-07-255-48/+51
|
* fix issue #8349 FileSystemCaseSensitive should be false on OSX (#8411)Timothee Cour2018-07-231-1/+6
|
* addresses issue #8391 show runtime context on some failed operations (#8393)Timothee Cour2018-07-232-5/+5
|
* Use enum string values in times.nim (#8413)Oscar Nihlgård2018-07-231-16/+19
|
* Add application/wasm to mimetypes.nim (#8389)Zachary Carter2018-07-211-0/+1
| | | | | | | ``` To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads. ``` http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
* add sets.pop procedure (analogue to python) (#8383)skilchen2018-07-211-0/+12
|
* sequtils: remove some aligning spaces around == to silence warningsskilchen2018-07-211-13/+13
|
* Implements alloc/dealloc counters for better leak debugging. (#8384)Dominik Picheta2018-07-212-0/+16
|
* fixes #8371, macros.hasCustomPragma doesn't crash anymore (#8378)andri lim2018-07-201-1/+3
| | | | | | * fixes #8371, macros.hasCustomPragma doesn't crash anymore * fix macros.hasCustomPragma
* Better doc search (#8260)Ray Imber2018-07-201-4/+8
| | | | | | | | | | | | | | | | | | * Modified the doc generation to produce a custom data attribute to allow for better search functionality * Implemented fuzzy matching for the Nim Doc search instead of the simple regex match. * Fix to the WordBoundry state transition from code review with @Varriount. Also removed silly testing template that is no longer used. * Update fuzzysearch.nim * Update fuzzysearch.nim * Update fuzzysearch.nim * Update dochack.nim * Update dochack.nim
* fixes #8037, json.to support object with distinct types (#8086)andri lim2018-07-191-5/+30
| | | | | | * add distinct types to json 'to' macro * fix json 'to' macro and add more test
* 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
|
* 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
|\|