Commit Graph

91 Commits

Author SHA1 Message Date
Daniel Zaoui fdd87314b2 Edje porting to Eo
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 78305
2012-10-21 10:46:58 +00:00
David Walter Seikel cb7027d7b1 Lua 5.2 support added, from a patch by Dennis Schridde (devurandom).
SVN revision: 76883
2012-09-20 05:48:05 +00:00
Daniel Kolesa 3b1e4c1c2f unbork edje-lua on 5.2
SVN revision: 73240
2012-07-03 14:08:09 +00:00
Carsten Haitzler 3ee05133da never should have used this api - it never did squat diddly. bug in
api set.



SVN revision: 71989
2012-06-12 08:01:12 +00:00
David Walter Seikel 09c1a704cc No idea how anyone let me sneak these excess line endings in. Also, actually bitch about missing images.
SVN revision: 68579
2012-03-01 15:52:02 +00:00
David Walter Seikel 0232c85ea9 Edje Lua: remove ugly FMT_* compatibility strings as Evil has now POSIX printf family functions.
As per caro's commits.  Not actually tested under Windows, my WiMo phone doesn't quite have what it takes to compile EFL.


SVN revision: 68093
2012-02-17 21:59:10 +00:00
Tom Hacohen 8b9a30d96e Edje: Revert "Edje: Replace x1 -> xx1 (also y1, x2 and y2)."
Oops, apparently I broke things.

This reverts commit 67325.

SVN revision: 67338
2012-01-19 13:18:26 +00:00
Tom Hacohen dc27871eab Edje: Replace x1 -> xx1 (also y1, x2 and y2).
This should probably become the new standard for coords as it doesn't
clash with the damn y1 posix function.

Thasks to Gustavo for the naming.

SVN revision: 67325
2012-01-19 08:17:14 +00:00
Tom Hacohen 544dfc53b3 Edje: Fixed a couple of warnings that really don't indicate issues.
Global shadow warnings are annoying and thus will be ignored at the moment,
There are other issues as well though, for example, not using cpp_token_file.
I don't know if that's intended or not, so I won't just suppress the warning.

SVN revision: 67242
2012-01-16 12:34:13 +00:00
David Walter Seikel 870e48eeca Added Lua function edje.version().
Also cleaned up the changelog date from my last commit.  Oops.


SVN revision: 66977
2012-01-08 14:37:11 +00:00
David Walter Seikel d196a27f76 Calling non exstent functions no longer crashes scripts.
This is so that future scripts will still work with old libraries,
and lets us add the "host can provide Lua API" feature soon.

Also some more comments.



SVN revision: 66961
2012-01-07 23:02:57 +00:00
David Walter Seikel 67695d1e1a TYpo--, and a new comment!
Nothing to see here, move along.


SVN revision: 66738
2012-01-02 10:19:49 +00:00
David Walter Seikel e80e88c5cd Last of the docs.
No bloody functional change.


SVN revision: 65779
2011-12-01 12:34:47 +00:00
David Walter Seikel 4726297e7a Some minor doc changes while I'm at it.
SVN revision: 65656
2011-11-28 16:00:24 +00:00
David Walter Seikel e3361fc062 Even mooore docs.
SVN revision: 65602
2011-11-26 02:37:04 +00:00
David Walter Seikel 8eb9117abc More docs.
SVN revision: 65601
2011-11-26 01:37:38 +00:00
David Walter Seikel 30f31653f6 Added docs for the last of the API from the previous release.
Next I'll add docs for THIS release's API additions.


SVN revision: 65507
2011-11-22 03:48:44 +00:00
David Walter Seikel b02d727737 Polish up the lua error handling.
SVN revision: 65465
2011-11-20 23:52:57 +00:00
David Walter Seikel 30add22439 Some minor cleanups.
SVN revision: 65463
2011-11-20 22:04:37 +00:00
David Walter Seikel 96057a02a2 Don't bypass the metatable when we shouldn't, and note when we can get away with it.
SVN revision: 65462
2011-11-20 21:24:58 +00:00
David Walter Seikel c886664e73 Last of the stack review, unless I missed some.
No functional change.


SVN revision: 65459
2011-11-20 19:49:05 +00:00
David Walter Seikel c34434dedf More stack analysis, still no functional change.
SVN revision: 65457
2011-11-20 17:40:43 +00:00
David Walter Seikel 61478ed370 Stop abusing passed in tables, as per my email on the dev list.
I love removing code.  B-)


SVN revision: 65453
2011-11-20 15:51:58 +00:00
David Walter Seikel 35bb48a788 Some scattered lua stack check comments, to get them in before a functional change.
No functional change.


SVN revision: 65443
2011-11-20 14:39:30 +00:00
Cedric BAIL 239796713d edje: remove various warning.
SVN revision: 65438
2011-11-20 14:09:17 +00:00
David Walter Seikel 2e17712bb0 Make map like the others, remove excess push and gc.
What was I thinking?


SVN revision: 65430
2011-11-20 13:01:16 +00:00
David Walter Seikel 141c3da2b6 Add some FIXME's, and more lua stack review.
No functoinal change.


