ringabout
2af9ddc286
revert strictDefs as the default ( #24620 )
...
revert https://github.com/nim-lang/Nim/pull/24225
see also https://forum.nim-lang.org/t/12646
2025-01-17 16:08:47 +01:00
ringabout
2df633180a
enable experimental:strictDefs ( #24225 )
2024-11-23 22:01:39 +01:00
ringabout
99f4cfa438
remove unused nimStdlibVersion ( #24060 )
2024-09-04 15:09:29 +02:00
ringabout
30cf33f04d
rework the vtable implementation embedding the vtable array directly with new strictions on methods ( #22991 )
...
**TODO**
- [x] fixes changelog
With the new option `nimPreviewVtables`, `methods` are confined in the
same module where the type of the first parameter is defined
- [x] make it opt in after CI checks its feasibility
## In the following-up PRs
- [ ] in the following PRs, refactor code into a more efficient one
- [ ] cpp needs special treatments since it cannot embed array in light
of the preceding limits: ref
https://github.com/nim-lang/Nim/pull/20977#discussion_r1035528927 ; we
can support cpp backends with vtable implementations later on the
comprise that uses indirect vtable access
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-11-28 15:11:43 +01:00
metagn
02be212dae
clean up SOME pending/xxx/issue link comments ( #21826 )
...
* clean up SOME pending/xxx/issue link comments
* great
2023-05-11 10:23:52 +02:00
ringabout
d17b1d475c
revert #19891 ; nimRawSetjmp causes problems for mingw 32 bits too [backport] ( #20758 )
...
revert https://github.com/nim-lang/Nim/pull/19891
2022-11-11 08:42:31 +01:00
ringabout
1e15f975b8
fixes #19162 ; enable strictEffects for v2 ( #19380 )
...
* enable stricteffects
* add gcsafe
* fix tests
* use func
* fixes pegs tests
* explicitly mark repr related procs with noSideEffect
* add nimLegacyEffects
* change URL
* fixes docopt
* add `raises: []` to repr
* fixes weave
* fixes nimyaml
* fixes glob
* fixes parsetoml
* Apply suggestions from code review
* Update testament/important_packages.nim
* add legacy:laxEffects
2022-10-15 14:07:40 +02:00
ringabout
c08c455016
Revert "enable nimPreviewDotLikeOps" ( #19919 )
...
* Revert "enable nimPreviewDotLikeOps (#19598 )"
This reverts commit 6773ffa63d .
* add deprecated message
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
2022-08-03 22:39:14 +08:00
Tanguy
251bdc1d5a
Windows: enable nimRawSetjmp by default [backport] ( #19891 )
...
* Windows: enable nimRawSetjmp by default
See #19197 . The default setjmp can randomly segfault on windows
* Attempt to disable the flag for bootstraping
* Disable styleCheck for c_setjmp
2022-06-14 12:37:31 +02:00
flywind
6773ffa63d
enable nimPreviewDotLikeOps ( #19598 )
2022-03-09 12:55:20 +01:00
flywind
4f6b59de96
mangle names in nimbase.h using cppDefine ( #19395 ) [backport]
...
mangle names in nimbase.h
fix comments
2022-01-17 11:14:13 +01:00
Timothee Cour
f77dea01fd
define nimVersion automatically and avoid needing -d:nimVersion140 ( #18726 )
...
* define `nimVersion` and avoid needing -d:nimVersion140
* fix changelog
2021-10-17 08:37:52 +02:00
Timothee Cour
31bb67a309
add -d:nimStrictMode in CI to keep code from regressing; fixes ConvFromXtoItselfNotNeeded, UnusedImport notes ( #16764 )
2021-02-17 19:30:09 +01:00
Timothee Cour
b9994925f5
remove all uses of condsyms symbols defined prior to bootstrap nim 0.20.0 ( #16918 )
...
* nimNoArrayToCstringConversion deadcode
* nimbabel deadcode
* nimHasalignOf deadcode
* nimvarargstyped deadcode
* nimhygiene deadcode
* nimNewTypedesc deadcode
* nimlocks deadcode
* nimHasCppDefine deadcode
* nimHasRunnableExamples deadcode
* nimHasNilChecks deadcode
* nimSymKind deadcode
* minor macros refactoring
* nimVmEqIdent deadcode
* nimNoNil deadcode
* nimNoZeroTerminator deadcode
* nimHasSymOwnerInMacro deadcode
* nimVmExportFixed deadcode
* nimNewRuntime deadcode
* nimAshr deadcode
* nimUncheckedArrayTyp deadcode
* nimHasTypeof deadcode
* nimErrorProcCanHaveBody deadcode
* nimHasHotCodeReloading deadcode
* nimHasSignatureHashInMacro deadcode
* nimHasDefault deadcode
* nimMacrosSizealignof deadcode
2021-02-17 09:32:36 +01:00
Araq
ddc155af64
fixes #12040
2019-08-27 10:20:12 +02:00
Araq
3a479ff53f
fixes #11153
2019-05-10 09:44:20 +02:00
Araq
86c3ac6a61
see what breaks with a global config.nims
2018-12-16 20:53:50 +01:00