Commit Graph

4271 Commits

Author SHA1 Message Date
hydroflame
795f8b4d2b Merge pull request #2140 from danielyxie/mychanges
mychanges
2021-12-22 19:19:39 -05:00
hydroflame
bfdfee2a68
Merge branch 'dev' into mychanges 2021-12-22 16:16:24 -05:00
Olivier Gagnon
d2d6c33fc8 mychanges 2021-12-22 16:15:56 -05:00
hydroflame
dce7217fc5
Merge pull request #2062 from MartinFournier/fix/dangling-process
Handle electron process uncaught exceptions
2021-12-22 15:30:33 -05:00
Martin Fournier
6363c704db Handle electron process uncaught exceptions
Handling the exceptions and closing the app seem to properly kill the
dangling processes that appear at launch in Windows 10. Without this, if
an exception is throw before the window is active (ie: no
steamapp_id.txt file), there will be remaining processes.

Added electron-log to additionally log to a text file.
2021-12-22 15:28:55 -05:00
hydroflame
9ea66e8743
Merge pull request #2110 from MartinFournier/feature/themes
Add community themes from discord
2021-12-22 15:22:08 -05:00
hydroflame
7c599f2005
Merge pull request #2123 from MartinFournier/feature/reload-unresponsive
Add dialog when app is unresponsive to reload
2021-12-22 15:21:58 -05:00
hydroflame
fba2265cce
Merge pull request #2118 from Icehawk78/feat/add-ns2-examples-docs
Add ns2 examples to the netscript docs
2021-12-22 15:21:06 -05:00
Martin Fournier
9ce8bdd29b Add dialog when app is unresponsive to reload
Checks the electron event 'unresponsive' and triggers a reload / cancel
dialog. Allows all scripts to be killed, checked by default.
Also adds a warning to the terminal when noScript has been executed.
2021-12-22 15:14:03 -05:00
Nicholas Galauxy
35cfa9492e Fix unintended spacing change 2021-12-22 13:38:32 -06:00
Nicholas Galauxy
ed4d4d091c Update docs to include NS2 examples 2021-12-22 13:36:44 -06:00
hydroflame
a97d2a93cb
Merge pull request #2112 from theit8514/cp-2099
Fix cp from another folder to current folder
2021-12-22 14:30:29 -05:00
hydroflame
dbf8c788e0
Merge pull request #2111 from mikomyazaki/2027-documentation-updates
Documentation updates
2021-12-22 14:30:14 -05:00
hydroflame
76d67fdba5
Merge pull request #2113 from Xynrati/patch-2
Add ns2 example for scp
2021-12-22 14:30:05 -05:00
Martin Fournier
f2141dd83d Add community themes from discord 2021-12-22 13:54:04 -05:00
Xynrati
21ac94dbb3
Add ns2 example for scp 2021-12-22 09:38:21 -08:00
theit8514
06ec11a107 Fix cp from another folder to current folder
src is already passed through getFilepath. Doing it again roots the file in the current directory.
2021-12-22 12:34:08 -05:00
Andrew Cooper
c2e5c9f371 Documentation updates to getgrowtime, gethacktime, getweakentime, hack, hackanalyze and weaken. 2021-12-22 17:25:09 +00:00
hydroflame
7260d5fe35
Merge pull request #2100 from mikomyazaki/empty-editor-to-terminal
Closing the final script in your editor will take you to the terminal
2021-12-22 12:17:32 -05:00
hydroflame
366bffad85
Merge pull request #2098 from FOLLGAD/patch-2
Fix incorrect help entry for "weaken" command
2021-12-22 12:17:11 -05:00
hydroflame
1c7b0ab9a3
Merge pull request #2101 from Hedrauta/fix_commiitCrime_docu_description
Fix for ns.commitCrime description in the Documentation
2021-12-22 12:16:08 -05:00
hydroflame
ce0fb7a383
Merge pull request #2102 from mikomyazaki/2023-hack-analyze-threads-no-money
hackAnalyzeThreads will no longer return NaN under some circumstances
2021-12-22 12:14:57 -05:00
hydroflame
91ac40efd0
Merge pull request #2106 from MartinFournier/fix/ci
Split GitHub workflow into multiple jobs to get clearer results
2021-12-22 12:14:46 -05:00
hydroflame
e83c38b5fb
Merge pull request #2103 from mikomyazaki/dev-options-add-minimise-server-money
Adds dev options to set server(s) cash to zero
2021-12-22 12:14:31 -05:00
hydroflame
50a85b61e2
Merge pull request #2109 from hexnaught/remove-timestamp-newline-buy-list-patch
fix(command:buy) don't wrap in typography
2021-12-22 12:05:39 -05:00
Dan
64dea97e3c fix(command:buy) don't wrap in typography
Warpping the output in typography inserts a newline before/after, this fine until timestamps are enabled and the components don't fall inline, and the typography newline is then visible.

