Commit Graph

15181 Commits

Author SHA1 Message Date
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
Carsten Haitzler 157224ffef jiyoun bug! you didnt fix the hkey string properly.. you set the last
2 chars to o? where ? is "undefined". you set the same string char to
/ then o. fix!



SVN revision: 63785
2011-10-04 01:41:45 +00:00
Rafael Antognolli 9f403ea9eb emotion/examples: Fix more warnings.
SVN revision: 63782
2011-10-03 18:39:28 +00:00
Rafael Antognolli d31851e68c emotion/generic/vlc: Remove more warnings.
SVN revision: 63781
2011-10-03 18:39:23 +00:00
Rafael Antognolli b437af7bd5 emotion/generic: Remove warnings.
Remove unused functions, variables and fix a "return" on a non-void
returning function.

SVN revision: 63780
2011-10-03 18:39:20 +00:00
Rafael Antognolli 923afe9503 emotion/build: Fix DSO build for em_generic_vlc.
SVN revision: 63779
2011-10-03 18:24:12 +00:00
Rafael Antognolli ab80242e86 emotion/generic/vlc: VLC needs to write data somewhere.
It seems that depending on the system, vlc can't use a NULL pointer to
the pixels where it should write its data.

So a small amount of memory should be allocated and passed to its
rendering callbacks (specifically, the lock callback) when the file is
being opened and decoded for the first time. Then this memory can be
freed, since the real rendering will happen on the shared memory area.

SVN revision: 63777
2011-10-03 18:19:48 +00:00
Carsten Haitzler 620d2573f3 so... gcc was optimizing the test out... that sucks! fix. make sure gcc
doesnt know what to do with optimizing and actually compiles the code!



SVN revision: 63775
2011-10-03 16:29:12 +00:00
Tom Hacohen 2729248566 Edje entry: Emit signals on range del and add info to changed,user.
Info added includes: cursor position of the action, content related to the
action, and the action that happened (added/removed).
Also fixed tab insertion to delete the current selection.

SVN revision: 63773
2011-10-03 12:30:40 +00:00
Tom Hacohen 2477b1a048 Edje entry: Do the cheaper if first.
SVN revision: 63772
2011-10-03 12:30:37 +00:00
Tom Hacohen 2c12f4b0a7 Edje signals: Add the ability to provide extra data for signals.
SVN revision: 63771
2011-10-03 12:30:32 +00:00
Cedric BAIL 11108ed17b emotion: forgotten declaration.
SVN revision: 63768
2011-10-03 10:29:04 +00:00
WooHyun Jung 75646ae276 edje/edje_entry : fixed small bugs and warnings
SVN revision: 63766
2011-10-03 08:02:07 +00:00
ChunEon Park 69fc731318 evas/configure.ac - fixed typo.
SVN revision: 63764
2011-10-03 05:06:11 +00:00
Carsten Haitzler 2aed2cf20a isolate sse3 to only its own file, so it only uses -msse3 for that
SVN revision: 63762
2011-10-03 04:44:23 +00:00
Cedric BAIL a57395a623 emotion: first try with xv.
SVN revision: 63759
2011-10-03 03:30:39 +00:00
Cedric BAIL d724205a6e evas: add basic support for video support.
SVN revision: 63758
2011-10-03 03:28:52 +00:00
Youness Alaoui da2fb1b6f5 Ecore-con: Oups, fix ipv6 support in cares support after previous commit misstep
SVN revision: 63755
2011-10-02 23:41:42 +00:00
Boris Faure 08ac7adc32 edje: update ChangeLog
SVN revision: 63754
2011-10-02 21:10:15 +00:00
Boris Faure 56c20bff47 edje: description.max can be -1
also add myself to AUTHORS

SVN revision: 63753
2011-10-02 21:07:54 +00:00
Carsten Haitzler 182a9f9eed ok. sse3 OFF for 32bit builds. as we cant guarantee the compiler and
arch does sse3. the wasy sse3 is done makes this stupidly ugly. so too
bad for 32bit builds - no sse3 for u unless u specifically enable at
build time and then u have a binary that never runs on pre-sse3 chips.



