summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate constant regular expression stringsOleh Prypin2015-04-141-14/+20
|
* Merge pull request #2553 from winksaville/fix-importc-atomic_compare_exchangereactormonk2015-04-141-1/+1
|\ | | | | The importc for atomicCompareExchange is incorrectly defined.
| * The importc for atomicCompareExchange is incorrectly defined.Wink Saville2015-04-131-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 errorZahary Karadjov2015-04-143-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 Karadjov2015-04-136-16/+101
| | | | apostrophe operator
* Merge pull request #2531 from endragor/lexing-doc-typoVarriount2015-04-121-1/+1
|\ | | | | Fix typo in lexing.txt: UINT8_LIT -> UINT_LIT
| * Fixed typo in lexing.txt: UINT8_LIT -> UINT_LITRuslan Mustakov2015-04-121-1/+1
|/
* fixes #2498Araq2015-04-112-3/+7
|
* fixes #1658Araq2015-04-112-1/+16
|
* fixes #1691Araq2015-04-113-7/+24
|
* make test greenAraq2015-04-111-1/+1
|
* fixes #2509Araq2015-04-116-2/+54
|
* fixes #2508Araq2015-04-111-10/+10
|
* make test greenAraq2015-04-111-2/+4
|
* re-enable git hash compiler infoAraq2015-04-111-3/+3
|
* Merge pull request #2516 from novist/doc-compiletime-variablereactormonk2015-04-111-4/+3
|\ | | | | Doc: compileTime pragma can be used on variable
| * Doc: compileTime pragma can be used on variablenovist2015-04-111-4/+3
|/
* fixes #2448Araq2015-04-101-4/+10
|
* fixes bootstrapping on windowsAraq2015-04-101-2/+3
|
* fixes #2481Araq2015-04-104-4/+46
|
* minor lexer cleanups; fixes #2504Araq2015-04-103-20/+10
|
* fixes #2500Araq2015-04-103-28/+23
|
* Merge pull request #2329 from def-/readlineAndreas Rumpf2015-04-101-16/+52
|\ | | | | Speed up readLine by using getc_unlocked
| * Speed up readLine by using getc_unlockeddef2015-03-121-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-ropesAndreas Rumpf2015-04-102-130/+142
|\ \ | | | | | | More comp ropes
| * | lib_ropes: better buffering in equalsFile, cleanupsJacek Sieka2015-04-081-63/+80
| | |
| * | compiler_ropes: more lib_ropes portingJacek Sieka2015-04-081-67/+62
| | |
* | | 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
|/ / / / /