summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix #17888: remove undefined behavior for posix.open; fix ↵Timothee Cour2021-04-293-4/+16
| | | | | | | | | | | tempfiles.createTempFile (#17889) * fix #17888: remove undefined behavior for posix.open; fix tempfiles.createTempFile * fix for tests/async/tasyncfile.nim * hide mode for now * add notice regarding stability
* improve cache line size (#17885)flywind2021-04-291-6/+3
| | | | | | | | | | | | | * improve cache line size - 64bit system tend to use cache line of 64 bytes - add align https://trishagee.com/2011/07/22/dissecting_the_disruptor_why_its_so_fast_part_two__magic_cache_line_padding Though I'm not sure, what do you think? @timotheecour * Update lib/pure/concurrency/threadpool.nim
* fix #17853 (ascii message separator broke json nim dump) (#17887)Timothee Cour2021-04-296-4/+24
|
* [std/encodings]move to tests (#17866)flywind2021-04-292-72/+73
|
* externalToLink: use quoteShell to avoid issues with spaces in paths for ↵Timothee Cour2021-04-291-13/+9
| | | | {.link.} pragmas (#17875)
* Implement https://forum.nim-lang.org/t/7848#50018 (#17874)c-blake2021-04-296-13/+17
| | | | | | | | | | | | | | | | | | | | * Implement https://forum.nim-lang.org/t/7848#50018 with just the same `SuccessX` hint category, build mode on a separate, final line, and no change to how the mode is spelled for -d:release/-d:danger. * Change to add a new BuildMode hint category and keep testament in sync as per comment. * Add "--hint:buildmode:off" to `defaultHintsOff`. * Remove as requested. * As requested for tests clean up. * Address code review. * Address code review. * Mirror db456423116a9b19666f551f4d38aded3964c2e2
* Fix documentation of strutils.stripLineEnd (#17883)Michael Krieger2021-04-281-1/+1
| | | It does not return anything.
* [std/encodings] fix iconv headers on OpenBSD (#17872)flywind2021-04-271-1/+3
|
* Fix #17712 (#17873)Clyybber2021-04-272-3/+15
|
* testament: add `nimoutFull: bool` spec (#17867)Timothee Cour2021-04-277-9/+43
| | | | | | | | | | * testament: add `nimoutFull: bool` spec * PRTEMP * works * cleanup * add test for #12741 * PRTEMP failing test * remove unrelated changes * changelog
* [std/pegs] increase test coverage (#17871)flywind2021-04-272-148/+154
|
* fix #17859; rename tests so they run in CI; merge several tests with nim ↵Timothee Cour2021-04-277-54/+44
| | | | | | | | | | | | | check (#17862) * rename a test so it runs in CI; merge several tests with nim check * continue * continue * continue * rename tests/errmsgs/undeclared_routine_compiles.nim -> tests/errmsgs/tundeclared_routine_compiles.nim
* [std/parsecfg]use runnableExamples (#17868)flywind2021-04-271-96/+95
| | | | | | | * [std/parsecfg]use runnableExamples * Apply suggestions from code review Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* add -d:nimLegacyNoHashRef for a transition period which avoids defining ↵Timothee Cour2021-04-272-17/+23
| | | | hash(ref) (#17858)
* correct changelog[skip CI] (#17870)flywind2021-04-261-1/+1
|
* fix typo in changelog refs #17746 [skip ci] (#17869)Timothee Cour2021-04-261-1/+1
|
* fix typo in test name undeclared_routime.nim => undeclared_routine.nim (#17861)Timothee Cour2021-04-267-17/+17
|
* disable telebot, refs https://github.com/ba0f3/telebot.nim/issues/59 (#17860)Timothee Cour2021-04-261-1/+1
|
* fix gbk encodings on windows (#17843)flywind2021-04-262-0/+26
|
* Remove confusing <//> (#17830)flywind2021-04-267-31/+29
|
* bring back jstin after forking a new one (#17844)flywind2021-04-251-0/+1
| | | ref https://github.com/nim-lang/Nim/pull/17765#issuecomment-822019094
* Ref #17831(synchapi.h: No such file or directory) (#17832)flywind2021-04-251-2/+1
| | | | | | | | | * Ref #17831 use windows.h * use header: "windows.h" * Update syslocks.nim * Update lib/system/syslocks.nim
* fix #17836 (typed macro isNil for proc params) (#17841)Saem Ghani2021-04-253-2/+21
| | | thanks @alaviss for the test
* `--usenimcache` (implied by `nim r main`) now caches some compile options to ↵Timothee Cour2021-04-256-53/+92
| | | | | | | | | | | avoid recompiling when project was previously compiled with such options. (#17829) * `--usenimcache` (implied by `nim r main`) now caches some compile options to avoid recompiling when project was previously compiled with such options. * works * add test * changelog * use std/with
* Remove unmaintained dir (#17833)Clyybber2021-04-244-205/+0
|
* add colon (#17834)flywind2021-04-246-6/+6
|
* move travis, appveyor, ci.yml.disabled to `unmaintained/` (#17828)Timothee Cour2021-04-2412-19/+20
| | | | | | | * move travis, appveyor, ci.yml.disabled to unmaintained * update some mentions of travis, appevyor * fix test
* `--declaredlocs` now shows location for `T` instead of `static` in `proc ↵Timothee Cour2021-04-231-1/+4
| | | | fn(a: static T)` (#17795)
* `typeof(voidStmt)` now works (#17807)Timothee Cour2021-04-238-12/+78
| | | | | | | | * `typeof(voidStmt)` now works * remove typeOrVoid * add condsyms, and reference cligen https://github.com/c-blake/cligen/pull/193 * fixup * changelog [skip ci] * fixup
* manual: fix rendering of `Identifiers & Keywords` [skip ci] (#17811)Timothee Cour2021-04-231-1/+2
|
* typos (#17824)Andreas Rumpf2021-04-232-6/+6
|
* refactor all code that builds csources (#17815)Timothee Cour2021-04-2322-340/+137
| | | | | | | | | | | | | | | * refactor all code that builds csources * fixup * nim_csourcesDir_v0 + nim_csourcesDir * remove deprecated, unused scripts from ci/ * reuse nimCsourcesHash in ci * simplify CI pipelines by reusing nimBuildCsourcesIfNeeded * simplify ci_docs.yml by reusing nimBuildCsourcesIfNeeded * cleanup * use csources_v1 as destination dir * fixup * remove pushCsources * address comment: remove build.sh support for now * fixup
* followup #17561, skipping ci now implies green (#17813)Timothee Cour2021-04-234-33/+44
| | | | | | | | | * followup #17561, skip ci now implies green; [skip ci] * fixup [skip ci] * fixup test without skip ci * fixup [skip ci] * fixup2 [skip ci] * github actions now automatically supports [skip ci]