SVN revision: 63745
2011-10-02 11:29:03 +00:00
Carsten Haitzler c31b6a9dcd NO - SSE3... add -msse3.... NO! NEVER!
SVN revision: 63744
2011-10-02 10:57:26 +00:00
Carsten Haitzler de8b0a1137 formatting - space++
SVN revision: 63743
2011-10-02 10:43:17 +00:00
Iván Briano c1287bd741 Work with a static Xlib too
SVN revision: 63742
2011-10-01 18:04:57 +00:00
Carsten Haitzler f054f04d08 bad cedric! broke gl engine!
SVN revision: 63729
2011-09-30 16:18:41 +00:00
Cedric BAIL 0d03abde6b evas: remove warning.
SVN revision: 63728
2011-09-30 15:54:26 +00:00
Cedric BAIL cc71e34616 evas: zero swizzeling code for Samsung platform.
SVN revision: 63727
2011-09-30 15:51:32 +00:00
Cedric BAIL 308cf81312 evas: correctly handle direct mapping of data for non RGBA case.
SVN revision: 63726
2011-09-30 15:43:51 +00:00
Cedric BAIL 9eb6ef192e emotion: don't crash on empty video stream.
SVN revision: 63725
2011-09-30 15:39:16 +00:00
Cedric BAIL d3c4e4fa00 emotion: add some space around.
SVN revision: 63724
2011-09-30 15:37:28 +00:00
Josef Reidinger 37b04168d6 evas: fix make dist
Patch by: Josef Reidinger <jreidinger@suse.cz>



SVN revision: 63723
2011-09-30 13:33:40 +00:00
Jiyoun Park c231bf108b From: Jiyoun Park <jy0703.park@samsung.com>
Subject: [E-devel] [Patch] support Animation gif's disposal mode

I make patch support animation gif disposal mode.

Before, gif loader only decode & render based on previous frame. 

This patch can support "do not dispose mode" & "restore background
mode". 

So It solve after image problem of restore background mode.




SVN revision: 63716
2011-09-30 07:10:40 +00:00
Mike Blumenkrantz 5d4c95d975 fix ambiguous docs and add notes about premultiplied coloring books
SVN revision: 63715
2011-09-30 06:05:33 +00:00
Carsten Haitzler cbb0dcbb3d include config.h - it isnt included.. otherwise we'd have had redefine
warnings....



SVN revision: 63714
2011-09-30 06:04:53 +00:00
Vincent Torri 6c59cdc4f4 fix warning
SVN revision: 63710
2011-09-30 04:14:30 +00:00
Vincent Torri 993fa90cb3 unneeded checks
SVN revision: 63708
2011-09-30 04:04:28 +00:00
Vincent Torri 0861f8edff add Jim Kukunas as authors
SVN revision: 63707
2011-09-30 03:50:30 +00:00
Carsten Haitzler 34ca6b6738 you know.... i was reviewing this patch this morning and i found
several problems with it... but SOMEONE... (lucas) committed it
without even so much as replying to the list saying he was going to...
:)



SVN revision: 63705
2011-09-30 03:29:03 +00:00
Jim Kukunas 24c56344eb evas: enable SSE3 blend functions
Patch by: Jim Kukunas <james.t.kukunas@linux.intel.com>



SVN revision: 63704
2011-09-30 02:37:12 +00:00
Jim Kukunas a058ae7a5e evas: add SSE3 _op_blend_pixel_mask blend functions
_op_blend_p_mas_dp_sse3
_op_blend_pas_mas_dp_sse3
_op_blend_rel_p_mas_dp_sse3

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



SVN revision: 63703
2011-09-30 02:37:02 +00:00
Jim Kukunas e7f1e55f81 evas: add SSE3 op_blend_pixel_color blend functions
_op_blend_p_c_dp_sse3
_op_blend_pan_c_dp_sse3
_op_blend_p_can_dp_sse3
_op_blend_pan_can_dp_sse3
_op_blend_p_caa_dp_sse3
_op_blend_pan_caa_dp_sse3
_op_blend_rel_p_c_dp_sse3

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



SVN revision: 63702
2011-09-30 02:36:51 +00:00
Jim Kukunas a374dd7b35 evas: add SSE3 op_blend_pixel blend functions
_op_blend_p_dp_sse3
_op_blend_pas_dp_sse3
_op_blend_rel_p_dp_sse3
_op_blend_rel_pan_dp_sse3

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



SVN revision: 63701
2011-09-30 02:36:30 +00:00
Jim Kukunas 21991884f4 evas: add SSE3 op_blend_mask_color blend functions
_op_blend_mas_c_dp_sse3
_op_blend_mas_can_dp_sse3
_op_blend_rel_mas_c_dp_sse3

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



SVN revision: 63700
2011-09-30 02:36:15 +00:00
Jim Kukunas 793c7d1031 evas: add SSE3 op_blend_color blend functions
_op_blend_c_dp_sse3
_op_blend_rel_c_dp_sse3

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



SVN revision: 63699
2011-09-30 02:36:01 +00:00
Jim Kukunas 937a5a91f1 evas: add common SSE3 blending functions/macro
mul_256_sse3
sub4_alpha_sse3
interp4_256_sse3
mul_sym_sse3
mul4_sym_sse3
mul3_sym_sse3

