Daniel Ratcliffe
17a3e120e8
Merge pull request #180 from boq/master
...
Handle tile entity changes
2017-05-04 21:42:34 +01:00
Daniel Ratcliffe
55b160e1bb
Merge pull request #164 from SquidDev-CC/hotfix/turtle-connectivity
...
Fix redstone connectivity on turtles
2017-05-04 21:28:08 +01:00
Daniel Ratcliffe
a57eb14113
Added windows setup script
2017-05-04 21:14:28 +01:00
Daniel Ratcliffe
fa99305914
Merge pull request #168 from SquidDev-CC/hotfix/modem-model-rotation
...
Various model improvements
2017-05-04 21:08:51 +01:00
Daniel Ratcliffe
27ef182294
Merge pull request #158 from SquidDev-CC/feature/require-container
...
Require the player to be interacting with the computer when typing
2017-05-04 21:08:34 +01:00
Daniel Ratcliffe
82e76d9872
Merge pull request #184 from SquidDev-CC/hotfix/sort-list
...
Sort the result of FileSystem.list
2017-05-04 21:06:26 +01:00
Daniel Ratcliffe
2a0556fa4c
Merge pull request #185 from SquidDev-CC/hotfix/unpack-length
...
Manually specify the number of values to unpack
2017-05-04 21:05:14 +01:00
Daniel Ratcliffe
22e36fc35d
Merge pull request #178 from boq/patch-1
...
Fix compilation error
2017-05-04 21:04:14 +01:00
Daniel Ratcliffe
655a328b86
Merge pull request #174 from SquidDev-CC/hotfix/shutdown-abort
...
Send termination signals unless the computer is off
2017-05-04 21:03:40 +01:00
Daniel Ratcliffe
df1ef7133d
Merge pull request #181 from SquidDev-CC/hotfix/gps-locate
...
Ensure GPS coordinates are numbers
2017-05-04 21:02:36 +01:00
SquidDev
bd14223ea8
Manually specify the number of values to unpack
...
table.unpack will often stop at the first nil value, meaning some event
arguments may be discarded. By storing the number of arguments through
table.pack, and then using that count when unpacking, we can ensure all
values are returned/resumed with.
2017-05-04 10:49:41 +01:00
SquidDev
72dfb0e7cc
Sort the result of FileSystem.list
...
This ensures fs.list and fs.find always return the same result.
For some reason, the ComputerCraft jar was being packaged differently on
some platforms, causing files to appear in a different order. As
computers depend on the colors API being loaded before colours, we need
to ensure that they are loaded in a consistent order.
2017-05-03 22:29:57 +01:00
Tim Ittermann
b2cc6ec82a
Add TimeAPI to Computers APIs
2017-05-03 23:12:48 +02:00
Tim Ittermann
c1d5ae2a09
Rename src/main/java/dan200.computercraft/core/apis/TimeAPI.java to src/main/java/dan200/computercraft/core/apis/TimeAPI.java
2017-05-03 23:11:52 +02:00
Tim Ittermann
627524dcb7
Create TimeAPI.java
2017-05-03 23:10:58 +02:00
SquidDev
6b6829e22b
Use tonumber when validating message format
2017-05-03 18:39:32 +01:00
SquidDev
67eecd4b1c
Use tonumber instead of checking type
2017-05-03 18:21:14 +01:00
SquidDev
a021a072b5
Allow turtle upgrades to act as tools and peripherals
...
This may be useful when you want your tool to also provide additional
methods. For instance, a pickaxe could provide methods to check whether
it can break the block in front.
2017-05-03 17:28:54 +01:00
SquidDev
7e5970673f
Ensure GPS coordinates are numbers
...
Fixes #138
2017-05-03 16:35:45 +01:00
Bartek Bok
4eb4bb933f
Different fix for shadow turtles
2017-05-03 16:03:47 +02:00
Bartek Bok
5284b145f8
Handle tile entity changes
2017-05-03 11:36:55 +02:00
Bartek Bok
bd8769f300
Fix compilation error
2017-05-02 23:40:31 +02:00
Lignum
994dcd9f58
Localise the maximumFilesOpen setting
2017-05-02 18:29:50 +02:00
Lignum
2bfb53227a
Merge master into fd-limit
2017-05-02 18:26:45 +02:00
SquidDev
ba761a15b6
Send termination signals unless the computer is off
...
If a shutdown has been queued, then the abort message was not set. This
allowed for programs to run for a significantly longer period of time.
2017-05-02 14:04:48 +01:00
Daniel Ratcliffe
58e6e9ea46
Fixed a typo
2017-05-02 13:56:24 +01:00
Daniel Ratcliffe
4825aefccf
Merge pull request #167 from SquidDev-CC/hotfix/limit-label
...
Impose additional limitations on disk and computer labels
2017-05-02 13:54:43 +01:00
Daniel Ratcliffe
3a360a50b0
Merge pull request #166 from SquidDev-CC/feature/config-gui
...
Add config GUI
2017-05-02 13:46:01 +01:00
SquidDev
65ef8a0937
Add config GUI description to changelog/whatsnew
2017-05-02 13:35:05 +01:00
SquidDev
14d3a182d9
Fix NPE when clearing disk label
2017-05-02 13:32:53 +01:00
Daniel Ratcliffe
800e448264
Improved the wording of some of the labels in the Config UI
2017-05-02 13:28:54 +01:00
SquidDev
2fef772f3d
Use '?' for unprintable characters
2017-05-02 13:24:42 +01:00
Daniel Ratcliffe
463d6fdcbe
Fixed some typos
2017-05-02 13:18:20 +01:00
Daniel Ratcliffe
b2c786c06c
Merge pull request #171 from JLLeitschuh/fix/daemon_thread
...
Make threads daemon threads
2017-05-02 08:53:05 +01:00
SquidDev
c537c4fa78
Swap from builtin/generated to item/generated
...
This model has more sane defaults, meaning items are scaled to the
appropriate size.
2017-05-02 02:12:51 +01:00
Jonathan Leitschuh
2a01883177
Make threads daemon threads
...
Threads that aren't daemon threads can keep the JVM from shutting down.
I'm certain that this doesn't happen very often but if one of these
threads hangs it can cause the rest of the JVM to not shut down
when the main thread exits.
By making all threads daemon threads if the main thread terminates
the rest of these threads will shut down.
2017-05-01 20:34:28 -04:00
SquidDev
c190ec5147
Do not limit labels to the ASCII range.
...
This should accept all printable characters that ComputerCraft can
handle.
2017-05-02 00:20:46 +01:00
Lignum
6ff9db89cc
Fix file handle leak
2017-05-02 00:44:33 +02:00
Lignum
2a1e110a65
Make the file descriptor limit configurable
2017-05-02 00:17:16 +02:00
SquidDev
d08b47db93
Preserve default values in configuration
...
Before we were setting the default as the previous value each time. Here
we store each property in a separate field, allowing us to access them
without setting a default.
2017-05-01 23:14:06 +01:00
Lignum
2d0690e625
Add file descriptor limit
2017-05-02 00:05:42 +02:00
SquidDev
876df68294
Rotate modem models 180 degrees
...
Or pi radians. Or tau/2 radians.
This ensures the main modem texture is facing towards the screen.
2017-05-01 22:39:18 +01:00
SquidDev
b1efbdad95
Impose additional limitations on disk and computer labels
...
Closes #147
2017-05-01 22:23:54 +01:00
SquidDev
230b578a98
Add config GUI
...
This allows you to modify various settings in-game.
2017-05-01 22:14:45 +01:00
SquidDev
02ce111d9e
Invert side when checking connectivity
...
The side marks the direction relative to the wire, rather than the side
of the block it is attempting to connect to. Therefore needs to be
flipped.
Closes #149
2017-05-01 21:44:48 +01:00
Daniel Ratcliffe
1b562ae837
Merge pull request #159 from SquidDev-CC/feature/http-extensions
...
Various extensions to the HTTP API
2017-05-01 18:11:21 +01:00
SquidDev
ae04070915
Update documentation to include HTTP API changes
2017-05-01 18:05:04 +01:00
SquidDev
f2596a8547
Return string->string headers instead, joining fields with a comma.
2017-05-01 18:00:53 +01:00
Daniel Ratcliffe
6cd734a305
Merge pull request #160 from JLLeitschuh/patch-1
...
Add travis-ci build status badge to README
2017-05-01 17:54:27 +01:00
Jonathan Leitschuh
d4cb5f6f3f
Add travis-ci build status badge to README
2017-05-01 12:50:15 -04:00