1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00

426 Commits

Author SHA1 Message Date
Bogdan Marinescu
9e3b094841 fix for readdir on Win32 2010-02-08 13:23:14 +00:00
James Snyder
2528e5cdbc CSS cleanup. 2010-02-04 22:56:30 +00:00
James Snyder
d636724b60 Fix for cat command on mmcfs files. 2010-02-04 20:00:11 +00:00
James Snyder
9604c94f06 Cover zero timeout better with serial library. 2010-02-03 21:22:28 +00:00
Dado Sutter
d890fd3c50 - Fixed LM3S games and aux modules
- Updated lm3s games versions merged with trunk
- Tetrives game added to default LM3S8962 build on SConstruct
2010-02-03 12:32:18 +00:00
Bogdan Marinescu
994e58d231 complete RFS server implementation under Win32 (not tested yet) 2010-02-02 14:56:40 +00:00
Bogdan Marinescu
3bd55185f5 the RFS server will always be compiled in 32 bit mode 2010-02-01 23:25:02 +00:00
Dado Sutter
0a6a5244c5 - PIO_PINS_PER_PORT changed (from 31) to 32 for LPC24xx 2010-02-01 22:03:31 +00:00
Bogdan Marinescu
e7702bb0e2 Manual merge of remotefs/ into trunk. Tested with the simulator and (partially) on a ET-STM32 board. Other changes:
- FAT changed to support the new opendir/readdir/closedir mechanism, and to use lseek directly instead of ioctl (also fixed a bug in FAT's lseek that always returned 0 instead of file position).
- ET-STM32 console moved to UART2@19200bps (to allow RFS to run on UART0). If UART0 is needee for console, remember to disable RFS.
- freed 700+ bytes of RAM by changing the devman implementation to keep pointers instead of actual DM_DEVICE structures
- other minor code changes and fixes
2010-02-01 18:47:41 +00:00
Dado Sutter
aedbe6c83c - Several but minor html w3c validation fixes 2010-02-01 15:31:37 +00:00
Dado Sutter
f7d576953b - Minor download link description fix
- Minor CSS W3C validation issue fix
2010-02-01 15:13:01 +00:00
Dado Sutter
1f11adc3a4 - Added James Snyder credits to CSS menu entry on the news page too. 2010-02-01 13:23:16 +00:00
Dado Sutter
f6d7d85f94 - Added link to a host @Led Lab for custom build binaries
- Current online site will be updated acordingly
- LM3S6965 version still needs to be adapted, tested and uploaded (sent to me). I do not have an LM3S6965 board to test :(
2010-02-01 01:38:13 +00:00
Bogdan Marinescu
c87e4eb22f lots of CRLF->LF conversions, in preparation of 'remotefs' branch merging 2010-01-31 23:36:19 +00:00
Dado Sutter
0c75b4ee98 - Added custom binaries download table on the binaries download section.
- A text paragraph describes the idea (revisions/refinements always welcomed)
- The links are correct but the files are not there yet. I'll upload the LM3S8962
as soon as I figure out where to send them too @BerliOS :)
Help is needed to adapt (on the repo's LM3S Games branch) and test the eLua Games
build to the LM3S6965 kit.
2010-01-31 17:44:54 +00:00
Dado Sutter
aa605601a5 bit.isset() & bit.isclear() return types fixed (to booleans, not numbers) 2010-01-30 06:29:35 +00:00
Dado Sutter
f1d13c73f7 Spelling fixes 2010-01-29 02:07:54 +00:00
James Snyder
c31efa276a Switch SCons decider, crunch PNG screenshots.
SCons decider for main build and luarpc have been switched to MD5-timestamp,
which will prevent scons from re-digesting files it has cached unless
timestamp has changed (should shave a little off of build times, but be safe).

Some of the PNG screenshots that didn't get crunched before the 0.7 release
have been run through optipng, advpng and pngout to wring out as many bytes as
possible without losing data/quality.
2010-01-28 19:17:22 +00:00
Dado Sutter
8689b9663c PT refinements 2010-01-28 13:15:31 +00:00
James Snyder
8b9de43485 SCons build for luarpc now pays attention to required header files. 2010-01-28 01:31:32 +00:00
James Snyder
931773c810 Fix for LM3S MMCFS build bug, thanks to Tim Sharples for pointing this out. 2010-01-28 00:09:14 +00:00
Dado Sutter
7da38ff6c4 ?.lc added to LUA_PATH_DEFAULT, to allow Lua to require() files built with the new romfs=compile mode 2010-01-27 22:23:07 +00:00
Dado Sutter
f968670490 Two minor (but very important) doc fixes:
- bit module's isset and isclear return values are true/false (and not 0/1)
- scons build option for LuaRPC is boot=luarpc (and not boot=rpc)
2010-01-27 11:08:00 +00:00
James Snyder
bb7f663e40 Missing header include. 2010-01-27 01:02:06 +00:00
James Snyder
0bb6552c73 Additional missing header. 2010-01-27 00:58:08 +00:00
James Snyder
47f9d97079 Missing platform_conf.h. 2010-01-27 00:56:17 +00:00
James Snyder
125af9f8b8 Desktop Builds Get platform_conf.h
luarpc & cross compiler builds now have a platform_conf.h which should help in
keeping ifdefs down in common source files.
2010-01-26 00:23:57 +00:00
James Snyder
8b58611c6b Merge branch 'post07' 2010-01-25 23:44:40 +00:00
James Snyder
51221f8b4c Merge 0.7 changes to trunk. 2010-01-25 23:43:05 +00:00
James Snyder
d3e1ba98a8 Timer support for LPC17xx (MBED). 2010-01-06 06:27:27 +00:00
James Snyder
9c6062a632 Initial basic mbed (LPC1768) support. 2010-01-05 03:40:12 +00:00
James Snyder
b00c7e1d7e Google Analytics tracking code, extra meta tags. 2009-12-17 03:55:14 +00:00
Bogdan Marinescu
42ec61613b pio.port.setval bugfix (thanks, Teo! :)) 2009-12-16 19:43:34 +00:00
Dado Sutter
fd2379c07e Pong (game) enhancements 2009-12-12 04:12:18 +00:00
Dado Sutter
67be234b32 eLua platform specific disp module, added to LM3S aux setup Lua modules.
This helps apps to treat natively-supported LM3S OLED RIT display as just another onboard device.
Doc will be enhanced to give examples on these modules' usages.
2009-12-11 06:38:45 +00:00
Dado Sutter
d29ac7a556 eLua Icon instantiation, to show up in browsers' URL textbox, tabs, bookmarks .... 2009-12-11 06:32:51 +00:00
James Snyder
f6699a9355 RPC enabled for lpc24xx platform. 2009-12-10 20:38:57 +00:00
James Snyder
b935af43c7 Additional remote -> rpc touch-ups. 2009-12-10 20:38:48 +00:00
James Snyder
c85e3a1d2d Starting Cleanup of LuaRPC for 0.7 release.
- added some more documentation (not yet done)
- alternate uarts can be selected (boot mode defaults to console uarts)
- renamed "remote" references to "rpc" (may as well keep the original name)
- switch default error handler to luaL_error (presumably wasn't available for
  old 4.x LuaRPC)
- tweaks to exception handling to make things more consistent (hopefully)
2009-12-04 01:46:47 +00:00
James Snyder
26c81b4d2b Formatting touch-ups in STM32 platform. 2009-12-03 22:08:28 +00:00
Bogdan Marinescu
e935ae52e7 mostly cosmetic changes for the new romfs compress/compile feature 2009-12-03 11:29:33 +00:00
James Snyder
d215353e2f Fix for STM32 timer clocks. 2009-12-03 01:15:36 +00:00
James Snyder
df1ab9e534 Fixes for experimental "compress" mode for romfs. 2009-12-02 21:22:41 +00:00
Bogdan Marinescu
26361ea4cd EXPERIMENTAL FEATURE: romfs compression/precompilation.
Added another "romfs" parameter to SConstruct. It can take one of 3 values:

- "verbatim" (default): copy all the files from the eLua romfs/ directory to the binary image (exactly what happened until now)
- "compress": use LuaSrcDiet (http://luaforge.net/projects/luasrcdiet, now included in the eLua distribution) to "compress" the source code by using different tricks (shorter identifiers, removing comments and EOLS, and so on). The output is still a compilable Lua file (although in most case it looks completely different from the original) which is copied in the eLua binary image instead of the original Lua file. The compression obtained by using this method seems to be very good in practice, thus it will save flash when needed.
- "compile": use the eLua cross compiler (that must be built first by running 'scons -f cross-lua.py') to precompile the Lua files to bytecode, and write the bytecode to the image instead of the source file. This way, one can save both time (the scripts don't need to be compiled anymore) and RAM (for the same reason, especially since the Lua parser uses the stack a lot, which can lead to very nasty and hard to diagnose stack overflow bugs). It will be even more useful in the future, when (hopefully) more and more Lua bytecode data structures will be available directly from Flash (without having to copy them RAM as it happens now). It might also decrease the romfs memory footprint, but then again, it might not; it pretty much depends on the Lua programs included in the romfs.
2009-12-02 19:33:03 +00:00
James Snyder
908b3f5d8d Fixes for STM32 from mmc branch. 2009-12-01 00:08:53 +00:00
Dado Sutter
1d24679cc3 Snake game refinements (by Téo Benjamin) 2009-11-29 03:25:32 +00:00
Dado Sutter
19705b7ef4 cat shell cmd usage text refined. 2009-11-25 19:21:48 +00:00
Dado Sutter
633b98a9d0 cat shell cmd now supports multiple arguments
cat (or type) prints file contents one after another, just like Linux cat
command line lenght is currently limited, not too long (can be extended if needed)
2009-11-25 19:20:03 +00:00
Dado Sutter
dcf68b033b An eLua Icon for the URL box, Tabs, Bookmarks, ...., on the browsers.
Tks Pedro !
The icon deserves some refinement but on 16x16 we can't expect too much.
I'll add the ref to buildall.lua when I have my two eyes opened.
2009-11-25 04:13:27 +00:00
Dado Sutter
4ac9f2d645 PT-BR fixes 2009-11-25 04:06:41 +00:00