Commit Graph

7456 Commits

Author SHA1 Message Date
Andreas Rumpf
218d5567ed Merge pull request #2483 from def-/ropes
Get rid of deprecation warnings
2015-04-08 09:48:55 +02:00
ReneSac
5bbebe4a89 Added tests for keyword operators in tstrongspaces
Changed one old test to account for the effect of strong spaces on "and" and cia now.
2015-04-08 02:08:29 -03:00
ReneSac
80050a09a0 Refactored getPrecedence() after last change
The considerStrongSpaces() is now applied to almost all results, so it is better to do it at the end.
2015-04-08 02:06:18 -03:00
ReneSac
6a528bc7e9 Consider #!strongSpaces for keyword operators too.
When #!strongSpaces is on, every  operator affected by it gains priority higher than any operator not affected by it. This includes comparison operators, addition, etc.
It seems that counting spaces for keywords operators don't break anything in the parser. Of course, they can't have 0 spaces between their operands, but at least their precedence will work accordingly to their 1+ spaces.
2015-04-08 01:00:14 -03:00
Ruslan Mustakov
35f5ac2811 Added procvar pragma to rationals.cmp 2015-04-08 01:21:58 +06:00
Ruslan Mustakov
46e6fd4fa9 Added hash proc for Rational 2015-04-08 00:52:20 +06:00
def
39049e151f Get rid of deprecation warnings 2015-04-07 15:47:18 +02:00
Andreas Rumpf
d170a51f54 Merge pull request #2472 from def-/natural
Use more Natural and Positive numbers in proc parameters
2015-04-07 13:37:08 +02:00
Andreas Rumpf
d5dc0e96d0 Merge pull request #2475 from yglukhov/dom-renames
DOM types renamed.
2015-04-07 13:23:16 +02:00
Andreas Rumpf
4b98768a0a Merge pull request #2479 from def-/torational
Fix toRational
2015-04-07 01:44:43 +02:00
Andreas Rumpf
02a94fc34b Merge pull request #2480 from def-/container
Fix container example in manual a bit
2015-04-07 01:44:10 +02:00
def
7d2adbda9e Fix container example in manual a bit 2015-04-07 01:21:31 +02:00
def
bba2f7b0f1 Fix toRational 2015-04-07 00:36:16 +02:00
Araq
73add468b7 better alternative to 'override' 2015-04-07 00:13:47 +02:00
Araq
82f8948a10 added system.typed and system.untyped aliases 2015-04-07 00:06:39 +02:00
Araq
5bb3534f10 fixes #2427 2015-04-06 23:50:09 +02:00
Araq
05e39cf6ad overloading of '=' works 2015-04-06 23:21:52 +02:00
Araq
78f371c03a first implementation of overloading of '='; missing: rewriting let/var sections 2015-04-06 23:21:51 +02:00
yglukhov
bf2abe2de2 DOM types renamed. 2015-04-06 14:36:36 +03:00
def
22b4e4c2f2 Use more Natural and Positive numbers in proc parameters
- Didn't go through all modules, only the main ones I thought of
- Building the compiler and tests still work
2015-04-06 02:24:17 +02:00
Andreas Rumpf
99e0fb90e0 Merge pull request #2428 from arnetheduck/comp-lib-ropes
Comp lib ropes
2015-04-06 00:32:08 +02:00
Dominik Picheta
c35fc2bb03 Rewrite in order to not introduce a new node kind. 2015-04-05 15:46:56 +01:00
Dominik Picheta
caf3d9e342 Added accessor procs with default params for JsonNodes. 2015-04-05 13:42:13 +01:00
Andreas Rumpf
2cb9688b8f Merge pull request #2443 from yglukhov/dom-reinherit
Correct dom objects inheritance.
2015-04-05 10:52:43 +02:00
Andreas Rumpf
d1ca5e4067 Merge pull request #2452 from apense/patch-1
Update system.nim
2015-04-05 10:48:49 +02:00
Andreas Rumpf
008c12b840 Merge pull request #2455 from def-/iup
Make iup wrapper work with iup 3.1
2015-04-05 10:45:27 +02:00
Andreas Rumpf
896318c649 Merge pull request #2464 from reactormonk/math-no-side-effect
no side effects on math procs, fixes #2458
2015-04-05 10:44:28 +02:00
reactormonk
74fd43d709 Merge pull request #2461 from ReneSac/devel
Fix warning about sets.testModule() not used.
2015-04-05 03:09:44 +05:00
Simon Hafner
6ce53e3d63 some better sysassert messages 2015-04-04 17:05:18 -05:00
Simon Hafner
4ea5f3e6e6 no side effects on math procs, fixes #2458 2015-04-04 16:44:59 -05:00
Simon Hafner
c1d0b2403b 15 minutes, bit better messages 2015-04-04 16:31:50 -05:00
ReneSac
e41a3e9661 Fix warning about sets.testModule() not used. 2015-04-04 15:28:38 -03:00
def
9c7073bee2 Make iup wrapper work with iup 3.1 2015-04-04 14:35:29 +02:00
Araq
a83286192f GC-safety error messages are useful now 2015-04-04 01:19:32 +02:00
Araq
f767e1749e don't store the scope for routines 2015-04-04 01:19:31 +02:00
Araq
3c54a4a438 docutils are gcsafe 2015-04-04 01:19:31 +02:00
Araq
f98b4d5c0f windows.nim is gcsafe 2015-04-04 01:19:30 +02:00
Araq
f8235cbe2e preparations for better gcsafety messages 2015-04-04 01:19:29 +02:00
Araq
d5f40ee70d better error message for implicit pragmas 2015-04-04 01:19:29 +02:00
apense
0b2a7c3525 Update system.nim
Should let the documentation generate with proper code blocks
2015-04-03 18:38:11 -04:00
Jacek Sieka
0f131b9f46 ropes: remove more unnecessary checks 2015-04-03 23:30:42 +08:00
Andreas Rumpf
c3c215a6fa Merge pull request #2444 from yglukhov/doc-fix
Fixed doc generation on mac.
2015-04-03 17:28:05 +02:00
Andreas Rumpf
4b81d539a1 Merge pull request #2441 from TheAnonymous/devel
fixes https://github.com/Araq/Nim/issues/2116
2015-04-03 17:24:14 +02:00
Jacek Sieka
d7a42641ab compiler_ropes: remove unnecessary length check
frmt[frmt.len] isn't an out-of-bounds access for strings (!)
2015-04-03 23:21:19 +08:00
Dominik Picheta
a5b4c427b4 Merge pull request #2450 from yglukhov/docfix
Doc fix: TProcessOption -> ProcessOption
2015-04-03 12:07:36 +01:00
yglukhov
5793449b5a Doc fix: TProcessOption -> ProcessOption 2015-04-03 13:38:10 +03:00
def
8faac66abe Add items iterator for slices 2015-04-03 11:10:36 +02:00
yglukhov
bd42976906 Fixed doc generation on mac. 2015-04-02 11:02:41 +03:00
fowlmouth
770914bc16 Merge branch 'devel' of github.com:Araq/Nim into patch2 2015-04-02 01:56:44 -05:00
Jacek Sieka
71e785904b compiler_ropes: deprecate old function names 2015-04-01 22:32:15 +08:00