Commit Graph

563 Commits

Author SHA1 Message Date
T.J. Eckman
33f0150d25
BUGFIX: Memory Leak in NetscriptPorts (#399)
Co-authored-by: Snarling <84951833+Snarling@users.noreply.github.com>
2023-02-27 19:54:04 -05:00
CJ Bok
5cef60cd21
Fixed the year for v2.2.2 (#398) 2023-02-26 19:20:04 -05:00
quacksouls
f50b731846
Fix doc typo for "Sanitize Parentheses in Expression" contract (#389) 2023-02-24 22:31:10 -05:00
Mughur
ee3b220858
fix typo (#388) 2023-02-24 14:10:57 +02:00
Mughur
6839a456ac
doc function updates and additions (#387) 2023-02-24 13:57:17 +02:00
Snarling
d3f9554a6e
2.2.2 Release (#378) 2023-02-21 09:44:18 -05:00
Snarling
af0ed1dbb0
Fix some inaccuracies
Removed line about bugfix only
Removed line about merging to master branch because that's not how we have it set up at this repo.
2023-02-16 22:22:54 -05:00
Snarling
08e71c732b
Threads are a positive integer (#366)
* Added new positive integer ns validation helper
* `run`, `exec`, and `spawn` verify threads as a positive integer.
* `run` terminal command also fails if the provided threadcount is not a positive integer.
* Removed some references to .script files in various documentation, and removed some of the NS1 example blocks
2023-02-14 01:32:01 -05:00
Mughur
88eb85da00 fix tFormat.rst filename capitalization 2023-02-08 03:47:42 +02:00
Mughur
67fde6167b Fix tutorial getting started link
change tformat.rst file name
2023-02-08 03:46:42 +02:00
Mughur
6590fa1c97 small doc fixes 2023-02-07 16:26:02 +02:00
Mughur
23199ee705 fix previous commit, improve argument page on docs 2023-01-30 21:42:46 +02:00
Mughur
6369ab434b Doc changes 2023-01-30 20:51:00 +02:00
Mughur
9c365d0da5 small fixes 2023-01-24 23:28:53 +02:00
Mughur
54e8875dd0
Merge pull request #310 from Mughur/docupdate
DOC: small doc fixes
2023-01-07 11:08:15 +02:00
Mughur
dc85850435 small doc fixes 2023-01-07 11:03:43 +02:00
Mughur
f47a588419
Merge branch 'dev' into patch-1 2023-01-06 15:31:19 +02:00
Mughur
fd3655a2fa Massive doc update 2023-01-06 14:43:09 +02:00
alex
53018341aa
DOC: add info about netscript ports, fix typo
also changed some code blocks to use the newer code block style with js syntax highlighting https://sphinx-themes.org/sample-sites/sphinx-rtd-theme/kitchen-sink/blocks/#code-block
2023-01-05 23:06:34 -06:00
Snarling
31bf0c43d1 v2.2.1 (#293)
* handle enums differently
* Enums are frozen and fed directly to the proxy
* Enums are not included in the NSFull definition, allowing samekeys for RamCostTree<API>, InternalAPI<API>, and ExternalAPI<API>
* Rewrote a lot of the ramcalc test, with better typing thanks to the samekeys above
* Fix ns1 for proxy (args, pid, and enums after above changes were not being added to ns1 scripts.)
* Fixed an overview issue where the bars could display inaccurately.
Update changelog and bump version to 2.2.1
2023-01-04 09:45:17 -05:00
omuretsu
1670be1573 Changelog updates for latest hotfix 2023-01-03 12:04:47 -05:00
omuretsu
b2ecd82acc Update changelog 2023-01-03 10:25:05 -05:00
omuretsu
77894cd9e5 Update changelog for hotfixes 2023-01-03 02:50:08 -05:00
Snarling
9820f9e24a
changelog formatting fix pt2 2023-01-02 17:20:49 -05:00
Snarling
7a69639e8e
fix changelog formatting 2023-01-02 17:14:41 -05:00
Mughur
1baa615def
MISC: small fixes (#270)
* infiltration gain bug fix
* fix corp division description
* avoid some issues with Infinity at super high NFG levels
Co-authored-by: Daniel Perez Alvarez <danielpza@protonmail.com>
2023-01-02 13:51:59 -05:00
omuretsu
0ec4ef31ab 2.2 2023-01-02 13:20:25 -05:00
Mughur
addcee73fc
Tutorial: Remove NS1 tutorial, change getting started guide to .js (#258) 2022-12-21 17:49:12 -05:00
T.J. Eckman
52034ccedc
NETSCRIPT: Add ns.pid variable for accessing the current script's PID (#255) 2022-12-13 09:07:15 -05:00
Snarling
5ff2cd5357
VERSION: Update game version to 2.2 (#240)
Includes some bug fixes:
* Fix sleeve shock internal/display discrepancy (0-100 vs 0-100)
* Special error message if ns function called without a this
* Change whitespace to pre-wrap for dialog box.
* Fix bug where idle sleeves do not consume cycles but still recover shock from those cycles. Now they do not recover during idle.
* attempted to tag commit as v2.2.0
2022-12-01 16:07:46 -05:00
Snarling
6616f7ba15
DOCS: Update documentation for ns.args (#220) 2022-11-21 12:19:16 -05:00
quacksouls
634611f9db
DOC: Improve CCT documentation for HammingCodes (#167) 2022-10-30 04:24:09 -04:00
quacksouls
279d18d65f
DOC: sleeve: typo fix (#161)
Some typographical fixes in the documentation of sleeves.
2022-10-26 23:30:40 -04:00
quacksouls
e9e9ac1def
DOC: CCT: typo fixes (#145)
Fixes #144.  Some typographical fixes in the description of a Coding Contract.
2022-10-24 08:46:26 -04:00
Olivier Gagnon
af1a1ac58d Rename lots of reference from old to new repo 2022-10-20 03:56:59 +11:00
Olivier Gagnon
7089122b3b more ranbling 2022-10-09 19:55:46 -04:00
Olivier Gagnon
ce649379a2 rambling 2022-10-09 19:53:48 -04:00
hydroflame
a5b2512269
Merge pull request #4205 from Snarling/ramTestFix
TESTS: Refined ram calculation tests
2022-10-09 00:23:04 -04:00
hydroflame
01f6c6cb7a
Update CONTRIBUTING.md 2022-10-04 12:00:07 -04:00
Snarling
361466b7fa unasync trywriteport 2022-10-04 07:59:50 -04:00
bdaoust28
eb07eef7be
Update changelog.rst
Now human readable
2022-09-29 15:07:42 -07:00
Alt
033a3a817e
Add link to the TS template. 2022-09-28 09:51:10 +02:00
Duck McSouls
c90696c967 DOC: how to fork and clone; consistent shell presentation
Add to the contributor's guide various ways to clone and fork the code repository.  These methods are: (1) web browser; (2) GitHub Desktop; and (3) command line.  Be consistent in how shell commands are presented.
2022-09-26 09:51:38 +10:00
Duck McSouls
9428d5e04b DOC: typo fixes in contributor's guide
A bunch of typographical fixes in the guide to contribution.  Ensure the presentation is consistent throughout the guide.
2022-09-26 09:50:31 +10:00
Duck McSouls
31a7aa74eb DOC: full stop for complete sentences
Items in most lists look and feel like complete sentences.  Insert a period for each complete sentence.
2022-09-25 22:03:03 +10:00
Duck McSouls
8d00bc61cf DOC: fix broken URLs
Fix 2 broken URLs in the guide on contribution.  Each link is meant to point to the dev branch of the project because new contributions should be based on that branch.
2022-09-25 15:37:28 +10:00
Olivier Gagnon
c6da513eea allbuild commit a3c92dd0 2022-09-23 15:03:38 -04:00
Olivier Gagnon
a3c92dd04d Wrap up v2.1.0 2022-09-23 15:00:20 -04:00
hydroflame
c396f7fb87
Merge pull request #4064 from quacksouls/dev
DOC: Fix #4033 Why use Coding Contract API
2022-09-23 00:58:59 -03:00
hydroflame
1917e21537
Merge pull request #4080 from njalooo/patch-1
DOCUMENTATION: Fixed Argument order for scp()
2022-09-23 00:47:11 -03:00