summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* faster CountTable sort(), optional SortOrder (#11010)Andy Davidoff2019-04-161-15/+30
| | | | | | | | | * use existing sort for CountTable, and add SortOrder options to CountTable, OrderedTable sort(s) * add some tests, runnables, etc. * fix runnable imports
* Extend the fix for #11018 to strings (#11031)Clyybber2019-04-151-1/+9
| | | | | | * Extend the fix for #11018 to strings * Fix testcase
* fixes another regression; the behaviour of 'array' formatting was changedAraq2019-04-151-0/+8
|
* fixes #11012Araq2019-04-152-22/+18
|
* Fixes #11018 (#11019)Clyybber2019-04-141-0/+11
|
* fix reraise (#11017)cooldome2019-04-131-4/+8
|
* fixes #11004Araq2019-04-121-0/+7
|
* Compiler plugin for implementing incremental computation in user space (#10819)cooldome2019-04-113-0/+197
| | | | | | | | | | This plugin provides essential building block for implementing incremental computations in your programs. The idea behind incremental computations is that if you do the same calculation multiple times but with slightly different inputs you don't have to recompute everything from scratch. Also you don't want to adopt special algorithms either, you would like to write your code in standard from scratch manner and get incrementality for free when it is possible. The plugin computes the digest of the proc bodies, recursively hashing all called procs as well . Such digest with the digest of the argument values gives a good "name" for the result. Terminology loosely follows paper "Incremental Computation with Names" link below. It works well if you have no side effects in your computations. If you have global state in your computations then you will need problem specific workarounds to represent global state in set of "names" . SideEffect tracking in Nim also useful in this topic. Classical examples: Dashboard with ticking data. New data arrives non stop and you would like to update the dashboard recomputing only changed outputs. Excel spreadsheet where user changes one cell and you would like to recompute all cells that are affected by the change, but do not want to recompute every cell in the spreadsheet.
* fixes #10765 (#10993) [backport]cooldome2019-04-111-0/+9
|
* newruntime: raising an exception works but currently leaks memory because ↵Araq2019-04-101-0/+38
| | | | currentException global is not an 'owned' ref
* enable more testsAraq2019-04-101-23/+22
|
* rst: parse brackets individually, fixes #10475 (#10997)Miran2019-04-101-0/+12
|
* enable most tnewruntime_strutils testsAraq2019-04-101-38/+28
|
* newruntime: fixes another bugAraq2019-04-102-1/+242
|
* destructors: we are cooking nowAraq2019-04-061-2/+3
|
* Fix astdef typ deref (#10245)Alexander Ivanov2019-04-051-2/+11
|
* Strformat symbol binding (#10927)Arne Döring2019-04-053-2/+74
|
* fixes #10943 (#10947)cooldome2019-04-052-0/+13
|
* destructors: progressAndreas Rumpf2019-04-051-2/+2
|
* fixes destructor tuple regression #10940 (#10941)cooldome2019-04-041-0/+48
| | | | | | | | * fixes #10940 * bug fixes * fix spacing
* Pure ref object; fixes #10721 (#10955)Arne Döring2019-04-041-8/+41
|
* fixes #10942. Lent T bug (#10946)cooldome2019-04-031-0/+25
| | | | | | | | * fixes #10942 * add test * bug build
* fixes #10948 (#10949)cooldome2019-04-031-0/+39
|
* simple program works with --newruntimeAraq2019-04-021-11/+11
|
* make megatest work againAraq2019-04-022-0/+5
|
* fixes json.nim regressionAndreas Rumpf2019-03-291-4/+0
|
* fixes #10896 (#10903)Andreas Rumpf2019-03-251-0/+5
|
* fixes #8202 (#10888)Andreas Rumpf2019-03-231-0/+18
| | | | | | * fixes #8202 * make tests green
* improvements on the hot code reloading support (#10892)Viktor Kirilov2019-03-231-1/+1
| | | | | | | | * calling the "_actual" versions of functions when defined within the same module - slowdown for the snappy compression is now down from x6 to x4-x5 when HCR is ON * dynamically linking to the runtime for VS when HCR is on - binaries are smaller * compilerProcs are also called using the _actual direct version within the module they are defined (system)! * updated comments & goals * handling VS-compatible compilers on Windows in a cleaner way * now the .dll/.so files end up in the nimcache even when --nimcache isn't explicitly stated
* fixes #10886 [backport] (#10897)Andreas Rumpf2019-03-231-0/+18
|
* more destructor based changes (#10885)Andreas Rumpf2019-03-232-0/+16
| | | | | | | | | | | * mark user defined destructors with sfOverriden to simplify the logic * refactoring in preparation to merge liftings and generic instantiations for destructors * ast: introduce nkHiddenTryStmt for destructor generation in order to be able to optimize better the code later on * renamed 'patterns' switch to 'trmacros' as it was totally misleading before * destructors: introduce tfCheckedForDestructor flag in preparation of strict =destroy checking * test for invalid/too late destructor introductions * liftdestructors: make code robust for nimsuggest * --newruntime works for hello world again * newruntime: code generation for closures
* Lineinfo fix (#10871)Arne Döring2019-03-211-0/+18
|
* fixes #10861 (#10877)cooldome2019-03-211-1/+15
|
* add tastspec (and ast_pattern_matching) (#10863)Arne Döring2019-03-192-0/+1600
|
* sizeof alignof offsetof macros api (#10855)Arne Döring2019-03-191-0/+51
|
* Size ptr tuple (#10846)Arne Döring2019-03-184-0/+128
| | | | | | * fixes #10117 * Add support for recursive tuples * detect in generics
* Support for stmtListExpr in parser after major keywords. Scaled down ↵cooldome2019-03-182-2/+23
| | | | | | | version. (#10852) * Support for stmtListExpr in parser after major keywords * fixes #4035
* fixes #10838 (#10841)cooldome2019-03-181-0/+14
| | | | | | * fixes #10838 * reject func in types instead * trigger tests
* multi-methods need to be explicitly enabled (#10856)Miran2019-03-181-0/+1
| | | | | | * multi-methods need to be explicitly enabled * update changelog, manual and tutorial
* Detect local "primary" IP addressFederico Ceratto2019-03-172-0/+24
|
* revert discard in destroyer (#10840)cooldome2019-03-152-23/+1
| | | | | | * revert discard in destroyer * disable test
* move system.dollars in a separate file (#10829)Miran2019-03-132-3/+1
|
* bitops: add reverseBits and test (#10835)Tomohiro2019-03-131-0/+42
|
* fixes #10805 (#10806)cooldome2019-03-131-0/+5
|
* fixes #10807 (#10814)cooldome2019-03-121-1/+11
| | | | | * fixes #10807 * use nkAddr instead of nkHiddenAddr
* make tests green againAndreas Rumpf2019-03-071-1/+1
|
* move assertions and iterators out of system.nim (#10597)Miran2019-03-073-8/+4
| | | | | * move assertions and iterators out of system.nim * limit nimsuggest tests to the first 3 suggestions
* fixes #10795Andreas Rumpf2019-03-061-5/+18
|
* tsizeof test is now correct (#10788)Arne Döring2019-03-061-16/+47
|
* make tests green againAndreas Rumpf2019-03-053-0/+3
|