Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix #13455 ; joinPath(a,b) now honors trailing slashes in b (or a if b = "") ↵ | Timothee Cour | 2020-02-26 | 1 | -3/+26 |
| | | | | | | | (#13467) * fix #13455 ; joinPath(a,b) now honors trailing slashes in b (or a if b = "") * fix test windows | ||||
* | fix #13449 texitcode flaky on windows (#13487) | Timothee Cour | 2020-02-25 | 1 | -1/+4 |
| | |||||
* | make devel green again: tnetdial still doesn't work on Travis | narimiran | 2020-02-25 | 1 | -0/+1 |
| | |||||
* | fix 3 minor bugs in joinPath (see #13455) (#13462) [backport] | Andrey Makarov | 2020-02-23 | 1 | -0/+4 |
| | |||||
* | relativePath("foo", "foo") is now ".", not "" (#13452) | Timothee Cour | 2020-02-22 | 3 | -4/+18 |
| | |||||
* | fixes #13457 (#13458) | Andreas Rumpf | 2020-02-21 | 1 | -1/+8 |
| | |||||
* | Remove testutils (#13435) [backport] | Clyybber | 2020-02-19 | 2 | -2/+7 |
| | |||||
* | [backport] pseudorandom probing for hash collision (#13418) | Timothee Cour | 2020-02-19 | 3 | -8/+30 |
| | |||||
* | fix incorrect lenTuple implementation (#13423) | Timothee Cour | 2020-02-19 | 1 | -4/+36 |
| | |||||
* | capture macro now accepts variables of different types (#13356) | Clyybber | 2020-02-15 | 1 | -3/+11 |
| | | | | | | | | | | * Capture macro can now accept variables of different types * Add test * Update examples * Use let instead of var | ||||
* | fixes #13368 (#13397) | cooldome | 2020-02-14 | 1 | -0/+11 |
| | |||||
* | Revert "remove dead code test_nimhcr_integration.(bat,sh) (#13388)" (#13396) | Andreas Rumpf | 2020-02-12 | 2 | -0/+27 |
| | | | This reverts commit 90491ea0a98aaca198bebf3ce99a1f86559f18ec. | ||||
* | remove dead code test_nimhcr_integration.(bat,sh) (#13388) | Timothee Cour | 2020-02-12 | 2 | -27/+0 |
| | | | | | | * enable test for osx: import tests/dll/nimhcr_integration * re-disable osx test | ||||
* | fixes #13378 [backport] (#13392) | Andreas Rumpf | 2020-02-11 | 1 | -0/+16 |
| | |||||
* | fix several bugs with `repr` (#13386) | Timothee Cour | 2020-02-11 | 3 | -4/+20 |
| | |||||
* | fix `is` with generic types; fix `genericHead(Foo[T])` (#13303) | Timothee Cour | 2020-02-09 | 2 | -2/+51 |
| | | | | | * fix #9855, fix #9855, fix genericHead * render TTypeKind via toHumanStr | ||||
* | fixes #13314 (#13372) | Andreas Rumpf | 2020-02-09 | 1 | -1/+25 |
| | |||||
* | Add sideEffect pragma to importC procs in posix, winlean and time module ↵ | Tomohiro | 2020-02-08 | 1 | -0/+10 |
| | | | | | | | | | (#13370) * Add sideEffect pragma to procs in winlean * Add sideEffect pragma to procs in posix * Add test for #13306 * Add sideEffect pragma to procs in times * Fixes #13306 | ||||
* | Revert "printing float values will have one more digit. (#13276) [backport]" ↵ | Timothee Cour | 2020-02-08 | 8 | -42/+38 |
| | | | | | (#13363) This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe. | ||||
* | fix #6736: templates in unittest now show actual value (#13354) | Miran | 2020-02-07 | 1 | -0/+25 |
| | |||||
* | printing float values will have one more digit. (#13276) [backport] | Arne Döring | 2020-02-07 | 8 | -38/+42 |
| | | | | * printing float values will have one more digit. Fixes #13196 | ||||
* | testament: introduce 'matrix' for testing multiple options (#13343) | Miran | 2020-02-07 | 1 | -1/+3 |
| | |||||
* | miscellaneous bug fixes (part 3) (#13304) | Timothee Cour | 2020-02-07 | 1 | -1/+1 |
| | | | | | | | | | | * fix deprecation; fix indentation * git clone: use -q * fix Warning: pragma before generic parameter list is deprecated; fix typo * bugfix: sysTypeFromName("float64") was never cached | ||||
* | fix #13182: `proc fun(a: varargs[Foo, conv])` now can be overloaded (#13345) ↵ | Timothee Cour | 2020-02-07 | 1 | -0/+47 |
| | | | | [backport] | ||||
* | fixes #13269 (#13344) | Andreas Rumpf | 2020-02-07 | 1 | -0/+14 |
| | |||||
* | fix #13349 regression: isNamedTuple now works with generic tuples (#13350) | Timothee Cour | 2020-02-07 | 1 | -0/+5 |
| | |||||
* | [backport] -d:danger should imply -d:release (#13336) | Miran | 2020-02-05 | 1 | -0/+13 |
| | |||||
* | Fixed codegen for constant cstring with --gc:arc (#13326) | Ico Doornekamp | 2020-02-04 | 1 | -0/+16 |
| | | | | | | * Fixed codegen for constant cstring with --gc:arc, fixes #13321 * Added test for #13321 | ||||
* | enable testing -d:nimHasLibFFI mode (#13091) | Timothee Cour | 2020-02-04 | 2 | -82/+83 |
| | |||||
* | fix #13132 tnetdial (#13318) | Timothee Cour | 2020-02-04 | 1 | -2/+2 |
| | |||||
* | Fix capture for object types (#13315) | Clyybber | 2020-02-02 | 1 | -2/+16 |
| | | | | | | * Fix capture for object|tuple|... types * Add test case | ||||
* | miscellaneous bug fixes (#13291) | Timothee Cour | 2020-01-30 | 1 | -0/+9 |
| | | | | | | | | * fix for emscripten etc * add testcase for #13290 * replace deprecated isNilOrWhitespace | ||||
* | Repr v2 progress (#13268) | cooldome | 2020-01-28 | 2 | -1/+35 |
| | | | | | | | | | | * progress on repr_v2 * repr progress * add ref objects with distrinct * fix failing tests | ||||
* | TlSF Alloctor: use less memory for --gc:arc (#13280) | Andreas Rumpf | 2020-01-28 | 1 | -0/+2 |
| | |||||
* | fixes #13281 (#13282) | cooldome | 2020-01-28 | 1 | -1/+17 |
| | | | | | | * fixes ##13281 * add comment to test | ||||
* | ARC: remove unnecessary code | Araq | 2020-01-26 | 1 | -4/+3 |
| | |||||
* | contributing docs: symbols need package prefix; changed allocStats to ↵ | Timothee Cour | 2020-01-25 | 8 | -8/+8 |
| | | | | nimAllocStats (#13247) | ||||
* | Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses ↵ | Ico Doornekamp | 2020-01-23 | 9 | -56/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | allocShared0. (#13190) * Cleanup, remove lib/system/allocators.nim. seqs_v2 and strs_v2 now use allocShared0 by default. * Fixed -d:useMalloc allocShared / reallocShared / deallocShared. These now use the alloc/dealloc/realloc implementation that also takes care of zeroing memory at realloc. * Removed debug printfs * Removed unpairedEnvAllocs() from tests/destructor/tnewruntime_misc * More mmdisp cleanups. The shared allocators do not need to zero memory or throw since the regular ones already do that * Introduced realloc0 and reallocShared0, these procs are now used by strs_v2 and seqs_v2. This also allowed the -d:useMalloc allocator to drop the extra header with allocation length. * Moved strs_v2/seqs_v2 'allocated' flag into 'cap' field * Added 'getAllocStats()' to get low level alloc/dealloc counters. Enable with -d:allocStats * *allocShared implementations for boehm and go allocators now depend on the proper *allocImpl procs | ||||
* | Unexport even more symbols (#13214) | alaviss | 2020-01-23 | 1 | -6/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * system/gc: don't export markStackAndRegisters * compiler/cgen: unexport internal symbols As these functions are Nim-specific walkaround against C's optimization schemes, they don't serve any purpose being exported. * compiler/cgen: don't export global var unless marked * compiler/ccgthreadvars: don't export threadvar unless marked * tests/dll/visibility: also check for exports This ensure that these changes don't break manual exports. * compiler/cgen: hide all variables created for constants * compiler/ccgtypes: don't export RTTI variables * compiler/ccgexprs: make all complex const static * nimbase.h: fix export for windows * compiler/cgen, ccgthreadvars: export variables correctly For C/C++ variables, `extern` means that the variable is defined in an another unit. Added a new N_LIB_EXPORT_VAR to correctly export variables. | ||||
* | fix lots of bugs with parentDir, refs #8734 (#13236) | Timothee Cour | 2020-01-23 | 1 | -5/+5 |
| | |||||
* | VM: allow overriding MaxLoopIterations without rebuilding nim (#13233) | Timothee Cour | 2020-01-23 | 1 | -1/+1 |
| | |||||
* | new os.isRelativeTo (#13212) | Timothee Cour | 2020-01-23 | 1 | -0/+12 |
| | |||||
* | fix #13211 relativePath("foo", ".") (#13213) | Timothee Cour | 2020-01-21 | 1 | -0/+4 |
| | |||||
* | fix range[enum] type conversion (#13204) [backport] | Jasper Jenkins | 2020-01-20 | 1 | -0/+33 |
| | |||||
* | compiler/ccgtypes: hide exportc proc unless it has dynlib (#13199) | alaviss | 2020-01-20 | 1 | -0/+19 |
| | | | | | This hides most of stdlib's internal functions from resulting binaries/libraries, where they aren't needed on *nix. Static libraries are not affected by this change (visibility doesn't apply to them). | ||||
* | fixes #13195 (#13198) | cooldome | 2020-01-20 | 1 | -0/+25 |
| | | | | | | | | * fixes #13195 * extra fix * fix typo | ||||
* | fixes #13110 (#13197) | Andreas Rumpf | 2020-01-19 | 1 | -1/+4 |
| | |||||
* | Revert "fixes #13195" | Andrii Riabushenko | 2020-01-19 | 1 | -25/+0 |
| | | | | This reverts commit cd7904f2b29e623998a1d32ee726d000f56fc5ce. | ||||
* | revert last commit | Andrii Riabushenko | 2020-01-19 | 1 | -0/+25 |
| | |||||
* | more on arc codegen (#13178) | cooldome | 2020-01-19 | 2 | -8/+30 |
| | | | | | | | | | | | | * arc codegen for union type * add more tests * fix offsetof * fix tsizeof test * fix style |