Commit Graph

76 Commits

Author SHA1 Message Date
Arron Chapman
e7fcda19c1
UI: Added hostname to LogBox title (#478) 2023-04-24 10:33:16 -04:00
Snarling
0df984eea0
CODEBASE: Add Jsonable Map and Set types, move player.sourceFiles to a map (#473) 2023-04-18 03:19:45 -04:00
Snarling
759f86d6e5
NETSCRIPT: Rework script ram updates (#408) 2023-03-05 22:39:42 -05:00
Snarling
6a6043c509
CODEBASE: Add custom useRerender hook (#359) 2023-02-11 13:22:55 -05:00
David Walker
7b5080a42b
NETSCRIPT: Add undocumented function printRaw() (#277)
This is analagous to tprintRaw (enabled by ns.iKnowWhatImDoing()), but
for logs instead of the terminal. This provides a supported* method of
creating complicated UIs for scripts.

*No actual support, expressed or implied, is provided for use of this
function.
2023-01-05 20:30:34 -05:00
Snarling
e17380549d
Add ctrl-a support for logs (#228)
And prevent double line returns when copying logs
2022-11-24 13:04:06 -05:00
Olivier Gagnon
f6f023eeb4 Fix tons of typos 2022-10-09 01:25:31 -04:00
Snarling
51d019c16c Decache Ram on Tail Run 2022-09-05 08:19:24 -04:00
Olivier Gagnon
2592c6ccd8 allbuild commit 87054f61 2022-08-31 12:26:02 -04:00
Olivier Gagnon
c9a0998cc1 Improve wrong arg user message and add ui.windowSize 2022-08-29 18:07:17 -04:00
Snarling
ef1f376c09 format, lint, remove unused "running" property on ws 2022-08-27 22:32:48 -04:00
Snarling
6f36e9cdc5 Fix/Unify NS1 wrapper 2022-08-27 20:56:12 -04:00
Olivier Gagnon
c9b9c2c55b merge dev 2022-07-20 12:16:42 -04:00
Olivier Gagnon
49f6fda1e4 remove last colon any for now 2022-07-20 01:48:54 -04:00
Olivier Gagnon
c977a9def7 tidy up eslint.js 2022-07-19 12:19:32 -04:00
Olivier Gagnon
97c5332a59 fix any in LogBoxManager 2022-07-18 02:53:01 -04:00
Olivier Gagnon
e58456cd6b allbuild commit 0b22e87e 2022-07-14 21:59:23 -04:00
Olivier Gagnon
00ddeb751c Make tail box display ANSII colors 2022-07-14 16:34:42 -04:00
nickofolas
012edd3b2a Fix log box wrap 2022-05-22 11:54:05 -05:00
Undeemiss
d52e1f44b4 Removed my stupid comment lol (sorry!) 2022-05-17 15:26:26 -05:00
Undeemiss
c01cf85d27 Formatted and linted 2022-05-17 15:25:27 -05:00
Undeemiss
8903cd2a8b Removed closePid(fn, host, ...args) and fixed closePid(pid) 2022-05-17 15:19:35 -05:00
Undeemiss
e17fe6f618 closeTail(fn, host, ...args) can now close dead script tails
closeTail(pid) still cannot
2022-05-17 14:46:30 -05:00
Undeemiss
2b9d408b55 First attempt at an implementation; requires script be running 2022-05-17 13:45:30 -05:00
Undeemiss
5526355a43 Set up the skeleton of an ns.closeTail function 2022-05-16 19:15:38 -05:00
nickofolas
dd949697df Fix handle position 2022-05-09 19:26:20 -05:00
nickofolas
d4e97d786c Various log box improvements 2022-05-09 18:15:23 -05:00
nickofolas
bc9bce0d2c Tweaks to classes 2022-05-09 17:50:45 -05:00
Snarling
bb5cc82226 Update LogBoxManager.tsx 2022-04-24 04:49:31 -04:00
Snarling
4e64d6df5b Add minimum constraints for tail resize 2022-04-23 19:51:39 -04:00
Snarling
f05df0659d Improve tail window buttons 2022-04-23 16:48:48 -04:00
Snarling
5c53b39edc Try to fix formatting? 2022-04-17 17:40:37 -04:00
Snarling
2e7b7c9d86 Enable touch-clicks in react-draggable
Add onTouchEnd events for click functions inside react-draggable. Necessary because react-draggable prevents default click behavior.
2022-04-17 15:57:35 -04:00
BB
c7a95ccb2d Fixed eslint warning for unused vars 2022-04-02 13:11:55 +02:00
Olivier Gagnon
1789e1b745 allbuild commit /usr/bin/git 2022-03-29 17:19:14 -04:00
phyzical
54e8f701a1 change to 100 ms 2022-03-21 20:02:59 +08:00
phyzical
7271f37ec5 added logic to pick up log when its closed via event emotter 2022-03-21 19:56:54 +08:00
BB
2f4d879c16 Trailing whitespace and files not ending with \n are now illegal 2022-03-08 22:51:02 +01:00
hydroflame
1d83247f8d
Merge pull request #2671 from gianfun/fix_ns_tail_behavior
Fix ns.tail() behaviour for multiple calls
2022-01-17 16:01:34 -05:00
Gian P
e38010a9a4 Revert "Logs button reopens log window"
This reverts commit 01efd372e95628d419575ade0e6536a458fd61d2.
2022-01-16 18:21:02 -03:00
Cyn
8d7b71c5aa Prevent dragging log window off screen & reset log window position if resized off screen 2022-01-15 20:52:02 -05:00
SlyCedix
c25067c062 bound log box to parent div 2022-01-15 20:52:02 -05:00
nickofolas
01efd372e9 Logs button reopens log window 2022-01-08 14:31:58 -06:00
Martin Fournier
2b0a248673 Make toasts appear above tail popups 2022-01-08 10:07:35 -05:00
Olivier Gagnon
c59a267437 change sf4 2022-01-04 19:09:34 -05:00
theit8514
5607561c50 Add minimize button to log windows 2021-12-26 18:52:14 -05:00
theit8514
169d3e6c77 Add title attribute to log title bar 2021-12-26 17:47:32 -05:00
Olivier Gagnon
41593e0dce fix editor not loading 2021-12-21 12:02:06 -05:00
Olivier Gagnon
a845c5ac8f rm tail bound 2021-12-04 18:58:26 -05:00
Olivier Gagnon
798c9867a7 logbox cant go outside body 2021-12-03 15:31:25 -05:00