Araq
32ec5af60a
fixes #1053 , fixes #924
2014-11-19 23:38:35 +01:00
Araq
af84f754b0
proper fix for stack initialization and threadvar emulation
2014-11-11 09:55:31 +01:00
Andreas Rumpf
f34ee51154
Merge pull request #1636 from rbehrends/fix-thread-issues
...
Fix some thread issues
2014-11-08 21:19:42 +01:00
Araq
511111defa
TAtomType includes 'bool'
2014-11-08 11:19:15 +01:00
Reimer Behrends
c43e7c4ff6
Remove references to pthread_mutex_timedlock().
...
The pthread_mutex_timedlock() function is not supported on a number
of architectures and is not actually used by the library or compiler,
but prevents C++ compilation on systems that do not support it when
threads are enabled.
2014-11-06 02:23:40 +01:00
Araq
adad2d5f4a
Merge branch 'devel' into bigbreak
...
Conflicts:
lib/impure/db_postgres.nim
lib/pure/json.nim
lib/pure/math.nim
lib/system/atomics.nim
2014-11-03 11:42:36 +01:00
Reimer Behrends
6e3720155a
Various atomics fixes for gcc/clang.
...
Make atomicInc/atomicDec work with clang, too; also, actually import
the memory model constants from C rather than relying on the enum
matching the C constants by happenstance.
2014-10-30 03:42:50 +01:00
Araq
a639824e5e
introduced 'benign' pragma
2014-10-25 22:01:23 +02:00
Araq
53a9d6f5cd
Merge branch 'devel' into bigbreak
...
Conflicts:
compiler/nim.ini
doc/manual.txt
doc/tut2.txt
koch.nim
lib/system/channels.nim
readme.txt
tools/niminst/niminst.nim
tools/nimweb.nim
web/download.txt
web/news.txt
2014-10-20 08:44:00 +02:00
Araq
b0179f9af5
2nd attempt to fix tryRecv
2014-10-20 01:49:51 +02:00
Araq
60a7532bda
fixes tryRecv
2014-10-20 01:09:54 +02:00
Araq
a9a5766c66
docgen should work again
2014-10-05 03:06:19 +02:00
Araq
fc47c0edc7
Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreak
...
Conflicts:
lib/impure/db_postgres.nim
lib/pure/os.nim
lib/wrappers/postgres.nim
2014-10-04 19:40:23 +02:00
Araq
1088814e56
deepCopy is instantiated when its corresponding type is instantiated
2014-09-26 09:36:09 +02:00
Reimer Behrends
f99c40f61b
Improve setjmp()/longjmp() performance.
...
Exception handling for the C backend used setjmp()/longjmp()
unconditionally. However, on POSIX systems, these functions save and
restore the signal mask, adding considerable overhead to exception
handling, even where no exceptions are involved. The compiler and
library now try to use either _setjmp()/_longjmp() or
sigsetjmp()/siglongjmp() where possible, marked by the defines
"nimRawSetjmp" and "nimSigSetjmp", respectively. The define
"nimStdSetjmp" can be used to revert to setjmp()/longjmp() instead.
2014-09-25 23:29:02 +02:00
Dominik Picheta
082bcb070f
Fix --gc:none with --cs:partial.
2014-09-19 15:17:34 +01:00
Araq
4800acf6ab
Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreak
2014-09-19 01:55:22 +02:00
Reimer Behrends
b11493585c
Various fixes to how the Boehm GC's interface.
...
The Boehm GC interface did not define the getXXXSharedMem() functions
that were needed for compilation with --threads:on. It also used
`ppointer` instead of `PPointer`, so it failed to compile with
--cs:partial.
2014-09-18 18:46:23 +02:00
Araq
05f09fafcf
fixed 'system.open' bug
2014-09-14 11:27:14 +02:00
Araq
9d9c3fe121
merged things from devel
2014-09-12 01:37:48 +02:00
Araq
24afab2a95
Threads work again
2014-09-11 09:36:22 +02:00
Simon Hafner
967b5079f6
Merge pull request #1514 from fuzzthink/devel
...
Pointer -> pointer to fix compile error using --cs:partial
2014-09-02 20:17:16 +05:00
fuzzthink
10f6a11cf2
Pointer -> pointer to fix compile error using --cs:partial
2014-09-02 10:10:18 +09:00
Araq
30823c1ce3
make tests green
2014-08-31 15:15:26 +02:00
Araq
2d1b9d1f9d
ENDB compiles again
2014-08-31 11:40:25 +02:00
Araq
09ab1703e1
fixes #1444
2014-08-31 01:07:58 +02:00
Dominik Picheta
8446d51a6a
Winlean and threads case sensitivity fixes.
2014-08-30 12:57:04 +01:00
Araq
6d40288bb8
renamed Byte to byte
2014-08-29 00:56:34 +02:00
Araq
2f43fdb837
renamefest
2014-08-23 01:43:49 +02:00
Araq
fc0fda14ae
system files use new identifiers
2014-08-23 00:58:04 +02:00
Araq
dbf9117c56
the big renamefest: first steps
2014-08-22 23:54:26 +02:00
Charlie Barto
5b326269c3
fixed #1491
2014-08-19 18:30:12 -04:00
Araq
5a2bea7408
fixes #1445
2014-08-19 20:18:33 +02:00
Araq
af0de9090e
fixes #1475
2014-08-13 12:58:49 +02:00
Araq
4d863ebb5e
fix failed tests due to gcsafe
2014-08-12 10:11:58 +02:00
Araq
dd806cafa0
distinguish between 'defined' and 'declared'
2014-08-11 20:38:28 +02:00
Araq
fd086abb43
fixes #1456
2014-08-08 09:55:19 +02:00
Araq
c5b9486455
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
2014-08-08 02:28:35 +02:00
Araq
32197b7a13
fixes #1456
2014-08-08 02:26:56 +02:00
Varriount
505b4158aa
Merge pull request #1447 from gradha/pr_tutorial_improvements
...
Tutorial improvements
2014-08-06 22:53:08 -04:00
Araq
a64d733029
some bugfixes for 'deepCopy'
2014-08-06 09:54:23 +02:00
Grzegorz Adam Hankiewicz
1daa54e5a2
Downgrades public module comments to private level.
...
This avoids the weird concatenation in the final system.html file which
doesn't make any sense.
2014-08-05 17:07:43 +02:00
Araq
9673e4f2df
progress on deepCopy
2014-08-01 23:40:48 +02:00
Araq
6219ad6a66
fixes #1391
2014-07-22 20:15:57 +02:00
Araq
ed226eba6d
added stack overflow prevention
2014-07-16 22:32:09 +02:00
Araq
4dc2925b7a
JS compilation works again
2014-07-16 09:00:41 +02:00
Araq
a7911addf7
parseBiggestFloat is now builtin
2014-07-16 00:41:03 +02:00
Andreas Rumpf
396b5619fc
Merge pull request #1273 from katlogic/devel
...
Second stab at `$`(float)
2014-07-15 22:01:58 +02:00
Andreas Rumpf
2ec1501c7a
Merge pull request #1281 from Araq/new_spawn
...
New spawn
2014-06-16 23:03:17 +02:00
katlogic
cea2a9087d
More human readable $(float)
...
The output matches that of Python (eg 1e100, not 1.0e100), but also
reflects locale (assuming it was set using setlocale() before).
2014-06-15 01:49:14 +02:00