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
Adam Strzelecki
e31bca55fa
Make csources a submodule
...
1. Solves a problem that updating Nim sources we have no indication we need to
update csources as well.
2. Using submodule we can explicitly request that some Nim version requires
some csources version to bootstrap.
3. build.sh now simply calls: git submodule update --init --depth 1
instead shallow clone on missing csources subdirectory.
2015-05-03 18:55:31 +02:00
Andreas Rumpf
ca67687e3b
Merge pull request #2648 from def-/zipfiles
...
Make zipfiles module work again
2015-05-03 17:31:26 +02:00
def
ffad2be237
Make zipfiles module work again
...
Also adds an example usage to the module
2015-05-03 14:22:49 +02:00
def
0e8e574961
Use builtin overflow functions of Clang and GCC (WIP, RFC)
...
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.
2015-05-03 03:49:11 +02:00
Araq
0e1167d64b
made test green
2015-05-03 01:08:53 +02:00
Araq
e23857a98b
fixes #2629 , fixes #2641 , fixes #2632 , fixes #2630
2015-05-03 01:08:52 +02:00
Araq
6cb3635ca0
fixes 'echo nil' codegen bug
2015-05-03 01:08:51 +02:00
Araq
c6605d3d50
development version is 0.11.1
2015-05-03 01:08:50 +02:00
Araq
0f35a997dd
minor bugfixes to the new 'len(nil)==0' feature
2015-05-03 01:08:50 +02:00
Araq
16a51ffc97
compiler\ccgexprs.nim
...
fixes 'nil' literal echoing
2015-05-03 01:08:49 +02:00
Araq
7d3a6b42d9
fixes #2625
2015-05-03 01:08:48 +02:00
Stephen Sugden
7fb5932b9b
Resolve base type fields in [](TAny, string)
2015-05-03 00:16:22 +02:00
reactormonk
fe268b7df7
Merge pull request #2639 from HOLYCOWBATMAN/pr-frontpage-slideshow
...
Moved frontpage slideshow controls
2015-05-03 01:05:40 +05:00
HOLYCOWBATMAN
e639b85e3c
Moved frontpage slideshow controls
2015-05-02 09:01:18 -04:00
Chris Heller
2aa61034ba
Add deprecated versions of procs in windows.nim that had DWORD parameters converted to SIZE_T
2015-05-01 23:54:28 -07:00
Simon Hafner
1e78c5445d
manually reapplied d40098ad
2015-05-02 09:26:15 +05:00
Simon Hafner
2522049ed2
method arrives as symbol
2015-05-02 09:14:02 +05:00
Simon Hafner
0ff5339590
removed debug echos
2015-05-02 08:35:01 +05:00
Simon Hafner
b500907978
some more bugs in epc fixed - removed try
2015-05-02 08:24:05 +05:00
Simon Hafner
7dfa93d3c0
fixed first round of bugs
2015-05-02 08:04:17 +05:00
Simon Hafner
a1ee169d09
implemented nextFreePort for nimsuggest
2015-05-02 05:28:53 +05:00
msmith491
50f54bf60b
Add arbitrary char support to the strutils proc. Issue #2626
2015-04-30 21:40:26 -07:00
reactormonk
c82cc7c37c
Merge pull request #2618 from yglukhov/dom-body-head
...
Added body and head properties to DOM document.
2015-05-01 03:15:11 +05:00
Dominik Picheta
0be654efe1
Merge branch 'devel'
2015-04-30 16:09:27 +01:00
Araq
d9d5aa60b7
version 0.11.0
v0.11.0
2015-04-30 16:59:29 +02:00
Araq
3905cfeace
more cleanups for 0.11.0
2015-04-30 14:32:01 +02:00