platform/upstream/efl.git
11 years agoRevert "efreet: Use eina_file_mkstemp"
Carsten Haitzler (Rasterman) [Wed, 16 Oct 2013 04:38:40 +0000 (13:38 +0900)]
Revert "efreet: Use eina_file_mkstemp"

This reverts commit bd5a5e7fce3931476bbc68a156be28e58f5d7ef8.

sorry about this... all fine eina mkstemp use and all... but this
*BREAKS EFREET*! ibar icons stop working (vanish). efreet no longer
issues a desktop file update event to e etc. etc. etc. ... so let's
keep code that works for now even if it uses mkstemp and not eina...
:) working is better. :)

11 years agoevas: simplify logic for textblock style parameter parsing.
Cedric Bail [Wed, 16 Oct 2013 09:14:33 +0000 (18:14 +0900)]
evas: simplify logic for textblock style parameter parsing.

11 years agoeina: honor string length in eina_tmpstr_add_length.
Cedric Bail [Wed, 16 Oct 2013 09:14:15 +0000 (18:14 +0900)]
eina: honor string length in eina_tmpstr_add_length.

11 years agoevas: fix doxygen
Yakov Goldberg [Wed, 16 Oct 2013 09:05:27 +0000 (12:05 +0300)]
evas: fix doxygen

11 years agoevas: request ellipsis from the right font.
Cedric Bail [Wed, 16 Oct 2013 08:57:34 +0000 (17:57 +0900)]
evas: request ellipsis from the right font.

11 years agoevas: fix doxygen
Yakov Goldberg [Wed, 16 Oct 2013 08:20:20 +0000 (11:20 +0300)]
evas: fix doxygen

11 years agoeina: just for a little bit of better portability.
Cedric Bail [Wed, 16 Oct 2013 07:54:36 +0000 (16:54 +0900)]
eina: just for a little bit of better portability.

11 years agoeina: let's add some straight forward test.
Cedric Bail [Wed, 16 Oct 2013 07:47:21 +0000 (16:47 +0900)]
eina: let's add some straight forward test.

11 years agoeina: And guard the right function with umask
Sebastian Dransfeld [Wed, 16 Oct 2013 02:56:51 +0000 (04:56 +0200)]
eina: And guard the right function with umask

Thanks Cedric.

11 years agoefreet: Use eina_file_mkstemp
Sebastian Dransfeld [Wed, 16 Oct 2013 02:48:20 +0000 (04:48 +0200)]
efreet: Use eina_file_mkstemp

11 years agoSet secure file permissions for temporary file
Sebastian Dransfeld [Wed, 16 Oct 2013 02:28:53 +0000 (04:28 +0200)]
Set secure file permissions for temporary file

From glibc mkstemp man page:
       In glibc versions 2.06 and earlier, the file is created with
       permissions 0666, that is, read and write for all users.  This old
       behavior may be a security risk, especially since other UNIX flavors
       use 0600, and somebody might overlook this detail when porting
       programs.  POSIX.1-2008 adds a requirement that the file be created
       with mode 0600.

       More generally, the POSIX specification of mkstemp() does not say
       anything about file modes, so the application should make sure its
       file mode creation mask (see umask(2)) is set appropriately before
       calling mkstemp() (and mkostemp()).

And:
http://cwe.mitre.org/data/definitions/377.html

11 years agoevas/map - Fixed the map surface to be updated properly.
ChunEon Park [Tue, 15 Oct 2013 13:24:27 +0000 (22:24 +0900)]
evas/map - Fixed the map surface to be updated properly.

By tranversing the whole of the map target's tree,
it decides to update the map surface to be redrawn if one of the objects is changed except the clipper itself.

11 years agoFix horrid formatting
Chris Michael [Tue, 15 Oct 2013 12:40:50 +0000 (13:40 +0100)]
Fix horrid formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoFix doxy typo
Chris Michael [Tue, 15 Oct 2013 12:38:15 +0000 (13:38 +0100)]
Fix doxy typo

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoRemove blank line
Chris Michael [Tue, 15 Oct 2013 12:37:47 +0000 (13:37 +0100)]
Remove blank line

