platform/upstream/efl.git
10 years agoecore_evas: use portable infrastructure to detect page size.
Cedric BAIL [Sun, 10 Nov 2013 08:26:44 +0000 (09:26 +0100)]
ecore_evas: use portable infrastructure to detect page size.

10 years agoevas: use portable infrastructure to detect page size.
Cedric BAIL [Sun, 10 Nov 2013 08:26:30 +0000 (09:26 +0100)]
evas: use portable infrastructure to detect page size.

10 years agoeina: use portable infrastructure to detect page size.
Cedric BAIL [Sun, 10 Nov 2013 08:26:12 +0000 (09:26 +0100)]
eina: use portable infrastructure to detect page size.

10 years agoeina: detect page size in a portable way.
Cedric BAIL [Sun, 10 Nov 2013 08:25:16 +0000 (09:25 +0100)]
eina: detect page size in a portable way.

10 years agoecore-audio - handle deletion of objects from outputs list in ctx fail cb
Carsten Haitzler (Rasterman) [Sun, 10 Nov 2013 02:04:18 +0000 (11:04 +0900)]
ecore-audio - handle deletion of objects from outputs list in ctx fail cb

10 years agoecore-audio - remove the obj from the list before calling eo super destructor
Carsten Haitzler (Rasterman) [Sun, 10 Nov 2013 01:45:33 +0000 (10:45 +0900)]
ecore-audio - remove the obj from the list before calling eo super destructor

10 years agoeina: let's try to reduce the covered 64bits system.
Cedric BAIL [Sat, 9 Nov 2013 14:26:24 +0000 (15:26 +0100)]
eina: let's try to reduce the covered 64bits system.

10 years agoeina: let pass the right size.
Cedric Bail [Sat, 9 Nov 2013 11:43:20 +0000 (20:43 +0900)]
eina: let pass the right size.

10 years agoeina: fix eina_hash_int64 on Windows system.
Cedric Bail [Sat, 9 Nov 2013 11:07:27 +0000 (20:07 +0900)]
eina: fix eina_hash_int64 on Windows system.

10 years agoeina: eina_lock_debug is only on Eina_Lock.
Cedric Bail [Sat, 9 Nov 2013 11:06:59 +0000 (20:06 +0900)]
eina: eina_lock_debug is only on Eina_Lock.

10 years agoeina: fix warning of unsigned int being compared to an int.
Cedric Bail [Sat, 9 Nov 2013 11:06:36 +0000 (20:06 +0900)]
eina: fix warning of unsigned int being compared to an int.

10 years agogitignore: ignore files generated by make check.
Cedric Bail [Sat, 9 Nov 2013 10:50:15 +0000 (19:50 +0900)]
gitignore: ignore files generated by make check.

10 years agoefl: detect 64 bits correctly.
Cedric Bail [Sat, 9 Nov 2013 10:48:31 +0000 (19:48 +0900)]
efl: detect 64 bits correctly.

10 years agoevas/image - fixed typo.
ChunEon Park [Sat, 9 Nov 2013 08:07:35 +0000 (17:07 +0900)]
evas/image - fixed typo.

10 years agowarning--
Carsten Haitzler (Rasterman) [Sat, 9 Nov 2013 01:42:49 +0000 (10:42 +0900)]
warning--

10 years agoevas - gl engine - this fixes the breakages in new nvidia drivers
Carsten Haitzler (Rasterman) [Sat, 9 Nov 2013 01:40:17 +0000 (10:40 +0900)]
evas - gl engine - this fixes the breakages in new nvidia drivers

nvidia > 319 broke alpha windows. this code that was left commented
out fixes it. it didn't used to have any use.

10 years agoembryo - embryo_cc: fix buffer overrun warning
Carsten Haitzler (Rasterman) [Sat, 9 Nov 2013 01:15:35 +0000 (10:15 +0900)]
embryo - embryo_cc: fix buffer overrun warning

gcc warning was right. it's a pretty smart cookie too.

