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

16 Commits

Author SHA1 Message Date
ecdr
f38162e92e eLua - Disambiguate duplicate serial.h
(renaming fixes name overlap with serial.h in SAM drivers)
2013-10-30 00:29:57 -08:00
James Snyder
cc1cda9109 remove some unneeded API extensions, cleanup 2011-10-06 18:59:44 -05:00
James Snyder
3b91ff0c2a merge thiago's fixes with current trunk 2011-07-21 18:31:49 -05:00
Martin Guy
2a6131ffe6 Eliminate all TAB characters in elua-specific code files.
Tabs have been creeping in to eLua's source files, sometimes representing
2 characters, sometimes 8.  This patch replaces them all with the appropriate
number of spaces, according to the context.
This only fixes files that were written specifically for eLua, not the
manufacturers' SDK source files that were simply imported into the tree.
2011-07-05 17:17:45 +02:00
Thiago Naves
cb9deaa3d0 Fix PC side of rpc 2011-05-16 21:39:46 -03:00
naves.thiago
d2a4f8dbaf Added rpc.adispatch funcion for receiving async rpc messages 2011-05-15 17:06:36 -03:00
James Snyder
a4ae2bf4fb Apply misc fixes to LuaRPC:
- prevent premature helper gc
 - replace some MYASSERT statements with standard Lua functions for arg checking
2010-12-14 01:05:52 +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
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
b1c0df120a Style adjustments, switch some types to be more explicit, common error string
stored once.
2009-09-15 17:44:48 +00:00
James Snyder
9b3db70e72 Fixes:
- anonymous unions aren't part of C99, luaR_key's uinion of key ids is now in
  a union called id
- silence some other compiler complaints
2009-09-06 23:41:31 +00:00
James Snyder
3248f45307 Some cleanup of unused/unnecessary code thanks to Clang/LLVM's static analyzer. 2009-09-06 23:41:21 +00:00
James Snyder
9b2eac34aa Shorten some error messages, slightly tighter memory usage. 2009-08-27 01:13:37 +00:00
James Snyder
8939b99545 Commit of initial working RPC.
- disabled by default (enable on a target-by-target basis) so it shouldn't
  cause much breakage for non-rpc users
- some modifications to the binary chunk reader which should allow reading of
  chunks encoded on various platforms (with certain limitations like lualong
can't read float lua bytecode, one must generate lualong bytecode from a float
lua)
- other misc changes.
2009-06-22 23:49:21 +00:00