6639 Commits

Author SHA1 Message Date
payonel
4075d6f16b ignore vscode, and some build fixes 2017-10-16 18:03:06 -07:00
payonel
0123dce575 preserve original exception thrown for machine arch ctors
to not "eat" the original exception, we can just set it in the IllegalArgumentException's cause, see https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#getCause()

closes: #2146
2017-10-14 16:30:25 -07:00
Vexatos
1da8f59315 Merge branch 'master-MC1.11' into master-MC1.12 2017-10-14 18:47:32 +02:00
Vexatos
33e70a8f6c Merge branch 'master-MC1.10' into master-MC1.11
# Conflicts:
#	build.gradle
#	build.properties
2017-10-14 18:46:31 +02:00
Vexatos
845c607bfc Merge branch 'master-MC1.9.4' into master-MC1.10 2017-10-14 18:45:35 +02:00
Vexatos
2e580f9e6c Merge branch 'master-MC1.8.9' into master-MC1.9.4 2017-10-14 18:45:21 +02:00
Vexatos
d7bb35d6f0 Merge branch 'master-MC1.7.10' into master-MC1.8.9 2017-10-14 18:44:37 +02:00
Vexatos
fd5fd98c84 Subversion no more. v1.7.0 2017-10-14 18:43:25 +02:00
Vexatos
b2788b1932 Merge branch 'master-MC1.10' into master-MC1.11
# Conflicts:
#	build.properties
2017-10-14 18:36:16 +02:00
Vexatos
53bc6bb54a Merge branch 'master-MC1.9.4' into master-MC1.10 2017-10-14 18:35:37 +02:00
Vexatos
8890422cbd Merge branch 'master-MC1.8.9' into master-MC1.9.4 2017-10-14 18:35:14 +02:00
Vexatos
d0a20b6649 Merge branch 'master-MC1.7.10' into master-MC1.8.9 2017-10-14 18:34:47 +02:00
Vexatos
4fffcccd98 Version bump. 2017-10-14 18:34:12 +02:00
payonel
9cd09a0f46 rename expand to grow, changes in mcp
closes #2498
2017-10-11 22:13:43 -07:00
/Fox --develop
30e05b9c4f Updated link to Lua code conventions 2017-10-04 14:52:43 -07:00
Vexatos
43b11c6b91 Merge remote-tracking branch 'origin/master-MC1.11' into master-MC1.12
# Conflicts:
#	build.properties
2017-10-04 20:18:46 +02:00
Vexatos
795762df85 Re-added IC2 integration.
Hopefully it works.

(cherry picked from commit 151ddecb2c305d6827c183d384690761272d5e16)
2017-10-04 20:12:16 +02:00
payonel
228d8c1a13 Merge branch master-MC1.9.4 into master-MC1.10 2017-10-03 12:33:15 -07:00
payonel
d7177d0233 Merge branch master-MC1.8.9 into master-MC1.9.4 2017-10-03 12:33:15 -07:00
payonel
eb9d8536f9 Merge branch master-MC1.7.10 into master-MC1.8.9 2017-10-03 12:33:15 -07:00
payonel
a1ee9458ee Merge branch master-MC1.11 into master-MC1.12 2017-10-03 12:33:15 -07:00
payonel
da4bd5116a Merge branch master-MC1.10 into master-MC1.11 2017-10-03 12:33:15 -07:00
payonel
f1b953c7aa introduce screens to gpus in robot components
GPUs have neighbor visibility, and screens have network visibility. But in a robot the gpu and screen are sibling components, with edges to the machine, but without edges to each other. Thus during load they are not connected to each other (regardless of load order). Robots already have a provision for this issue for connecting screens to keyboards and keyboards to screens, but lacked a custom screen->gpu connection. This code change simply adds that search and connects all screens to all gpus.