10 years agoecore_con - socks support - warning that shows invalid size calc
Carsten Haitzler (Rasterman) [Sat, 9 Nov 2013 01:11:12 +0000 (10:11 +0900)]
ecore_con - socks support - warning that shows invalid size calc

zmike - i think this was the problem. gcc warning caught it. size was

10 years agoEo: Fixed potential infinite loop with child deletion.
Tom Hacohen [Fri, 8 Nov 2013 12:10:50 +0000 (12:10 +0000)]
Eo: Fixed potential infinite loop with child deletion.

It looks like it should get into a loop for every object that has
children.

10 years agoevas/image - removed dead code.
ChunEon Park [Fri, 8 Nov 2013 10:48:37 +0000 (19:48 +0900)]
evas/image - removed dead code.

10 years agoevas - removed dead code.
ChunEon Park [Fri, 8 Nov 2013 10:22:12 +0000 (19:22 +0900)]
evas - removed dead code.

10 years agoclean up previous commit with simple continues on invalid name
Carsten Haitzler (Rasterman) [Fri, 8 Nov 2013 08:42:34 +0000 (17:42 +0900)]
clean up previous commit with simple continues on invalid name

10 years ago[edje_entry] Add null checking for name of anchor and item.
Youngbok Shin [Fri, 8 Nov 2013 08:40:57 +0000 (17:40 +0900)]
[edje_entry] Add null checking for name of anchor and item.

Summary:
Even if the anchor name is null, it will be appended to "anchors".
There are many null checking for name of anchor.
So it should be checked in geometry_get functions.

Test Plan:
Test with text "<a href =abc>We can't find name in this case</a>".
This text makes break the application. Because of a space between "href" and "=".
The name of anchor will be saved as null in "anchors".

Reviewers: woohyun, tasn, cedric

CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D318

10 years agoRemove selection handlers (and move to elm)
Thiep Ha [Fri, 8 Nov 2013 08:30:44 +0000 (17:30 +0900)]
Remove selection handlers (and move to elm)

Summary:
Selection handlers are now implemented in elementary. So, we should remove them from edje.
The BLOCK_HANDLE mode should be removed also.

Reviewers: cedric, tasn

CC: cedric, raster
Differential Revision: https://phab.enlightenment.org/D312

10 years agoChanged Eo class names to be consistent. #2
Tom Hacohen [Thu, 7 Nov 2013 14:37:00 +0000 (14:37 +0000)]
Changed Eo class names to be consistent. #2

All the class names are now of the format: Elm_Type_Subtype_Extra

Thanks to Yakov for pointing out I forgot a few and for giving me a nice
list.

10 years agoFix getting the clipboard selection and add missing LOGFN macros
Chris Michael [Thu, 7 Nov 2013 14:30:49 +0000 (14:30 +0000)]
Fix getting the clipboard selection and add missing LOGFN macros

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoAdd support for additional keyboard modifiers. Fix handling of Shift
Chris Michael [Thu, 7 Nov 2013 14:29:49 +0000 (14:29 +0000)]
Add support for additional keyboard modifiers. Fix handling of Shift
key for capitals.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoAdd some additional keyboard masks
Chris Michael [Thu, 7 Nov 2013 14:28:44 +0000 (14:28 +0000)]
Add some additional keyboard masks

This adds support for Windows logo, caps lock, num lock, scroll lock
and AltGr as keyboard modifiers

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoChanged Eo class names to be consistent.
Tom Hacohen [Thu, 7 Nov 2013 11:16:01 +0000 (11:16 +0000)]
Changed Eo class names to be consistent.

All the class names are now of the format: Lib_Type_Subtype_Extra.

10 years agoevas: Nice catch from Coverity, fix defect CID 1126097, 1126096 and 1126088.
Cedric Bail [Thu, 7 Nov 2013 10:56:04 +0000 (19:56 +0900)]
evas: Nice catch from Coverity, fix defect CID 1126097, 1126096 and 1126088.

10 years agoedje: add string "program_%p" (%p - edje_program pointer) to a default description...
Vyacheslav Reutskiy [Thu, 7 Nov 2013 09:01:52 +0000 (18:01 +0900)]
edje: add string "program_%p" (%p - edje_program pointer) to a default description of the program being build.

