Andreas Rumpf
21d941c16a
Atlas: now in its own repository ( #22066 )
...
* Atlas: now in its own repository
* progress
2023-06-10 17:32:11 +02:00
Juan Carlos
b2d7761975
Remove Deprecated Nimfix ( #22062 )
...
* Remove Deprecated Nimfix
* Trailing whitespace cleanups
2023-06-10 07:09:03 +02:00
ringabout
64b27edd3a
make move use =wasMoved internally ( #22032 )
...
* make `move` use `=wasMoved` internally
* fixes tests
* fixes spawn finally
* fixes views
* rename to internalMove
* add a test case
2023-06-09 15:53:12 +02:00
ringabout
49e11d9dcc
clean up isNilConversion for seqs, strings ( #22057 )
2023-06-09 14:47:52 +02:00
Tanguy
a4f9413a65
Fix: don't track Defect in proc effect compatibility ( #22037 )
2023-06-08 14:09:06 +02:00
ringabout
a8d0dda833
allow addressing elements of openArray[char] in VM ( #22045 )
...
allow addressing elements of openArray[char]
2023-06-08 14:08:49 +02:00
ringabout
64accd1c57
fixes {.global.} ref typedesc regressions ( #22046 )
2023-06-08 13:06:47 +02:00
ringabout
7ee00d86b1
fixes overriden typo ( #22044 )
2023-06-08 08:02:11 +02:00
Juan Carlos
ea91cfb305
Improve compiler messages ( #22040 )
...
* Improve compiler messages
2023-06-08 00:09:09 +02:00
Juan M Gómez
d29237b3c7
adds rkInt to the opcCastPtrToInt op ( #22039 )
...
adds rkInt to the opcCastPtrToInt op
2023-06-08 00:08:36 +02:00
heterodoxic
7fad6e5c70
fixes #21995 : align C++ with C backend behavior for empty raise state… ( #21998 )
...
* fixes #21995 : align C with C++ backend behavior for empty raise statements
* make runtime behavior match across both C and C++ backend and all exception modes
2023-06-07 15:15:08 +02:00
ringabout
47fa7506ab
fixes #21989 ; lift =dup from a custom =copy for objects to keep backward compatibilities ( #22009 )
...
* fixes #21989 ; optimize `=dup` iff it is overridden
* remove owned
* fixes refs
* lift destructors
* lift dup
2023-06-07 15:13:34 +02:00
metagn
ce72b564bc
retain forced open undeclared ident information ( #22019 )
2023-06-07 11:36:51 +02:00
Juan Carlos
9f3d1b1290
Improve compiler messages ( #22028 )
...
* Improve compiler messages with simpler code
2023-06-07 02:02:14 +02:00
metagn
1dedad5620
make runnableExamples a special word ( #22024 )
...
* make runnableExamples a special word
* fix imports
2023-06-06 23:31:55 +02:00
metagn
2ab948ce53
post expr blocks colon fix + correct grammar ( #21983 )
...
* post expr blocks colon fix + correct grammar
fixes #21982
* fix dochelpers
* this is remarkably common
* use head for unchained
* fix atlas
* final grammar fix
2023-06-06 06:53:21 +02:00
metagn
0a212f97a5
properly disallow unresolved generic proc values ( #22005 )
...
* properly disallow unresolved generic proc values
* mirrors semoperand
* shallow efTypeAllowed, add back special case
2023-06-05 10:53:40 +02:00
ringabout
1edae67efd
infer error for =dup if there is a custom =copy error hook ( #22004 )
2023-06-05 08:06:14 +02:00
Miguel Madrid-Mencía
211ef26f29
Remove unused astago import warning from vm.nim ( #22003 )
2023-06-04 22:56:14 +08:00
Miguel Madrid-Mencía
85d8ee2cee
Fix typo in installer.ini ( #22002 )
2023-06-04 16:07:29 +02:00
ringabout
767fec1640
fixes nightlies regression caused by atlas moving out of the tools dir ( #21999 )
...
fixes nightlies caused by atlas moving out of the tools dir
2023-06-04 13:51:03 +02:00
heterodoxic
0d4d70f15c
shallow fix for #21972 , #18552 by moving std::exception_ptr to the parent sco… ( #21988 )
...
shallow fix for #21972 by moving std::exception_ptr to the parent scope, minor cleanup
2023-06-04 08:56:11 +02:00
ringabout
929cb4d601
fixes #21987 ; don't create type bound ops for anything in a function with a nodestroy pragma ( #21992 )
...
* fixes #21987 ; don't create type bound ops for anything in a function with a `nodestroy` pragma
* add a comment
2023-06-04 08:37:58 +02:00
ringabout
1133f20fe2
lift the =dup hook ( #21903 )
...
* fixes tests again
* remove helper functions
* fixes closures, owned refs
* final cleanup
2023-06-02 16:03:32 +02:00
heterodoxic
c507ced51e
partially fixes #20787 by having a char dummy member prepended to objs only containing an UncheckedArray (i.e. C FAM) ( #21979 )
...
partial fix for #20787
2023-06-01 19:37:01 +02:00
ringabout
8e35b3d577
fixes #21974 ; fixes sameConstant fieldDefect ( #21981 )
...
* fixes #21974 ; fixes sameConstant fieldDefect
* add a test case
2023-06-01 19:02:56 +02:00
metagn
8f760080c5
privateAccess ignores non-objects ( #21973 )
...
closes #21969
2023-06-01 05:20:08 +02:00
heterodoxic
0e5c18a73a
removal of seq spam in generated C/C++ code and Module.typeStack cleanup ( #21964 )
...
* WIP: removal of seq spam in generated C/C++ output and Module.typeStack cleanup
* removal of seq spam in generated C/C++ output and Module.typeStack cleanup
2023-05-31 16:24:45 +02:00
Juan M Gómez
e43a51fcf3
Implements: [C++] constructor pragma improvement ( fix #21921 ) ( #21916 )
...
* implements: [C++] constructor pragma improvement (fix #21921 )
t
* fix test so it doesnt use echo in globals
* Update compiler/ccgtypes.nim
* Update lib/std/private/dragonbox.nim
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-05-30 21:47:26 +02:00
metagn
20446b437b
make proc not implicitly convert to pointer with a preview define ( #21953 )
...
* test `proc` not converting to `pointer`
* ignore define for now to test
* remove cstring
* fixes, changelog
2023-05-30 21:29:38 +02:00
heterodoxic
546af8c571
simple micro-optimizations of ropes' runtime-formatting ( #21962 )
2023-05-30 13:41:56 +02:00
metagn
7e055413f9
hot code reloading: fix regression? and PreMain with arc/orc ( #21940 )
...
* fix PreMain for hot code reloading with arc/orc
* fix regression? actually test nimhcr_basic
2023-05-30 07:35:29 +02:00
ringabout
108410ac34
fixes fieldDefect loses enum type info in ORC; consistent with VM and refc ( #21954 )
...
fixes fieldDefect loses enum type info in ORC
2023-05-29 14:59:59 +02:00
heterodoxic
f47b27d532
prevent spamming of thread local forward declarations in C/C++ output ( #21955 )
2023-05-29 14:55:04 +02:00
ringabout
c2abcb06cc
ship atlas and build documentation ( #21945 )
...
* ship atlas and build documentation
* move atlas.md and link it in tools' index
2023-05-28 08:28:49 +02:00
metagn
2dcc7195da
support generic void return type for templates ( #21934 )
...
fixes #21920
2023-05-27 20:09:34 +02:00
heterodoxic
af3fd5a010
fixes #15428 by updating deep open array copy codegen ( #21935 )
...
* fix #15428
* add test
2023-05-27 15:27:42 +02:00
heterodoxic
6128ef53c5
fix #10964 by honoring pointer deref syntax if a reified openarray is used to get an array's length ( #21925 )
...
* fix #10964
* add test
2023-05-27 06:54:41 +02:00
metagn
1aaff9dc48
fix & add test for basic hot code reloading case ( #21915 )
...
fixes #21885
2023-05-26 17:07:37 +02:00
ringabout
ab4d044a81
fixes #21887 ; Type conversion on overloaded enum field does not always call ( #21908 )
...
* fixes #21887 ; Type conversion on overloaded enum field does not always call
* remove comments
* add a test case
* restrict it to enums
2023-05-26 09:24:43 +02:00
heterodoxic
609bf3d7c8
fix #21501 by making --app:lib and --app:staticLib imply --noMain ( #21910 )
2023-05-26 03:20:56 +02:00
metagn
446e5fbbb3
when T is both a type symbol and a routine symbol in scope of a generic proc do not account for the type symbol when doing a.T() ( #21899 )
...
fix #21883
2023-05-24 20:39:40 +02:00
metagn
4d6be458a0
js -r defines nodejs & program result undeclared if unavailable ( #21849 )
...
* js -r defines nodejs & program result undefined if unavailable
fixes #16985 , fixes #16074
* fix
* add changelog too
* minor word change
2023-05-24 17:55:09 +02:00
Juan M Gómez
c7f2541914
actually fixes #21889 "constructor pragma doing nothing in globals" ( #21897 )
...
actually fixes #21889
2023-05-24 16:42:53 +02:00
Bung
266cc69f19
fix #21896 asign parameter to global variable generates invalid code ( #21900 )
2023-05-24 15:30:14 +02:00
ringabout
761b927e47
fixes #21863 ; Incorrect enum field access can cause internal error ( #21886 )
...
fixes 21863; Incorrect enum field access can cause internal error
2023-05-24 07:43:30 +02:00
Juan M Gómez
bdccc9fef9
small refactor in preparation to fix #21889 ( #21892 )
2023-05-23 20:10:24 +02:00
Juan Carlos
d372ad3ee6
Fix jsgen ( #21880 )
...
* .
* Fix jsgen FrameInfo
* Fix jsgen FrameInfo
* .
* Move to PProc
2023-05-23 09:59:21 +02:00
Bung
76a98fee65
fix #21251 Compiler SIGSEGV when using SharedTable ( #21876 )
...
fix #21251
2023-05-23 09:39:44 +02:00
Jason Beetham
28a116a477
Fixed generic parameters failing to be used in inheritance ( #21866 )
2023-05-21 20:10:32 +02:00