Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #2502 from def-/pcre | Andreas Rumpf | 2015-04-10 | 2 | -45/+55 |
|\ | | | | | Fix infinite loop in re.findAll | ||||
| * | Add test case for infinite loop in RE | def | 2015-04-09 | 1 | -0/+9 |
| | | |||||
| * | Fix infinite loop in findAll | def | 2015-04-09 | 1 | -0/+1 |
| | | |||||
| * | Clean up re module a bit | def | 2015-04-09 | 1 | -45/+45 |
| | | |||||
* | | Merge pull request #2494 from JosephTurner/fix-matching-error | Andreas Rumpf | 2015-04-09 | 2 | -7/+19 |
|\ \ | |/ |/| | Fixes matching error #2418 | ||||
| * | Adds note about change to news | Joseph Turner | 2015-04-09 | 1 | -1/+5 |
| | | |||||
| * | Adds test case to is isMainModule block | Joseph Turner | 2015-04-08 | 1 | -1/+6 |
| | | | | | | | | Adds the test case that originally caused the bug, issue #2418. | ||||
| * | Fixes matching error #2418 | Joseph Turner | 2015-04-08 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | | Fixes the split iterator, the main problem was with the incrementation of 'last'. Last was first incremented to the index of the first character after the match, but was then incremented again at the beginning of the while loop. This caused a problem if that character after the first match, also matched the regular expression. | ||||
* | | Merge pull request #2491 from ReneSac/strongSpacesFix | Andreas Rumpf | 2015-04-09 | 2 | -7/+25 |
|\ \ | | | | | | | Apply strongSpaces to keyword operators too. Fix #1894. | ||||
| * | | Added tests for keyword operators in tstrongspaces | ReneSac | 2015-04-08 | 1 | -1/+18 |
| | | | | | | | | | | | | Changed one old test to account for the effect of strong spaces on "and" and cia now. | ||||
| * | | Refactored getPrecedence() after last change | ReneSac | 2015-04-08 | 1 | -11/+11 |
| | | | | | | | | | | | | The considerStrongSpaces() is now applied to almost all results, so it is better to do it at the end. | ||||
| * | | Consider #!strongSpaces for keyword operators too. | ReneSac | 2015-04-08 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | 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. | ||||
* | | | Merge pull request #2496 from BlaXpirit/js-header-comma | Andreas Rumpf | 2015-04-09 | 2 | -2/+11 |
|\ \ \ | | | | | | | | | Fix JS codegen: proc header with compiletime arguments | ||||
| * | | | Don't add a comma too soon | Oleh Prypin | 2015-04-09 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Fixes #2495 | ||||
| * | | | Test JS proc header codegen | Oleh Prypin | 2015-04-09 | 1 | -1/+10 |
| | |/ | |/| | |||||
* | | | Merge pull request #2499 from JosephTurner/fix-uint-segv | Andreas Rumpf | 2015-04-09 | 2 | -1/+11 |
|\ \ \ | | | | | | | | | Fixes #1986 when calling sameConstant on uint | ||||
| * | | | Adds test file, for bug #1986 | Joseph Turner | 2015-04-09 | 1 | -0/+10 |
| | | | | |||||
| * | | | Fixes #1986 when calling sameConstant on uint | Joseph Turner | 2015-04-09 | 1 | -1/+1 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | The problem was saveConstant only checked the range `nkCharLit..nkInt64Lit`, but not up to UInt. This lead to the sonsLen method being called, where sons was never declared. This commit changes it to `nkCharLit..nkUint64Lit`, to match the case statements in the type definition of TNode, in ast.nim. | ||||
* | | | Merge pull request #2426 from def-/fix-1460 | Andreas Rumpf | 2015-04-09 | 3 | -2/+3 |
|\ \ \ | | | | | | | | | Fix #1460 | ||||
| * | | | Fix installer path for nim.nim.cfg | def | 2015-03-28 | 1 | -1/+1 |
| | | | | |||||
| * | | | Initialize c compiler variables later ... | def | 2015-03-28 | 2 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | ... so that symbols such as "cpp" are defined Fixes #1460 | ||||
* | | | | Merge pull request #2497 from BlaXpirit/intsets-import | reactormonk | 2015-04-09 | 1 | -1/+1 |
|\ \ \ \ | |_|/ / |/| | | | Remove unneeded import os from intsets | ||||
| * | | | Remove unneeded import os from intsets | Oleh Prypin | 2015-04-09 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #2484 from yglukhov/macos-sigpipe | Andreas Rumpf | 2015-04-08 | 3 | -6/+11 |
|\ \ \ | | | | | | | | | Fixed SIGPIPE on MacOS | ||||
| * | | | Fixed SIGPIPE on MacOS | yglukhov | 2015-04-08 | 3 | -6/+11 |
| | | | | |||||
* | | | | fixes #2489 | Araq | 2015-04-08 | 2 | -1/+10 |
| | | | | |||||
* | | | | minor doc improvements | Araq | 2015-04-08 | 2 | -5/+7 |
| | | | | |||||
* | | | | Merge pull request #2486 from endragor/rational-hash | Andreas Rumpf | 2015-04-08 | 1 | -0/+14 |
|\ \ \ \ | | | | | | | | | | | Add hash proc for Rational | ||||
| * | | | | Added hash proc for Rational | Ruslan Mustakov | 2015-04-08 | 1 | -0/+14 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #2487 from endragor/rational-cmp-procvar | Andreas Rumpf | 2015-04-08 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Add procvar pragma to rationals.cmp | ||||
| * | | | | Added procvar pragma to rationals.cmp | Ruslan Mustakov | 2015-04-08 | 1 | -1/+1 |
| |/ / / | |||||
* | | | | Merge pull request #2483 from def-/ropes | Andreas Rumpf | 2015-04-08 | 22 | -1486/+1453 |
|\ \ \ \ | |/ / / |/| | | | Get rid of deprecation warnings | ||||
| * | | | Get rid of deprecation warnings | def | 2015-04-07 | 22 | -1486/+1453 |
| |/ / | |||||
* | | | Merge pull request #2472 from def-/natural | Andreas Rumpf | 2015-04-07 | 10 | -1196/+1196 |
|\ \ \ | |/ / |/| | | Use more Natural and Positive numbers in proc parameters | ||||
| * | | Use more Natural and Positive numbers in proc parameters | def | 2015-04-06 | 10 | -1196/+1196 |
| | | | | | | | | | | | | | | | - Didn't go through all modules, only the main ones I thought of - Building the compiler and tests still work | ||||
* | | | Merge pull request #2475 from yglukhov/dom-renames | Andreas Rumpf | 2015-04-07 | 1 | -51/+76 |
|\ \ \ | | | | | | | | | DOM types renamed. | ||||
| * | | | DOM types renamed. | yglukhov | 2015-04-06 | 1 | -51/+76 |
| |/ / | |||||
* | | | Merge pull request #2479 from def-/torational | Andreas Rumpf | 2015-04-07 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | Fix toRational | ||||
| * | | | Fix toRational | def | 2015-04-07 | 1 | -2/+2 |
| | | | | |||||
* | | | | Merge pull request #2480 from def-/container | Andreas Rumpf | 2015-04-07 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | Fix container example in manual a bit | ||||
| * | | | Fix container example in manual a bit | def | 2015-04-07 | 1 | -1/+1 |
|/ / / | |||||
* | | | better alternative to 'override' | Araq | 2015-04-07 | 3 | -19/+18 |
| | | | |||||
* | | | added system.typed and system.untyped aliases | Araq | 2015-04-07 | 4 | -6/+12 |
| | | | |||||
* | | | fixes #2427 | Araq | 2015-04-06 | 2 | -2/+16 |
| | | | |||||
* | | | overloading of '=' works | Araq | 2015-04-06 | 9 | -6/+147 |
| | | | |||||
* | | | first implementation of overloading of '='; missing: rewriting let/var sections | Araq | 2015-04-06 | 12 | -215/+373 |
|/ / | |||||
* | | Merge pull request #2428 from arnetheduck/comp-lib-ropes | Andreas Rumpf | 2015-04-06 | 15 | -191/+202 |
|\ \ | | | | | | | Comp lib ropes | ||||
| * | | ropes: remove more unnecessary checks | Jacek Sieka | 2015-04-03 | 2 | -5/+5 |
| | | | |||||
| * | | compiler_ropes: remove unnecessary length check | Jacek Sieka | 2015-04-03 | 1 | -1/+1 |
| | | | | | | | | | | | | frmt[frmt.len] isn't an out-of-bounds access for strings (!) | ||||
| * | | compiler_ropes: deprecate old function names | Jacek Sieka | 2015-04-01 | 1 | -16/+15 |
| | | |