Commit Graph

20119 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 8a4d83506b efl/ecore: remove check glib-always x g_main_loop as it does not make sense.
if we use g_main_loop we're always integrated with glib main loop, not
conflicting/exclusive.




SVN revision: 80384
2012-12-06 19:48:34 +00:00
Gustavo Sverzut Barbieri bdbf2171fe efl/evas: simplify dither mask handling.
* a single option --with-evas-dither-mask=TYPE (big, small, line or none).

 * make a wise decision to fallback to small dither mask for
   conversions that do not support "no-dither" or "line". Before if
   you did not specify it would fallback to big (128x128).



SVN revision: 80383
2012-12-06 19:44:11 +00:00
Bruno Dilly 9654cf13f0 edje: clean header: remove random blank lines and indent
Remove blocks of blank lines and fix perspective part indenting



SVN revision: 80382
2012-12-06 19:37:07 +00:00
Bruno Dilly 14cf9fe3f7 edje: support forces using programs / script
Implement actions:
  * PHYSICS_FORCE
  * PHYSICS_TORQUE
  * PHYSICS_FORCES_CLEAR

and embryo script functions:
  * physics_force
  * physics_torque
  * physics_forces_clear
  * physics_forces_get
  * physics_torques_get



SVN revision: 80381
2012-12-06 19:20:07 +00:00
Bruno Dilly 70068d16a3 edje: remove impulse member of edje program
Most of the programs related to physics will use 3 vector
components (double). Let's share them.



SVN revision: 80380
2012-12-06 19:19:53 +00:00
Bruno Dilly de5dac1a09 edje: use switch instead of N if-else with same commands
SVN revision: 80373
2012-12-06 16:59:07 +00:00
Bruno Dilly 9f3c938c9c edje: support torque impulse (action and embryo script)
SVN revision: 80372
2012-12-06 16:58:58 +00:00
Leandro Dorileo d82e901802 efl: proper use of AC_DEFINE_IF for HAVE_NOTIFY_WIN32 definition
--This line, and those below, will be ignored--


SVN revision: 80371
2012-12-06 16:22:20 +00:00
Carsten Haitzler 047db8f450 without this i end up with a configure that does:
configure: updating cache config.cache
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in'
make: *** No targets specified and no makefile found.  Stop.

autoheader is unhappy:

autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoheader: warning: missing template: HAVE_NOTIFY_WIN32
autoheader: Use AC_DEFINE([HAVE_NOTIFY_WIN32], [], [Description])
autoreconf: /usr/bin/autoheader failed with exit status: 1



SVN revision: 80368
2012-12-06 16:08:07 +00:00
Gustavo Sverzut Barbieri 9755ed62d5 efl: note libc 2.4 is required to provide sys/inotify.h
SVN revision: 80365
2012-12-06 14:16:41 +00:00
Gustavo Sverzut Barbieri c352b7772a efl: remove sdl-primitive, not used anymore.
nobody was using ENGINE_SDL_PRIMITIVE in code, and as cedric said it
shouldn't be used anymore.



SVN revision: 80363
2012-12-06 14:06:45 +00:00
Gustavo Sverzut Barbieri a77f0bdb80 efl: remove want_poll.
SVN revision: 80362
2012-12-06 13:58:32 +00:00
Gustavo Sverzut Barbieri 62bb4646c9 efl/ecore_file: refactor to be more like eio in providing backends.
instead of the previous mess, just define the functions with common
names and call the backend that was compiled in, similar to what eio
does.

also do not be silent on errors, use eina_safety_checks to issue warnings.



SVN revision: 80360
2012-12-06 13:38:34 +00:00
Gustavo Sverzut Barbieri 6a5eaacc6a efl: common inotify checks, simplified.
Another try to make inotify checks more common.

This time uses AC_CHECK_HEADERS() as for others, that already define
HAVE_SYS_INOTIFY_H, then uses that.