Fix deffect with a missing tokken 'name' in the program description block when
generated by edje_cc.

Reviewers: cedric, seoz

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoeet: Stopped SPANKing the naughty programmer while deleting dictionary.
Vorobiov Vitalii [Thu, 7 Nov 2013 08:58:42 +0000 (17:58 +0900)]
eet: Stopped SPANKing the naughty programmer while deleting dictionary.

Function edje_edit_save_all cause lots of SPANK SPANK, because
eet_dictionary_free is trying to delete string that is actually not a stringshare.

Reviewers: cedric, seoz, raster

Reviewed By: cedric

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D322

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agofix readme to be 1.8.0
Carsten Haitzler (Rasterman) [Thu, 7 Nov 2013 08:25:05 +0000 (17:25 +0900)]
fix readme to be 1.8.0

10 years agoecore_x: accept -1 as valid mm size for no change
Sebastian Dransfeld [Tue, 5 Nov 2013 09:54:23 +0000 (10:54 +0100)]
ecore_x: accept -1 as valid mm size for no change

If we pass in w_mm = h_mm = -1 we want no change if w == cw and h == ch,
as we calculate w_mm and h_mm based on these later.

10 years agoecore_x: store atoms internally
Sebastian Dransfeld [Tue, 5 Nov 2013 08:41:57 +0000 (09:41 +0100)]
ecore_x: store atoms internally

No need to request them every time.

10 years agoecore_x: get correct property
Sebastian Dransfeld [Tue, 5 Nov 2013 08:39:51 +0000 (09:39 +0100)]
ecore_x: get correct property

Since the function is ecore_x_randr_output_connector_type_get, I guess
we want RR_PROPERTY_CONNECTOR_TYPE, not RR_PROPERTY_CONNECTOR_NUMBER.

10 years agoEo: remove ; after while (0) in Eo.h.
Tom Hacohen [Wed, 6 Nov 2013 14:33:06 +0000 (14:33 +0000)]
Eo: remove ; after while (0) in Eo.h.

The whole point of having "do {} while (0);" is to force people to add a
; after the call to the macro. Therefore there should be no semicolon.

10 years agoThis adds the test case for the DNS error patch.
Guillaume Friloux [Wed, 6 Nov 2013 13:30:54 +0000 (14:30 +0100)]
This adds the test case for the DNS error patch.
Do not set the timeout value to something too low or you walk over
another bug i discovered and that needs a lil talk.

10 years agoFixes a bug where when you try to connect to a server using an
Guillaume Friloux [Wed, 6 Nov 2013 13:13:40 +0000 (14:13 +0100)]
Fixes a bug where when you try to connect to a server using an
inexistant DNS, or having a DNS resolution error, there isnt any event
generated for the application to know.

This is not a complete fix has you need to fix a timeout value for it to
happen, but still, it makes it possible to work around it.

More work is needed on this.

10 years agoevil: let's try a more modern declaration.
Cedric Bail [Wed, 6 Nov 2013 02:11:55 +0000 (11:11 +0900)]
evil: let's try a more modern declaration.

10 years agoepp: avoid to rely on undefined behavior for fopen.
Cedric Bail [Tue, 5 Nov 2013 07:28:56 +0000 (16:28 +0900)]
epp: avoid to rely on undefined behavior for fopen.

In the case we didn't define the file to save to, fopen would have
been called with a NULL parameter. The result of that call is not
really defined and could have led to some crash at some point.

10 years agoeina: Avoid increasing required alignment of target type warning on ARM in Eina_Hash.
Ryuan Choi [Tue, 5 Nov 2013 06:45:52 +0000 (15:45 +0900)]
eina: Avoid increasing required alignment of target type warning on ARM in Eina_Hash.

Summary:
When building applications with -Wcast-align on ARM, there are following warnings.
increases required alignment of target type warnings. This impact eina_hash_murmur3.

