| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
logging: make fmtStr public to be used in user defined loggers
|
| | |
|
|\ \
| | |
| | | |
Optionals
|
| | | |
|
| | |
| | |
| | |
| | | |
Done on request, see https://github.com/Araq/Nim/pull/2762#issuecomment-105071496
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Remove dead code in findAll proc
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix Boehm GC on linux
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | |
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix GC scanning of registers on x86_64 architectures.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | | | |
| | | | | |
Added peeking procedures to streams
|
| | | | |
| | | | |
| | | | | |
All peeks should be covered by defer now, I think
|
| | | | |
| | | | |
| | | | | |
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.
|
| | | | | |
|
| | | | |
| | | | |
| | | | | |
Adds peeking to streams, which is just like reading, but at the end, the stream position hasn't changed.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Small sequence fix for algorithm.nim
|
| | | | | |
| | | | | |
| | | | | | |
Since #853 was fixed, this should work fine. The `result = @[]` was swapped to the same syntax, too.
|
| | | | | | |
|
| |_|_|/ /
|/| | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
nanoant/patch/macros-introduce-typenode-for-typedesc
Macros: Introduce typeNode(t: typedesc): NimNode
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Make a few json procs inline, improves performance significantly
|
| | |/ / / /
| |/| | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Improved performance of json rendering with `$`
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| |\| | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fixed 'milliseconds' spelling in code and docs
|
| | |/ / / /
| |/| | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Fill array with same values (was issue #2462)
|
| | |_|_|/
| |/| | | |
|
| | | | | |
|
| |/ / /
|/| | |
| | | | |
`people` needs `var`
|