Signed-off-by: Chris Michael <cp.michael@samsung.com>
11 years agoedje: handle reallocation of pointed data properly for limits.
Cedric Bail [Tue, 15 Oct 2013 09:15:07 +0000 (18:15 +0900)]
edje: handle reallocation of pointed data properly for limits.

11 years agoevas - fix textblock handling of effects for shadows and so on in some cases
Carsten Haitzler (Rasterman) [Tue, 15 Oct 2013 07:04:40 +0000 (16:04 +0900)]
evas - fix textblock handling of effects for shadows and so on in some cases

11 years agoEdje - Fixed memory leak in the edje map color transition.
ChunEon Park [Tue, 15 Oct 2013 06:00:13 +0000 (15:00 +0900)]
Edje - Fixed memory leak in the edje map color transition.

Some cases, It doesn't free the interpolated colors.
Now it has guaranteed to free them always.

11 years agoRevert "ecore_evas: window does not go back to normal state if you set iconified...
Carsten Haitzler (Rasterman) [Tue, 15 Oct 2013 01:45:37 +0000 (10:45 +0900)]
Revert "ecore_evas: window does not go back to normal state if you set iconified to EINA_FALSE."

This reverts commit 9bfb730ff57da3d8789f80256abedcbc19e98bfe.

wrong! on deiconify this will now FORCE a ACTIVATE request to the wm
(which asks the wm to focus the window/hilight it and make it active.
might switch desktops or whatever). this is wrong. de-icoifying a
windows does NOT mean ALSO activating it!. the log message also doesnt
say what "go back to normal state"... means.... do they expect/INSIST
windows MUSt be focused after de-iconification? that's wrong as it's a
window management FOCUS policy, not something to do in the lib.

11 years agoRevert "eina: fix CID 1106340: Logically dead code (DEADCODE) reported by coverity."
Carsten Haitzler (Rasterman) [Tue, 15 Oct 2013 01:35:10 +0000 (10:35 +0900)]
Revert "eina: fix CID 1106340: Logically dead code (DEADCODE) reported by coverity."

This reverts commit 1c1b48ca64c4d13cfd3677cde1ee99e4cf6c2c15.

this commit is causing all sorts of hell and crashes, hangs and what
not. like:

Thread 1 (Thread 0x7feb7389e780 (LWP 7149)):
No symbol table info available.
No symbol table info available.
    at lib/eina/eina_inlist.c:422
            l = 0xf38a50
                    __FUNCTION__ = "eina_inlist_demote"
                    #3  0x00007feb6a809867 in
_eina_chained_mempool_alloc_in (
    pool=pool@entry=0x8650a0, p=p@entry=0xf38a50)
        at modules/eina/mp/chained_pool/eina_chained_mempool.c:197
                mem = 0xf3a690
                #4  0x00007feb6a809dff in eina_chained_mempool_malloc
(data=0x8650a0,
    size=<optimized out>)
        at modules/eina/mp/chained_pool/eina_chained_mempool.c:300
                pool = 0x8650a0
                        p = 0xf38a50
                                mem = <optimized out>
                                #5  0x00007feb6a7e451f in
eina_mempool_malloc (size=40, mp=<optimized out>)
    at lib/eina/eina_inline_mempool.x:103
    No locals.
    #6  _eina_list_mempool_list_new (list=0x7feb5402a510)
        at lib/eina/eina_list.c:199
        No locals.
        #7  eina_list_append (list=0x7feb5402a510, data=0xf41720)
            at lib/eina/eina_list.c:534
                    l = <optimized out>
                            __FUNCTION__ = "eina_list_append"
                            #8  0x0000000000445d1a in
e_bindings_signal_add (ctxt=<optimized out>,
    sig=0x947e6c "mouse,clicked,[12]", src=0x92248c "e.event.close",
        mod=E_BINDING_MODIFIER_NONE, any_mod=1, action=0x93479c
"window_close",
    params=0x0) at e_bindings.c:1036
            binding = 0xf41720
            #9  0x00000000004469d4 in e_bindings_init () at
