Commit Graph

4356 Commits

Author SHA1 Message Date
Robin Rexstedt
87d8f67df1 make nFormat return a string 2021-12-18 13:12:23 +01:00
BuildTools
2265f797c4 Added the ability to open multiple script files at a time
Fixed a bug where ram would stay the same when switching between scripts

Fixed bug where updating ram could cause the GUI to crash

The editor will now go to the last edited line when switching tabs.

Tidied up the script editor UI
2021-12-18 04:10:25 -06:00
Jared Jolton
5e5e2c60aa
Fix typo in AutolinkProgram description 2021-12-17 21:58:05 -07:00
Nicholas Colclasure
8ba5199e54 Fix problems finding root files in cat and ns.read
Cat ends up translating the path it receives from relative to absolute twice, which I fix by changing the filename to an absolute path before it's passed to getTextFile with a leading "/" so that it doesn't interpret the filename as being relative.

Read I fixed by causing getTextFile to remove the leading "/" from files that are in the root directory, since that is required to translate their name into the native "filesystem"s format.
2021-12-17 20:40:46 -08:00
Adraxas
069d76df25 Fix NS.exec signature 2021-12-17 18:40:00 -08:00
Xynrati
160682f25a
Incorrect threadcount for n00dles 2021-12-17 18:12:46 -08:00
Olivier Gagnon
eb002d655a Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-17 16:34:14 -05:00
Olivier Gagnon
5bb304caff rm console log 2021-12-17 16:33:55 -05:00
hydroflame
504a8a4be5
Merge pull request #1971 from MartinFournier/feature/hashes-upgrades
Fix #1863: Add getHashUpgrades hacknet function
2021-12-17 15:50:46 -05:00
hydroflame
ecc650576e
Merge pull request #1967 from 2PacIsAlive/patch-1
Fix typo in sleeves.rst
2021-12-17 12:57:57 -05:00
Billy Vong
b3f9380ebd prettier 2021-12-17 12:56:48 -05:00
hydroflame
2b5cc03e79
Merge pull request #1968 from MageKing17/patch-1
Quickly fix silly typo mentioned on Discord.
2021-12-17 12:55:58 -05:00
hydroflame
b122cebc98
Merge pull request #1972 from MartinFournier/feature/electron-background-color
Fix #1902: Set default electron color to black
2021-12-17 12:55:32 -05:00
hydroflame
5b79712817
Merge pull request #1985 from billyvg/fix/prevent-ctrl-alt-j-navigation
Prevent `ctrl+alt+j` from navigating to Jobs
2021-12-17 12:55:08 -05:00
Billy Vong
6fb5565b08 remove unused code 2021-12-17 12:48:50 -05:00
hydroflame
3e4e26ac8c
Merge pull request #1981 from MartinFournier/fix/theme-popup-deferred
Fix #1974: Change default input to deferred
2021-12-17 12:46:33 -05:00
hydroflame
b7011407fd
Merge pull request #1980 from MartinFournier/feature/editorconfig
Set default editorconfig to indent_size=2
2021-12-17 12:46:08 -05:00
Martin Fournier
84c77c1d2c Fix #1889: Add skill progress to overview
Adds a progress bar for each stat to show how close to level up you are.
2021-12-17 12:44:18 -05:00
Billy Vong
f4ea1ae970 Merge branch 'dev' into fix/prevent-ctrl-alt-j-navigation 2021-12-17 12:39:57 -05:00
Billy Vong
cdd85c09e1 Merge branch 'dev' into feat/add-vim-mode 2021-12-17 12:38:16 -05:00
Billy Vong
659211e1ff Prevent ctrl+alt+j from navigating to Jobs
This is a browser hot key to open the Chrome Developer Tools.
2021-12-17 12:35:47 -05:00
Billy Vong
fb5d374279 feat: Add vim mode to script editor
This adds an option to turn on vim mode using the `monaco-vim` library.
2021-12-17 12:34:00 -05:00
hydroflame
c6843b231a Merge pull request #1962 from MartinFournier/feature/exit-process
Attempt to fix processes that stay up after closing app
2021-12-17 12:13:50 -05:00
hydroflame
196086cc13
Merge branch 'dev' into feature/exit-process 2021-12-17 11:49:58 -05:00
Olivier Gagnon
36fd3c5d68 try kill again 2021-12-17 11:38:00 -05:00
Guillermo Robles
b14432329a Add support for ALL argument in enableLog function
- Fixes: #1928
2021-12-17 17:33:33 +01:00
Martin Fournier
da0cc6d8f1 Fix #1974: Change default input to deferred
The value does not change automatically now, there's a "Set" button in
the popup to trigger the onColorChange event.
2021-12-17 11:00:00 -05:00
Martin Fournier
c59806c87d Set default editorconfig to indent_size=2
Prettier already formats the code like that, so it causes a mismatch for
devs using editorconfig as well.
2021-12-17 09:54:32 -05:00
Martin Fournier
6d94ee0c2c Fix #1902: Set default electron color to black
If loading of the index.html is slow, there should be no white
background anymore.
2021-12-17 05:52:31 -05:00
Martin Fournier
217b94d0a0 Fix #1863: Add getHashUpgrades hacknet function
Adds a new functions ofr hacknet servers that returns the list of
available hash upgrades.
2021-12-17 05:35:17 -05:00
MageKing17
e8b4d15078
Update TutorialRoot.tsx
Correct "NS1 vs NS1" typo.
2021-12-17 00:35:23 -08:00
Jared Jolton
c4bd6d8e11
Fix typo in sleeves.rst 2021-12-17 00:09:52 -07:00
Olivier Gagnon
6c5842d2e7 noscripts backup 2021-12-17 01:33:35 -05:00
Olivier Gagnon
b0929e3cff only exit?2 2021-12-16 23:29:52 -05:00
Olivier Gagnon
795df0ed69 only exit? 2021-12-16 23:13:05 -05:00
Olivier Gagnon
ae6f8c5ee7 make tutorial better 2021-12-16 20:54:50 -05:00
Martin Fournier
63f7775804 Remove process handler when doing a hard reload 2021-12-16 20:21:25 -05:00
Olivier Gagnon
81e291ef6a change color of terminal input 2021-12-16 20:20:07 -05:00
Olivier Gagnon
aafc311759 bug 2021-12-16 20:09:51 -05:00
Olivier Gagnon
99f3566e52 bugfix 2021-12-16 20:09:19 -05:00
Olivier Gagnon
9e86131625 bugfix 2021-12-16 20:07:34 -05:00
Martin Fournier
dc21a5b87b Attempt to fix processes that stay up after closing app 2021-12-16 18:26:20 -05:00
Billy Vong
9b64551197 Merge branch 'dev' into feat/add-ctrl-u-clear-line 2021-12-16 17:07:39 -05:00
Billy Vong
2e9a42d74c add comment 2021-12-16 17:03:49 -05:00
Billy Vong
2804b6ae56 remove console 2021-12-16 17:03:15 -05:00
Billy Vong
d4bf6100a3 feat: Add ctrl+u/k/w hotkeys
Adds the `ctrl+u/k/w` hotkeys to clear line before and after, as well as deleting word before cursor. I implemented deleting word after cursor, but I have not repod the functionality in bash, so I did not add the hotkey.
2021-12-16 16:59:24 -05:00
Olivier Gagnon
3436873373 Merge branch 'dev' of github.com:danielyxie/bitburner into dev 2021-12-16 15:49:02 -05:00
Olivier Gagnon
1cca819f87 disable browser throttling 2021-12-16 15:48:40 -05:00
Olivier Gagnon
3ca762d8cf disable browser throttling 2021-12-16 15:46:26 -05:00
hydroflame
55d386a504
Merge pull request #1952 from MartinFournier/feature/git-commit-version
Fix #1880: Show git commit of bundled app
2021-12-16 15:45:25 -05:00