Shinwoo Kim [Sat, 29 Nov 2014 06:53:24 +0000 (15:53 +0900)]
Check return value of udev_device_get_sysattr_value(); before using atoi();
Summary: udev_device_get_sysattr_value(); could return NULL, and using atoi(); with NULL make system crash
Test Plan: It is hard to make a case to retun NULL. I got this from aging test of a product.
Reviewers: cedric, raster, seoz, woohyun, Hermet, jaehwan
Subscribers: cedric, seoz
Differential Revision: https://phab.enlightenment.org/D1687
Carsten Haitzler (Rasterman) [Sat, 29 Nov 2014 06:50:03 +0000 (15:50 +0900)]
Use intrinsics for scaling up instead of inline asm
Summary: Rewrite linline assembly in scaling func using NEON intrinsics.
Reviewers: raster
Differential Revision: https://phab.enlightenment.org/D1666
Carsten Haitzler (Rasterman) [Sat, 29 Nov 2014 03:07:33 +0000 (12:07 +0900)]
evas - gl - fix warning for unused var in glx build
Hosang Kim [Fri, 28 Nov 2014 16:10:39 +0000 (01:10 +0900)]
ecore_evas_x: Fixed strange condition.
Summary:
To satisfy this condition, ee->visible will be EINA_FALSE. But when iconify is requested, ee->visible is usually EINA_TRUE.
@fix
Reviewers: raster, Hermet, seoz
Reviewed By: seoz
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1710
Daniel Kolesa [Fri, 28 Nov 2014 12:57:52 +0000 (12:57 +0000)]
elua: update eolian bindings
Daniel Kolesa [Fri, 28 Nov 2014 12:54:11 +0000 (12:54 +0000)]
eolian: new APIs for filenames
Adds 4 new APIs for getting .eo and .eot file names and file paths.
ChunEon Park [Fri, 28 Nov 2014 11:33:49 +0000 (20:33 +0900)]
evas/map: remove old comments.
It's been so long. even SLP is not a valid name anymore.
No idea whether the problem still exist or not.
If it is then it should be reported and fixed.
Carsten Haitzler (Rasterman) [Fri, 28 Nov 2014 08:54:39 +0000 (17:54 +0900)]
eet - add new api to verify eet file against stored cert
this api makes it far more obvious as to how to verify an eet file via
the eet identify mechanisms that use x509 certificates to sign files.
this is consistent with the api used to generate the key for sigining
thus you can use the same certificate file to compare against for
identify.
@feature
Jean-Philippe Andre [Fri, 28 Nov 2014 02:21:43 +0000 (11:21 +0900)]
Evas GL: Use strncat and strncpy for safety
Fixes Coverity reports:
- CID 1256183
Coverity was a bit stupid there. It knows the size of both
strings and complained about unsafe strcpy. It should have
complained about unsafe strcat instead.
ChunEon Park [Fri, 28 Nov 2014 04:29:00 +0000 (13:29 +0900)]
evas: fix build warning.
here const pointer access is no problem.
Jaehyun Cho [Fri, 28 Nov 2014 04:24:24 +0000 (13:24 +0900)]
evas_map: Remove unnecessary check for current map
Summary:
Remove unnecessary check for current map
@fix
Reviewers: Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1708
Jaehyun Cho [Fri, 28 Nov 2014 04:18:16 +0000 (13:18 +0900)]
evas_object_main: Keep map effect after evas object move
Summary:
Keep map effect after evas object move
@feature
Reviewers: raster, cedric, Hermet
Subscribers: raster, cedric
Differential Revision: https://phab.enlightenment.org/D1678
Daniel Kolesa [Thu, 27 Nov 2014 17:20:21 +0000 (17:20 +0000)]
eolian: remove support for function types
These won't be needed because of Eo callbacks. They're also difficult
to handle in bindings, so this will relieve bindings of some effort.
Daniel Kolesa [Thu, 27 Nov 2014 17:13:20 +0000 (17:13 +0000)]
ecore_con: move Ecore_Con_Dns_Cb back to C
We'll be removing function pointer support from Eolian, instead
replacing any callback we can with events (arbitrary callbacks are
very difficult to support in bindings). As we'll be handling all
callbacks at once, we'll do this one at that point as well.
Jean-Philippe Andre [Thu, 27 Nov 2014 12:46:14 +0000 (21:46 +0900)]
Evas: Fix shader gen script for Ubuntu
dash was the shell on that machine.
Also, GCC complained about a non const initializer.
Thanks SeoZ for the report.
Jean-Philippe Andre [Thu, 27 Nov 2014 11:46:10 +0000 (20:46 +0900)]
Evas GL: Fix up some more desktop GL extensions
OpenGL 1.2 already supports some of the features that
GLESv2 has as extensions:
- GL_EXT_read_format_bgra
- GL_EXT_texture_format_BGRA8888
- GL_EXT_texture_type_2_10_10_10_REV
Also, we need to check the proper ARB name of some extensions when
running on desktop, instead of their OES/IMG/EXT equivalent:
- GL_ARB_texture_float
- GL_ARB_texture_half_float
- GL_ARB_texture_non_power_of_two
- GL_ARB_half_float_vertex
- GL_EXT_packed_depth_stencil
Jean-Philippe Andre [Thu, 27 Nov 2014 11:15:40 +0000 (20:15 +0900)]
Evas GL: Also add read bgra for desktop GL
Jean-Philippe Andre [Thu, 27 Nov 2014 11:08:10 +0000 (20:08 +0900)]
Evas GL: Advertise support for npot on desktop
The extension name is GL_ARB_texture_non_power_of_two
for desktop GL, but GL_OES_texture_npot for GLES.
We will consider the extensions compatible, I believe
the GLES version is a subset of the desktop one. Not sure
if that's 100% true.
Jean-Philippe Andre [Thu, 27 Nov 2014 10:47:41 +0000 (19:47 +0900)]
Evas GL: Always support BGRA8888 on desktop GL
Jean-Philippe Andre [Thu, 27 Nov 2014 10:05:26 +0000 (19:05 +0900)]
Evas GL: Also return fake GLSL version string
Jean-Philippe Andre [Thu, 27 Nov 2014 08:17:03 +0000 (17:17 +0900)]
Evas GL: Always return "OpenGL ES 2.0" as version
This time it's for desktop GL.
I decided to keep some vendor info, as it can help for debugging
purposes.
Jean-Philippe Andre [Thu, 27 Nov 2014 08:09:22 +0000 (17:09 +0900)]
Evas GL: Print GLSL version with EVAS_GL_INFO
Jean-Philippe Andre [Thu, 27 Nov 2014 08:03:04 +0000 (17:03 +0900)]
Evas GL: Return supported extensions list in glGetString()
Stefan Schmidt [Thu, 27 Nov 2014 07:56:57 +0000 (08:56 +0100)]
README: Update version number to latest
Spotted by Lionel Orry. Thanks!
Jean-Philippe Andre [Thu, 27 Nov 2014 07:15:23 +0000 (16:15 +0900)]
Evas GL: Doc: Tell people not to read info from Evas_Native_Surface
The information set there is not meant to be read by applications
and reused there. This would break the whole concept of letting
Evas deal with its surfaces.
Ideally Evas GL should not expose texture or fbo ID to external
applications. We could even use a new (non public) surface type
for that purpose.
Jean-Philippe Andre [Thu, 27 Nov 2014 05:51:58 +0000 (14:51 +0900)]
Evas GL: Return current framebuffer based on ctx information
ctx->current_fbo should contain the visible FBO value, even
if indirect rendering is used.
Jean-Philippe Andre [Thu, 27 Nov 2014 05:45:34 +0000 (14:45 +0900)]
Evas GL: Remove useless field
- fbo_attached is not used.
- buffers_allocated is just a bool
Jean-Philippe ANDRE [Sat, 22 Nov 2014 09:32:52 +0000 (18:32 +0900)]
Eolian lua: Fix typo in function name
Jean-Philippe ANDRE [Thu, 20 Nov 2014 15:59:19 +0000 (00:59 +0900)]
Evas GL: Remove unnecessary check
We already checked that re->func.get_pixels wasn't NULL.
Seunghun Lee [Wed, 26 Nov 2014 15:31:06 +0000 (10:31 -0500)]
ecore-drm: pass appropriate arguments to eldbus_message_arguments_get(), so that it can be return as success in _cb_device_resumed().
Summary: it seems eldbus_message_arguments_get() should be received all arguments to return success.
@fix
Reviewers: devilhorns, gwanglim
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1703
Chris Michael [Wed, 26 Nov 2014 14:08:55 +0000 (09:08 -0500)]
ecore-drm: Fixup formatting from D1696 patch
Signed-off-by: Chris Michael <cp.michael@samsung.com>
kabeer khan [Wed, 26 Nov 2014 14:07:46 +0000 (09:07 -0500)]
ecore-drm: Sending Active to login1.Session
Summary:
Resolved TODO to set Active and State property of login1.Session
Set Active = true and State = 'active' via eldbus_proxy_property_set
@fix
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1696
Seunghun Lee [Wed, 26 Nov 2014 14:01:47 +0000 (09:01 -0500)]
ecore-drm: close fd handle if _ecore_drm_tty_setup() is failed in ecore_drm_tty_open().
Summary: added code to close fd handle and clear data.
@fix
Test Plan: N/A
Reviewers: gwanglim, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1701
Seunghun Lee [Wed, 26 Nov 2014 13:59:30 +0000 (08:59 -0500)]
ecore-drm: remove unnecessary setting file's flag of O_RDWR that are ignored.
Summary: setting flag of O_RDWR by F_SETFL is no effect. it's ignored.
@fix
Reviewers: gwanglim, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1695
Jean-Philippe Andre [Wed, 26 Nov 2014 13:42:08 +0000 (22:42 +0900)]
Evas GL: Fix indirect rendering surfaces for GLES 1.1
Carefully select the requested EGL config and match it with
the available visual from X, including the following options:
- Stencil
- Depth
- MSAA
TODO: The same thing for GLX. And fix direct rendering as well.
Thiep Ha [Wed, 26 Nov 2014 11:29:08 +0000 (11:29 +0000)]
edje entry: improve selection performance
Summary:
The selection performance is slow if we select large chunk of text.
This is caused by many rectangles created and deleted.
This patch provides a way to improve it by combine selection rectangles
of line in middle into one rectangles (i.e, if we have N lines,
the selection rectangle for lines 2 to N-1 will be combined into one.)
@feature
Reviewers: raster, cedric, tasn
Subscribers: herdsman, woohyun, cedric
Differential Revision: https://phab.enlightenment.org/D1508
ChunEon Park [Wed, 26 Nov 2014 10:18:57 +0000 (19:18 +0900)]
evas/example - fix wrong image size.
ChunEon Park [Wed, 26 Nov 2014 10:12:09 +0000 (19:12 +0900)]
evas/examples: add map anti aliasing example.
ChunEon Park [Wed, 26 Nov 2014 08:39:27 +0000 (17:39 +0900)]
evas/map: correct last 1 pixel handling in spans.
Clipper causes the different rendering result by last 1 pixel on the width.
Because the left edge x range (0 ~ (w - 1)) and right edge x range (0 ~ w) is different.
This fix won't be memory over access problem even if x span position is on the end of the edge.
Because the span width(x2 - x1) will be 0, and it restuls in skipping drawing.
It's hardly find the problem but you can detect the subtle rendering difference when some arbitrary meshes with map is
You can compare image and rectangle map drawing for this.
@fix
Thiep Ha [Wed, 26 Nov 2014 08:18:49 +0000 (10:18 +0200)]
textblock: correct text position for RTL text with margins
Summary:
If a RTL textblock has right margin, text is wrongly placed
(right margin is moved to left).
This patch fixes this issue.
Test cases are also added to test text position with margins.
@fix
Reviewers: tasn, herdsman
Subscribers: woohyun, cedric
Differential Revision: https://phab.enlightenment.org/D1691
ChunEon Park [Wed, 26 Nov 2014 06:59:27 +0000 (15:59 +0900)]
evas/map: revise draw code.
reverted draw logic and applying aa drawing better safely.
ChunEon Park [Wed, 26 Nov 2014 06:17:51 +0000 (15:17 +0900)]
evas/map: removed unnecessary.
ChunEon Park [Wed, 26 Nov 2014 06:12:25 +0000 (15:12 +0900)]
evas/map: support aa in basic c computation.
ChunEon Park [Wed, 26 Nov 2014 03:22:55 +0000 (12:22 +0900)]
evas/map : set antialias context for map rendering.
ChunEon Park [Wed, 26 Nov 2014 03:07:10 +0000 (12:07 +0900)]
evas/map: add comments for readability.
ChunEon Park [Tue, 25 Nov 2014 12:35:33 +0000 (21:35 +0900)]
evas/map: code refactoring.
use array for easier indexing in the coming anti-alias logic code.
Tom Hacohen [Tue, 25 Nov 2014 11:29:10 +0000 (11:29 +0000)]
Eet: add diffeet a tool for diffing eet files.
This is not perfect at the moment, as the decoded output might change
drastically in some cases, however this is still useful for the other cases.
Anyway, we should fix the eet decoding to have a consistent order, so this
will be more useful.
@feature.
Daniel Juyung Seo [Tue, 25 Nov 2014 08:57:45 +0000 (17:57 +0900)]
ecore: Add warnings to the public internal APIs.
These APIs were not meant to be exposed so it is not recommended to
use them out side of EFL. We had to expose them to use them between
EFL libraries. (Talked with Raster)
Daniel Juyung Seo [Tue, 25 Nov 2014 08:36:24 +0000 (17:36 +0900)]
edje: Add more description about edc group_name.
kabeer khan [Tue, 25 Nov 2014 09:55:36 +0000 (09:55 +0000)]
evas_object_textblock: Resolved FIXME replaced int with size_t
Summary:
Since Evas_Textblock_Cursor has pos of type size_t so changed
pos argument in _find_layout_item_line_match from int to size_t
Also Evas_Object_Textblock_Item has text_pos of size_t so defined
variable p of type size_t
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: tasn
Subscribers: devilhorns, cedric
Differential Revision: https://phab.enlightenment.org/D1692
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 09:21:26 +0000 (18:21 +0900)]
ecore-xi2 - fix issue with ifdefs and moustache nesting
don't ask how this worked at all... it did... until you change some
ifdefs
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 08:03:53 +0000 (17:03 +0900)]
ecore-con - silence bsd source wanrings for dns.c
silence this annoying warning we've had for a while:
In file included from /usr/include/stdint.h:25:0,
from
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdint.h:9,
from lib/ecore_con/dns.c:45:
/usr/include/features.h:148:3: warning: #warning
"_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
[-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use
_DEFAULT_SOURCE"
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 08:01:36 +0000 (17:01 +0900)]
ecore drm - comment out unused code to reduce warnings
several brightness functions in ecore drm are unused - comment them
out until they are needed.
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 07:58:25 +0000 (16:58 +0900)]
axis code ... warning --
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 07:09:28 +0000 (16:09 +0900)]
ecore-x - xi2 - only compile functions when used by xi2
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 07:07:09 +0000 (16:07 +0900)]
ecore x - mark unused param as unused (warning--)
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 06:37:16 +0000 (15:37 +0900)]
ecore-x - xi2 support - unbreak build break i added.
this only breaks when you enable xi2.2
Daniel Zaoui [Mon, 24 Nov 2014 09:08:17 +0000 (11:08 +0200)]
Edje: remove duplicated code.
In _edje_object_evas_object_smart_add, code is duplicated from
_evas_object_smart_clipped_smart_add. We can invoke eo_do_super instead.
Carsten Haitzler (Rasterman) [Tue, 25 Nov 2014 06:09:00 +0000 (15:09 +0900)]
edje - remove old script_only code that used embryo (not lua)
thjis was deprecated even before efl 1.0 by never removed. lua
replaced it for script_only objects and you havent been able to
compile an edje file with script_only enabled since 1.0, so no point
having the code here.
this cleans up that code and cruft.
Jason Gerecke [Tue, 25 Nov 2014 03:07:50 +0000 (12:07 +0900)]
Expose device (e.g. pen) axis information to applications
Summary:
This patch set adds the necessary code to expose device axis state to applications. This was primarily written with graphics tablets in mind, which -- in addition to acting like a mouse -- also provide information about pen pressure, tilt, etc. Other devices could potentially benefit from this API as well: touchscreens, joysticks, knob controllers, "spaceballs", etc.
Whenever an update to the device state is recieved, an "Axis update" event is synthesized. This event contains the updated information, typically scaled and normalized to a particular logical range (e.g. zero to one for pressure, -pi to pi radians for angles, etc.). Information about the tool which generated the event is also stored so that applications can disambiguate events from multiple devices (or in the case of multitouch screens, individual fingers).
This API is only wired up for use with X11 at the moment. Support for other backends (e.g. Wayland) should be easy to add for those familiar them.
**Note**: The following is a list of changes from the "v2" patches originally sent to the mailinglist
//Define and implement new Ecore_Event_Axis_Update events//
* Harcode axis labels instead of including xserver-properties.h
* Use C89-style comments
* Use doxygen comments
* Update comment text to note axes with unbounded/undefined ranges/units
* Create "Ecore_Axis" and "Ecore_Axis_Label" typedefs
* Reference typedef'd instead of raw types
* Adjust how we count through valuators to support tilt/az
* Add support for tilt and azimuth
* Tweak memory management in case number of valuators differ
* Expand TWIST axis normalization to declared range
* Only normalize TWIST axis if resolution == 1 (wacom bug)
* Cache label atoms on first use to minimize round-trips
//Implement EVAS_CALLBACK_AXIS_UPDATE event and friends//
* Update to doxygen comments
* Update comment text to note axes with unbounded/undefined ranges/units
* Typedef 'Evas_Axis_Label', 'Evas_Axis'
* Move typedef for 'Evas_Event_Axis_Update'
* Reference typedef'd instead of raw types
//Wire the Ecore and Evas implementations of axis update events together//
* Expose ecore_event_evas_axis_update in Ecore_Input_Evas.h
* Move ecore_event_evas_axis_update to more logical position
//DEBUG: Add axis update logging to evas-multi-touch.c//
* Removed from patch set
//Make evas-multi-touch demo use new axis functionality//
* Have pressure adjust rectangle brightness instead of size
* Use more available axis data when rendering rectangle (azimuth, tilt, twist)
Test Plan: The evas-multi-touch demo was updated to support axis update events. A graphics tablet was then used to verify that the pressure, azimuth, tilt, and twist data was coming through correctly.
Reviewers: cedric, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1514
Conflicts:
src/lib/ecore_input/Ecore_Input.h
Carsten Haitzler -
** fixed forward enum typedefs (make things unhappy)
** fixed conflict above
** fixed wrong param type for _evas_canvas_event_feed_axis_update()
** fixed @sinces to be 1.13
** fixed formatting/indeting
** fixed order of operation reliance in if's with ()'s to be clear
** fixed functions to be static that should have been
ChunEon Park [Tue, 25 Nov 2014 01:00:31 +0000 (10:00 +0900)]
edje_edit: updated doc.
revised the ambigious description for clarify.
kabeer khan [Mon, 24 Nov 2014 14:35:48 +0000 (09:35 -0500)]
Ecore FIle: Added test case for ecore_file download
Summary:
Added test cases for ecore_file_download and ecore_file_download_full
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns, stefan_schmidt
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1683
Jean-Philippe Andre [Mon, 24 Nov 2014 09:46:49 +0000 (18:46 +0900)]
Evas GL common: Cosmetic change
Don't cast "ext" a hundred times when you can do it once.
Jean-Philippe Andre [Mon, 24 Nov 2014 09:44:46 +0000 (18:44 +0900)]
Evas GL common: Scan extension string for ETC1 subimage
There is an official name for it:
GL_EXT_compressed_ETC1_RGB8_sub_texture
Thanks Mythri for pushing that specification.
Jean-Philippe Andre [Mon, 24 Nov 2014 09:38:46 +0000 (18:38 +0900)]
Evas GL common: Fix RGB+A textures draw
Also rename texm into texa for consistency.
Even though texa might be a mask image, it's still used only
for it's a (alpha) channel.
Stefan Schmidt [Mon, 24 Nov 2014 09:04:03 +0000 (10:04 +0100)]
eldbus-codegen: More memory leak fixes for generated code.
Same fix as we did for simple method calls we need in complex method calls as
well. Unref message on error path.
@fix
Stefan Schmidt [Mon, 24 Nov 2014 09:03:01 +0000 (10:03 +0100)]
elocation/geoclue2: Update generated code after generator leak fixes.
This brings in some fixed memory leaks from the generator.
Stefan Schmidt [Mon, 24 Nov 2014 08:54:06 +0000 (09:54 +0100)]
eldbus-codegen: Free msg on error path for generated code.
If eldbus_message_arguments_append we would never unref the message.
This will fix various Coverity issues in generatd eldbus code.
@fix
CID: 1255634, 1255636, 1255637, 1255639
Carsten Haitzler (Rasterman) [Sun, 23 Nov 2014 13:01:34 +0000 (22:01 +0900)]
ecore-evas - fix focus skip flag to be one way
this fixes focus skip being set if someone else sets skip
pager/taskbar. it's a one-way prop. if focus skip is set THEN skip
pager/taskbar is set. not the other way.
Seunghun Lee [Fri, 21 Nov 2014 14:18:29 +0000 (09:18 -0500)]
ecore-drm: fix error check of _device_flags_set function
Summary: the function return -1 if it's failed so checking for ! is
incorrect. We should check if the return is less than zero.
@fix
Reviewers: gwanglim, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1682
kabeer khan [Fri, 21 Nov 2014 14:16:56 +0000 (09:16 -0500)]
ecore_file : Changed documentation of ecore_file_mksubdirs
Summary:
Corrected documentation of ecore_file_mksubdirs by replacing dirs with subdirs
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1674
Daniel Kolesa [Fri, 21 Nov 2014 14:12:40 +0000 (14:12 +0000)]
eolian: one func for filling in namespaces
Daniel Kolesa [Fri, 21 Nov 2014 13:59:42 +0000 (13:59 +0000)]
eolian: get rid of the PARSE_SECTION macro nonsense
Stefan Schmidt [Fri, 21 Nov 2014 10:48:59 +0000 (11:48 +0100)]
examples/evas: Ignore evas_3d_ply example binary
Stefan Schmidt [Fri, 14 Nov 2014 12:35:42 +0000 (13:35 +0100)]
elocation: Update generated code for geoclue2 after eldbus-codegen bugfix
Property set works now.
Stefan Schmidt [Mon, 3 Nov 2014 15:16:16 +0000 (16:16 +0100)]
elocation: Add generated GeoClue2 DBus helper code.
Generated by eldbus-codegen to avoid writing the boilerplate code by hand.
Stefan Schmidt [Thu, 30 Oct 2014 15:52:47 +0000 (16:52 +0100)]
elocation: Add enums for GeoClue2 accuracy levels
Some stay the same between 1 and 2 and others have changed. Mark enums that
are only available on one version.
Stefan Schmidt [Fri, 21 Nov 2014 09:20:36 +0000 (10:20 +0100)]
tests/eo: Do not test for an integer when you get a pointer.
It works but the compiler is right when complaining about it. fail_unless()
expects and integer but we passed in a pointer. Negate the pointer and use
fail_if() like we do in all other places.
Daniel Kolesa [Thu, 20 Nov 2014 17:16:04 +0000 (17:16 +0000)]
elua: update eolian bindings
Daniel Kolesa [Thu, 20 Nov 2014 17:13:12 +0000 (17:13 +0000)]
eolian: forgot to add prototype to header
Daniel Kolesa [Thu, 20 Nov 2014 15:21:44 +0000 (15:21 +0000)]
eolian: add support for @optional ctor tag
This implements task T1804.
@feature
Daniel Kolesa [Wed, 19 Nov 2014 14:05:18 +0000 (14:05 +0000)]
allow for loading of eo.lua files from module path
Daniel Kolesa [Wed, 19 Nov 2014 13:46:26 +0000 (13:46 +0000)]
elua: put all scripts required for lua file generation into deps
This is a bit ugly but at least we can make sure a full
re-generation is triggered when stuff changes.
Daniel Kolesa [Wed, 19 Nov 2014 12:57:10 +0000 (12:57 +0000)]
elua: do not emit spaces where not required
Daniel Kolesa [Wed, 19 Nov 2014 11:40:49 +0000 (11:40 +0000)]
elua: simplify lualian typeconv
Jean-Philippe Andre [Wed, 19 Nov 2014 10:45:04 +0000 (19:45 +0900)]
Evas: Check load_error before loading again (GL)
This is a new attempt at avoiding reload of an image
that failed to load during async preload.
See
42d2f8a12b4706b79e7cf16162d34f259bdc23d4 (reverted).
I still can't figure out why setting load_error does not
work as expected (E pager becomes blank).
Jean-Philippe Andre [Wed, 19 Nov 2014 10:19:56 +0000 (19:19 +0900)]
Revert "Evas: Set image load_error after load"
Oops, I didn't test this enough.
This causes some problems with E's pager for instance.
This reverts commit
42d2f8a12b4706b79e7cf16162d34f259bdc23d4.
Jean-Philippe Andre [Wed, 19 Nov 2014 10:06:18 +0000 (19:06 +0900)]
Evas: Set image load_error after load
In case of async preload, this avoids loading an image twice
if it already failed loading.
Thanks Minkyoung Kim for spotting this.
Jean-Philippe Andre [Wed, 19 Nov 2014 09:54:36 +0000 (18:54 +0900)]
Evas: Cosmetic changes in evas_gl_image
Jean-Philippe Andre [Wed, 19 Nov 2014 08:10:37 +0000 (17:10 +0900)]
Evas: Remove irrelevant comment and disabled code
Jean-Philippe Andre [Wed, 19 Nov 2014 06:30:12 +0000 (15:30 +0900)]
Evas GL: Change comment and DBG message
Jean-Philippe Andre [Wed, 19 Nov 2014 06:08:00 +0000 (15:08 +0900)]
Evas GL: Wrap glGetString for VERSION
- glGetString(GL_VERSION) should not return "OpenGL ES 3.0" because
GLESv3 is not supported yet.
- GL_EXTENSIONS should return only the list of supported extensions
--> disabled for now as the whitelist of safe extensions is way
too small.
Jérémy Zurcher [Tue, 18 Nov 2014 15:24:39 +0000 (15:24 +0000)]
Eo: protect against recursive object destruction calls, fixes T1741
Summary:
Eo: semantic obj->del replaced by obj->destructed
Eo: protect against recursive object destruction calls
Eo: add tests for bfada4b
Reviewers: JackDanielZ, tasn
Reviewed By: tasn
Subscribers: cedric
Maniphest Tasks: T1741
Differential Revision: https://phab.enlightenment.org/D1675
Fixes T1741
@fix
kabeer khan [Tue, 18 Nov 2014 11:24:06 +0000 (12:24 +0100)]
efreetd_cache: Resolved TODO checking symbolic link to monitor real path
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: englebass
Reviewed By: englebass
Subscribers: devilhorns, cedric
Differential Revision: https://phab.enlightenment.org/D1625
kabeer khan [Tue, 18 Nov 2014 09:26:43 +0000 (10:26 +0100)]
Ecore File : Added test suite for Ecore File module
Summary:
Added 3 test cases. First to test initialise, shutdown Ecore_File module.
Second to test all file operation functions defined in the module.
Third to test ecore file monitor
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: devilhorns, stefan_schmidt
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1662
Jean-Philippe Andre [Tue, 18 Nov 2014 09:37:59 +0000 (18:37 +0900)]
Evas GL: Create TLS during make_current if there isn't any
Apps would crash if they call make current without creating
a surface in the same thread. I don't see a good reason why
we should have this a limitation.
Jean-Philippe Andre [Tue, 18 Nov 2014 08:37:25 +0000 (17:37 +0900)]
Evas GL: Add some debug
It will be triggered when EVAS_GL_API_DEBUG is set.
Yeah, that's abusing the variable a bit, as it was intended for
GL calls only, but this is pretty harmless.
Also add string "GL_DEPTH_STENCIL".
Jaehwan Kim [Tue, 18 Nov 2014 08:13:38 +0000 (17:13 +0900)]
edje: Set the default image in image set.
If there's no suitable image in image set, set the first image among
the set.
Bogdan Devichev [Mon, 17 Nov 2014 16:14:23 +0000 (17:14 +0100)]
evas/3d: Fix dereferencing a pointer that might be null found by coverity
Summary:
@fix
CID: 1254626
Reviewers: cedric, artem.popov, Oleksander
Subscribers: cedric, stefan_schmidt
Differential Revision: https://phab.enlightenment.org/D1673
Stefan Schmidt [Mon, 17 Nov 2014 15:51:55 +0000 (16:51 +0100)]
examples/elocation: Shutup some unused parameter warnings