krolik
373717968e
new now able to make distinction between ref and non-ref types, so we don't get 'ref ref' type when calling new on ref type
2015-05-12 12:45:34 +03:00
Frank Fischer
749e808e1e
logging: make fmtStr public to be used in user defined loggers
2015-05-11 23:29:51 +02:00
Flaviu Tamas
a75cfc9887
Reweave readme
...
Also fix some syntax errors in the RST
2015-05-11 15:45:57 -04:00
def
f8af8df91c
Add -ldl with clang cpp compilation
...
This fixes compilation with --cc:clang and cpp.
2015-05-10 22:20:03 +02:00
Flaviu Tamas
0056ebdd15
Merge pull request #14 from BlaXpirit/inline-options
...
Inline options
2015-05-08 13:56:25 -04:00
Simon Hafner
13e8547fa7
hardcoded order
2015-05-08 19:47:34 +05:00
Simon Hafner
c06672451a
removed unnecessary deps
2015-05-08 19:47:17 +05:00
def
fef21e9003
Use -d:builtinOverflow for builtin overflow checks
...
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.
2015-05-08 04:00:24 +02:00
Simon Hafner
f5cca89610
merged devel into epc
2015-05-08 06:40:34 +05:00
Simon Hafner
2474c1bb11
import sigmatch, not suggest in nimsuggest
2015-05-08 06:32:58 +05:00
Andreas Rumpf
0b184f2584
Merge pull request #2608 from chrisheller/devel
...
Add procs for VirtualAllocEx and VirtualFreeEx in windows.nim
2015-05-08 02:20:14 +02:00
Andreas Rumpf
31d472d83d
Merge pull request #2660 from MrJohz/contains-tables
...
Add contains proc for tables to allow usage of `in`
2015-05-08 02:19:45 +02:00
Andreas Rumpf
9422dbf337
Merge pull request #2657 from def-/noreturn
...
Pass noReturn pragma to C code.
2015-05-08 02:08:32 +02:00
Michael Werner
c384f05e49
fixed typo in threadpool.nim
2015-05-08 03:31:58 +05:00
reactormonk
073547bbc4
Merge pull request #2675 from nanoant/patch/fixup-build-csources-submodule-pull
...
Fixup: csources is empty after clone
2015-05-08 02:53:19 +05:00
reactormonk
45b6082c12
Merge pull request #2674 from Xaseron/patch-1
...
fixed typo in threadpool.nim
2015-05-08 02:50:23 +05:00
Adam Strzelecki
7e479993a4
Fixup: csources is empty after clone
...
We actually need to check for existence of csources/.git and then do git
submodule update --init, which pulls the data for submodule.
2015-05-07 23:07:15 +02:00
Michael Werner
47f6d38b67
fixed typo in threadpool.nim
2015-05-07 22:39:15 +02:00
def
4a2a0894ae
Implicitly assume compilers to know naked and noreturn attributes
2015-05-07 22:31:45 +02:00
Andreas Rumpf
a490e13342
Merge pull request #2649 from nanoant/patch/csources-as-submodule
...
Patch/csources as submodule
2015-05-07 22:17:05 +02:00
Andreas Rumpf
22c9b89392
Merge pull request #2666 from def-/fix-staticlib
...
Fix the lib path used with --app:staticlib
2015-05-07 22:13:08 +02:00
def
a7b39e3ebf
Improve code style a bit
2015-05-07 20:35:16 +02:00
Andreas Rumpf
9ef09fc6f5
Merge pull request #2622 from def-/times-year
...
Year shouldn't be arbitrarily limited to -10_000 .. 10_000
2015-05-07 20:22:26 +02:00
Varriount
ec0e60830a
Merge pull request #2627 from msmith491/devel
...
Add arbitrary char support to the strutils proc. Issue #2626
2015-05-07 13:03:19 -04:00
Varriount
d3f69e14f7
Merge pull request #2596 from Nycto/devel
...
Fix floats in tuples in HashSets
2015-05-07 13:02:42 -04:00
Varriount
ace11f08aa
Merge pull request #2537 from jsanjuas/devel
...
Generalize mean to other types
2015-05-07 12:59:01 -04:00
Varriount
d882718882
Merge pull request #2665 from koalazen/fix_math_is_power_of_two
...
fixes isPowerOfTwo returning true on the smallest integer
2015-05-07 12:54:37 -04:00
Varriount
b5e06c0973
Merge pull request #2663 from koalazen/fix_re_comment
...
Fix comment in re
2015-05-07 12:51:15 -04:00
Reimer Behrends
2a08bbdf31
Fix GC scanning of registers on x86_64 architectures.
...
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.
2015-05-07 14:35:39 +02:00
def
81cff0908e
Fix the lib path used with --app:staticlib
...
For example if gProjectName is "src/false.nim" the old static lib name
was "libsrc/false.nim.a", now it is "libfalse.a".
2015-05-07 02:29:31 +02:00
Koala Zen
cf68d926d8
fixes isPowerOfTwo returning true on the smallest integer
2015-05-06 12:37:15 -07:00
Koala Zen
d620f566b2
Fix comment in re
2015-05-06 09:09:36 -07:00
Araq
a0df21edc0
development version is 0.11.3
2015-05-06 09:20:50 +02:00
Jonathan
8e4af5ace0
Add contains proc for tables to allow usage of in
2015-05-05 23:26:58 +01:00
def
78c26cbf18
Distinguish only between __declspec and __attribute__
2015-05-05 20:35:43 +02:00
def
c5db4fc3a2
Move the noreturn pragma to sysFatal
...
Now you can choose to implement sysFatal with --os:standalone so that it
returns.
2015-05-05 20:26:54 +02:00
Dominik Picheta
ac1fbf1469
Merge branch 'devel'
2015-05-05 14:14:22 +01:00
Flaviu Tamas
d71297d7dc
Merge pull request #13 from flaviut/better-exceptions
...
Better handle errors
2015-05-04 18:11:44 -04:00
def
a9fe618756
Pass noReturn pragma to C code.
...
With GCC and Clang this generates __attribute__((noreturn)) in the
function declaration. (both tested) With VCC __declspec(noreturn) is
used.
2015-05-05 00:02:09 +02:00
Andreas Rumpf
b9e02b1efc
Merge pull request #2655 from enitihas/nim-cfg-gcc-path
...
Corrected gcc path on windows
2015-05-04 23:17:03 +02:00
Flaviu Tamas
ba0b9e26c6
Better handle errors
...
Fixes #7
2015-05-04 16:47:31 -04:00
Abhishek Pandey
6018c7a0c9
Corrected gcc path on windows
...
When gcc path is set to r"$nimrod\dist\mingw\bin", the compiler gives
an error:
Error : unhandled exception : invalid format string [Value Error], but
works correctly with gcc.path set to r"$nim\dist\mingw\bin". I think
this issue was caused due to the name change from nimrod to nim , but
the name change was not replicated in the config file.
2015-05-05 02:04:33 +05:30
Araq
fd7b7a0bc1
final website changes
v0.11.2
2015-05-04 20:53:55 +02:00
Araq
3bef848a2c
added missing stuff for the release
2015-05-04 19:40:11 +02:00
Araq
4a51dbe670
version 0.11.2
2015-05-04 16:47:42 +02:00
Araq
288400761c
version 0.11.2
2015-05-04 16:47:41 +02:00
Araq
0775402f55
fixes #2651
2015-05-04 16:47:40 +02:00
Araq
cee16d1651
fixes typo in tut1
2015-05-04 16:47:39 +02:00
apense
80b5e612c0
Update streams.nim
2015-05-04 08:49:41 -04:00
Adam Strzelecki
05e072b8c4
Make build.sh executable
...
There is no reason build.sh shouldn't be executable and we couldn't build Nim
with: ./build.sh
2015-05-03 18:56:18 +02:00