I still kept AM_CONDITIONAL([HAVE_INOTIFY]) because I plan to convert
ecore_file to the same, smarter, method that is used in eio (compiling
the file depending on the backend.



SVN revision: 80358
2012-12-06 13:02:59 +00:00
Eduardo de Barros Lima e3178a936d Reverting 80354: "Avoid calling test so many times. Use -a/-o instead."
SVN revision: 80357
2012-12-06 13:01:21 +00:00
Eduardo Lima (Etrunko) a46d793b24 Avoid calling test so many times. Use -a/-o instead.
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>



SVN revision: 80354
2012-12-06 12:26:52 +00:00
Gustavo Sverzut Barbieri f8dd49ded4 efl: ecore thread safety (remove option, keep code, add instructions).
* remove the option, as it shouldn't really exist.

 * keep code, as requested by Cedric, someone may fix it someday. And
   the default is the DISABLED, as the enable was broken.

 * Add instructions on how to solve the problem, if a brave folk is up
   to it.



SVN revision: 80352
2012-12-06 12:18:24 +00:00
Daniel Willmann c6d1839a22 efl: Fix display of source files when making coverage
Probably due to the merge the base directory for the sources now needs
to be specified.

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 80338
2012-12-06 10:56:13 +00:00
Aharon Hillel 4b801a124a Edje_pick Fix
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 80305
2012-12-06 07:54:54 +00:00
Vincent Torri 8e1879ade9 inotify: revert : i want to keep autotools **modularized**. Instead, use in Eio what has been detected in Ecore_File.
SVN revision: 80298
2012-12-06 07:23:50 +00:00
Cedric BAIL 1a3bb9f009 efl: revert r80290 as it bork the world.
SVN revision: 80296
2012-12-06 03:02:47 +00:00
Cedric BAIL 2def8f1f1e efl: now that we have a global SSL/Crypto flags, don't advertise per lib result.
SVN revision: 80295
2012-12-06 02:39:01 +00:00
Cedric BAIL 7396a53bb4 efl: update module path to reflect current state.
Patch by Jérémy Zurcher <jeremy@asynk.ch>.


SVN revision: 80294
2012-12-06 01:58:15 +00:00
Cedric BAIL 74872a4d09 efl: let Ecore_EVas_Extn link with Ecore_Ipc as needed.
I think some people earned a borker badge here :-)


SVN revision: 80293
2012-12-06 01:55:42 +00:00
Gustavo Sverzut Barbieri 9d93fc18da efl: simplify inotify by moving it to common.
also deprecate very ancient inotify usage by direct syscall.



SVN revision: 80292
2012-12-06 00:57:29 +00:00
Gustavo Sverzut Barbieri 5575c36c4e efl: local and abstract sockets are platform dependent, not an option.
SVN revision: 80291
2012-12-06 00:35:14 +00:00
Gustavo Sverzut Barbieri 2731721d50 efl: thread safety by default.
it's better to test this case and make it the only one and make it
work, than have two options that may not work.



SVN revision: 80290
2012-12-06 00:30:46 +00:00
Gustavo Sverzut Barbieri d69c4b6208 efl: ipv6 is always enabled if detected in the platform.
SVN revision: 80289
2012-12-06 00:21:03 +00:00
Gustavo Sverzut Barbieri 48120ec0c8 efl: both eet and ecore_con now share --with-crypto and defines.
* rename USE_GNUTLS and USE_OPENSSL to HAVE_GNUTLS and HAVE_OPENSSL
   in ecore_con, to match other modules such as Eet.

 * define requirements_pc_crypto, requirements_pc_deps_crypto and
   requirements_libs_crypto so modules can use that.

 * move to a common check section.



SVN revision: 80288
2012-12-06 00:11:14 +00:00
Gustavo Sverzut Barbieri 511d8e8672 efl/eet: bumped requirement for gnutls >= 2.11 thus remove legacy code.
SVN revision: 80287
2012-12-05 23:44:45 +00:00
Gustavo Sverzut Barbieri c9da182a47 efl: bump gnutls requirement version to 2.11 (released 2010-07-22)
this (already ancient!) version provides all symbols we need, then
bump version and stop doing those weirdo checks.



SVN revision: 80286
2012-12-05 23:33:14 +00:00
Gustavo Sverzut Barbieri 4401a7a904 efl: do not AC_SUBST([CFLAGS]), it's already done.
SVN revision: 80285
2012-12-05 23:19:41 +00:00
Gustavo Sverzut Barbieri 65bd780c3b efl: turn cpu extensions detection into generic section, simplify a bit.
* remove EVAS_ prefix as it may be used by other libs some day.

 * SSE3 is detected at runtime if x86.

 * remove AC_SUBST([altivec_cflags]) as it was not being used anywhere.

 * moved to top of file (maybe position is not optimal, let's wait
   vtorri to review)

 * simplified single-line summary that is as informative as before.



SVN revision: 80284
2012-12-05 23:18:59 +00:00
Carsten Haitzler 7b7a611805 if you are going to use symbols implicitly from a module provided by a
lib.. you have to EAPI them!



