Commit Graph

11210 Commits

Author SHA1 Message Date
Andreas Rumpf
4e778f9aac Merge pull request #2597 from Araq/revert-2593-patch-1
Revert "New Editor (LiClipse)"
2015-04-24 18:01:09 +02:00
Andreas Rumpf
25fdac4ff4 Revert "New Editor (LiClipse)" 2015-04-24 18:00:54 +02:00
Nycto
4f88238761 Fix floats in tuples in HashSets
Previously, the added tests would fail to compile with
errors complaining that 'hash(float)' didn't exist
2015-04-24 08:25:58 -07:00
Araq
6ca38472a1 cleanups for underscores in tuple unpacking 2015-04-24 13:08:42 +02:00
Araq
a5f321ea8f finishes #2566 2015-04-24 12:44:14 +02:00
Araq
c2d79a6383 fixes #2466 2015-04-24 12:40:59 +02:00
Araq
9e4e7ca535 fixes #2533 2015-04-24 12:36:41 +02:00
Araq
c01d9d081b added test for #2536 2015-04-24 12:35:13 +02:00
Araq
c1730e1ead fixes #2335 2015-04-24 12:35:13 +02:00
Araq
3317faf80d fixes #2524 2015-04-24 12:35:12 +02:00
Andreas Rumpf
6a016743aa Merge pull request #2566 from nanoant/parser-diagnostic-location
Parser: Fix location (line, col) for diagnostics
2015-04-24 12:33:11 +02:00
Andreas Rumpf
3e000f4e36 Merge pull request #2437 from Araq/underscore-tuple-unpack
Implements #2154.
2015-04-24 12:32:57 +02:00
Andreas Rumpf
5fd338cd36 Merge pull request #2593 from fabioz/patch-1
New Editor (LiClipse)
2015-04-24 12:31:57 +02:00
Wim Lewis
9c19ce0698 Add a handshake parameter to wrapSocket() to allow it to work on an already-connected socket. 2015-04-23 20:45:33 -07:00
Araq
0c947f31ba system.locals is now a plugin for education 2015-04-24 02:08:06 +02:00
Fabio Zadrozny
fe84d9fefe New Editor (LiClipse) 2015-04-23 21:04:42 -03:00
Araq
c8bebe92e2 fixes #2569 2015-04-23 23:49:10 +02:00
Dominik Picheta
62e1b3e2e3 Some small cleanup. 2015-04-23 21:57:33 +01:00
Dominik Picheta
03cbf689a1 Merge branch 'clean-speedup-2' of https://github.com/def-/Nim into def--clean-speedup-2 2015-04-23 15:26:39 +01:00
Araq
a7a2fa63aa fixes #2589 2015-04-23 02:08:30 +02:00
Dominik Picheta
f0f0062a5d Add sfGenSym for (_). 2015-04-23 00:29:16 +01:00
Dominik Picheta
9e69e4e078 Merge branch 'devel' into underscore-tuple-unpack
Conflicts:
	compiler/semstmts.nim
2015-04-23 00:26:17 +01:00
Araq
3b00d9cc7a removed a bit of cruft from koch 2015-04-22 20:42:36 +02:00
Araq
8dadeebd08 fix #2585 properly 2015-04-22 20:33:06 +02:00
Araq
bcd8053b23 fixes #2585 2015-04-22 20:25:11 +02:00
Simon Hafner
7d42eb2de2 barebones in nimsuggest for EPC 2015-04-22 21:53:04 +05:00
Araq
13c5f792dc fixes #2447 2015-04-22 16:11:51 +02:00
Araq
daad8100a9 fixed nil.add for JS 2015-04-22 15:21:20 +02:00
Araq
d631958124 news.txt updates; fixes bootstrapping 2015-04-22 13:57:20 +02:00
Araq
8ab3074c80 todo.txt updates 2015-04-22 12:04:11 +02:00
Araq
4be0d16520 added '..^' and '..<' operators; 'nil' is allowed for 'len'; added plugin system to the compiler 2015-04-22 12:04:11 +02:00
Araq
54515241e3 fixes #2581 2015-04-22 12:04:10 +02:00
Araq
aacaa8f171 cleaned up some magics to make room for new magics; added '..<' and '..^' templates 2015-04-22 12:04:09 +02:00
Araq
c69d74818e fixes #2550 2015-04-22 12:04:09 +02:00
Andreas Rumpf
2f973c783c Merge pull request #2565 from nanoant/parser-consistency
Parser consistency
2015-04-22 11:59:52 +02:00
Simon Hafner
f0f72613d8 epc skeleton 2015-04-22 06:32:02 +05:00
Simon Hafner
b01b7675ab parseEnum ftw 2015-04-22 06:15:52 +05:00
Simon Hafner
766b7ea61d enabled sexp tests 2015-04-22 06:11:30 +05:00
Simon Hafner
518db9eb7e rewrite suggest.nim for suggestionResultHook 2015-04-22 06:10:47 +05:00
Andreas Rumpf
4370163fdd Merge pull request #2583 from BlaXpirit/test-stdlib
Test stdlib
2015-04-21 15:36:37 +02:00
Oleh Prypin
22db40e5e4 Turn some test outputs into actual tests 2015-04-21 15:59:32 +03:00
Andreas Rumpf
3f546e4a54 Merge pull request #2580 from def-/test-fixes-4
Fix expected tester messages
2015-04-21 13:54:41 +02:00
Oleh Prypin
c433ae1aaa Fix romans module 2015-04-21 14:40:18 +03:00
Oleh Prypin
a8c3c2ef0d Fix a test in xmltree 2015-04-21 14:39:34 +03:00
Oleh Prypin
32109a7867 Don't run non-test code when defined(testing) 2015-04-21 14:37:29 +03:00
Adam Strzelecki
dc1b15647c Parser: Test for exact missing ':' location column
This ensures compiler points to the right place when claiming that ':' is
missing.
2015-04-21 11:32:13 +02:00
Adam Strzelecki
07b13251d1 Parser: Fix location (line, col) for diagnostics
Previously parser was using lexMessage which was taking location from current
buffer position which was pointing after recently consumed token. But since
parser shows diagnostics about that token it should point to the location where
token starts.

This makes diagnostics like: `test.nim(2, 2) Error: ':' expected` point
properly at the beginning of the wrong token.
2015-04-21 11:32:13 +02:00
Adam Strzelecki
69ed78b30f msg: Output column numbers starting from 1
Most of editors/IDEs expect column numbers to start from 1, so (1, 1) means
beginning of the file.

This change applies only to diagnostics output, however Nim will still
internally number columns starting from 0.
2015-04-21 11:32:12 +02:00
def
fc76c93a19 Fix expected tester messages 2015-04-21 11:17:24 +02:00
Andreas Rumpf
d203d6fad4 Merge pull request #2411 from reactormonk/merge-counttables
merge for CountTable, see #1680
2015-04-21 09:04:46 +02:00