Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | posix_other: add define to force time_t to 64 bit [backport] (#14753) | alaviss | 2020-06-22 | 1 | -1/+6 |
| | | | | | | | | This is a temporary remedy for time_t transition to 64 bit on newer Linux libc (musl >= 1.2.0, glibc >= 2.32). In the future we might want to move away from libc, or figure out a way to reliably detect the real size of C types at compile time, both of which are difficult. | ||||
* | [backport] Docs: Fix broken `code-block` (#14749) | ee7 | 2020-06-22 | 2 | -25/+25 |
| | | | | | | | | This commit indents the contents of a `code-block` in `httpclient.nim` so that it displays correctly. The bug was introduced by 42a64245f8. I did a quick search for other `code-block`s that are broken in the same way, but the only other one I found (in `pegs.nim`) is not included in the generated documentation. | ||||
* | Export fields from the Selection object. (#14752) | treeform | 2020-06-21 | 1 | -0/+7 |
| | | | See: https://developer.mozilla.org/en-US/docs/Web/API/Selection | ||||
* | sizeof for empty objects/tuples should be 1; fixes #14690 (#14751) | Andreas Rumpf | 2020-06-21 | 2 | -3/+11 |
| | |||||
* | encodings: use only one iconv definition [backport:1.2] (#14741) | alaviss | 2020-06-21 | 1 | -18/+15 |
| | | | | | | | | Fix an issue reported on IRC: using encodings with --dynlibOverrideAll result in duplicated iconv definitions, causing compile errors. This commit remove the `var` wrapper of iconv and go all out on pointers, as it should due to how the API accepts nil. Also corrected the API to resemble iconv(3p). | ||||
* | Add css white-space property to dom.nim. (#14743) | treeform | 2020-06-21 | 1 | -0/+1 |
| | | | https://developer.mozilla.org/en-US/docs/Web/CSS/white-space | ||||
* | nep1: use subjectVerb, not verbSuject (#14732) | Timothee Cour | 2020-06-19 | 1 | -2/+6 |
| | |||||
* | Clarify the use of the backwards index operator (^N) in tut1 (#14681) | Kaushal Modi | 2020-06-19 | 1 | -12/+26 |
| | | | | | | | | | | | * Clarify the use of the backwards index operator (^N) in tut1 For consistency: - Do `[a .. ^b]` (notice spaces on both sides of `..`) - Do `[c ..< d]` (notice spaces on both sides of `..<`) Fixes https://github.com/nim-lang/Nim/issues/14671. * tut1: Add a note that ^ template calls can be saved to consts | ||||
* | Deprecate unroll pragma, remove from documentation (#14705) | Juan Carlos | 2020-06-19 | 2 | -19/+2 |
| | |||||
* | fix #13899 defer now works with async (#14723) | Timothee Cour | 2020-06-19 | 2 | -7/+21 |
| | |||||
* | fixes #14718 [backport] | Araq | 2020-06-19 | 1 | -4/+4 |
| | |||||
* | Add testcases for #11811 and #14315 (#14726) | Clyybber | 2020-06-19 | 2 | -1/+22 |
| | | | | | * Add testcase for #11811 * Add testcase for #14315 | ||||
* | improve the parser's error message | Araq | 2020-06-19 | 1 | -1/+1 |
| | |||||
* | added a space | Araq | 2020-06-19 | 1 | -1/+1 |
| | |||||
* | fix #14685 tests/async/t7758.nim flaky (#14721) | Timothee Cour | 2020-06-19 | 1 | -2/+7 |
| | | | | | | | * fix #14685 tests/async/t7758.nim flaky * address comment * address comment | ||||
* | add legacy workaround; improve test so that it actually tests for the bugfix | Timothee Cour | 2020-06-19 | 4 | -35/+14 |
| | |||||
* | Update tuple newLit | solo989 | 2020-06-19 | 2 | -5/+44 |
| | |||||
* | make nim-gdb compatible with BSD systems (#14700) | BarrOff | 2020-06-18 | 1 | -6/+4 |
| | |||||
* | fix #14691 docgen works again for methods (#14701) | Timothee Cour | 2020-06-18 | 5 | -14/+110 |
| | | | | | * fix #14691 docgen methods * fixup | ||||
* | [cleanups] doassert => doAssert; mark deadcode (#14711) | Timothee Cour | 2020-06-17 | 4 | -24/+26 |
| | |||||
* | Remove deprecated stuff from stdlib (#14699) | Miran | 2020-06-17 | 41 | -519/+155 |
| | | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff | ||||
* | remove compilerproc from `newIdentNode` (#14692) | Timothee Cour | 2020-06-17 | 1 | -1/+1 |
| | |||||
* | Documentation update nims.rst (#14683) | Juan Carlos | 2020-06-17 | 1 | -0/+13 |
| | | | | | * Update nims.rst to add modules that work on NimScript as mentioned in the changelog.md * https://github.com/nim-lang/Nim/pull/14683#issuecomment-644976921 | ||||
* | Update macros.nim (#14697) | solo989 | 2020-06-17 | 1 | -3/+2 |
| | |||||
* | use check to investigate #14685 flaky tests/async/t7758.nim (#14689) | Timothee Cour | 2020-06-16 | 1 | -2/+3 |
| | |||||
* | cleanup tests/test_nimscript.nims (#14686) | Timothee Cour | 2020-06-16 | 1 | -9/+1 |
| | |||||
* | Close#5586 (#14682) | Dylan Modesitt | 2020-06-16 | 2 | -3/+0 |
| | | | | | * re-enable macos and bsd on some coro tests * re-enable macos and bsd on some coro tests | ||||
* | Set cincludes and clibdir for FreeBSD, OpenBSD and NetBSD. (#14680) | Euan | 2020-06-16 | 2 | -3/+3 |
| | |||||
* | `addQuitProc` now works with closures, and c, js(node/browser) backend; fix ↵ | Timothee Cour | 2020-06-16 | 9 | -44/+117 |
| | | | | | | | | | | | | | | | some bugs in testament (#14342) * make addQuitProc great again * fix bugs in testament * fix test * change 2016 => 2020 * addQuitProc => addExitProc + locks * move to std/exitprocs | ||||
* | fix #14179, fix #14142, make CI 1.4x faster (2x faster locally) (#14658) | Timothee Cour | 2020-06-16 | 5 | -79/+81 |
| | | | | | | | | | | | | | | | * fix #14142: no more clash with: import os + use of existsDir/dirExists/existsFile/fileExists/findExe in config.nims * remove a comment * Revert "fixes the regression #12860 caused; hotfix" This reverts commit 3d2459bdc0b6d6236a2cd9209ed81c965ee411a5. * Revert "Undefine `paramCount` & `paramStr` in nimscript.nim for *.nims (#12860)" This reverts commit d38853c504d89d6e361f064a17391afaf42d74b8. * noNimScript => noWeirdTarget + noNimJs | ||||
* | Use cc on OpenBSD and link to libm when building result (#14672) | Euan | 2020-06-16 | 1 | -5/+16 |
| | |||||
* | `hintMsgOrigin` now works in VM code (#14678) | Timothee Cour | 2020-06-16 | 2 | -13/+11 |
| | | | | | * `hintMsgOrigin` now works in VM code * remove a simplification for now | ||||
* | misc cleanups in compiler msgs: use toHumanStr, etc (#14677) | Timothee Cour | 2020-06-15 | 4 | -12/+9 |
| | |||||
* | make tests/stdlib tests joinable (#14626) | Timothee Cour | 2020-06-15 | 9 | -20/+64 |
| | | | | | * make tests/stdlib tests joinable * fixup | ||||
* | make `fromJson/toJson` work with `array[range, typ]`, + 1 bugfix (#14669) | Timothee Cour | 2020-06-15 | 2 | -8/+50 |
| | | | | | * make toJson more robust * properly handle array | ||||
* | normalizeExe (#14668) | Timothee Cour | 2020-06-15 | 4 | -10/+28 |
| | |||||
* | Update newLit set[T] to work when set is empty. (#14662) | solo989 | 2020-06-15 | 1 | -0/+4 |
| | | | | | | | | | * Update macros.nim * Update lib/core/macros.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com> | ||||
* | Added --benchmarkVM to times.cpuTime() documentation (#14663) | Ico Doornekamp | 2020-06-15 | 1 | -0/+2 |
| | |||||
* | Change 'Future Directions' to link memory management documentation (#14664) | Juan Carlos | 2020-06-15 | 1 | -2/+2 |
| | |||||
* | fix codegen bug due to changing existing symbol declaration in template (#14666) | jcosborn | 2020-06-15 | 2 | -1/+107 |
| | |||||
* | compiler/commands: make gitHash settable at compile-time. (#14654) | alaviss | 2020-06-14 | 1 | -1/+1 |
| | | | | This is useful for building nightlies, since we will be building from a generated source archive and git metadata is lost there. | ||||
* | add arc and orc to gc list (#14653) | Andy Davidoff | 2020-06-14 | 1 | -1/+1 |
| | |||||
* | fix #14655 setLen(seq) now zeros memory (#14656) | Timothee Cour | 2020-06-14 | 2 | -15/+23 |
| | | | | | * simplify sysstr.nim * fix #14655 | ||||
* | Clarify imported exceptions note in manual | Dominik Picheta | 2020-06-13 | 1 | -1/+1 |
| | |||||
* | fix #13166 tioselectors flaky test on freebsd+OSX (#14634) | Timothee Cour | 2020-06-12 | 3 | -5/+55 |
| | |||||
* | reorder.nim: fixed typos | Araq | 2020-06-12 | 1 | -3/+3 |
| | |||||
* | remove tyOpt, mOpt (#14636) | Timothee Cour | 2020-06-12 | 10 | -23/+20 |
| | | | | | * remove tyOpt, mOpt * fixup | ||||
* | Add rstgen.rstToLatex convenience proc for renderRstToOut and ↵ | Juan Carlos | 2020-06-12 | 2 | -0/+13 |
| | | | | initRstGenerator with outLatex output, see https://github.com/nim-lang/fusion/pull/11#issuecomment-641804899 (#14629) | ||||
* | httpcore: Add http code 308 Permanent Redirect (#14639) | djazz | 2020-06-12 | 2 | -1/+3 |
| | | | | | * httpcore: Add http code 308 * httpclient: Add 308 to redirection proc * fix typo | ||||
* | tools/kochdocs: add log folding supports for more CI services (#14643) | alaviss | 2020-06-12 | 1 | -1/+9 |
| | | | | | Added log folding for: - Github Actions - Azure Pipelines |