| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* fix #9855, fix #9855, fix genericHead
* render TTypeKind via toHumanStr
|
| |
|
|
|
|
|
|
|
|
|
| |
(#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
|
|
|
|
|
| |
(#13363)
This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe.
|
| |
|
|
|
|
| |
* printing float values will have one more digit. Fixes #13196
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
[backport]
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Fixed codegen for constant cstring with --gc:arc, fixes #13321
* Added test for #13321
|
| |
|
| |
|
|
|
|
|
|
| |
* Fix capture for object|tuple|... types
* Add test case
|
|
|
|
|
|
|
|
| |
* fix for emscripten etc
* add testcase for #13290
* replace deprecated isNilOrWhitespace
|
|
|
|
|
|
|
|
|
|
| |
* progress on repr_v2
* repr progress
* add ref objects with distrinct
* fix failing tests
|
| |
|
|
|
|
|
|
| |
* fixes ##13281
* add comment to test
|
| |
|
|
|
|
| |
nimAllocStats (#13247)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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
* extra fix
* fix typo
|
| |
|
|
|
|
| |
This reverts commit cd7904f2b29e623998a1d32ee726d000f56fc5ce.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* arc codegen for union type
* add more tests
* fix offsetof
* fix tsizeof test
* fix style
|
|
|
|
|
|
|
|
|
| |
(#13023)
* maybe: allows optional chaining
* fix tools/kochdocs.nim
* improve semantics to distinguish valid from invalid values
* for now, wrapnil, isValid, unwrap are not exported
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* make sink operator optional
* bug fix, add changelog entry
* Trigger build
* fix one regression
* fix test
* Trigger build
* fix typos
|
| |
|
|
|
|
| |
a few magic numbers with consts (#13170)
|
|
|
|
|
|
| |
* fixes #13095
* fix typo
|
| |
|
|
|
| |
fixes #13029
|
| |
|
|
|
|
|
|
|
|
| |
* fixes #13102
* closes #13149
* ARC: fixes a move optimizer bug (there are more left regarding array and tuple indexing)
* proper fix; fixes #12957
* fixes yet another case object '=' code generation problem
|
| |
|
| |
|
|
|
|
|
| |
* fixes #13119
* fixes a regression
|
|
|
|
|
|
| |
* improve line error information
* fixes #13112
|
|
|
|
|
|
| |
* fixes #13122
* moved tests to where they belong
|
| |
|