e_bindings.c:68
        ebs = 0x947df0
                ebm = <optimized out>
                        ebw = <optimized out>
                                ebe = <optimized out>
                                        ebk = <optimized out>
                                                eba = <optimized out>
                                                        l = 0x9532e0
                                                        #10
0x0000000000437516 in main (argc=<optimized out>, argv=<optimized out>)
    at e_main.c:941
            safe_mode = 0 '\000'
                    after_restart = 1 '\001'
                            waslocked = 0 '\000'
                                    t = <optimized out>
                                            tstart = <optimized out>
                                                    s = <optimized out>
                                                            buff =
"1381800872.3", '\000' <repeats 19 times>
        action = {__sigaction_handler = {
                    sa_handler = 0x4fca00 <e_sigabrt_act>,
                                sa_sigaction = 0x4fca00
<e_sigabrt_act>}, sa_mask = {__val = {
              0 <repeats 16 times>}}, sa_flags = -1073741820,
                        sa_restorer = 0x0}
                                __FUNCTION__ = "main"
                                Detaching from program:
/usr/local/bin/enlightenment, process 7149

11 years agoecore_file: fix left over borking.
Cedric Bail [Tue, 15 Oct 2013 01:21:03 +0000 (10:21 +0900)]
ecore_file: fix left over borking.

I think I teached raster well, my job here is done !

11 years agoecore-file - remove ifdefs for HAVE_CULR since ecore-con "always" has it
Carsten Haitzler (Rasterman) [Tue, 15 Oct 2013 00:16:26 +0000 (09:16 +0900)]
ecore-file - remove ifdefs for HAVE_CULR since ecore-con "always" has it

now that it's runtime dlopen'ed etc. ecore-con "always" has url
support via curl so ecore-file needs to assume that this can always
work and this just use ecore-con-url anyway.

11 years agoeo: fix doxygen description, which is needed for parser
Yakov Goldberg [Mon, 14 Oct 2013 13:15:11 +0000 (16:15 +0300)]
eo: fix doxygen description, which is needed for parser

11 years agoedje: typo fix.
Cedric BAIL [Mon, 14 Oct 2013 12:00:59 +0000 (14:00 +0200)]
edje: typo fix.

11 years agoedje: fix CID 1054522 - Logically dead code
Cedric BAIL [Mon, 14 Oct 2013 11:53:06 +0000 (13:53 +0200)]
edje: fix CID 1054522 - Logically dead code

The buffer is a static buffer in that scenario, so never going to be NULL indeed.

11 years agoedje: fix CID 1062226 - Dereference after null check.
Cedric BAIL [Mon, 14 Oct 2013 11:45:26 +0000 (13:45 +0200)]
edje: fix CID 1062226 - Dereference after null check.

It seems to be possible in some badly crafted edj to trigger that path.

11 years agoevas: fix CID 1102547 - Resource leak
Cedric BAIL [Mon, 14 Oct 2013 11:37:50 +0000 (13:37 +0200)]
evas: fix CID 1102547 - Resource leak

If all rectangle are clipped out, it is perfectly possible to return
no rectangle, this would lead to a possible leak.

11 years agoeina: fix CID 1106340: Logically dead code (DEADCODE) reported by coverity.
Cedric BAIL [Mon, 14 Oct 2013 11:22:45 +0000 (13:22 +0200)]
eina: fix CID 1106340: Logically dead code (DEADCODE) reported by coverity.

11 years agoefreet: No need to set pointer value
Sebastian Dransfeld [Mon, 14 Oct 2013 11:22:34 +0000 (13:22 +0200)]
efreet: No need to set pointer value

CID 1039919

11 years agoefreet: Check buffer size
Sebastian Dransfeld [Mon, 14 Oct 2013 11:21:48 +0000 (13:21 +0200)]
efreet: Check buffer size

CID 1039582, 1039583

11 years agoefreet: Set umask before creating temporary file
Sebastian Dransfeld [Mon, 14 Oct 2013 11:20:44 +0000 (13:20 +0200)]
efreet: Set umask before creating temporary file

CID 1039615

11 years agoefreet: Set umask before creating temp file
Sebastian Dransfeld [Mon, 14 Oct 2013 11:19:59 +0000 (13:19 +0200)]
efreet: Set umask before creating temp file

