Jiyoun Park [Tue, 9 Aug 2016 02:20:21 +0000 (19:20 -0700)]
Revert "ecore_wl_input: fix timestamp of repeat key event."
This reverts commit
f0612400d329ff41c5ddae6c7087b0c867c56ca6.
Change-Id: I5bc5accdc1fdd57ab91eca4ec1072a96bb755304
Hosang Kim [Mon, 8 Aug 2016 10:06:45 +0000 (19:06 +0900)]
ecore_wl_input: fix timestamp of repeat key event.
Timestamp is not updated when key event is repeated.
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I924321ba2e1f05292654b8c8d7b81e369b956977
Jean Guyomarc'h [Mon, 12 Oct 2015 16:49:46 +0000 (18:49 +0200)]
ecore_cocoa: don't specify inline
Change-Id: Id1d86f50281c5e2b4c1b80869d0c8e11948de5b5
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jean Guyomarc'h [Thu, 8 Oct 2015 09:58:46 +0000 (11:58 +0200)]
ecore_cocoa: add support for system cursors
- Ecore_Cocoa_Cursor enum which references system cursors;
- API to show/hide cursor: ecore_cocoa_window_cursor_show();
- API to set system cursor: ecore_cocoa_window_cursor_set();
- Ecore_Evas interface to get Ecore_Cocoa_Window from Ecore_Evas.
@feature
Change-Id: Iadef3d4bbffd5c92fa2c8d040393f7a9160c8ac4
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Nicolas Aguirre [Thu, 6 Aug 2015 17:06:34 +0000 (19:06 +0200)]
ecore_cocoa/evas_gl_cocoa: fix indent, remove printf, and add DBG messages
Change-Id: I52fbe128a50ca5db69e5bf96fc2d2e78903b97f2
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
sunghyun kim [Mon, 8 Aug 2016 07:51:32 +0000 (00:51 -0700)]
Revert "[evas-gl] change dyn.target & delete api"
This reverts commit
a1cb67bdb9007b58c9b506989a3aacf640b36c53.
Change-Id: I95e64920dab5cdd9283dea717bf6e2993988f9ad
Pankaj Mittal [Tue, 2 Aug 2016 07:38:00 +0000 (13:08 +0530)]
edje_entry: Fix crash on selection.
evas: properly clean up all memory.
Summary:
When text is selected, crash happens due to double free as rectangles are freed both in _sel_update
and _evas_textblock_selection_iterator_free hence removing free from _sel_update.
upstream commit:
6bd863cf4ffb46f0267e96844cea37a95599e9de
Signed-off-by: Pankaj Mittal <m.pankaj@samsung.com>
Change-Id: Ib5afa8be821e983aa2e3c562c5f8df70151e5e00
Jean-Philippe Andre [Mon, 27 Jun 2016 11:36:24 +0000 (20:36 +0900)]
evas: Fix bad clipping with proxy
evas-images2 example was broken due to excessive clipping.
This is one more issue with the cached clip geometry.
By default proxy_src_clip is true. The doc (that I wrote)
mentions that it means both objects (image proxy & source)
share the same clipper. So, this does not mean that the proxy
is clipped to the geometry of the source (this can be useful
in some cases, when replacing an object with a proxy to apply
some kind of effect on it... but this could be rare).
Thanks Amitesh for the report.
@fix
Signed-off-by: Pankaj Mittal <m.pankaj@samsung.com>
Change-Id: I910f57162064aafecc1b0397f8c7af6ba1469e94
Subhransu Mohanty [Fri, 5 Aug 2016 04:45:11 +0000 (13:45 +0900)]
svg: backported from opensource
Change-Id: Ice88f75c1461f3febb6eb1f67be27cf02f6db49d
Tom Hacohen [Fri, 5 Feb 2016 11:48:36 +0000 (11:48 +0000)]
Ecore con local: properly clean up fd on error.
This wasn't done correctly in the previous commit. First of all, the
order of cleanup was wrong, the cleanup area should only be called if
failures occurred after the fd allocation, not before. Also, fd should
be reinitialised to -1 once we close the socket.
Change-Id: I96edd3c4685300e4ec8e25e55aa8a17774700eb5
Signed-off-by: Awadhesh Singh <awadhesh1.s@samsung.com>
Pankaj Mittal [Tue, 2 Aug 2016 07:14:43 +0000 (12:44 +0530)]
Edje data: Fix memory leak in nested data descriptors
upstream commit:
b54fe3fe617710832b0d7bfe361f3bcb3bfd0ad3
this was ported from upstream.
Signed-off-by: Pankaj Mittal <m.pankaj@samsung.com>
Change-Id: If235d930e6acda55a9d2a51ed978b81b56eac263
Pankaj Mittal [Tue, 2 Aug 2016 06:49:51 +0000 (12:19 +0530)]
Evas textblock: Remove redundant NULL check.
this issue was a fix for problem Detected by smatch
This is ported from upstream.
Signed-off-by: Pankaj Mittal <m.pankaj@samsung.com>
Change-Id: I80fc34c11f811b0d69a79fb2db7b9b4db013b049
Hermet Park [Thu, 4 Aug 2016 06:43:41 +0000 (15:43 +0900)]
efl: fix a neon build break.
We found a some build break problem due to a build system.
In efl configuration, our efl configure enables neon if it's available,
but neon gonna partially turned off on evas compilation if the build system
has a non neon CFLAG option (ie, mfpu=vfpv..). In the end, neon is partially enabled
and it turns out a build break.
It's non-sense but we can't allow this breakage.
There is no way to ignore build system option nor override our neon option perfectly,
so, Let efl package ruled by build system overall.
http://git.enlightenment.org/core/efl.git/commit/?id=
77d2e0cb959b9e7ecc6ffc09b67031ac3687f332
Change-Id: Ie94e277b206830a517a4fb33f1187b1fa785d243
InHong Han [Wed, 3 Aug 2016 07:40:24 +0000 (16:40 +0900)]
ecore_imf: Add ECORE_IMF_INPUT_PANEL_LAYOUT_VOICE
Change-Id: I41502d2446b95a4be31fc60a8d995b9d37930844
Doyoun Kang [Wed, 27 Jul 2016 06:09:45 +0000 (15:09 +0900)]
ecore_wayland: added feature for handling indicator
Change-Id: Iba6b112c38da173f3a635dd4421b76d40d4d54ee
MinJeong Kim [Tue, 26 Jul 2016 11:07:28 +0000 (20:07 +0900)]
ecore_wayland: handle 'aux_message' event and create its ecore event
Change-Id: Icaf9f2c1347e45e1a12a96ebfb9fdaa64f111ea3
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Juyeon Lee [Wed, 13 Jul 2016 12:31:18 +0000 (21:31 +0900)]
ecore_wl_window: resource destroy for tizen_resource iface
Change-Id: Ia9557056b56df76f1ad4acdfc10333831b01ab31
Duna Oh [Mon, 20 Jun 2016 10:52:59 +0000 (19:52 +0900)]
ecore_wl: store last_device_ptr/kbd/touch seperately
tizen_input_device sends event_device events only when event_device's class is changed
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I92bb7fd6833c2574415c99d4286bf0d375f40129
Andrii Kroitor [Wed, 20 Jul 2016 14:36:26 +0000 (17:36 +0300)]
edje_edit: comment out text and size classes
Change-Id: If3c62c3ea030d0f527b250f44bd9d49628252390
Vitalii Vorobiov [Tue, 7 Jun 2016 13:57:02 +0000 (16:57 +0300)]
edje_edit: fix copy&paste type for map functions which should return int
zplane and focal actually returns int, not Eina_Bool
@fix
Change-Id: Ic384276c8e0406a55425ed41d0d0e8b3ccf57058
Mykyta Biliavskyi [Tue, 17 May 2016 09:00:44 +0000 (12:00 +0300)]
Edje_edit: generate code of the image sets.
Added support generate the edc code of the image sets in the image top level block.
And correct support inside the image.normal attribute.
Change-Id: I6f88e7323e8e69c8c4b3e55301cac1d633c9ff1c
Mykyta Biliavskyi [Mon, 16 May 2016 12:48:15 +0000 (15:48 +0300)]
Edje_edit: generate states of the box and table part edc code with inheritance.
Generate inheritance box and table attributes from similar state.
Change-Id: Iec03eb67e04ee94f7cfc082fae5f741045e9e31f
Mykyta Biliavskyi [Mon, 16 May 2016 12:21:59 +0000 (15:21 +0300)]
Edje_edit: generate states of the proxy part edc code with inheritance.
Generate inheritance proxy attribute "source" from similar state.
Change-Id: Ic0aa52bdc3e4d5ff67a0ff84feec8391cb03240c
Mykyta Biliavskyi [Mon, 16 May 2016 12:12:31 +0000 (15:12 +0300)]
Edje_edit: generate states of the image part edc code with inheritance.
Generate inheritance image attributes from similar state.
Change-Id: I4dfe98e888c1096132b1c86d1b3ce4269d70ecfd
Mykyta Biliavskyi [Mon, 16 May 2016 11:55:11 +0000 (14:55 +0300)]
Edje_edit: generate states of the text part edc code with inheritance.
Generate inheritance text attributes from similar state.
Change-Id: I5601a5d13cb025916b46abf71dafc5a8b42ae303
Mykyta Biliavskyi [Mon, 16 May 2016 11:34:02 +0000 (14:34 +0300)]
Edje_edit: generate state code with inheritance map block.
Add ability to generate inherited code for map block.
Change-Id: Ica9ba762295073f246f68c4bbfd0ea42e71d38a9
Mykyta Biliavskyi [Mon, 16 May 2016 11:25:00 +0000 (14:25 +0300)]
Edje_edit: generate state code with inheritance rel block.
Add ability to generate inherited code for relative block.
Change-Id: I327c8ffbedb9cd2fc547e58cf78de0b05db877aa
Mykyta Biliavskyi [Mon, 16 May 2016 10:57:52 +0000 (13:57 +0300)]
Edje_edit: generate state code with inheritance general attributes.
Support inheritance for part states on the edc code generate time.
Only for general attributes are supported, except relative and
map blocks.
Added functions for calculation coefficient of similarity
between two different states of the same part.
Change-Id: I745d36b1170efd6ac0039a30b6b9ce2bd2dfc251
Mykyta Biliavskyi [Mon, 16 May 2016 10:33:42 +0000 (13:33 +0300)]
Edje_edit: move text state edc code generate to standalone func.
Created internal function _edje_generate_source_state_text.
This is needed for implementation generate inheritance
states in edc code.
Change-Id: I6e66a93e9f1642505bf7f8f4b916c0b1d008ce4b
Jean-Philippe Andre [Thu, 28 Apr 2016 07:05:00 +0000 (16:05 +0900)]
Edje Edit: Fix compilation warning
Change-Id: If2d1ddf708c7246fe9f45872b32b816006f3d34e
Mykyta Biliavskyi [Tue, 26 Apr 2016 15:08:23 +0000 (18:08 +0300)]
Edje edit: improve state code generation.
Split function _edje_generate_source_of_state into
separated smallest functions, that represent generation
of source code for different blocks.
List of added internal functions:
- _edje_generate_source_state_map
- _edje_generate_source_state_box
- _edje_generate_source_state_table
- _edje_generate_source_state_image
- _edje_generate_source_state_proxy
- _edje_generate_source_state_relative
Add support collapse blocks, in cases when
block contain only one attribute.
For example:
next EDC code
description { state: "default";
{
rel1 {
relative: 0.5 0;
}
}
now will be replaced by:
description { state: "default";
{
rel1.relative: 0.5 0;
}
Change-Id: Ic71dd14abfb587bca5b91894e166e369ae57d79e
Vyacheslav Reutskiy [Tue, 26 Jul 2016 12:25:01 +0000 (15:25 +0300)]
edje_pick: copy block 'data'
Copy global data from files. Main resoan for it - elementary.
Elementary needs data "version" for load widget styles.
@fix
Change-Id: Ied2584e1bf3a1bbe05246f782fe508545b979eeb
Vyacheslav Reutskiy [Thu, 21 Jul 2016 11:02:46 +0000 (14:02 +0300)]
edje_pick: reset alias flag for copied group
edje_pick make copy of whole group, even if group is alias. So if
group was alias need to reset this flag.
@fix
Change-Id: I38309df35ac890e5226161bc20e36d2253ed5062
Vyacheslav Reutskiy [Tue, 19 Jul 2016 15:25:52 +0000 (18:25 +0300)]
edje_pick: copy dependent group
Parts can use enother groups as source, for example textblock. If source
groups does not exist - group is not valid. This patch extend the group
copy process and copy dependend group too.
@fix
Change-Id: Ib64be93331202029a6204c0406a76a10902c62db
Jean-Philippe Andre [Wed, 13 Jul 2016 02:16:33 +0000 (11:16 +0900)]
edje_pick: Fix use after free
Fixes CID 1267458 (trying again)
Change-Id: I6981873d5bac05d7d407582dcb4c12d8794d96f2
Jaehwan Kim [Thu, 7 Jul 2016 05:30:17 +0000 (14:30 +0900)]
edje_pick: realloc bug fix
@fix
Change-Id: Ibffd5911dd340518cdc583640ca786dfdf1eae90
Jean-Philippe Andre [Mon, 4 Jul 2016 11:25:17 +0000 (20:25 +0900)]
edje: Remove shadow variable
Change-Id: I8554fc21e1b56bc34b97e902f7c88ba75cecc4dd
Jaehwan Kim [Fri, 1 Jul 2016 02:18:27 +0000 (11:18 +0900)]
edje_pick: load just used images.
If the edj is made by partial groups, the images that groups use
should be included.
@fix
Change-Id: I75616642af88abdd465969597623eeb48858d781
Andrii Kroitor [Wed, 20 Jul 2016 14:31:57 +0000 (17:31 +0300)]
edje_edit: fix eo_parent_set calls
Change-Id: I3241279cb6c7fb285f59a8e35e5b10f3dd5c2bcf
Carsten Haitzler (Rasterman) [Sat, 9 Jul 2016 03:17:46 +0000 (12:17 +0900)]
edje edit - api was broken with incorrect l r t b ordering for border
this fixes ordering to match everywhere else ANd usage of the get
func. this was broken already where top/bottom border would swap -
plese see coverity scan CID 1355590 for an example of problems this
created.
Change-Id: I847d4017f540e61f3b9f8137002ef376c9998f71
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 06:33:19 +0000 (15:33 +0900)]
edje edit - fix leaks spotted by coverity
fixes CID 1356630
Change-Id: I7bacf8be18cf5ba369468d3b8950b3530684d17a
Vitalii Vorobiov [Thu, 7 Jul 2016 17:31:01 +0000 (20:31 +0300)]
edje_edit: on save_all firstly save all cached group, then all other
this will fix case when aliased group was changed and alias-group was loaded,
so then on saving alias-group WON'T rewrite all changed to aliased group
@fix
Change-Id: I1da040640b87b00608ee172f6a5ef0c9f6a689b9
Mykyta Biliavskyi [Tue, 5 Jul 2016 17:18:32 +0000 (20:18 +0300)]
Edje_Edit: allow set NULL as a style name for textblock part.
NULL as 'style' value remove style name from textblock part state.
Change-Id: I8473a1e6472cc3e20dadba36d2a23be0d99c720c
Carsten Haitzler (Rasterman) [Mon, 4 Jul 2016 05:59:59 +0000 (14:59 +0900)]
edje - reduce memory footprint by rearranging structs and types
this should cut some memory used by edje by using smaller types like
shorts instead of ints where we just dont need a full int range and
short will do, and re-ordering in memory data soit packs better when
accoutning for alignment
Change-Id: Ia4b6755b0056cd6e9dc3260775a6c2bbb01ddd0c
Vitalii Vorobiov [Thu, 30 Jun 2016 09:08:46 +0000 (12:08 +0300)]
edje_edit: remove useless pointer grab as it conflicts with elementary combobox
Summary:
So currently having an issue related to clip_to function from
EdjeEdit API. I am not sure about how and why combobox use pointer grabbing
(just started to use it) but when setting NULL into clip_to of edje edit it
suddenly block entire screen away from mouse. Only when point is moved out of
window and back, only then it will be able to access widgets again.
Take a look at video and maybe try example to reproduce problem
I am not sure if deleting those functions from edje_edit is actually right
decision. But it will fix the problem of course.
Test Plan: See attached video and examples in attached files
Reviewers: NikaWhite, reutskiy.v.v, Hermet, cedric, raster
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4081
Change-Id: Icda0649a2aadb0d904d9b2e5884b107e1c4833fb
Jean-Philippe Andre [Tue, 21 Jun 2016 06:45:31 +0000 (15:45 +0900)]
evas: Remove common interface and use provider_find
Evas.Common_Interface not only had a bad name, it also
wasn't in line with how we can get a loop object, for
instance.
Use eo_provider_find in each implementing class.
Change-Id: I653d1c5a3687df3dfc9b37015ffa2b939d8bf8d0
Mykyta Biliavskyi [Thu, 16 Jun 2016 11:33:32 +0000 (14:33 +0300)]
Edje_edit: fix text_source_set and text_text_source_set.
Do not need to replace text value inside edje_edit_state_text_text_source_set,
because edje_text module will use text from source.
Change-Id: I7dfb4b2fa6a8fb3bb83c971fafb87c2c7db79300
Vyacheslav Reutskiy [Thu, 16 Jun 2016 07:56:31 +0000 (10:56 +0300)]
edje_edit: return NULL if part has not style attribute
Change-Id: I47358c1250c2d710513f669c09281d48deea8d71
Vitalii Vorobiov [Wed, 15 Jun 2016 09:53:15 +0000 (12:53 +0300)]
edje_edit: save referenced groups when image id's are changed
@fix
Change-Id: I9fbb9bd96598d2933f71050b4c89e0563a44abc2
Vitalii Vorobiov [Wed, 8 Jun 2016 15:47:19 +0000 (18:47 +0300)]
edje_edit: add missed part and description initializations
@fix
Change-Id: I15b37bf613d1fabd5f0512c2b6e8530366b20de1
Vitalii Vorobiov [Tue, 7 Jun 2016 14:56:40 +0000 (17:56 +0300)]
edje_edit: text style should be able to set into NULL
@fix
Change-Id: I790fce553c7dfd42c5fc330986a2e63fae897225
Vitalii Vorobiov [Mon, 6 Jun 2016 17:46:14 +0000 (20:46 +0300)]
edje_edit: fix map API (light, perspective, rotation)
it should be possible to set light or perspective to NULL
and return -1 when nothing is set
also ability to send NULL point to store rotation
@fix
Change-Id: If949b472a19f9a56d12b93fd2bb8a3e86ab904ef
Vyacheslav Reutskiy [Mon, 6 Jun 2016 07:42:14 +0000 (10:42 +0300)]
edje_edit: return lost API *_span_row/col_set declaration
I'm lost this declaration while add API for manager part items by
index and mark as deprecated old funcs
Change-Id: I005d69e363e1e3fb0bd7ce25501e07c5d04c5ddd
Jean Guyomarc'h [Sat, 4 Jun 2016 14:51:38 +0000 (16:51 +0200)]
edje: don't return a boolean when a pointer is expected
Fix a warning thrown by Apple-llvm.
Change-Id: I6790b907e9c21a4a841967817d2ec5fc88414992
Vyacheslav Reutskiy [Fri, 3 Jun 2016 09:26:57 +0000 (12:26 +0300)]
edje_edit: add API for set/get part item
Change-Id: Ib09ffb4b7f565d4736dfe889effb0cb7bf83d294
Vyacheslav Reutskiy [Thu, 2 Jun 2016 14:40:00 +0000 (17:40 +0300)]
edje_edit: add API for get part item attributes by item index
Cedric revert patch
6f7608befd006f8076d237bee5d17c9e9e1e09ac same days
ago.
<quote Cedric>
Your patch
6f7608befd006f8076d237bee5d17c9e9e1e09ac did break elemines
which does relly on the proper index to be given to it. I think
Edje_Edit should be fine and use the index if no name is provided (See
edje_load.c around L1180). In all case this was clearly an ABI break and
needed to be reverted.
</quote Cedric>
So now edje_cc not guarantee name for part items. This is bad, because
edje_edit use item name for access to item attributes. If item have not
name we cann't get it attributes, because edje_edit compare the given
name with part items name from edj-file, strcmp dislake NULL args.
For now I see one way mark all edje_edit_part_item* APIs as deprecated
and add new APIs for manage part items by index.
For clearly and history:
The eason for revert - https://phab.enlightenment.org/D3820
The proposed solution - https://phab.enlightenment.org/D3907
Change-Id: I1d2d497749bdf40fd2ed05deaf488d8dd5e533fe
Vitalii Vorobiov [Tue, 10 May 2016 14:30:03 +0000 (17:30 +0300)]
Edje_Edit: more API for proxy fields like source_clip and source_visible
Setters and getters like
edje_edit_state_proxy_source_clip_set
edje_edit_state_proxy_source_clip_get
edje_edit_state_proxy_source_visible_set
edje_edit_state_proxy_source_visible_get
Change-Id: I13569777f4ad36cb433ee14596191640277c4054
Andrii Kroitor [Tue, 10 May 2016 22:44:30 +0000 (15:44 -0700)]
edje_edit: fix edje_edit_group_copy
Summary:
Writing copy directly to file.
Old way (adding directly to collection cache) leads to possible segfaults
on edje_collection_cache_flush.
Reviewers: reutskiy.v.v, cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3904
Change-Id: I53bd730a1aad4d19be29b5a896819a2e79972cfb
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Mykyta Biliavskyi [Fri, 29 Apr 2016 08:25:41 +0000 (11:25 +0300)]
Edje edit: remove color generate from SPACER source.
It is possible situation when SPACER structure has colors values.
For example:
group { name: "abc";
parts {
part { name: "rect"; type: RECT;
description { "default" 0.0;
color: 7 7 7 255;
}
}
}
}
group { name:"abc_2";
inherit: "abc";
parts {
part { name: "rect"; type: SPACER;
}
}
}
To avoid failing compilation of generated source code, need avoid
generate color source code for a SPACER part.
Change-Id: Ib4dd565a3df59d899a28553ca2e8a7290f724e03
Vitalii Vorobiov [Thu, 28 Apr 2016 12:38:50 +0000 (15:38 +0300)]
Edje_Edit: update function that return image usage to include sets
Image can be also used not only inside of any image parts, but also
inside of any sets (and plenty of times)
Change-Id: I556c87067f1bf81d3d8f7273ed109ab02bdd5352
Vitalii Vorobiov [Thu, 28 Apr 2016 12:06:20 +0000 (15:06 +0300)]
Edje_Edit: API to delete set of images
Allow to delete set if it is not used by any part
Function to check if set is used by any part is:
edje_edit_set_usage_list_get
Since it uses same struct as image_used_list_get function, it
can be freed by edje_edit_image_usage_list_free.
Change-Id: I5d897ea1823a5cf7654eaa803ccdea95bdf3660c
Vitalii Vorobiov [Wed, 27 Apr 2016 13:34:02 +0000 (16:34 +0300)]
Edje_Edit: setter and getter for set image's scale_by
edje_edit_image_set_image_border_scale_set
edje_edit_image_set_image_border_scale_get
Change-Id: Ib54aadbf04e6d0d9a54b5284c9007535dc60eada
Vitalii Vorobiov [Wed, 27 Apr 2016 13:23:43 +0000 (16:23 +0300)]
Edje_Edit: functions to set and get set's images border
edje_edit_image_set_image_border_set
edje_edit_image_set_image_border_get
Change-Id: Ica644af4555d27f1670ded1d825c1a378b1c14b3
Vitalii Vorobiov [Wed, 27 Apr 2016 12:42:12 +0000 (15:42 +0300)]
Edje_Edit: setters and getters for set's image size (min and max)
Functions are:
edje_edit_image_set_image_min_get
edje_edit_image_set_image_min_set
edje_edit_image_set_image_max_get
edje_edit_image_set_image_max_set
Change-Id: Ib378f0fdce6e3ffc99dd5059411752847c40b090
Vitalii Vorobiov [Wed, 27 Apr 2016 10:58:44 +0000 (13:58 +0300)]
Edje_Edit: some API to manipulate set's images
get list of images of set (edje_edit_image_set_images_list_get)
add image to set (edje_edit_image_set_image_add)
delete image from set by it's place (edje_edit_image_set_image_del)
Change-Id: I4dc2000fb229125eb20ee1c04f0f6c47d6c002cb
Vitalii Vorobiov [Wed, 27 Apr 2016 08:52:04 +0000 (11:52 +0300)]
Edje_Edit: image set API
list of sets (edje_edit_image_set_list_get)
renaming set (edje_edit_image_set_rename)
add new set (edje_edit_image_set_add)
set's id (edje_edit_image_set_id_get)
Change-Id: Idf8aa4061d9199a9bf30a512b3eb266dd5081808
Vitalii Vorobiov [Tue, 26 Apr 2016 12:04:46 +0000 (15:04 +0300)]
Edje_Edit: API to check if given name of "image set" is exist
edje_edit_image_set_exists
Change-Id: Ia43582a270c9fa131350c3f70e426e9d8ce3d9bc
Vitalii Vorobiov [Tue, 26 Apr 2016 11:43:47 +0000 (14:43 +0300)]
Edje_Edit: get "set's name" if it was set as image normal or tween
Sets and Images, they might have same id but different names
Change-Id: Ib674d72e683fdc37ae3537804a2e53b48bb3a968
Andrii Kroitor [Fri, 22 Apr 2016 23:12:26 +0000 (16:12 -0700)]
edje_edit: fix mempools in group/alias add
Summary: moved mempools adding to separate method to avoid this problem in future
Reviewers: cedric, reutskiy.v.v
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3903
Change-Id: I07f003801de2a6be0a4dc69313b5c4b4f435de2e
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Mykyta Biliavskyi [Tue, 19 Apr 2016 11:19:53 +0000 (14:19 +0300)]
Edje edit: fix aspect_preference value into generate code function.
Add value "SOURCE" as one of possible values for aspect_preference
attributes.
@fix
Change-Id: Ie01fca9ba957b1c7c770ecb9f96fc07825995d0e
Mykyta Biliavskyi [Tue, 19 Apr 2016 11:06:40 +0000 (14:06 +0300)]
Edje edit: add new program actions into code generate function.
Generate edc source code for next action types:
- EDJE_ACTION_TYPE_FOCUS_SET
- EDJE_ACTION_TYPE_FOCUS_OBJECT
- EDJE_ACTION_TYPE_PARAM_COPY
- EDJE_ACTION_TYPE_PARAM_SET
Change-Id: I68583c8a533b32180ca8825b8c4f4bd639a69840
Mykyta Biliavskyi [Mon, 18 Apr 2016 13:46:39 +0000 (16:46 +0300)]
Edje edit: fix get list of program tagrets.
Correct support all types of program actions for constructing
list of targets.
There are 3 group of actions, that related to targets:
- Does not support targets at all.
- Support only parts as targets.
- ACTION_STOP, that supported parts and other programs as targtes.
@fix
Change-Id: Ide38e16c96e26fdb14d463174709dcabba831d1f
Andrii Kroitor [Mon, 18 Apr 2016 23:32:26 +0000 (16:32 -0700)]
edje_edit: add missing mempools on group copy
Reviewers: reutskiy.v.v, cedric
Subscribers: cedric, FurryMyad, NikaWhite, jpeg
Differential Revision: https://phab.enlightenment.org/D3899
Change-Id: I044060c83572670fffc81083933e03c5f3ce6b1d
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Tom Hacohen [Thu, 7 Apr 2016 13:56:57 +0000 (14:56 +0100)]
Edje: Reparent when swallowing/unswallowing.
On swallow make the edje object the parent, on unswallow the canvas.
Change-Id: I13d2595abb3d2104a0e484481847528786dfdcd3
Vitalii Vorobiov [Fri, 18 Mar 2016 12:00:51 +0000 (14:00 +0200)]
edje_edit: program's source and signal CAN be NULL
Or else user can't remove them, only by writing source/signal like "" or some
gibberish which is still getting interprettered as source and signal
Change-Id: I9e86f12eb97c522dd7a6829f7aca840069b4a3b5
Vitalii Vorobiov [Wed, 24 Feb 2016 13:55:14 +0000 (13:55 +0000)]
Edje_Edit: return accidently removed clip_to in code generation
Oops...
Change-Id: I782acf6a0acc72c41f806b9db3b179b18fb58121
Vitalii Vorobiov [Wed, 24 Feb 2016 13:50:36 +0000 (13:50 +0000)]
Edje_Edit: support image border_scale and border_scale_by setters and getters
Change-Id: I268f4c4e71871fcaa2b79276bf96f3c36ac8db29
Vitalii Vorobiov [Wed, 24 Feb 2016 11:45:49 +0000 (11:45 +0000)]
Edje_Edit: support use_alternate_font_metrics setters and getters
Change-Id: I9bcf0268596f6a1d72fd19c75537f126a9028ad3
Vitalii Vorobiov [Tue, 23 Feb 2016 17:27:25 +0000 (17:27 +0000)]
Edje_Edit: Edje_Edit: update source generation to print size classes
Change-Id: Ice46b91ca27cdcc707d4f15e31a4d44445b44120
Vitalii Vorobiov [Tue, 23 Feb 2016 11:50:12 +0000 (11:50 +0000)]
Edje_Edit: update source generation to print text classes
Change-Id: Ie5cc326d6e2bf76b84edcf0415090e39b43a14a5
Vitalii Vorobiov [Fri, 19 Feb 2016 14:06:31 +0000 (14:06 +0000)]
Edje_Edit: target can be insert into different place in program's target list
Here is API for that:
> edje_edit_program_target_insert_at
Change-Id: I4a46df6baddc12bc42bc19089d6f0290b655ee56
Vitalii Vorobiov [Fri, 19 Feb 2016 11:22:07 +0000 (11:22 +0000)]
Edje_Edit: fix defect found by Coverity in ...state_tween_insert_at
Check constraits before creating image structures
CID 1351558
Change-Id: Ifd65d85b0a0de228bba4afc38639a06039486648
Vitalii Vorobiov [Thu, 18 Feb 2016 17:17:56 +0000 (17:17 +0000)]
Edje_Edit: fix warning on unsigned and signed int comparation
Oops!
Sorry, missed this one:
lib/edje/edje_edit.c: In function 'edje_edit_program_after_insert_at':
lib/edje/edje_edit.c:9980:14: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
if (place >= eina_list_count(epr->after))
^
Now fixed
Change-Id: Ib51c7e6164a13833a453e3d21a42c299d8b539d2
Vitalii Vorobiov [Thu, 18 Feb 2016 17:10:24 +0000 (17:10 +0000)]
Edje_Edit: ability to insert "after" program into specific position
API looks like this:
> edje_edit_program_after_insert_at
Change-Id: I93909e0daaa09a4a92c01b273b85b3c97dc48716
Vitalii Vorobiov [Thu, 18 Feb 2016 15:40:50 +0000 (15:40 +0000)]
Edje_Edit: new API to insert tween into specified place
> edje_edit_state_tween_insert_at
Change-Id: I26ac8aa1481f89c64c19c6b5f1e912b103dc0acf
Vitalii Vorobiov [Thu, 18 Feb 2016 10:57:52 +0000 (10:57 +0000)]
edje_edit.c: it should be able to change item position
Few new API for inserting/mving items inside of BOX/TABLE
> edje_edit_part_item_insert_before
> edje_edit_part_item_insert_after
> edje_edit_part_item_insert_at
> edje_edit_part_item_move_below
> edje_edit_part_item_move_above
Change-Id: Ic3cf08fb794c49faa1806552d93543525b40a241
Vincent Torri [Thu, 3 Dec 2015 09:52:56 +0000 (10:52 +0100)]
efl: add binary mode to fdopen() calls
This allows better compatibility with Windows
Change-Id: I7f96f051c85dbe37a1393982a75d9f22a64ba224
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jean-Philippe Andre [Mon, 23 Nov 2015 10:40:59 +0000 (19:40 +0900)]
Edje edit: Free textblock styles with the proper function
Change-Id: I5055e98b8346b253a9d1000f39dda99a5f533155
Yeshwanth Reddivari [Mon, 23 Nov 2015 09:51:08 +0000 (18:51 +0900)]
Edje: Remove duplicate NULL reassignment
Summary:
Remove duplicate code of variable 's' assignment to NULL in edje_edit_style_del.
Signed-off-by: Yeshwanth Reddivari <r.yeshwanth@samsung.com>
Reviewers: Hermet, alok25, mvsovani, singh.amitesh, jpeg
Reviewed By: jpeg
Subscribers: sachin.dev, cedric
Differential Revision: https://phab.enlightenment.org/D3358
Change-Id: Ibac16ffc1f5b2718ef93d9121f075a9ca182ff21
Shinwoo Kim [Wed, 3 Aug 2016 07:02:22 +0000 (16:02 +0900)]
Revert "Evas clip: Fix rare crash in _render_pre_clipper_change"
This reverts commit
a729bb27d874ff4148db2b5f49ba606a78cbbc98.
Change-Id: Ia8356f7dd804949e3be17cf2deafdc6b56983503
Shinwoo Kim [Wed, 3 Aug 2016 06:59:56 +0000 (15:59 +0900)]
Revert "evas: Fix typo in previous clip issue fix"
This reverts commit
76c4eb9632797179bbc2a867572e13c35e695323.
Change-Id: Ie7aeef461d717a39ddb72d916ab19cd2704be841
Seunghun Lee [Thu, 28 Jul 2016 01:45:45 +0000 (10:45 +0900)]
wayland_egl: if surface is null(means ecore_evas is hidden), skip evas_engine_info_set during rotation.
wayland spec is not define whether wl_egl_window_create() can use null surface or not.
so current tizen device does not allow to create null surface wayland window.
reference:
038fb1cd9d709f47769c91289c913cf62067cdd9
Change-Id: I9fb4374caf8feec3f15fc5cf850ee31e3a350158
sunghyun kim [Wed, 3 Aug 2016 05:16:11 +0000 (22:16 -0700)]
Revert "[evas-gl] check extention "EGL_TIZEN_image_native_surface" in wayland_egl"
This reverts commit
6c770a5f19bdd965d1cc2f516ae7058c8e82d855.
Change-Id: I156f764ead5cc8afdb5ce052c7315a2253185690
Joogab Yun [Tue, 2 Aug 2016 04:27:59 +0000 (13:27 +0900)]
Evas GL texture: Fix invalid interpolation pixel
The pixel on the top-right of a texture was set using an invalid offset.
"luckily" this never crashed but probably could have with wide
single-row images.
Change-Id: I52d94072272804726940da27b9a67f22df6dc599
Jean-Philippe Andre [Mon, 1 Feb 2016 11:23:48 +0000 (20:23 +0900)]
evas: Fix typo in previous clip issue fix
See
100a7006b855fe4da2c2a5c1c4ec58e06b3a0bc0.
This typo actually caused some really rare crashes to happen
(even rarer than the one I fixed originally). Crashes nonetheless.
Change-Id: I76991d4bde362b935b3ab24199a996a886421d6d
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
Jean-Philippe Andre [Thu, 28 Jan 2016 03:18:34 +0000 (12:18 +0900)]
Evas clip: Fix rare crash in _render_pre_clipper_change
Use delete callback instead of direct call to clip_unset,
which lets us know that clip_unset() is called during the
clipper's deletion, as opposed to a simple call.
We can then make sure that the previous object state does
not point to invalid data anymore.
Here is a scenario that could have crashed:
- load and show an edje object, hide it
- change its theme or style
- show it again
@fix
Change-Id: Ib3df738bc442158b2dd6ba4dfb826a3e6afc51ca
WooHyun Jung [Wed, 3 Aug 2016 00:59:30 +0000 (09:59 +0900)]
Revert "Revert "evas/evas.canvas3d: fix order binding attributes to gl.""
This reverts commit
4b31aa2db77ddbc4a864455c860fabb60b19282f.
Change-Id: I408e28f4e10d41606f1c9e97cc2b946ddb12dc1f
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
WooHyun Jung [Wed, 3 Aug 2016 00:59:05 +0000 (09:59 +0900)]
Revert "Revert "EFL memory leak on Windows(handler continuously increasing)""
This reverts commit
fdc30160227b90cfcab8de1b3d96bce133f5e19a.
Change-Id: I26af17f43f8ec60aba39a3d0ff33e580ea9a96b4
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
WooHyun Jung [Wed, 3 Aug 2016 00:58:25 +0000 (09:58 +0900)]
Revert "Revert "svg : backported svg support from opensource.""
This reverts commit
982f2424c1a614c0dcffc5ec576e578ff324a46f.
Change-Id: If9f195fd934370c506e3c302ce04f3fd205ea12a
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
WooHyun Jung [Wed, 3 Aug 2016 00:57:35 +0000 (09:57 +0900)]
Revert "Revert "edje: Skip calculation for Evas Textblock when text is never set""
This reverts commit
30367ebac3fcedab84228d661f91f989394a1741.
Change-Id: I72c2e7bc99ea9ebc4bae21c24856ca697ed92f30
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>