4740 Commits

Author SHA1 Message Date
Florian Nücke
8531c22106 Added DeviceInfo API, allows environments to provide basic information even when they do not expose a component. Made available via computer.getDeviceInfo().
Must be implemented on Environments. Queried on environments of nodes reachable / visible (when a component / not) from a machine.
Added very *very* basic program for listing device info from shell, `lshw`.
2016-06-04 01:46:21 +02:00
Florian Nücke
aa546dfce5 I think this should work. Closes #1839. 2016-05-30 20:46:53 +02:00
Florian Nücke
9acb5eb26f Should fix tablet disassembly ignoring upgrade container, closes #1838. 2016-05-30 20:36:37 +02:00
Lizzy
533e7443e8 link update 2016-05-28 19:15:01 +01:00
payonel
ce77d77baf tab complete fix where whitespace after redirection would not be trimmed 2016-05-28 10:19:13 -07:00
Florian Nücke
7ab37217b0 Well that certainly was a fascinating derp to track down. 2016-05-27 23:37:05 +02:00
Florian Nücke
5964911a80 Allow disabling loot disk cycling via config as per special request :P 2016-05-27 16:51:06 +02:00
Florian Nücke
4737520b6a Recipe sorting. 2016-05-27 14:34:08 +02:00
Florian Nücke
896bfa2728 Cleanup. 2016-05-27 13:43:15 +02:00
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