Reviewers: cedric, seoz

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoecore: remove coroutine for now. Can easily be reverted for 1.9.
Cedric Bail [Tue, 5 Nov 2013 02:12:20 +0000 (11:12 +0900)]
ecore: remove coroutine for now. Can easily be reverted for 1.9.

10 years agoecore/wayland: Use eina_inlist instead of wl_list for inputs too.
Rafael Antognolli [Mon, 4 Nov 2013 16:24:59 +0000 (14:24 -0200)]
ecore/wayland: Use eina_inlist instead of wl_list for inputs too.

10 years agoecore/wayland: Use eina_inlist instead of wl_list for outputs too.
Rafael Antognolli [Mon, 4 Nov 2013 16:18:39 +0000 (14:18 -0200)]
ecore/wayland: Use eina_inlist instead of wl_list for outputs too.

10 years agoecore/wayland: Use eina_inlist instead of wl_list for globals.
Rafael Antognolli [Mon, 4 Nov 2013 15:48:57 +0000 (13:48 -0200)]
ecore/wayland: Use eina_inlist instead of wl_list for globals.

Since we are allocating this list and returning it, let's make it more
EFL-like.

10 years agoRequire wayland libraries of at least 1.3.0
Chris Michael [Mon, 4 Nov 2013 13:29:31 +0000 (13:29 +0000)]
Require wayland libraries of at least 1.3.0

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoAdd "--with-id" configure option that can be used to specify a
Jerome Pinot [Mon, 4 Nov 2013 13:11:48 +0000 (22:11 +0900)]
Add "--with-id" configure option that can be used to specify a
string identifying the build (vendor, maintainer, etc). It defines
EFL_BUILD_ID with default to "none". It can be used by applications
or for bug reports by including Efl_Config.h

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

10 years agoecore/wayland: Move Ecore_Wl_Output to a private header.
Rafael Antognolli [Mon, 4 Nov 2013 13:06:49 +0000 (11:06 -0200)]
ecore/wayland: Move Ecore_Wl_Output to a private header.

This is just not being used outside of ecore_wayland library, so just
move it and nothing breaks.

10 years agoconfigure does not print tests option as a default
Ryuan Choi [Mon, 4 Nov 2013 11:58:09 +0000 (20:58 +0900)]
configure does not print tests option as a default

Reviewers: seoz, raster

Reviewed By: raster

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

10 years agoalpha1 release autofoo/build tree work to pass distcheck and actually work v1.8.0-alpha1
Carsten Haitzler (Rasterman) [Mon, 4 Nov 2013 09:31:48 +0000 (18:31 +0900)]
alpha1 release autofoo/build tree work to pass distcheck and actually work

10 years agoevil: let's try to get the right header.
Cedric Bail [Mon, 4 Nov 2013 08:42:58 +0000 (17:42 +0900)]
evil: let's try to get the right header.

10 years agoevil: add regex code (needed for elm).
Vincent Torri [Fri, 1 Nov 2013 15:00:39 +0000 (16:00 +0100)]
evil: add regex code (needed for elm).

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoAUTHORS: he has been definitively contributing !
Cedric Bail [Mon, 4 Nov 2013 06:48:53 +0000 (15:48 +0900)]
AUTHORS: he has been definitively contributing !

10 years agoedje: fix error _edje_part_description_find_byname, use wrong object.
Vyacheslav Reutskiy [Mon, 4 Nov 2013 06:47:47 +0000 (15:47 +0900)]
edje: fix error _edje_part_description_find_byname, use wrong object.

Reviewers: cedric, seoz

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoedje: add string "default" to a default description of the part being build.
Vyacheslav Reutskiy [Mon, 4 Nov 2013 06:41:51 +0000 (15:41 +0900)]
edje: add string "default" to a default description of the part being build.

Fix deffect with a missing tokken 'state' in the first description block when
generated by edje_cc (It is perfectly valid to not specify the first description
name as it will always be "default").

Reviewers: cedric, seoz

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoedje: edje_edit api - fixed seg fault in the edje_edit_part_del
Vyacheslav Reutskiy [Mon, 4 Nov 2013 06:39:44 +0000 (15:39 +0900)]
edje: edje_edit api - fixed seg fault in the edje_edit_part_del

