Florian Nücke
|
e042d16f68
|
using oc specific parameter checking function in package lib and adjusted error messages to be more consistent with vanilla Lua
|
2014-01-18 14:13:58 +01:00 |
|
Florian Nücke
|
aba968f6d7
|
converted package lib indentation to spaces to be consistent with other libs
|
2014-01-18 13:51:08 +01:00 |
|
Wobbo
|
695ec80a30
|
Added package module to /lib
|
2014-01-17 21:44:11 +01:00 |
|
Florian Nücke
|
128b3ae03b
|
running the debug hook that is used to check for timeouts more often, may help with #78
|
2014-01-10 17:31:10 +01:00 |
|
Florian Nücke
|
6f3475a353
|
avoid error when edit is trying to check readonly-ness of virtual folders
|
2014-01-07 00:28:41 +01:00 |
|
Florian Nücke
|
c1e283ca87
|
fixed bug in term.write() that caused issues with writing long strings. could have sworn I tested this and it worked once... was probably before I added word wrapping. anyway, closes #61
|
2014-01-05 19:12:28 +01:00 |
|
Florian Nücke
|
d026b61295
|
added setting to allow enabling bytecode loading. use this at your own risk, and only if you're aware just how exploitable this can be... closes #58 for now
|
2014-01-05 13:27:33 +01:00 |
|
Florian Nücke
|
f217556d90
|
fixed ghost characters in edit when inserting a newline (pressing enter) when the cursor blink was currently visible
|
2014-01-04 04:00:08 +01:00 |
|
Florian Nücke
|
27316ff8c2
|
fixed shell.setPath(), closes #53
|
2014-01-04 00:20:40 +01:00 |
|
Florian Nücke
|
969181a286
|
rethrowing errors encountered in autorun files so they are logged to the event log; allowing pure string tables (i.e. Map<String, String>) in signals. may extend this to further types at some point, but for now that'll have to do
|
2014-01-03 23:13:59 +01:00 |
|
Florian Nücke
|
7e3b157aca
|
fixed error in event.ignore that slipped in waaay back in 1fd375f, fixes #44
|
2014-01-01 17:58:45 +01:00 |
|
Florian Nücke
|
ad4359f2dd
|
making term.read check for changes to the term's cursor position between events, to make it less problematic to display text via print or term.write when there's a read active (e.g. because we're in the shell or so but we want to print something from an event listener, such as a timer)
|
2014-01-01 17:50:46 +01:00 |
|
Florian Nücke
|
6b60dbdd06
|
fixed the fix *sigh*
|
2013-12-31 19:21:29 +01:00 |
|
Florian Nücke
|
d3538a55bc
|
fixed edit writing an additional newline after the last line; fixed editor erroring when opening existing but empty files, fixes #39 and closes #43
|
2013-12-31 19:17:11 +01:00 |
|
Florian Nücke
|
7c8e1dc46d
|
added setting to control timeout of http requests; pushing http request results directly as binary chunks now (of length misc.maxNetworkPacketSize), closes #21 and fixes #33
|
2013-12-30 20:23:11 +01:00 |
|
Florian Nücke
|
28c504d342
|
added sneaky parameter to robot.swing, as discussed in #13
|
2013-12-23 19:17:01 +01:00 |
|
Florian Nücke
|
718077abaa
|
also fixed AltGr in term.read, fixing special character input in shell and Lua interpreter
|
2013-12-18 00:15:10 +01:00 |
|
Florian Nücke
|
7cd405361b
|
centering text when setting lower resolution in robot; clearing screen when changing resolution to avoid dirty buffer space and cursor going out of scope
|
2013-12-17 14:01:56 +01:00 |
|
Florian Nücke
|
ea05e5a4d6
|
fixed right alt for certain keyboard layouts not working as a modifier to input characters (e.g. the German layout, where it's needed for a couple of chars mainly in the numbers row), since it's actually emitting Alt+Ctrl, and when ctrl was pressed everything was treated like a key-combo; not resending control keys that are usually held down, to avoid packet spam (ctrl, alt, shift, meta)
|
2013-12-16 21:32:31 +01:00 |
|
Florian Nücke
|
f93fc78a94
|
cp and mv programs will now accept a directory as the target location and append the original file name automatically in that case
|
2013-12-14 18:44:12 +01:00 |
|
Florian Nücke
|
0b1f4464d9
|
mouse scroll event for tier two and three screens and supporting it in the editor
|
2013-12-13 09:07:07 +01:00 |
|
Florian Nücke
|
cea0875795
|
renamed click signal to touch (since there are no mice in the mod, so this fits better with the idea of touch screens); naming additional touch signals drag now, to make that clearer
|
2013-12-13 08:21:16 +01:00 |
|
Florian Nücke
|
a6915ff2bb
|
added bundled redstone info for redstone program when it is available
|
2013-12-12 15:50:08 +01:00 |
|
Florian Nücke
|
5c975fb1c6
|
added support for setting cursor position in edit by clicking
|
2013-12-12 15:45:37 +01:00 |
|
Florian Nücke
|
0a83286082
|
better error reporting when out of power while booting a computer; providing some buffer in the converter to allow building a simple computer without needing a capacitor; scaling kernel ram when saving, to get somewhat equal usage when loading 64 bit save on a 32 bit vm or vice versa; reworking power distribution, integrating it into the network directly now; reworked distributor block to share energy between networks (balances such that each connected network has the same relative amount of energy); due to that change, added two functions to the computer api: energy and maxEnergy (as replacements for the power distributor component)
|
2013-12-11 00:49:06 +01:00 |
|
Florian Nücke
|
78e22a0384
|
fixed fs possibly being nil when os lib is loaded
|
2013-12-07 22:41:59 +01:00 |
|
Florian Nücke
|
eee27e49de
|
changed robot.xp to robot.level; checking for pausedness in start from lua callbacks to avoid computers forcing resumption when forced to be paused (e.g. avoids computers breaking a robots pause after some action); small pause in command block after trigger to ensure the action was executed; fixed note block pitch getter returning non-offsetted value
|
2013-12-07 15:15:38 +01:00 |
|
Florian Nücke
|
23135ff845
|
little cleanup in fs lib and resetting shell working directory if the filesystem containing the working path is unmounted
|
2013-12-06 23:59:21 +01:00 |
|
Florian Nücke
|
5233a8d6db
|
checking for nei's text field being focused in robot gui to avoid typing text on the computer while it is
|
2013-12-06 22:08:19 +01:00 |
|
Florian Nücke
|
c54f285345
|
moved custom Lua methods from os table to new 'computer' table; some typos in config comments
|
2013-12-06 15:44:16 +01:00 |
|
Florian Nücke
|
f3d020c132
|
non-busy wait in dig program when drop chest is full
|
2013-12-06 03:10:57 +01:00 |
|
Florian Nücke
|
476eb587d9
|
fixed recursion into drop-off logic of dig program. probably.
|
2013-12-05 23:49:35 +01:00 |
|
Florian Nücke
|
7b136183ea
|
checking new against current component in setPrimary to avoid unnecessary work; fixed timing issue in primary.lua
|
2013-12-05 00:42:51 +01:00 |
|
Florian Nücke
|
5171b14d1b
|
fixed unicode.lower and upper (were string.lower and upper); fixed serialization of negative infinity; allowing serialization of the same table multiple times (multiple references)
|
2013-12-04 23:33:49 +01:00 |
|
Florian Nücke
|
0403d5b675
|
basic robot leveling logic
|
2013-12-04 22:14:05 +01:00 |
|
Florian Nücke
|
cfb8849e0e
|
split component.primary into component.getPrimary and component.setPrimary
|
2013-12-04 16:24:03 +01:00 |
|
Florian Nücke
|
3d343ec34f
|
fixed a typo in the robot lib; made count and space direct callbacks and allowing to specify a slot to check for (defaults to selected one); prioritizing living entities in robot detection and fixed entity detection sidedness; added simple excavation program; general cleanup
|
2013-12-04 14:11:54 +01:00 |
|
Florian Nücke
|
d0c5ffa5ff
|
fixed fs autorun and catching bad reads (negative number of bytes)
|
2013-12-03 18:10:15 +01:00 |
|
Florian Nücke
|
7c15fbe09c
|
moved http requests into a tiny lib with one function that returns an iterator over the lines of the response, or throws an error if something went wrong
|
2013-12-02 18:15:13 +01:00 |
|
Florian Nücke
|
a764a8a8a6
|
trying to get a little bit of... structure into image names; cleaned up some shell stuff; added pastebin downloader
|
2013-12-02 17:17:49 +01:00 |
|
Florian Nücke
|
083e7c2c66
|
added setting for size of tmpfs; enabled tag sharing for items after all, it's impossible/way too painful to get the tags and labels to display on the client reliably otherwise. fixed disks saving their content in their item nbt to make this not a huge problem (kinda hacky, but whatever)
|
2013-11-29 22:30:10 +01:00 |
|
Florian Nücke
|
e837c43cf6
|
lua program to change screen resolution
|
2013-11-29 21:35:38 +01:00 |
|
Florian Nücke
|
4cb741fb74
|
separating dirs from files in ls
|
2013-11-27 18:46:44 +01:00 |
|
Florian Nücke
|
453be0f2f5
|
moved post-library init code to extra file
|
2013-11-27 18:34:49 +01:00 |
|
Florian Nücke
|
45ba7b00f6
|
pageup/pagedown support for edit
|
2013-11-26 03:32:02 +01:00 |
|
Florian Nücke
|
ac5fe3c87c
|
added capability to send http requests with wireless network cards, if allowed in the config (with domain white and black list); fixed nil printing when ls-ing an invalid dir, returning an error message instead; config doesn't support backslashes and since it might disappear in the future, anyway, I decided to switch to the typesafe config library; renamed config class to Settings to avoid name conflicts with typesafe config
|
2013-11-25 21:54:59 +01:00 |
|
Florian Nücke
|
1996332dc3
|
fixed last char in a row disappearing when it should have been shifted to the right in term.read and editor; fixed computers not properly reporting errors that occur if kernel is crashing during startup; added simple serialize/unserialize methods to text lib to make networking easier
|
2013-11-24 03:19:34 +01:00 |
|
Florian Nücke
|
26c04f1ce9
|
made ram and disk sizes for the three tiers configurable and generalized their localization method (not one per tier but one for all that gets extended based on the tier); more informative status bare messages for text editor
|
2013-11-24 01:54:15 +01:00 |
|
Florian Nücke
|
594dffdd61
|
proper clipboard pasting in editor and fixed no-arg check
|
2013-11-23 23:33:13 +01:00 |
|
Florian Nücke
|
f7f75d55ff
|
added a "status bar" for the editor and reduced some surplus copying
|
2013-11-23 23:20:01 +01:00 |
|