4611 Commits

Author SHA1 Message Date
Florian Nücke
e9dac6e06c Merge branch 'unicode-mouse-clicks' of https://github.com/payonel/OpenComputers into master-MC1.7.10 2016-04-27 23:30:38 +02:00
payonel
8d9c699ce0 fix onTouch for unicode support in shell (+backspace fix) 2016-04-26 21:34:10 -07:00
payonel
ad33ec285a big awesome update for devfs, command substitution, and io redirection
Added another 60 tests, now totalling 901 all-passing tests. This change also reduces memory cost for boot by about 1300 bytes.

This change should be fully compatible with any 1.6 user scripts. This makes no change to api, only improves shell support and makes important process handle cleanup (when pipes and redirection is used - we are not auto-closing user file handles).
2016-04-24 21:59:22 -07:00
Florian Nücke
5c03d0517a Gaah, right, that's 2016-04-17 11:35:55 +02:00
Florian Nücke
5ba972f559 Bah, allright then. 2016-04-16 14:57:46 +02:00
Florian Nücke
b17c16064b Merge branch 'buffer-chomp' of https://github.com/payonel/OpenComputers into master-MC1.7.10 2016-04-16 14:26:35 +02:00
Florian Nücke
5c602d42ad Merge branch 'cp-keep-links' of https://github.com/payonel/OpenComputers into master-MC1.7.10 2016-04-16 14:26:21 +02:00
Florian Nücke
ae1cb3fe6e Fixed error in network node remapping when node gets removed during that remapping operation.
E.g. file systems automatically connected together with the main component, as in the internet card.
This should fix a potential crash with OC conduits in EnderIO.
Also, unit tests \o/ You'll need ScalaTest and Mockito to run them.
2016-04-16 14:21:45 +02:00
payonel
9ffc060205 Chomp \r and \r\n from lines, not just \n 2016-04-15 23:20:34 -07:00
payonel
8baf006c89 cp -P added to support preserving symlinks. Also, -r enables -P 2016-04-15 20:10:50 -07:00
Florian Nücke
a686f2ac3f Fixed MCU not initializing its components properly when re-loaded. Oopsies. Closes #1459. Probably. 2016-04-14 23:42:51 +02:00
Florian Nücke
e45acd967b Updated char width map for new font and made the width file resource-packable. Closes #1760. 2016-04-14 22:40:37 +02:00
Florian Nücke
d24d70554b Forward compat for BC, closes #1765. 2016-04-14 20:53:13 +02:00
payonel
f4de5c2549 bringing back shift tab to cycle tab completion list in reverse 2016-04-06 23:07:33 -07:00
payonel
b203bf6b44 try append mode to open wget output file first in case download fails 2016-04-06 21:26:16 -07:00
Florian Nücke
db332dbf38 Merge branch 'improved-lua-tab' of https://github.com/payonel/OpenComputers into master-MC1.7.10 2016-04-06 20:21:38 +02:00
Florian Nücke
61a6cc7fe5 Merge branch 'term-wrapping-fixes' of https://github.com/payonel/OpenComputers into master-MC1.7.10 2016-04-06 20:21:21 +02:00
Florian Nücke
ce940696cb Fixed mountables not being in a network yet screwing with the racks reconnect logic, closes #1757. 2016-04-06 20:20:00 +02:00
payonel
8adc7716f8 fix hint cache sometimes being lost during tab completion
The issue fixed is that the hint cache was being cleared far too often, including for key-up events. The fix is to only clear the cache on related events such as clipboard and key-down (but restore cache for tab keydown).
2016-04-05 21:53:45 -07:00
payonel
17ca9d5249 fix filter for term.read, dobreak via options, and onTouch for floating windows 2016-04-05 21:01:29 -07:00
payonel
a547319860 don't crash on number keys of tables in tab complete in lua prompt 2016-04-05 21:01:28 -07:00
payonel
a9233e5bfc term wrapping and sh tab completion fixes
term wrapping fixes
Backspacing or deleting during vertical wrap would not update the current end of line correctly what the text was being pulled from the next line

horizontal wrapping deletion was not using dx,dy and instead was removing text from absolute positions on the screen

