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
Juan M Gómez
a7682325a2
fixes typos in the constructor docs ( #22035 )
...
* fixes typos in the constructor docs
* updates constructor docs
* Update doc/manual_experimental.md
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-06-09 09:55:24 +02:00
Antonis Geralis
750a33cbf1
Fix indentation in destructors.md ( #22048 )
2023-06-08 14:07:40 +02:00
Raynei
ba4fb21032
fixes #19086 : Document exception and defect hierarchy ( #22030 )
...
* Documented exception and defect hierarchy (#19086 )
* Fixed style
2023-06-08 06:55:17 +02:00
Juan M Gómez
134b1890d5
documents constructor ( #22013 )
...
* documents constructor
* Apply suggestions from code review
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-06-06 21:22:32 +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
ringabout
8cc49f221e
update the documentation of the dup hook ( #21984 )
...
* update the documentation of the dup hook
* document `=dup`
* typo
* minor improvement
* typo
* Update doc/destructors.md
* Update doc/destructors.md
* Update doc/destructors.md
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-06-03 07:09:05 +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
Andreas Rumpf
7ebb042f79
Atlas: some final cleanups ( #21947 )
2023-05-28 18:18:30 +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
heterodoxic
609bf3d7c8
fix #21501 by making --app:lib and --app:staticLib imply --noMain ( #21910 )
2023-05-26 03:20:56 +02:00
Juan M Gómez
ee3650b29e
documents changes on byref and bycopy ( #21882 )
2023-05-22 17:39:54 +02:00
Juan M Gómez
fcf2dcf099
Moves virtual under its own section manual_experimental.md ( #21870 )
2023-05-20 23:52:21 +02:00
Juan M Gómez
21ff10b882
documents virtual ( #21860 )
...
* documents virtual
* Apply suggestions from code review
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-05-19 21:23:29 +02:00
Andreas Rumpf
f4a9b258c3
isolation spec update; WIP ( #21843 )
...
* isolation spec update; WIP
* wip
* docs update, WIP
* progress
* Update doc/manual.md
2023-05-14 16:58:28 +02:00
ringabout
3b9999b93c
adds documentation for =wasMoved and =dup hooks and small fixes ( #21827 )
...
* adds documentation for `=wasMoved` and `=dup` hooks and small fixes
* Update doc/destructors.md
* Update doc/destructors.md
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-05-11 19:38:27 +08:00
Juan Carlos
3a08e2e6ac
Remove LineTooLong ( #21819 )
...
* LineTooLong refactor to make it actually useful
* Improve error message
* changelog wording
* Fix typo
2023-05-11 10:10:51 +02:00
ringabout
71439c2891
fixes links of generic define pragma ( #21828 )
2023-05-11 15:00:30 +08:00
Juan M Gómez
e45eb39ef7
documents codegendecl for object types ( #21811 )
2023-05-08 17:04:27 +02:00
Tomohiro
10328e50a5
Document about size pragma ( #21794 )
...
* Document about size pragma
* Fix typos
* Fix manual.md
* Update doc/manual.md
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-05-06 12:03:45 +02:00
Daniel Belmes
85dbfc68b5
Update the Nim Manual compile pragma with the second tuple form ( #21773 )
...
* Update the nim manual compile pragma with the second tuple form of
* Incorrectly put 'two' forms
2023-05-05 14:27:33 +02:00
ringabout
1d80dc7df6
closes #21771 ; fixes the link ( #21777 )
...
closes #21771
2023-05-03 18:54:40 +08:00
Andreas Rumpf
220b450489
fixes #21245 ; warn about destructors that can raise ( #21726 )
...
* fixes #21245 ; warn about destructors that can raise
* doc update
* progress
* typo
2023-04-26 22:32:10 +02:00
Juan M Gómez
897dff69dd
documents #21628 ( #21723 )
...
* documents #21628
* Update doc/manual.md
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-04-24 18:09:07 +02:00
metagn
63d29ddd69
alias syntax fixes, improvements and tests ( #21671 )
...
* alias syntax fixes, improvements and tests
* even better, cannot use alias syntax with generics
* more type tests, improve comment
* fix again
* consistent error message + make t5167_5 work
* more comments, remove {.noalias.}
2023-04-22 09:11:56 +02:00
Raynei
48de0d0cf4
Documented path substitution by compiler ( #21662 )
...
Document compiler path substitution (nim-lang#19928)
2023-04-21 15:37:21 +02:00
metagn
b0a98cc01e
warn on set types bigger than max size, default to 0..255 for int literals ( #21659 )
...
* test implicitly huge set types
refs https://github.com/nim-lang/RFCs/issues/298
* oh my god
* boot at least
* don't error, fix remaining issues, no 2 len arrays
* fix runnable example
* test assuming 0..255 for int literal
* test refactor, add changelog, test
2023-04-17 20:55:22 +02:00
Andrey Makarov
a0da74ed4c
Update nim 2.0 documentation for docgen & nimgrep ( #21665 )
...
* Update nim 2.0 documentation for docgen & nimgrep
* [skip ci] Update changelogs/changelog_2_0_0.md
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
* [skip ci] expand section on Markdown migration and `doctype`
---------
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2023-04-17 10:57:51 +02:00
metagn
2a0d8a9a06
make grammar a bit more honest ( #21655 )
...
* test if expr parsing expr
refs #19802
* in any case
* just be honest
* fix symbol/keyword issue too
2023-04-14 12:34:49 +02:00
metagn
f05387045d
int64/uint64 as bigint in JS ( #21613 )
...
* int64/uint64 as bigint in JS
* fix CI
* convert to compile option
* fix lie
* smaller diff, changelog entry
2023-04-11 21:20:20 +02:00
metagn
1bb117cd7a
proc typeclass accounts for iterator, call conventions + nil fix + document typeclass AST (#21629 )
...
* test fix #16546 #16548 + another issue
* please don't tell me other packages do this
* fix CI + test typeclass callconv pragma
* better logic in parser
* docs and changelog
2023-04-11 09:23:41 +02:00
metagn
16bc546aea
remove useVersion ( #21626 )
...
test removing useVersion
2023-04-08 11:42:17 +02:00
metagn
4898b054ce
warn against a, b = val in routine arguments ( #21604 )
...
closes https://github.com/nim-lang/RFCs/issues/480
2023-04-06 13:21:48 +02:00
Yardanico
b865f6a5f0
Remove the "This module" suffix and reword some entries from the stdlib overview ( #21580 )
...
Remove a lot of "This module x" and reword some entries
2023-03-30 15:35:17 +02:00
metagn
ecf9efa397
document general use of _, error message, fixes ( #21584 )
...
* document general use of `_`, error message, fixes
fixes #20687 , fixes #21435
Documentation and changelog updated to clarify new universal behavior
of `_`. Also new error message for attempting to use `_`, new tests,
and fixes with overloadable symbols and
implicit generics.
* add test for #21435
2023-03-30 15:34:42 +02:00
metagn
2315b01ae6
tuple unpacking for vars as just sugar, allowing nesting ( #21563 )
...
* tuple unpacking for vars as just sugar, allowing nesting
* set temp symbol AST
* hopeful fix some issues, add test for #19364
* always use temp for consts
* document, fix small issue
* fix manual indentation
* actually fix manual
* use helper proc
* don't resem temp tuple assignment
2023-03-28 17:52:23 +02:00
Zoom
4fc9f0c3a3
Docs: Mention Source Code Filters in lib/String handling ( #21570 )
...
Mention Source Code Filters in `String handling`
...as a viable solution for templating
2023-03-28 13:37:49 +02:00
ringabout
274d61865f
closes #21536 ; fixes manual ( #21552 )
...
fixes manual
2023-03-20 22:42:57 +01:00
Hiroki Noda
c43ac90390
Add NuttX for thread stack size doc ( #21529 )
2023-03-16 18:03:43 +08:00
ringabout
af086b68f2
fixes sinkinference documentation, which has been disabled ( #21470 )
...
since https://github.com/nim-lang/Nim/pull/15105
2023-03-12 13:01:12 +08:00
Arnaud Moura
b2c5f8a05f
fixes #21461 ( #21463 )
...
* fixes #21461 ; Move nim-gdb.py and add nim-lldb.py
* fixes bad path for nim-gdb.py
2023-03-03 23:37:12 +01:00
ringabout
d51a392149
replaces implicit passes array registed at runtime with explicit function calls; simplify compilation pipeline ( #21444 )
...
* abolish using passes in the compiler; simplify compilation pipeline
* duplicate code
* Really cool to have the same signature...
* haul
* unify other backends
* refactor process
* introduce PipelinePhase
* refactor compiler
* fixes passes
* fixes nimsuggest
* add a sentinel
* enable docs checkj
* activate doc testing
* clean up
* complete cleanups
2023-03-03 07:36:38 +01:00
ringabout
a137e50150
fixes #19291 ; implements wasMoved hook ( #21303 )
...
* fixes #19291 ; implements `wasMoved` hook
* basics
* checkpoint
* finish `wasMoved`
* add a test for #19291
* add documentation and changelog
* work `attachedWasMoved` with generics
* fixes optimizer
* register `=wasMoved`
* handle wasMoved magcis
* check another round
* some patches
* try `op == nil`
* nicer
* generate `wasMoved` before `destroy`
* try again
* fixes tests
* default wasMoved
* Update tests/destructor/tv2_cast.nim
* Update tests/destructor/tv2_cast.nim
* Update tests/arc/topt_refcursors.nim
2023-03-02 05:29:40 +01:00
Francis Thérien
7dc80a7fef
Mitigate issues related to compiler options when cross-compiling ( #21330 )
...
* Document C compiler options config when cross-compiling
* Allow empty string to override default
2023-02-22 21:10:02 +01:00
Benji York
64a788cafb
Fix a couple of small keyword issues. ( #21416 )
...
In this section of the manual, "if" should be enclosed in backticks and "elif" should be lower case.
2023-02-22 12:12:10 +01:00
Gabriel Huber
6c15958a83
Change the default stdlib location for Linux packaging ( #21328 )
...
* Correctly evaluate the Nim prefix on Posix
* Document new packaging layout
2023-02-12 16:41:27 +01:00
Ikko Eltociear Ashimine
9f651f05d5
nimgrep: fix typo ( #21337 )
...
occurences -> occurrences
2023-02-07 16:15:44 +08:00
ringabout
ff8ab06720
fixes #19396 ; Nimdoc hide nonexported fields ( #21305 )
...
* suppresses non-exported fields of types and adds command-line option to re-enable this if desired
* corrected the doctest that produced a CI error
* an embarrassingly bad error in reasoning
* modified a nimdoc test to reflect updated behavior
* needed another change to bring utils.html doctest in sync with update
* add info
* fix nimdoc
* lint
* render postfix
* fixes a problem
* fixes nimdoc
* fix nimdoc
---------
Co-authored-by: johnperry-math <john.perry@usm.edu >
Co-authored-by: johnperry-math <devotus@yahoo.com >
2023-02-01 08:13:40 +01:00