alaviss
eeffa0163f
nimsuggest: add option to force finding the project file ( #12409 )
2019-10-11 09:55:15 +02:00
Arne Döring
7cf3395d85
refactor illegal iterator assignment detection ( #12212 )
...
* refactor illegal iterator assignment detection
* delete crappy test
2019-10-11 08:43:58 +02:00
Jasper Jenkins
245a954b25
ungeneric unsigned ops ( #12230 )
...
* ungenericise unsigned ops, remove nimNewShiftOps
* fix/remove tests
* update t6448
* fix line info
* disable on 32bit
* fix different line info
* add changelog entry
2019-10-11 08:38:08 +02:00
genotrance
9e62876647
Fixes #12286 - require explicit disabling of boehm interior pointer checking ( #12406 ) [backport]
2019-10-11 07:39:18 +02:00
Ray Imber
4e6f2b5313
Fix drain to correctly take into account hasPendingOperations and the timeout value
2019-10-10 17:53:44 -07:00
Ray Imber
aa84d35d86
Fix io slector unregister for windows as well.
2019-10-10 16:50:36 -07:00
Euan
45030972b9
#12389 : Check working directory for getAppFilename() ( #12390 )
...
* Check working directory for exe
* Expand symlinks
* Use expandFilename() to expand symlinks
* Move OpenBSD code to getApplOpenBsd()
2019-10-10 17:28:47 +02:00
Arne Döring
0a29c05a1b
fix #12332 ( #12402 ) [backport]
2019-10-10 14:35:26 +02:00
Andreas Rumpf
00e06bba28
minor improvements for htmlgen.nim
2019-10-10 13:47:55 +02:00
Andreas Rumpf
d783c0f7ff
fixes a koch regression that made 'koch boot --listcmd' not work anymore [backport] ( #12400 )
2019-10-10 11:56:01 +02:00
Araq
7f904e2c66
fixes #12244 [backport]
2019-10-10 10:00:57 +02:00
awr1
3b1760df72
[backport] Mention "lambdas" and => in the manual ( #12397 ) [ci skip]
...
(so that "lambda" can be CTRL+F'd)
2019-10-10 09:28:54 +02:00
Andreas Rumpf
f728614ef8
fixes #12366 [backport] ( #12393 )
2019-10-09 14:48:42 +02:00
Gampol T
82fe19769a
documented behaviour of recv on bufferd socket ( #12374 )
2019-10-09 10:48:15 +02:00
Nindaleth
84c956d9da
fix a few dead links and a missing sentence in documentation ( #12387 )
2019-10-08 15:24:34 -04:00
Andreas Rumpf
f30da2f266
fixes #12315 [backport]; refs #12314 ( #12385 )
2019-10-08 20:49:45 +02:00
Clyybber
00c31e8766
Fixes #12187 ( #12321 )
...
* Fixes #12187
* Point to fork of compactdict
Since the original repo is now archived / read-only
2019-10-08 14:15:47 +02:00
alaviss
edb24b7ce0
nimsuggest: fix tcp socket leak for epc backend ( #12384 ) [backport]
...
Same as e9fa4c9b9c , but for the epc
backend which is used by emacs and vscode plugin.
Since the EPC backend only deal with one connection per nimsuggest
instance, only one socket is leaked, thus not as servere as with the tcp
backend.
2019-10-08 14:14:18 +02:00
Ray Imber
7c23522b29
Documentation improvements around the db interface ( #12362 )
...
Added more details about the limits and reasoning behind the API.
Came about from this discussion on IRC: https://irclogs.nim-lang.org/04-10-2019.html#16:58:04
2019-10-08 11:24:06 +02:00
Ridho Pratama
7ef4bffa79
renderer letAux fix only for octal literal ( #12343 )
...
* renderer letAux fix only for octal literal
* Handle when it's octal -1 for i64
* Added testcases
2019-10-08 11:12:24 +02:00
treeform
dbcffcfccb
Easier build instructions for windows - just run build_all.bat. ( #12276 )
...
* Easier build instructions for windows.
* title letter
* Update build_all.bat to be like build_all.sh
2019-10-08 11:00:37 +02:00
pietroppeter
89c37fada7
[doc/tut1] removed discard discussion in comments ( #12352 )
2019-10-08 09:08:38 +02:00
alaviss
e9fa4c9b9c
nimsuggest: fix tcp socket leak ( #12377 ) [backport]
...
A new socket is created for each iteration and leak immediately thanks
to the accept() call replacing the created socket with the client socket.
This commit fixes that.
2019-10-08 08:11:18 +02:00
cooldome
0355c64b92
External file compilation improvement ( #12380 )
2019-10-08 08:10:55 +02:00
Tomohiro
509f53b782
On windows, os.relativePath returns path as is when roots are different ( #12329 )
...
* On windows, os.relativePath returns path as is when roots are different
* Implement os.sameRoot without windows API
* Fix compile error when compiling lib/nimhcr.nim
* Fix compile error when compiling lib/nimhcr.nim on Windows
2019-10-07 19:57:16 +02:00
Ray Imber
b347490f91
lowered the number of events in the test because some CI's have an extremely low FD limit
2019-10-07 10:07:05 -07:00
Federico Ceratto
f9d95fd6a7
Refactor closeEmitter to make it more modular ( #12365 )
2019-10-07 17:26:27 +02:00
Andreas Rumpf
a60f18d025
fixes #12323 [backport]
2019-10-07 06:47:30 +02:00
Andreas Rumpf
9d000c519a
render typeof as typeof
2019-10-07 06:47:30 +02:00
Ray Imber
0338516e70
Additional fix for User key unregister in the KQueue backend
2019-10-06 17:33:58 -07:00
Ray Imber
adc1419499
Test + fix for epoll and kqueue selector modules to properly unregister
...
event handles that have the key type "User"
2019-10-06 16:02:12 -07:00
Andreas Rumpf
5be8e0b088
VM: no special casing for big endian machines; refs #9690 [backport] ( #12364 )
2019-10-06 19:28:53 +02:00
Federico Ceratto
a03d8ed4c2
Expose some layouter elements, improve readme ( #12361 )
...
Useful for writing linters and static code analysis
2019-10-04 22:43:47 +02:00
Ico Doornekamp
26676066cc
added cpuTime to VM ( #12346 )
...
* added cpuTime to VM
* Hide VM-time cpuTime() behind --benchmarkVM flag
2019-10-04 19:32:16 +02:00
kraptor
412011eb96
Fix reference to parseSpec proc in readme ( #12359 )
2019-10-04 19:30:58 +02:00
Hideki Okamoto
294d5fb560
Fixes #12010 ; Add the description for "cc" option into --fullhelp ( #12350 )
2019-10-04 19:30:20 +02:00
Miran
2909e41370
[backport] bundle nimpretty on Windows ( #12358 )
2019-10-04 17:13:04 +02:00
Andreas Rumpf
60d64d1aef
use system.move instead of system.shallowCopy if the GC mode requires it
2019-10-04 09:48:45 +02:00
Andreas Rumpf
68ce808db1
minor optimization for asynchttpserver.nim
2019-10-04 09:48:45 +02:00
Andrew Owen
64acc9dbfb
[backport] Fix typo in docs ( #12356 ) [ci skip]
2019-10-04 08:40:15 +02:00
Dominik Picheta
4ab9b6146b
Change future version number in changelog
2019-10-03 21:26:20 +01:00
Ridho Pratama
678775601a
Fixed sizeOf to sizeof ( #12347 )
2019-10-03 19:38:37 +02:00
Leorize
73c8391fd3
azure: disable failing tests
2019-10-03 18:36:18 +02:00
Leorize
acebcd7899
testament: add azure integration
2019-10-03 18:36:07 +02:00
Leorize
880df4de62
azure-pipelines: add pipelines for linux, mac and win
...
This is the equivalent to the current AppVeyor + Travis setup.
2019-10-03 18:35:54 +02:00
Andreas Rumpf
c51857f434
fixes #12291 [backport] ( #12338 )
2019-10-03 07:50:32 +02:00
Ico Doornekamp
982086dbe9
Fixed #12337 , leaking pipe after gorge ( #12339 )
2019-10-03 00:48:31 -04:00
hlaaftana
ba43156363
Sets need copying in JS ( #11392 )
...
* Sets need copying in JS
* Fixes #11353
* Add test for #11353
2019-10-02 21:01:59 +02:00
zah
ad13e18c7c
system.writeFile has been overloaded to also support openarray[byte] (#12313 )
2019-10-02 20:34:03 +02:00
Timothee Cour
2446570350
fixes #12330 ( #12331 )
2019-10-02 17:57:24 +02:00