1659 Commits

Author SHA1 Message Date
Florian Nücke
b4639cceb1 Fixed Geolyzer docstring.
Potential fix for config parse error.
2014-07-07 16:31:46 +02:00
Florian Nücke
caacec21bd LuaJ 3 Final. I'm not sure this is a good idea, but nothing seems to break (immediately). 2014-07-07 04:37:19 +02:00
Florian Nücke
e8384b67e0 Fixed userdata not being properly unwrapped when passed to direct callbacks. 2014-07-07 04:08:27 +02:00
Florian Nücke
a9e3cd907c Made it so that robots can also send and receive wired network messages. 2014-07-07 01:34:41 +02:00
Florian Nücke
26c4fa4161 Made userdata delegate tostring to the object's toString method (i.e. tostring(userdata) == Value.toString()). 2014-07-06 23:36:31 +02:00
Florian Nücke
4b4885b65c Fixed computers crashing when mods cause computers to pause (context.pause(...)) in a direct callback (@Callback(direct = true)). 2014-07-06 22:38:56 +02:00
Florian Nücke
39704f9532 Merge pull request #376 from Sodiet/patch-3
Update ru_RU.lang
2014-07-06 18:15:36 +02:00
Florian Nücke
127aee1c45 Merge pull request #377 from Kilobyte22/nobreak
Make io.read() support support not breaking
2014-07-06 18:14:58 +02:00
Kilobyte22
6441ce9e28 Small variable name change 2014-07-06 18:13:13 +02:00
Kilobyte22
d8ee287c96 Make io.read() support support not breaking
If false is passed as second param to io.read() it now will
not perform a line break after hitting return
2014-07-06 18:05:16 +02:00
Rostislav
722f5d4361 Update ru_RU.lang 2014-07-06 20:10:26 +06:00
Rostislav
2aabea32e6 Update ru_RU.lang
Translation updated to latest version of en_US.lang.
2014-07-06 20:08:31 +06:00
Florian Nücke
cd2c5b5977 Merge pull request #374 from Vexatos/patch-7
Be consistent. (Updated de_DE.lang and fixed en_US)
2014-07-06 12:29:24 +02:00
Vexatos
92080a5e7b Update en_US.lang 2014-07-06 09:52:22 +02:00
Vexatos
e12fcc8e88 Be consistent. (Updated de_DE.lang) 2014-07-06 09:51:21 +02:00
Florian Nücke
7c5a8d961d Attempt at fixing an NPE, take two. 2014-07-05 22:58:01 +02:00
Florian Nücke
0e5f320a47 Should fix a reported NPE in server racks. 2014-07-05 22:06:14 +02:00
Florian Nücke
fc16ceb935 Avoid potential assertion error. v1.3.0-rc.1 2014-07-05 15:03:56 +02:00
Florian Nücke
e4ebcbb6a4 Merge branch 'patch-2' of https://github.com/istasi/OpenComputers 2014-07-05 13:46:54 +02:00
Florian Nücke
3d6efb642c Merge https://github.com/gamax92/OpenComputers 2014-07-05 13:45:26 +02:00
istasi
9c587bd317 Adds support for the environment variable _
http://istasi.dk/printenv.png yes, this clearly editted, due to my heighten paranoid level
2014-07-05 12:37:43 +02:00
Florian Nücke
495d083dd9 Made LuaJ kernel error checking more robust. 2014-07-05 01:45:02 +02:00
gamax92
6616de2947 Forgot an import
import java.util.Arrays
2014-07-04 17:16:47 -06:00
gamax92
6164a9f769 Fix some LuaJ bugs (Not tested for LuaJ 3)
LuaDouble:
Do not try Long.toString
Do not cast to float