CID 1039616

11 years agoefreet: Check size of buffer and '\0' terminate
Sebastian Dransfeld [Mon, 14 Oct 2013 11:07:43 +0000 (13:07 +0200)]
efreet: Check size of buffer and '\0' terminate

CID 1039595

11 years agoefreet: Check if count != 0
Sebastian Dransfeld [Mon, 14 Oct 2013 09:57:01 +0000 (11:57 +0200)]
efreet: Check if count != 0

CID 1039434

11 years agoefreet: Always '\0' terminate buf
Sebastian Dransfeld [Mon, 14 Oct 2013 09:54:51 +0000 (11:54 +0200)]
efreet: Always '\0' terminate buf

CID 1039721

11 years agoEvas: EGL-GL backends. Call eglReleaseThread() upon shutdown
Sung W. Park [Mon, 14 Oct 2013 05:33:25 +0000 (14:33 +0900)]
Evas: EGL-GL backends. Call eglReleaseThread() upon shutdown

Call proper cleanup code upon terminating egl use.

11 years agoevas - small buglet. image size of up to but NOT including 32768 are valid
Carsten Haitzler (Rasterman) [Mon, 14 Oct 2013 03:41:28 +0000 (12:41 +0900)]
evas - small buglet. image size of up to but NOT including 32768 are valid

11 years agoedje: add getters and setter for interpolation variables 1 and 2 in transition block...
m.biliavskyi [Mon, 14 Oct 2013 03:09:11 +0000 (12:09 +0900)]
edje: add getters and setter for interpolation variables 1 and 2 in transition block of program.

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D253

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
11 years agoecore_evas: window does not go back to normal state if you set iconified to EINA_FALSE.
Michal Jagiello [Mon, 14 Oct 2013 02:59:18 +0000 (11:59 +0900)]
ecore_evas: window does not go back to normal state if you set iconified to EINA_FALSE.

Reviewers: cedric, raster, Hermet

Differential Revision: https://phab.enlightenment.org/D245

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
11 years agoevas: fix build for Mac OS X.
Jean Guyomarc'h [Mon, 14 Oct 2013 02:53:40 +0000 (11:53 +0900)]
evas: fix build for Mac OS X.

Reviewers: cedric, michael.bouchaud

CC: cedric
Differential Revision: https://phab.enlightenment.org/D242

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
11 years agoevas: Add configure option to disable cserve
Jean-Philippe Andre [Mon, 14 Oct 2013 01:32:16 +0000 (10:32 +0900)]
evas: Add configure option to disable cserve

Some people might want to disable cserve2 at build time to
generate smaller packages.

11 years ago1 char editing messup - revert it.
Carsten Haitzler (Rasterman) [Sun, 13 Oct 2013 02:38:13 +0000 (11:38 +0900)]
1 char editing messup - revert it.

11 years agoeo: enable doc generation
Jérémy Zurcher [Sat, 12 Oct 2013 21:56:54 +0000 (23:56 +0200)]
eo: enable doc generation

11 years agoeo: cover eo_class_get new behaviour
Jérémy Zurcher [Sat, 12 Oct 2013 21:56:17 +0000 (23:56 +0200)]
eo: cover eo_class_get new behaviour

11 years agoeo: add EO_CLASS_CLASS
Jérémy Zurcher [Sat, 12 Oct 2013 21:51:59 +0000 (23:51 +0200)]
eo: add EO_CLASS_CLASS

it's an empty class without operations,
used as a return value for eo_class_get() when the caller is a class

11 years agoedje_cc - CEEEEEEEEEEEEDRIIIIIIIIC! realloc+lookup bug workaround!
Carsten Haitzler (Rasterman) [Sat, 12 Oct 2013 17:07:28 +0000 (02:07 +0900)]
edje_cc - CEEEEEEEEEEEEDRIIIIIIIIC! realloc+lookup bug workaround!

need i say more. this is a q1uick workaround a bug that is a result of
realloc moving memory around and thus lookups becoming broken.

11 years agoecore/wayland: Do not generate subsurface source files.
Rafael Antognolli [Fri, 11 Oct 2013 17:10:30 +0000 (14:10 -0300)]
ecore/wayland: Do not generate subsurface source files.

