Commit Graph

  • dbab733c77 Explicitly use RPCDeviceList type for tracked list devices, for clarity. Florian Nücke 2022-01-25 20:28:15 +01:00
  • 0c271732cb Add option to clean up stuff (via unmount) when devices go missing. For block devices, this can happen when the block is broken while the computer is unloaded, for example. For items this is more esoteric, but it theoretically means items disappear while the container managing the item as a device is unloaded. Florian Nücke 2022-01-25 19:57:43 +01:00
  • 57a1dc9522 Make absolutely sure floppy data is saved to item on disk drive save. Florian Nücke 2022-01-25 18:42:00 +01:00
  • 28d3159963 Mark DiskDrive chunk dirty when contents change. Florian Nücke 2022-01-25 18:37:08 +01:00
  • f483f14205 Recordify. Florian Nücke 2022-01-25 18:24:05 +01:00
  • b6a06c9185 Fixed sided connectivity of disk drive. Florian Nücke 2022-01-25 18:23:55 +01:00
  • 6c96c096ac Reduce max relative tick time for VMRunner to avoid server slowdowns. Florian Nücke 2022-01-25 18:23:03 +01:00
  • ddeff66132 Cable rendertype can be static. Florian Nücke 2022-01-23 13:37:07 +01:00
  • c96e52ad16 Thou shalt not change things after testing them. Florian Nücke 2022-01-23 12:10:58 +01:00
  • 9d73df19ce Mention the JsonArray special case on the getParameters method. Florian Nücke 2022-01-23 11:58:12 +01:00
  • aeedebcc10 Auto-format. Florian Nücke 2022-01-23 11:56:39 +01:00
  • 0f9eb58a9e Fixed side being used in block device queries being flipped. Florian Nücke 2022-01-23 11:56:10 +01:00
  • 520323e7e1 Add readme to API with an overview and some examples. Florian Nücke 2022-01-22 23:18:48 +01:00
  • 5547527090 Make names for capability devices more specific. Florian Nücke 2022-01-22 23:18:17 +01:00
  • d132eca165 Allow providing Devices as Capabilities on BlockEntities. Florian Nücke 2022-01-22 19:44:11 +01:00
  • fd423d92e7 Explicitly set utf8 encoding for compiler. Florian Nücke 2022-01-22 16:33:54 +01:00
  • 1fadb9e49e Rethrow directly, skip util method. Florian Nücke 2022-01-22 16:31:54 +01:00
  • a503549e94 Fixed interface name in lifecycle diagram. Sangar 2022-01-22 15:18:54 +01:00
  • b2bbd2f9a0 Set board run state to stopped, don't just reset. Florian Nücke 2022-01-17 22:53:04 +01:00
  • 71e426940f Only serialize state of running VMs. State when stopped is completely implicit and does not need serializing, pointlessly eats space and time. Florian Nücke 2022-01-17 22:49:57 +01:00
  • 4d68997253 Avoid redundant serialization of VM state. Florian Nücke 2022-01-17 22:42:12 +01:00
  • 12b606908a Fix depth of tooltips in inventory uis. Florian Nücke 2022-01-17 22:31:49 +01:00
  • d424265cda Make sure robots can't be used for recursive item storage. Florian Nücke 2022-01-17 21:17:29 +01:00
  • 9090c13d62 Add python util modules for device interop and blocking robot movement. Florian Nücke 2022-01-17 21:14:16 +01:00
  • fc319b6d8d Update Sedna, adds IPv6 support. Closes #18. Add own LUA_PATH init logic. Florian Nücke 2022-01-17 21:13:41 +01:00
  • 5d54c63569 Remove obsolete overhead in fake player init. Florian Nücke 2022-01-15 19:40:14 +01:00
  • 8a3add0223 Remove obsolete null check. Florian Nücke 2022-01-15 19:40:01 +01:00
  • 2ba854ca27 Rework int sized ContainerData stuff. Florian Nücke 2022-01-15 19:39:51 +01:00
  • 903d772b07 More null paranoia. Florian Nücke 2022-01-15 19:39:23 +01:00
  • f84e1308da Remove unused logger instance. Florian Nücke 2022-01-15 19:38:52 +01:00
  • 6262cd9de1 Message constructor rework (use passed args). Florian Nücke 2022-01-15 19:38:39 +01:00
  • 0be9994bf7 We only have one controller on our buses, but make it a set anyway for clarity. Florian Nücke 2022-01-15 19:38:05 +01:00
  • 408dee3fbb Paranoia null checks. Florian Nücke 2022-01-15 19:37:39 +01:00
  • 0beed24d48 Various minor fixes. Florian Nücke 2022-01-15 19:37:12 +01:00
  • e458d40db4 Add util class to work around MC bug (instead of copy-pasted workaround). Florian Nücke 2022-01-15 19:34:59 +01:00
  • 4fd47d106f Yet more records. Florian Nücke 2022-01-15 19:34:36 +01:00
  • 6e5d71b9b4 Removed copy-pasted package javadoc. Florian Nücke 2022-01-15 19:33:44 +01:00
  • 56e00a14bf Move different types of serializer to different packages. Florian Nücke 2022-01-15 19:33:31 +01:00
  • 34942fc294 Convert a few more classes to records. Florian Nücke 2022-01-15 19:31:15 +01:00
  • 6b5dde9a7a Add interface to allow receiving lifecycle callbacks on ObjectDevices. Florian Nücke 2022-01-15 17:48:40 +01:00
  • 65896892d7 Add lifecycle flowchart to RPCDevice and VMDevice docs. Florian Nücke 2022-01-15 15:01:52 +01:00
  • e435262ab9 Don't call suspend when removing, only call unmount. Florian Nücke 2022-01-15 15:01:25 +01:00
  • ac4521a72c Fix test names. Florian Nücke 2022-01-15 14:30:45 +01:00
  • 1d2889746d Sprinkle some commas for readability. Florian Nücke 2022-01-15 14:30:38 +01:00
  • 88436556c5 Call unmount on VMDevices that got mounted but discarded due to another VMDevice failing to mount. Florian Nücke 2022-01-15 14:30:18 +01:00
  • 1085a6b7a4 Add mount and unmount lifecycle callbacks to RPCDevices. Florian Nücke 2022-01-15 14:29:48 +01:00
  • 6a2f55e731 Fixed RPCDeviceList not forwarding suspend() calls. Florian Nücke 2022-01-15 09:58:58 +01:00
  • cc34a48437 Merge pull request #95 from Bs0Dd/rus Sangar 2022-01-14 14:03:24 +01:00
  • ebc60e6e35 Update Sedna, fixes a bug when merging datapack file systems. Fixes #94. Florian Nücke 2022-01-14 14:00:12 +01:00
  • b40ec4f164 Update ru handbook Bs0Dd 2022-01-13 20:28:51 +01:00
  • fc6fe66049 Update ru lang Bs0Dd 2022-01-13 19:29:12 +01:00
  • 78bebdd8b5 Update Forge. Florian Nücke 2022-01-13 16:21:48 +01:00
  • 12847643a9 Ensure worker is synced up when making structural changes to VM. Fixes #93. Florian Nücke 2022-01-13 15:29:06 +01:00
  • d0ff66f721 Update Sedna. Florian Nücke 2022-01-13 15:28:35 +01:00
  • 926cb7a0ad Add some wrapper/utility methods to make use of network system a little cleaner. Florian Nücke 2022-01-13 13:26:44 +01:00
  • 11acafdae4 Added network tunnel devices. Florian Nücke 2022-01-13 13:19:31 +01:00
  • c8a3001760 Touched up some textures. Florian Nücke 2022-01-13 11:31:50 +01:00
  • 5c3774f8dc Small naming changes. Florian Nücke 2022-01-13 11:29:58 +01:00
  • 089a133b14 Single source of truth for device type is now tags. Florian Nücke 2022-01-13 11:28:05 +01:00
  • 3fe23f68ce Add base class for network interface devices. Florian Nücke 2022-01-13 10:47:40 +01:00
  • fe7fc442aa Simplify provider. Florian Nücke 2022-01-13 10:47:02 +01:00
  • 8a5b93602e Add support for locked slots. Florian Nücke 2022-01-13 10:46:50 +01:00
  • cfe2bbb618 Fixed quick move to potentially move into illegal slot. Florian Nücke 2022-01-13 10:46:12 +01:00
  • c97bf66bc4 Reworked button widgets. Florian Nücke 2022-01-13 10:45:24 +01:00
  • a4549ab212 Moved text formatting methods to TextFormatUtils. Florian Nücke 2022-01-13 10:44:30 +01:00
  • 547d28aa45 Small type rename. Florian Nücke 2022-01-13 10:39:04 +01:00
  • 6322290f03 Minor cleanup. Florian Nücke 2022-01-13 10:36:16 +01:00
  • 1320d16f01 Update .editorconfig. Florian Nücke 2022-01-13 10:00:25 +01:00
  • ab17078ed5 Add utility method for time to tick conversion for better readability. Florian Nücke 2022-01-11 07:12:05 +01:00
  • d73d0c0b0a Re-generate auto-generated assets. Florian Nücke 2022-01-11 07:10:15 +01:00
  • f6f769666b Merge pull request #90 from ChloeDawn/jep118 Sangar 2022-01-12 04:58:23 +01:00
  • f30760cbd6 Add support for class file parameter names Chloe 2022-01-11 19:08:47 +00:00
  • 3407e84d53 Homogenize scripts a little. Florian Nücke 2022-01-10 19:53:17 +01:00
  • 4ff68cd390 Reworded some item descriptions trying to make them more concise. Makes tooltips a little less daunting. Also enable description for manual item. Florian Nücke 2022-01-10 19:26:01 +01:00
  • 533ef307f5 Merge pull request #87 from Bs0Dd/rus Sangar 2022-01-10 18:38:27 +01:00
  • f7983bcb40 Merge branch '1.18-forge' into rus Sangar 2022-01-10 18:35:32 +01:00
  • 60871d30aa Made network cards configurable as to what faces they connect to. Closes #53. Florian Nücke 2022-01-10 18:19:57 +01:00
  • 44b2bfdc1d Fixed terminal tab evaluation when cursor sits on a tabulation. Florian Nücke 2022-01-09 14:38:13 +01:00
  • bfb4798332 Renamed RobotEntity -> Robot to follow mapping style. Florian Nücke 2022-01-09 11:57:43 +01:00
  • 01dba40389 Mention interface renaming in scripting docs and vice versa. Florian Nücke 2022-01-09 11:56:34 +01:00
  • 8e714c3761 Update publish workflow. Florian Nücke 2022-01-09 11:56:07 +01:00
  • 7555995799 Update Forge. Florian Nücke 2022-01-09 09:54:00 +01:00
  • eecee804e6 Update Sedna version in mods.toml. Florian Nücke 2022-01-09 09:53:52 +01:00
  • 728504900e Fixed devices not being updated when loading item list. Fix not applying loaded device data to existing devices. Fixes initial robot state on placement. Florian Nücke 2022-01-09 09:53:37 +01:00
  • 1e59043b01 Fixed potential crash when computer stops immediately while still initializing disk from image. Florian Nücke 2022-01-09 09:13:05 +01:00
  • 7797c068fa Update to Sedna 1.0.5. Florian Nücke 2022-01-09 07:02:31 +01:00
  • a0885e7350 Fix ROWS -> LINES. Florian Nücke 2022-01-08 08:09:53 +01:00
  • e8b2c836e8 Clean up worker thread join logic a bit and fire resuming event immediately to avoid performance issues/race conditions for some devices (e.g. network cards). Florian Nücke 2022-01-08 07:46:08 +01:00
  • 8798f958f9 Add startup script that sets terminfo and terminal size environment variables. Florian Nücke 2022-01-08 06:30:59 +01:00
  • 922c7bab51 Update Sedna. Florian Nücke 2022-01-08 06:30:25 +01:00
  • 63602bfef7 Use RIS for terminal reset. Florian Nücke 2022-01-08 06:30:16 +01:00
  • 99fa59cfc6 Color directories that cannot be opened gray. Florian Nücke 2022-01-07 12:50:07 +01:00
  • c392ad0f90 Don't allow opening files/dirs that are not accessible via double-click (when button is already disabled for that reason). Florian Nücke 2022-01-07 12:49:46 +01:00
  • d139ea4679 Fix potential NRE when selecting file to import. Florian Nücke 2022-01-07 12:48:50 +01:00
  • 28734a68d9 Fix javadoc. Florian Nücke 2022-01-07 08:18:33 +01:00
  • 0169158e95 Set run state if runner errored to avoid NRE later on (since RUNNING implies runner != null). Florian Nücke 2022-01-07 08:18:25 +01:00
  • 1b9d4061af Horrible hack to avoid Forge stealing keyboard input in terminal screens. Florian Nücke 2022-01-07 08:12:21 +01:00
  • 54ab9418e3 Add some missing functionality to terminal emulator and fix some things. Also make it a little more readable by splitting actual commands out into separate methods. Florian Nücke 2022-01-07 07:55:53 +01:00
  • ed81efb4d6 Correctly send \r instead of \n for returns and fix some other combinations. Fixes #76. Florian Nücke 2022-01-07 07:53:10 +01:00
  • 708745def2 Fix duplicate character sending for alt+{key} combinations. Florian Nücke 2022-01-07 07:52:08 +01:00