platform/upstream/efl.git
12 years agomerge: add infra for evil
Vincent Torri [Tue, 11 Sep 2012 16:04:21 +0000 (16:04 +0000)]
merge: add infra for evil

SVN revision: 76463

12 years agoEvil: rename variables
Vincent Torri [Tue, 11 Sep 2012 15:54:23 +0000 (15:54 +0000)]
Evil: rename variables

SVN revision: 76462

12 years agouse less memory at runtime with real part structs. actual savings are
Carsten Haitzler [Tue, 11 Sep 2012 13:14:51 +0000 (13:14 +0000)]
use less memory at runtime with real part structs. actual savings are
about 25%.

SVN revision: 76460

12 years agoEcore: Update changelog ;)
Christopher Michael [Tue, 11 Sep 2012 11:43:29 +0000 (11:43 +0000)]
Ecore: Update changelog ;)

SVN revision: 76456

12 years agoformatting
Mike Blumenkrantz [Tue, 11 Sep 2012 11:43:17 +0000 (11:43 +0000)]
formatting
seriously, who breaks this shit?

SVN revision: 76455

12 years agoEcore_X: Fix more memcpy madness causing problems in randr. This fixes
Christopher Michael [Tue, 11 Sep 2012 11:41:26 +0000 (11:41 +0000)]
Ecore_X: Fix more memcpy madness causing problems in randr. This fixes
crtc_possible_outputs_get and crtc_outputs_get.

SVN revision: 76454

12 years agoedje: don't strcmp ith NULL.
Cedric BAIL [Tue, 11 Sep 2012 08:15:33 +0000 (08:15 +0000)]
edje: don't strcmp ith NULL.

SVN revision: 76449

12 years agoedje: recycle and use less memory during load time.
Cedric BAIL [Tue, 11 Sep 2012 07:30:22 +0000 (07:30 +0000)]
edje: recycle and use less memory during load time.

SVN revision: 76445

12 years agoedje: silent compiler warning.
Cedric BAIL [Tue, 11 Sep 2012 06:57:50 +0000 (06:57 +0000)]
edje: silent compiler warning.

SVN revision: 76440

12 years agoedje: oops typo.
Cedric BAIL [Tue, 11 Sep 2012 06:53:32 +0000 (06:53 +0000)]
edje: oops typo.

SVN revision: 76439

12 years agoemotion: actually theme.edj depend on theme.edc.
Cedric BAIL [Tue, 11 Sep 2012 06:46:45 +0000 (06:46 +0000)]
emotion: actually theme.edj depend on theme.edc.

SVN revision: 76438

12 years agoedje: O(1) access time for edje_cc_handler parameter.
Cedric BAIL [Tue, 11 Sep 2012 04:38:50 +0000 (04:38 +0000)]
edje: O(1) access time for edje_cc_handler parameter.

This give another 10% speed improvements (and also reduce massively
memory allocation as we do it once for one array instead of thousand
of time per list of parameters).

SVN revision: 76433

12 years agoedje: another O(1) lookup, but for alias of group.
Cedric BAIL [Tue, 11 Sep 2012 04:10:13 +0000 (04:10 +0000)]
edje: another O(1) lookup, but for alias of group.

This give a small 10% benefit on Tizen theme.

SVN revision: 76428

12 years agoedje: O(1) lookup for all access to Part_Lookup structure in edje_cc.
Cedric BAIL [Tue, 11 Sep 2012 03:39:27 +0000 (03:39 +0000)]
edje: O(1) lookup for all access to Part_Lookup structure in edje_cc.

This will give a major boost of performance for all insanely huge theme
you try to compile. Get down from 13s to 4s. Still some room for improvement.

SVN revision: 76427

12 years agoedje: remove useless check of alloca return.
Cedric BAIL [Tue, 11 Sep 2012 03:37:40 +0000 (03:37 +0000)]
edje: remove useless check of alloca return.

SVN revision: 76426

12 years agoeina: be green and recycle memory needed by Eina_Rbtree iterator.
Cedric BAIL [Tue, 11 Sep 2012 03:37:10 +0000 (03:37 +0000)]
eina: be green and recycle memory needed by Eina_Rbtree iterator.

SVN revision: 76425