Reviewers: cedric, seoz

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoeet: Adding EET_DATA_DESCRIPTOR_ADD_MAPPING_BASIC to add a basic type to a union.
Christophe Sadoine [Mon, 4 Nov 2013 06:33:12 +0000 (15:33 +0900)]
eet: Adding EET_DATA_DESCRIPTOR_ADD_MAPPING_BASIC to add a basic type to a union.

I added EET_DATA_DESCRIPTOR_ADD_MAPPING_BASIC because I need basic types in unions, and EET_DATA_DESCRIPTOR_ADD_MAPPING is only for structs.
I also modified the example with a float and a string.

Reviewers: cedric

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoedje: delete unused images from eet(edj) file.
Vyacheslav Reutskiy [Mon, 4 Nov 2013 06:28:59 +0000 (15:28 +0900)]
edje: delete unused images from eet(edj) file.

Update the data_process_lookups function.
Earlier images are not deleted, but his name was
removed from the list, and it was possible to
access the image by id. Now all unused images
are deleted.

Reviewers: cedric, seoz

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoevas: force complete items rebuild on evas_object_font_font_set.
Cedric Bail [Mon, 4 Nov 2013 06:28:16 +0000 (15:28 +0900)]
evas: force complete items rebuild on evas_object_font_font_set.

10 years agoevas: update use of eina_cow_free for latest change.
Cedric Bail [Mon, 4 Nov 2013 03:47:48 +0000 (12:47 +0900)]
evas: update use of eina_cow_free for latest change.

10 years agoedje: update use of eina_cow_free to latest change.
Cedric Bail [Mon, 4 Nov 2013 03:47:34 +0000 (12:47 +0900)]
edje: update use of eina_cow_free to latest change.

10 years agoeina: update Eina_Cow test to latest API change.
Cedric Bail [Mon, 4 Nov 2013 03:47:12 +0000 (12:47 +0900)]
eina: update Eina_Cow test to latest API change.

10 years agoeet: shutup a warning and use the right pointer source even if they are the same.
Cedric Bail [Mon, 4 Nov 2013 03:46:48 +0000 (12:46 +0900)]
eet: shutup a warning and use the right pointer source even if they are the same.

10 years agoeina: make eina_cow_free reset the pointer to the default read only value.
Cedric Bail [Mon, 4 Nov 2013 03:45:25 +0000 (12:45 +0900)]
eina: make eina_cow_free reset the pointer to the default read only value.

10 years agoRevert "evas - clip shutdown fix to avoid invalid mem accesses"
Cedric Bail [Mon, 4 Nov 2013 03:23:25 +0000 (12:23 +0900)]
Revert "evas - clip shutdown fix to avoid invalid mem accesses"

This reverts commit eb6af1f1ff7ee069eff8bab13c0eed5010ef5660.

This commit was making the code much more complex than required. Let's make
eina_cow_free set the value back to its default.

10 years agoeet: let's use const Eina_File here to.
Cedric Bail [Mon, 4 Nov 2013 02:28:56 +0000 (11:28 +0900)]
eet: let's use const Eina_File here to.

10 years agoedje: use const Eina_File for mmap_set function.
Cedric Bail [Mon, 4 Nov 2013 02:28:29 +0000 (11:28 +0900)]
edje: use const Eina_File for mmap_set function.

10 years agoevas: make mmap_set use const Eina_File.
Cedric Bail [Mon, 4 Nov 2013 02:27:59 +0000 (11:27 +0900)]
evas: make mmap_set use const Eina_File.

10 years agoeina: roll const into Eina_File API.
Cedric Bail [Mon, 4 Nov 2013 02:26:59 +0000 (11:26 +0900)]
eina: roll const into Eina_File API.

Note that eina_file_dup is const from the caller perspective as it
will return a fresh "non const" Eina_File that it will be able to
manipulate as it like.