Add them to the tree, so they don't need to be generated again on each
build. Also remove the autofoo code used for generating them.

11 years agoRevert "Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool.""
Stefan Schmidt [Fri, 11 Oct 2013 08:42:49 +0000 (09:42 +0100)]
Revert "Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool.""

Revert now that it is fixed in eina.

This reverts commit 875e7cf74de68d05f6fd28d26ad8bddab7782316.

11 years agoRevert "Revert "Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool."""
Stefan Schmidt [Fri, 11 Oct 2013 08:41:22 +0000 (09:41 +0100)]
Revert "Revert "Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool."""

Is there a title for the commiter with the longest revert of a revert list?

I screwed this one up. Had other local changes that sneaked in.
Resetting and doing it right now.

This reverts commit ee155b771ddb8f063105f013c652b65f2ff663c1.

11 years agoRevert "Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool.""
Stefan Schmidt [Fri, 11 Oct 2013 08:32:09 +0000 (09:32 +0100)]
Revert "Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool.""

You can bet on reverting makes people speed up the process in fixing it.
Revert the revert here now that Cedric fixed it in eina.

This reverts commit 875e7cf74de68d05f6fd28d26ad8bddab7782316.

11 years agoeina: that stuff was just for adding a bug in fact.
Cedric Bail [Fri, 11 Oct 2013 08:28:09 +0000 (17:28 +0900)]
eina: that stuff was just for adding a bug in fact.

11 years agoRevert "eina: use Eina_Spinlock for Eina_Chained_Mempool."
Stefan Schmidt [Fri, 11 Oct 2013 08:16:47 +0000 (09:16 +0100)]
Revert "eina: use Eina_Spinlock for Eina_Chained_Mempool."

This patch brings in constant E crash for me. It seems to be timing
related which somehow leads to a mem corruption. Revert it for now
to allow people using E while Cedric looks into it.

This reverts commit 12d34309c7c6e3f3041ee576afe93f9ca335059e.

11 years agoeina - and e3fl in general - stop using eina_error_get/set - useless really
Carsten Haitzler (Rasterman) [Fri, 11 Oct 2013 07:49:13 +0000 (16:49 +0900)]
eina - and e3fl in general - stop using eina_error_get/set - useless really

11 years agoedje: It should never happen, but apparently it does, so assert to get a proper bt.
Cedric Bail [Fri, 11 Oct 2013 06:15:54 +0000 (15:15 +0900)]
edje: It should never happen, but apparently it does, so assert to get a proper bt.

11 years agoedje: fix a memory leak of Edje_Part_Element for any .edj using them.
Cedric Bail [Fri, 11 Oct 2013 05:47:44 +0000 (14:47 +0900)]
edje: fix a memory leak of Edje_Part_Element for any .edj using them.

11 years agoeet: log size of subtype added to an Eet_Data_Descriptor.
Cedric Bail [Fri, 11 Oct 2013 05:43:35 +0000 (14:43 +0900)]
eet: log size of subtype added to an Eet_Data_Descriptor.

This is really useful to track down a leak of a memory piece allocated by an
eet_data function. If you know the size of the leaked structure (valgrind
give you the total allocated size and the number of structure in it, so you
need to divide before having the right number), you just need to do :
EINA_LOG_LEVELS=eet:3 my_app 2>&1 | grep the_size

And there will be very few line matching reducing what you should be looking at.

11 years agoecore: Use Eina_Spinlock for Ecore_Thread.
Cedric Bail [Thu, 10 Oct 2013 09:02:00 +0000 (18:02 +0900)]
ecore: Use Eina_Spinlock for Ecore_Thread.

11 years agoevas: Use Eina_Spinlock for Evas_Scalecache, Evas_Async_Events and Image_Entry.
Cedric Bail [Thu, 10 Oct 2013 08:44:24 +0000 (17:44 +0900)]
evas: Use Eina_Spinlock for Evas_Scalecache, Evas_Async_Events and Image_Entry.