12 years agoecore_con_url: Better handling of timeout messages
Leandro Pereira [Mon, 10 Sep 2012 19:06:29 +0000 (19:06 +0000)]
ecore_con_url: Better handling of timeout messages

Timeout messages are given a 408 HTTP status code (request timeout), instead
of a CRIT() message; this gives chance to the completed callback do whatever
is necessary when a timeout happens.

SVN revision: 76419

12 years agoeina/module: Rephrase warnings message on module init.
Stefan Schmidt [Mon, 10 Sep 2012 14:09:48 +0000 (14:09 +0000)]
eina/module: Rephrase warnings message on module init.

Thsi will also fail if the symbol is there but the init function just fails
to deliver EINA_TRUE. After to much digging and wondering why dlsymb and
dlopen don't behave Daniel was able to point out to me that this warning also
gets shown if init fails.

Adjust the warning message to avoid others spending to much time on this as well.

SVN revision: 76409

12 years agoEcore_X: Actually, we can still retrieve crtcs without returning Count
Christopher Michael [Mon, 10 Sep 2012 12:28:17 +0000 (12:28 +0000)]
Ecore_X: Actually, we can still retrieve crtcs without returning Count
of them. Fix (very very minor, imo not worthy of a changelog entry).

SVN revision: 76400

12 years agoEcore: Ooops, wrong date for ChangeLog entry. Fix.
Christopher Michael [Mon, 10 Sep 2012 12:25:29 +0000 (12:25 +0000)]
Ecore: Ooops, wrong date for ChangeLog entry. Fix.

SVN revision: 76398

12 years agoEcore: Update ChangeLog for recent ecore_x fix.
Christopher Michael [Mon, 10 Sep 2012 12:21:04 +0000 (12:21 +0000)]
Ecore: Update ChangeLog for recent ecore_x fix.

SVN revision: 76396

12 years agoEcore_X (randr): Correctly list crtcs also (same fix as outputs).
Christopher Michael [Mon, 10 Sep 2012 10:46:07 +0000 (10:46 +0000)]
Ecore_X (randr): Correctly list crtcs also (same fix as outputs).

SVN revision: 76392

12 years agoblock-handle--! not needed/wanted in upstream
Carsten Haitzler [Mon, 10 Sep 2012 09:51:31 +0000 (09:51 +0000)]
block-handle--! not needed/wanted in upstream

SVN revision: 76387

12 years agoEdje: Obj is UNUSED in this function (and cleanup the other __UNUSED__
Christopher Michael [Mon, 10 Sep 2012 08:03:22 +0000 (08:03 +0000)]
Edje: Obj is UNUSED in this function (and cleanup the other __UNUSED__
here...should be After the param).

SVN revision: 76372

12 years agoEdje: edje_fetch can return NULL so we should check that we have a
Christopher Michael [Mon, 10 Sep 2012 08:00:59 +0000 (08:00 +0000)]
Edje: edje_fetch can return NULL so we should check that we have a
valid edje from the parent before trying to use it.

SVN revision: 76371

12 years agoecore_imf: Add ECORE_IMF_PREEDIT_TYPE_SUB4~7 style
Jihoon Kim [Mon, 10 Sep 2012 04:48:28 +0000 (04:48 +0000)]
ecore_imf: Add ECORE_IMF_PREEDIT_TYPE_SUB4~7 style

SVN revision: 76367

12 years agoeio: Fix monitor shutdown when main loop did never run.
Cedric BAIL [Mon, 10 Sep 2012 01:52:39 +0000 (01:52 +0000)]
eio: Fix monitor shutdown when main loop did never run.

SVN revision: 76365

12 years agoexamples: fix codegen automake.
Gustavo Sverzut Barbieri [Mon, 10 Sep 2012 00:59:20 +0000 (00:59 +0000)]
examples: fix codegen automake.

we need to define BUILT_SOURCES and also
nodist_edje_codegen_example_SOURCES, then we do not need a clean-local
rule.

SVN revision: 76362

12 years agoedje shouldn't automagically detect dependencies.
Gustavo Sverzut Barbieri [Mon, 10 Sep 2012 00:31:16 +0000 (00:31 +0000)]
edje shouldn't automagically detect dependencies.

distros such as gentoo will rely on actual wanted dependencies and it
sucks to not have a way to forcefully enable or disable a dependency.

Scenario:
 - user installed eio for some weird reason.
 - user compiles edje, which was finding eio. Without user desire.
 - user removes eio because it's not needed anymore.
 - edje is broken.

Most systems will not have this problem because the package is built
on a pristine system where all dependencies are installed, then the
package is compiled and is impossible to have the user to do such
thing. Not on gentoo and others.

And this commit has a second benefit to disable eio until it's
properly fixed for edje_codegen :-)

