summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* tslow_tables: wait for an additional 2 seconds (#14266)alaviss2020-05-071-1/+1
| | | | | | | | This test runtime tends to hover around the 5s mark depending on how loaded the system currently is. This causes the test to fail a lot during CI, per analytics: https://dev.azure.com/nim-lang/Nim/_test/analytics?definitionId=1&contextType=build Give the test an extra 2 seconds to account for unrelated overhead.
* Fix the DFA for "unstructured controlflow" (#14263)Clyybber2020-05-073-80/+141
| | | | | * Fix the DFA for "unstructured controlflow" * Add testcase from #14233
* net: remove more erroneous set constructions (#14252) [backport]alaviss2020-05-071-3/+8
| | | Refs #13764
* Split testing important packages into two jobs (#14256)Miran2020-05-074-134/+157
| | | | | * split testing packages in two separate jobs * speed-up the slowest tests * special treatment for two packages
* fix #14236 (#14250)cooldome2020-05-072-3/+19
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* fixes #14244 (#14248)cooldome2020-05-062-6/+25
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* Fix runnable examples for bitops (#14247)awr12020-05-061-3/+3
|
* added a new feature: --cc:env so that you can use any C compiler as long as ↵Andreas Rumpf2020-05-063-13/+31
| | | | it works like GCC
* cleanup the CC setting, only leave in there what is at least semi-officially ↵Andreas Rumpf2020-05-062-122/+2
| | | | supported
* fix regression: -d:nimHasLibFFI was not being tested anymore (#14234)Timothee Cour2020-05-064-26/+50
| | | | | | | | * * fix regression: -d:nimHasLibFFI was not being tested anymore, in part because testament was silently treating some errors as easy to overlook messages * turned that message into an error * -d:nimHasLibFFI is now being tested with nim cpp * use correct signatures for importc procs * workaround for openbsd to unblock ctffi testing
* Added bitslice operations for bitops (#14016)awr12020-05-063-22/+280
| | | | | | | | | | | | | | | | | | | | * added bit operations based on bit slices, clarified documentation, made non-mutating versions of mask ops * Added since annotations, some runnable examples * Added mask()/masked() functions, changed internal workings of mask ops to use new bit* funcs * Changelog updated for new bitops improvements * Reorganization, added runnable examples * Documentation adjustments * Add incltrl for since annotation * Fix masked() impl * Fix mask() return type * Don't call toUnsigned on already unsigned types * Remove improper `var T` for flipMasked() * Fix return types for flipMasked() * Slight syntactic cleanup for *masked ops * Added tests for bitslice operations, new mask() operation, non-mutating mask ops * Fix setmasked() var T issue * More comprehensive tests * Fix runnable example for bitsliced() * Fix runnable example for mask()
* Make the fields of `times.DateTime` private (#14197)Oscar Nihlgård2020-05-064-89/+209
| | | | | * Make the fields of `times.DateTime` private * PR fixes
* fix js stacktraces, unify all file,line,col formatting into a single ↵Timothee Cour2020-05-057-46/+68
| | | | | function (#14230) * fix https://github.com/timotheecour/Nim/issues/135 ; unify all file,line,col formatting into a single function
* Clarify JS cstring len (#14184)hlaaftana2020-05-053-9/+10
|
* fix #14217 (#14218)cooldome2020-05-053-3/+29
| | | | | * fix #14217 Co-authored-by: cooldome <ariabushenko@bk.ru>
* fixes #14209 [backport:1.2] (#14213)Andreas Rumpf2020-05-053-1/+32
| | | | * fixes #14209 [backport:1.2] * improve stability
* vcc fix (#14222)cooldome2020-05-042-5/+5
| | | Co-authored-by: cooldome <ariabushenko@bk.ru>
* Linux updates (#14170)wltsmrz2020-05-044-14/+33
| | | | | | | | | | | | | | * Add posix_memalign() * Add linux-specific open() flags O_TMPFILE: since Linux 3.11 O_PATH: since Linux 2.6.39 O_NOATIME: since Linux 2.6.8 O_DIRECT: since Linux 2.4.10 * Fix Stat type * Fix POSIX AF_INET* const generation
* Add procedures to read RSA keys from BIO format (#14223)PMunch2020-05-041-0/+4
|
* fix https://github.com/timotheecour/Nim/issues/152: avoid writing spurious ↵Timothee Cour2020-05-043-12/+5
| | | | | | | | | `^[[0m` to stderr when callStyledWriteLineStderr not called (#14214) * fix https://github.com/timotheecour/Nim/issues/152 `^[[0m` is inserted in stderr for `echo code | nim c -` * resetAttributes not even needed, already handled in styledWriteLine * simplify tests in tests/trunner.nim thanks to this fix
* Re-enabling INim (#14215)Tristram Oaten2020-05-041-1/+1
|
* Fixes net.recvFrom to work correctly with IPv6 (#14131)rockcavera2020-05-041-10/+22
| | | | | | | * added high level sendTo and recvFrom to std/asyncnet; tests were also added. * add .since annotation, a changelog entry and fixed to standard library style guide. * fixes net.recvFrom to work correctly with IPv6 * raise if domain is not AF_INET or AF_INET6 * renamed template to adaptRecvFromToDomain()
* `echo cmd | nim r - -arg1 -arg2` now works (#14210)Timothee Cour2020-05-042-2/+32
|
* sequtils refactoring: prefer typeof over type (#14212)Andreas Rumpf2020-05-041-15/+15
|
* destructors: don't produce stupid code for 'cast' (#14208) [backport:1.2]Andreas Rumpf2020-05-043-4/+22
| | | | | * destructors: don't produce stupid code for 'cast' * fixes #14207
* => supports pragmas & names (+ changed behavior) (#14200)hlaaftana2020-05-036-55/+96
| | | | | | | | | | * => supports pragmas & names (+ changed behavior) (x, y: int) is now parsed as (x: int, y: int) instead of (x: auto, y: int) inside => and ->. * fix pragma check * fixes, use since & LHS of -> supports pragmas
* fix #14203 (#14204)slangmgh2020-05-032-17/+18
|
* Fix #14151 (#14205) [backport]slangmgh2020-05-031-8/+2
|
* Fix #14201 (#14202)slangmgh2020-05-031-1/+1
|
* fixes #14136 (#14198)Andreas Rumpf2020-05-032-3/+49
|
* move since from inclrtl to std/private/since (#14188)hlaaftana2020-05-0227-59/+60
| | | | * move since from inclrtl to std/private/since * move since import in system below for HCR
* Move generated tex file to doc to correct location (#14191)Dien Tran2020-05-021-0/+3
|
* update tests that tested for the 'discard' error messagesAraq2020-05-025-12/+12
|
* improve the 'has to be discarded' error messageAraq2020-05-025-6/+6
|
* fixes #14159 [backport:1.2]Araq2020-05-022-1/+36
|
* fixes #14177Araq2020-05-021-2/+3
|
* don't close #14142Araq2020-05-021-1/+1
|
* closes #14142Araq2020-05-021-2/+9
|
* fixes a bug encountered when running 'nim check posix_haiku.nim'Araq2020-05-021-1/+1
|
* exp. features now in correct manual, closes #11932 (#14195)hlaaftana2020-05-023-171/+198
|
* Document that proc named fooTask is created for every foo task [backport] ↵Kaushal Modi2020-05-021-0/+15
| | | | | (#14187) Ref: https://irclogs.nim-lang.org/01-05-2020.html#15:18:03
* Make unreachable else in case statements a warning instead of an error (#14190)Clyybber2020-05-023-4/+5
| | | | | * Fix #14019 by making trailing else a warning * Rename to UnreachableElse
* Make ./koch temp --gc:arc work (#14186)Clyybber2020-05-018-11/+26
|
* change 'iff' to 'if' to stop "corrections" once and for all (#14182)Miran2020-05-0112-37/+37
|
* discardable async procs are now an error (#14176)hlaaftana2020-05-014-10/+26
| | | | * add discard warning in manual
* arc: do not unload globals when building a library [backport:1.2] (#14180)Andreas Rumpf2020-05-011-2/+3
|
* fix sendTo and recvFrom in asyncnet (#14154)rockcavera2020-04-302-93/+48
| | | | | | | | | | | | | * added high level sendTo and recvFrom to std/asyncnet; tests were also added. * add .since annotation, a changelog entry and fixed to standard library style guide. * Improved asserts msgs and added notes for use with UDP sockets * pointers removed in parameters and fixes * added .since annotation * minor fixes
* hotfix: make tcompilerapi green againAraq2020-04-301-2/+3
|
* fixes #13698 [backport:1.2] (#14175)Andreas Rumpf2020-04-302-2/+7
|
* fixes the regression #12860 caused; hotfixAraq2020-04-302-1/+4
|