10 years agoevas/x11: Fix Xlib swapper buffer size
Jean-Philippe Andre [Fri, 1 Nov 2013 05:44:07 +0000 (14:44 +0900)]
evas/x11: Fix Xlib swapper buffer size

Problem: Software engine fails to render on Tizen device.

10 years agoevas - clip shutdown fix to avoid invalid mem accesses
Carsten Haitzler (Rasterman) [Sun, 3 Nov 2013 12:43:11 +0000 (21:43 +0900)]
evas - clip shutdown fix to avoid invalid mem accesses

many valgrind complaints on e shutdown are there regarding accessing
cow sections, lists and object elements during shutdown. this plugs
theses little holes to avoid the invalid accesses and thus avoids
potential crashes.

10 years agoeina thread - make note about valgrind complaint that is bogus
Carsten Haitzler (Rasterman) [Sun, 3 Nov 2013 11:51:41 +0000 (20:51 +0900)]
eina thread - make note about valgrind complaint that is bogus

10 years agoevas - re-fix to use first, last or if item is list head on text recomp
Carsten Haitzler (Rasterman) [Sun, 3 Nov 2013 11:33:05 +0000 (20:33 +0900)]
evas - re-fix to use first, last or if item is list head on text recomp

10 years agoMake setter functions "edje_edit_script..." return Eina_Bool.
m.biliavskyi [Sat, 2 Nov 2013 12:26:18 +0000 (21:26 +0900)]
Make setter functions "edje_edit_script..." return Eina_Bool.

Summary:
Make the following function return Eina_Bool so the caller can detect errors :
List of updated functions:
edje_edit_script_set
edje_edit_script_program_set

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D307

10 years agoevas - text - only remove item from list if its in a list
Carsten Haitzler (Rasterman) [Sat, 2 Nov 2013 10:35:45 +0000 (19:35 +0900)]
evas - text - only remove item from list if its in a list

this fixes a n eina complaint - valid as elipsis item was being
deleted and it was not in the list of items.

10 years agofix framespace handling in evas _render to not cause in/out events...
Carsten Haitzler (Rasterman) [Sat, 2 Nov 2013 04:50:13 +0000 (13:50 +0900)]
fix framespace handling in evas _render to not cause in/out events...

but this is not finished. this needs proper fixing. this is a quick
patch for just the worst. the real solution is discussed here:

https://phab.enlightenment.org/T457

10 years agoecore-wl - add ecore_wl_window_surface_id_get so we can unbreak elm
Carsten Haitzler (Rasterman) [Sat, 2 Nov 2013 02:44:15 +0000 (11:44 +0900)]
ecore-wl - add ecore_wl_window_surface_id_get so we can unbreak elm

10 years agoecore/wayland: Finally move Ecore_Wayland internals to private header.
Rafael Antognolli [Fri, 1 Nov 2013 17:55:39 +0000 (15:55 -0200)]
ecore/wayland: Finally move Ecore_Wayland internals to private header.

10 years agoecore/wayland: Add ecore_wl_window_keyboard_get().
Rafael Antognolli [Fri, 1 Nov 2013 17:51:38 +0000 (15:51 -0200)]
ecore/wayland: Add ecore_wl_window_keyboard_get().

Instead of use direct access to the Ecore_Wl_Window structure, just use
the getter, so we can hide the internals.

10 years agoecore/wayland: Set win->resizing flag inside ecore_wl_resize().
Rafael Antognolli [Fri, 1 Nov 2013 17:51:14 +0000 (15:51 -0200)]
ecore/wayland: Set win->resizing flag inside ecore_wl_resize().

10 years agoecore/wayland: Set win->moving from inside ecore_wayland.
Rafael Antognolli [Fri, 1 Nov 2013 16:33:54 +0000 (14:33 -0200)]
ecore/wayland: Set win->moving from inside ecore_wayland.

We can set it from the ecore_wl_window_move() function, instead of
directly changing the attribute.

10 years agoecore(_evas)/wayland: Move frame callback to engine data.
Rafael Antognolli [Fri, 1 Nov 2013 16:19:11 +0000 (14:19 -0200)]
ecore(_evas)/wayland: Move frame callback to engine data.

