1071 Commits

Author SHA1 Message Date
Florian Nücke
4da0b3acbf displaying a short help message when starting the lua interpreter. 2014-01-28 20:32:08 +01:00
Florian Nücke
4eff921f05 Merge pull request #105 from P-T-/master
make debug.traceback available in the sandbox
2014-01-28 11:09:17 -08:00
PixelToast
a6f731856c added debug.traceback 2014-01-27 18:50:27 -05:00
Florian Nücke
a88f8443b1 made loadfile standard lua conformant in that it skips the first line in a file if it starts with a # 2014-01-28 00:08:07 +01:00
Florian Nücke
982624503d added a bit of noise to the capacitor again, to make it fit better with the other blocks 2014-01-27 22:37:18 +01:00
Florian Nücke
54652f4e02 Merge branch 'master' of https://github.com/MightyPirates/OpenComputers 2014-01-27 22:11:50 +01:00
Florian Nücke
d9208461bb added a way to query the environments of running programs, returned as a second result from shell.running; made use of that in load and io.input/output to make them program sensitive 2014-01-27 22:11:25 +01:00
Florian Nücke
5ddbfb33af Merge pull request #104 from P-T-/master
improved capacitor textures
2014-01-27 11:10:51 -08:00
Florian Nücke
fc66b63ffe small fix to package lib; nicer error logging in autorun (location in lib shouldn't be in the message) 2014-01-27 18:25:52 +01:00
Florian Nücke
16a6f69853 wrapped some more functions to avoid LuaErrors being pushed to lua (i.e. userdata); added an init signal that's pushed after components are initialized, queuing autoruns until that arrives, makes autorun scripts less weird when rebooting (not having to do timer stuff in there e.g.) 2014-01-27 17:58:21 +01:00
Florian Nücke
fa6dae03eb lua.lua now behaves closer to vanilla Lua's interpreter, meaning entering an expression like 1+1 now gives an error, you'd have to write =1+1 to have the result of the expression returned and printed. 2014-01-27 16:36:13 +01:00
Florian Nücke
6a860927c6 split read and write buffers in buffer module (problematic for read/write buffers, e.g. for sockets); automatically flushing the write buffer when reading now 2014-01-27 14:59:38 +01:00
PixelToast
5bb699b45b gradient 2014-01-27 08:46:15 -05:00
PixelToast
47d736b0c5 lighter 2014-01-27 08:39:15 -05:00
PixelToast
83a11d88f0 improved capacitor textures 2014-01-27 08:32:51 -05:00
Florian Nücke
fae8200ea9 underped settings 2014-01-27 14:08:18 +01:00
Florian Nücke
79136733a9 Merge branch 'master' of https://github.com/MightyPirates/OpenComputers 2014-01-27 13:46:49 +01:00
Florian Nücke
d1ac04a7b4 added setting whether to pass the username along with input events (touch, key_x, walk); passing along the mouse button as a parameter for mouse events 2014-01-27 13:46:01 +01:00
Florian Nücke
8d0db46122 Merge pull request #102 from Wobbo/master
Fixed package module to propagate erros from loading module
2014-01-27 04:15:06 -08:00
Wobbo
a0b5f3ef53 Fixed package module to propagate erros from loading module 2014-01-27 13:09:25 +01:00
Florian Nücke
6ff3ffe95e adjusted color of internet card to match new tier 2014-01-27 01:08:57 +01:00
Florian Nücke
ee239fb3e2 cleaned up pastebin.lua a bit (indentation, general formatting) and fixed one or two bugs, as well as adding support for custom config and handling failed uploads ("Bad API request ...") 2014-01-27 00:24:39 +01:00
Florian Nücke
a78eb10804 Merge branch 'master' of https://github.com/MightyPirates/OpenComputers 2014-01-26 22:19:28 +01:00
Florian Nücke
2d7dcd984e Merge pull request #101 from Vexatos/patch-1
add support for uploading and directly running programs using pastebin.lua
2014-01-26 13:19:44 -08:00
Vexatos
ec9b16d613 Update pastebin.lua 2014-01-26 20:53:58 +01:00
Florian Nücke
a85bf6c5e1 made internet card tier 2 2014-01-26 20:49:03 +01:00
Florian Nücke
9c023a7ec0 underped socket read, was doing what the buffer already does but worse 2014-01-26 20:35:00 +01:00
Florian Nücke
68d0955ae2 fixed flushing in internet api 2014-01-26 20:23:37 +01:00
Florian Nücke
fb4d28bdae allow passing ips for internet card tcp socket opening 2014-01-26 19:26:26 +01:00
Florian Nücke
b8a448687c Merge branch 'master' of https://github.com/MightyPirates/OpenComputers 2014-01-26 19:07:52 +01:00
Florian Nücke
2ffa9db7a5 fixed internet api; shell.execute defaults to current env if none is specified; fixed texture load errors in preloader 2014-01-26 19:07:11 +01:00
Florian Nücke
feab38f468 Merge pull request #100 from Vexatos/patch-1
CPU -> Hauptprozessor in de_DE.lang
2014-01-26 08:47:20 -08:00
Vexatos
a2d4eb87af Update de_DE.lang 2014-01-26 17:19:25 +01:00
Johannes Lohrer
6e27dc1803 changed PCB in gregtech recipe to use sulfuric acid instead of grog
don't display items with recipe output 0 in item list
2014-01-26 17:05:20 +01:00
Vexatos
322e60f571 Well, this is German grammar! (Updated de_DE.lang) 2014-01-26 16:04:45 +01:00
Florian Nücke
8df1fdf5eb Merge branch 'master' of https://github.com/MightyPirates/OpenComputers 2014-01-26 15:39:36 +01:00
Florian Nücke
94c3cc2286 localized computer error messages and added explicit message when no cpu is installed, closes #96; cleaned up internet card's http logic a bit (since it should only ever be used by one computer at a time anyway it can be simpler than it was), and trying to persist its state (i.e. http request gets restarted after load automatically if it was running) 2014-01-26 15:39:06 +01:00
Florian Nücke
486b5f484d Merge pull request #99 from Vexatos/patch-1
Update shell.lua
2014-01-26 05:33:41 -08:00
Vexatos
7c4a539cb6 Update shell.lua 2014-01-26 11:09:55 +01:00
Florian Nücke
31f373de80 fixed wrong status bar message when opening file in edit 2014-01-25 22:52:22 +01:00
Florian Nücke
fb9d76d6f2 fixed internet library's request function, now properly waiting for first response event to tell whether it was a success or not, and not throwing from within the actual iterator function 2014-01-25 22:49:52 +01:00
Florian Nücke
f4a9d3dcc0 typo in german localization; adjusted other localizations for new analyzer message format 2014-01-25 22:01:24 +01:00
Florian Nücke
543ce31db4 Merge pull request #97 from Vexatos/patch-1
Updated de_DE.lang
2014-01-25 12:59:01 -08:00
Vexatos
0c7c61f1ea Update en_US.lang 2014-01-25 21:49:17 +01:00
Vexatos
6aa07dd02b Update de_DE.lang 2014-01-25 21:49:02 +01:00
Vexatos
c15ab89bf4 Update de_DE.lang 2014-01-25 18:21:20 +01:00
Vexatos
e00aaa2d12 Update de_DE.lang 2014-01-25 18:20:47 +01:00
Vexatos
86632610ef Update en_US.lang 2014-01-25 18:19:19 +01:00
Florian Nücke
fcf9037559 localization for a couple more messages, reworked analyzer interface while at it (since that was the way it was because i didn't know ChatMessageComponent back then); fixed autorun 2014-01-25 18:12:02 +01:00
Florian Nücke
5063bc7ac3 nerfed iron and redstone costs, increased paper cost (which shouldn't be a problem since sugarcane is practically and infinite resource); "preloading" textures used in gui and font renderer in the hopes of getting rid of the weird issue that occasionally textures were plain wait which could only be solved by restarting minecraft 2014-01-25 17:02:30 +01:00