Andreas Rumpf
832b0a0232
fixes #12420 [backport] ( #12456 )
2019-10-18 22:13:24 +02:00
Tomohiro
6b157e5f73
Fix vcc linker option name ( #12422 )
2019-10-18 16:20:18 +02:00
Andreas Rumpf
889b745b2b
Revert "Fixes #12187 ( #12321 )" ( #12447 )
...
This reverts commit 00c31e8766 .
2019-10-18 15:59:22 +02:00
Juan Carlos
f5b4d9a2e5
Fixes #8802 ( #12439 )
...
* Fix #8802
* Peer review feedbacks https://github.com/nim-lang/Nim/pull/12439#discussion_r335905397
2019-10-18 14:27:23 +02:00
Juan Carlos
4a0debfe87
Add no-ident for GCC when -d:release ( #12454 )
2019-10-18 14:13:55 +02:00
Juan Carlos
0a6e0a3f38
Improve htmlgen ( #12452 )
2019-10-18 12:16:01 +02:00
Miran
a5ab502f08
[backport] fix type's case in random.nim ( #12445 )
2019-10-17 22:13:00 +02:00
Andreas Rumpf
81125e2029
[backport] add back a check that got accidentically removed; fixes #12379 ( #12444 )
2019-10-17 20:02:59 +02:00
Juan Carlos
4d1f69c7d2
Fixes #10824 ( #12437 )
2019-10-17 11:39:01 +02:00
Juan Carlos
2cfd58de48
Fix #10804 ( #12438 )
2019-10-17 11:37:55 +02:00
Juan Carlos
1ccf1b89c2
Improve jsconsole adding the rest of the stable api as documented on the standard at https://developer.mozilla.org/docs/Web/API/Console ( #12440 )
2019-10-17 11:37:08 +02:00
Arne Döring
21cbfd72ec
Refactor json macro ( #12391 )
...
* closes #12316
* make tjsonmacro work at js target
* closes #12289
* closes #11988
* also fixed gdb related stuff
2019-10-17 09:55:41 +02:00
treeform
5ba932e43c
About 50% faster base64 implemention. ( #12436 )
2019-10-17 09:50:00 +02:00
alaviss
37dfb7ecc6
compiler/options: only check the last folder for a candidate ( #12421 )
...
This prevents a nimble file from causing a different project to be
targeted instead of the desired one.
2019-10-16 13:03:11 +02:00
Miran
734da9e1df
fixes #11764 , faster hashing of (u)int ( #12407 )
2019-10-15 16:31:07 +02:00
Miran
5f5ac8ce16
[backport] fix #12418 , fix random.randomize on JS backend ( #12432 )
2019-10-15 16:29:32 +02:00
Yuriy Glukhov
1aed455e7c
Fixed yield in nkCheckedFieldExpr ( #12429 ) [backport]
2019-10-15 09:16:06 +02:00
narimiran
48975bb3e7
[ci skip] disable two packages until #11764 is merged
2019-10-14 11:51:41 +02:00
Alexander Ivanov
990aadc43c
Fixes semCustomPragma when nkSym ( #12414 ) [backport]
2019-10-11 18:05:23 +02:00
alaviss
94c1695be6
compiler/options: improve project file detection ( #12404 )
...
The compiler can now correctly find the project file of a nimble package.
The algorithm is based on what used by nim.nvim, which has yielded good
results.
2019-10-11 18:04:52 +02:00
alaviss
f957266574
nimsuggest: add a command that returns the project file ( #12411 )
...
This can be used to let nimsuggest users know which project is
nimsuggest being in charge of, so they can know when should a new
nimsuggest instance be spawned.
An additional feature is to debug the project file finding feature.
2019-10-11 18:00:38 +02:00
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
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
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
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