Commit Graph

578 Commits

Author SHA1 Message Date
jangko
c103eddc73 fixed UTF-16 to UTF-8 conversion in widestrs.nim
the source of problem for issue #3228
also add test for entire range of valid UTF-16
2015-08-20 20:30:14 +07:00
jangko
493dbc8932 fixed UTF-16 to UTF-8 conversion in widestrs.nim
the source of problem for issue #3228
2015-08-20 14:17:46 +07:00
Araq
9659540b18 preparations for Nimble NimScript integrations; minor cleanups 2015-08-18 14:01:40 +02:00
Araq
d634da775d cleanup destructor building for arrays; still doesn't work 2015-08-18 13:57:37 +02:00
Araq
69b32637b1 implements experimental new config system based on NimScript 2015-08-16 13:41:30 +02:00
Yuriy Glukhov
c42b05adb4 Fixed --debugger:on option. Removed c_line from termios. 2015-08-12 12:04:26 +03:00
Araq
f9750781c0 fixes #3080 2015-08-02 02:56:02 +02:00
Araq
e9899af9b2 fixes #3135 2015-08-02 02:56:00 +02:00
def
13389eab9b Add arm64 support (untested) 2015-07-31 23:57:50 +02:00
def
130605567e Add powerpc64el support (untested) 2015-07-31 23:55:31 +02:00
def
70c4176105 Add Mipsel CPU support (untested) 2015-07-31 23:16:52 +02:00
rku
43bfda057b Coroutine support for i386/amd64 platforms unix/windows OSes markAndSweep/refCounting GCs. 2015-07-31 17:59:50 +03:00
def
a9b299b4ed Improve readLine to work with strings containing \0 again.
This decreases performance slightly.
2015-07-25 20:25:58 +02:00
def
401189c3fe No need to set trailing \0 2015-07-24 01:13:52 +02:00
Araq
4932415742 fixes #1832 2015-07-24 01:04:45 +02:00
def
3943fba34b Improve performance of readLine by using fgets
This drops compatibility with pure CR line endings of old Mac systems
2015-07-24 00:31:35 +02:00
Araq
70fe773bbe implemented system.pinToCpu 2015-07-01 02:15:22 +02:00
Araq
63c537b233 fixes #3014 2015-06-29 02:48:34 +02:00
Araq
a1caef474b proper distinction between --gc:none and --os:standalone 2015-06-29 02:48:33 +02:00
Sergey Avseyev
70ce8695e7 Fix #2672. Do not define globalsSlot for native TLS
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.
2015-06-26 07:42:58 +03:00
Sergey Avseyev
f9d8d6ce09 Trim trailling spaces 2015-06-26 07:42:58 +03:00
Araq
6de5c1e86d fixes #2992 2015-06-25 13:13:33 +02:00
reactormonk
37677636bc Merge pull request #2968 from def-/neutral-language
Neutral language
2015-06-21 14:36:55 -05:00
def
e7132767a1 Fix typos in comments 2015-06-21 21:25:38 +02:00
patrick dw
1cdbd6b0a5 reworked deprecation to retain old procs 2015-06-19 18:50:01 -05:00
patrick dw
15e7fe787a renamed writeln to writeLine in lib 2015-06-19 01:02:22 -05:00
patrick dw
072688d06e Renamed writeln procs to writeLine 2015-06-18 23:49:46 -05:00
yglukhov
50d2d54fb0 Fixed fix of #2917 2015-06-17 23:26:38 +03:00
Andreas Rumpf
314fe6b54a Merge pull request #2945 from yglukhov/fix-2917
Fixes #2917
2015-06-17 20:50:08 +02:00
yglukhov
5824b1c839 Fixes #2917 2015-06-17 21:16:18 +03:00
Andreas Rumpf
e2bcf22a84 Merge pull request #2768 from gokr/fix-repr
Fixes #2749, traverse full inheritance for reprRecord
2015-06-16 20:48:51 +02:00
Andreas Rumpf
ad1ac76567 Merge pull request #2851 from stefantalpalaru/gogc
the Go GC (using the gccgo implementation)
2015-06-16 20:46:23 +02:00
Stefan Talpalaru
b487d4e425 conditional TGenericSeq extension 2015-06-16 15:15:17 +02:00
yglukhov
ffa4f8dc99 Added noUnhandledHandler 2015-06-15 23:30:09 +03:00
yglukhov
fa1f3aecce Unhandled exceptions handling brought back. 2015-06-15 23:08:38 +03:00
yglukhov
090fc33641 Fixed and slightly changed exception handling. 2015-06-15 21:49:49 +03:00
Stefan Talpalaru
8624654c57 TMemRegion -> MemRegion 2015-06-15 09:18:44 +02:00
Stefan Talpalaru
fe0b6d74f5 cleanup 2015-06-15 08:56:07 +02:00
Stefan Talpalaru
bdac85f2cf Merge branch 'devel' into gogc 2015-06-15 08:44:02 +02:00
Stefan Talpalaru
657d6f9de2 finalizer support 2015-06-15 08:36:55 +02:00
Araq
8d39669233 fixes #2909 2015-06-15 00:56:20 +02:00
yglukhov
6436d1920c Fixed copying of aggregates in JS. 2015-06-11 23:32:08 +03:00
Spencer Stirling
d152ccc1e2 fixed threadpool and atomics to work with Visual Studio 32 and 64 bit 2015-06-09 11:59:26 -06:00
Stefan Talpalaru
02ddbae8f6 fix growObj() with strings 2015-06-09 17:58:54 +02:00
Andreas Rumpf
94b7da4297 Merge pull request #2645 from def-/builtin_overflow
Use builtin overflow functions of Clang and GCC (WIP, RFC)
2015-06-07 10:55:23 +02:00
Dominik Picheta
0b124a2043 Fixes compilation with --gc:markandsweep. 2015-06-04 23:12:38 +01:00
pdw
2ca90a20a1 lib/system/g-w - Dropped 'T' from types 2015-06-04 13:18:37 +02:00
pdw
ff5b446dfc lib/system/a-e - Dropped 'T' from types 2015-06-04 13:18:37 +02:00
Stefan Talpalaru
50e96ad939 the Go GC - initial implementation 2015-05-31 19:07:44 +02:00
Sergey Avseyev
1001fd2166 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
2015-05-26 08:40:51 +03:00