Commit Graph

4978 Commits

Author SHA1 Message Date
def
4fbf47ca5e Clean up tests/assert
1 test still fails:

- tunittests uses utemplates, which seems broken. not sure what it's
  supposed to do
2015-02-04 20:30:09 +01:00
def
e0ae9f5248 Clean up tests/stdlib
2 tests still fail:
- tircbot would need a benign pragma because of the locks
- tgetfileinfo uses os.getFileInfo() on nil, which segfaults instead of
  throwing an exception as the tester expects
2015-02-04 20:24:01 +01:00
def
1b91b3a2a5 Disable rodfiles tests for now 2015-02-04 20:10:57 +01:00
def
19993d73ed Add test for #1460 2015-02-04 20:10:50 +01:00
def
c3989f64ef Add test for #1459 2015-02-04 20:08:26 +01:00
def
402ada8f1d Add test for #1877 2015-02-04 20:00:28 +01:00
def
69b794cd7d Add test for #1259 2015-02-04 19:53:50 +01:00
def
d91368c8d0 Add test for #1836 2015-02-04 19:47:58 +01:00
Andreas Rumpf
08ee62a783 Merge pull request #2049 from def-/permutations
Add nextPermutation and prevPermutation
2015-02-04 17:12:35 +01:00
Araq
b5f1957588 fixes #2057 2015-02-04 12:51:54 +01:00
Araq
61e5f0dc51 fixes #2061 2015-02-04 12:51:53 +01:00
Andreas Rumpf
7f14d0e782 Merge pull request #2031 from reactormonk/high-cstring
Fixes #2030
2015-02-04 10:39:49 +01:00
Andreas Rumpf
47c157e05e Merge pull request #2047 from reactormonk/tests-for-497
added tests from issue #497
2015-02-04 10:39:24 +01:00
Andreas Rumpf
f0cdb49c3b Merge pull request #2027 from dumndummer/patch-1
Update sequtils.nim
2015-02-04 10:38:50 +01:00
Araq
a0d3bd16e7 fixes stupid regression 2015-02-04 00:52:46 +01:00
Araq
e75e421912 C++ support: codegen generates C++'s references and avoids copies 2015-02-04 00:52:45 +01:00
Araq
a400e8f7f3 better error message for auto-deref 2015-02-04 00:52:44 +01:00
reactormonk
8e98007dce Merge pull request #2055 from dumndummer/patch-4
Update macros.nim
2015-02-02 23:40:52 +05:00
dumndummer
9a1be7a9f3 Update macros.nim
minor doc comment spelling correction
2015-02-02 17:57:31 +00:00
dumndummer
07f42fa612 Changed name 'pred' to 'op' in mapIt template 2015-02-02 14:42:00 +00:00
def
03db4d2930 Adapt the tester for permutations
Uses the bool return value now
2015-02-02 08:06:19 +01:00
def
1ae4d535cd Add nextPermutation and prevPermutation
Fits best into algorithm module I guess. These are the most general
ways, an iterator could easily be implemented from this. Same algorithm
as in Rust: http://web.mit.edu/rust-lang_v0.11/doc/src/collections/var/tmp/alexp/rust/rust-0.11.0/src/libcollections/slice.rs.html#644
2015-02-01 18:29:01 +01:00
Araq
903ca78289 fixes #1989 2015-02-01 11:58:41 +01:00
Araq
a6082b2a20 slightly better docs for re module 2015-02-01 11:58:40 +01:00
Simon Hafner
43ddb4806b added tests from issue #497 2015-02-01 04:37:34 -06:00
Simon Hafner
1a8541d908 Fixed high(cstring) in vmgen too 2015-02-01 04:11:46 -06:00
Andreas Rumpf
9bd72fc0d9 Merge pull request #2037 from def-/fix-lists
Fix SinglyLinkedRing in lists module
2015-02-01 10:21:58 +01:00
def
11a5a4a9a6 Fix SinglyLinkedRing in lists module
- SinglyLinkedRing's prepend was broken
- needed a tail so that prepend can work properly
- now append works as well, so I added it too
- simple testcase added as well
2015-02-01 03:04:18 +01:00
Araq
2780e7a54a check test result 2015-02-01 02:29:55 +01:00
Araq
ecc3c3bd03 fixes #2023 2015-02-01 02:27:39 +01:00
Andreas Rumpf
3b45ac44e1 Merge pull request #2010 from modk/freebsd-parallel-build
Fix parallel build on FreeBSD
2015-02-01 01:41:26 +01:00
Andreas Rumpf
fa166dc42d Merge pull request #2026 from reactormonk/koch-temp-125-exit-code
Koch temp 125 exit code
2015-02-01 01:38:06 +01:00
Andreas Rumpf
f6131f412a Merge pull request #2033 from reactormonk/round-in-js
Fixes #1959, rounding floats in JS
2015-02-01 01:30:38 +01:00
Simon Hafner
de77700067 added note about creating stacktraces 2015-01-31 18:28:32 -06:00
reactormonk
014be3a29c Merge pull request #2020 from def-/mitems
mitems and mpairs
2015-02-01 05:19:47 +05:00
Araq
ab5b8f5391 fixes #1988 2015-01-31 16:23:38 +01:00
Araq
43e5e3ac22 fixes #2022 2015-01-31 13:46:21 +01:00
Araq
8f587e2eab fixes #2041 2015-01-31 11:49:19 +01:00
Araq
ee4e95fefe fixes #2039 2015-01-31 11:31:59 +01:00
Araq
e9a197e704 removed dead code 2015-01-30 03:04:46 +01:00
Araq
fe30ec83e2 nimsuggest improvements 2015-01-30 03:04:45 +01:00
reactormonk
a9706dcfa2 Merge pull request #2036 from def-/fix-irc
Fix IRC channel at footer
2015-01-30 07:04:08 +05:00
def
4080a9ca45 Fix IRC channel at footer 2015-01-30 01:49:57 +01:00
def
69d96b604b Add tests for mitems 2015-01-29 15:30:50 +01:00
modk
458e3b2f07 FreeBSD-specific code 2015-01-29 12:51:22 +01:00
Simon Hafner
11292a9e0b Fixes #1959, rounding floats in JS 2015-01-29 05:30:55 -06:00
Simon Hafner
5ecc461a94 Fixes #2030 2015-01-29 04:40:27 -06:00
Araq
d4786976dd asm stmt: don't quote what is already quoted 2015-01-29 10:18:52 +01:00
Araq
bd7681f794 fixes yet another GAS parsing bug 2015-01-29 10:11:29 +01:00
Araq
8710a37384 nimsuggest: sane dirty buffer handling 2015-01-29 03:08:41 +01:00