Jean-Philippe Andre
de4627030a
evas: Make Efl.Input.Event.instance_get internal
...
Same as the previous patch. This removes the definition from
the EO file, implementing the feature in C.
2017-05-19 14:06:59 +09:00
Jean-Philippe Andre
60444d681e
evas: Make Efl.Input.Event.legacy_info.get internal
...
This removes the function from the EO file by using EXTRA_OPS
as introduced in 53fef30db0
.
2017-05-19 14:06:59 +09:00
Jean-Philippe Andre
7007c3314d
elm: Remove Elm_Glob_Match_Flags from EO
...
This is used by legacy gengrid & genlist only.
Ref T5329
2017-05-19 14:06:59 +09:00
Cedric BAIL
26d401351d
eina: fix reproductible build.
...
This make eina hamster depend on when configure was generated. This
should only happen really when we make a new tarball for release.
@fix
T5495
2017-05-18 16:20:06 -07:00
Andy Williams
7510a2a9ee
elm_code: Fix crash on tabs in long lines
...
@fix
2017-05-19 00:01:23 +01:00
Chris Michael
76806fda80
ecore-drm2: Update connector state dpms value if setting works
...
If we successfully set dpms via atomic state, we should also update
the connector state dpms value
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-18 12:22:27 -04:00
Chris Michael
892b58fbf2
ecore-drm2: Fix setting dpms level using atomic state
...
The property we need to change during an atomic dpms change is
actually from the output connector state (not crtc state). This fix
should make dpms work when using atomic
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-18 12:14:01 -04:00
Amitesh Singh
1a025edd62
check: fix efl_ui_check_selected_set() API
...
send the theme signal after changing state.
Thanks to JP for pointing out this.
@fix
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-05-18 18:22:49 +09:00
Amitesh Singh
fd2111d9d0
nstate: correct the legacy class name
...
@fix
2017-05-18 17:15:39 +09:00
Andy Williams
67f4b98ddb
Revert "elm_code: Add a save_as API call for writing buffers to a new file"
...
The implementation is flawed and was not noticed due to
the tests not having run unexpectedly.
This reverts commit ac076be75d
.
2017-05-18 08:40:43 +01:00
Amitesh Singh
5ed8ed5ba2
photocam: fix make distcheck
...
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-05-18 15:30:41 +09:00
Amitesh Singh
5e1711aac1
rename Efl.Ui.Zoomable to Efl.Ui.Zoom
...
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-05-18 14:56:49 +09:00
Amitesh Singh
c124534a5e
photocam: move zoom related APIs to Efl.Ui.Zoomable
...
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-05-18 12:56:14 +09:00
Derek Foreman
12260dabb9
ecore_drm2: Better handle flip failure round 2
...
If the buffer being flipped to is the one already on screen then
releasing it on flip failure will leave it on scanout with no
references. The next time a buffer is queued it will be removed
from scanout and deleted.
Not good.
Fix T5462
2017-05-17 17:31:13 -05:00
Derek Foreman
2c58d77ba9
ecore_drm2: Better handle flip failure
...
We need to release the buffer we couldn't flip to when a flip fails.
This makes whatever bug is causing a page flip to happen right after
dpms blanks the screen, which was leading to a failure to ever wake
from dpms because the flip left a pending buffer that never completed.
Fix T5462
2017-05-17 15:01:54 -05:00
Amitesh Singh
a9de4a7216
photocam: rename 'paused' API to 'zoom_animation'
...
and mark paused_set/get as legacy APIs.
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-05-17 16:40:50 +09:00
Amitesh Singh
a61e53fe34
photocam: implement Efl.Gfx.View.view_size.get
...
replace elm_photocam_image_size_get with Efl.Gfx.View.view_size.get
and mark elm_photocam_image_size_get as legacy API.
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-05-17 16:40:50 +09:00
Amitesh Singh
bf31dcd2d0
photocam: merge image_region_show() into image_region
...
and mark this API as legacy
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-05-17 16:40:50 +09:00
Amitesh Singh
ef4cae6c7f
photocam: remove internal_image_get as eo api
...
and mark it as legacy API instead.
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-05-17 16:40:50 +09:00
Andy Williams
47660f28dd
elm_code: Fix off by 1 in selection refactor
2017-05-17 08:33:52 +01:00
Jean-Philippe Andre
7c5808f451
c++: Fix examples as Win.Standard was removed
2017-05-17 15:43:58 +09:00
Jean-Philippe Andre
a9d11ab9e8
elm: Remove some of Gen_Item types from EO
...
Those belong to legacy only, EO interfaces will use models
and objects, not function pointers and item classes.
Ref T5329
2017-05-17 15:32:04 +09:00
Jean-Philippe Andre
afbdaf514a
efl model: Fix invalid type in EO
...
Efl.Canvas refers to a canvas, like Evas or Window. Efl.Gfx is
the base visual object type in libefl.so
2017-05-17 15:32:04 +09:00
Jean-Philippe Andre
ba8db108cb
evas map: Fix uninitialized fields
...
This fixes a "jump on uninitialized value" as reported by valgrind.
See evas_map.c:85:
if (obj->map->cur.map->normal_geometry.x != x1) ch = 1;
2017-05-17 15:32:04 +09:00
Jean-Philippe Andre
dab7c4d6e0
prefs: Remove some elm_prefs types from EO
...
Ref T5329
2017-05-17 15:32:03 +09:00
Jean-Philippe Andre
f0d0686096
widget: Remove widget_callback_add/del from EO
...
Those APIs are not bindable with EO since they pass in a function
pointer. Luckily they are barely used.
Ref T5329
2017-05-17 15:32:03 +09:00
Jean-Philippe Andre
daabd44520
elm_code: Fix invalid read of 1 byte
...
After end of string...
2017-05-17 15:32:03 +09:00
Jean-Philippe Andre
90de99eea6
elm_code: Fix use after free
2017-05-17 15:32:03 +09:00
Carsten Haitzler
0feb34927b
edje_cc - use mem_alloc to fail and exit if alloc fails and fix err out
...
PVS sudio thought this was odd and it was a bit. not a real issue as a
mem alloc failure herw would still be fatal and simply a crash... as
opposed to a clean "out of mem" and fatal exit then...
error out eally was not finding originally allocated color and the
malloc should have been a mem_alloc() that guarantees a valid memory
return (or termintion of the process).
@fix
2017-05-17 15:04:01 +09:00
Carsten Haitzler
58a40d6f8a
elm glview -> fix pvs studio caught typo in stencil bit mappings
...
this fixes CWE-570 on https://www.viva64.com/en/b/0508/
@fix
2017-05-17 15:04:01 +09:00
Carsten Haitzler
d6d8d84b80
edje_cc docs - fix docs for vector images as it is wrong
...
it's images { vector: "x.svg"; } not vector { vector: "x.svg"; } ...
@fix
2017-05-17 15:04:01 +09:00
Carsten Haitzler
1d0b37a9e6
eo - eoid - finally rtemove option to not have eoid. it doesn't work
...
we use too many bits for metadata now so eoid is broken... remove it
as an option so people dont break out the foot guns
2017-05-17 15:04:01 +09:00
Sung-Jin Park
f603001367
ecore_input: add ECORE_AXIS_LABEL_TOUCH_PALM enum
...
Summary:
Some of latest touchscreen devices can report if the tool in contact
is the palm of your hand and there is no axis label for this palm flag.
This adds ECORE_AXIS_LABEL_TOUCH_PALM enum as Ecore_Axis_Label type.
Test Plan: N/A
Reviewers: raster, cedric, jpeg, jypark, devilhorns, ManMower
Reviewed By: jpeg
Subscribers: JHyun
Differential Revision: https://phab.enlightenment.org/D4848
2017-05-17 10:39:43 +09:00
Jean-Philippe Andre
093938e5d9
win: Remove special class Efl.Ui.Win.Standard
...
All windows should be standard, really. Except when using legacy
elm_win_add() or if type_set() was called with a specific type.
I dislike type_set...
Ref T5322
2017-05-17 10:39:43 +09:00
Amitesh Singh
11a674ad7d
Efl.Ui.Autorepeat: add 'autorepeat' prefix to methods.
...
Thanks to Dave for pointing out this.
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
2017-05-17 10:31:25 +09:00
Andy Williams
ac076be75d
elm_code: Add a save_as API call for writing buffers to a new file
2017-05-16 23:19:34 +01:00
Andy Williams
eb04ab591c
elm_code: Fix insertion of multiline content in widget
...
A small refactoring to reduce code duplication as well :)
2017-05-16 22:13:43 +01:00
Stefan Schmidt
75727592df
examples: evas: fix else block by adding needed parenthesis
...
This was broken since over a year. Happened during the automatic eo4
migration in f21ade6123
.
Thanks goes to the gcc warning misleading-indentation:
evas-3d-shadows.c:163:4: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
evas-3d-shadows.c:165:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
evas_canvas3d_node_look_at_set(scene->mediator, EVAS_CANVAS3D_SPACE_PARENT, 0.0, 3.0, 0.0, EVAS_CANVAS3D_SPACE_PARENT, 0.0, 5.0, 0.0);
2017-05-16 21:58:35 +02:00
Jean-Philippe Andre
a96b7edb41
evas: Rename evas_types to evas_canvas3d_types
...
Now evas_types has nothing but canvas3d definitions.
Fixes T5312
2017-05-16 20:47:49 +09:00
Jean-Philippe Andre
d974e708c2
evas: Remove unnecessary imports of evas_types
...
Ref T5312
2017-05-16 20:47:49 +09:00
Jean-Philippe Andre
9c494489e8
evas: Remove Efl.Canvas.Text.Annotation from evas_types.eot
...
This moves it to efl/interfaces which may not be the best...
@herdsman should know where to place this opaque definition.
Ref T5312
2017-05-16 20:47:49 +09:00
Jean-Philippe Andre
01d4886328
evas: Add seat arg to modifier/lock EO APIs
...
This now matches the new seat-related set of APIs present as EAPI.
2017-05-16 20:47:49 +09:00
Jean-Philippe Andre
4c81e0c5b9
evas: Remove Evas.Modifier from EO
...
Similar to the previous patch with Evas.Lock
Ref T5312
2017-05-16 20:47:48 +09:00
Jean-Philippe Andre
054aa012c4
evas: Use enum instead of string in Efl.Input.State
...
Ref T5312
2017-05-16 20:47:48 +09:00
Jean-Philippe Andre
64b90fd22e
ecore_x: Fix build warning (invalid enum used)
2017-05-16 20:47:48 +09:00
Jean-Philippe Andre
83d1162171
evas: Remove Evas.Lock from EO
...
This is a step towards the removal of the modifier & lock API
as it is and use enums exclusively.
Ref T5312
2017-05-16 20:47:48 +09:00
Jean-Philippe Andre
fe7f07615b
evas: Move Efl_Gfx_Fill_Spread to legacy
...
This was never implemented and was translated to EO without
any implementation.
2017-05-16 20:47:48 +09:00
Jean-Philippe Andre
c64f9ee235
evas: Move evas event info types to Evas_Legacy.h
...
This moves the following definitions from Common to Legacy:
- Evas_Event_Mouse_Down
- Evas_Event_Mouse_Up
- Evas_Event_Mouse_In
- Evas_Event_Mouse_Out
- Evas_Event_Mouse_Move
- Evas_Event_Mouse_Wheel
- Evas_Event_Multi_Down
- Evas_Event_Multi_Up
- Evas_Event_Multi_Move
- Evas_Event_Key_Down
- Evas_Event_Key_Up
- Evas_Event_Hold
- Evas_Event_Axis_Update
2017-05-16 20:47:48 +09:00
Jean-Philippe Andre
d682c3dfbb
evas: Move Evas_Engine_Info to Evas_Legacy.h
2017-05-16 20:47:48 +09:00
Jean-Philippe Andre
1f13696b84
gesture: Use new EO API to grab Ctrl key
...
See previous commit
2017-05-16 20:47:48 +09:00