SVN revision: 76361

12 years agoedje examples: build using local binaries, not system binaries.
Gustavo Sverzut Barbieri [Mon, 10 Sep 2012 00:06:57 +0000 (00:06 +0000)]
edje examples: build using local binaries, not system binaries.

SVN revision: 76360

12 years agoExplicit eio dependency plus new bin file.
Rui Seabra [Sun, 9 Sep 2012 22:43:52 +0000 (22:43 +0000)]
Explicit eio dependency plus new bin file.

SVN revision: 76357

12 years agoEo: add libcheck test
Vincent Torri [Sun, 9 Sep 2012 11:11:40 +0000 (11:11 +0000)]
Eo: add libcheck test

SVN revision: 76354

12 years agoEo: let's see if Tom likes this check rule
Vincent Torri [Sun, 9 Sep 2012 10:09:02 +0000 (10:09 +0000)]
Eo: let's see if Tom likes this check rule

SVN revision: 76353

12 years agoEo: use the 'check' rule to build the tests
Vincent Torri [Sun, 9 Sep 2012 09:06:31 +0000 (09:06 +0000)]
Eo: use the 'check' rule to build the tests

SVN revision: 76352

12 years agoEo: missing file
Vincent Torri [Sun, 9 Sep 2012 07:08:43 +0000 (07:08 +0000)]
Eo: missing file

SVN revision: 76351

12 years agoEo: more dos2unix
Vincent Torri [Sun, 9 Sep 2012 07:03:17 +0000 (07:03 +0000)]
Eo: more dos2unix

SVN revision: 76350

12 years agoEO: dos2unix the toplevel Makefile.am
Vincent Torri [Sun, 9 Sep 2012 06:56:11 +0000 (06:56 +0000)]
EO: dos2unix the toplevel Makefile.am

SVN revision: 76348

12 years agoecore: Ecore_Con_Eet reset size when receiving an Eet_Data.
Cedric BAIL [Sat, 8 Sep 2012 16:12:34 +0000 (16:12 +0000)]
ecore: Ecore_Con_Eet reset size when receiving an Eet_Data.

SVN revision: 76345

12 years agoreally minor improvement - detect llvmpipe as a software renderer and
Carsten Haitzler [Sat, 8 Sep 2012 14:31:18 +0000 (14:31 +0000)]
really minor improvement - detect llvmpipe as a software renderer and
blacklist it. :)

SVN revision: 76344

12 years agoEina: add EINA_UNUSED on Windows. Should be in eina_types.h instead
Vincent Torri [Sat, 8 Sep 2012 09:15:17 +0000 (09:15 +0000)]
Eina: add EINA_UNUSED on Windows. Should be in eina_types.h instead

SVN revision: 76341

12 years agoedje_codegen: cleanup
Vincent Torri [Sat, 8 Sep 2012 08:52:49 +0000 (08:52 +0000)]
edje_codegen: cleanup

SVN revision: 76340

12 years agoclean++
Vincent Torri [Sat, 8 Sep 2012 08:41:52 +0000 (08:41 +0000)]
clean++

SVN revision: 76339

12 years agoEdje: clean up autotools
Vincent Torri [Sat, 8 Sep 2012 08:40:36 +0000 (08:40 +0000)]
Edje: clean up autotools

SVN revision: 76338

12 years agoEcore_File: Fix readlink usage in ecore_file.
Vincent Torri [Sat, 8 Sep 2012 06:21:42 +0000 (06:21 +0000)]
Ecore_File: Fix readlink usage in ecore_file.

SVN revision: 76330

12 years agoEo: add autotools tests. I have plenty of errors with the unit tests on Windows
Vincent Torri [Fri, 7 Sep 2012 21:56:44 +0000 (21:56 +0000)]
Eo: add autotools tests. I have plenty of errors with the unit tests on Windows

