aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-03 04:41:43 +1000
committerDavid Walter Seikel2014-04-03 04:41:43 +1000
commit2b8bae453f611a0360046081288309ebaa87ff4c (patch)
tree107fbfc2859607829d9de5b7f49abe7fed5de82e /ClientHamr
parentFix up the commented version of the function calls. (diff)
downloadSledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.zip
SledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.tar.gz
SledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.tar.bz2
SledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.tar.xz
Docs++
Diffstat (limited to 'ClientHamr')
-rw-r--r--ClientHamr/GuiLua/README27
-rw-r--r--ClientHamr/GuiLua/skang.lua6
2 files changed, 25 insertions, 8 deletions
diff --git a/ClientHamr/GuiLua/README b/ClientHamr/GuiLua/README
index 72c1069..f60d7b2 100644
--- a/ClientHamr/GuiLua/README
+++ b/ClientHamr/GuiLua/README
@@ -1,11 +1,16 @@
1GuiLua is basically a redo of my ancient Java based matrix-RAD system, 1GuiLua is basically a redo of my ancient Java based matrix-RAD system,
2but using Lua and EFL. The ultimate goal is for the various ClientHamr 2but using Lua and EFL. Lua is entirely different from Java, and Lua
3parts to be able to either host their own UI, or have it hosted in the 3doesn't run in web browsers, so this version has similar concepts, and
4in world 3D window. Matrix-RAD's ability to run either server or client 4similar names, it's not exactly the same. It's more accurate to say
5side, with no change to the code, is great for this sort of thing. If I 5this is in the spirit of matrix-RAD.
6can manage the ability to "tear off" windows, in other words, pull them 6
7out of the 3D window to be real windows, then that's something people 7The ultimate goal is for the various ClientHamr parts to be able to
8have been asking for from LL forever. 8either host their own UI, or have it hosted in the in world 3D window.
9Matrix-RAD's ability to run either server or client side, with no change
10to the code, is great for this sort of thing. If I can manage the
11ability to "tear off" windows, in other words, pull them out of the 3D
12window to be real windows, then that's something people have been asking
13for from LL forever.
9 14
10Stdin/out might be good to use. Extantz starts up "client" programs, 15Stdin/out might be good to use. Extantz starts up "client" programs,
11with a "use stdin/out" argument, the clients pass skang commands (open 16with a "use stdin/out" argument, the clients pass skang commands (open
@@ -37,6 +42,10 @@ Initially GuiLua can wrap elementary / evas, with the goal of wrapping
37NAWS, just like matrix-RAD was originally planned. Then I can put off 42NAWS, just like matrix-RAD was originally planned. Then I can put off
38writing NAWS for another decade. lol 43writing NAWS for another decade. lol
39 44
45Might be nice to have a wrapper that is a web server that generates
46standard HTML forms. No JavaScript, no HTML5, just plain old,
47compatible with everything, HTML forms.
48
40 49
41Design notes 50Design notes
42------------ 51------------
@@ -47,7 +56,9 @@ probably can deal with that though, I'm not familiar enough with them to
47know. Eo on the other hand allegedly offers introspection, which was 56know. Eo on the other hand allegedly offers introspection, which was
48always the corner stone of matrix-RAD. So access to elementary widgets 57always the corner stone of matrix-RAD. So access to elementary widgets
49via Eo might be possible. That's kinda the entire hook I'm hoping will 58via Eo might be possible. That's kinda the entire hook I'm hoping will
50help to make matrix-RAD style stuff work as well as it did there. 59help to make matrix-RAD style stuff work as well as it did there.
60Apparently when they promised introspection with Eo, they meant compile
61time, not run time.
51 62
52Edje Lua is restricted to scripts in edje files, AND sandboxed to those 63Edje Lua is restricted to scripts in edje files, AND sandboxed to those
53edje files as well. We want to step outside that sandbox, and run stand 64edje files as well. We want to step outside that sandbox, and run stand
diff --git a/ClientHamr/GuiLua/skang.lua b/ClientHamr/GuiLua/skang.lua
index b36b8a3..674f8f9 100644
--- a/ClientHamr/GuiLua/skang.lua
+++ b/ClientHamr/GuiLua/skang.lua
@@ -332,6 +332,12 @@ A parent is free to use it's own name space for anything it wants.
332Only the variables it specifies as managed Things are dealt with here. 332Only the variables it specifies as managed Things are dealt with here.
333 333
334 334
335Things that are tables are treated differently, in two different ways even.
336Ordinary table Things are basically treated recursively, the table is a parent, and it gets it's own Things.
337There is also 'Keyed' type table Things, where the keys to this table are arbitrary, but we still want to store Things in it.
338In this case, when a table is assigned to this Keyed Thing, via a new key, a new table Thing is created by copying the parent Thing description.
339
340
335TODO - 341TODO -
336 test.foo -> test.__index(test, 'foo') -> test.__values[foo]; if that's nil, and test.stuff[foo], then return an empty table instead? 342 test.foo -> test.__index(test, 'foo') -> test.__values[foo]; if that's nil, and test.stuff[foo], then return an empty table instead?
337 stuff.s = {a='foo'} -> changes a, deletes everything else, or should. 343 stuff.s = {a='foo'} -> changes a, deletes everything else, or should.