1552 Commits

Author SHA1 Message Date
Florian Nücke
cb5a83ebbe Fixed pure userdata being left on the stack during synchronized calls, potentially leading to unpersistable states. 2014-06-04 14:55:20 +02:00
Florian Nücke
cb69a4b386 Fixed blacklist not working when empty (because, exists is true if the list is empty...) 2014-06-04 12:58:26 +02:00
Florian Nücke
4931f8e84a Fixed access to client-only method in screen click logic. 2014-06-03 22:21:10 +02:00
Florian Nücke
8642a4a559 Another go at fixing that native crash, better luck this time? 2014-06-03 20:58:10 +02:00
Florian Nücke
7cc239ebe3 Fixed LuaJ fallback.
Fixed boot address not being saved.
2014-06-03 17:36:21 +02:00
Florian Nücke
9991f4a5fc Should fix crash in native lib by avoiding the crashing JNLua metacall.
Rendering floppy labels on the floppy in the inventory.
2014-06-03 16:58:11 +02:00
Florian Nücke
d99bc5815c Forcing updates on light emitting blocks occasionally (every 2 seconds) to properly update lighting because MC's lighting needs to see a doctor. 2014-06-02 17:56:34 +02:00
Florian Nücke
1aa4eea798 Merge pull request #282 from Kodos-Atoz/patch-1
Update robot.names
2014-06-02 17:53:13 +02:00
Kodos Atoz
350f0f9c85 Update robot.names
Added Crypto.  And Kodos, because hey why not.
2014-06-02 10:48:26 -05:00
Florian Nücke
09cabc902d Added simple schematic builder program. 2014-06-02 14:10:46 +02:00
Florian Nücke
3546e4a846 Fixed items being placeable in disabled container slots in robot inventory. 2014-06-02 13:25:25 +02:00
Florian Nücke
faa314f790 Fixed AIOOB in robot inventory size computation. 2014-06-02 13:17:07 +02:00
Florian Nücke
07755515de Added support for recursive conversion (i.e. converters can push values that need to be converted again, such as item stacks) and support for pushing cyclic maps / lists. Closes #278. 2014-06-02 00:24:48 +02:00
Florian Nücke
6f3f9cc260 Fixes small creatures (e.g. chickens) taking damage standing on hologram projectors. Because the size was evil. Or something. I don't even. #lolwatminecraft 2014-06-01 20:50:53 +02:00
Florian Nücke
1743968924 Fixed Waila support for screens. 2014-06-01 20:30:20 +02:00
Florian Nücke
83debc3288 Added warning icon when trying to type on a screen without a keyboard (mostly for robots). 2014-06-01 19:27:13 +02:00
Florian Nücke
403f1ffbd2 Showing reduced (screen-less) GUI for robots without screens built into them. 2014-06-01 18:20:11 +02:00
Florian Nücke
f9e1f6f1f5 Requiring a CPU and RAM in robot before allowing it to be assembled. 2014-06-01 17:32:07 +02:00
Florian Nücke
b3991c25ba Fixed http request persistence.
Fixed repeated userdata persistence.
Fixed internet.request not blocking when no data was available.
2014-05-31 16:46:04 +02:00
Florian Nücke
6174673447 Fixed items being replaced when used not being handled properly in robots (e.g. buckets), closes #279. 2014-05-31 02:51:40 +02:00
Florian Nücke
4c39ee547c Fixed screen resolution changes not being applied to the GUI without re-opening it. 2014-05-31 01:45:33 +02:00
Florian Nücke
22d020004c Bind GPU to screen in kernel, to allow boot errors to show up on the screen before an OS binds it.
Set resolution and depth to max in GPU's crash display (bluescreen).
2014-05-31 01:02:42 +02:00
Florian Nücke
6ef0e5d26c Fixed case tier not being set when assembling robots (leading to always getting a tier 1 case when disassembling). 2014-05-31 00:38:48 +02:00
Florian Nücke
46394bcef1 Fixed breaking / unloading robots crashing on servers. 2014-05-31 00:29:39 +02:00
Florian Nücke
1c115d9139 Some more fixes. 2014-05-30 17:00:22 +02:00
Florian Nücke
06e0bda2d6 Finalized new robot upgrade rendering implementation.
Added rendering for inventory upgrade.
2014-05-30 16:07:15 +02:00
Florian Nücke
d3da20e150 Minor correction in JavaDoc. 2014-05-29 21:32:49 +02:00
Florian Nücke
2eb41614c0 Avoid overshadowing imports. 2014-05-29 20:34:17 +02:00
Florian Nücke
8540f2eed0 Fixed energy glitch in robots carried over from 1.2. 2014-05-29 19:07:33 +02:00
Florian Nücke
fcc0dc85c3 Hide robots in creative tab. They have to be assembled to be useful. 2014-05-29 18:00:23 +02:00
Florian Nücke
3459ff19a2 Nicer disassembler GUI with progress bar.
Fixed power consumption in robot assembler and disassembler.
Tweaked energy consumption of the two a bit, too.
Made charger, assembler and disassembler accept power directly.
2014-05-29 16:16:04 +02:00
Florian Nücke
96243ddfc2 Defaulting to OpenOS for loot disks (avoids empty disks if stack is copied directly instead of via the generateChestContent method). 2014-05-28 16:29:17 +02:00
Florian Nücke
137204dea1 Retry setting primaries automatically, mainly to avoid confusion when creation was impossible due to lack of memory. 2014-05-28 16:27:27 +02:00
Florian Nücke
e04d497fe9 Fixed incorrect check leading to components not always being properly initialized before sent to clients.
Exposing finishConnect on internet card for those who think they need it.
2014-05-28 16:01:57 +02:00
Florian Nücke
a33df79f4f Some fixes and improvements to userdata handling.
- Ensure to check for userdata in tables.
- Using local table to track userdata by proxy, allowing the use of metatables reducing the memory consumption.
- Ensure to re-use proxies to avoid duplication across save/load and proper behavior for `==`.
2014-05-28 15:12:49 +02:00
Florian Nücke
1ddb6841dd Removed type from the 'fromComputerCraft' factory methods in the FileSystem API to remove the dependency on the CC API. 2014-05-28 13:13:05 +02:00
Florian Nücke
81268ac186 Made text buffer render callback return whether the contents changed since last call, using that to force update screen GUI size when necessary. 2014-05-28 01:38:19 +02:00
Florian Nücke
a2182c7d8e Merge branch 'master' of github.com:MightyPirates/OpenComputers into one-three
Conflicts:
	build.properties