SVN revision: 76323

12 years agoeo: copy/paste error
Vincent Torri [Fri, 7 Sep 2012 18:58:35 +0000 (18:58 +0000)]
eo: copy/paste error

SVN revision: 76319

12 years agoFix compilation on Windows
Vincent Torri [Fri, 7 Sep 2012 18:56:49 +0000 (18:56 +0000)]
Fix compilation on Windows

SVN revision: 76318

12 years agoedje_codegen: Making the example uses the new object get
Flavio Ceolin [Fri, 7 Sep 2012 15:41:22 +0000 (15:41 +0000)]
edje_codegen: Making the example uses the new object get
 function

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>

SVN revision: 76315

12 years agoedje_codegen: Improving the generated code
Flavio Ceolin [Fri, 7 Sep 2012 15:40:26 +0000 (15:40 +0000)]
edje_codegen: Improving the generated code

Adding a new function that creates the edje object and set
the edj file.

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>

SVN revision: 76314

12 years agoEcore: Update ChangeLog and NEWS for Vince.
Christopher Michael [Fri, 7 Sep 2012 13:22:16 +0000 (13:22 +0000)]
Ecore: Update ChangeLog and NEWS for Vince.

SVN revision: 76308

12 years agoEcore_X (RandR): Fix long outstanding randr bug which caused
Christopher Michael [Fri, 7 Sep 2012 13:12:30 +0000 (13:12 +0000)]
Ecore_X (RandR): Fix long outstanding randr bug which caused
ecore_x_randr to not work for pretty much everyone. Short version,
don't memcpy something potentially Larger into something Certainly
smaller. (read on for the details).

NB: This 'should' fix all the randr problems in ecore_x (tho I have
not tested Everything).

NB: Ok, here goes:
    XRRGetScreenResources returns a struct. Inside that struct is a
    list of RROutputs.

    RROutput is defined as (from randrproto.h):
      #define RROutput CARD32

    CARD32 is defined as (from X11/Xmd.h):
      # ifdef LONG64
        typedef unsigned long CARD64;
        typedef unsigned int CARD32;
      # else
        typedef unsigned long CARD32;
      # endif
    so CARD32 can change based on the system (32/64 bit).

    Ecore_X_Randr_Output is defined as (Ecore_X.h):
       typedef Ecore_X_ID Ecore_X_Randr_Output;
       (for reference: typedef unsigned int Ecore_X_ID)

    Double bonus points if you have already spotted the problem !! ;)

SVN revision: 76306

12 years agovincent - try this on windows.
Carsten Haitzler [Fri, 7 Sep 2012 10:12:50 +0000 (10:12 +0000)]
vincent - try this on windows.

SVN revision: 76293

12 years agoevas/gl_common - simpler code
ChunEon Park [Fri, 7 Sep 2012 08:31:19 +0000 (08:31 +0000)]
evas/gl_common - simpler code

SVN revision: 76289

12 years agofix evas map leak.
Carsten Haitzler [Fri, 7 Sep 2012 08:02:32 +0000 (08:02 +0000)]
fix evas map leak.

SVN revision: 76286

12 years agofix image alpha set bug.
Carsten Haitzler [Fri, 7 Sep 2012 05:57:22 +0000 (05:57 +0000)]
fix image alpha set bug.

SVN revision: 76277

12 years agoeina eina_list.h: Fixed documentation. Special thanks to Sungho Kwak for spotting...
Daniel Juyung Seo [Fri, 7 Sep 2012 05:53:36 +0000 (05:53 +0000)]
eina eina_list.h: Fixed documentation. Special thanks to Sungho Kwak for spotting this out.

SVN revision: 76276

12 years agoreally minor fix - to invalidate cache on memfile set.. set to not has
Carsten Haitzler [Fri, 7 Sep 2012 05:27:55 +0000 (05:27 +0000)]
really minor fix - to invalidate cache on memfile set.. set to not has
cur alpha then the cur alpha flag! :)

SVN revision: 76275

12 years agoedje : fixed a doc.
WooHyun Jung [Fri, 7 Sep 2012 05:19:28 +0000 (05:19 +0000)]
edje : fixed a doc.

