Commit Graph

1452 Commits

Author SHA1 Message Date
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 73c6c34cd6 edje: remove warning when building without Ecore_IMF.
SVN revision: 65440
2011-11-20 14:15:37 +00:00
Cedric BAIL cc02e46a18 edje: fix amalgamation support.
SVN revision: 65439
2011-11-20 14:11:50 +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
Carsten Haitzler ec21190bdc remove commented code now.
SVN revision: 65404
2011-11-19 05:02:00 +00:00
Carsten Haitzler 8ddf9df17b fix propagation to child groups - seems we had src set to null that i
didnt catch when i added it at the end.



SVN revision: 65403
2011-11-19 04:23:27 +00:00
Carsten Haitzler e5667ae16b fix edje object leak if child obj file set fails!!!
SVN revision: 65402
2011-11-19 04:16:32 +00:00
Carsten Haitzler 0fdebe55f5 fix docs to not confuse onefang... :)
SVN revision: 65401
2011-11-19 04:08:55 +00:00
Carsten Haitzler 2966d44f67 fix looping message passing from children back to parent then back to
child, parent etc. due to changes in propagation code.



SVN revision: 65398
2011-11-19 03:24:37 +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
Carsten Haitzler 132dd78a10 formatting fix
SVN revision: 65369
2011-11-18 07:18:19 +00:00
Carsten Haitzler 6b3e23df20 more formatting improvements
SVN revision: 65367
2011-11-18 06:46:51 +00:00
Carsten Haitzler e2fd7e55a3 some formatting fixes.
SVN revision: 65366
2011-11-18 06:40:49 +00:00
Carsten Haitzler a7ffa895ce remove unused code
SVN revision: 65365
2011-11-18 06:32:22 +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
Iván Briano fd9b2d455c Fix building without Ecore_IMF
SVN revision: 65342
2011-11-17 14:07:39 +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
David Walter Seikel 6d9f0ed3dc Actually return the map source.
SVN revision: 65070
2011-11-11 16:34:14 +00:00
David Walter Seikel 6838b5ac07 More generic method of checking the type of userdata object sent to us by lua.
SVN revision: 65068
2011-11-11 16:23:06 +00:00
David Walter Seikel 1c3344d1d1 Actually implement the 5 param version of map:populate.
Plus - let another TODO sneak in.


SVN revision: 65026
2011-11-10 16:59:21 +00:00
Carsten Haitzler e3b7c9b551 try init and shut down remix outside of thread.
SVN revision: 65002
2011-11-10 05:18:43 +00:00
David Walter Seikel 93ff9b01fd Remove something that is never used.
SVN revision: 64969
2011-11-09 04:44:31 +00:00
David Walter Seikel d95ddbfe79 typo -= 2
SVN revision: 64864
2011-11-07 10:18:31 +00:00
David Walter Seikel 98a10bd761 Oops, this one was wrong.
SVN revision: 64860
2011-11-07 08:55:03 +00:00
David Walter Seikel 38853023d5 The other half of the lua map API.
Also fix up some warnings pointed out by Mike Blumenkrantz.

I'm using the "I committed this from my USA server to sneak it past the deadline" excuse.  :-P



SVN revision: 64857
2011-11-07 07:02:02 +00:00
David Walter Seikel 2a0069118b Half of evas map API Added to lua.
The rest is commented, so you can see what the API will look like.
Needs more testing, and the other half.



SVN revision: 64822
2011-11-06 14:59:44 +00:00
David Walter Seikel be0358a4f1 Finally committing my edje lua additions after a long chat with raster on IRC.
Not everything discussed is in this commit, but that will come later today.



SVN revision: 64803
2011-11-06 09:00:21 +00:00
Carsten Haitzler 192139c55e dont use shadow lua obj w,h as it means text objects dont force their
size right and u need extra calls to get them. fix.



SVN revision: 64793
2011-11-06 04:44:13 +00:00