Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate constant regular expression strings | Oleh Prypin | 2015-04-14 | 1 | -14/+20 |
| | |||||
* | Merge pull request #2553 from winksaville/fix-importc-atomic_compare_exchange | reactormonk | 2015-04-14 | 1 | -1/+1 |
|\ | | | | | The importc for atomicCompareExchange is incorrectly defined. | ||||
| * | The importc for atomicCompareExchange is incorrectly defined. | Wink Saville | 2015-04-13 | 1 | -1/+1 |
|/ | | | | | The .importc: was referring to __atomic_compare_exchange_n this corrects it to be __atomic_compare_exchange. | ||||
* | The getSubsystem<T> example in the manual currently fails with a codegen error | Zahary Karadjov | 2015-04-14 | 3 | -5/+25 |
| | | | | | | | | A faulty proc declaration is generated: N_NIMCALL(System::Input*, SystemManager::getSubsystem<'*0>())(void); The manual has been edited to add a nodecl pragma, which alleviates the issue Fix a typo in the vector_iterator example from the previous commit. | ||||
* | importing of C++ nested generics like std::vector<T>::iterator, using the ↵ | Zahary Karadjov | 2015-04-13 | 6 | -16/+101 |
| | | | | apostrophe operator | ||||
* | Merge pull request #2531 from endragor/lexing-doc-typo | Varriount | 2015-04-12 | 1 | -1/+1 |
|\ | | | | | Fix typo in lexing.txt: UINT8_LIT -> UINT_LIT | ||||
| * | Fixed typo in lexing.txt: UINT8_LIT -> UINT_LIT | Ruslan Mustakov | 2015-04-12 | 1 | -1/+1 |
|/ | |||||
* | fixes #2498 | Araq | 2015-04-11 | 2 | -3/+7 |
| | |||||
* | fixes #1658 | Araq | 2015-04-11 | 2 | -1/+16 |
| | |||||
* | fixes #1691 | Araq | 2015-04-11 | 3 | -7/+24 |
| | |||||
* | make test green | Araq | 2015-04-11 | 1 | -1/+1 |
| | |||||
* | fixes #2509 | Araq | 2015-04-11 | 6 | -2/+54 |
| | |||||
* | fixes #2508 | Araq | 2015-04-11 | 1 | -10/+10 |
| | |||||
* | make test green | Araq | 2015-04-11 | 1 | -2/+4 |
| | |||||
* | re-enable git hash compiler info | Araq | 2015-04-11 | 1 | -3/+3 |
| | |||||
* | Merge pull request #2516 from novist/doc-compiletime-variable | reactormonk | 2015-04-11 | 1 | -4/+3 |
|\ | | | | | Doc: compileTime pragma can be used on variable | ||||
| * | Doc: compileTime pragma can be used on variable | novist | 2015-04-11 | 1 | -4/+3 |
|/ | |||||
* | fixes #2448 | Araq | 2015-04-10 | 1 | -4/+10 |
| | |||||
* | fixes bootstrapping on windows | Araq | 2015-04-10 | 1 | -2/+3 |
| | |||||
* | fixes #2481 | Araq | 2015-04-10 | 4 | -4/+46 |
| | |||||
* | minor lexer cleanups; fixes #2504 | Araq | 2015-04-10 | 3 | -20/+10 |
| | |||||
* | fixes #2500 | Araq | 2015-04-10 | 3 | -28/+23 |
| | |||||
* | Merge pull request #2329 from def-/readline | Andreas Rumpf | 2015-04-10 | 1 | -16/+52 |
|\ | | | | | Speed up readLine by using getc_unlocked | ||||
| * | Speed up readLine by using getc_unlocked | def | 2015-03-12 | 1 | -16/+52 |
| | | | | | | | | | | | | - Only on POSIX and Windows (_fgetc_nolock here) systems - File is locked to our thread before and unlocked after readLine - About 3 times faster in some simple tests | ||||
* | | Merge pull request #2493 from arnetheduck/more-comp-ropes | Andreas Rumpf | 2015-04-10 | 2 | -130/+142 |
|\ \ | | | | | | | More comp ropes | ||||
| * | | lib_ropes: better buffering in equalsFile, cleanups | Jacek Sieka | 2015-04-08 | 1 | -63/+80 |
| | | | |||||
| * | | compiler_ropes: more lib_ropes porting | Jacek Sieka | 2015-04-08 | 1 | -67/+62 |
| | | | |||||
* | | | 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 |
|/ / / / / |