Resolves danielyxie/bitburner#2108
2021-12-22 13:27:06 +00:00
Martin Fournier
d6c1f3bfca Split CI into multiple jobs to get clearer results 2021-12-22 04:45:16 -05:00
Martin Fournier
6b59a58ea3 Fix linter errors 2021-12-22 04:44:07 -05:00
Andrew Cooper
17b11f107f hackAnalyzeThreads will return zero instead of NaN when checking the effect of zero threads on a server with zero cash. 2021-12-22 01:12:45 +00:00
Andrew Cooper
7baacf4e1b Adds dev options to set server cash to zero. 2021-12-22 01:12:08 +00:00
Hedrauta
7f3f5c7648 commitCrime will return milliseconds 😉 2021-12-22 02:00:22 +01:00
Andrew Cooper
f2bdf00aba Closing the final script in your editor will take you to the terminal. 2021-12-22 00:26:01 +00:00
Emil Ahlbäck
e7e1e82394
Update HelpText.ts 2021-12-21 22:16:12 +01:00
Olivier Gagnon
ea0be338e1 dont make new copies when injecting via localhost 2021-12-21 15:40:23 -05:00
Olivier Gagnon
b2b682fa04 fix editor not loading files 2021-12-21 13:44:18 -05:00
Olivier Gagnon
41593e0dce fix editor not loading 2021-12-21 12:02:06 -05:00
hydroflame
79eb2f7e0b
Merge pull request #2092 from theit8514/script-focus-v2
Add focus parameter to workForCompany/workForFaction
2021-12-21 11:02:26 -05:00
hydroflame
5021013cb7
Merge pull request #2078 from billyvg/feat/open-multiple-files-from-cli
feat: open multiple files from cli
2021-12-21 11:02:11 -05:00
hydroflame
c1c7131545
Merge branch 'dev' into feat/open-multiple-files-from-cli 2021-12-21 11:02:06 -05:00
hydroflame
81e3f2afd1
Merge pull request #1986 from billyvg/feat/add-vim-command
feat: add `vim` terminal command
2021-12-21 11:00:33 -05:00
hydroflame
f01b12a56a
Merge pull request #2095 from MartinFournier/fix/bladeburner
Bladeburner console fixes & command checks
2021-12-21 10:59:47 -05:00
hydroflame
26106fa71d
Merge pull request #2077 from MartinFournier/feature/get-theme
Add ns.ui.getTheme() api function
2021-12-21 10:57:58 -05:00
hydroflame
4be5e45740
Merge pull request #2073 from billyvg/fix/window-resizing
fix: Update editor height when resizing window
2021-12-21 10:56:51 -05:00
hydroflame
94d695bb12
Merge pull request #2082 from MartinFournier/fix/purchase-server-test
Fix tests by passing args to dynamic function test
2021-12-21 10:50:05 -05:00
hydroflame
1830287a6e
Merge pull request #2079 from sschmidTU/dev
Fix typo (order -> orders)
2021-12-21 10:49:33 -05:00
hydroflame
7a9e8936ee
Merge pull request #2083 from 65-7a/txt-file-editor-patch
Script editor fixes for .txt files
2021-12-21 10:49:08 -05:00
hydroflame
4183ed6f2b
Merge pull request #2087 from 2PacIsAlive/dev
Fix typo on Augmentations page
2021-12-21 10:45:55 -05:00
hydroflame
ede6be3d0d
Merge pull request #2085 from hexnaught/get-player-ramcost-doc-patch
docs(ns.getPlayer): update doc to have ram cost
2021-12-21 10:45:34 -05:00
Martin Fournier
2d269c7a4e Fix #2018: Blade console check blackops order
Prevents you from running blackops if you have not completed the
preceeding one.
2021-12-21 10:13:12 -05:00
theit8514
d873f7279b Add focus parameter to workForCompany/workForFaction
Defaults to true to keep previous behavior.
2021-12-21 08:13:18 -05:00