Commit Graph

15168 Commits

Author SHA1 Message Date
Mike McCormack 3331e39a8f eina: Only declare _eina_tracking_lock with thread debugging
Hopefully fixes compilation on windows

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63905
2011-10-07 05:56:51 +00:00
Mike McCormack d1bfb51324 Revert "[Eina] Use Eina_Lock and not pthread. Fix compilation on Windows."
SVN revision: 63877

Reverted due to the following build failure:

eina_main.c:117:16: error: conflicting types for ‘_eina_tracking_lock’
../../src/include/eina_inline_lock_posix.x:83:29: note: previous declaration of ‘_eina_tracking_lock’ was here
make[3]: *** [libeina_la-eina_main.lo] Error 1

_eina_tracking_lock is used for implementation of Eina_Locks, so cannot be an Eina_Lock

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63904
2011-10-07 05:56:43 +00:00
Mike McCormack a409fec3f3 ecore: Update git ignore file
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63902
2011-10-07 05:56:25 +00:00
Christopher Michael f06f66b0a9 Ecore_Evas: Fix building of ecore_evas when ews is disabled.
SVN revision: 63888
2011-10-06 20:54:46 +00:00
Carsten Haitzler 7c7f8803f5 try and make newgl work again... fail! why does glx hate me?
SVN revision: 63885
2011-10-06 15:05:32 +00:00
Carsten Haitzler 837165ed8a no no.. oops. i missed an error!
SVN revision: 63883
2011-10-06 13:46:06 +00:00
Carsten Haitzler bdbfbbd2d3 newgl work.. now.. why?
SVN revision: 63882
2011-10-06 13:45:14 +00:00
Carsten Haitzler ecd5590952 hmm no. lets not make this alpha .. by default eh?
SVN revision: 63881
2011-10-06 13:42:19 +00:00
Carsten Haitzler 82b843d222 only use highp *IF* compiler supports it.
SVN revision: 63880
2011-10-06 13:25:18 +00:00
Vincent Torri 32c2ed673b [Eina] Use Eina_Lock and not pthread. Fix compilation on Windows.
SVN revision: 63877
2011-10-06 06:34:39 +00:00
Carsten Haitzler 37f505d4ce fix resize handling for emotion
SVN revision: 63868
2011-10-06 02:41:24 +00:00
Mike McCormack e5c1e7cc4f evas: remove extra CR
SVN revision: 63867
2011-10-06 02:23:57 +00:00
Gustavo Sverzut Barbieri fc1cf7e259 ews: do not allow resize the window using a mouse.
EWS is meant to run in FB or other systems without actual windows, but
as we test on X11 let's forbid to change the resolution.

One is still able to do it using ecore_evas_ews_setup().



SVN revision: 63860
2011-10-06 00:09:17 +00:00
Gustavo Sverzut Barbieri f51d00e4cf ecore_evas_ews: focus-out may be called during deletion.
SVN revision: 63857
2011-10-05 23:41:39 +00:00
Jim Kukunas 5d45544329 [PATCH] evas: fix typo in LOOP_ALIGNED_U1_A48_SSE3
The old version works because in every function in which
this macro is used ``l'' is the length and ``d'' is the
destination. This patch prevents future headaches when
those constraints no longer hold.

Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63856
2011-10-05 23:41:01 +00:00
Gustavo Sverzut Barbieri 5be92e7d21 ecore_evas_ews: apply modifiers to target evas.
SVN revision: 63855
2011-10-05 23:24:45 +00:00
Gustavo Sverzut Barbieri b136246078 ecore_evas_ews: fixed bug with rendering.
Ouch, did not notice the engines were hardcode to buffer engine, let's
make it generic to the render function of the engine.



SVN revision: 63853
2011-10-05 22:52:41 +00:00
Gustavo Sverzut Barbieri 27bd62e087 ecore_evas_ews: fix focus of inner canvas.
SVN revision: 63852
2011-10-05 22:51:37 +00:00
Vincent Torri f3e531b7a7 Embryo: fix compilation on Windows CE and link with Evil
* use fseek() instead of rewind() as the latter does not exist on Windows CE
* fix compilation with Evil.


