Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | the Go GC - initial implementation | Stefan Talpalaru | 2015-05-31 | 4 | -6/+198 |
| | |||||
* | 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 |
| | |||||
* | fixes #2199, fixes #2197 | Araq | 2015-02-24 | 1 | -1/+1 |
| | |||||
* | Removed int64 -> int downcast in timers.`-` | GrundleTrundle | 2015-02-21 | 1 | -2/+2 |
| | | | | | On windows when compiling on 32 bit, this can get you a out of range exception for an otherwise valid interval. | ||||
* | fixes #2124 | Araq | 2015-02-20 | 1 | -2/+4 |
| | |||||
* | Make readBytes and writeBytes work with uint8 | def | 2015-02-18 | 1 | -2/+2 |
| | | | | | | So far only openarray[int8] worked. Now it's openarray[int8|uint8]. This should make sense, since uint8 is comfortable to represent a byte (0-255) and there is already type byte* = uint8 in system. | ||||
* | Merge pull request #2150 from def-/gc2-compiling | Andreas Rumpf | 2015-02-16 | 2 | -71/+73 |
|\ | | | | | Make gc2 compile again and fix some deprecation warnings | ||||
| * | Clean up some more deprecation warnings | def | 2015-02-16 | 2 | -7/+7 |
| | | |||||
| * | Make gc2 compile again | def | 2015-02-16 | 1 | -64/+66 |
| | | |||||
* | | Fix typos | Federico Ceratto | 2015-02-15 | 9 | -11/+11 |
| | | |||||
* | | Fix typos | Federico Ceratto | 2015-02-15 | 1 | -1/+1 |
|/ | |||||
* | Disable -pthread for linker on OSX | Hans Raaf | 2015-02-13 | 1 | -1/+3 |
| | | | | | The -pthread is not needed on Darwin/OS X and the Apple compilers give a warning about this if you use --threads:on with the Nim compiler. | ||||
* | fixed minor bugs; cleaned up tests | Araq | 2015-02-12 | 1 | -3/+3 |
| | |||||
* | Merge pull request #2053 from reactormonk/message-for-koch-temp | Andreas Rumpf | 2015-02-12 | 1 | -0/+14 |
|\ | | | | | report how to create a compiler stacktrace #1280 | ||||
| * | report how to create a compiler stacktrace #1280 | Simon Hafner | 2015-02-01 | 1 | -0/+14 |
| | | |||||
* | | cleaned up GC tests; fixes object variant re-assign bug | Araq | 2015-02-10 | 1 | -3/+7 |
| | | |||||
* | | fixes #2070 | Araq | 2015-02-10 | 2 | -19/+29 |
| | | |||||
* | | lots of C++ codegen improvements | Araq | 2015-02-07 | 2 | -7/+15 |
| | | |||||
* | | C++ support: codegen generates C++'s references and avoids copies | Araq | 2015-02-04 | 1 | -2/+7 |
|/ | |||||
* | Merge pull request #2005 from def-/fix-estp | Andreas Rumpf | 2015-01-27 | 2 | -2/+2 |
|\ | | | | | Make ESTP compile | ||||
| * | Make ESTP compile | def | 2015-01-23 | 2 | -2/+2 |
| | |