summary refs log tree commit diff stats
path: root/lib/system
Commit message (Collapse)AuthorAgeFilesLines
* implemented system.pinToCpuAraq2015-07-011-10/+40
|
* fixes #3014Araq2015-06-291-1/+1
|
* proper distinction between --gc:none and --os:standaloneAraq2015-06-293-17/+30
|
* Fix #2672. Do not define globalsSlot for native TLSSergey Avseyev2015-06-261-16/+11
| | | | | | | | | | | | | | | | Motivation ---------- globalsSlot is always defined so threading code works incorrectly when native TLS supported. Modification ------------ Defined globalsSlot only in TLS emulation mode. Remove myThreadId, which based on broken behavior. It might be reimplemented later Result ------ No segfaults.
* Trim trailling spacesSergey Avseyev2015-06-262-39/+37
|
* fixes #2992Araq2015-06-251-4/+4
|
* Merge pull request #2968 from def-/neutral-languagereactormonk2015-06-212-6/+6
|\ | | | | Neutral language
| * Fix typos in commentsdef2015-06-212-6/+6
| |
* | reworked deprecation to retain old procspatrick dw2015-06-191-1/+5
| |
* | renamed writeln to writeLine in libpatrick dw2015-06-191-3/+3
| |
* | Renamed writeln procs to writeLinepatrick dw2015-06-181-1/+2
|/
* Fixed fix of #2917yglukhov2015-06-171-2/+5
|
* Merge pull request #2945 from yglukhov/fix-2917Andreas Rumpf2015-06-171-3/+16
|\ | | | | Fixes #2917
| * Fixes #2917yglukhov2015-06-171-3/+16
| |
* | Merge pull request #2768 from gokr/fix-reprAndreas Rumpf2015-06-161-5/+11
|\ \ | | | | | | Fixes #2749, traverse full inheritance for reprRecord
| * | Tweaked to do commas properlyGöran Krampe2015-05-201-3/+3
| | |
| * | Fixes #2749, traverse full inheritance for reprRecordGöran Krampe2015-05-201-5/+11
| | |
* | | 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
| |