Andreas Rumpf
8b05bf3e86
Merge pull request #2238 from oderwat/fix-2228-readall-osx
...
Fix for readAll(stdin) problem on OS X and better anyway. I can confirm this works on Windows.
2015-03-01 23:30:02 +01:00
Araq
24ae0c387f
some love for the testsuite; fixed regressions
2015-03-01 21:41:21 +01:00
Hans Raaf
79ad73574c
Fix for readAll(stdin) problem on OS X and better anyway.
2015-03-01 03:35:20 +01:00
Araq
3dd1ecbae4
fixes #2074
2015-02-26 02:05:23 +01:00
Araq
f4a0400de2
fixes #2199 , fixes #2197
2015-02-24 19:19:08 +01:00
GrundleTrundle
2abf3b717a
Removed int64 -> int downcast in timers.-
...
On windows when compiling on 32 bit, this can get you a
out of range exception for an otherwise valid interval.
2015-02-21 15:18:34 -05:00
Araq
c90a13bb41
fixes #2124
2015-02-20 12:25:58 +01:00
def
ecfaab68f1
Make readBytes and writeBytes work with uint8
...
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.
2015-02-18 21:13:01 +01:00
Andreas Rumpf
13c2d9b8e2
Merge pull request #2150 from def-/gc2-compiling
...
Make gc2 compile again and fix some deprecation warnings
2015-02-16 20:33:25 +01:00
def
b9abeff617
Clean up some more deprecation warnings
2015-02-16 19:13:49 +01:00
def
a5d22a9534
Make gc2 compile again
2015-02-16 19:12:09 +01:00
Federico Ceratto
657dca5c3b
Fix typos
2015-02-15 16:20:32 +00:00
Federico Ceratto
c95f6f117a
Fix typos
2015-02-15 16:06:06 +00:00
Hans Raaf
55ab6cc2b3
Disable -pthread for linker on OSX
...
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.
2015-02-13 01:51:46 +01:00
Araq
10335fd726
fixed minor bugs; cleaned up tests
2015-02-12 14:56:56 +01:00
Andreas Rumpf
f7195becac
Merge pull request #2053 from reactormonk/message-for-koch-temp
...
report how to create a compiler stacktrace #1280
2015-02-12 09:40:31 +01:00
Araq
eec18896b7
cleaned up GC tests; fixes object variant re-assign bug
2015-02-10 20:19:47 +01:00
Araq
683b82a2ec
fixes #2070
2015-02-10 20:19:44 +01:00
Araq
e84834db79
lots of C++ codegen improvements
2015-02-07 10:48:07 +01:00
Araq
e75e421912
C++ support: codegen generates C++'s references and avoids copies
2015-02-04 00:52:45 +01:00
Simon Hafner
fc5700619b
report how to create a compiler stacktrace #1280
2015-02-01 23:39:10 -06:00
Andreas Rumpf
52c456fee8
Merge pull request #2005 from def-/fix-estp
...
Make ESTP compile
2015-01-27 14:29:20 +01:00
def
2d3db9cd6b
Fix type of setControlCHook parameter
2015-01-27 12:00:08 +01:00
def
7894f50a56
Get rid of more deprecation warnings by renaming exceptions
2015-01-27 11:58:15 +01:00
def
dfdd84f2c9
Make ESTP compile
2015-01-23 23:18:20 +01:00
Varriount
478da0194b
Fix #1546
2015-01-22 18:46:00 -05:00
Araq
d37ff0ab42
don't advice people to use debug options for the GC and core
2015-01-11 02:13:24 +01:00
Guillaume Gelin
3119fe087d
Happy new year!
2015-01-06 15:26:33 +01:00
def
2399f3b03d
Some GC renames to get rid of deprecation warnings
2015-01-06 01:28:43 +01:00
Araq
4316fdddf3
Merge branch 'devel' of https://github.com/Araq/Nim into devel
2015-01-05 02:27:36 +01:00
Araq
7524610b31
fixes #1796
2015-01-05 02:27:24 +01:00
Araq
194b14a182
fixes #1816
2015-01-02 03:32:45 +01:00
Araq
03afbe00b9
minor improvements
2014-12-28 00:52:10 +01:00
Araq
bd88e526cf
fixes #1744
2014-12-17 23:21:15 +01:00
Araq
5a52e941b5
added 'setupGcForForeignThread' for better C interop
2014-12-11 23:29:26 +01:00
Araq
c7664e7025
final version before removal
2014-12-08 01:09:31 +01:00
Araq
fde869f1b1
fixes #1712
2014-12-07 22:07:48 +01:00
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