2014-05-27 22:43:43 +02:00
Florian Nücke
82be46c7b8 Fixed the fix... v1.2.12 2014-05-27 21:19:18 +02:00
Florian Nücke
3fd5fb0944 Instead of two separate methods, introduced Container interface that's passed to item drivers for environment creation.
Also used in the FileSystem.asManagedEnvironment methods now.
2014-05-27 17:42:24 +02:00
Florian Nücke
a81697cc22 Fixed \r\n counting as double newline in text.wrap() 2014-05-26 18:37:19 +02:00
Florian Nücke
4d3c0a0bb9 Reworked blacklist/whitelist. Must now contain either the exact domain to blacklist/whitelist or an IP address, optionally in CIDR notation (only for IPv4).
Fixed process module being derped since moving it out of the kernel.
Fixed potential NPE in fs componente since components are created client side (because screens).
Added limit for size of stuff requested via HTTP.
2014-05-24 20:12:14 +02:00
Florian Nücke
6853e8c736 Floppy inject/eject sounds in computer case.
Hack to make disk access sounds more general (needed because robots now also can have disks *and* hard drives... and t3 cases).
Fixed error if no robot names are present.
Less derpy robot copying (creative mode... stupid creative mode).
2014-05-24 06:08:41 +02:00
Florian Nücke
8e91a49313 Disallow screen and keyboard in upgrade containers, since that's illogical and derpy.
Made assembler send progress more often to make progress bar move more smoothly.
2014-05-24 03:23:58 +02:00
Florian Nücke
e77b6e5b24 Added capacitor upgrade.
No longer autoflushing connector buffer on disconnect, only done for tile entities (allows capacitor upgrade to save its charge).
2014-05-24 00:35:39 +02:00
Florian Nücke
ddd8e18aef Fixed robot energy storage somewhat.
Improved picking of robots (avoid duplicate component ids).
2014-05-23 18:55:19 +02:00
Florian Nücke
e443205eac Fixed component reorganization on inventory resize. 2014-05-23 15:49:53 +02:00
Florian Nücke
7ccf3ef645 Revert "Made simple components default to neighbor visibility, added extended interface to additional control over visibility (while keeping it simple)."
This reverts commit 299860e1ab1b7bc2932bb9aade2964eb8212041a.
2014-05-23 14:31:16 +02:00
Florian Nücke
7580289af0 Calling update method on items in robot inventory. This allows stuff like autorepair on tinker tools to work, for example.
Added damage handler for tinker tools.
2014-05-23 14:24:17 +02:00
Florian Nücke
fae12c980f Shift-rightclicking screen with keyboard will trigger a touch signal instead of doing nothing. 2014-05-23 13:41:28 +02:00