Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2851 from stefantalpalaru/gogc | Andreas Rumpf | 2015-06-16 | 4 | -7/+205 |
|\ | | | | | the Go GC (using the gccgo implementation) | ||||
| * | conditional TGenericSeq extension | Stefan Talpalaru | 2015-06-16 | 1 | -2/+4 |
| | | |||||
| * | TMemRegion -> MemRegion | Stefan Talpalaru | 2015-06-15 | 1 | -5/+6 |
| | | |||||
| * | cleanup | Stefan Talpalaru | 2015-06-15 | 1 | -5/+0 |
| | | |||||
| * | Merge branch 'devel' into gogc | Stefan Talpalaru | 2015-06-15 | 24 | -719/+839 |
| |\ | |||||
| * | | finalizer support | Stefan Talpalaru | 2015-06-15 | 1 | -0/+6 |
| | | | |||||
| * | | fix growObj() with strings | Stefan Talpalaru | 2015-06-09 | 1 | -0/+2 |
| | | | |||||
| * | | the Go GC - initial implementation | Stefan Talpalaru | 2015-05-31 | 4 | -6/+198 |
| | | | |||||
* | | | Added noUnhandledHandler | yglukhov | 2015-06-15 | 1 | -7/+9 |
| | | | |||||
* | | | Unhandled exceptions handling brought back. | yglukhov | 2015-06-15 | 1 | -0/+24 |
| | | | |||||
* | | | Fixed and slightly changed exception handling. | yglukhov | 2015-06-15 | 1 | -25/+4 |
| |/ |/| | |||||
* | | fixes #2909 | Araq | 2015-06-15 | 1 | -1/+1 |
| | | |||||
* | | Fixed copying of aggregates in JS. | yglukhov | 2015-06-11 | 1 | -22/+30 |
| | | |||||
* | | fixed threadpool and atomics to work with Visual Studio 32 and 64 bit | Spencer Stirling | 2015-06-09 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #2645 from def-/builtin_overflow | Andreas Rumpf | 2015-06-07 | 1 | -54/+122 |
|\ \ | | | | | | | Use builtin overflow functions of Clang and GCC (WIP, RFC) | ||||
| * | | Use -d:builtinOverflow for builtin overflow checks | def | 2015-05-08 | 1 | -141/+110 |
| | | | | | | | | | | | | | | | | | | | | | | | | of recent Clang and GCC >= 5.0. Maybe it's better that it's optional after all. GCC's code with builtin overflow checks seems to be a bit slower actually, while Clang's is 3 times faster. | ||||
| * | | Use builtin overflow functions of Clang and GCC (WIP, RFC) | def | 2015-05-03 | 1 | -0/+99 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This only works with recent Clang and GCC 5.0. Currently it doesn't work because __has_builtin can't be defined. This is totally ugly. But we can't reliably detect whether we can use the builtins from Nim, especially with cross-compiling where the user may be using an older compiler version. Switching this on/off manually with a define seems weird as well, this should work automatically. | ||||
* | | | Fixes compilation with --gc:markandsweep. | Dominik Picheta | 2015-06-04 | 1 | -1/+1 |
| | | | |||||
* | | | lib/system/g-w - Dropped 'T' from types | pdw | 2015-06-04 | 13 | -397/+427 |
| | | | |||||
* | | | lib/system/a-e - Dropped 'T' from types | pdw | 2015-06-04 | 10 | -244/+258 |
| |/ |/| | |||||
* | | Fix Boehm GC on linux | Sergey Avseyev | 2015-05-26 | 1 | -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 | ||||
* | | Merge pull request #2671 from rbehrends/fix-register-scan | Andreas Rumpf | 2015-05-25 | 2 | -0/+18 |
|\ \ | | | | | | | Fix GC scanning of registers on x86_64 architectures. | ||||
| * | | Fix GC scanning of registers on x86_64 architectures. | Reimer Behrends | 2015-05-07 | 2 | -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. | ||||
* / | Move the noreturn pragma to sysFatal | def | 2015-05-05 | 2 | -7/+7 |
|/ | | | | | Now you can choose to implement sysFatal with --os:standalone so that it returns. | ||||
* | fixes #1888 | Araq | 2015-04-27 | 1 | -39/+47 |
| | |||||
* | The importc for atomicCompareExchange is incorrectly defined. | Wink Saville | 2015-04-13 | 1 | -1/+1 |
| | | | | | The .importc: was referring to __atomic_compare_exchange_n this corrects it to be __atomic_compare_exchange. | ||||
* | fixes bootstrapping on windows | Araq | 2015-04-10 | 1 | -2/+3 |
| | |||||
* | Merge pull request #2329 from def-/readline | Andreas Rumpf | 2015-04-10 | 1 | -16/+52 |
|\ | | | | | Speed up readLine by using getc_unlocked | ||||
| * | Speed up readLine by using getc_unlocked | def | 2015-03-12 | 1 | -16/+52 |
| | | | | | | | | | | | | - Only on POSIX and Windows (_fgetc_nolock here) systems - File is locked to our thread before and unlocked after readLine - About 3 times faster in some simple tests | ||||
* | | Use more Natural and Positive numbers in proc parameters | def | 2015-04-06 | 3 | -132/+132 |
| | | | | | | | | | | - Didn't go through all modules, only the main ones I thought of - Building the compiler and tests still work | ||||
* | | some better sysassert messages | Simon Hafner | 2015-04-04 | 1 | -2/+2 |
| | | |||||
* | | Fix proc call in gc_ms | def | 2015-03-26 | 1 | -1/+1 |
| | | | | | | | | This fixes compilation with --gc:markandsweep -d:gcUseBitvectors | ||||
* | | Add cpuRelax assembler for other platforms | def | 2015-03-21 | 1 | -54/+57 |
| | | |||||
* | | Merge pull request #2343 from philip-wernersbach/fix-pthreads-under-cpp | Andreas Rumpf | 2015-03-16 | 1 | -2/+2 |
|\ \ | | | | | | | Fix issues with pthread_create when compiling under C++ mode. | ||||
| * | | Fix pthread_create binding when compiling in C++ mode. | Philip Wernersbach | 2015-03-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | C++ has different rules for void pointers, which causes the binding to be invalid when compiling in C++ mode. | ||||
* | | | Fixes #2323. Fixes #2148. | Dominik Picheta | 2015-03-15 | 1 | -7/+11 |
|/ / | |||||
* / | Make readFile work with FIFO files | def | 2015-03-12 | 1 | -1/+1 |
|/ | |||||
* | Clean up GCs a bit | def | 2015-03-10 | 2 | -6/+13 |
| | |||||
* | fixed the tester; more tests green | Araq | 2015-03-10 | 1 | -18/+22 |
| | |||||
* | fixes --gc:none regression; made some tests green | Araq | 2015-03-10 | 3 | -33/+42 |
| | |||||
* | GC: get rid of pathological behaviour for stack marking | Araq | 2015-03-08 | 1 | -39/+43 |
| | |||||
* | Fix copyStrLast to set the trailing \0 char | def | 2015-03-04 | 1 | -1/+2 |
| | |||||
* | sizeof(char) is always 1 | def | 2015-03-04 | 3 | -10/+10 |
| | |||||
* | Also deepCopy strings only up to their length, not capacity | def | 2015-03-04 | 1 | -1/+1 |
| | |||||
* | Only zero strings when necessary. | def | 2015-03-04 | 2 | -14/+25 |
| | | | | | This removes the zeroing when the string is subsequently overwritten by a memcpy anyway. | ||||
* | Only copy strings to their size, not capacity | def | 2015-03-03 | 1 | -2/+2 |
| | | | | | Capacity may be much bigger, so we end up with strings that are much larger than they have to be and have to copy more as well. | ||||
* | Merge pull request #2238 from oderwat/fix-2228-readall-osx | Andreas Rumpf | 2015-03-01 | 1 | -2/+2 |
|\ | | | | | Fix for readAll(stdin) problem on OS X and better anyway. I can confirm this works on Windows. | ||||
| * | Fix for readAll(stdin) problem on OS X and better anyway. | Hans Raaf | 2015-03-01 | 1 | -2/+2 |
| | | |||||
* | | some love for the testsuite; fixed regressions | Araq | 2015-03-01 | 2 | -4/+14 |
|/ | |||||
* | fixes #2074 | Araq | 2015-02-26 | 1 | -1/+11 |
| |