Commit Graph

415 Commits

Author SHA1 Message Date
hydroflame f621dd4a14 Merge branch 'dev' into documentation-updates 2022-01-15 17:47:17 -05:00
Buck Mayzes 71fa6dd2fd Fix constants() function typing for hacknet nodes/servers 2022-01-15 17:03:17 -05:00
Cyn 78fa85a24e Add function signature for scp(files, destination) 2022-01-15 16:28:58 -05:00
hydroflame ba2e2e191c Merge pull request #2623 from MartinFournier/fix/editor-asterisk
Ignore trailing whitespace for dirty file asterisk
2022-01-14 13:48:35 -05:00
Martin Fournier aec2763b27 Ignore trailing whitespace for dirty file asterisk
Saved scripts is stored on servers with its starting & trailing whitespace removed, so
comparison would fail and show the file as dirty when there was a
trailing newline in the script.
2022-01-14 05:34:33 -05:00
Olivier Gagnon 5126d72742 rm some stuff from netdef to make it work in-game 2022-01-13 14:26:05 -05:00
hydroflame ea2f2bd92b Merge pull request #2592 from nickofolas/fix/empty-editor-formatting
Fix formatting for empty editor splash
2022-01-13 11:34:36 -05:00
hydroflame d274e21a10 Merge pull request #2596 from MartinFournier/feature/ns-ui-styles
Add ns.ui.[getStyles, setStyles, resetStyles]
2022-01-12 19:18:54 -05:00
Martin Fournier 9b638b911f Add ns.ui.[getStyles, setStyles, resetStyles]
Adds three Netscript functions to manipulate the user's styles like the
player can with theme.
2022-01-12 18:34:05 -05:00
nickofolas e7983552dc Fix formatting for empty editor splash 2022-01-12 12:15:03 -06:00
nickofolas 415f922a37 Add focus arg to Singularity functions 2022-01-12 12:03:49 -06:00
Jeffrey A. Robinson bedea0ac73 Add support for the mv command in NS 2022-01-12 09:53:54 -08:00
Andriy Mykhaylyk d2ea934c8e change defs 2022-01-12 13:51:21 +01:00
daan flore 66fbec5365 Cleanup of code 2022-01-10 22:33:50 +01:00
daan flore 51edac414e Adding IPort interface and correcting return value of getPortHandle in NetscriptDefinitions file 2022-01-10 22:31:30 +01:00
Russell Stringer a16fad7f01 Add documentation about using PID for some ns functions
Fixes #2219
2022-01-10 16:23:06 -05:00
Russell Stringer 3276cf3c32 Add documentation for NetscriptPort to NetscriptDefinitions 2022-01-10 16:23:06 -05:00
Russell Stringer 26ae4345cf Try to clear up confusing documentation for TIX.getOrders()
api-documenter won't generate property lists for [key: string]: type
interfaces, so I tried to put explanations and @links in the appropriate
remarks sections.

Since the list of stock symbols is known, this could also be fixed by
setting each symbol as an optional property of the StockOrder interface

Fixes #2269
2022-01-10 16:23:06 -05:00
Russell Stringer 2989306ac8 Add (in GB) note to params/return values documentation where missing
fixes #2403
2022-01-10 16:23:06 -05:00
Russell Stringer cfa1b9e236 adds missing bitnode mults to definitions file
fixes #2424
2022-01-10 16:23:06 -05:00
zeddrak 02e9ae6e8e Commit Crime Returns updated
Updated the text for the return value of commitCrime to match the description (and not the create programs hold-over)
2022-01-10 02:58:16 -08:00
Olivier Gagnon d8a5f5b03c many fixes 2022-01-09 15:24:32 -05:00
nickofolas 357258261a Use codeblocks for null 2022-01-08 14:59:28 -06:00
nickofolas a971921417 Document null duration for toasts 2022-01-08 14:56:29 -06:00
hydroflame 7633f271db Merge pull request #2265 from TheMas3212/fix-2119
Fix 2119
2022-01-08 13:56:05 -05:00
hydroflame ff15d2d730 Merge pull request #2451 from neuralsim/fixSyntaxHighlighting
fixed syntax highlighting (don't highlight partial tokens/keywords)
2022-01-08 13:30:35 -05:00
Olivier Gagnon fb90e21a31 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-01-08 13:19:44 -05:00
Olivier Gagnon 5a1cabdb34 typo 2022-01-08 13:19:35 -05:00
Christopher ad0b73aaee fixed syntax highlighting (don't highlight partial tokens/keywords) 2022-01-07 19:19:03 -06:00
Jens ede37767ac Doc formatting updates & fixing a few spelling errors. 2022-01-06 20:52:15 -08:00
hydroflame c722ff5982 Merge pull request #2373 from MartinFournier/feature/mem-verbose
Add detailed ram cost to mem command
2022-01-06 11:25:41 -05:00
tigercat2000 6e96428643 Update print and tprint signatures to match code
In https://github.com/danielyxie/bitburner/pull/1380, print() and
tprint() were both changed to allow for variadic arguments, but this
wasn't documented in NetscriptDefinitions.d.ts.
2022-01-06 04:13:36 -08:00
Martin Fournier 4b06bdd89c Add detailed ram cost to mem command 2022-01-05 16:41:48 -05:00
Martin Fournier c9ca1e9d37 Add ns.ui.setTheme() and ns.ui.resetTheme() 2022-01-04 20:33:18 -05:00
Olivier Gagnon 4860d6dc83 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-01-04 19:09:38 -05:00
Olivier Gagnon c59a267437 change sf4 2022-01-04 19:09:34 -05:00
Woody Lam d7cd5b0d96 Fix #2230 typo (again) 2022-01-04 22:40:41 +00:00
hydroflame 0d02ce6308 Merge pull request #2326 from MartinFournier/feature/editor-wordwrap-option
Add wordWrap option to Monaco
2022-01-04 12:54:50 -05:00
Martin Fournier f0161367af Add wordWrap option to Monaco 2022-01-04 09:41:44 -05:00
Dexalt142 914b06ec88 feat (editor theme): atom one dark theme 2022-01-04 18:39:09 +07:00
Olivier Gagnon dfae337d26 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2022-01-03 15:49:05 -05:00
hydroflame 69ed320b93 Merge pull request #2287 from daanflore/dev
Saw in vscode that some typedefenitions where not the same as how they work in the game
2022-01-03 15:44:08 -05:00
hydroflame 8e0b5e3ecd Merge pull request #2288 from pan-kuleczka/dev
ns.hackAnalyze definition fix to match markdown
2022-01-03 15:43:48 -05:00
Andriy Mykhaylyk 38923af436 fix ns.run args type definition 2022-01-03 16:10:22 +01:00
daan flore 8c851b577a Adding correct types at run args command 2022-01-02 20:40:57 +01:00
daan flore 74ee7f371d String value should also be possible to write 2022-01-02 19:24:16 +01:00
pan-kuleczka 62c19c9078 hackAnalyze definition fix to match markdown 2022-01-02 18:56:52 +01:00
daan flore f8607ce73e Adding dorgotten typescript defenitions to file 2022-01-02 18:54:11 +01:00
Olivier Gagnon 1e0e9f7bd7 change button text 2022-01-02 11:55:06 -05:00
hydroflame a1ec54ff90 Merge pull request #2241 from billyvg/fix/vim-save
fix(editor): Fix vim mode quit and add `wq`
2022-01-02 11:40:40 -05:00