SVN revision: 76274

12 years agoedje : Just fixed a doc.
WooHyun Jung [Fri, 7 Sep 2012 05:09:46 +0000 (05:09 +0000)]
edje : Just fixed a doc.

SVN revision: 76273

12 years agoeina eina_convert.c: Fixed formatting.
Daniel Juyung Seo [Fri, 7 Sep 2012 02:39:25 +0000 (02:39 +0000)]
eina eina_convert.c: Fixed formatting.

SVN revision: 76269

12 years agoeina: bug fixes by Sungho Kwak.
Cedric BAIL [Fri, 7 Sep 2012 02:32:59 +0000 (02:32 +0000)]
eina: bug fixes by Sungho Kwak.

Return EINA_FALSE on NULL input as we can't produce valid result.

SVN revision: 76267

12 years agoecore AUTHORS: Added translator Seong-ho Cho to the list of authors. I had to google...
Daniel Juyung Seo [Fri, 7 Sep 2012 02:19:51 +0000 (02:19 +0000)]
ecore AUTHORS: Added translator Seong-ho Cho to the list of authors. I had to google it for his email address though :) Anyhow, thanks.

SVN revision: 76265

12 years agoecore ko.po: Korean translation for ecore. Patch by DarkCircle.
Daniel Juyung Seo [Fri, 7 Sep 2012 01:38:57 +0000 (01:38 +0000)]
ecore ko.po: Korean translation for ecore. Patch by DarkCircle.

http://trac.enlightenment.org/e/ticket/1432
Add Korean translation for the ecore
I've added Korean translation for the ecore into trunk.
please make sure that there is something problem or not, again. thank you

SVN revision: 76264

12 years agoephysics: update TODO
Bruno Dilly [Thu, 6 Sep 2012 17:18:28 +0000 (17:18 +0000)]
ephysics: update TODO

SVN revision: 76255

12 years agoedje: correct NULL check. Happy SeoZ :-)
Cedric BAIL [Thu, 6 Sep 2012 10:05:34 +0000 (10:05 +0000)]
edje: correct NULL check. Happy SeoZ :-)

SVN revision: 76235

12 years agoedje: check NULL :-)
Cedric BAIL [Thu, 6 Sep 2012 10:01:44 +0000 (10:01 +0000)]
edje: check NULL :-)

SVN revision: 76234

12 years agounbreak ecore's ssl connectivity
Mike Blumenkrantz [Thu, 6 Sep 2012 08:14:46 +0000 (08:14 +0000)]
unbreak ecore's ssl connectivity

SVN revision: 76230

12 years agoapparently when using openssl, the prepared flag was never being set for servers
Mike Blumenkrantz [Thu, 6 Sep 2012 08:03:41 +0000 (08:03 +0000)]
apparently when using openssl, the prepared flag was never being set for servers

SVN revision: 76228

12 years agofix super hard to reproduce race condition with ecore-con clients
Mike Blumenkrantz [Thu, 6 Sep 2012 07:34:00 +0000 (07:34 +0000)]
fix super hard to reproduce race condition with ecore-con clients

SVN revision: 76223

12 years agoedje - fix fmtting.
ChunEon Park [Thu, 6 Sep 2012 06:46:51 +0000 (06:46 +0000)]
edje - fix fmtting.

SVN revision: 76219

12 years agoEio: improve path monitoring on Windows
Vincent Torri [Thu, 6 Sep 2012 06:30:29 +0000 (06:30 +0000)]
Eio: improve path monitoring on Windows

Not perfect but i'm fed up with that Windows stuff. I need to work on
something else

SVN revision: 76215

12 years agodescribe about TERMINAL Layout more detail
Jihoon Kim [Thu, 6 Sep 2012 06:01:37 +0000 (06:01 +0000)]
describe about TERMINAL Layout more detail

SVN revision: 76214

12 years agoEobj: don't install benchmark and examples, request from Tom
Vincent Torri [Wed, 5 Sep 2012 22:53:30 +0000 (22:53 +0000)]
Eobj: don't install benchmark and examples, request from Tom

SVN revision: 76209

