Ivan Bobev
5be5bf0222
Pass additional koch options to the nim compiler ( #11615 )
...
Add possibility when "koch tools" command is used, nim compiler options
to be passed. The current options are kept and the new user specified
options will be added to the end of the command line if present.
Example:
> koch --latest tools -d:danger --debugInfo --lineDir:on
bin\nim.exe c -o:bin\nimsuggest.exe -d:release -d:danger -d:danger
--debugInfo --lineDir:on nimsuggest/nimsuggest.nim
...
bin\nim.exe c -o:bin\nimgrep.exe -d:release -d:danger --debugInfo
--lineDir:on tools/nimgrep.nim
...
bin\nim.exe c -o:bin\vccexe.exe -d:danger --debugInfo --lineDir:on
tools/vccexe/vccexe.nim
...
bin\nim.exe c -o:bin\nimpretty.exe -d:release -d:danger --debugInfo
--lineDir:on nimpretty/nimpretty.nim
...
bin\nim.exe c -o:bin\nimfind.exe -d:release -d:danger --debugInfo
--lineDir:on tools/nimfind.nim
...
bin\nim.exe c -o:bin\nimble.exe --noNimblePath --nilseqs:on -d:release
-d:danger --debugInfo --lineDir:on dist\nimble\src\nimble.nim
2019-06-28 18:06:43 +02:00
Araq
284a8cb58a
nimpretty: bugfix [bugfix]
2019-06-28 11:45:21 +02:00
Andreas Rumpf
d72edfb14b
Merge pull request #11609 from zestyr/xmltree-typo
...
Fix typo in xmltree docs
2019-06-27 21:36:49 +02:00
Andreas Rumpf
765ff4b67b
contributing.rst guide: Make the rules reflect the reality.
2019-06-27 21:28:53 +02:00
Andreas Rumpf
17bbce7c8a
manual: typo
2019-06-27 21:25:07 +02:00
Andreas Rumpf
d9604d7d0b
manual: document how accessors are resolved; fixes #11514
2019-06-27 21:25:07 +02:00
Zestyr
bab83c4d8b
Fix typo in xmltree docs [ci skip]
2019-06-27 20:44:42 +02:00
Araq
f36a61e6d4
make tests green again
2019-06-27 17:10:11 +02:00
Andreas Rumpf
fb878330a9
fixes #11445
2019-06-27 14:46:38 +02:00
Andreas Rumpf
135fdde6a9
fixes #11523
2019-06-26 23:41:20 +02:00
Andreas Rumpf
19b142401c
fixes #11525
2019-06-26 23:15:58 +02:00
Andreas Rumpf
48cbf1c496
Merge pull request #11598 from narimiran/fix-sharedtables
...
[bugfix] fix #11588 , don't check if SharedTable is initialized
2019-06-26 23:11:34 +02:00
Andreas Rumpf
ce2777af5a
fixes #11600 ( #11602 )
2019-06-26 23:10:20 +02:00
Miran
f65eaa51f1
[bugfix] fix #11532 , nimpretty should ignore source code filters ( #11603 )
2019-06-26 23:09:57 +02:00
Andreas Rumpf
e083a1533b
fixes #11098
2019-06-26 19:34:05 +02:00
narimiran
326e3ad09d
[bugfix] fix #11588 , don't check if SharedTable is initialized
2019-06-26 17:16:55 +02:00
Araq
b6fb47df77
fixes #11600
2019-06-26 15:55:27 +02:00
Miran
f288e1b11a
[bugfix] fix #11469 , new rules for a newline in nimpretty ( #11512 )
...
* [bugfix] fix #11469 , new rules for a newline in nimpretty
* concatenate two lines if they have the same indentation level
2019-06-26 15:36:44 +02:00
Araq
0a81b038fd
fixes #11577
2019-06-26 15:33:51 +02:00
alaviss
993b3909a8
[refactor] compiler/[msgs, reorder, semstmts]: use toMsgFilename where appropriate ( #11595 )
...
* compiler/msgs: toMsgFilename now operates on FileIndex
* compiler/reorder: use toMsgFilename for compiler messages
* compiler/semstmts: respect listFullPaths for recursive deps error
2019-06-26 14:38:19 +02:00
Toshiyuki-Tega
b7f8031e98
VCC discovery using vswhere ( #6540 ) ( #11559 )
2019-06-26 10:52:22 +02:00
Juan Carlos
206f2478b8
Documentation highlite ( #11596 )
...
* Add Documentation with examples for highlite
* Add Documentation with examples for highlite
2019-06-26 10:28:11 +02:00
Andreas Rumpf
0f868b587b
fixes #11563 ( #11594 )
2019-06-26 06:55:43 +02:00
alaviss
2f1a1b7106
compiler/[msgs, options]: confine --listFullPaths to compiler messages ( #11583 )
...
* compiler/[msgs, options]: make toFilename independent of listFullPaths
toFilename is used mainly in codegen, as such it should not follow
--listFullPaths
* compiler/msgs: use toMsgFilename for toFileLineCol
This proc is mainly used for compiler messages, so it should follow
--listFullPaths
* compiler/msgs: remove toFileLine
unused proc
* compiler/msgs: cleanup toMsgFilename
Also improved path choosing logic, /home should now be preferred over
../home on *nix
2019-06-26 02:40:10 +02:00
cooldome
0d50b0c8a7
increase dfa instruction limit ( #11579 )
2019-06-24 22:34:54 -07:00
Jasper Jenkins
91f0626dcb
[bugfix] remove dangling ref ( #11576 )
2019-06-25 02:04:15 +02:00
Gérôme Fournier
181350f6c9
Fix out of bound access in cgi module ( #11578 )
...
When an HTTP request with a zero CONTENT_LENGTH is made,
attempting to access addr(result[0]) raise an exception as the 0 index
is out of bound
2019-06-25 02:03:44 +02:00
WhiteDuke
2a7cf71db3
Fix typo ( #11573 )
2019-06-25 00:24:51 +02:00
alaviss
403fd3ac43
assertions: make assert follow excessiveStackTrace ( #11574 )
2019-06-25 00:23:22 +02:00
alaviss
e9a23cee0a
nim.cfg: disable excessiveStackTrace on release ( #11575 )
2019-06-25 00:22:30 +02:00
narimiran
436f570651
[documentation] fix #4630 , document unsupported functions for JS
2019-06-24 12:52:54 +02:00
Arne Döring
e90d91f0e4
[refactoring] remove zeroExtend and friends from the compiler builtins. ( #11531 )
...
* remove zeroExtend and friends from the compiler builtins.
* fix jssys
2019-06-24 09:19:02 +02:00
Simon Krauter
800bc661b6
Spelling fixes in nimc.rst ( #11569 )
2019-06-23 15:15:55 -07:00
Juan Carlos
bb9b60604b
[other] Documentation NimScript ( #11548 )
...
* Documentation of NimScript, update and expand, mention the benefits aside of its limitations, add examples, update the list of usable std lib modules
2019-06-23 20:08:21 +02:00
Giovanni Petrantoni
b81fd958d1
[feature] Add dynlib (required on windows/cpp) to nimCoroutines related gc_common procs ( #11567 )
2019-06-23 18:05:10 +02:00
Miran
3d50f7e2a1
[bugfix] fix OrderedTable iterators ( #11562 )
2019-06-22 22:28:45 -07:00
Andreas Rumpf
79c721d418
[bugfix] fixes #11524
2019-06-22 01:52:49 +02:00
Andreas Rumpf
0db3c670ac
closes #11533
2019-06-21 20:45:00 +02:00
Andreas Rumpf
35df59b3ce
[bugfix] fixes #11556
2019-06-21 20:38:18 +02:00
narimiran
12eebf48b6
[documentation] fix wrong link [ci skip]
2019-06-21 12:04:43 +02:00
Kaushal Modi
a4c613c110
[other] Improve the "tabs are not allowed" error message ( #11554 )
2019-06-20 22:16:06 +02:00
Miran
23e95dc629
[bugfix] fix delete in strutils and sequtils ( #11535 )
2019-06-20 21:04:37 +02:00
Miran
d6b0e46ee4
[bugfix] correct 'source' for documentation ( #11540 )
2019-06-20 21:03:48 +02:00
Miran
45bbf1ef5b
[bugfix] fix OrderedTable default initialization ( #11549 )
2019-06-20 21:03:11 +02:00
Andreas Rumpf
55da84e141
[other] new experimental pragma .nodestroy for easier custom destructors
2019-06-20 19:41:03 +02:00
Andreas Rumpf
f310cf5250
[other] added system.dispose for owned refs
2019-06-20 19:40:18 +02:00
Andreas Rumpf
280193cc07
[bugfix] system.nim: make pop work with --newruntime
2019-06-20 19:39:42 +02:00
Andreas Rumpf
7e4748beee
[bugfix] proper destruction for strings/seqs for --newruntime
2019-06-20 19:39:19 +02:00
Andreas Rumpf
bc9fb4885b
[bugfix] system.nim: make pop work with --newruntime
2019-06-20 19:38:25 +02:00
Araq
678beb8ef9
[other] newruntime: add a simple closure iterator test
2019-06-20 11:31:21 +02:00