2039 Commits

Author SHA1 Message Date
Florian Nücke
4d8baa7efa Fixed computers failing to save when saved while performing a synchronized call on userdata. 2014-08-12 15:16:59 +02:00
Florian Nücke
a2e2a9b72e Fixed index out of bounds in term.isWide, closes #484. 2014-08-12 02:51:17 +02:00
Florian Nücke
df9438db8e Made creative tier case only changeable when in creative mode, closes #476.
Made robots respect inventory.isUsableByPlayer.
2014-08-12 02:16:54 +02:00
Florian Nücke
de2e419ac7 Implemented component bus item, which replaces the additional CPUs in servers (in existing servers, multiple CPUs will remain functional for now, they just can't be inserted any more, only component buses can). This is in preparation for #393, to allow make a computer's architecture be controlled via the CPU installed in it. 2014-08-11 23:18:55 +02:00
Florian Nücke
6f08f5cafd Changed how slot types are referred to internally in preparation of the Slot enum being removed in 1.4. 2014-08-11 22:16:50 +02:00
Florian Nücke
16b52c8e90 Made assembler a component so it can be queried for its status and assembly can be started automatically.
Cleaned up textures folder a little.
2014-08-11 16:55:16 +02:00
Florian Nücke
800e9428ec Also returning tool's display damage and max damage value from robot.durability, because some mods do (IMHO) odd things with those. 2014-08-11 02:02:10 +02:00
Florian Nücke
d9b0dda36e Fixes robot assembler ignoring ignorePower setting, closes #482.
Checking if player that starts assembly of a robot is in creative mode, if so, finish instantly for all case tiers, closes #481.
2014-08-10 13:52:58 +02:00
Florian Nücke
d71efdfbb8 Merge branch 'OC1.3-MC1.6.4' of github.com:MightyPirates/OpenComputers 2014-08-09 00:11:44 +02:00
Florian Nücke
9f9522c82e Added guard against recursive player interaction events in FMP placement handler, should fix #478. 2014-08-09 00:08:08 +02:00
Florian Nücke
9f304bda4f Made power support more stable (checking if methods are implemented before injecting the interfaces, to prevent crashes if APIs change, e.g.) 2014-08-08 22:51:38 +02:00
Florian Nücke
7fb44f578a Now properly resolving relative paths based on working directory in tab complete. 2014-08-08 18:50:34 +02:00
Florian Nücke
d7e7a7edf2 Cleaned up and simplified tab-completion logic a little.
Added shift-tab to inverse cycle suggestions.
Starting completion from cursor location now (sh just eats everything after the cursor for now).
2014-08-08 18:37:37 +02:00
Florian Nücke
e3a6a3a9b4 Merge https://github.com/magik6k/OpenComputers 2014-08-08 15:52:57 +02:00
Florian Nücke
93085dc2cb Merge branch 'OC1.3-MC1.6.4' of github.com:MightyPirates/OpenComputers 2014-08-07 17:34:43 +02:00
Florian Nücke
de44148df3 Fixed potential NPE in server rack (since: sided fix for internal switch mode). 2014-08-07 17:33:30 +02:00
Łukasz Magiera
9c6bbbef75 Update shell to work with new term.lua 2014-08-07 17:16:03 +02:00
Łukasz Magiera
c791bcc00c Changed term.read hint behaviour
When hint function returns table, It no longer writes it to screen. The result is cached, and user may view hintd by pressing tab key repetitively.
2014-08-07 17:13:33 +02:00
Florian Nücke
40a4fae45d Little bit of refactoring and showing the tier of item components in their tooltip if advanced tooltips are enabled (F3+H), for people that have problems distinguishing the tier by color (e.g. colorblind people). 2014-08-07 15:25:48 +02:00
Florian Nücke
6f7a590fa2 Cleaned up greetings.txt some more (duplicates, typos, out-of-date stuff). 2014-08-07 14:24:25 +02:00
Florian Nücke
369103965c Merge branch 'patch-2' of https://github.com/JoshTheEnder/OpenComputers 2014-08-07 14:14:04 +02:00
Florian Nücke
f3c04c3354 Merge branch 'OC1.3-MC1.6.4' of github.com:MightyPirates/OpenComputers 2014-08-06 13:30:19 +02:00
Florian Nücke
16d0062a9f Giving a clearer error message if programs cannot be started because the set shell cannot be found, closes #470. 2014-08-06 13:29:49 +02:00
Florian Nücke
7989bd07fe Merge branch 'OC1.3-MC1.6.4' of github.com:MightyPirates/OpenComputers 2014-08-06 13:22:50 +02:00
Florian Nücke
a08fa3be5d Fixed tmp file system's usage counter not being properly reset when closed and not being recomputed on load, closes #471. 2014-08-06 13:22:09 +02:00
Florian Nücke
60e25947c5 Fixed audio tick handler never being registered. 2014-08-06 00:10:35 +02:00
Florian Nücke
e39768e155 Cleaned up event listener registration a little, moving it all to init... can't remember why this was all over the place. Maybe this will break stuff. 2014-08-05 23:51:59 +02:00
Florian Nücke
6cebca0e86 Added config entry to allow ignoring power from specific supported power mods, closes #458. 2014-08-05 23:50:12 +02:00
Josh
a170a46b8a Update greetings.txt
was suggested on the irc
2014-08-05 18:29:41 +01:00
Łukasz Magiera
61c1f02fe0 Update hintHandler
Updated hintHandler to return table when tab was dual-tapped and there are multiple possible completions
2014-08-05 15:30:00 +02:00
Łukasz Magiera
c9d29b87de Fixed the fix 2014-08-05 15:25:54 +02:00
Łukasz Magiera
977f3bbfbe Fix term.lua completion list printing 2014-08-05 14:58:48 +02:00
Łukasz Magiera
62a507ed87 Hint function can now return tables and iterators
Returning table or iterator will display set of available completion options. When user will return table, he/she should also provide prompt function for (re)drawing prompt if one is used is his/her program
2014-08-05 14:50:25 +02:00
Łukasz Magiera
47c95a62d8 Repaired file completion behavior 2014-08-05 03:25:58 +02:00
Florian Nücke
81dcab9b74 Merge branch 'OC1.3-MC1.6.4' of github.com:MightyPirates/OpenComputers 2014-08-05 00:58:22 +02:00
Florian Nücke
7bdc52d0c2 Fixes #467. 2014-08-05 00:55:40 +02:00
Łukasz Magiera
f39b501b1a Made getMatchingPrograms more accurate 2014-08-05 00:22:02 +02:00
Łukasz Magiera
4f91f00b55 Move hint check to onKeyDown 2014-08-05 00:18:15 +02:00
Florian Nücke
aa0347b01b Merge branch 'OC1.3-MC1.6.4' of github.com:MightyPirates/OpenComputers 2014-08-04 23:56:18 +02:00
Florian Nücke
18213bde2a Fixed setmetatable(t, nil), closes #464. 2014-08-04 23:55:23 +02:00
Łukasz Magiera
8eeed80f0c Add autocompletion to shell 2014-08-04 23:16:45 +02:00
Florian Nücke
0aa20d5347 Missed one. 2014-08-04 23:08:48 +02:00
Florian Nücke
0201935382 Little bit of cleanup. 2014-08-04 23:05:42 +02:00
Florian Nücke
2e30758c84 Switched to GSON for update checker, since Scala's JSON libs have been deprecated. 2014-08-04 22:58:11 +02:00
Łukasz Magiera
4ef2e6f22d Add tab key handler to term.read
Adding this handler was necessary to allow creation of auto-complete mechanism
2014-08-04 22:49:02 +02:00
Florian Nücke
faf6c50654 Merge branch 'OC1.3-MC1.6.4' of github.com:MightyPirates/OpenComputers 2014-08-04 17:52:23 +02:00
Florian Nücke
f685f81cc7 Fixes #463 - io.lines() was derped. 2014-08-04 17:51:37 +02:00
Florian Nücke
aeb5518c90 Fixed massive derp in chunk loader, should fix #440. 2014-08-03 16:28:59 +02:00
Florian Nücke
ab7b88d1a0 Made robot afterimages declare themselves as air blocks and made robots ignore afterimages when moving, to avoid potential issues when for some reason they were not properly cleaned up (e.g. on chunk borders after world loads). Might help with #440. 2014-08-03 15:07:49 +02:00
Florian Nücke
4b49b579d2 Properly sync touch mode when first sending screen state to clients. 2014-08-03 14:13:37 +02:00