4681 Commits

Author SHA1 Message Date
Florian Nücke
b50d3872ee Moved all the things! Renamed all the things! Broke all the things!
Made most component ROMs into loot disks (except robot for hopefully obvious reasons).
Changed loot disk naming convention (this will break existing loot disks). Closes #1456.
Made all loot disks craftable by cycling through them by crafting one with a wrench (so e.g. craft OpenOS then cycle through).
2016-05-27 13:33:22 +02:00
Florian Nücke
6e271c79d8 Update player last active time to avoid AFK kicks while working in screens e.g. Closes #1811. 2016-05-25 18:33:15 +02:00
payonel
c819466b04 simplify term hint text indexing and fix lua prompt hint handler 2016-05-24 19:04:33 -07:00
Florian Nücke
9e21c3d4f5 Fix setResolution return false even when the resolution changed, closes #1809. 2016-05-21 13:44:14 +02:00
Florian Nücke
a21bb1ce3b Might fix #1805. 2016-05-14 14:02:10 +02:00
Florian Nücke
cdd59cff05 Initialize components in client tile entities when loading / receiving description packet. Should fix #1801. 2016-05-14 13:59:31 +02:00
Florian Nücke
ca5d95cff5 Only pass X and Y to RackMountable.onActivate, adjusted to the actual surface area of the mountable (in [0, 1] for both, on the 14x3 pixel surface). Closes #1794. 2016-05-14 13:23:11 +02:00
Florian Nücke
af07508587 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2016-05-13 19:30:19 +02:00
Florian Nücke
6a40619696 Fix robots being able to drain from flowing liquid blocks... closes #1796.
Seriously? Did flowing liquids always magically convert from BlockDynamicLiquid into BlockStaticLiquid after a while? Meta checks? Ugh...
2016-05-13 19:27:59 +02:00
Florian Nücke
da1dbecae9 Should fix generator upgrade eating container items if they're not taken out in time. Closes #1779. 2016-05-13 18:39:07 +02:00
Florian "Sangar" Nücke
2949fdd276 Merge pull request #1787 from hsson/feature/additional-robot-name
Adds three more names to the list
2016-05-11 22:10:47 +02:00
Florian "Sangar" Nücke
d0f7fd7e3f Merge pull request #1786 from payonel/devfs-patch
devfs should be rw
2016-05-11 22:09:20 +02:00
Vexatos
60f403131b Made MFU respect sided environments. 2016-05-07 22:53:16 +02:00
Vexatos
4c665723dc Made block change listener handling a little more safe. 2016-05-07 15:21:00 +02:00
Vexatos
ca2a8ae371 Fixes to MFU. It actually works now. 2016-05-07 15:09:04 +02:00
Vexatos
c6578ff587 Merge remote-tracking branch 'origin/master-MC1.7.10' into mfu 2016-05-07 13:34:35 +02:00
Alexander Håkansson
26c4c0d33c Adds three more names to the list 2016-04-29 22:57:51 +02:00
payonel
2dd3efedc9 isReadOnly is in boot/, move return false to boot file 2016-04-28 16:43:57 -07:00
Florian Nücke
00bc7e2cee Added some missing methods to the devfs to avoid programs expecting them to be there breaking (such as df) and ordered them the same way as they are in the Scala filesystem component. 2016-04-27 23:47:46 +02:00
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
Vexatos
371a32e881 Added MFU.
No Manual entry, no tooltip, no texture, not tested, recipe unfinished.
2016-04-25 19:55:03 +02: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