closes #2302
2017-10-03 12:31:38 -07:00
payonel
1659af29b0 Merge branch master-MC1.11 into master-MC1.12 2017-10-03 12:27:02 -07:00
Vexatos
d09a4a3ff4 Fix yet another silly error related to null ItemStacks. 2017-10-03 19:05:30 +02:00
Vexatos
96c6f7d334 Re-added Waila/Hwyla integration.
Hopefully it works.
2017-10-03 18:46:10 +02:00
Vexatos
151ddecb2c Re-added IC2 integration.
Hopefully it works.
2017-10-03 18:27:01 +02:00
Vexatos
ef64fbb3fb Merge remote-tracking branch 'origin/master-MC1.10' into master-MC1.11
# Conflicts:
#	src/main/scala/li/cil/oc/server/agent/Player.scala
2017-09-29 20:45:00 +02:00
Vexatos
e485d9ea32 Merge remote-tracking branch 'origin/master-MC1.10' into master-MC1.10 2017-09-29 20:30:01 +02:00
Vexatos
3c24a69d96 Fixed exception thrown when other code tries setting the equipment slot stack. 2017-09-29 20:29:14 +02:00
Vexatos
c6c07fe524 Backport of the fix for equipment slot actions.
See commit 8066412830c5b7aeeb3bd46673ca37f2945e0d7b
and f3490663efb7e7e376d225f083176cbdfb414590.
2017-09-29 18:11:26 +02:00
payonel
67327a6e0c Merge branch master-MC1.11 into master-MC1.12 2017-09-28 11:23:29 -07:00
payonel
c5bb6221cb Merge branch master-MC1.8.9 into master-MC1.9.4 2017-09-28 11:23:28 -07:00
payonel
be05dc5bec Merge branch master-MC1.7.10 into master-MC1.8.9 2017-09-28 11:23:28 -07:00
payonel
4d762aec25 Merge branch master-MC1.10 into master-MC1.11 2017-09-28 11:23:28 -07:00
payonel
7bb58a635c Merge branch master-MC1.9.4 into master-MC1.10 2017-09-28 11:23:28 -07:00
Vexatos
03c2c4b762 Fixed table returned by getAllStacks().getAll() being 0-based. 2017-09-28 19:07:09 +02:00
payonel
066fc4b784 protect dispatch from callbacks that unregister handlers
closes #2528
2017-09-21 13:49:16 +02:00
Vexatos
8684835058 Removed hard version dependency.
Now that the coremod is version-independent, this should not be necessary anymore.
Should close #2530.
2017-09-20 13:28:39 +02:00
payonel
a4b8652479 Merge branch 'master-MC1.11' into master-MC1.12 2017-09-17 11:49:22 +02:00
payonel
3390b655ec Merge branch 'master-MC1.10' into master-MC1.11 2017-09-17 11:49:07 +02:00
payonel
71e53f8322 Merge branch 'master-MC1.9.4' into master-MC1.10 2017-09-17 11:48:39 +02:00
payonel
55f8381e67 Merge branch 'master-MC1.8.9' into master-MC1.9.4 2017-09-17 11:48:14 +02:00
payonel
e7073e4fd5 Merge remote-tracking branch 'upstream/master-MC1.7.10' into master-MC1.8.9 2017-09-17 11:47:27 +02:00
payonel
2abd8b3134 closes #2507
/bin/less and /bin/more were able to lock up the system if they call string.gsub(string, function) on a very large string (~144k chars long).
The machine layer intercepts expensive strings calls by checking the length of the string, but it does not intercept gsub calls when the replace action is a function

The fix is to intercept all long string actions, not just non-function replacement gsub calls

Note that /bin/more is now more efficient and doesn't call string.gsub, but this is still the right fix to keep the sandbox from being able to lock up the system with string methods
2017-09-17 11:30:19 +02:00
payonel
47c67a119f term fixes, scroll methods was moved 2017-09-16 08:19:49 +02:00
payonel
5c9760cf77 thread code cleanup for clarity, no api change 2017-09-13 10:46:17 -07:00
payonel
6190d75c37 more cats
improve cat io by directly feeding stream data to output and optimize more to not use line parsing
2017-09-12 15:26:25 -07:00
payonel
71d68c79a8 Merge remote-tracking branch 'upstream/master-MC1.11' into master-MC1.12 2017-09-11 08:58:48 -07:00
payonel
335393be03 Merge remote-tracking branch 'upstream/master-MC1.10' into master-MC1.11 2017-09-11 08:58:23 -07:00