12 years agoEvas textblock: Fix a small stringshare leak.
Tom Hacohen [Wed, 5 Sep 2012 13:25:12 +0000 (13:25 +0000)]
Evas textblock: Fix a small stringshare leak.

I don't know how this got in. Anyhow, stringshare leaks are hard to spot.

SVN revision: 76197

12 years agoEvas textblock: Fixed format nodes updates for because of style changes.
Tom Hacohen [Wed, 5 Sep 2012 13:02:37 +0000 (13:02 +0000)]
Evas textblock: Fixed format nodes updates for because of style changes.

Thanks a lot to Bluezery for reporting this issue.

SVN revision: 76195

12 years agoEvas magic: Added compiler hints (EINA_UNLIKELY).
Tom Hacohen [Wed, 5 Sep 2012 13:02:33 +0000 (13:02 +0000)]
Evas magic: Added compiler hints (EINA_UNLIKELY).

SVN revision: 76194

12 years agofix crash in ecore_con_ssl when failing to add privkeys/certs with openssl as spotted...
Mike Blumenkrantz [Wed, 5 Sep 2012 12:41:50 +0000 (12:41 +0000)]
fix crash in ecore_con_ssl when failing to add privkeys/certs with openssl as spotted by Guillaume Friloux

SVN revision: 76193

12 years agofix rgab dest alpha rendering issue
Carsten Haitzler [Wed, 5 Sep 2012 10:11:48 +0000 (10:11 +0000)]
fix rgab dest alpha rendering issue

SVN revision: 76188

12 years agoevas: don't change the value of event. That break ABI !
Cedric BAIL [Wed, 5 Sep 2012 09:56:24 +0000 (09:56 +0000)]
evas: don't change the value of event. That break ABI !

SVN revision: 76186

12 years agoedje/map - if user change image size of the image object which is swallwoed and it...
ChunEon Park [Wed, 5 Sep 2012 09:46:09 +0000 (09:46 +0000)]
edje/map - if user change image size of the image object which is swallwoed and it's map is enabled by the edje then edje needs to update it's uv mapping info

SVN revision: 76184

12 years agoEvil: add missing fclose(). Suggested by Maxime Villard
Vincent Torri [Wed, 5 Sep 2012 08:31:41 +0000 (08:31 +0000)]
Evil: add missing fclose(). Suggested by Maxime Villard

SVN revision: 76178

12 years agoedje - fixed typo
ChunEon Park [Wed, 5 Sep 2012 08:08:20 +0000 (08:08 +0000)]
edje - fixed typo

SVN revision: 76175

12 years agoeio: fix typo in previous fix.
Cedric BAIL [Wed, 5 Sep 2012 07:19:30 +0000 (07:19 +0000)]
eio: fix typo in previous fix.

SVN revision: 76170

12 years agoeio: fix typos.
Cedric BAIL [Wed, 5 Sep 2012 07:16:10 +0000 (07:16 +0000)]
eio: fix typos.

SVN revision: 76169

12 years agoedje: fix unitialized buffer.
Cedric BAIL [Wed, 5 Sep 2012 07:15:10 +0000 (07:15 +0000)]
edje: fix unitialized buffer.

SVN revision: 76168

12 years agoedje - use Eina_Bool
ChunEon Park [Wed, 5 Sep 2012 05:38:01 +0000 (05:38 +0000)]
edje - use Eina_Bool

SVN revision: 76163

12 years agoevas/evas_object_image - added EVAS_CALLBACK_IMAGE_RESIZE.
ChunEon Park [Wed, 5 Sep 2012 04:20:42 +0000 (04:20 +0000)]
evas/evas_object_image - added EVAS_CALLBACK_IMAGE_RESIZE.

SVN revision: 76161

12 years agoedje: don't always force anotate in edje_watch.
Cedric BAIL [Wed, 5 Sep 2012 02:44:45 +0000 (02:44 +0000)]
edje: don't always force anotate in edje_watch.

SVN revision: 76158

12 years agoeina: Improve doc of Eina_Inlist macros
Lucas De Marchi [Tue, 4 Sep 2012 22:56:37 +0000 (22:56 +0000)]
eina: Improve doc of Eina_Inlist macros

