danielyxie
928faa5b4c
Converted Programs and DarkWeb implementations to Typescript
2018-12-25 02:14:18 -08:00
danielyxie
4383d1393d
Fixed re-balanced Corporation issues. Converted several popups in the Corporation mechanic to support Enter/Esc hotkeys
2018-12-24 23:55:54 -08:00
danielyxie
b242ca2f42
Fixed bugs with refactored Company/job code. Added 'expr' Terminal command
2018-11-17 16:23:48 -08:00
danielyxie
427cdb48ba
Initial commit for implemeenting wget and refactoring some Server-related code
2018-10-01 19:51:32 -05:00
danielyxie
3051208bcb
Adding updated build and fixing display bugs with Terminal's 'analyze'
2018-10-01 19:51:32 -05:00
danielyxie
f78f0ec1a7
Implemented Coding Contracts
2018-10-01 19:51:32 -05:00
danielyxie
420fd0c5ad
write()/read() now work for script files. You can now use angled brackets in tprint() (and create DOM elements). Added CodingContract implementation
2018-10-01 19:51:32 -05:00
danielyxie
6cb7704eed
Move all Theme color settings to FconfSettings rather than Settings. Add setting for default/classic main menu style
2018-10-01 19:51:32 -05:00
danielyxie
d50c5abb66
Refactored all code that uses the numeral library to use a wrapper class. Implemented configurable locale setting through this wrapper class
2018-09-12 11:29:02 -05:00
danielyxie
93db9c513a
Merge pull request #455 from kopelli/lint-violations
...
Lint violations
2018-09-10 14:27:46 -05:00
danielyxie
c24b7bce5f
Merge branch 'dev' of https://github.com/danielyxie/bitburner into dev
2018-09-10 13:52:38 -05:00
danielyxie
ba469f49c5
Fixed merge conflicts in Kline--numeral-updates
2018-09-10 13:51:21 -05:00
Steven Evans
a681fc5577
[chore] Disabling a couple ESLint violations
...
These should really be refactored and fixed, but the end-to-end testing
will take a bit more effort. It can be tackled later.
2018-09-10 10:59:07 -04:00
danielyxie
93c1d603c5
Fixed issue with prompt color
2018-09-07 21:53:10 -05:00
danielyxie
b36855fe52
Merged from dev. Fixed merge conflicts. Updated terminal documentation for wget
2018-09-07 21:21:23 -05:00
danielyxie
98598b103d
Implemented wget Terminal command
2018-09-07 20:53:11 -05:00
Mat Jaworski
fe47df1ade
Merge branch 'dev' into dev
2018-09-06 21:44:44 +10:00
Mat Jaworski
0b0a3d366c
More UI updates
...
- infiltration: added colours, updated spacing and fixed alignment
- terminal prompt: added colour for the previous lines as well
- Active Scripts and Hacknet Nodes: money values have a gold colour now; minor spacing updates
- minor code refactoring
2018-09-03 22:10:00 +10:00
Matthew Goff
2d9f3856c7
formatNumber -> numeral in more locations
2018-09-01 08:42:56 -05:00
danielyxie
5ede6be8e5
Refactored functions that calculate hacking time/exp gain/chance/ etc into a separate file
2018-08-30 12:00:38 -05:00
danielyxie
8b99e46d5e
Updated Interactive Tutorial and added a few helpful links to the hackers-starting-handbook Literature file
2018-08-29 14:06:21 -05:00
danielyxie
58d48f19ef
Added .fconf setting for enabline line wrap in terminal input. Began implementing wget
2018-08-28 22:24:38 -05:00
Steven Evans
9a7fa5d12c
Merge branch 'dev' into refactor-out-circular-dependencies
2018-08-07 10:00:49 -04:00
Daniel Xie
dac64d188b
Fixed bug with executing HTTPWorm program from Terminal
2018-08-06 19:11:14 -04:00
Steven Evans
26b0840f26
[refactor] Breaking out page tracking from 'engine'
2018-08-02 14:33:07 -04:00
Steven Evans
7313d551f1
[refactor] Pulling out post
to terminal to its own file.
2018-08-02 14:26:24 -04:00
Steven Evans
0bea4e0430
[refactor] Breaking out key codes
...
Trying to start breaking apart the large circular dependencies between
modules. Most of the dependencies are similar to this pattern where
there is one stand-alone member that is needed, so the entire module
gets brought along with.
2018-08-02 14:23:50 -04:00
Olivier Gagnon
ce13c1bb2f
Merge branch 'dev' into semicolon
2018-08-02 11:04:21 -04:00
danielyxie
b5e8d61ad6
Merge pull request #407 from kopelli/refactor-programs-from-terminal
...
Refactor - Determine program execution from terminal via hashmap instead switch statement
2018-08-02 10:57:26 -04:00
Steven Evans
3130b410e2
[refactor] pulling getTimestamp off Terminal
2018-08-01 13:38:54 -04:00
Steven Evans
0345daf359
[bug] Fixing the timestamp
...
getMonth() is 0-based, so changing the offset.
getDay() is the day of week, not day of the month.
Ensuring hours & minutes are always two digits.
2018-08-01 12:55:01 -04:00
Steven Evans
a09fcd21ca
[refactor] Determine program execution from terminal via hashmap instead
...
of switch statement.
Introducing variables within the case block of a switch statement can be
problematic and confusing as case statements do not have their own
scope, and thus are hoisted to the function level. Thus, with a large
enough switch statement, variable declarations could easily be
overlooked as they are peppered throughout the cases. This is especially
problematic for 'const' and 'let' declarations, which are very concerned
about scoping. There is an ESLint rule specifically enabled to catch
this behavior.
This refactoring is a way to mitigate the behavior, while still allowing
for the use of 'const'.
2018-07-31 00:18:38 -04:00
Olivier Gagnon
c4b25a0c90
added semicolon support to terminal as well as autocomplete support for semicolon commands
2018-07-30 20:16:39 -04:00
Olivier Gagnon
9f43a7208c
gave distinct fl1ght message when conditions are fulfilled
2018-07-25 00:11:35 -04:00
danielyxie
88755f1d0f
Added import functionality to Netscript 1.0
2018-07-20 09:28:03 -05:00
danielyxie
e4742289c7
BN-12 now properly affects Bladeburner multipliers. Added polyfill in new JS interpreter for Array.includes. Fixed terminal not focusing with tab"
2018-07-16 01:00:57 -05:00
Steven Evans
1a5208f78f
[refactor] Moved 'printArray' to 'arrayToString' TS file
2018-07-08 20:17:51 -04:00
Steven Evans
d20516b03c
[refactor] Moved 'addOffset' to its own TS file
2018-07-08 20:17:51 -04:00
Steven Evans
a6293474a9
[refactor] Moved "isString()" to its own TS file
2018-07-08 20:15:06 -04:00
danielyxie
3213032427
Fixed incompatibility issues with Edge (due to spread syntax). Fixed issue with Terminal autocomplete and capitalized commands. Script ram is now rounded to 2 decimal places
2018-07-02 22:35:12 -05:00
danielyxie
c8421168b6
Copying a NetscriptJS script with scp now properly clears its 'module'.
2018-06-29 00:39:05 -05:00
Olivier Gagnon
40b29ea3c0
woops, sed overkill
2018-06-26 13:27:57 -04:00
Olivier Gagnon
6bdf946790
remove all .js from all appplicable imports
2018-06-26 12:34:11 -04:00
danielyxie
89ecb15b6f
Merge pull request #324 from hydroflame/hydroflame-convert-ts
...
first conversion
2018-06-25 20:02:40 -05:00
danielyxie
b2a24002ee
Merge pull request #266 from hydroflame/streamline-create-programs
...
Streamline create programs
2018-06-25 19:34:08 -05:00
Olivier Gagnon
c830f08081
format fl1ght money like the rest of the money
2018-06-24 21:08:40 -04:00
Olivier Gagnon
3af76f50ab
Merge branch 'dev' into streamline-create-programs
2018-06-22 20:48:26 -04:00
Olivier Gagnon
53ddfbc9ec
first conversion
2018-06-22 17:30:24 -04:00
danielyxie
343d474702
Merge pull request #318 from hydroflame/darkweb-autolink
...
added autolink to darkweb
2018-06-22 15:13:48 -05:00
Olivier Gagnon
3ab23df8d7
terminal autocompletes darkweb better
2018-06-20 18:34:39 -04:00