diff options
author | David Walter Seikel | 2014-04-03 04:41:43 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-03 04:41:43 +1000 |
commit | 2b8bae453f611a0360046081288309ebaa87ff4c (patch) | |
tree | 107fbfc2859607829d9de5b7f49abe7fed5de82e | |
parent | Fix up the commented version of the function calls. (diff) | |
download | SledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.zip SledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.tar.gz SledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.tar.bz2 SledjHamr-2b8bae453f611a0360046081288309ebaa87ff4c.tar.xz |
Docs++
-rw-r--r-- | ClientHamr/GuiLua/README | 27 | ||||
-rw-r--r-- | ClientHamr/GuiLua/skang.lua | 6 |
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 @@ | |||
1 | GuiLua is basically a redo of my ancient Java based matrix-RAD system, | 1 | GuiLua is basically a redo of my ancient Java based matrix-RAD system, |
2 | but using Lua and EFL. The ultimate goal is for the various ClientHamr | 2 | but using Lua and EFL. Lua is entirely different from Java, and Lua |
3 | parts to be able to either host their own UI, or have it hosted in the | 3 | doesn't run in web browsers, so this version has similar concepts, and |
4 | in world 3D window. Matrix-RAD's ability to run either server or client | 4 | similar names, it's not exactly the same. It's more accurate to say |
5 | side, with no change to the code, is great for this sort of thing. If I | 5 | this is in the spirit of matrix-RAD. |
6 | can manage the ability to "tear off" windows, in other words, pull them | 6 | |
7 | out of the 3D window to be real windows, then that's something people | 7 | The ultimate goal is for the various ClientHamr parts to be able to |
8 | have been asking for from LL forever. | 8 | either host their own UI, or have it hosted in the in world 3D window. |
9 | Matrix-RAD's ability to run either server or client side, with no change | ||
10 | to the code, is great for this sort of thing. If I can manage the | ||
11 | ability to "tear off" windows, in other words, pull them out of the 3D | ||
12 | window to be real windows, then that's something people have been asking | ||
13 | for from LL forever. | ||
9 | 14 | ||
10 | Stdin/out might be good to use. Extantz starts up "client" programs, | 15 | Stdin/out might be good to use. Extantz starts up "client" programs, |
11 | with a "use stdin/out" argument, the clients pass skang commands (open | 16 | with 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 | |||
37 | NAWS, just like matrix-RAD was originally planned. Then I can put off | 42 | NAWS, just like matrix-RAD was originally planned. Then I can put off |
38 | writing NAWS for another decade. lol | 43 | writing NAWS for another decade. lol |
39 | 44 | ||
45 | Might be nice to have a wrapper that is a web server that generates | ||
46 | standard HTML forms. No JavaScript, no HTML5, just plain old, | ||
47 | compatible with everything, HTML forms. | ||
48 | |||
40 | 49 | ||
41 | Design notes | 50 | Design notes |
42 | ------------ | 51 | ------------ |
@@ -47,7 +56,9 @@ probably can deal with that though, I'm not familiar enough with them to | |||
47 | know. Eo on the other hand allegedly offers introspection, which was | 56 | know. Eo on the other hand allegedly offers introspection, which was |
48 | always the corner stone of matrix-RAD. So access to elementary widgets | 57 | always the corner stone of matrix-RAD. So access to elementary widgets |
49 | via Eo might be possible. That's kinda the entire hook I'm hoping will | 58 | via Eo might be possible. That's kinda the entire hook I'm hoping will |
50 | help to make matrix-RAD style stuff work as well as it did there. | 59 | help to make matrix-RAD style stuff work as well as it did there. |
60 | Apparently when they promised introspection with Eo, they meant compile | ||
61 | time, not run time. | ||
51 | 62 | ||
52 | Edje Lua is restricted to scripts in edje files, AND sandboxed to those | 63 | Edje Lua is restricted to scripts in edje files, AND sandboxed to those |
53 | edje files as well. We want to step outside that sandbox, and run stand | 64 | edje 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. | |||
332 | Only the variables it specifies as managed Things are dealt with here. | 332 | Only the variables it specifies as managed Things are dealt with here. |
333 | 333 | ||
334 | 334 | ||
335 | Things that are tables are treated differently, in two different ways even. | ||
336 | Ordinary table Things are basically treated recursively, the table is a parent, and it gets it's own Things. | ||
337 | There is also 'Keyed' type table Things, where the keys to this table are arbitrary, but we still want to store Things in it. | ||
338 | In 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 | |||
335 | TODO - | 341 | TODO - |
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. |