SVN revision: 65429
2011-11-20 12:51:49 +00:00
David Walter Seikel 2f355197f0 Some more stack review, plus a couple of FIXME's added.
No functional change, just comments.

Too tired for more, I'll finish this tomorrow.


SVN revision: 65413
2011-11-19 15:37:21 +00:00
David Walter Seikel 412498a2e3 Keep it clean.
SVN revision: 65397
2011-11-19 01:38:54 +00:00
David Walter Seikel d4056c9be0 About half way through the lua stack analysis.
No functional changes.


SVN revision: 65396
2011-11-19 01:12:06 +00:00
Carsten Haitzler 4e97f85876 fix inconsistency with propagating signals and messages. now messages
AND signals should propagate to children the SAME WAY - that means
children you added explicitly in the edje file and not form c code get
propagated to.



SVN revision: 65384
2011-11-18 10:35:38 +00:00
David Walter Seikel bd8e46c9b3 Maybe one day raster will remember.
Something to do with caches perhaps?
Needs to be changed anyway.


SVN revision: 65383
2011-11-18 09:52:58 +00:00
David Walter Seikel 7a20a441dd edje:echo() logs to the lua domain, at the debug level.
It's for debugging lua scripts.


SVN revision: 65363
2011-11-18 05:53:44 +00:00
David Walter Seikel a89d120979 You might call this an API break, but it's a bug fix.
The very original lua code from waaaay back when, 
would create the various timer objects as members of the evas class, 
which would mean you could call evas functions on the timer objects.

Not good.

Now they have their own classes.

However, you still have to create them by calling functions in the
edje class, there should probably be an ecore class for that instead.


SVN revision: 65354
2011-11-18 02:27:16 +00:00
David Walter Seikel f11de46523 typo--
SVN revision: 65352
2011-11-18 01:50:47 +00:00
David Walter Seikel 97c34f5a51 Document the lua callback hooks.
SVN revision: 65347
2011-11-17 18:13:58 +00:00
David Walter Seikel 91972dd35e Document the pre 1.1.0 edje functions.
SVN revision: 65346
2011-11-17 17:42:29 +00:00
David Walter Seikel 057ce26e60 Documentation stubs. I'll fill them in later.
Also includes stubs for the documentation of stack usage.


SVN revision: 65343
2011-11-17 14:21:53 +00:00
David Walter Seikel 3fa4e5fee3 Fix up some returns after a review.
SVN revision: 65148
2011-11-14 07:35:23 +00:00
David Walter Seikel ec56d2bea3 Extra parenthethith, coth Mike'th compiler hath a lithp.
SVN revision: 65143
2011-11-14 04:47:44 +00:00
David Walter Seikel f631c2ca09 Some error checking and logging love.
More love coming soon.


SVN revision: 65139
2011-11-14 00:13:36 +00:00
David Walter Seikel 04541d0f31 Fix up a problem with geom and friends when some external thingy moves stuff behind our backs.
This happens during startup at least and did cause problems.

Restrict image loading to images from the same edje file we are in, as per rasters request.

Some minor cleanups.

This commit fixes the last of the known problems.
So it's ready for release, except for adding docs.
I'll be adding docs over the next week anyway.


SVN revision: 65136
2011-11-13 17:58:11 +00:00
David Walter Seikel b9ad691a14 Rearrange things again to make Doxygen and compiler happy.
SVN revision: 65102
2011-11-12 19:39:01 +00:00
David Walter Seikel 5b1b248dfc A few basic docs, just to show the sort of structure I'm aiming for.
I don't know doxygen, and doxygen don't seem to quite understand what I want.
Which is to document the lua side of things, but having the docs near the C 
functions that define them.  Help me out please doxygen experts.

Note the problem with edje:rect().

Or I could just write one big blob.  Ewwww.



SVN revision: 65097
2011-11-12 14:33:08 +00:00
David Walter Seikel b71734ffdf Rearrange the source code. No functional changes.
SVN revision: 65094
2011-11-12 10:42:56 +00:00
David Walter Seikel 3aba54fd04 More boiler, less plate.
SVN revision: 65086
2011-11-12 04:11:25 +00:00
David Walter Seikel d995ed6c58 Oops, fixor the bools.
SVN revision: 65085
2011-11-12 02:31:09 +00:00
David Walter Seikel a6c3bf6305 Generic functions for grabbing arguments, possibly out of a table,
and returning a table of results.

This replaces a whole host of specialised functions, and gives some flexibility.

As promised, I did not forget about the const castings, they went away as expected.


SVN revision: 65084
2011-11-12 02:23:33 +00:00
David Walter Seikel 7081c47b6e Add some inheritance.
SVN revision: 65079
2011-11-11 21:32:15 +00:00
David Walter Seikel d8abb0f237 Sandbox the edje file setting.
Patch up the argument getting for image setting.
Still not sandboxing the image setting, that's a pain.


SVN revision: 65072
2011-11-11 18:11:10 +00:00