summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Don't inspect typedescsFlaviu Tamas2015-05-261-6/+7
|
* Rename optionals module to optionsFlaviu Tamas2015-05-261-0/+0
|
* Merge pull request #2697 from lyro/develDominik Picheta2015-05-261-1/+1
|\ | | | | logging: make fmtStr public to be used in user defined loggers
| * logging: make fmtStr public to be used in user defined loggersFrank Fischer2015-05-111-1/+1
| |
* | Merge pull request #2762 from flaviut/optionalsAndreas Rumpf2015-05-261-0/+160
|\ \ | | | | | | Optionals
| * | Amend optionals docstringFlaviu Tamas2015-05-261-2/+2
| | |
| * | Remove Oleah Prypin as authorFlaviu Tamas2015-05-241-2/+0
| | | | | | | | | | | | Done on request, see https://github.com/Araq/Nim/pull/2762#issuecomment-105071496
| * | Use custom exception for option unpackFlaviu Tamas2015-05-191-5/+6
| | |
| * | Simplify optionals testsFlaviu Tamas2015-05-191-47/+42
| | |
| * | Simplify optionals moduleFlaviu Tamas2015-05-191-156/+60
| | |
| * | Implement optionals moduleOleh Prypin2015-05-191-0/+262
| | |
* | | Merge pull request #2795 from rgv151/patch-1Andreas Rumpf2015-05-261-2/+1
|\ \ \ | | | | | | | | Remove dead code in findAll proc
| * | | Remove dead code in findAll procBruce Doan2015-05-261-2/+1
| | | |
* | | | Merge pull request #2803 from avsej/fix-boehm-gc-on-linuxAndreas Rumpf2015-05-261-2/+1
|\ \ \ \ | | | | | | | | | | Fix Boehm GC on linux
| * | | | Fix Boehm GC on linuxSergey Avseyev2015-05-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation ---------- Some linuxes (like Fedora) actually multiarch. And it means that libgc.so.1 not always installed into /usr/lib. It is better to entrust this job to ld and system configuration for it. Modification ------------ Use relative path for Boehm GC on 'other' OS (and linux in particular) Result ------ It is possible now to build nim with --gc:boehm on linux
* | | | | Fix guard for streams testsFlaviu Tamas2015-05-251-1/+1
| | | | |
* | | | | Clean up JSON testsFlaviu Tamas2015-05-251-25/+4
|/ / / /
* | | | Fix peekLine() for streamsSergey Avseyev2015-05-261-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation ---------- peekLine procs use defer to reset position in the stream, but it also make them always return nil. Modification ------------ Explicitly set result value in peekLine, and write missing unit test. Result ------ Tests are green and bug is fixed
* | | | Remove trailing spacesSergey Avseyev2015-05-251-47/+47
|/ / /
* | | Corrected various links within documentationapense2015-05-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Corrected `noSideEffect pragma` links in lib/system (The newer documentation uses slightly different links) Corrected `noSideEffect pragma` in types links to match the updated link names Minor link adjustment in stmts to match the newer link names
* | | system.nim -> disabled Uninit warningsHOLYCOWBATMAN2015-05-241-2/+2
| | |
* | | Merge pull request #2671 from rbehrends/fix-register-scanAndreas Rumpf2015-05-252-0/+18
|\ \ \ | | | | | | | | Fix GC scanning of registers on x86_64 architectures.
| * | | Fix GC scanning of registers on x86_64 architectures.Reimer Behrends2015-05-072-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is possible for jmp_buf to not be word-aligned or addresses in the register dump to not be word-aligned. This can result in either addresses in registers being missed or even addresses on the stack past the register area not being scanned properly.
* | | | Merge pull request #2543 from apense/patch-1Andreas Rumpf2015-05-251-1/+98
|\ \ \ \ | | | | | | | | | | Added peeking procedures to streams
| * | | | Added defer statementapense2015-05-241-1/+1
| | | | | | | | | | | | | | | All peeks should be covered by defer now, I think
| * | | | Rewrote some peeking proceduresapense2015-05-211-27/+4
| | | | | | | | | | | | | | | Use `defer`s and `read...` procs that are already in place. Someone should check that the `defer`s are written correctly. I'm new to using them.
| * | | | Update streams.nimapense2015-05-041-0/+10
| | | | |
| * | | | Added peeking procedures to streamsapense2015-04-121-1/+111
| | | | | | | | | | | | | | | Adds peeking to streams, which is just like reading, but at the end, the stream position hasn't changed.
* | | | | Merge pull request #2733 from apense/patch-4Andreas Rumpf2015-05-251-3/+2
|\ \ \ \ \ | | | | | | | | | | | | Small sequence fix for algorithm.nim
| * | | | | Small sequence fix for algorithm.nimapense2015-05-151-3/+2
| | | | | | | | | | | | | | | | | | Since #853 was fixed, this should work fine. The `result = @[]` was swapped to the same syntax, too.
* | | | | | Fix bug with asyncdispatch.async and discard statements.Philip Witte2015-05-201-1/+1
| | | | | |
* | | | | | Fixes problems introduced by #2738. Closes 2755.Dominik Picheta2015-05-181-4/+6
| |_|_|/ / |/| | | |
* | | | | Merge pull request #2712 from ↵Dominik Picheta2015-05-171-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nanoant/patch/macros-introduce-typenode-for-typedesc Macros: Introduce typeNode(t: typedesc): NimNode
| * | | | | Macros: Introduce getType(t: typedesc): NimNodeAdam Strzelecki2015-05-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since typedesc are exception in macros and they are not implicitly converted to NimNode on macro call, we need some means to perform such conversion on demand. Fortunately it is as simple as declaring new magic "NGetType" proc with typedesc parameter. NOTE: Keeping actual macro exceptional behavior for typedesc is important, since it allows passing typedesc macro parameter to other procs or macros expecting type parameter. If typedesc parameter was implicitly converted, then we would lost this ability.
* | | | | | Merge pull request #2747 from def-/json-inlineDominik Picheta2015-05-171-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | Make a few json procs inline, improves performance significantly
| * | | | | | Make a few json procs inline, improves performance significantlydef2015-05-171-10/+10
| | |/ / / / | |/| | | |
* | | | | | Removes superfluous toUgly, documents toUgly better.Dominik Picheta2015-05-171-6/+4
| | | | | |
* | | | | | Merge pull request #2738 from onionhammer/develDominik Picheta2015-05-171-9/+50
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Improved performance of json rendering with `$`
| * | | | | Fixed indentation (2 spaces) part 2onionhammer2015-05-161-1/+1
| | | | | |
| * | | | | Fixed indentation (2 spaces)onionhammer2015-05-161-21/+21
| | | | | |
| * | | | | Added comment noting improved performance of non-pretty string conversiononionhammer2015-05-161-1/+2
| | | | | |
| * | | | | Fixed typoonionhammer2015-05-161-1/+1
| | | | | |
| * | | | | Merge branch 'devel' of https://github.com/Araq/Nimrod into develErik O'Leary2015-05-161-2/+1
| |\| | | |
| * | | | | Improved performance of "$" on jsonnodeErik O'Leary2015-05-151-9/+49
| | | | | |
* | | | | | Merge pull request #2732 from Perelandric/fix_milisecondsAndreas Rumpf2015-05-178-33/+38
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fixed 'milliseconds' spelling in code and docs
| * | | | | | Fixed 'milliseconds' spelling in code and docspdw2015-05-158-33/+38
| | |/ / / / | |/| | | |
* | | | | | Merge pull request #2701 from borisvassilev/fillDominik Picheta2015-05-161-0/+11
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Fill array with same values (was issue #2462)
| * | | | | Fill array with same values (was issue #2462)Boris Vassilev2015-05-121-0/+11
| | |_|_|/ | |/| | |
* | | | | Update algorithm.nimapense2015-05-141-2/+1
| | | | |
* | | | | Corrected sortedByIt exampleapense2015-05-141-1/+1
| |/ / / |/| | | | | | | `people` needs `var`