summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* readLine: Unicode support for Windows console (#14782)Andreas Rumpf2020-07-201-0/+62
|\ | | | | | | | | | | | | | | | | | | | | | | * readLine: Unicode support for Windows console When input is read from the Windows console, input encoding is UTF16. This is translated internally to UTF8. * readLine: Remove recursive imports * readLine: Fix issues with --gc:arc **--gc:arc** defines **nimv2**. This changes the definition of **WideCStringObj**. Also an empty string should be returned in case of EOF.
| * readLine: Fix issues with --gc:arcktamp2020-06-261-6/+11
| | | | | | | | **--gc:arc** defines **nimv2**. This changes the definition of **WideCStringObj**. Also an empty string should be returned in case of EOF.
| * readLine: Remove recursive importsktamp2020-06-251-10/+31
| |
| * readLine: Unicode support for Windows consolektamp2020-06-231-0/+36
| | | | | | When input is read from the Windows console, input encoding is UTF16. This is translated internally to UTF8.
* | fixes #14194 (#15023)Andreas Rumpf2020-07-201-1/+2
| |
* | koch: use in-tree Nim to run test if possible (#15018)alaviss2020-07-201-2/+4
| | | | | | Fixes #15013
* | 'isolate' builtin; refs https://github.com/nim-lang/RFCs/issues/244 (#15011)Andreas Rumpf2020-07-209-6/+194
| |
* | io: fix SetHandleInformation signature to match Windows' (#15017)alaviss2020-07-201-2/+7
| | | | | | | | | | | | | | * io: fix SetHandleInformation signature to match Windows' Fixes #14980 * rename Handle -> IoHandle because system.nim is a mess
* | enable 'nimterop' testnarimiran2020-07-201-1/+1
| |
* | [Backport] Fixes callbacks being dropped on Linux/macOS/BSD. (#15012)Dominik Picheta2020-07-192-1/+73
| | | | | | | | | | | | | | | | | | Fixes #15003. This is a serious bug which occurs when data cannot be read/sent immediately and there are a bunch of other read/write events pending. What happens is that the new events are dropped which results in the case of the reported bug resulted in some data not being sent (!).
* | threadpool.nim: minor code style changesAraq2020-07-181-5/+5
| |
* | fix docs for nativesocket read/write selects (#15010)Andy Davidoff2020-07-181-2/+2
| | | | | | The sockets which *cannot* be _[read from or written to]_ will also be removed from ``readfds``.
* | enable,document,test getImplTransformed, very useful for understanding how ↵Timothee Cour2020-07-182-2/+25
| | | | | | | | | | | | nim transforms code (#14924) * enable,document,test getImplTransformed, very useful for understanding how nim transforms code
* | Fix #14906 (#14949)Tomohiro2020-07-183-9/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix #14906 by wrapping outputStream with PipeOutStream * Fix compile error when ./build_all.sh * Use PipeOutStream on posix * Fix compile error when build_all.sh * Use ptr UncheckedArray * Replace copyRefObj * Remove tmp buffer from posPeekData * Add more tests for outputStream * Add comments about PipeOutStream.buffer * Fix bug in posReadLine * Move implementation of newPipeOutStream to streamwrapper module
* | fix odbc regressions (#15009) [backport]cooldome2020-07-181-2/+2
| | | | | | | | | | * fix odbc regressions * make only necessary changes
* | arc: cursors for simple for loop variables (#15008)Andreas Rumpf2020-07-174-7/+52
| | | | | | | | | | * arc: cursors for simple for loop variables * merged devel
* | fix #14822 copy test into var in matrix process, so can reset startTime ↵Bung2020-07-171-4/+6
| | | | | | | | | | | | | | | | | | before actully run (#15000) * TTest pass by ref , so can reset startTime before actully run * change TTest to ref type * clone test in matrix process
* | fix #14082, don't crash on incorrectly formatted input (#14977) [backport]Miran2020-07-173-42/+42
| | | | | | | | | | | | | | * fix #14082, don't crash on incorrectly formatted input * address code review * remove duplication
* | Show that a variable is cursor in --expandArc (#15002)Clyybber2020-07-175-23/+23
| |
* | fix #15006 (#15007)flywind2020-07-171-1/+1
| |
* | cursor inference: hotfix (#14999)Andreas Rumpf2020-07-161-8/+13
| |
* | fix #13621, the nim-livereload is mentioned as proposal in #8927 (#14998)Bung2020-07-161-2/+1
| |
* | Fix #14994 (#14996)Clyybber2020-07-153-1/+17
| | | | | | | | | | | | | | * Fix #14994 * Revert misplaced "optimization" * Typo
* | disable debug outputAndreas Rumpf2020-07-151-1/+1
| |
* | An optimizer for ARC (#14962)Andreas Rumpf2020-07-1519-62/+895
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: an optimizer for ARC * do not optimize away destructors in 'finally' if unstructured control flow is involved * optimized the optimizer * minor code cleanup * first steps to .cursor inference * cursor inference: big steps to a working solution * baby steps * better .cursor inference * new feature: expandArc for easy inspection of the AST after ARC transformations * added topt_cursor test * adapt tests * cleanups, make tests green * optimize common traversal patterns * moved test case * fixes .cursor inference so that npeg compiles once again * cursor inference: more bugfixes Co-authored-by: Clyybber <darkmine956@gmail.com>
* | repr_v2 improvements (#14992)Clyybber2020-07-152-10/+34
| | | | | | | | | | | | | | * Support proc in arc repr * Typo * Improve repr for strings and chars
* | Fix #14990 (#14991)Clyybber2020-07-152-2/+13
| | | | | | | | | | * Fix #14990 * Add testcase
* | Fix #14985 (#14988)Clyybber2020-07-152-2/+32
| |
* | fix #13086 (#14987)flywind2020-07-152-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix #6608 * minor * fix * clean tests * make testamnet happy * again * minor * fix #13086
* | Reenable a few testsClyybber2020-07-144-10/+7
| |
* | Closes #10396Clyybber2020-07-141-0/+55
| |
* | Closes #13253Clyybber2020-07-141-0/+31
| |
* | Closes #8426Clyybber2020-07-141-0/+14
| |
* | Clean up macros (#14959)Juan Carlos2020-07-148-43/+6
| |
* | injectdestructors fixes and refactor (#14964)Clyybber2020-07-146-198/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * injectdestructors fixes and refactor * Tiny cleanup * Refactor and expand testcase * Closes #14902 by adding testcase * Better naming * Fix test failures * Misc cleanup * Add testcase for #14968 * Better approach; expand testcases * Optimizations and fixes * Add testcase * typo * Tiny cleanup
* | add missing props,procs (#14978)Bung2020-07-141-0/+12
| |
* | fix index error (#14974)Hendrik2020-07-141-1/+2
| | | | | | Co-authored-by: Hendrik Albers <mail@hendrik.dev>
* | fix #14475; unittest.require now works with `nim c`; require and check now ↵Timothee Cour2020-07-146-13/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | works with -d:nodejs (#14676) * fix #14475; make unittest work with -d:nodejs * fixup * fixup * disable inim, delaunay which failed after unittest.require got fixed * re-enable tests that have been fixed
* | add full tests from #9463 (#14975)jcosborn2020-07-141-11/+161
| |
* | fix #6608 (#14963)flywind2020-07-142-1/+26
| | | | | | | | * fix #6608
* | asyncftpclient.nim - don't assume a sufficiend line length (#14973)Miran2020-07-141-1/+1
| |
* | optimize the new nimPrepareStrMutationV2 with inlining (#14969)Andreas Rumpf2020-07-121-6/+9
| |
* | nimpretty support for multiple files (#14890)Alexander Wolfe2020-07-122-16/+65
| |
* | Fix #12759 (#14967)flywind2020-07-122-1/+11
| | | | | | | | | | * add testcase for #5926 * fix #12759
* | :DClyybber2020-07-111-0/+0
| |
* | add testcase for #5926 (#14965)flywind2020-07-111-0/+22
| |
* | https://github.com/nim-lang/Nim/pull/14948#issuecomment-656498426 (#14958)Juan Carlos2020-07-111-1/+1
| |
* | Add testcase for some old fixed issues (#14960)Clyybber2020-07-102-0/+18
| | | | | | | | | | | | | | * Add testcase for #2703 * Add testcase for #2586 * Small fix
* | Add testcase for #14383 (#14957)Clyybber2020-07-102-0/+36
| |
* | Add testcase for #13815 (#14956)Clyybber2020-07-101-1/+14
| |