Andrey Makarov
368422c219
update nimgrep documentation ( #17415 )
...
* update nimgrep documentation
* Update doc/nimgrep_cmdline.txt
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2021-03-23 18:12:27 +01:00
flywind
e332c20ba7
follow up #17276 ( #17355 )
...
* improve test coverage for isolation
* a bit better
* rename channels to channels_builtin
* follow up #17276
* fix
* Update lib/std/private/jsutils.nim
2021-03-19 16:54:10 +01:00
flywind
2e730f1452
rename channels to channels_builtin ( #17330 )
...
* improve test coverage for isolation
* a bit better
* rename channels to channels_builtin
2021-03-12 13:04:32 +01:00
Juan Carlos
b8c04bdb92
Add module jsfetch ( #12531 )
...
* Add module jsfetch for fetch support for JavaScript target https://developer.mozilla.org/docs/Web/API/Fetch_API
* Update lib/std/jsheaders.nim
* Update lib/std/jsformdata.nim
* Update lib/std/jsfetch.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
Co-authored-by: flywind <xzsflywind@gmail.com >
2021-03-06 20:57:16 -08:00
Timothee Cour
5d95137ce0
remove tests/deps/ ( #17132 )
...
* remove tests/deps/
* fix tests
* fix tests/manyloc/keineschweine/lib/zlib_helpers.nim
* fixup
2021-02-23 13:31:53 +01:00
Timothee Cour
ef5303114c
fix prelude regression refs #16238 : include prelude doesn't interfere with nim doc ( #17111 )
...
* fix bug1 from #16238 nim doc now works with include prelude
* fix for windows
* fixup
2021-02-22 11:10:34 +01:00
Timothee Cour
ac82be07d8
refs #17107 use 2 instead of 3 parallel jobs for openbsd ( #17108 )
2021-02-20 18:08:53 +01:00
Timothee Cour
e94a3e5fcd
move prelude so that include std/prelude also works ( #17110 )
...
* move prelude so that `include std/prelude` also works
* add test
2021-02-20 18:08:13 +01:00
Timothee Cour
b7dd8e7dff
unbundle fusion ( #16925 )
...
* unbundle fusion
* changelog
* address comment: `./koch fusion` calls nimble install fusion (at a fixed hash)
2021-02-11 07:24:53 +01:00
Timothee Cour
a1203cf848
improve ./koch docs ( #16991 )
...
* improve ./koch docs
* fixup
* fixup
2021-02-10 12:12:31 +01:00
Andrey Makarov
635c0b6cb9
fix ./koch pdf command ( #16989 )
2021-02-09 22:46:51 +01:00
Timothee Cour
6e267d28b3
remove conditionals on nimHasUserErrors, nimNoNilSeqs2, nimNoNilSeqs ( #16861 )
...
* cleanup docs for type(nil) | type(nil); simplify nimHasUserErrors
* simplify nimNoNilSeqs2
* simplify nimNoNilSeqs
* fixup
2021-01-29 14:30:24 +01:00
Timothee Cour
478d15f7f4
improve code in categories.nim; add std/private/gitutils; fix flakyness in nim CI (cloneDependency in deps.nim) ( #16856 )
...
* improve code in categories.nim; gitutils; fix flakyness in deps.nim
* cleanups
2021-01-29 07:51:12 +01:00
Juan Carlos
78a99587a4
Deprecate TaintedString ( #15423 )
...
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com >
2021-01-15 18:56:38 -08:00
Juan Carlos
41965880ce
Add js BigInts ( #16409 )
...
* Add BigInts
* Renames tos plurals
* Improve Stringifications
* Update changelog.md
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
* RunnableExamplerize
* discard the discardable pragma
* Several improvements from peer reviews, more docs
* More doc, more test
* More doc, more test
* Better error message 'Error: usage of low is an {.error.} defined at jsbigints.nim' instead of just 'type mismatch JsBigInt'
* is an overload, rename
* proc to scare kids away
* Update lib/js/jsbigints.nim
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
* https://github.com/nim-lang/Nim/pull/16409#discussion_r554365041
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
2021-01-14 20:19:41 +01:00
Timothee Cour
ffb130b59c
skip docs for lib/fusion (docs already run in fusion repo) ( #16645 )
...
* run CI docs on koch.nim changes to avoid future regressions
* kochdocs: skip lib/fusion
2021-01-08 23:09:58 +01:00
alaviss
2a426ca8e2
kochdocs: fusion needs the js backend too ( #16644 )
2021-01-08 21:04:17 +01:00
flywind
fe20492f05
clean up the docs of some modules under lib/js ( #16579 )
2021-01-04 19:54:33 +01:00
Saem Ghani
84a7544988
nim-gdb.py fixes mostly for nimsuggest debugging ( #16479 )
...
These fixes were primarily developed to assist in nimsuggest debugging. There
is nothing intentionally specific done for nimsuggest, but beyond the automated
tests all practical testing was done with nimsuggest. Undoubltedly these will
also assist in other debugging scenarios.
The current nim-dbg.py script was broken in a few ways:
- failed to provide detailed value information for common types (see below)
- was not passing existing tests
- could not produce type summary information
Broken types now working somewhat better:
- sequences with ref types like strings
- sequences with value types like ints
- arrays with ref types like strings
- tables with int or string keys
Other improvements:
- slightly more test coverage
Future considerations:
- this, data used by it, should be something the compiler can generates
- account for different memory layouts ([arc/orc differ](https://github.com/nim-lang/Nim/pull/16479#issuecomment-751469536 ))
Attempts at improving nim-gdb.py
More tests, few fixes for seq and type printing
Tables debugging fixed added further tests
Fixed type printing
2020-12-30 15:02:51 +01:00
flywind
5d8f862bc6
fix #16364 ( #16379 ) [backport]
...
* fix #16364
* add comments
* Update tools/dochack/dochack.nim
Co-authored-by: Clyybber <darkmine956@gmail.com >
Co-authored-by: Clyybber <darkmine956@gmail.com >
2020-12-17 21:14:16 +01:00
Juan Carlos
5e8e948ffc
Clean out dead code ( #16345 )
2020-12-14 11:50:45 +01:00
Federico Ceratto
17a835a7b2
Zsh completion ( #16261 )
...
* Add --cpu to zsh completion
* Add --gc to zsh completion
* Add --os to zsh completion
* Add --panics to zsh completion
* Add --verbosity to zsh completion
* Add --hints to zsh completion
* Update tools/nim.zsh-completion
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
* Update tools/nim.zsh-completion
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-12-09 16:11:51 +01:00
Timothee Cour
52829fc8d1
cmdline: improve command processing ( #16056 )
2020-11-26 15:55:56 -08:00
Timothee Cour
13b1b19a83
remove all mentions of doc2, jsondoc2 (except 1 mentioning the alias) ( #15683 )
2020-11-26 11:54:18 -08:00
Timothee Cour
7815ed69d4
rename loadConfigsAndRunMainCommand => loadConfigsAndProcessCmdLine, reflect reality ( #16057 )
2020-11-20 10:51:14 +01:00
Andrey Makarov
edd84bd9bc
nimgrep: change 2 iterators to closure
2020-11-14 01:21:27 +03:00
lenoil98
778914c3ca
Update buildsh.nimf ( #15945 )
...
fix powerpc64le detection
2020-11-13 08:16:20 +01:00
lenoil98
63c559e781
Add support for FreeBSD/PowerPC64 Little Endian ( #15927 )
...
* Update installer.ini
Add support for powerpc64 little endian
* Update buildsh.nimf
Add support for powerpc64 little endian
* Update makefile.nimf
Add support for freebsd/powerpc64 little endian
2020-11-12 10:43:13 +01:00
Miran
bbe49a14ae
Correct all eggs ( #15906 )
...
* "eg" is a misspelled "egg", "e.g." is "exempli gratia"
* Also, "ie" is "i.e.".
2020-11-10 21:53:25 +01:00
Andrey Makarov
5db181f377
Nimgrep improvements 2 ( #15612 )
...
* nimgrep: speed up by threads and Channels
* nimgrep: add --bin, --text, --count options
* nimgrep: add --sortTime option
* allow Peg in all matches
including --includeFile, --excludeFile, --excludeDir
* add --match and --noMatch options
* add --includeDir option
* add --limit (-m) and --onlyAscii (-o) options
* fix performance regression
introduced in nimgrep improvements #12779
* better error handling
* add option --fit
* fix groups in --replace
* fix flushing, --replace, improve --count
* use "." as the default directory, not full path
* fix --fit for Windows
* force target to C for macosx
* validate non-negative int input for options #15318
* switch nimgrep to using --gc:orc
* address review: implement cropping in matches,...
* implement stdin/pipe & revise --help
* address stylistic review & add limitations
2020-11-09 09:19:06 +01:00
flywind
b0e26d8fbf
remove iup from stdlib in contrast to #15828 ( #15830 )
...
* remove iup from stdlib
* Update changelog.md
2020-11-03 20:43:51 +01:00
Andreas Rumpf
3492178494
refactoring: removed cmdlinehelper.mainCommand callback
2020-10-11 20:44:04 +02:00
genotrance
442841037a
Fix #12027 ( #15519 )
2020-10-10 07:04:57 +02:00
alaviss
dcd0ce1775
niminst: restore ZIP building functionality ( #15472 )
...
This is necessary for building Windows releases, was erroneously removed
by #15451 .
2020-10-02 22:48:35 +02:00
alaviss
e3eae3f7c7
tools/deps: fix git dir check ( #15470 )
...
On Windows, a successful call will have a trailing newline appended, so
strip that away before doing any checks.
2020-10-02 18:52:20 +02:00
Juan Carlos
d1eb76184b
Clean out niminst ( #15451 )
2020-10-01 22:19:06 +02:00
flywind
9c86f4867e
fix doc search(escape HTML code) ( #15433 )
...
* use release version
* fix doc search
2020-09-30 10:52:49 +02:00
alaviss
d4892e9388
koch, compiler: bundle fusion as part of the source archive ( #15409 )
...
This allows distributions to build Nim from the downloaded source
archive without an Internet connection.
2020-09-26 09:31:55 +02:00
Juan Carlos
c4e03b540e
Fix #15183 ( #15300 )
2020-09-11 08:57:57 +02:00
Jaremy Creechley
a76ae8f795
Changes for FreeRTOS/LwIP Port for the ESP32 (ESP-IDF) ( #15250 )
...
* Changes for FreeRTOS/LwIP Port for the ESP32 (ESP-IDF)
Adding FreeRTOS/LwIP to compiler:
* adding freertos option
* dyncalls for freertos
* add freertos to posix os list
* adding lwip option
Setting up networking FreeRTOS/LwIP Port:
* setting up lwip network for freertos
* fixing posix / networking for freertos
* disable setInheritable for freerots
* using lwip for net control items
* Fix builds by ignoring lib/posix/posix_freertos_consts.nim similar to lib/posix/posix_other_consts.nim
2020-08-31 11:48:54 +02:00
Clyybber
13e659cfec
Big compiler Cleanup ( #14777 )
2020-08-28 22:18:09 +02:00
Miran
5c4e2bf68e
fix nightlies: smaller log files ( #15074 )
...
Hopefully this will fix
"The job exceeded the maximum log length, and has been terminated."
2020-07-25 22:56:37 +02:00
Miran
4b93c61f0d
jsre: try to fix nightlies ( #15057 )
2020-07-24 21:15:20 +02:00
narimiran
46aacf917f
Fix style inconsistencies due to the previous commit
2020-07-06 11:24:43 +02:00
narimiran
ebaf603c84
revert 0944b0f4
2020-07-06 10:55:51 +02:00
Timothee Cour
695154970d
deprecate existsDir; use dirExists instead ( #14884 )
2020-07-03 23:04:23 +02:00
Juan Carlos
4f6acf24ff
Add jsre ( #14870 )
2020-07-03 20:13:10 +02:00
Timothee Cour
dc5a40f3f3
{.deprecated: [existsFile: fileExists].} ( #14735 )
...
* {.deprecated: [existsFile: fileExists].}
* s/existsFile/fileExists/ except under deps
* workaround pending #14819
* fix test
2020-07-02 16:19:13 +02:00
Timothee Cour
89a15e417d
CI openbsd: 3x batching via NIM_TESTAMENT_BATCH ; overall CI finishes in 21m instead of 34m ( #14851 )
...
* CI openbsd: 2x batching via NIM_TESTAMENT_BATCH
* auto-generate .builds/openbsd_x.yml to avoid code duplication
* 3x batching
2020-06-30 14:21:30 +02:00
lbartoletti
5c1fa142d6
New freebsd platforms ( #14801 )
...
* add riscv as riscv64
* add all platforms supported by FreeBSD
2020-06-29 10:31:25 +02:00