horizontal wrapping was pushing spaces beyond the windowed areas
2016-04-05 21:01:28 -07:00
Florian Nücke
9535cad412 Made max mem configurable. 2016-04-05 22:23:49 +02:00
Florian Nücke
a69c09e4be Merge branch 'architecture-memory-fix' of https://github.com/Vexatos/OpenComputers into master-MC1.7.10 2016-04-05 20:57:19 +02:00
payonel
0dd3421d4a Continue tab complete on single hit results into result children
Tab complete in the lua prompt shows . on tables, but can give the wrong impression that there are no keys. Consider that the user types =filesyste[tab] and then sees =filesystem. and presses tab again. The hint table has only one entry, "=filesystem." and is cycling through that one entry and not reconsidering children of filesystem .. which is what the prompt makes the user think. This change injects a metamethod lookup in the 2nd index of a single result to repop the hint list with new children.
2016-04-04 22:05:21 -07:00
gamax92
5a43bfd4cb Update LuaJ, closes #1735. 2016-04-04 21:45:16 +02:00
payonel
b6326e87e8 delay load, term, and grep fixed
Delayload is lighter weight now. Improving method reuse and reducing boot costs about about 1.5k

term had some crashes and improper behavior. This fixed tab complete for 5.3 lua archs, term palette use, and missing tab complete hints. Term blinking now also supports setCursorBlink(false).

grep had a bug where patterns looking for start-of-line text would find in-line matches as well.
2016-04-02 13:07:03 -07:00
Vexatos
eb8bd31b42 Improved rotation of computer spawning command. 2016-04-02 20:50:13 +02:00
Vexatos
8e54d5ef77 Made memory calculation a lot less hardcoded, finally allowing addons to define custom memory types. 2016-04-02 20:25:43 +02:00
Florian Nücke
876279aefb Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2016-04-02 16:28:56 +02:00
Florian Nücke
88f3412f0c Backport switch achievement fix. 2016-04-02 16:28:43 +02:00
Florian "Sangar" Nücke
641800f79c Merge pull request #1729 from new-sashok724/patch-1
Typo in WirelessNetworkCard.setStrength?
2016-04-01 09:42:17 +02:00
sashok724
fcf1c09b62 Typo in WirelessNetworkCard.setStrength? 2016-04-01 03:54:35 +00:00
Florian Nücke
2cba7bc182 Merge branch 'RU_doc' of https://github.com/cyber01/OpenComputers into master-MC1.7.10 2016-03-27 12:24:09 +02:00
Florian Nücke
91e8b461ef Merge branch 'about-time' of https://github.com/payonel/OpenComputers into master-MC1.7.10 2016-03-27 12:09:15 +02:00
payonel
cbf676435c give /bin/time much better output using uptime, big thanks to gamax92 2016-03-26 21:05:26 -07:00
payonel
53d97fd21f make coroutine wrap create tracked coroutines, needed for process data 2016-03-26 19:54:05 -07:00
cyber01
cfa513088e Updates for 1.6 2016-03-26 23:06:45 +03:00
Florian Nücke
8087d6523a Hardened unbuffered filesystems. Closes #1707. 2016-03-26 14:00:04 +01:00
Florian Nücke
0c0880d836 Properly erroring on ".." as path to FS methods. Closes #1708. 2016-03-26 13:28:25 +01:00
Urey.X
9bb3fae8d3 Update zh_CN.lang 2016-03-24 13:48:55 -04:00
Florian Nücke
93db1e1855 Updated LuaJ and passing along raw bytes from LuaJ strings for checkByteArray, leaving utf8 decoding to checkString. 2016-03-23 21:02:42 +01:00
Florian Nücke
399e0f44e6 This is now a one-way street. 2016-03-20 19:22:07 +01:00
Florian Nücke
7c8b886527 Sided! 2016-03-20 18:04:21 +01:00
Florian Nücke
be17da8365 Merge branch 'master-MC1.7.10' of https://github.com/gdude2002/OpenComputers into master-MC1.7.10 2016-03-20 18:02:16 +01:00
Gareth Coles
c102f35ce0 Remove setEnabled as a block update will override it 2016-03-20 17:02:19 +00:00
Florian Nücke
e98465441f Colors remember their color when in item form now. This also means that dye is consumed when dyeing cables. They can also be recolored while in item form by crafting them with a dye. Closes #1529. 2016-03-20 17:54:39 +01:00
Gareth Coles
504d1394d2 Add integration with the IC2 redstone port 2016-03-20 16:45:45 +00:00
Florian Nücke
9099729c46 Wording. 2016-03-20 16:42:25 +01:00
Florian Nücke
fb7aa123ef Added setting to allow disabling nanomachine particle effects client side for people running MC on a toaster. Closes #1550. 2016-03-20 16:42:05 +01:00