11 years agoeina: use Eina_Spinlock for Eina_Chained_Mempool.
Cedric Bail [Thu, 10 Oct 2013 08:31:54 +0000 (17:31 +0900)]
eina: use Eina_Spinlock for Eina_Chained_Mempool.

11 years agoeet: use Eina_Spinlock instead of Eina_Lock for Eet_Dictionary.
Cedric Bail [Thu, 10 Oct 2013 08:27:41 +0000 (17:27 +0900)]
eet: use Eina_Spinlock instead of Eina_Lock for Eet_Dictionary.

11 years agoeo: use Eina_Spinlock instead of Eina_Lock.
Cedric Bail [Thu, 10 Oct 2013 08:26:02 +0000 (17:26 +0900)]
eo: use Eina_Spinlock instead of Eina_Lock.

This is an ABI/API break for Eo, you will need to rebuild everything that use Eo.

11 years agoeina: use Eina_Spinlock in Eina_Stringshare instead of Eina_Lock.
Cedric Bail [Thu, 10 Oct 2013 08:25:39 +0000 (17:25 +0900)]
eina: use Eina_Spinlock in Eina_Stringshare instead of Eina_Lock.

11 years agoeina: use Eina_Spinlock for Eina_Log.
Cedric Bail [Thu, 10 Oct 2013 08:24:34 +0000 (17:24 +0900)]
eina: use Eina_Spinlock for Eina_Log.

11 years agoeina: add Eina_Spinlock API.
Cedric Bail [Thu, 10 Oct 2013 08:22:28 +0000 (17:22 +0900)]
eina: add Eina_Spinlock API.

11 years agoeina: move header detection to the appropriate section.
Cedric Bail [Fri, 4 Oct 2013 06:35:30 +0000 (15:35 +0900)]
eina: move header detection to the appropriate section.

11 years agoecore_imf_example: notify the cursor information in focus-in handler
Jihoon Kim [Fri, 11 Oct 2013 01:23:19 +0000 (10:23 +0900)]
ecore_imf_example: notify the cursor information in focus-in handler

11 years agoecore-con - followup commit to curl dynamic load - support win and osx names
Carsten Haitzler (Rasterman) [Thu, 10 Oct 2013 23:13:35 +0000 (08:13 +0900)]
ecore-con - followup commit to curl dynamic load - support win and osx names

11 years agoMerge branch 'subsurfaces'
Rafael Antognolli [Thu, 10 Oct 2013 18:21:06 +0000 (15:21 -0300)]
Merge branch 'subsurfaces'

11 years agoecore/wayland: Add subsurface handling APIs.
Rafael Antognolli [Thu, 5 Sep 2013 21:10:50 +0000 (18:10 -0300)]
ecore/wayland: Add subsurface handling APIs.

11 years agoecore/wayland: Add and initialize subcompositor inside Ecore_Wayland.
Rafael Antognolli [Sat, 31 Aug 2013 18:20:22 +0000 (15:20 -0300)]
ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland.

11 years agoecore/wayland: detect wayland-scanner
U. Artie Eoff [Sat, 5 Oct 2013 15:53:35 +0000 (08:53 -0700)]
ecore/wayland: detect wayland-scanner

We need the wayland-scanner program to auto-generate the
subsurface protocol source files from subsurface.xml

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
11 years agoconfigure - wayland macro required for any kind of autogen.sh... not good.
Carsten Haitzler (Rasterman) [Sat, 5 Oct 2013 09:30:23 +0000 (18:30 +0900)]
configure - wayland macro required for any kind of autogen.sh... not good.

11 years agoadding wayland subsurfaces protocol file.
Rafael Antognolli [Wed, 7 Aug 2013 21:05:55 +0000 (18:05 -0300)]
adding wayland subsurfaces protocol file.

11 years agoecore-con: make curl support entirely runtime loaded via eina_module
Carsten Haitzler (Rasterman) [Thu, 10 Oct 2013 13:31:18 +0000 (22:31 +0900)]
ecore-con: make curl support entirely runtime loaded via eina_module