What a misleading doc we had in these macros!! Improve it:

 * Rename the parameter from "l" to "it", since it's not an Eina_Inlist that we
   are expecting, but rather its container.
 * Better explain each parameter... "second list" is not so good to document
   "list2" param
 * Add doc where it was missing

Finally, add Changelog for the fix in EINA_INLIST_FOREACH_SAFE

SVN revision: 76156

12 years agoephysics: activate all bodies when one is deleted
Bruno Dilly [Tue, 4 Sep 2012 22:42:35 +0000 (22:42 +0000)]
ephysics: activate all bodies when one is deleted

Otherwise it can lead to scenarios when a body 1, below body 2 is deleted
and body 2 will stay freezed in the air. Gravity won't start to
act over it until it's activated again.

SVN revision: 76155

12 years agoephysics: fix unused vars and parameters
Bruno Dilly [Tue, 4 Sep 2012 22:42:28 +0000 (22:42 +0000)]
ephysics: fix unused vars and parameters

SVN revision: 76154

12 years agoephysics: pass evas object associated to body on del
Bruno Dilly [Tue, 4 Sep 2012 22:42:20 +0000 (22:42 +0000)]
ephysics: pass evas object associated to body on del
 event

SVN revision: 76153

12 years agoephysics: fix camera move callback call
Bruno Dilly [Tue, 4 Sep 2012 22:42:10 +0000 (22:42 +0000)]
ephysics: fix camera move callback call

it should be called after moved flag was set to false
otherwise callback functions moving camera won't work correctly

SVN revision: 76152

12 years agoephysics: Warn about bullet build issues
Bruno Dilly [Tue, 4 Sep 2012 22:42:02 +0000 (22:42 +0000)]
ephysics: Warn about bullet build issues

SVN revision: 76151

12 years agoeina: Fix EINA_INLIST_FOREACH_SAFE macro
Lucas De Marchi [Tue, 4 Sep 2012 22:20:25 +0000 (22:20 +0000)]
eina: Fix EINA_INLIST_FOREACH_SAFE macro

EINA_INLIST_FOREACH_SAFE is very broken and it only works by luck, depending on
the __inlist field being the first one in the struct. Until now.

This commit makes the following snippet to work:

#include <Eina.h>

typedef struct _data {
   char *name;
   EINA_INLIST;
} data;

int
main()
{
   Eina_Inlist *inlist = NULL, *inlist_safe;
   data *reg, *d;

   reg = malloc(sizeof(data));
   inlist = eina_inlist_append(inlist, EINA_INLIST_GET(reg));

   EINA_INLIST_FOREACH_SAFE(inlist, inlist_safe, d)
     {
printf("%p\n", d);
inlist = eina_inlist_remove(inlist, EINA_INLIST_GET(d));
free(d);
     }

   return 0;
}

Patch-by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 76150

12 years agoedje_edit: Closing the opened eet_file
Flavio Ceolin [Tue, 4 Sep 2012 21:43:32 +0000 (21:43 +0000)]
edje_edit: Closing the opened eet_file

Closing the file openned in the functions _edje_edit_smart_file_set.
It balances the reference count and avoids the message that the file
is still opened.

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>

SVN revision: 76149

12 years agoedje_codegen: Adding a basic example
Flavio Ceolin [Tue, 4 Sep 2012 21:43:26 +0000 (21:43 +0000)]
edje_codegen: Adding a basic example

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>

SVN revision: 76148

12 years agoedje_codegen: generating source code from edj
Flavio Ceolin [Tue, 4 Sep 2012 21:43:20 +0000 (21:43 +0000)]
edje_codegen: generating source code from edj

Parsing the parts and programs of the specified group and generating
the header/source. Usage:
edje_codegen --prefix myapp_myobj input.edj a_group source.c header.h

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>

SVN revision: 76147

12 years agoedje_codegen: Application skeleton
Flavio Ceolin [Tue, 4 Sep 2012 21:43:12 +0000 (21:43 +0000)]
edje_codegen: Application skeleton

Adding the skeleton of the edje_codegen to the edje
build system.

Patch by: Flavio Ceolin <flavio.ceolin@profusion.mobi>

SVN revision: 76146

12 years agoFormatting
Eduardo de Barros Lima [Tue, 4 Sep 2012 20:38:09 +0000 (20:38 +0000)]
Formatting

SVN revision: 76144