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>
Jaehyun Cho [Tue, 8 Dec 2015 02:01:11 +0000 (11:01 +0900)]
edje_cc: Fix parsing including file path in EDC on Windows.
On Windows, including file path in EDC has not been parsed correctly
because '\' has not been used for path separator.
This commit fixes edje_cc complie to use '\' as path separator on
Windows.
Change-Id: Ib98ab261a2c47debd89449c8bef283f00f1534dc
Joogab Yun [Tue, 2 Aug 2016 01:32:21 +0000 (10:32 +0900)]
[evas_sw_backend] disable tbm buffer
not ready yet.
Change-Id: I7a4adaaa88c52aee2954fc9f06e76bd85b5480bb
Wonsik, Jung [Tue, 2 Aug 2016 01:19:04 +0000 (10:19 +0900)]
[Evas] Add wl_buffer native_surface_type.
wl_buffer's native surface type is added to drm/wayland_shm backend.
This patch is for selective compositor.
Change-Id: I0d891ff6c0b9a5d7f92d3071fa1af52dece9d4b0
sunghyun kim [Thu, 14 Jul 2016 10:17:56 +0000 (19:17 +0900)]
[evas-gl] check extention "EGL_TIZEN_image_native_surface" in wayland_egl
Change-Id: I39656e078b77e50279e78e134aa3a4868cfb70c8
sunghyun kim [Wed, 27 Jul 2016 07:58:30 +0000 (16:58 +0900)]
[evas-gl] change dyn.target & delete api
1. dyn.target need to change GL_TEXTURE_2D. if this value set GL_TEXTURE_EXTERNAL_OES, it has some issue.
2. we don't need evas_gl_common_texture_shared_specific & evas_gl_common_texture_shared_back.
because these api for dyn.img change case.
Change-Id: Ieec1edc9a454278f001bd18c1f5cbf0c490e0c71
Joogab Yun [Fri, 29 Jul 2016 00:53:38 +0000 (09:53 +0900)]
evas_render: disable rotation 90 degree codes by neon.
The screen image rotated by neon code has update, screen image is
broken.
this patch from tizen_2.4
commit
75fa8554cfd375860588d9bff6153beaf03a4135
Author: jiin.moon <jiin.moon@samsung.com> 2015-06-19 16:05:11
Change-Id: I7a9e098f045889635cd9afdfb56291315f103fa2
Joogab Yun [Fri, 29 Jul 2016 00:51:31 +0000 (09:51 +0900)]
[evas_sw_backend] evas sw tbm backend implement
Change-Id: I53bbfb8a743ff448579403a3fabe21bdbcff6376
Joogab Yun [Fri, 29 Jul 2016 09:04:51 +0000 (18:04 +0900)]
[evas] bug fix - draw black rectangle image for native surface video when there is ratio value
Change-Id: I0da14ea8e516bcb6e195cd2ff5b9e1ba3857aeec
Subhransu Mohanty [Mon, 1 Aug 2016 09:00:03 +0000 (18:00 +0900)]
Revert "vector: backported from opensource"
This reverts commit
35aaf1f7d1a4e7f95ca3fa1b7dd59893abec5d42.
Change-Id: Icab1b1ba7e80bfbf43f7018adf8636497536ac3e
Subhransu Mohanty [Tue, 26 Jul 2016 07:26:41 +0000 (16:26 +0900)]
vector: backported from opensource
Change-Id: I5268dd4f02334fd1e0822f09436cffc8b7cc1223
WooHyun Jung [Wed, 27 Jul 2016 08:31:58 +0000 (17:31 +0900)]
ecore_main: remove some logs for not printing lots of logs during edje_cc
@tizen_fix
Change-Id: Icf265a6eafbcfc1b469d2d3800a4c6eff8b4feb1
WooHyun Jung [Wed, 27 Jul 2016 08:30:15 +0000 (17:30 +0900)]
Revert "edje: Skip calculation for Evas Textblock when text is never set"
This reverts commit
5c61b5a95844b72b217d9e888e7fe1ca279869f9.
Change-Id: I6e6e40abe36e766e21759ec2aa6856dc25790532
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
WooHyun Jung [Wed, 27 Jul 2016 08:29:16 +0000 (17:29 +0900)]
Revert "svg : backported svg support from opensource."
This reverts commit
a6bb9688f98b336f936c6019d7bf74a9be658135.
Change-Id: I4bec1e3663df761632917ac8243f29f0365d289a
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
WooHyun Jung [Wed, 27 Jul 2016 08:28:31 +0000 (17:28 +0900)]
Revert "EFL memory leak on Windows(handler continuously increasing)"
This reverts commit
1023e016221b3338afbd46f30c56a78fc225d9f6.
Change-Id: Icf242ad281f3f747dc8df8ed91659bef33a5c20f
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
WooHyun Jung [Wed, 27 Jul 2016 08:27:28 +0000 (17:27 +0900)]
Revert "evas/evas.canvas3d: fix order binding attributes to gl."
This reverts commit
70dcacdd1c5b0d1dafa9416755b853e1d4216262.
Change-Id: I2bb6566dcfa6b450c9ad054c7f2a74a667ba910d
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
Oleksandr Shcherbina [Thu, 21 Jul 2016 07:46:57 +0000 (10:46 +0300)]
evas/evas.canvas3d: fix order binding attributes to gl.
It fix present in current upstream 1.18
see https://git.enlightenment.org/core/efl.git/commit/?id=
6c580faad9712c15344c7531c11b6e0c4b5c822b
It need now for development application with evas.canvas3d on Z3 devices.
Change-Id: I1b22f433f4ef983664a5a3684e3a4888b83924f7
Ivan Furs [Wed, 13 Jul 2016 12:01:50 +0000 (21:01 +0900)]
EFL memory leak on Windows(handler continuously increasing)
Summary:
Fix: event need to clese when create event:
event = WSACreateEvent();
Reviewers: bowonryu, herb, Jaehyun, thiepha, Hermet, jaehwan, cedric, raster
Reviewed By: raster
Subscribers: NikaWhite, reutskiy.v.v, artem.popov
Differential Revision: https://phab.enlightenment.org/D4157
Change-Id: I57324264520451330174905b57eb91e078a42e85
Subhransu Mohanty [Fri, 22 Jul 2016 06:55:13 +0000 (15:55 +0900)]
svg : backported svg support from opensource.
Change-Id: I8f2abb2d4cecf504537c230f5d7991d98649be4f
Youngbok Shin [Thu, 21 Jul 2016 06:07:13 +0000 (15:07 +0900)]
edje: Skip calculation for Evas Textblock when text is never set
It may improve Edje's calculation performance over almost cases.
@tizen_fix
Change-Id: Idbc0fe6817792bbfe85dc7ce8678ed89eb275fdc
Subhransu Mohanty [Thu, 14 Jul 2016 07:33:09 +0000 (16:33 +0900)]
efl/vector: backported the refactoring of ector code
Change-Id: I51bd6ce907c3e4a25feb6e9e92c5b13e1230a570
Subhransu Mohanty [Thu, 14 Jul 2016 01:56:41 +0000 (10:56 +0900)]
efl/interface: backported change in efl_gfx_shape api and its uses
Change-Id: Idcb546b48b58b5bd0cf01f03d449160a96dc30d1
Subhransu Mohanty [Thu, 14 Jul 2016 00:58:23 +0000 (09:58 +0900)]
eina: backported eina_bezier and eina_matrix from opensource
Change-Id: I27d16079ff7da00ef0ca2b4b4139cda55e70dcb3
Duna Oh [Thu, 30 Jun 2016 01:24:40 +0000 (10:24 +0900)]
ecore_wayland: destroy cursor_theme for destroying cursor buffer
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Iac9cf3741a1bfdcd157ea7dffbf46e6acedbb877
Minchul Lee [Thu, 7 Jul 2016 08:25:55 +0000 (17:25 +0900)]
ecore wl dnd: add selection event to distinguish clipboard selection in cbhm
Change-Id: I0811d6c1f011c8fbae4b570505b59ac520aa5c1a
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
Shilpa Singh [Tue, 5 Jul 2016 05:36:03 +0000 (11:06 +0530)]
[Accessibility]: In order to read pre-edit characters as well,
send entry_change_info with preedit,changed
Change-Id: Iba2ed005cd8e2f4b100a333bb3f052ba101b43da
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
Joogab Yun [Mon, 11 Jul 2016 04:30:30 +0000 (13:30 +0900)]
[ecore_evas] changed to auto render if the ecore_evas_show() is called
Change-Id: Icb790bd438735bef239b284e431db20022108280
Duna Oh [Fri, 8 Jul 2016 08:41:07 +0000 (17:41 +0900)]
ecore_wl: add ecore_wl_input_devices_send() for newly created window
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Iee13cf53419f5e8ea8bebd507a4b4e392a61fb1d
Youngbok Shin [Fri, 8 Jul 2016 00:52:07 +0000 (09:52 +0900)]
edje: Add 4000x4000 size limit with reduced loop count restriction
The calc loop restriction [255] can cause error from
evas_object_smart_need_recalculate_set() function.
It also has [255] restriction for recalculate cycle.
So, we need to reduce calc loop restriction for
reducing *_need_recalculate_set() function call.
@tizen_fix
Change-Id: I44537a1e9ddd0941499ece90b4646a733fdd6e9e
Hermet Park [Fri, 8 Jul 2016 12:36:48 +0000 (21:36 +0900)]
commit
9873358f68a7dd942fbc5fe64ae8da2b4d980331
Author: Hermet Park <hermet@hermet.pe.kr>
Date: Fri Jul 8 21:16:16 2016 +0900
edje: fix the map state issue.
While the part state switching, map won't gonna be disabled again,
due to the incorrect state checking.
If there param1 indicates the current state with map off.
then it should disable the map obviously.
But It assumed the param1 is the previous state, not the current!,
so the map didn't go disabled state.
It was intended to avoid the duplicated map state setting.
So to keeping the intention, now it disable the map, only if
the map is actually enabled.
So both are fine.
@fix
Change-Id: I1e5de2beaa33c9959f9889b03ef97e6509511007
Jee-Yong Um [Tue, 5 Jul 2016 13:23:47 +0000 (22:23 +0900)]
edje: add recursive hash search helper
Change-Id: I6ddc249aabb54cdaf5f61c3d05573deca98453a9
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Youngbok Shin [Fri, 1 Jul 2016 04:27:13 +0000 (13:27 +0900)]
edje: update a style when a style is added as class's member
If there is no member styles when a text_class is updated,
newly added styles can't be updated.
So, newly added styles as member of text_class should be updated.
@tizen_fix
Change-Id: Ief1c0ed13cb595c43fea05a6498f452d9d76d680
Thiep Ha [Thu, 7 Jul 2016 02:07:21 +0000 (11:07 +0900)]
evas_gl_common: add OSX specific to fix build break
The evas_gl_api has some APIs that are not available on OSX.
It causes build break on MacOS.
This patch adds OSX build specific to fix it.
@tizen_fix
Change-Id: I674811ce6e8a6d5200f7038917cad49833d10fb1
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
Thiep Ha [Thu, 7 Jul 2016 02:05:29 +0000 (11:05 +0900)]
evas_gl_cocoa: add parameter for context_resize to fix build break
The evas_gl_common_context_resize API is changed but
it is not updated for gl_cocoa engine.
This patch updates it to fix build break.
@tizen_fix
Change-Id: Iee6c6d326a8479cc714e4ee21cd2fb14abaaa1b8
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
Thiep Ha [Thu, 7 Jul 2016 01:51:56 +0000 (10:51 +0900)]
evas_gl_cocoa: fix segmentation fault at program exit
From
8fb153cf8cab550121136aeb2710fc2d9f42fadc Mon Sep 17 00:00:00 2001
From: Jean Guyomarc'h <jean.guyomarch@gmail.com>
Date: Sat, 2 Apr 2016 22:19:29 +0200
Subject: [PATCH] evas_gl_cocoa: fix segmentation fault at program exit
Programs crashed on a segmentation fault when the last window was
closed. The eng_output_idle_flush() function was removed... but
since gl_cocoa does not properly use *_generic modules, the
output_idle_flush() function called by the render engine was
garbage (hence the segfault).
Change-Id: Idc7ef41fd2933ebb4cea75c9f592d5637b636cba
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
Thiep Ha [Wed, 6 Jul 2016 00:55:23 +0000 (09:55 +0900)]
ecore_input: disable joystick feature in Mac OS
Joystick input makes build break in MacOS, so we disable it.
Change-Id: If145f7f54e681a5597089cef272c35e969e61f5b
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
JengHyun Kang [Thu, 30 Jun 2016 10:51:21 +0000 (19:51 +0900)]
ecore_wayland: Initialize touch axis information
Change-Id: Icb006a8868fe9129b24334e113dea50f450e308a
Ji-Youn Park [Fri, 1 Jul 2016 02:41:43 +0000 (11:11 +0830)]
evas_type: add EVAS_DISPLAY_MODE_INHERIT to Evas_Display_Mode for backward compatibility
Change-Id: I06c97b57f9c6e0c555b780911015fd389f045e63
Youngbok Shin [Mon, 4 Jul 2016 11:39:23 +0000 (20:39 +0900)]
evas: Revert the patch for applying font style
It caused an issue for BreezeSans/Medium Condensed style.
Font should be modified before applying the feature.
@tizen_fix
Change-Id: I7bea1695a51916750f0e1835490914af16bfabdf
Youngbok Shin [Tue, 5 Jul 2016 02:43:05 +0000 (11:43 +0900)]
evas: enable harfbuzz
Change-Id: Idead7dc7745c7a608b7d7862346852d1054d61e4
kim hosang [Mon, 4 Jul 2016 07:04:11 +0000 (00:04 -0700)]
Revert "edje: add fixed automatically for optimizing edje calc speed."
This reverts commit
eccf071dd53721d1a4d8e81b1851a0135ccacc03.
Change-Id: I36aad155920d86a7294709f6776e9ab94b485383
WooHyun Jung [Mon, 4 Jul 2016 00:53:23 +0000 (09:53 +0900)]
edje_recc: set edje_recc's own absolue path
Change-Id: I129f2005d01449171d918e4aeea38ee8fa17cdea
Jean-Philippe Andre [Tue, 28 Jun 2016 10:20:37 +0000 (19:20 +0900)]
evas: Use proper type for stringshares
Change-Id: I0453767f3756f47456f6e5d73cfedf9e0520318f
Jean-Philippe Andre [Tue, 28 Jun 2016 10:17:24 +0000 (19:17 +0900)]
evas: Fix double stringshare_del
A stringshare for font "style" was not properly duplicated,
resulting in lots of invalid stringshare pointers.
Ping @id213sin (commit
2ce33e73a7d48d4b54a075c07f12c0162).
Change-Id: Ie87e42b9f3d5fd365d000798c9493a660a240954
Shinwoo Kim [Fri, 1 Jul 2016 06:34:17 +0000 (15:34 +0900)]
[ttrace] add more check points
Change-Id: Ie2842456697eaed52a81f83d8203230c5672d9cd
Shinwoo Kim [Thu, 30 Jun 2016 02:31:51 +0000 (11:31 +0900)]
[TV] eina: disable ttrace to be called
Change-Id: Ia4bbf665a21ee90aefdcf9909ddc79dfd546a9f3
Duna Oh [Mon, 30 May 2016 06:42:42 +0000 (15:42 +0900)]
ecore_wl: tizen_input_device uses device's clas variable of the Ecore_Device_Class type
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I569e1efe677d07dc3593ac047cc4092b8fbf3e17
Subhransu Mohanty [Thu, 30 Jun 2016 07:19:43 +0000 (16:19 +0900)]
efl/interface : keep a copy the locale returned by stelocale.
Change-Id: Ia06b1aac3fe0ebecc145462a0f428c2c64f4eb0a
Srivardhan Hebbar [Wed, 21 Oct 2015 21:04:43 +0000 (14:04 -0700)]
eina: add API for converting strbuf to lowercase.
==============================================================
eina: add API for converting strbuf to lowercase.
Summary:
This API would be used in efl_network_websocket.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric
Differential Revision: https://phab.enlightenment.org/D3200
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
==============================================================
Change-Id: I18506fe6756a00775b7c510266296a240aad665a
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Hosang Kim [Thu, 17 Mar 2016 18:12:34 +0000 (11:12 -0700)]
edje: add fixed automatically for optimizing edje calc speed.
Summary:
Applications usually use edje syntax like as,
```
part { name :"bg";
type: SWALLOW;
description {
state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 0.0;
align: 0.0 0.0;
min: 100 100;
}
}
```
But edje does not calculate it exactly without "fixed: 1 1".
So edje calculation is repeated until 4000 x 4000, it is waste of time.
Reviewers: woohyun, raster, Hermet, id213sin, cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3801
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I36a0983fe5af1916d7b904c5c82d988f12c94784
JengHyun Kang [Wed, 29 Jun 2016 08:33:04 +0000 (17:33 +0900)]
ecore-wayland: Prevent duplicated mouse up events.
Change-Id: Ibb3d6ee20ee1f7413e8e1d7f34ccc8b29f913b44
Youngbok Shin [Thu, 23 Jun 2016 17:11:39 +0000 (10:11 -0700)]
edje: replace 4000x4000 min size limitarion with loop count restriction.
Summary:
4000x4000 min size limitation was added to prevent infinite
calculation loop. But, it can ruin calculation of some proper Edjes.
Normally, properly generated Edje runs the calculation loop below 10 times.
So, "255" could be proper limitation for calculation loop.
It also make better performance for broken Edje.
Test Plan: N/A
Reviewers: raster, Hermet, woohyun, cedric
Reviewed By: cedric
Subscribers: jpeg, z-wony, Blackmole
Differential Revision: https://phab.enlightenment.org/D4075
Change-Id: I17d7697e8aa211efcc8c2a29ac63ab148cb0afab
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Seunghun Lee [Thu, 30 Jun 2016 04:13:44 +0000 (13:13 +0900)]
ecore_wayland: Add API ecore_wl_window_geometry_get() and use it on event handler of configure.
The geometry of ecore_wl_window can be reconfigured by both of server and client.
Before, we passed its geometry as a Ecore Event in order to notify ecore_evas,
But in this case we cannot gaurantee coherence.
Thus, it would be better to give the geometry by the API on event handler.
Change-Id: Iad4ff888ab7c79ef446a083bbfe4cd362c0cb551
sunghyun kim [Fri, 24 Jun 2016 08:00:14 +0000 (17:00 +0900)]
[evas_gl] add partial_render_debug mode for debug
if EVAS_GL_PARTIAL_DEBUG is set, add sky blue color rectangle before draw object.
it is for debug.
Change-Id: I5dad4970927d57ad191343fb2d9402a9c2e5cf18
Youngbok Shin [Tue, 28 Jun 2016 01:49:37 +0000 (10:49 +0900)]
evas: add pattern "style" when evas query fonts via fontconfig
Summary:
Some fonts can have weird style and weight value.
If a font has a style name as "medium" and a weight value as "semi-bold",
Evas can't load the font using "font=Somefont:style=Medium".
It only can be load with "font=Somefont:style=SemiBold" or
"font=Somefont:weight=SemiBold".
On the other hand, it could be loaded when I tested the following commands.
fc-match -s ":family=Somefont:style=Medium" or
fc-match -s ":family=Somefont:weight=SemiBold"
Evas also should load font based on font's style name.
@fix
Test Plan: N/A
Reviewers: tasn, herdsman, cedric, woohyun, raster
Reviewed By: raster
Subscribers: Blackmole, z-wony, jpeg
Differential Revision: https://phab.enlightenment.org/D4108
Change-Id: Ibd9f53cb62568e2ee6e1e627f75607936396e6ff
Bowon Ryu [Wed, 29 Jun 2016 08:17:34 +0000 (17:17 +0900)]
ecore_win32: add ecore_win32_window_icon_set() api.
to switch application window icon on runtime,
we added this api.
this is necessary for tizen sdk ui tools.
Change-Id: I942dbb1786f0da2274299fa6ec939c807129820b
Bowon Ryu [Wed, 29 Jun 2016 07:43:00 +0000 (16:43 +0900)]
Revert "ethumb: disable a partial code complation on windows os."
This reverts commit
4686f8d95d64af1467ddbe4e289ade511441c835.
We fixed the fundamental problem of edje_cc complation.
So we don't need this change anymore.
Change-Id: Iab13fe0d2f13d775b379f6122a9c44d3f7b63388
Bowon Ryu [Wed, 29 Jun 2016 07:32:57 +0000 (16:32 +0900)]
eina: fix a crash on edje compilation on windows.
it doesn't gurantee tmp folder on windows. rather than that, we get a
tmp folder via environment values.
this change could be overwritten with the latest upstream code.
Change-Id: Idb23130dffcc65b8bc59fcdf114e96015c3ff7b8
Bowon Ryu [Wed, 29 Jun 2016 07:40:30 +0000 (16:40 +0900)]
evil: add missing files.
We've synced with upstream evil lib for windows hosting,
but missed some files that should have added.
Change-Id: I4ffef14da3de882d53f3879a9f4e3ad1a2d197c9
Bowon Ryu [Tue, 28 Jun 2016 10:55:21 +0000 (19:55 +0900)]
ethumb: disable a partial code complation on windows os.
It occurs a crash on windows os compilation.
Sorry, we have no idea so disabled it anyway, it doesn't necessary.
Change-Id: I834e332e9a9f8c525bc3678daa53305536d555f7