It's something specific to the ecore_evas engine/module, so there's no
need to keep this info in the Ecore_Wl_Window.

10 years agoecore/wayland: Add title_set and class_name_set APIs.
Rafael Antognolli [Fri, 1 Nov 2013 13:38:05 +0000 (11:38 -0200)]
ecore/wayland: Add title_set and class_name_set APIs.

These two APIs will save the title and class_name inside
Ecore_Wl_Window, so if they are called before the shell surface is
created, the stored names will be used later when the window is finally
shown (shell surface is created).

This way we are also hiding the shell surface from ecore_evas modules.

10 years agoecore_evas/wayland: Do not update opaque region to the same value.
Rafael Antognolli [Fri, 1 Nov 2013 12:43:53 +0000 (10:43 -0200)]
ecore_evas/wayland: Do not update opaque region to the same value.

This should not be necessary, since it's setting exactly the same
current opaque region. Changing the opaque region might be needed, but
not here.

10 years agoecore/wayland: Remove attributes that are not used anymore.
Rafael Antognolli [Fri, 1 Nov 2013 12:28:14 +0000 (10:28 -0200)]
ecore/wayland: Remove attributes that are not used anymore.

Some attributes might have been useful in the past, but not anymore.
Just remove since they are not been used anywhere.

10 years agoEvas textgrid: Added some clouseau debug info.
Tom Hacohen [Fri, 1 Nov 2013 12:02:55 +0000 (12:02 +0000)]
Evas textgrid: Added some clouseau debug info.

10 years agoedje/edje_entry.c : By Next/Previous, cursor can reach to the top or the bottom of...
WooHyun Jung [Fri, 1 Nov 2013 09:32:43 +0000 (18:32 +0900)]
edje/edje_entry.c : By Next/Previous, cursor can reach to the top or the bottom of entry.

10 years agoFix compiler warning: Need to define _state_update function early as
Chris Michael [Fri, 1 Nov 2013 08:41:30 +0000 (08:41 +0000)]
Fix compiler warning: Need to define _state_update function early as
it is used in various places later.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
10 years agoedje: make mouse_events, repeat_events, ignore_flags and scale setters return Eina_Bool.
Andrii Kroitor [Fri, 1 Nov 2013 02:30:23 +0000 (11:30 +0900)]
edje: make mouse_events, repeat_events, ignore_flags and scale setters return Eina_Bool.

Make the following function return Eina_Bool so the caller can detect errors :
edje_edit_part_mouse_events_set
edje_edit_part_repeat_events_set
edje_edit_part_ignore_flags_set
edje_edit_part_scale_set

Reviewers: cedric, seoz

Reviewed By: cedric

CC: reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D303

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoedje: make functions "edje_edit_state_fill/aspect/align..." return Eina_Bool
m.biliavskyi [Fri, 1 Nov 2013 02:17:24 +0000 (11:17 +0900)]
edje: make functions "edje_edit_state_fill/aspect/align..." return Eina_Bool

Make the following function return Eina_Bool so the caller can detect errors :
List of updated functions:
edje_edit_state_align_x_set
edje_edit_state_align_y_set
edje_edit_state_aspect_min_set
edje_edit_state_aspect_max_set
edje_edit_state_aspect_pref_set
edje_edit_state_fill_origin_relative_x_set
edje_edit_state_fill_origin_relative_y_set
edje_edit_state_fill_origin_offset_x_set
edje_edit_state_fill_origin_offset_y_set
edje_edit_state_fill_size_relative_x_set
edje_edit_state_fill_size_relative_y_set
edje_edit_state_fill_size_offset_x_set
edje_edit_state_fill_size_offset_y_set

Reviewers: cedric, seoz

Reviewed By: cedric

CC: reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D300

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoChangeLog: let's try to be more informative in our commit.
Cedric Bail [Fri, 1 Nov 2013 02:15:35 +0000 (11:15 +0900)]
ChangeLog: let's try to be more informative in our commit.

Would be good that everyone specify on which part there change did apply.
Some are really not obvious.

