summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix #17941: UnusedImport works for var/let/const/type invoked inside a ↵Timothee Cour2021-05-084-4/+6
| | | | | | | generic (#17942) * fix #17941: UnusedImport works for var/let/const/type invoked inside a generic * fixup
* add astmsgs; add `declared in` msg for usage lint errors (#17961)Timothee Cour2021-05-089-39/+43
| | | | | | | | | * add astmsgs; add `declared in` msg for usage lint errors * fix test * fix tests/tools/tlinter.nim * std prefix
* fix `tsortoutput` (it was failing for the wrong reasons, irrespective of ↵Timothee Cour2021-05-071-3/+3
| | | | `sortoutput` (#17969)
* improve tbase64.nim (#17964)Timothee Cour2021-05-071-12/+6
|
* fix tests/vm/tcastint.nim which used non-sensical `when defined nimVM` (and ↵Timothee Cour2021-05-081-11/+21
| | | | contained wrong tests) (#17954)
* fix #17952: fix both false positives and false negatives for reInvalidSpec ↵Timothee Cour2021-05-086-43/+69
| | | | | | | | | (#17956) * fix #17952: fix both false positives and false negatives for reInvalidSpec * handle megatest properly * fix for tests/stdlib/tbase64.nim
* refs #17325 disable i386 again until we figure out how to fix it (#17963)Timothee Cour2021-05-071-5/+6
|
* fix #14873 properly by skipping `abi` field in importc type (#17944)Timothee Cour2021-05-073-14/+17
| | | | | | | * fix #14873 properly by skipping `abi` field in importc type * add test * fix test for windows
* fixes #15848 [backport:1.2] (#17959)Andreas Rumpf2021-05-076-2/+34
|
* tiny cleanup (#17957)Andreas Rumpf2021-05-072-13/+11
| | | | | * tiny cleanup * I'm not British
* remove unsused OsPlatform.nimVM (#17953)Timothee Cour2021-05-071-2/+1
|
* Export sslHandle in `net` and `asyncnet`. (#17573)Ardek Romak2021-05-063-0/+12
|
* Fix C++ compilation error in excpt.nim (#17951)Danil Yarantsev2021-05-061-1/+1
|
* disable tmacro_highlight on i386, refs #17945 (#17949)Timothee Cour2021-05-061-0/+4
|
* minor cleanups (#17948)Andreas Rumpf2021-05-063-5/+1
|
* follow-up #17837: add `Console` for interactive sessions (#17930)Andrey Makarov2021-05-0614-155/+252
| | | | | * follow-up #17837: add `Console` for interactive sessions * fix Latex
* docgen: get rid of ropes (#17939)Andrey Makarov2021-05-051-190/+146
|
* fix https://github.com/timotheecour/Nim/issues/718: CompileTime is not ↵Timothee Cour2021-05-051-2/+5
| | | | cached apparently (#17940)
* Add copyWithin for JavaScript (#17937)Juan Carlos2021-05-052-0/+15
| | | | * Add jscore.copyWithin for seq and array * Shallow copy mention docs
* small improvements for tut1.rst (#17935)Miran2021-05-052-79/+101
| | | | | | | * small improvements for tut1.rst * remove unneeded paragraph * Update doc/tut1.rst Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* re-enable nimquery (#17936)Timothee Cour2021-05-041-1/+1
|
* parsecsv fix style (#17933)Juan Carlos2021-05-041-67/+64
| | | | | | | * ReSync with Devel * Fix style in parsecsv * Update lib/pure/parsecsv.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* add logging to help investigate why tests/vm/tconst.nim is flaky (#17934)Timothee Cour2021-05-041-1/+1
|
* IC: codegen: fix (#17931)Andreas Rumpf2021-05-041-1/+3
|
* mention -d:nimLegacyConvEnumEnum in error msg (#17928)Timothee Cour2021-05-031-0/+2
|
* treetab: minor code cleanups (#17927)Andreas Rumpf2021-05-031-6/+6
|
* fix #17913 build_all.sh on M1 mac (#17917); temporary workaroundTimothee Cour2021-05-031-0/+2
|
* highlite: fix #17890 - tokenize Nim escape seq-s (#17919)Andrey Makarov2021-05-032-19/+46
| | | | | | | | | * highlite: fix #17890 - tokenize Nim escape seq-s * Update tests/stdlib/thighlite.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* close #16123 std/sets with closures in cpp (#17921)Timothee Cour2021-05-031-5/+13
| | | | | * close #16123 std/sets with closures in cpp * fixup
* CI Update (#17923)Juan Carlos2021-05-022-3/+3
| | | | | | | | | * ReSync with Devel * ReSync * https://github.com/actions/virtual-environments#available-environments * https://github.com/actions/virtual-environments#available-environments
* typo: nonexistant => nonexistent (#17918)Timothee Cour2021-05-0216-38/+38
| | | | | * typo: nonexistant => nonexistent * fix test (ordering differs because of https://github.com/nim-lang/Nim/issues/17910)
* ref #17913; fix typo in tools/ci_generate.nim generating build_all.sh (#17915)Timothee Cour2021-05-012-2/+2
|
* fix #17911 rawProc for cpp (#17912)Timothee Cour2021-05-014-14/+93
|
* system.nim cleanup some exported constants which should never have be… ↵Andreas Rumpf2021-05-0110-29/+32
| | | | | | (#17909) * system.nim cleanup some exported constants which should never have been exported
* WIP: Added missing functions to jsre module (#17881)Yanis Zafirópulos2021-05-011-0/+30
| | | | | | | * added missing functions: `replace`, `replaceAll`, `split`, `match` * added `startsWith` & `endsWith` * Update lib/js/jsre.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* [std/base64] uses runnableExamples (#17882)flywind2021-05-011-32/+30
| | | | | | * [std/base64] uses runnableExamples * Update lib/pure/base64.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* misc fixes: remove `forceConst` (obsolete by static), add more ↵Timothee Cour2021-05-015-88/+78
| | | | | | | | | | | | | runnableExamples to system (#17896) * misc fixes * add runnableExamples for compileOption * add runnableExamples for runnableExamples * move tconsteval => tconst * cleanup
* reuse config/build_config.txt for all bootstrap scripts (posix + windows + ↵Timothee Cour2021-05-017-23/+134
| | | | | | | | | | | | ci); use build_all.bat in 1 CI, fix bug in build_all.bat (#17899) * reuse config/build_config.txt for all bootstrap scripts (posix + windows + ci) * ci_docs: use build_all.bat in CI (just in that pipeline) to ensure it keeps working * fixup * fix pre-existing bug in build_all.bat * fixup * cp => copy /y * auto-generate build_all.bat, build_all.sh * fixup
* Fix nim-lang/nimforum#285 - punctuation after URL (#17908)Andrey Makarov2021-05-012-11/+67
| | | | | * Fix nim-lang/nimforum#285 - punctuation after URL * keep only one leaf in a rnStandaloneHyperlink * add more complex URL
* Document the difference between toFloat/toInt and type conversion (#17894)Gabriel Huber2021-04-301-2/+3
|
* bring back std/ prefix within compiler and ensure it works in bootstrap + ↵Timothee Cour2021-04-307-33/+65
| | | | | | | | | | | | | bsd (#17902) * [WIP] bring back std/ prefix within compiler and ensure it works in bootstrap + bsd * refs https://github.com/nim-lang/Nim/pull/16282#discussion_r616846863 * sounds very similar to https://github.com/nim-lang/Nim/pull/14291 * more: vmops * update tools/ci_generate.nim * auto-generate freebsd.yml as well, to avoid duplication with openbsd.yml * cleanup * undo temporary CI removal
* fix #17905: hash(closure) was not being tested (#17906)Timothee Cour2021-04-301-12/+20
|
* close #16646; `since` now works with bootstrap nim post csources_v1 (#17895)Timothee Cour2021-04-303-6/+5
| | | | | | | * revive #16627 now that csources_v1 was merged * use dedent in rst.nim, refs https://github.com/nim-lang/Nim/pull/17257#discussion_r589025683 * fix test and improve rendering of a rst warning
* Small parser loop fix (#17904)Clyybber2021-04-302-1/+5
| | | | * Fix loop on error with nim check in semiStmtList * Add test
* gitutils: add diffStrings, diffFiles, and use it in testament to compare ↵Timothee Cour2021-04-308-52/+99
| | | | | | | | | | | | | expected vs gotten (#17892) * gitutils: add diffStrings, diffFiles, and use it in testament to compare expected vs gotten * refactor with createTempDir * cleanup * refacotr * PRTEMP fake test spec changes to show effect of diffStrings * add runnableExamples for experimental/diff + cross-reference with gitutils * Revert "PRTEMP fake test spec changes to show effect of diffStrings" This reverts commit 57dc8d642dce6c1127c98b7cbc9edbfe747d4047.
* more strict RST inline markup parsing (#17827)Andrey Makarov2021-04-293-13/+207
| | | | | * more strict RST inline markup parsing * add test for unexpected bonus * introduce `roPreferMarkdown`
* follow-up #17692: more inline syntax highlighting (#17837)Andrey Makarov2021-04-295-181/+287
|
* Fix `insert` calling wrong function (#17856)Fröhlich A2021-04-291-1/+1
| | | | The `insert` method is calling `tryInsertID`, which ignores the `pkName` parameter. Calling `tryInsert` instead should be correct.
* improve tsets.nim, twrong_setconstr.nim and avoid name clashes with compiler ↵Timothee Cour2021-04-292-338/+63
| | | | | | | sets (#17876) * improve tests/sets/tsets.nim and avoid name clashes with compiler sets * avoid name clashes in twrong_setconstr.nim and merge into tsets
* improve nimsuggest/tester, minor improvements to koch.nim (#17879)Timothee Cour2021-04-294-23/+24
| | | | | * improve nimsuggest/tester * koch improvements