Bung
9746868832
fix #14534 ( #15060 ) [backport]
2020-07-25 09:51:59 +02:00
genotrance
8211d38569
Bump nimble commit ( #15053 )
2020-07-25 01:16:25 -05:00
jcosborn
add003a074
fix assignment to converted concept type ( #15051 )
...
* fix assignment to converted concept type
* check for resolved concepts
* add extra test
2020-07-24 21:19:11 +02:00
Miran
4b93c61f0d
jsre: try to fix nightlies ( #15057 )
2020-07-24 21:15:20 +02:00
Araq
12a9fe017e
fixes #15056 [backport]
2020-07-24 17:49:25 +02:00
Andreas Rumpf
18a70a7563
fixes #15036
2020-07-23 20:27:17 +02:00
Andreas Rumpf
c90c53e8bb
fixes #15044 [backport:1.2]
2020-07-23 20:27:17 +02:00
Miran
14d16c2174
json.nim: smaller init size ( #15048 )
...
There was a recent `rightSize` change in tables.nim, so the existing
value (4) was creating too large tables.
2020-07-23 15:42:12 +02:00
Andreas Rumpf
925dd92e07
enforce browsers.nim only handles URLs [backport] ( #15045 )
2020-07-23 11:03:39 +02:00
Miran
ec65bfae3a
Change testing commands for some packages ( #15041 )
2020-07-22 14:57:40 +02:00
Andreas Rumpf
d84894de2e
fixes #15026 [backport] ( #15040 )
...
no test case since only a special case was affected and the special case got removed
2020-07-22 13:02:03 +02:00
Hugo Granström
32ac1b7c9d
fix #15033 ( #15034 )
2020-07-22 10:30:46 +02:00
Danil Yarantsev
f25454d5c6
Add a testcase for #14480 . Fixes #14480 ( #15037 )
2020-07-22 09:52:38 +02:00
Mildred Ki'Lya
503c5e0520
smtp: Fix STARTTLS, request HELO once TLS is established ( #15032 )
2020-07-22 00:30:33 -04:00
Andreas Rumpf
911e39351e
ARC: optimize the code better when --panics:off ( #15031 )
2020-07-21 23:23:33 +02:00
Miran
5fafa2fd5c
fix several newline problems ( #15028 ) [backend]
...
* prevent newlines where they shouldn't be
* 'contentLength' shouldn't be negative
2020-07-21 22:49:08 +02:00
genotrance
450a3e3179
Fix #2408 - add -d:globalSymbols ( #14904 )
2020-07-21 19:14:36 +02:00
Bung
64d629c617
Shadow Dom apis ( #14979 )
...
* shadow dom api
* fix typos
* host to Element type
* fix code style
* move elementsFromPoint to dom_extensions.nim
2020-07-21 19:11:12 +02:00
Andreas Rumpf
c8a72e0748
Merge pull request #15027 from nim-lang/araq-cursor-fix
...
cursor inference bugfix
2020-07-21 07:33:37 +02:00
Andreas Rumpf
3a4e4cec4d
cursor inference bugfix
2020-07-20 18:37:14 +02:00
Andreas Rumpf
80d3ef9952
hotfix: firstOrd/lastOrd for 'tyLent' as it shows up in strange places, as usual
2020-07-20 17:44:35 +02:00
Andreas Rumpf
70acba7f0d
readLine: Unicode support for Windows console ( #14782 )
...
* 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.
2020-07-20 14:39:27 +02:00
Andreas Rumpf
49d4b50fe5
fixes #14194 ( #15023 )
2020-07-20 14:28:00 +02:00
alaviss
9a76398ec6
koch: use in-tree Nim to run test if possible ( #15018 )
...
Fixes #15013
2020-07-20 08:02:48 +02:00
Andreas Rumpf
71dd5f85b9
'isolate' builtin; refs https://github.com/nim-lang/RFCs/issues/244 ( #15011 )
2020-07-20 07:50:19 +02:00
alaviss
bb1adf6a70
io: fix SetHandleInformation signature to match Windows' ( #15017 )
...
* io: fix SetHandleInformation signature to match Windows'
Fixes #14980
* rename Handle -> IoHandle because system.nim is a mess
2020-07-20 00:17:33 -04:00
narimiran
b16284633e
enable 'nimterop' test
2020-07-20 05:44:06 +02:00
Dominik Picheta
1e3a0ef1e1
[Backport] Fixes callbacks being dropped on Linux/macOS/BSD. ( #15012 )
...
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 (!).
2020-07-19 08:41:36 +02:00
Araq
ffe7b3a9bf
threadpool.nim: minor code style changes
2020-07-18 21:40:57 +02:00
Andy Davidoff
ae358a0c7a
fix docs for nativesocket read/write selects ( #15010 )
...
The sockets which *cannot* be _[read from or written to]_ will also be removed from ``readfds``.
2020-07-18 16:39:41 +02:00
Timothee Cour
169ca37d26
enable,document,test getImplTransformed, very useful for understanding how nim transforms code ( #14924 )
...
* enable,document,test getImplTransformed, very useful for understanding how nim transforms code
2020-07-18 10:49:36 +02:00
Tomohiro
c983466c15
Fix #14906 ( #14949 )
...
* 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
2020-07-18 10:41:33 +02:00
cooldome
edbbbdf1a8
fix odbc regressions ( #15009 ) [backport]
...
* fix odbc regressions
* make only necessary changes
2020-07-18 10:21:09 +02:00
Andreas Rumpf
d4984e069a
arc: cursors for simple for loop variables ( #15008 )
...
* arc: cursors for simple for loop variables
* merged devel
2020-07-17 15:24:36 +02:00
Bung
c2f80de1c7
fix #14822 copy test into var in matrix process, so can reset startTime 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
2020-07-17 11:01:47 +02:00
Miran
c62513049c
fix #14082 , don't crash on incorrectly formatted input ( #14977 ) [backport]
...
* fix #14082 , don't crash on incorrectly formatted input
* address code review
* remove duplication
2020-07-17 10:59:53 +02:00
Clyybber
1355b461aa
Show that a variable is cursor in --expandArc ( #15002 )
2020-07-17 10:56:17 +02:00
flywind
9fb7467fda
fix #15006 ( #15007 )
2020-07-17 10:53:26 +02:00
Andreas Rumpf
6b607413e9
cursor inference: hotfix ( #14999 )
2020-07-16 12:07:06 +02:00
Bung
ba5604b96d
fix #13621 , the nim-livereload is mentioned as proposal in #8927 ( #14998 )
2020-07-16 11:18:59 +02:00
Clyybber
282128ab66
Fix #14994 ( #14996 )
...
* Fix #14994
* Revert misplaced "optimization"
* Typo
2020-07-15 23:33:58 +02:00
Andreas Rumpf
617c1f16d7
disable debug output
2020-07-15 23:04:18 +02:00
Andreas Rumpf
c5358b0d4b
An optimizer for ARC ( #14962 )
...
* 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 >
2020-07-15 23:00:06 +02:00
Clyybber
813dd1b670
repr_v2 improvements ( #14992 )
...
* Support proc in arc repr
* Typo
* Improve repr for strings and chars
2020-07-15 22:04:15 +02:00
Clyybber
e057b1d839
Fix #14990 ( #14991 )
...
* Fix #14990
* Add testcase
2020-07-15 19:00:52 +02:00
Clyybber
08159733cd
Fix #14985 ( #14988 )
2020-07-15 11:34:10 +02:00
flywind
c5f64f101b
fix #13086 ( #14987 )
...
* fix #6608
* minor
* fix
* clean tests
* make testamnet happy
* again
* minor
* fix #13086
2020-07-15 03:46:17 -04:00
Clyybber
f2b041f168
Reenable a few tests
2020-07-14 19:50:42 +02:00
Clyybber
ddfb7d9877
Closes #10396
2020-07-14 19:50:42 +02:00
Clyybber
695a537c05
Closes #13253
2020-07-14 19:50:42 +02:00