10 years agoEvas: Fixed textblock rendering to properly set render operation on context.
Youngbok Shin [Fri, 1 Nov 2013 02:09:58 +0000 (11:09 +0900)]
Evas: Fixed textblock rendering to properly set render operation on context.

Render operation are not well tested. It appears that it was never properly setted
on a textblock, this would lead to see it rendered with the render operation of another
object.

Test Plan:
Add some rectangle object with textblock object.
The textblock style should be set to "backing=on backing_color=#ffffffff".
Set render operation to some rectangle with "evas_object_render_op_set(rect, EVAS_RENDER_COPY)".
Check the textblock.

Reviewers: woohyun, cedric, raster

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoedje: make functions return Eina_Bool and fix documentation.
Andrii Kroitor [Fri, 1 Nov 2013 02:03:30 +0000 (11:03 +0900)]
edje: make functions return Eina_Bool and fix documentation.

Make the following functions return Eina_Bool so the caller can detect errors:
edje_edit_part_drag_x_set
edje_edit_part_drag_y_set
edje_edit_part_drag_step_x_set
edje_edit_part_drag_step_y_set
edje_edit_part_drag_count_x_set
edje_edit_part_drag_count_y_set

Added functions for threshold:
edje_edit_part_drag_threshold_set
edje_edit_part_drag_threshold_get

Fixed description of 'count' parameter of dragable.x/y

Reviewers: cedric, seoz

Reviewed By: cedric

CC: reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D304

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoedje: make functions in edje_edit API return Eina_Bool.
Vorobiov Vitalii [Fri, 1 Nov 2013 02:01:37 +0000 (11:01 +0900)]
edje: make functions in edje_edit API return Eina_Bool.

Make the following functions return Eina_Bool so the caller can detect errors:
edje_edit_state_visible_set
edje_edit_state_color_class_set

Removed unnecessary check in edje_edit_state_image_border_fill_set.

Reviewers: cedric, seoz

Reviewed By: cedric

CC: reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D305

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
10 years agoedje: make it possible for all upper layer function to query the exact same file.
Cedric Bail [Fri, 1 Nov 2013 01:58:33 +0000 (10:58 +0900)]
edje: make it possible for all upper layer function to query the exact same file.

With Eina_File we now can pass an efficient handler accross library boundary. Edje
and all underlayer already use it to avoid race condition when setting an Edje object.
Elementary and Enlightenment are still exposed to some potential race condition when
an Edje file is modified underneath there feet. With the following set of function it
should now be possible to avoid those race condition to:
edje_mmap_data_get
edje_mmap_collection_list
edje_mmap_collection_list_free
edje_mmap_group_exists

10 years agopo: updated po files.
Daniel Juyung Seo [Thu, 31 Oct 2013 23:42:54 +0000 (08:42 +0900)]
po: updated po files.

10 years agoecore/wayland: Do not store "edges" in Ecore_Wl_Window.
Rafael Antognolli [Thu, 31 Oct 2013 22:15:36 +0000 (20:15 -0200)]
ecore/wayland: Do not store "edges" in Ecore_Wl_Window.

This is a configure event info, so put it in the right place. Some
places adding edges info were also removed, which means that they were
redundant.

Tested with <Meta> + middle click resize, and with window border resize,
on all the edges. Apparently, nothing breaks.

10 years agoecore/wayland: Do not use win->id directly.
Rafael Antognolli [Thu, 31 Oct 2013 22:02:40 +0000 (20:02 -0200)]
ecore/wayland: Do not use win->id directly.

Use a getter for it instead, so we don't need to expose the
Ecore_Wl_Window struct just because of it.

10 years agoecore/wayland: Make Ecore_Wl_Input private.
Rafael Antognolli [Thu, 31 Oct 2013 21:09:30 +0000 (19:09 -0200)]
ecore/wayland: Make Ecore_Wl_Input private.

It's mostly only used inside ecore_wayland library anyway.

The only bit needed outside of the library is the "seat" pointer, but a
new function was added to retrieve such pointer from Ecore_Wl_Input.