| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
**--gc:arc** defines **nimv2**. This changes the definition of **WideCStringObj**.
Also an empty string should be returned in case of EOF.
|
| | |
|
| |
| |
| | |
When input is read from the Windows console, input encoding is UTF16. This is translated internally to UTF8.
|
| | |
|
| |
| |
| | |
Fixes #15013
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* io: fix SetHandleInformation signature to match Windows'
Fixes #14980
* rename Handle -> IoHandle because system.nim is a mess
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 (!).
|
| | |
|
| |
| |
| | |
The sockets which *cannot* be _[read from or written to]_ will also be removed from ``readfds``.
|
| |
| |
| |
| |
| |
| | |
nim transforms code (#14924)
* enable,document,test getImplTransformed, very useful for understanding how nim transforms code
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
* make only necessary changes
|
| |
| |
| |
| |
| | |
* arc: cursors for simple for loop variables
* merged devel
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
* address code review
* remove duplication
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* Fix #14994
* Revert misplaced "optimization"
* Typo
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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>
|
| |
| |
| |
| |
| |
| |
| | |
* Support proc in arc repr
* Typo
* Improve repr for strings and chars
|
| |
| |
| |
| |
| | |
* Fix #14990
* Add testcase
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* fix #6608
* minor
* fix
* clean tests
* make testamnet happy
* again
* minor
* fix #13086
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| | |
|
| |
| |
| | |
Co-authored-by: Hendrik Albers <mail@hendrik.dev>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| | |
* fix #6608
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* add testcase for #5926
* fix #12759
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
* Add testcase for #2703
* Add testcase for #2586
* Small fix
|
| | |
|
| | |
|