LOOP_ALIGNED_U1_A48_SSE3

__attribute__((always_inline)) is needed to coax GCC (< 4.6.0)
into inlining the common blend ops. Not inlining these functions
causes a steep performance penalty.

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



SVN revision: 63698
2011-09-30 02:35:45 +00:00
Jim Kukunas eec4b913ea evas: add SSE3 support
Readme entry
configure --[enable/disable]-cpu-sse3
processor capability test

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



SVN revision: 63697
2011-09-30 02:35:31 +00:00
Daniel Juyung Seo 17881b57a4 edje edje_cc_handlers.c: Fixed indentation and error message.
SVN revision: 63693
2011-09-30 00:37:44 +00:00
Youness Alaoui e6183a9b06 Ecore-con: Use want_ecore_con_*_sockets instead of want_*_sockets in the configure output
SVN revision: 63684
2011-09-29 21:05:39 +00:00
Youness Alaoui 0618b78f1e Ecore-con: Allow to disable local sockets support, and disable them on ps3
SVN revision: 63683
2011-09-29 21:05:32 +00:00
Youness Alaoui 84796ed59b Ecore-con: Use inet_ntop instead of getnameinfo.
getnameinfo is a blocking call would would resolve a sockaddr into
its hostname, not into an IP address, so the ip_get should use the
inet_ntop call instead.

SVN revision: 63682
2011-09-29 21:05:20 +00:00
Youness Alaoui 075744047d Ecore-con: Add a client/server unit test
SVN revision: 63681
2011-09-29 21:05:02 +00:00
Youness Alaoui 1fc4a13f80 Ecore-con: Test for IPV6 availability
SVN revision: 63680
2011-09-29 21:04:54 +00:00
Youness Alaoui ed03a201ef ecore-con: Do not use TCP_NODELAY if netinet/tcp.h is not found
SVN revision: 63679
2011-09-29 21:04:45 +00:00
Youness Alaoui 4b033861bb Escape: Only require libtool 2.2, since it seems 2.4 isn't very popular yet...
SVN revision: 63677
2011-09-29 21:04:07 +00:00
Michael BOUCHAUD 7b2355eff1 evas: fix make dist
SVN revision: 63669
2011-09-29 15:13:27 +00:00
Michael BOUCHAUD 9e9bf24156 eina: fix make dist
SVN revision: 63668
2011-09-29 15:13:10 +00:00
Carsten Haitzler 8c26779f16 update modifiers on mapping changes too.
SVN revision: 63665
2011-09-29 09:56:07 +00:00
Cedric BAIL b70d6a0556 evas: oops forgot that.
SVN revision: 63664
2011-09-29 09:48:13 +00:00
Jihoon Kim 97f7d95201 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] update cursor location when the position of
entry is changed


The cursor location information should be transferred when the position of
entry is changed.

For example, an entry can be moved by comformant, rotate event.

The transferred cursor location is used for letting candidate word window
move the appropriate position.



SVN revision: 63660
2011-09-29 09:02:31 +00:00
Cedric BAIL 442589f4ca evas: handle exif rotation information directly inside evas jpeg loader.
Patch by Jiyoun Park <jy0703.park@samsung.com>


SVN revision: 63659
2011-09-29 09:02:30 +00:00
Vincent Torri 51781d7985 use another m4 macro for __atribute__
add check of gcc vector extension, requested by cedric


SVN revision: 63652
2011-09-29 06:26:03 +00:00
Vincent Torri 86ce0f6be9 use another m4 macro for __atribute__
SVN revision: 63651
2011-09-29 06:07:40 +00:00
Cedric BAIL db4c82bc46 edje: add group inheritance.
Patch by Jaehwan Kim <jae.hwan.kim@samsung.com>


SVN revision: 63648
2011-09-29 01:29:21 +00:00
Daniel Juyung Seo 3adea31a4a evas Evas.h: Fixed typo.
SVN revision: 63640
2011-09-28 09:14:40 +00:00
Cedric BAIL 796600d1a5 emotion: make it possible to dump the complete pipeline not only on failure, but also when it worked.
SVN revision: 63637
2011-09-28 05:34:30 +00:00
Daniel Juyung Seo c8a62c0cb2 ecore ecore_con_url.c: Applied ui interactoin bug fix patch from Kim
Yunhan <spbear@gmail.com>

