Commit Graph

63 Commits

Author SHA1 Message Date
Andreas Rumpf
8cdd89f456 make tests green again 2017-10-10 09:34:03 +02:00
Andreas Rumpf
db0d353281 Merge branch 'stringify-array' of https://github.com/krux02/Nim into krux02-stringify-array 2017-10-09 23:46:24 +02:00
Andreas Rumpf
68c7da227f make tests green again 2017-10-01 07:46:13 +02:00
Andreas Rumpf
ddc131cf07 the parser finally parses 'echo {1,2}' as it should 2017-09-30 21:35:30 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Arne Döring
ddea990a70 removed newString proc again, reverted some unnecesary changes 2017-07-24 23:21:51 +02:00
Varriount
a939a4b3a4 Merge pull request #5952 from Parashurama/fix_parseopt
Fix parseopt custom arguments
2017-06-13 04:11:58 -04:00
Parashurama
bbf9ef606d restrict casting for closure. (#5948); fixes #5742
* restrict casting for closure.

This commit forbid casting a closure to anything other than another
closure. use rawEnv/rawProc to access underlaying pointers.

* better error message for closure cast
* fixes #5742
2017-06-07 08:52:50 +02:00
Parashurama
27e2a34340 fixes parseopt/parseopt2 custom cmdline args. 2017-06-06 13:50:26 +02:00
Andreas Rumpf
880a525566 another attempt to get travis green 2017-03-29 11:47:44 +02:00
Eugene Kabanov
336a7c9b3f Fixes to support Dragonfly BSD. (#5552)
* Fix kqueue.nim and ansi_c.nim to support dragonfly.
* Fix ioselectors.nim, threads.nim to support dragonfly.
* Fix deprecated dealloc call in tioselectors.nim.
* Fix tfsmonitor.nim test to run only on Linux.
* Fix osproc.nim return wrong exit codes.
* Fix getAppFilename() for dragonfly.
* Fix proper exit code handling.
2017-03-17 08:22:11 +01:00
Andreas Rumpf
46efaf294b big compiler refactoring; avoid globals for multi method dispatcher generation 2017-02-22 16:27:52 +01:00
Araq
e236039d10 make tests on Windows green under --pedantic 2017-02-02 21:12:36 +01:00
Araq
c130a2af17 make tests green 2016-12-18 23:32:15 +01:00
Ruslan Mustakov
2c146445bc Added deques module, deprecating queues 2016-11-24 19:11:51 +07:00
Andreas Rumpf
0378f9980f fixed regressions 2016-03-29 12:19:49 +02:00
Andreas Rumpf
e50a7af5e2 make tests green again 2016-02-29 14:39:38 +01:00
Andreas Rumpf
c9966a3e17 use 'using' instead of 'sig' keyword; cleans up new features a bit 2016-02-29 12:19:54 +01:00
def
c50b5b62ef Fix a few deprecation warnings 2016-01-25 19:10:37 +01:00
Yuriy Glukhov
d2ecd84f67 JS: Corrected shift operators. Made casting between ints behave like C does. 2016-01-22 18:32:47 +02:00
Yuriy Glukhov
c0d0e5efd9 Unsigned arith corrected for JS 2016-01-21 17:00:42 +02:00
Federico Ceratto
05b856df23 Closes: #3611 2015-12-02 16:05:50 +00:00
Araq
d8b0edc323 Merge branch 'mget' of https://github.com/def-/Nim into def--mget
Conflicts:
	lib/pure/collections/critbits.nim
	lib/pure/collections/tables.nim
	lib/pure/xmltree.nim
	lib/system/sets.nim
	tests/collections/ttables.nim
	tests/collections/ttablesref.nim
2015-10-13 00:22:27 +02:00
Aman Gupta
2240fd3f3f add tfile/tline assertions for template expansion file/line 2015-10-06 15:47:07 -07:00
Araq
31bbc24462 minor testsuite cleanup 2015-09-10 13:19:13 +02:00
Adam Strzelecki
e80465dacf tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
patrick dw
69e15ac32f renamed writeln to writeLine in tests 2015-06-19 01:34:34 -05:00
Oscar Campbell
7ca61f484b Non-base10 overflow allowed if bit-stable. Tests. 2015-06-12 13:45:15 +02:00
Dominik Picheta
ad6ad5d8d0 s/procedure/routine/ in tests. 2015-06-05 14:53:49 +01:00
Dominik Picheta
22f6017ab8 Fixes #2584
Better compiler errors for accessing undeclared fields, calling undeclared
procedures and procedure fields.
2015-06-04 13:55:48 +01:00
Araq
c69d74818e fixes #2550 2015-04-22 12:04:09 +02:00
Araq
5bb3534f10 fixes #2427 2015-04-06 23:50:09 +02:00
def
63f9385327 Rename mget to []
- In sets, tables, strtabs, critbits, xmltree
- This uses the new var parameter overloading
- mget variants still exist, but are deprecated in favor of `[]`
- Includes tests and fixed tests and usages of mget
- The non-var `[]` now throws an exception instead of returning binary 0
  or an empty string
2015-03-31 00:32:39 +02:00
Araq
edc4940c26 doc updates; fixes 'inc' for 'char' 2015-03-29 13:16:22 +02:00
def
64903e7050 Use ^ instead of - in slices 2015-03-28 00:38:15 +01:00
Araq
5641be51c1 codegen doesn't produce line tracing commands anymore; fixes #1344 2015-03-21 20:38:27 +01:00
def
cb3c99fe1f Fix tests some more 2015-03-17 00:02:47 +01:00
Araq
ee57bb3e3e fixes --gc:none regression; made some tests green 2015-03-10 12:32:47 +01:00
Max Zerzouri
3dcec39739 add parser combinator test; uses multiple tuples/generics features 2015-03-07 22:15:53 +13:00
Araq
efb5ec3e73 proper 'space in dir' test 2015-01-27 01:33:48 +01:00
Araq
8d064cedf2 cleaned up unsigned tests 2015-01-27 01:33:47 +01:00
Varriount
66a9be4e02 Add filename space test 2015-01-17 21:20:25 -05:00
Araq
20774ad43c fixes the integer conversion regressions 2015-01-13 20:56:31 +01:00
Andreas Rumpf
e2faa40a4e Merge pull request #1841 from skyfex/devel
Add support for big 'u64 literals and remove SomeUInt from unsigned.nim
2015-01-12 01:44:57 +01:00
Audun Wilhelmsen
7592c9cf22 Added safe implicit conversion of uint8 to int16..int64, uint16 to int32..int64 etc.
Added two new tests for unsigned conversions and comparisons between signed numbers.
2015-01-03 00:10:07 +01:00
Zahary Karadjov
70b5efa98d fix #544 2015-01-02 23:58:24 +02:00
Zahary Karadjov
1d55fd8d12 use unix line endings 2015-01-02 23:58:24 +02:00
Araq
7f415b5b11 fixes #1788 2014-12-30 03:05:29 +01:00
Araq
f73938218e fixes #1708, fixes #871 2014-12-28 01:59:30 +01:00
Araq
73dda8a81d fixes #1638 2014-12-17 21:52:01 +01:00