summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Update example code for UDP socketsEuan T2018-07-301-1/+1
|
* fixes #8468, stdlib.encodings.convert not crash anymore on windows (#8470)andri lim2018-07-301-4/+4
|
* Add checks for random.rand() (#8431)Quelklef2018-07-301-2/+15
|
* Fixed typo introduced in #8428 that leads to InvalidIdent assertion failure ↵Yuriy Glukhov2018-07-301-1/+1
| | | | (#8464)
* 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
|
* 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 #8338Andreas Rumpf2018-07-171-1/+1
|
* Fix setCursorPos and setCursorXPos on POSIX (#8310)John Novak2018-07-171-2/+2
|
* 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
* Don't depend on string.h in codegen (#8299)Yuriy Glukhov2018-07-131-2/+1
|
* 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
* Fix terminal.nim to be GCSAFE. (#8296)Eugene Kabanov2018-07-121-85/+73
| | | * Also fix deprecated callsite().
* 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
|
* 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
* 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
|/
* make tmemfile2 work againAraq2018-07-061-1/+2
|
* simplify typetraits.nim test (#8193)Timothee Cour2018-07-031-6/+1
|
* 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
|
* Unexport times.stringifyUnit (#8168)Oscar Nihlgård2018-07-011-8/+6
|
* execCmdEx stderr redirection (#8162)Timothee Cour2018-07-011-3/+1
|
* Fixes #8100 (#8101)Oscar Nihlgård2018-06-291-1/+6
|
* Clarify the docs for tables.del (#8134)Yuriy Glukhov2018-06-271-4/+6
|
* Nintendo switch support (#8069)Joey2018-06-274-3/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add config section for Nintendo Switch * Add compiler configuration for Nintendo Switch and it's CPU * Add specific lib code for Nintendo Switch * Add GC support for Nintendo Switch * Update changelog for Nintendo Switch * Update changelog with more info about fixed paths * Cleaned up GC memory management a bit * Relocate docs for Switch * Rename aarch64NoneElfGcc to nintendoSwitchGCC * Remove armv8a57 * Fix installer.ini * Reuse code in linux and amd64 * Add posix defs for nintendo switch * Add more defined sections for nintendo switch * Remove old comment * Add what's not supported for Nintendo Switch docs * Make nintendoswitch == posix * Remove DEVKITPRO references from nim.cfg * Make PR extccomp changes * Remove Result type alias * Add separate switch consts file * Update docs for nintendo switch * Fix travis errors with undefined consts and add correct wait.h procs
* Merge branch 'devel' into typedesc-reformsAndreas Rumpf2018-06-265-66/+141
|\
| * Support setting foreground/background colors to terminal defaults (#8073)Kaushal Modi2018-06-241-8/+32
| | | | | | | | | | | | | | | | | | | | | | | | * Support setting foreground/background colors to terminal defaults Adds fgDefault to ForegroundColor and bgDefault to BackgroundColor enums. For Windows console, the default foreground color is assumed to be white, and the default background color black. * Add default fg/bg color caching for Windows Console
| * Minor doc fixFederico Ceratto2018-06-231-1/+1
| |
| * Change inconsistent paramaters in times.nim (#8091)Oscar Nihlgård2018-06-231-28/+19
| |
| * Pegs AST read access (#8050)gemath2018-06-191-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | * Make PEG AST nodes readable from outside the module. * Added a test module for the pegs stdlib module. * Edited changelog. * Renamed ``sons`` iterator to ``items``, added ``pairs``, inlined both. * Updated entry and moved it to the right category.
| * Merge pull request #7771 from nim-lang/nim-in-action-fixesAndreas Rumpf2018-06-191-0/+4
| |\ | | | | | | Higher Nim in Action coverage plus regression fix.
| | * Workaround VM bug in strutilsDominik Picheta2018-06-171-2/+3
| | |
| | * Exports unicode.toUpper/toLower in strutils module.Dominik Picheta2018-06-171-0/+3
| | |
| * | Convert styledWriteLine and styledEcho to templatesKaushal Modi2018-06-181-35/+7
| | | | | | | | | | | | | | | | | | | | | | | | This also fixes a bug in the styledWriteLine behavior where the background color leaked onto the next newline if that command did not end with resetStyle. Now it is not necessary to end styledWriteLine calls that set BackgroundColor to end in resetStyle.
| * | Add styledWrite macroKaushal Modi2018-06-181-12/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Move the tests block to the end of the file - Fix the older tests - Add tests for existing styledEcho - Add new tests for styledWrite Fixes https://github.com/nim-lang/Nim/issues/8046.
| * | Add support for italic and strikethrough ANSI escape codes (#8048)Kaushal Modi2018-06-171-3/+6
| |/ | | | | | | | | | | | | \e[3m -> italic \e[9m -> strikethrough On terminals not supporting italic text, the text is shown in reverse instead, and on terminals not supporting strikethrough text, the text is shown as is.
* / stdlib workZahary Karadjov2018-06-162-8/+65
|/
* Add MemMapFileStream. Fixes in memFiles. (#7944)Dmitry Atamanov2018-06-141-9/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add MemMapFileStream * Added tests * Fixed bug in memfiles (zero index for string) * Added flush to changelog * Attempt to fix Win's nuances * Fix attempt to fix * Continue... * And again... * Reworked tests (all for win on Win) * Fixes in flush (Win) * Replace fn vars to consts * Added the attempts parameter to the flush * Replace while to for * Move to memfiles * Use Natural instead of uint * Better error messages for append mode. Handle specific cases.