summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2502 from def-/pcreAndreas Rumpf2015-04-102-45/+55
|\ | | | | Fix infinite loop in re.findAll
| * Add test case for infinite loop in REdef2015-04-091-0/+9
| |
| * Fix infinite loop in findAlldef2015-04-091-0/+1
| |
| * Clean up re module a bitdef2015-04-091-45/+45
| |
* | Merge pull request #2494 from JosephTurner/fix-matching-errorAndreas Rumpf2015-04-092-7/+19
|\ \ | |/ |/| Fixes matching error #2418
| * Adds note about change to newsJoseph Turner2015-04-091-1/+5
| |
| * Adds test case to is isMainModule blockJoseph Turner2015-04-081-1/+6
| | | | | | | | Adds the test case that originally caused the bug, issue #2418.
| * Fixes matching error #2418Joseph Turner2015-04-081-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/strongSpacesFixAndreas Rumpf2015-04-092-7/+25
|\ \ | | | | | | Apply strongSpaces to keyword operators too. Fix #1894.
| * | Added tests for keyword operators in tstrongspacesReneSac2015-04-081-1/+18
| | | | | | | | | | | | Changed one old test to account for the effect of strong spaces on "and" and cia now.
| * | Refactored getPrecedence() after last changeReneSac2015-04-081-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.ReneSac2015-04-081-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-commaAndreas Rumpf2015-04-092-2/+11
|\ \ \ | | | | | | | | Fix JS codegen: proc header with compiletime arguments
| * | | Don't add a comma too soonOleh Prypin2015-04-091-1/+1
| | | | | | | | | | | | | | | | Fixes #2495
| * | | Test JS proc header codegenOleh Prypin2015-04-091-1/+10
| | |/ | |/|
* | | Merge pull request #2499 from JosephTurner/fix-uint-segvAndreas Rumpf2015-04-092-1/+11
|\ \ \ | | | | | | | | Fixes #1986 when calling sameConstant on uint
| * | | Adds test file, for bug #1986Joseph Turner2015-04-091-0/+10
| | | |
| * | | Fixes #1986 when calling sameConstant on uintJoseph Turner2015-04-091-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-1460Andreas Rumpf2015-04-093-2/+3
|\ \ \ | | | | | | | | Fix #1460
| * | | Fix installer path for nim.nim.cfgdef2015-03-281-1/+1
| | | |
| * | | Initialize c compiler variables later ...def2015-03-282-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | ... so that symbols such as "cpp" are defined Fixes #1460
* | | | Merge pull request #2497 from BlaXpirit/intsets-importreactormonk2015-04-091-1/+1
|\ \ \ \ | |_|/ / |/| | | Remove unneeded import os from intsets
| * | | Remove unneeded import os from intsetsOleh Prypin2015-04-091-1/+1
|/ / /
* | | Merge pull request #2484 from yglukhov/macos-sigpipeAndreas Rumpf2015-04-083-6/+11
|\ \ \ | | | | | | | | Fixed SIGPIPE on MacOS
| * | | Fixed SIGPIPE on MacOSyglukhov2015-04-083-6/+11
| | | |
* | | | fixes #2489Araq2015-04-082-1/+10
| | | |
* | | | minor doc improvementsAraq2015-04-082-5/+7
| | | |
* | | | Merge pull request #2486 from endragor/rational-hashAndreas Rumpf2015-04-081-0/+14
|\ \ \ \ | | | | | | | | | | Add hash proc for Rational
| * | | | Added hash proc for RationalRuslan Mustakov2015-04-081-0/+14
| | |_|/ | |/| |
* | | | Merge pull request #2487 from endragor/rational-cmp-procvarAndreas Rumpf2015-04-081-1/+1
|\ \ \ \ | | | | | | | | | | Add procvar pragma to rationals.cmp
| * | | | Added procvar pragma to rationals.cmpRuslan Mustakov2015-04-081-1/+1
| |/ / /
* | | | Merge pull request #2483 from def-/ropesAndreas Rumpf2015-04-0822-1486/+1453
|\ \ \ \ | |/ / / |/| | | Get rid of deprecation warnings
| * | | Get rid of deprecation warningsdef2015-04-0722-1486/+1453
| |/ /
* | | Merge pull request #2472 from def-/naturalAndreas Rumpf2015-04-0710-1196/+1196
|\ \ \ | |/ / |/| | Use more Natural and Positive numbers in proc parameters
| * | Use more Natural and Positive numbers in proc parametersdef2015-04-0610-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-renamesAndreas Rumpf2015-04-071-51/+76
|\ \ \ | | | | | | | | DOM types renamed.
| * | | DOM types renamed.yglukhov2015-04-061-51/+76
| |/ /
* | | Merge pull request #2479 from def-/torationalAndreas Rumpf2015-04-071-2/+2
|\ \ \ | | | | | | | | Fix toRational
| * | | Fix toRationaldef2015-04-071-2/+2
| | | |
* | | | Merge pull request #2480 from def-/containerAndreas Rumpf2015-04-071-1/+1
|\ \ \ \ | |/ / / |/| | | Fix container example in manual a bit
| * | | Fix container example in manual a bitdef2015-04-071-1/+1
|/ / /
* | | better alternative to 'override'Araq2015-04-073-19/+18
| | |
* | | added system.typed and system.untyped aliasesAraq2015-04-074-6/+12
| | |
* | | fixes #2427Araq2015-04-062-2/+16
| | |
* | | overloading of '=' worksAraq2015-04-069-6/+147
| | |
* | | first implementation of overloading of '='; missing: rewriting let/var sectionsAraq2015-04-0612-215/+373
|/ /
* | Merge pull request #2428 from arnetheduck/comp-lib-ropesAndreas Rumpf2015-04-0615-191/+202
|\ \ | | | | | | Comp lib ropes
| * | ropes: remove more unnecessary checksJacek Sieka2015-04-032-5/+5
| | |
| * | compiler_ropes: remove unnecessary length checkJacek Sieka2015-04-031-1/+1
| | | | | | | | | | | | frmt[frmt.len] isn't an out-of-bounds access for strings (!)
| * | compiler_ropes: deprecate old function namesJacek Sieka2015-04-011-16/+15
| | |