SquidDev
1ba73454c1
Add .getCursorBlink to monitors and terminals
...
Closes #576
2018-09-23 09:34:28 +01:00
Daniel Ratcliffe
3e265c27ff
Merge pull request #455 from Wilma456/fileread
...
Add read() to Filehandle
2018-01-13 00:58:19 +00:00
Daniel Ratcliffe
8d356f50c4
Merge pull request #440 from Wilma456/iomulti
...
Make io.write() accept multiple args
2018-01-13 00:48:07 +00:00
Wilma456 (Jakob0815)
999351e667
Fix io.lines()
2017-10-04 18:51:48 +02:00
Wilma456 (Jakob0815)
f8193a4d23
Set errorlevel for "Unsupported format" to 2
2017-09-16 16:11:36 +02:00
Wilma456
5be2202b2e
Add read() to Filehandle
2017-09-16 16:06:27 +02:00
Daniel Ratcliffe
1c8480a329
Merge pull request #441 from SquidDev-CC/hotfix/paintutils-read
...
Fix a non-existent method being used in paintutils
2017-09-13 17:10:07 +01:00
Bomb Bloke
70c6f3498b
Correct minor typo in rednet.receive
...
Caused attempts to set a time-out value to throw "expected number, got number".
2017-09-13 01:06:59 +10:00
Wilma456 (Jakob0815)
92f5860de6
Use select()
2017-09-12 15:27:09 +02:00
SquidDev
12abd4292e
Fixes a non-existent method being used in paintutils
2017-09-12 09:52:21 +01:00
Wilma456 (Jakob0815)
0115bc8dca
Make io.write() accept multiple args
...
This is just to bring the io API from CC close the the io API from normal lua, which accept multiple args for io.write().
2017-09-11 15:47:30 +02:00
Daniel Ratcliffe
1fdfcdb5f2
Merge pull request #378 from MineRobber9000/patch-3
...
Add ability to load raw data from a string [paintutils]
2017-09-11 13:28:27 +01:00
Daniel Ratcliffe
51644e32ed
Merge pull request #415 from Wilma456/palletecheck
...
Add valid check to term.setPaletteColor/getPaletteColor
2017-09-10 00:12:46 +01:00
Wilma456 (Jakob0815)
a5bbed528d
Make mode from io.open() accept nil
2017-09-06 18:53:44 +02:00
Wilma456 (Jakob0815)
369be7c32c
Fix io API
...
While adding checks to the io API in #424 , I had forgot that the io API has his own type() function who overwrite the default one. This PR fix this. Sorry for that.
2017-08-27 17:08:40 +02:00
Daniel Ratcliffe
0de3a42808
Merge pull request #424 from Wilma456/newcheck
...
Add more Checks
2017-08-27 12:26:58 +01:00
Wilma456
4f9de6b02c
Update Checks
2017-08-24 20:17:31 +02:00
Wilma456
e9cea7d0f5
Add more Checks
2017-08-21 15:20:32 +02:00
Wilma456 (Jakob0815)
30b55d966b
Add valid check to term.setPaletteColor/getPaletteColor
2017-08-11 15:38:02 +02:00
Wilma456 (Jakob0815)
83f34b430d
Make io.open() return Error
...
If fs.open() failed, it will return nil and a a error message like "No such file" or "Out of space". This PR make, that io.open() returned this error too.
2017-07-28 15:18:14 +02:00
Daniel Ratcliffe
579f7443a8
Merge pull request #360 from Wojbie/Mixed-lua-side-improvements.-Part-2
...
Mixed-Lua-side-improvements.-Part-2
2017-07-25 23:15:10 +01:00
Daniel Ratcliffe
df1c8e22b8
Merge pull request #376 from CrazedProgrammer/fix-argument-checks
...
Fix argument checks made in PR #304 and #338
2017-07-25 23:13:34 +01:00
CrazedProgrammer
96288164c5
Fix textutils.serializeJSON argument check
2017-07-25 22:36:54 +02:00
Wojbie
4c89364964
Requested changes
2017-07-25 21:01:04 +02:00
Daniel Ratcliffe
94613d28a6
Merge pull request #381 from Wilma456/colerror
...
Better Error for "Invalid color"
2017-07-25 19:56:59 +01:00
Wilma456 (Jakob0815)
43a5fc9fe7
Better Error for "Invalid color"
...
the "Invalid color" error now contain the wrong color.
2017-07-18 16:12:19 +02:00
MineRobber___T
2c91c7962f
Remove unused tImage table and slightly clean code
2017-07-17 01:49:14 -04:00
MineRobber___T
f785b0a488
Update paintutils.lua
2017-07-17 01:16:36 -04:00
MineRobber___T
af847818d2
Remove some context from comment
...
I agree with SquidDev, I went a bit too far with the whole context thing.
2017-07-16 02:10:42 -04:00
MineRobber___T
ee20d7bed2
Fix line split
...
Also fixes a typo.
2017-07-16 02:08:54 -04:00
MineRobber___T
11060596b1
Remove legacy bHandleRawData check and fix file loading
...
While the check (most likely) wouldn't break anything, it's better to fix it and not worry then to not fix it and find out it breaks image loading. Also fixes how files are loaded.
2017-07-15 18:31:42 -04:00
MineRobber___T
71d024a76c
Move raw data parsing to paintutils.drawImage
2017-07-15 18:27:52 -04:00
MineRobber___T
260bb2e4e1
Add ability to load raw data from a string
2017-07-15 17:50:05 -04:00
CrazedProgrammer
1850dcdf38
Fix indentation of previous commits (tabs -> spaces)
2017-07-15 13:01:08 +02:00
CrazedProgrammer
af0549946b
Fix window API argument check made in PR #304
...
- Fix window.reposition so the new width and height arguments are
optional
2017-07-15 00:17:34 +02:00
CrazedProgrammer
7e5a9b3a5a
Fix some textutils API argument checks made in PR #338
...
- textutils.serializeJSON now takes a table/string/number/boolean instead of just a string as the t argument, and checks for nil in the tNBTStyle argument, so the parameter becomes optional again, as described in the wiki.
- textutils.slowWrite and textutils.slowPrint now checks if the rate
parameter is a number, if not nil.
2017-07-15 00:00:01 +02:00
SquidDev
e664eb26a9
Fix several global definitions
...
There were a couple of programs which were defining global variables, or
referencing undefined ones. This fixes all problems in the main rom files.
2017-07-08 11:31:30 +00:00
Wojbie
87406bc00d
Tweak to Colon syntax lua autocompletition.
...
Changes autocompletition to only complete function names (Or table names treated as functions via __call metamethod) after the colon symbol.
2017-07-07 02:30:57 +02:00
Wilma456
c46391555f
Update term.redirect check to new style
2017-07-03 18:08:51 +02:00
Daniel Ratcliffe
1d63598d43
Merge pull request #338 from Wilma456/textcheck
...
Add Checks to Textutils API
2017-06-29 19:04:37 +01:00
Wilma456
5e244273c2
Allow Number and Table
2017-06-29 17:58:53 +02:00
Wilma456
13f886be5a
Add Checks to disk,gps,help and keys
2017-06-29 16:41:48 +02:00
Wilma456
845e1b633d
Merge branch 'master' into textcheck
2017-06-29 16:24:30 +02:00
Wilma456
6a8c544914
Feedback from dan200
2017-06-29 16:18:13 +02:00
Daniel Ratcliffe
14e4d037ad
Merge pull request #317 from Wojbie/Mixed-lua-side-improvements
...
Multiple fixes and feature fixes for lua side of CC.
2017-06-28 22:25:18 +01:00
Wojbie
bf533dd00a
Reverting requested changes. Take 1
...
Reverting rewrites to painutils, paint and edit - keept the paste logic change in edit.
Changed and removed misc parts as requested in PR.
2017-06-28 22:58:57 +02:00
Wilma456
6bbd1f3718
Add Checks to Textutils API
2017-06-26 15:21:52 +02:00
Wojbie
fc93ee474f
Merge branch 'master' into Mixed-lua-side-improvements
2017-06-24 14:29:19 +02:00
Wilma456
fb5ba01e5a
Add Checks to Colors API
2017-06-23 17:38:40 +02:00
Wojbie
7090f6b6a7
Make settings API getNames() function sort names.
...
Makes it easier for eye and keeps settings from same program next to eachother.
2017-06-23 01:07:18 +02:00