this makes curl support a pure runtime-only thing. libcurl is loaded by
eina_module (dlopen/dlsym) when curl is actually first needed (when a
url connection/object is created). this means that ecore-con has no
link or compile dependencies on curl, only runtime, AND this saves
memory (due to curl inits using apparently a chunk of private pages).
so this saves memory and moves the dependency to runtime (though still
consider libcurl a dependency of efl - but like a binary executed,
it's at runtime).

11 years agoemotion: add two events to trigger when a webcam is plugged or unplugged
Michaël Bouchaud (yoz) [Wed, 9 Oct 2013 10:29:04 +0000 (12:29 +0200)]
emotion: add two events to trigger when a webcam is plugged or unplugged

11 years agoalso unbreak ecore-wl header with previous reverts...
discomfitor [Sat, 5 Oct 2013 15:38:55 +0000 (16:38 +0100)]
also unbreak ecore-wl header with previous reverts...

11 years agoRevert "ecore/wayland: Add subsurface handling APIs."
discomfitor [Sat, 5 Oct 2013 15:26:24 +0000 (16:26 +0100)]
Revert "ecore/wayland: Add subsurface handling APIs."

This reverts commit 65b960f4a60442edcd66082ccc1828b80a49885c.

Conflicts:
src/lib/ecore_wayland/ecore_wl.c

11 years agoRevert "ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland."
discomfitor [Sat, 5 Oct 2013 15:23:38 +0000 (16:23 +0100)]
Revert "ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland."

This reverts commit 7994b62c6be0368a2b4dcd038de5f25556cb6842.

11 years agoRevert "adding wayland subsurfaces protocol file."
discomfitor [Sat, 5 Oct 2013 15:22:15 +0000 (16:22 +0100)]
Revert "adding wayland subsurfaces protocol file."

This reverts commit ad27efcb397f3dc8da670180784991f876841e01.

11 years agoconfigure - wayland macro required for any kind of autogen.sh... not good.
Carsten Haitzler (Rasterman) [Sat, 5 Oct 2013 09:30:23 +0000 (18:30 +0900)]
configure - wayland macro required for any kind of autogen.sh... not good.

11 years agoAdding italian entries in desktop files
maxerba [Sat, 5 Oct 2013 09:17:58 +0000 (11:17 +0200)]
Adding italian entries in desktop files

11 years agoevas/image: Add video surface caps.
Rafael Antognolli [Thu, 26 Sep 2013 16:49:18 +0000 (13:49 -0300)]
evas/image: Add video surface caps.

Wayland subsurfaces can be used as video surfaces too, similarly to
Ecore_X windows. However, they support a different set of features. Some
of them, like subsurface clipping and scaling, might be added in the
future, but so far we must work with what we have.

This commit allows to set an enum bitfield to the Video_Surface, with
the default value being one that will keep the same behavior as before,
for Ecore_X window. Thus, backward compatibility should not be broken.

It's possible to inform Evas that the surface in question is not able to
resize or scale, or that it's above or below the original canvas
surface. This allows Evas to show the surface itself, or use a buffer of
pixels instead, when the capabilities are not available.

11 years agoevas/image: Delay some video overlay operations.
Rafael Antognolli [Tue, 1 Oct 2013 18:35:09 +0000 (15:35 -0300)]
evas/image: Delay some video overlay operations.

If we are running on async render, some operations must be delayed, so
they will happen at the same time that the canvas rendering result gets
updated on the window/surface.

11 years agoevas/image: Take framespace into account when moving video surface.
Rafael Antognolli [Mon, 23 Sep 2013 20:44:08 +0000 (17:44 -0300)]
evas/image: Take framespace into account when moving video surface.

11 years agoecore/wayland: Add subsurface handling APIs.
Rafael Antognolli [Thu, 5 Sep 2013 21:10:50 +0000 (18:10 -0300)]
ecore/wayland: Add subsurface handling APIs.

11 years agoecore/wayland: Add and initialize subcompositor inside Ecore_Wayland.
Rafael Antognolli [Sat, 31 Aug 2013 18:20:22 +0000 (15:20 -0300)]
ecore/wayland: Add and initialize subcompositor inside Ecore_Wayland.

11 years agoadding wayland subsurfaces protocol file.
Rafael Antognolli [Wed, 7 Aug 2013 21:05:55 +0000 (18:05 -0300)]
adding wayland subsurfaces protocol file.

11 years agoeina: handle more compiler strangeness for bswap.
Cedric Bail [Fri, 4 Oct 2013 03:49:02 +0000 (12:49 +0900)]
eina: handle more compiler strangeness for bswap.

So current order is :
- __builtin_bswap*() for compiler that provide it
- _byteswap_*() for MSVC
- bswap_*() for older Linux and some BSD
- own C code when everything else fall appart.

The reason for this order is that the builtin will always generate
the best assembly possible. On my system bswap_*() are not changing
in all version to the best solution as they are almost equivalent to
the C macro.

11 years agoeina: in case of an error we should exit not continue and manipulate dead data.
Cedric Bail [Fri, 4 Oct 2013 00:54:27 +0000 (09:54 +0900)]
eina: in case of an error we should exit not continue and manipulate dead data.

This should fix a warning catched by LLVM/Clang.

11 years agoRevert "evas/textblock - null check."
Tom Hacohen [Thu, 3 Oct 2013 17:45:07 +0000 (18:45 +0100)]
Revert "evas/textblock - null check."

I'm sorry, but those kind of commit messages are unacceptable for code
I'm the only maintainer of. It's bad enough that to have them in the
project in general, but this I won't accept.

I wanted to review this commit, but the lack of explanation about what
you are trying to fix and why you think this is the good fix prevents me
from doing my job. However, without really looking too much into it,
this commit looks wrong. evas_textblock_cursor_format_is_visible_get
should verify there's a format node...

Please come up with a better commit message and re-commit.

This reverts commit fe33aa74084aa383fb880ce9a32fa17663c41346.

11 years agoevas/textblock - null check.
ChunEon Park [Thu, 3 Oct 2013 17:43:20 +0000 (02:43 +0900)]
evas/textblock - null check.

11 years agoeina/eina_file - fix eina_file_map_lines() to not drop of one character in the last...
ChunEon Park [Thu, 3 Oct 2013 16:58:35 +0000 (01:58 +0900)]
eina/eina_file - fix eina_file_map_lines() to not drop of one character in the last line.

11 years agoevas: more fix for ellipsis.
Cedric Bail [Wed, 2 Oct 2013 11:52:59 +0000 (20:52 +0900)]
evas: more fix for ellipsis.

This one fix size of the object that didn't take into account the style
of the text since we added the support of ellipsis in Evas. It also
correctly detect when we insert an ellipsis in the text to relayout
properly on resize.

11 years agoevas: we actually need to take those additional value into account.
Cedric Bail [Wed, 2 Oct 2013 10:07:48 +0000 (19:07 +0900)]
evas: we actually need to take those additional value into account.

11 years agoeina: update the ChangeLog and NEWS.
Cedric Bail [Wed, 2 Oct 2013 09:33:32 +0000 (18:33 +0900)]
eina: update the ChangeLog and NEWS.

11 years agoecore_ipc: use the new eina_swap*().
Cedric Bail [Wed, 2 Oct 2013 09:32:18 +0000 (18:32 +0900)]
ecore_ipc: use the new eina_swap*().

11 years agoeina: add infrastructure to handle more CPU and compiler builtin information.
Cedric Bail [Wed, 2 Oct 2013 09:31:10 +0000 (18:31 +0900)]
eina: add infrastructure to handle more CPU and compiler builtin information.

11 years agoEvas Textblock: Use font underline properties.
Tom Hacohen [Wed, 2 Oct 2013 10:41:41 +0000 (11:41 +0100)]
Evas Textblock: Use font underline properties.

This change causes textblock to use the font properties when drawing
underline.

11 years agoEvas font: Added functions to query the underline properties.
Tom Hacohen [Tue, 1 Oct 2013 15:42:48 +0000 (16:42 +0100)]
Evas font: Added functions to query the underline properties.

This will let us query the position and thickness as requested by the font.

11 years agoevas - more deadlocks found. fixed.
Carsten Haitzler (Rasterman) [Wed, 2 Oct 2013 08:06:26 +0000 (17:06 +0900)]
evas - more deadlocks found. fixed.