phyzical
6b48ff8f21
merge base
2022-04-13 18:50:42 +08:00
Olivier Gagnon
eaf0098cc7
move singularity to its own namespace but still support the old.
2022-04-12 20:55:28 -04:00
Olivier Gagnon
48f80f25d6
fmt and lint
2022-04-06 19:30:08 -04:00
phyzical
07c6051004
merge dev
2022-03-30 19:00:57 +08:00
nickofolas
3b32811f5e
Grafting API RAM cost & doc update
2022-03-27 15:33:31 -04:00
phyzical
7c5097ee83
added ns functions
...
* refactored out logic to be reused by api
2022-03-27 15:53:13 +08:00
BB
9c9550ad42
Removed unreachable code
2022-03-20 19:33:10 +01:00
BB
2c3e0985c4
Simplified some relative imports
2022-03-06 05:05:55 +01:00
Olivier Gagnon
77f525c98c
rm blob caching
2022-01-20 16:11:48 -05:00
hydroflame
27a54217eb
Merge pull request #2653 from nickofolas/fix/refactor-loops
...
Refactor `for ... in` loops
2022-01-17 16:01:04 -05:00
hydroflame
8df950721c
Merge pull request #2657 from theit8514/grandparent-script-cache
...
Remove dependents from cache when dependency updated
2022-01-17 15:56:06 -05:00
theit8514
31ebdbb139
Handle 'export default' in static RAM calculation
2022-01-17 13:16:03 -05:00
theit8514
423efe19e1
Remove dependents from cache when dependency updated
2022-01-17 12:02:00 -05:00
nickofolas
ab841f7530
Refactor for ... in
loops
2022-01-15 18:45:03 -06:00
Jeffrey A. Robinson
5f864c123b
When saving we were not saving the script content
2022-01-14 19:01:11 -08: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
Martin Fournier
4b06bdd89c
Add detailed ram cost to mem command
2022-01-05 16:41:48 -05:00
Olivier Gagnon
c59a267437
change sf4
2022-01-04 19:09:34 -05:00
hydroflame
5c5cc9708d
Merge pull request #2172 from theit8514/script-caching
...
Cache the blobs generated by scripts
2021-12-29 11:53:30 -05:00
Olivier Gagnon
0fc95e6215
text editor improvements
2021-12-29 02:04:24 -05:00
theit8514
8f77f720e6
Cache the blobs generated by scripts
2021-12-23 23:06:01 -05:00
Olivier Gagnon
ed86577d6c
imports are more flexible
2021-12-23 15:57:32 -05:00
Martin Fournier
65d0877edc
Add ns.ui.getTheme() api function
2021-12-20 14:37:10 -05:00
Dan
b2add6c26b
fix(commands): error feedback, wording consistency
...
Found most (hopefully all) places where the error message wording
incorrectly was shown to the tune of 'no script exists', where it should
have been showing to the effect of 'script is not running'.
Also cleaned up some of the consistency in the wording and added a
'helper' export for knowing valid script extensions used in validation
of 'isScriptFilename', so we can have consistent error messaging.
Resolves danielyxie/bitburner#1966
2021-12-19 03:10:43 +00:00
Olivier Gagnon
737276e855
corp api
2021-12-03 23:06:04 -05:00
Olivier Gagnon
d4ebc46a19
merge dev
2021-12-03 15:35:45 -05:00
Olivier Gagnon
13b08d7cc8
terminal parses boolean exactly.
2021-12-03 14:44:32 -05:00
Alain Bryden
ef23033b2c
#1773 - Fix duplicate file extensions
...
For some time now, filenames have included the extension, so there's no need to append ".js" either on a single-file download or zip download.
While I was in the area, I also fixed .txt files in a folder - they had the same bug as scripts used to (appear in the zip as an underscore). I consolidated the code since it was the same for script files and text files.
I also added the ability to download *.js and *.ns (previously only supported *, *.script, and *.txt)
I also made the wildcard matching just a bit more flexible, so if someone really wanted to, they could go "download *blah.js" and get all scripts ending with that pattern ¯\_(ツ)_/¯
2021-11-25 23:06:13 -04:00
Olivier Gagnon
56ddcd9a45
more work on bn13
2021-11-13 22:44:17 -05:00
Olivier Gagnon
3f28b066b0
working on timestamps and make netscript function highlight more specific.
2021-11-11 10:07:16 -05:00
Olivier Gagnon
d99d3fc222
dont run inf loop check on ns1 scripts
2021-10-29 01:23:15 -04:00
Olivier Gagnon
d1d0ccf345
added possible infinite loop checker
2021-10-28 23:04:26 -04:00
Olivier Gagnon
a7632aed29
fix static ram miscalc for stock market
2021-10-27 17:35:02 -04:00
Olivier Gagnon
49d807c9a9
fix static ram calc
2021-10-27 16:17:02 -04:00
Olivier Gagnon
eb846c1318
merge dev
2021-10-14 02:12:15 -04:00
Olivier Gagnon
6543e73f6f
Fix blade corp gang equal 0
2021-10-12 19:23:36 -04:00
Olivier Gagnon
87c63cde59
merge v0.56.0
2021-10-12 01:35:30 -04:00
Olivier Gagnon
8e4722c5e7
write can be awaited in order to wait for the ram calculation to go through
2021-10-08 14:05:47 -04:00
Olivier Gagnon
8d7f0488f8
merge dev
2021-10-07 17:58:32 -04:00
Olivier Gagnon
7d0536a4d2
finish convert to hostname
2021-10-07 17:55:49 -04:00
Olivier Gagnon
a7dfb1a537
more convertion from ip to hostname
2021-10-07 16:56:01 -04:00
Olivier Gagnon
be29481689
unexport AllServers
2021-10-07 16:04:04 -04:00
Olivier Gagnon
c5e29dafc4
fix mc
2021-10-04 22:31:07 -04:00
Olivier Gagnon
c47a5bc8cc
added grow, weaken, and time compression
2021-10-04 19:58:34 -04:00
Olivier Gagnon
793d9b34ce
update BN13 for new UI
2021-09-25 17:21:50 -04:00
Olivier Gagnon
06f716c0fa
moved a bunch of files
2021-09-25 14:42:57 -04:00
Olivier Gagnon
b0f20c8c8f
lint
2021-09-25 01:26:03 -04:00
Olivier Gagnon
5c6c472b64
Augmentations in mui
2021-09-25 01:06:17 -04:00
Olivier Gagnon
ad75fa5ebc
convert to ts
2021-09-24 18:13:20 -04:00
Olivier Gagnon
2e05f14c0d
convert to ts
2021-09-24 16:34:21 -04:00