SVN revision: 63850
2011-10-05 22:30:16 +00:00
Gustavo Sverzut Barbieri 163272dc48 Welcome EWS - Ecore+Evas Single Process Windowing System.
EWS is a new Ecor_Evas engine that builds on top of other engines. It
will create a backing store Ecore_Evas and ecore_evas_ews_new()
windows are created in it as images, but transparent to the outside
users (similar to buffer's ecore_evas_object_image_new()).

It provides a basic windowing system, with a known background object
that can be changed to your pleasure, and issue Ecore_Events to notify
of new windows and changes like movement, etc. Then you can write a
simple window manager based on it. (See example, Elementary will
contain one as well).

Backing store is determined by your best engine (as in
ecore_evas_new()) or specified with ecore_evas_ews_engine_set() or
environment variable $ECORE_EVAS_EWS (format:
engine-namey:w:h:options). The size can be set with
ecore_evas_ews_setup().



SVN revision: 63848
2011-10-05 22:11:00 +00:00
Vincent Torri 98b3d37f90 Evil: add RTLD_DEFAULT support in dlsym() on Windows CE
SVN revision: 63847
2011-10-05 22:08:13 +00:00
Boris Faure 3e2c4c377e eina: fix r63811
SVN revision: 63846
2011-10-05 21:09:10 +00:00
Vincent Torri 178f862158 fix warning when in UNICODE string format
SVN revision: 63845
2011-10-05 21:06:08 +00:00
Vincent Torri e74bd3d04b oups, too fast.
SVN revision: 63844
2011-10-05 20:34:23 +00:00
Vincent Torri 2c6a86fb6d Evil: add inet_ntop function from c-ares
* src/lib/evil_inet.c:
* src/lib/evil_inet.h:
* AUTHORS:
add inet_ntop() function. Implementation from c-ares library.
See AUTHORS.


SVN revision: 63843
2011-10-05 20:23:24 +00:00
Gustavo Sverzut Barbieri 6ecdda5121 eina: remove couple of warnings
SVN revision: 63842
2011-10-05 20:00:29 +00:00
Vincent Torri 39f6f85798 fir leak in an example. patch by Guillaume 'Kuri' Friloux
SVN revision: 63841
2011-10-05 14:29:40 +00:00
Cedric BAIL a33eccf6e2 evas: fix shader for nv12.
SVN revision: 63835
2011-10-05 10:16:25 +00:00
Carsten Haitzler 27431cacdd oh and compile script missing updates to make shd's... grrr. and nv12
shader bad!



SVN revision: 63832
2011-10-05 09:52:08 +00:00
Cedric BAIL 69a70ef632 emotion: FPS tracking.
SVN revision: 63830
2011-10-05 09:39:32 +00:00
WooHyun Jung fb371c8aa6 evas/evas_object_textblock : When cursor_mode is BEFORE, dir_cur->node
can be NULL. So modified the conditional state.


SVN revision: 63824
2011-10-05 07:29:06 +00:00
Daniel Juyung Seo ec93b2a20a edje edje_cc_handlers.c: Fixed edje_cc bugs about data.item. Patch by Jaehwan Kim <jae.hwan.kim@samsung.com>
2011/9/30 Jaehwan Kim <jae.hwan.kim@samsung.com>:
>
> I found some bugs in edje_cc_handlers.c.
>
> One is about data.item. It is saved in hash list.
> When it is saved, I freed the memory of the key.
> But the memory is used. so I deleted the free(key).
>
> Second is it is possible in
st_collections_group_parts_part_description_state.
> So I changed the location of the conditional statement.
>
> Please apply this patch :)
>
> Jaehwan Kim.


SVN revision: 63822
2011-10-05 06:37:06 +00:00
Cedric BAIL 7c5cbe6e3d emotion: some docs.
SVN revision: 63820
2011-10-05 02:54:27 +00:00
Christopher Michael 2dde82d216 Ecore_X(cb): Return correct screen from ecore_x_screen_get
SVN revision: 63818
2011-10-05 00:52:02 +00:00
Cedric BAIL a3d4b58959 emotion: forgotten svn add...
SVN revision: 63816
2011-10-04 22:46:54 +00:00
Christopher Michael a4b22379b0 Ecore_X(cb): Readd missing connection checks.
SVN revision: 63813
2011-10-04 21:54:36 +00:00
Christopher Michael ed291bafe1 Ecore_X(cb): Fix randr code to work with randr 12 or 13.
NB: This fixes the slow startup times that some people have reported
when using certain drivers (intel, nouveau, etc).



SVN revision: 63812
2011-10-04 21:47:49 +00:00
Boris Faure e708e12fa9 eina: eina_strbuf_append_length(sb, s, 0) is possible
also fix typo in doc, remove a trailing space and myself to authors

SVN revision: 63811
2011-10-04 20:47:15 +00:00
Christopher Michael 4f4407578d Edje: Stop deleting important m4 files on make maintainer-clean. These
m4's come from svn and should not be removed on a maintainer-clean.



