Florian Nücke
|
cd490f7ae2
|
dem spaces before brackets
|
2014-02-24 22:58:24 +01:00 |
|
Florian Nücke
|
c5cb7287c2
|
simplified autocreate method; added nil check for timer cleanup
|
2014-02-24 22:52:35 +01:00 |
|
Florian Nücke
|
97716c9d47
|
fixed LuaJ fallback breaking when booting computers, closes #137
|
2014-02-24 22:05:43 +01:00 |
|
Florian Nücke
|
9d83cbb0de
|
primitive irc client as example for socket connections using the internet card
|
2014-02-24 21:41:10 +01:00 |
|
Florian Nücke
|
05f6fcfebf
|
fixed output rendering in term.write a bit; cleaned up shell execution logic a little (shell.execute now loads the $SHELL directly and runs it with the command that should be performed); added option for a read timeout to buffer:read; primitive variable expansion for default shell (no support for escaped quotes/brackets)
|
2014-02-24 11:17:05 +01:00 |
|
Florian Nücke
|
c71646569b
|
reworked file system abstraction layer to support seekable files that were opened in write mode where possible
|
2014-02-24 01:43:45 +01:00 |
|
Florian Nücke
|
83e43f32fc
|
also displaying the more specific 'no cpu' error message for servers
|
2014-02-23 17:27:57 +01:00 |
|
Florian Nücke
|
3ecf471ed0
|
generalized approach to collecting item drops after robot actions, so item drops from actions other than block breaks are collected (e.g. wrench on ic2 machines), closes #131; now also applying robot tool efficiency to electric items (via ue3)
v1.2.1
v2.0.1
|
2014-02-23 14:15:01 +01:00 |
|
Florian Nücke
|
a6cc344fcc
|
moved text wrapping to utility method in text module; properly wrapping text in more now; fixed rendering bug in term.read
|
2014-02-23 01:29:38 +01:00 |
|
Florian Nücke
|
7ef0d3efbe
|
added PAGER env var and using it in man
|
2014-02-23 01:23:43 +01:00 |
|
Florian Nücke
|
e1c80cbdc8
|
make man also look for files ending with .man
|
2014-02-22 21:32:42 +01:00 |
|
Florian Nücke
|
65a1c58bcf
|
fixed os.setenv
|
2014-02-22 17:56:42 +01:00 |
|
Florian Nücke
|
0d83803e2c
|
Merge branch 'master' of https://github.com/MightyPirates/OpenComputers
|
2014-02-22 17:53:47 +01:00 |
|
Florian Nücke
|
95bca5ced5
|
mostly memory consumption optimization of built-in stuff: moved serialization code to extra module so they only get loaded when necessary, drastically reduced memory consumption of component proxies, moved advanced shell stuff (redirects, pipes, variable expansion) to an extra program (besh.lua) to reduce memory footprint of shell module; shell uses $PS1 for the prompt now
|
2014-02-22 17:53:22 +01:00 |
|
Florian Nücke
|
7e7ec844e5
|
Merge pull request #130 from Wobbo/master
Added positional parameters groundwork
|
2014-02-22 15:53:10 +01:00 |
|
René Mellema
|
e950336d14
|
Made unsetting of variables possible again
Before, unsetting a variable would result in "nil" in the environment :/
|
2014-02-22 15:32:26 +01:00 |
|
Wobbo
|
36f93eae9e
|
Merge remote-tracking branch 'upstream/master'
|
2014-02-22 15:28:25 +01:00 |
|
Wobbo
|
a7371c1c34
|
Merge remote-tracking branch 'origin/master'
|
2014-02-22 15:22:10 +01:00 |
|
Florian Nücke
|
b5bd97807c
|
fixed file system labels not being saved. oops.
|
2014-02-22 13:45:43 +01:00 |
|
Wobbo
|
c7bd5fa05e
|
Added positional parameters
|
2014-02-20 22:16:39 +01:00 |
|
Florian Nücke
|
6d54fffdbe
|
some cleanup; moved language specific file system (lua/rom) to lua architecture
|
2014-02-20 09:48:12 +01:00 |
|
Florian Nücke
|
83860523a7
|
synchronizing filesystem component and making open/read/seek/close limited direct calls, reduced default max read buffer in turn. this should give better performance when reading many small files; made fs.close direct without limit to get rid of the ugly file handle gc workaround involving a timer
|
2014-02-20 09:22:42 +01:00 |
|
Florian Nücke
|
02827f69b7
|
moved process management from shell to kernel and exposing it via new process api, removes some nasty cross dependencies
|
2014-02-20 09:18:06 +01:00 |
|
Florian Nücke
|
93ad467490
|
fixed flipped doc in screen
|
2014-02-20 09:11:02 +01:00 |
|
Florian Nücke
|
900e08af8a
|
copied license files to repo root for visibility
|
2014-02-19 23:38:09 +01:00 |
|
Florian Nücke
|
235acf922d
|
checking for changes in tool slot in all activation cases now, fixes #124
|
2014-02-19 13:54:57 +01:00 |
|
Florian Nücke
|
9b437ed8f3
|
resolving relative paths in PATH based on current working dir
|
2014-02-19 00:41:56 +01:00 |
|
Florian Nücke
|
f7324515b9
|
made io.stderr an extra stream that applies a red foreground color (if possible); writing errors to stderr in programs; quoting and escaping vars in list displayed by set.lua
|
2014-02-19 00:37:54 +01:00 |
|
Florian Nücke
|
2b4124356f
|
Merge pull request #123 from Wobbo/master
Given the shell some love. (set and unset for env vars)
|
2014-02-18 23:49:12 +01:00 |
|
Wobbo
|
172ef642ef
|
Update set.lua
|
2014-02-18 23:43:16 +01:00 |
|
Wobbo
|
6b1ddeb629
|
Added to default shell variables and added set and unset to set/unst said variables
|
2014-02-18 23:27:27 +01:00 |
|
Florian Nücke
|
949b0c0023
|
updated to UE 3.1 api, closes #122
|
2014-02-18 22:52:23 +01:00 |
|
Florian Nücke
|
f2b128b3fb
|
added program components to list all attached components and their addresses (because i got tired of typing for _,n in component.list() do print(n) end)
|
2014-02-18 22:37:55 +01:00 |
|
Florian Nücke
|
217a836075
|
added '.' to the end of the path so people don't have to call programs via ./script; returning env table from os.getenv if no name is given; trying to get nicer names for blocks attached to the adapter
|
2014-02-18 22:35:29 +01:00 |
|
Florian Nücke
|
3f8798f1f6
|
fixed path resolving in shell (not always looking in current dir first)
|
2014-02-18 22:04:49 +01:00 |
|
Florian Nücke
|
6ed12e4f79
|
limiting length of pretty text.serialize by lines instead of chars, closes #120
|
2014-02-17 21:53:16 +01:00 |
|
Florian Nücke
|
edbc9fd44e
|
keeping quote chars and escape chars in text.tokenize for context in expandvars in shell
|
2014-02-17 21:21:11 +01:00 |
|
Florian Nücke
|
1845ba0e17
|
synchronized functions in zip filesystem and moved try-catch in factory method, hopefully prevents issues in mcpc+; allowing any type of value as os env var for more flexibility where needed
|
2014-02-17 20:04:39 +01:00 |
|
Florian Nücke
|
5a162c8058
|
moved some more stuff to os env; better handling of os.exit in shell.execute (and lua interpreter)
|
2014-02-17 03:16:39 +01:00 |
|
Florian Nücke
|
d6d0cf2092
|
moved path info to os env stuff; fixed a *really* stupid bug in path resolving in the shell
|
2014-02-17 02:43:38 +01:00 |
|
Florian Nücke
|
183f00b398
|
added os.getenv and os.setenv; cleaned up and patched redirect parsing; added variable expansion and groundwork for further stuff to shell (contributed by @Wobbo)
|
2014-02-17 02:13:26 +01:00 |
|
Florian Nücke
|
0c37b69422
|
fixed some bugs in text.serialize
|
2014-02-16 18:17:21 +01:00 |
|
Florian Nücke
|
b1a3339b4f
|
improved tooltip wrapping a bit, basing it on the actual width of the rendered width (using the font renderer), and force wrapping long 'words', which allows actually wrapping Chinese text, e.g.
|
2014-02-15 00:58:31 +01:00 |
|
Florian Nücke
|
05858db34e
|
added zh_TW to pack.mcmeta
|
2014-02-15 00:13:12 +01:00 |
|
Florian Nücke
|
7bb0c1df0a
|
Merge pull request #117 from mymagadsl/patch-1
Create zh_TW.lang
|
2014-02-14 23:48:08 +01:00 |
|
mymagadsl
|
e7f400ae50
|
Create zh_TW.lang
|
2014-02-15 03:12:31 +08:00 |
|
Florian Nücke
|
be03d58283
|
added ru_RU entry to pack.mcmeta
v1.2.0
|
2014-02-14 13:14:48 +01:00 |
|
Florian Nücke
|
f8d49047dc
|
corrected and clarified the comment on ram sizes in the config
|
2014-02-13 21:18:59 +01:00 |
|
Florian Nücke
|
2a4cfa7aa4
|
adjusted Russian localization
|
2014-02-13 20:12:37 +01:00 |
|
Florian Nücke
|
19bd531443
|
using platform specific line endings in config file (there ya go, notepad users)
|
2014-02-12 19:05:53 +01:00 |
|