summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2851 from stefantalpalaru/gogcAndreas Rumpf2015-06-164-7/+205
|\ | | | | the Go GC (using the gccgo implementation)
| * conditional TGenericSeq extensionStefan Talpalaru2015-06-161-2/+4
| |
| * TMemRegion -> MemRegionStefan Talpalaru2015-06-151-5/+6
| |
| * cleanupStefan Talpalaru2015-06-151-5/+0
| |
| * Merge branch 'devel' into gogcStefan Talpalaru2015-06-1524-719/+839
| |\
| * | finalizer supportStefan Talpalaru2015-06-151-0/+6
| | |
| * | fix growObj() with stringsStefan Talpalaru2015-06-091-0/+2
| | |
| * | the Go GC - initial implementationStefan Talpalaru2015-05-314-6/+198
| | |
* | | Added noUnhandledHandleryglukhov2015-06-151-7/+9
| | |
* | | Unhandled exceptions handling brought back.yglukhov2015-06-151-0/+24
| | |
* | | Fixed and slightly changed exception handling.yglukhov2015-06-151-25/+4
| |/ |/|
* | fixes #2909Araq2015-06-151-1/+1
| |
* | Fixed copying of aggregates in JS.yglukhov2015-06-111-22/+30
| |
* | fixed threadpool and atomics to work with Visual Studio 32 and 64 bitSpencer Stirling2015-06-091-2/+2
| |
* | Merge pull request #2645 from def-/builtin_overflowAndreas Rumpf2015-06-071-54/+122
|\ \ | | | | | | Use builtin overflow functions of Clang and GCC (WIP, RFC)
| * | Use -d:builtinOverflow for builtin overflow checksdef2015-05-081-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)def2015-05-031-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 Picheta2015-06-041-1/+1
| | |
* | | lib/system/g-w - Dropped 'T' from typespdw2015-06-0413-397/+427
| | |
* | | lib/system/a-e - Dropped 'T' from typespdw2015-06-0410-244/+258
| |/ |/|
* | 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
* | 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.
* / Move the noreturn pragma to sysFataldef2015-05-052-7/+7
|/ | | | | Now you can choose to implement sysFatal with --os:standalone so that it returns.
* fixes #1888Araq2015-04-271-39/+47
|
* The importc for atomicCompareExchange is incorrectly defined.Wink Saville2015-04-131-1/+1
| | | | | The .importc: was referring to __atomic_compare_exchange_n this corrects it to be __atomic_compare_exchange.
* fixes bootstrapping on windowsAraq2015-04-101-2/+3
|
* Merge pull request #2329 from def-/readlineAndreas Rumpf2015-04-101-16/+52
|\ | | | | Speed up readLine by using getc_unlocked
| * Speed up readLine by using getc_unlockeddef2015-03-121-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 parametersdef2015-04-063-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 messagesSimon Hafner2015-04-041-2/+2
| |
* | Fix proc call in gc_msdef2015-03-261-1/+1
| | | | | | | | This fixes compilation with --gc:markandsweep -d:gcUseBitvectors
* | Add cpuRelax assembler for other platformsdef2015-03-211-54/+57
| |
* | Merge pull request #2343 from philip-wernersbach/fix-pthreads-under-cppAndreas Rumpf2015-03-161-2/+2
|\ \ | | | | | | Fix issues with pthread_create when compiling under C++ mode.
| * | Fix pthread_create binding when compiling in C++ mode.Philip Wernersbach2015-03-151-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 Picheta2015-03-151-7/+11
|/ /
* / Make readFile work with FIFO filesdef2015-03-121-1/+1
|/
* Clean up GCs a bitdef2015-03-102-6/+13
|
* fixed the tester; more tests greenAraq2015-03-101-18/+22
|
* fixes --gc:none regression; made some tests greenAraq2015-03-103-33/+42
|
* GC: get rid of pathological behaviour for stack markingAraq2015-03-081-39/+43
|
* Fix copyStrLast to set the trailing \0 chardef2015-03-041-1/+2
|
* sizeof(char) is always 1def2015-03-043-10/+10
|
* Also deepCopy strings only up to their length, not capacitydef2015-03-041-1/+1
|
* Only zero strings when necessary.def2015-03-042-14/+25
| | | | | This removes the zeroing when the string is subsequently overwritten by a memcpy anyway.
* Only copy strings to their size, not capacitydef2015-03-031-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-osxAndreas Rumpf2015-03-011-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 Raaf2015-03-011-2/+2
| |
* | some love for the testsuite; fixed regressionsAraq2015-03-012-4/+14
|/
* fixes #2074Araq2015-02-261-1/+11
|