SVN revision: 80283
2012-12-05 23:11:46 +00:00
Flavio Vinicius Alvares Ceolin ad7579c129 ecore_evas: Make the engines loadable modules
Implementing support for loadables modules. It makes the engines been
loaded when they are needed. It not breakes the api, so each engine
still has its own api.

The implementation basically is:

* Functions that creates Ecore_Evas, for example
  ecore_evas_software_x11_new, request to load its module and then get
  the module's function to create the Ecore_Evas.
* The other functions such as \(.*\)_window_get from the Ecore_Evas
  its interface and then call the appropriate method.
* As there is no unified interface to communicate with the engines
  (not break api problem), all interfaces were declared in
  ecore_evas_private.h
* Now the data necessary for each module is not declared in the
  Ecore_Evas_Engine structure, instead of this, the struct has a void
  pointer that is used by the modules.
* In this first moment engines as software_x11 and gl_x11 were put
  together in the same module, but obviously exporting all the things
  necessary.


SVN revision: 80280
2012-12-05 21:15:42 +00:00
Bruno Dilly 8783eb70bb edje: support applying impulse via script
SVN revision: 80279
2012-12-05 21:09:18 +00:00
Bruno Dilly ebf6290be7 edje: support new action: PHYSICS_IMPULSE
It will apply a central impulse over a body's part.



SVN revision: 80278
2012-12-05 19:30:08 +00:00
Bruno Dilly 31d4de28f3 edje: keep real part geometry updated
Using a callback for body and world update events for that.
It will make it possible to set parts to be relative
to parts that have a physics body.



SVN revision: 80277
2012-12-05 19:30:00 +00:00
Bruno Dilly c6eac0ed78 edje: make it possible to not reset body position on
state changes

To make it possible, a flag was added: ignore_part_position.
Enabled by default, it will let part position be update
only by physics calculatios. If the body is intended to be
moved when state is changed, the flag must to be explicitely
disabled.
It is required otherwise all the states would inherit position
from "default" and reset body's position.



SVN revision: 80276
2012-12-05 19:29:54 +00:00
Bruno Dilly 3038f33e82 edje: parts with bodies aren't move at each recalc
Otherwise at each recalc they will be moved to initial position
again.



SVN revision: 80275
2012-12-05 19:29:33 +00:00
Bruno Dilly f9293909d9 ephysics: add event WORLD_UPDATE
SVN revision: 80274
2012-12-05 19:27:53 +00:00
Vincent Torri 1a2daa057d add eio example and fix ecore_fb linking
SVN revision: 80273
2012-12-05 18:10:43 +00:00
Rafael Antognolli 8ea3c29132 ecore/wayland_egl: Remove image_mask_create from this engine too.
SVN revision: 80267
2012-12-05 16:33:46 +00:00
Rafael Antognolli 2370420e60 ecore/wayland: Don't check for ecore-wayland before even building it.
Actually, this variable wasn't being set on any other backend, so I just
removed it from wayland-egl. I guess it was just a copy & paste typo
when merging ecore into the EFL tree.

SVN revision: 80266
2012-12-05 16:33:42 +00:00
Rafael Antognolli 518982f15c ecore: Don't check ecore-con dependencies if there are none.
"pkg-config --exists <none>" will return false, thus failing the
configure phase. Not sure if building ecore-con without curl makes sense
though.

SVN revision: 80265
2012-12-05 16:33:37 +00:00
Daniel Willmann 25b5182172 efl: Actually run the ecore test suite on make check
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 80264
2012-12-05 16:24:44 +00:00
Daniel Willmann 5f81e0226d Make ecore examples compile again
Including ECORE_LIBS in LDADD is not enough, we have to include the
relevant libs from efl as well (eina, evas, ...)

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>

SVN revision: 80260
2012-12-05 15:28:10 +00:00
Gustavo Sverzut Barbieri bb0e4d65ed efl/ecore_evas: move more removed/deprecated stuff to own file and mark.
x11-16, x11-8, xrender were also removed but not marked as EINA_DEPRECATED.

move those to ecore_evas_deprecated.c file.



SVN revision: 80255
2012-12-05 14:09:49 +00:00
Gustavo Sverzut Barbieri 1227340c12 efl/ecore_evas: move deprecated functions to separate file, mark them.
mark every deprecated function with EINA_DEPRECATED.

move them to a separate file so we can easily delete them in future.



SVN revision: 80253
2012-12-05 13:59:09 +00:00
Gustavo Sverzut Barbieri a332d1c869 efl/evas: remove mask of non-rectangle objects.
it was broken and mostly disabled, so now we do remove it in the hope
who does that next time, does it properly.



SVN revision: 80252
2012-12-05 13:52:59 +00:00