On Wed, Sep 21, 2011 at 10:51 PM, Kim Yunhan <spbear@gmail.com> wrote:
> Hello!
>
> elm_map uses Ecore Con with CURL.
> I tested elm_map many times on my device.
> But sometimes UI interaction is held when data connection is poor.
> So I tried to debug and I found that this code lead to hold an Ecore
main
> loop.
>
> ----------------------------------------------
> In ecore_con_url.c
>
> while (curl_multi_perform(_curlm, &still_running) ==
> CURLM_CALL_MULTI_PERFORM) ;
> ----------------------------------------------
>
> curl_multi_perform() is CURL's asynchronous API.
> But above code hold an Ecore main loop.
> When it takes long time in libcurl, UI interaction is delayed.
>
> For example, If you have poor data connection.
> libcurl is trying to resolve DNS in this step.
> But it have to wait until timeout.
> At that time it looks like being locked.
>
> So I write a patch for fixing it.


SVN revision: 63636
2011-09-28 05:30:57 +00:00
Cedric BAIL 881244542d edje: refactor code.
SVN revision: 63620
2011-09-27 06:16:34 +00:00
Cedric BAIL 9a6c96ee56 ecore: prevent one last spurious wakeup.
SVN revision: 63619
2011-09-27 06:16:11 +00:00
Vincent Torri b46688b148 bump gettext version to 0.17. Patch by xlopez@igalia.com. Fix ticket #813
SVN revision: 63612
2011-09-26 21:50:50 +00:00
Carsten Haitzler 7be30a23bf and another commit in an attempt to fix mouse grabs + event callbacks
to be consistent



SVN revision: 63607
2011-09-26 02:45:06 +00:00
Carsten Haitzler 0088ea3d8b new attempt to fix the hidden object event thing without breaking
dnd... this makes for consistent behavior. :)



SVN revision: 63599
2011-09-25 04:43:02 +00:00
Christopher Michael d579c7812d Ecore_X(cb): Disable filtering of MotionNotify events. Could cause
problems with prediction. Thanks mate ;)



SVN revision: 63587
2011-09-24 09:21:17 +00:00
Carsten Haitzler 64940b1bf4 oops - and dont need to sub the rgabbed count - i missed that it was
already done above. no bug there. move on.



SVN revision: 63586
2011-09-24 07:46:37 +00:00
Christopher Michael 67e0df22e7 Ecore: Fix configure.ac for recent xcb_cflags change.
SVN revision: 63585
2011-09-24 07:23:41 +00:00
Christopher Michael 506179e544 Ecore_Xim: No need to link against xcb flags here.
SVN revision: 63584
2011-09-24 07:23:17 +00:00
Christopher Michael 1d08043154 Ecore: Fix configure.ac to use different variable names for pkg-config
libs.



SVN revision: 63583
2011-09-24 06:21:15 +00:00
Christopher Michael 63baac01f2 Ecore_Evas: Rename xcb cflags & libs variable to avoid pkg-config
confusion.



SVN revision: 63582
2011-09-24 06:20:47 +00:00
Christopher Michael c75816a09c Ecore_X(cb): Rename xcb cflags & link libs to avoid any pkg-config
confusion.



SVN revision: 63581
2011-09-24 06:20:15 +00:00
Christopher Michael 6273de0e15 Ecore_X(cb): Fix ecore_x when using unstable (from git) xcb...they
removed the event error enums.



SVN revision: 63579
2011-09-24 05:33:29 +00:00
Carsten Haitzler 0df0084dba as suspected... this breaks drag and drop! :( revert.
SVN revision: 63577
2011-09-24 04:01:36 +00:00
Lucas De Marchi d091773382 eina: provide a C++-compatible version of _EINA_INLIST_CONTAINER
In C++ we can't assign a void pointer to another type pointer without casts. We
now rely on typeof() operator *when using C++*.

We may provide another version later for those compilers without typeof()
support.



SVN revision: 63568
2011-09-23 17:02:02 +00:00
Cedric BAIL 16fc152856 ecore: lock all broadcast.
SVN revision: 63567
2011-09-23 13:26:54 +00:00
Cedric BAIL 9101e46ae6 eina: correctly track lock when waiting for condition.
SVN revision: 63566
2011-09-23 13:17:12 +00:00
Cedric BAIL f749139212 ecore: prevent spurious wakeup and lock the right mutex.
SVN revision: 63565
2011-09-23 10:47:33 +00:00
Carsten Haitzler 222644dc67 try this for fixing grab count when callbacks play with further events
in the in list copy (like moving, resizing, hiding etc. them).



SVN revision: 63554
2011-09-23 06:37:03 +00:00
Carsten Haitzler f3899ddecb fix grab event counter miss.
SVN revision: 63553
2011-09-23 06:19:20 +00:00
Vincent Torri c23c2982be another useless header file
SVN revision: 63547
2011-09-22 20:36:08 +00:00
Vincent Torri 31fad2deac useless header file
SVN revision: 63546
2011-09-22 20:33:58 +00:00