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
Andreas Rumpf
a9385a6b4a
Atlas: virtual environments ( #21965 )
...
* Atlas: virtual environments
* fixes
2023-05-30 18:02:55 +02:00
Andreas Rumpf
4d20227438
Atlas: URL rewrite rules; --autoinit flag ( #21963 )
2023-05-30 14:00:09 +02:00
heterodoxic
546af8c571
simple micro-optimizations of ropes' runtime-formatting ( #21962 )
2023-05-30 13:41:56 +02:00
ringabout
40f88da90b
alternative to #21914 ; split, rsplit now forbid an empty separator ( #21961 )
2023-05-30 13:40:09 +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
Mamy Ratsimbazafy
171b916613
Add anti-regression for #21958 ( #21960 )
...
Add anti-regression test to close #21958
2023-05-30 10:46:24 +08:00
Andreas Rumpf
244565397d
fixes #21734 ; backport ( #21957 )
2023-05-29 21:31:53 +02:00
Federico Ceratto
ef060e8184
Suggest files and paths modules ( #21950 )
2023-05-29 17:51:31 +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
Simon Krauter
8c55e2999b
Fix documentation typo in endians.nim ( #21949 )
2023-05-28 19:40:37 +02:00
Andreas Rumpf
7ebb042f79
Atlas: some final cleanups ( #21947 )
2023-05-28 18:18:30 +02:00
ringabout
5997324709
fixes atlas logging colors on windows ( #21946 )
...
fixes atlas logging colors
2023-05-28 08:58:23 +02:00
Gruruya
9cb0fcf319
Atlas: checkout latest tagged commit with atlas use ( #21944 )
...
Now any deps with unspecified version reqs will checkout the last
tagged commit instead of the first commit.
2023-05-28 08:57:29 +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
Andreas Rumpf
2900987c2f
Atlas: use colored output ( #21939 )
...
* Atlas: use colored output
* fixes merge conflict
* another tiny improvement
2023-05-28 05:54:32 +02:00
Juan Carlos
b96c501836
Refactor pragma inline ( #21930 )
...
* Add __force_inline support
2023-05-27 20:52:08 +02:00
Gruruya
d5ba14db61
Atlas: add atlas tag command ( #21936 )
...
* Initial structure, `GitTags` → `GitRefsTags`
* Determine if we should use v prefix
* get tag from latest tag, patch nimble file
* Just do tags for now
* atlas tag now tags and pushes
* Improve UX of `atlas tag`
* better description for `tag`
* Small fixup
* Consistent naming
* strip after checking status
* Take major/minor/patch as arg for `atlas tag`
* undo testing comment
* Fix for `v` prefixed versions
* Avoid useless assignment
* Remove uselss enum assignment
* Consistent parameter seperation
* Add error handling for non-semver tags
* Use `assert` to quit on error
* Update tools/atlas/atlas.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
* Don't push tags if errors occurred
* Allow `atlas tag [tag]` again
* Add atlas tag `a..z` for fields > 3
* Document the three input options
* Take up less lines in help
* Less or in help
* One last doc pass
* Check args length
* clarify last tag
* consistency/order
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-05-27 20:49:19 +02:00
metagn
2dcc7195da
support generic void return type for templates ( #21934 )
...
fixes #21920
2023-05-27 20:09:34 +02:00
Andreas Rumpf
ef3c0bec1c
Atlas: explicit graph representation ( #21937 )
2023-05-27 16:48:10 +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
Andreas Rumpf
73095e2abb
Atlas: fixes 'use' command ( #21932 )
...
* Atlas: fixes 'use' command
* Atlas: refactoring + make tests green again
2023-05-27 13:53:07 +02:00
Gruruya
6048367a9f
Atlas: clone with --recursive ( #21933 )
2023-05-27 10:55:31 +02:00
Juan Carlos
b0e1bc02c6
Remove unused dead code ( #21931 )
...
* .
* Remove dead code
2023-05-27 10:24:32 +02:00
Juan Carlos
38fdf13982
Clean nimbase ( #21927 )
...
* .
* Clean out nimbase.h
* Clean out nimbase.h
2023-05-27 07:44:15 +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
Gruruya
09f36f5198
atlas: search improvements ( #21929 )
...
* Get description and license from github json response
* Allow running `atlas search` outside of a workspace
* Check `len` instead of `dirExists`
* make `list` identical to `search`
2023-05-27 06:54:21 +02:00
Andreas Rumpf
2beea72810
atlas: better code ( #21926 )
2023-05-26 21:24:29 +02:00
metagn
1aaff9dc48
fix & add test for basic hot code reloading case ( #21915 )
...
fixes #21885
2023-05-26 17:07:37 +02:00
Zoom
656706026b
JS: Add some to-cstring converters for DateTime ( #21912 )
...
Add some to-cstring converters for DateTime
Changelog update
2023-05-26 16:40:53 +02:00
Juan Carlos
f2d26f2973
Fix Nimgrab ( #21918 )
...
* .
* Fix nimgrab client not closing
* Fix nimgrab client not closing
* Fix nimgrab client not closing
2023-05-26 14:37:59 +02:00
SirOlaf
b50babd0ae
Atlas: Actually use deps for use command ( #21922 )
...
Co-authored-by: SirOlaf <>
2023-05-26 14:36:20 +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
Andreas Rumpf
908e971732
Atlas: misc ( #21919 )
...
* Atlas: misc
* Atlas: use the lockfile if one exists
2023-05-26 09:24:01 +02:00
heterodoxic
609bf3d7c8
fix #21501 by making --app:lib and --app:staticLib imply --noMain ( #21910 )
2023-05-26 03:20:56 +02:00
Andreas Rumpf
0eb508e434
atlas: better docs ( #21911 )
...
* atlas: better docs
* better workspace/project handling
* make tests green again
* bugfix
2023-05-25 22:23:07 +02:00
Jake Leahy
a8718d8a9e
Fix const in async regression ( #21898 )
...
* Add test case for a const being used inside an async proc
* Use `typeof` to get the type of the block instead of overloaded templates
This removes the problem with the symbol having different types
I am unsure why I didn't use this in the first place. IIRC I had problems with `typeof` when I first tried to use it in the original implementation
2023-05-25 07:08:36 +02:00
Juan Carlos
b7925bf5c9
Remove GC ( #21904 )
...
* .
* Remove GC v2
2023-05-25 07:06:31 +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
Juan Carlos
cb3f6fdc66
Improve times ( #21901 )
...
* .
* Improve times
2023-05-24 17:55:48 +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
Andreas Rumpf
b63b5c930e
Atlas: added 'use' command ( #21902 )
...
* Atlas: added 'use' command
* typo
2023-05-24 16:39:58 +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
Andreas Rumpf
9493e67291
Atlas: first lockfiles implementation; cleared up upated vs updateWor… ( #21895 )
...
Atlas: first lockfiles implementation; cleared up upated vs updateWorkspace commands
2023-05-23 23:48:00 +02:00
Juan M Gómez
bdccc9fef9
small refactor in preparation to fix #21889 ( #21892 )
2023-05-23 20:10:24 +02:00
Andreas Rumpf
1252070193
minor atlas improvements ( #21888 )
...
* minor atlas improvements
* atlas: support a _deps workspace subdirectory
2023-05-23 13:47:51 +02:00