summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* rename SystemError to CatchableError in order to avoid breaking Nimble and ↵Araq2018-08-101-4/+4
| | | | probably lots of other code
* rework the exception hierarchy; refs #8363Andreas Rumpf2018-08-102-75/+35
|
* deprecated regionized pointersAraq2018-08-101-4/+2
|
* fixes more nil string bugsAraq2018-08-083-8/+10
|
* make async tests green for LinuxAraq2018-08-081-2/+0
|
* fixes a long standing nil bug in substrAraq2018-08-081-0/+1
|
* strutils: minor code cleanupAraq2018-08-081-4/+1
|
* deprecate isNil for strings and seqsAraq2018-08-081-4/+4
|
* Make mapIt work on openArray's (#8543)LemonBoy2018-08-071-3/+30
|
* fixes #6255, add `system.ashr` arithmetic right shift (#8547)andri lim2018-08-071-0/+17
|
* Stricter signature for countdown/countup (#8549)Oscar Nihlgård2018-08-071-3/+3
|
* fixes #8421, fixes #7968, Nim compiler compiles with MSVC C89 version (#8556)andri lim2018-08-072-25/+59
|
* Iterator over heap instances (#8548)Emery Hemingway2018-08-071-8/+14
| | | | | Provide "dumpHeapInstances" for iterating over type statistics of heaps. This can be used to present structured heap information as an alternative to "dumpNumberOfInstances".
* OSX: make tioslectors test greenAndreas Rumpf2018-08-061-1/+4
|
* remove redundant test for nil before `add` (#8460)Timothee Cour2018-08-061-2/+0
|
* fixes #5617, 'copyLineInfo' addition (#8523)andri lim2018-08-051-0/+3
|
* Merge pull request #8364 from timotheecour/pr_expandTildeDominik Picheta2018-08-051-14/+12
|\ | | | | ospaths.expandTilde: handle ~ correctly; refactor to use DirSep, AltSep
| * ospaths.expandTilde: handle ~ correctly; refactor to use DirSep, AltSepTimothee Cour2018-07-181-14/+12
| |
* | fixes 7833 (#8533)Andreas Rumpf2018-08-052-10/+74
| | | | | | | | | | | | | | | | | | | | | | * fixes #7833; still to-do: fix setLen * make tests green again * also fixes setLen and string concats; refs #7833 * change formating to avoid a compiler warning * emit the write barrier also for addChar * fixes yet another regression * make setLengthStr compile for the old version * make growobjcrash complete earlier
* | Try to let memTracker compile (#8502)Christopher Dunn2018-08-052-11/+11
| |
* | make 'echo' threadsafe on Windows; fixes #8511Araq2018-08-041-0/+8
| |
* | fixes #7827, bindSym enhancement (#8499)andri lim2018-08-021-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bindSym power up, working prototype * update bindSym doc * add bindSym test * fix some typo * fix bindSym doc * get rid of specialops field from vm * add experimental: dynamicBindSym
* | fixed #7894 (#8496)jcosborn2018-08-011-1/+2
| | | | | | make system tests run properly
* | `lineInfoObj` (and `check`, `expect`) now return absolute paths (#8466)Timothee Cour2018-07-311-0/+1
| |
* | 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
| |
* | Added c_abort to ansi_c (#8449)Yuriy Glukhov2018-07-301-0/+3
| |
* | 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)
* | 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