LuaString:
Do not scan as a long
Add another check in scandouble (was scanlong)
Have substring create new bytes to work with
2014-07-04 17:10:25 -06:00
Florian Nücke
029027fadb Updated Mac natives. 2014-07-05 00:02:21 +02:00
Florian Nücke
7a2e327ee3 Added a null check in ItemCost comparison method to avoid potential NPEs for weird recipes. 2014-07-04 23:26:46 +02:00
Florian Nücke
794f3384ec Little bit of cleanup and fixed case sensitivity detection being inverted. 2014-07-04 16:58:55 +02:00
Kilobyte22
d544f9748d Fixed a stupid oversight
Creation of directories now checks filename validity again
2014-07-04 15:35:48 +02:00
Kilobyte22
e62895e901 Made FS support case insensitivety
The Buffered File System now supports case insensitive behaviour when the
underlaying FS is case insensitive
2014-07-04 15:33:46 +02:00
Florian Nücke
d2e0b22230 Updated Eris, should get rid of the potential native crash when saving. 2014-07-04 13:59:53 +02:00
Florian Nücke
7d80fbcb60 Re-throwing UnsupportedOperationExceptions as Lua errors when thrown in callbacks (usually in OpenComponents' CC wrapper stuff). 2014-07-03 18:38:42 +02:00
Florian Nücke
0c96d38afb Fixed another userdata related persistence issue (discrepancy in callback name after load leading to userdata failing to be saved again). 2014-07-03 18:28:22 +02:00
Florian Nücke
ac25db2c0d Added missing userdata wrapping and removed debug prints. 2014-07-03 05:35:52 +02:00
Florian Nücke
a19c05442d Changed option flag for ls to display file and dir count to an unused one and made it read like dir in Windows (which is what it's meant to mimic, after all). 2014-07-02 20:11:09 +02:00
Florian Nücke
e7c863a00d Merge https://github.com/Wuerfel21/OpenComputers 2014-07-02 19:14:55 +02:00
Florian Nücke
ce4316e91d Added another try-catch to the native lib version check in case rights settings get weird (reported on MCF). 2014-07-02 19:13:53 +02:00
Florian Nücke
da264e3aca Switches can no longer loop on their own (i.e. they will ignore network messages they relayed themselves when they arrive on another side of the switch).
Fixed a color bug.
2014-06-29 20:56:49 +02:00
Florian Nücke
ce4786fbed Should fix #365. 2014-06-29 17:47:05 +02:00
Florian Nücke
009e51b288 Prevent error loops in xpcall. 2014-06-28 18:52:11 +02:00
Florian Nücke
c4986eeb82 Screw nextGaussian, using nextDouble for the random direction when dropping stuff from robots (and other inventories) now, makes for no... outliers, leading to extreme values. Closes #347. 2014-06-28 15:50:34 +02:00
Florian Nücke
9f8d88a20a Removed forgotten debug println. *sigh* 2014-06-27 17:48:40 +02:00
Florian Nücke
ebac31b71a Eh? 2014-06-27 17:34:43 +02:00
Florian Nücke
e4eb4ae8f6 Trying to fix some initialization order hiccups... 2014-06-27 16:55:43 +02:00
Florian Nücke
72969868f4 Added some noise to the geolyzer results. It'll still be able to tell air blocks with 100% accuracy, though. 2014-06-27 01:30:39 +02:00
Florian Nücke
d8da5671c2 Added the concurrent open port limit to network cards I could have sworn I had added on day one -.- 2014-06-27 01:07:52 +02:00
Florian Nücke
e7cfe9597a Fixed display glitch for robot power display when playing on servers. 2014-06-27 00:59:31 +02:00
Florian Nücke
ace242f7d0 More fewer AIOOBEs. 2014-06-26 23:57:23 +02:00
Florian Nücke
3122942649 Removed potentially problematic GC call from host side.
Fixed potential 'nullpointer' in file handle gc metamethod.
2014-06-26 21:28:56 +02:00
Florian Nücke
12c1e74888 Fixed buffered file system allowing creation of files with names that could not be flushed to the host file system. 2014-06-26 20:22:27 +02:00
Florian Nücke
b60bdb7c35 Should fix #362. 2014-06-26 18:26:06 +02:00