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

415 Commits

Author SHA1 Message Date
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
Dado Sutter
02588db95c Minor eLua Examples fix.
dualpwm.lua runs on the STM32 board too.
2009-11-25 04:00:36 +00:00
James Snyder
4125feab53 Minor cleanup in LuaRPC. 2009-11-24 21:21:17 +00:00
Dado Sutter
344e68869e Instructions for the doc/site generation included in an added README.TXT file in /doc 2009-11-24 14:24:52 +00:00
Dado Sutter
2ecc8d1eca PT doc revisions
Minor doc fixes
Preparing news and doc for future v0.7
2009-11-24 01:58:23 +00:00
Dado Sutter
77b6c6ca68 cat/type command cosmetic refactoring 2009-11-23 20:05:28 +00:00
Dado Sutter
a70beaf857 A new shell command for eLua.
cat or type, takes one path+filename as it's argument and prints it's text content.
Code revision and testing are apreciated.
2009-11-23 19:38:56 +00:00
Dado Sutter
ac5859d332 Removing source code download option form the binaries table.
Revisions in the pt_br version.
2009-11-23 10:58:13 +00:00
Dado Sutter
c2b214c364 Fixing the snake file format committed, sorry (GCode got me this time :) 2009-11-20 12:32:20 +00:00
Dado Sutter
6172f55b76 Snake added to SConstruct ROMFS build table.
It was NOT added to the default builds of the LM3S boards.
2009-11-20 12:15:20 +00:00
Dado Sutter
167cb2a514 New game added to eLua ROMFS. Snake runs on LM3S boards with RIT OLED Display.
Small changes on Pong, another game for the same platform above.
2009-11-20 12:12:20 +00:00
Dado Sutter
a15ff9a29b Minor syntax error, fixed. 2009-11-20 12:09:40 +00:00