SVN revision: 63809
2011-10-04 15:17:51 +00:00
WooHyun Jung 006c18a7e1 edje/edje_entry : When CURSOR_MODE_BEFORE, the width of cursor edje
object should be considered.


SVN revision: 63806
2011-10-04 11:40:52 +00:00
Carsten Haitzler 4ddeed5933 all shaders -> use high precision not medium to avoid rounding errors.
SVN revision: 63804
2011-10-04 11:21:22 +00:00
Cedric BAIL 35c9a8f56c emotion: make Xv work.
NOTE: we need the help of the window manager to make this
really work. So for the moment, it half work. As soon as I
hack E17, the Xv fast path for Emotion will only work when
used with E17 and it will fallback to canvas inlined rendering
in other case.


SVN revision: 63802
2011-10-04 11:14:58 +00:00
Carsten Haitzler 4376c4f995 FIX: allow open of eet files with 0 key entries. this kind of breaks
some usage scenarios.



SVN revision: 63800
2011-10-04 10:03:09 +00:00
Cedric BAIL 8edb994133 evas: cleanup and reorder video function call to be more usable.
SVN revision: 63799
2011-10-04 09:34:01 +00:00
Cedric BAIL 7b33abd685 evas: forgotten commit with since.
SVN revision: 63798
2011-10-04 09:33:40 +00:00
EunMi Lee c6681aa189 From: EunMi Lee <eunmi15.lee@samsung.com>
Subject: [E-devel] [Patch] Evas touch event patch.

Nice to meet you.
I'm Eunmi Lee, developing mobile web browser and working on WebKit EFL port.
I need new type of event for touch, so I've made patch to add
EVAS_CALLBACK_TOUCH event to the evas.

I will explain history of this patch.
Currently, many web applications and sites use TouchEvent and they can
do everything(scrolling, zooming and so on) like native application
using TouchEvent.
So, I'm also want to provide TouchEvent for web in the WebKit EFL port,
but I got a problem during making TouchEvent because EFL's touch
event's structure (Mouse, Multi Event) is different from Web
TouchEvent's one.

Let me explain about Web TouchEvent firstly.
Web TouchEvent is consist of type and touch points list simply.
There are 3 kinds of type.
TouchStart: Happens every time a finger is placed on the screen.
TouchEnd: Happens every time a finger is removed from the screen.
TouchMove: Happens as a finger already placed on the screen is moved
across the screen.
for example, we can make (1 finger starts to touch), (2 fingers are
moving), (1 finger is released duirng 3 fingers are moving) and so on.
You can see the detailed information in the following url:
http://www.sitepen.com/blog/2008/07/10/touching-and-gesturing-on-the-iphone

However, EFL's touch event is consist of six kinds of type :
MOUSE_DOWN, MOUSE_UP, MOUSE_MOVE, MULTI_DOWN, MULTI_UP, MULTI_MOVE.
So, I have to make a converter to make web touch event from EFL's
touch event.
You can reference attatched image file : evas_touch_event.png.

To tell the truth, converting code is not a big one.
But, I want to reduce this additional job and make code simple.
In the WebKit QT port, they don't have to make converting code for
TouchEvent,
because they have QTouchEvent, it has type and touchPoints list and
they can be mapped to Web TouchEvent one by one.
I think iPhone and Android also have such kind of event.

That's all why I want to add new touch event type to the evas.

about my patch:
- EVAS_CALLBACK_TOUCH event is added
- touch_points Eina_List is added to the Evas structure to maintain
current touch lists.
- process MOUSE/MULTI UP, DOWN, MOVE to make TOUCH event.

It is my first time to modify eves codes and actually I don't know too
much about evas.
So, I will be grateful if you send any feedback and comments.




SVN revision: 63796
2011-10-04 07:30:22 +00:00
Cedric BAIL a8d945f0a6 eina: actually sanitize all file inserted in the cache.
SVN revision: 63789
2011-10-04 02:33:45 +00:00
Cedric BAIL 7efc00819a eina: prevent ABI break when turning on/off threads debugging.
SVN revision: 63788
2011-10-04 02:33:00 +00:00
Cedric BAIL d1999e9125 eina: add sub-second resolution correctness.
SVN revision: 63787
2011-10-04 02:04:40 +00:00
Cedric BAIL 49fa59342f eina: forgotten lock in eina_file.
SVN revision: 63786
2011-10-04 01:55:41 +00:00