summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* fixes #15147 (#15315)Andreas Rumpf2020-09-122-1/+22
|
* Add testcase for invalid if statement (#15313)Clyybber2020-09-121-0/+12
|
* Fix #15305 (#15311)Clyybber2020-09-122-2/+13
| | | | | * Fix #15305 * Fix test
* remove annoying messages when creating orderedTables (#15309)flywind2020-09-121-11/+11
| | | | | * nativesockets docs minor [backport: 1.2] * remove annoying messages
* fix broken links in the documentationnarimiran2020-09-121-21/+21
|
* Bump nimble (#15304)genotrance2020-09-111-1/+1
|
* fixes #15021Araq2020-09-111-2/+2
|
* Fix #15183 (#15300)Juan Carlos2020-09-112-11/+13
|
* fixes #15122 (#15301)Andreas Rumpf2020-09-112-2/+58
|
* fix warnings for deprecated `low` and `high` (#15291)Miran2020-09-113-13/+13
|
* Add /lib/fusion to gitignore (#15295)hlaaftana2020-09-111-0/+1
|
* Improve prelude so it does not hijacks documentation when used (#15299)Juan Carlos2020-09-111-12/+10
|
* testament improvement: allow inline error messages inside test cases (#15294)Andreas Rumpf2020-09-103-21/+142
| | | | * testament support for inline error messages * adapt teffects1.nim test to show the potential
* Fix #15286 (#15292)cooldome2020-09-102-0/+11
| | | | | * fix #15286 * fix spacing
* fixes #15280 [backport:1.2] (#15281)Andreas Rumpf2020-09-094-5/+49
| | | | | | | * fixes #15280 [backport:1.2] * make tests green again * adapt tests
* borrow checking refinements (#15290)Andreas Rumpf2020-09-093-5/+39
| | | * added basic borrowing test
* Add some enhancements to `jsonutils.nim` (#15133)Ivan Bobev2020-09-097-59/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add some enhancements to `jsonutils.nim` * Use `jsonutils.nim` hookable API to add a possibility to deserialize JSON arrays directly to `HashSet` and `OrderedSet` types and respectively to serialize those types to JSON arrays. * Also add a possibility to deserialize JSON `null` objects to Nim option objects and respectively to serialize Nim option object to JSON object if some or to JSON `null` object if none. * Move serialization/deserialization functionality for `Table` and `OrderedTable` types from `jsonutils.nim` to `tables.nim` via the hookable API. * Add object `jsonutils.Joptions` and parameter from its type to `jsonutils.fromJson` procedure to control whether to allow deserializing JSON objects to Nim objects when the JSON has some extra or missing keys. * Add unit tests for the added functionalities to `tjsonutils.nim`. * improve fromJsonFields * Add changelog entry for the jsonutils enhancements * Add TODO in `jsonutils.nim` * Added an entry to "Future directions" section in `jsonutils.nim` as suggestion for future support of serialization and de-serialization of nested variant objects. * Added currently disabled test case in `tjsonutils.nim` for testing serialization and de-serialization of nested variant objects. * Move JSON hooks to `jsonutils.nim` Move `fromJsonHook` and `toJsonHook` procedures for different types to `jsonutils.nim` module to avoid a dependency of collections modules to the `json.nim` module. The hooks are removed from the following modules: * `tables.nim` * `sets.nim` * `options.nim` * `strtabs.nim` * Add some tests about `StringTableRef` Add tests for `StringTableRef`'s `fromJsonHook` and `toJsonHook` to `tjsonutils.nim`. * Disable a warning in `jsonutils.nim` Mark `fun` template in `jsonutils` module with `{.used.}` pragma in order to disable `[XDeclaredButNotUsed]` hint. The template is actually used by the `initCaseObject` macro in the same module. Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* [ci skip] fix typo in the manualnarimiran2020-09-091-2/+2
|
* add getprotobyname (#15273)flywind2020-09-094-0/+56
| | | | | | | * add getprotobyname * tests, docs, changelog * add since
* deprecate `high(value)` and `low(value)` (#15283)Miran2020-09-091-6/+8
|
* Better semiStmtList parsing (#15123)Clyybber2020-09-092-78/+209
| | | | | | | * Better semiStmtList parsing * Add examples from forums and wiki * Move parseIfExpr near parseIfOrWhen * Update grammar
* borrow checking (#15282)Andreas Rumpf2020-09-0918-311/+554
| | | | | | | | | | | * refactoring: move procs to typeallowed.nim * frontend preparations for first class openArray support * prepare the code generator for first class openArray * code generation for first class openArray; WIP * code generation for open arrays, progress * added isViewType proc * preparations for borrow checking * added borrow checking to the front end
* "for-loop macros" are no longer an experimental feature (#15288)Miran2020-09-086-51/+50
|
* nativesockets docs minor [backport: 1.2] (#15285)flywind2020-09-081-9/+9
|
* nimeval errorHook support (#15255)Scott Wadden2020-09-073-16/+37
|
* don't raise index defects on malformed ast (#15278)Andy Davidoff2020-09-072-6/+14
| | | | | * don't raise index defects on malformed ast * style
* more Protocol supports in windows (#15274) [backport:1.2]flywind2020-09-072-5/+48
|
* strict funcs: use control flow information for a more precise analysis (#15271)Andreas Rumpf2020-09-062-23/+87
| | | | | * strict funcs: use control flow information for a more precise analysis * cursor inference uses control flow information
* Bump nimble (#15272)genotrance2020-09-061-1/+1
|
* Fix c_malloc inside syslocks.nim to take size_t (#15268) [backport]shirleyquirk2020-09-051-3/+3
| | | | * update c_malloc's to csize_t
* Expand hoisted default params in sem (#15270)Clyybber2020-09-0512-123/+178
| | | | | | | | | * Expand hoisted default params in sem Introduce ast.newTree{I,IT} Add test for default params in procs * Cleanup * Simplify hoist transformation and expand test
* Add SSL_CTX_set_session_id_context (#15233)IDF2020-09-042-0/+17
| | | | | | | | | * Added SSL_CTX_set_session_id_context() * Added basic nimdoc * Raise an error if sessionIdContext is longer than the maximum length * Update nimdocs
* Fix #15219 SQL escape in db_mysql is not enough (#15234)Bung2020-09-041-3/+17
|
* fix #15238 (#15262)cooldome2020-09-042-1/+18
| | | | | * fix_15238 * fix test
* fix #15257, `toHex` couldn't handle large uint64 (#15261) [backport:1.2]Miran2020-09-042-14/+35
|
* fixes system.add for strict funcs (#15259)Andreas Rumpf2020-09-032-19/+21
| | | | | * fixes system.add for strict funcs * fixes #15248
* replace / with _ in trId (#15256)Silvio2020-09-021-1/+1
| | | Fixes jquery error when clicking to collapse/expand a panel
* Fix sets for architectures with default integers smaller than 32 bits ↵PMunch2020-09-021-3/+3
| | | | (#15258) [backport]
* fixes #15210 [backport:1.2] (#15237)Andreas Rumpf2020-08-314-21/+38
| | | | | * fixes #15210 [backport:1.2] * use patched version of bigints library
* Changes for FreeRTOS/LwIP Port for the ESP32 (ESP-IDF) (#15250)Jaremy Creechley2020-08-3111-32/+589
| | | | | | | | | | | | | | | | | | | * 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
* template hygiene (#15240)Andy Davidoff2020-08-291-10/+13
|
* Big compiler Cleanup (#14777)Clyybber2020-08-2853-783/+481
|
* fix #15035 (#15236)cooldome2020-08-282-2/+19
|
* Fix #5691 (#15158)Clyybber2020-08-2715-85/+180
| | | | | | | | * Fix #5691 * Cleanup and thoughts * Use scope approach * Seperate defined/declared/declaredInScope magics * Fix declaredInScope * Update spec accordingly
* fix some issues overloading with generics and inheritance (#15211)jcosborn2020-08-272-16/+65
| | | | | * fix some issues overloading with generics and inheritance * fix passing procs with subtype matches
* fixes #15221 (#15230)Andreas Rumpf2020-08-272-47/+45
|
* Raise KeyError if passed an invalid row entry (#15227)Scott Wadden2020-08-261-2/+7
|
* Remove unroll pragma from stdlib (#14706)Juan Carlos2020-08-261-4/+0
|
* fixes #15207 [backport:1.2]Araq2020-08-261-19/+14
|
* deleted dead code, writetracking.nim was replaced by varpartitions.nimAraq2020-08-261-275/+0
|