Commit Graph

30011 Commits

Author SHA1 Message Date
woochan lee 81628abe9f Delete whitespaces, fix indentation in header, eo files
Summary: Delete whitespaces, fix indentation in header, eo files

Reviewers: cedric, raster, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2305
2015-04-10 14:01:09 +09:00
Jean-Philippe Andre e2022f4157 eina: Add NULL check for eina_threadqueue_free
@fix
2015-04-10 11:34:50 +09:00
Jean-Philippe Andre 3fd7f199da Evas: Fix use of uninitialized values
Not a meaningful issue, but let's make Coverity happy.
Fixes:
 - CID 1293522
 - CID 1293521
2015-04-10 11:34:50 +09:00
Felipe Magno de Almeida d02f99ee21 eio-model: Fix Eio model races in tests
Removed sleep and implemented a deterministic way to test if the test has really finished.
2015-04-09 22:47:17 -03:00
Mike Blumenkrantz 668fcab941 efreetd: temporarily blacklist saving and monitoring root directory
ref T2280
2015-04-09 20:08:17 -04:00
Mike Blumenkrantz ce15918593 ecore-file: use hash for finding monitors
this should hugely improve the speed of file monitor event processing;
in my test case, 800,000+ monitors were present and the application was
entirely unable to process them
2015-04-09 20:01:18 -04:00
Tom Hacohen c1c471de9c Ector: clean up makefile a bit. 2015-04-09 23:11:35 +01:00
Felipe Magno de Almeida 49c3396fae eio model: Removed non-existent emodel.la library linking
The library emodel.la doesn't exist. Emodel is now efl model interface. No need to link to it.
2015-04-09 17:43:05 -03:00
Felipe Magno de Almeida b2cd3a1f60 evas-3d: Fix example compilation of evas_3d_blending 2015-04-09 17:41:34 -03:00
Felipe Magno de Almeida a1067ae177 emile: Fix eina examples compilation when using a different build directory
The Makefile.am added only include dirs for top_builddir. Added for top_srcdir as well so it can find the headers.
2015-04-09 17:25:20 -03:00
Chris Michael dcda62c04e ecore-drm: Fix output_geometry_get function
Summary: This fixes an issue where heights of all outputs would get
added, thus causing the ecore_evas to be created at the wrong size.
Now, the height will be whichever output is larger.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:46:35 +02:00
Chris Michael 12dc91590d ecore-drm: Remove debug line from launcher
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:46:23 +02:00
Chris Michael c5d46c88ec ecore-drm: Set mode flag for preferred if this is the preferred mode
Summary: This fixes a minor oversight in ecore_drm_output_mode_add
which was not setting the mode->flag to preferred if this is a
preferred mode.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:46:14 +02:00
Chris Michael 92e10af291 ecore-drm: Send ECORE_DRM_EVENT_OUTPUT on unplug also
Summary: If we unplug an output, we should still be sending this event
so that the compositor can remove any unplugged outputs

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:45:43 +02:00
Chris Michael 9d0892b4f7 ecore-drm: Better output name format
Summary: Make output names match format reported from kernel

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:42:09 +02:00
Chris Michael 07ee56d555 ecore-drm: Fix formatting
Summary: NO functional changes, just formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:42:00 +02:00
Chris Michael 40945aa10c ecore-drm: Fix issue with edid_parse_string truncating strings
Summary: We should only truncate the string if it's greater than 4

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:41:33 +02:00
Chris Michael ec12d25057 ecore-drm: Add more connector types
Summary: libdrm has support for Virtual and DSI connector types, so
add those to the connector types

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:41:24 +02:00
Chris Michael e5e0b0b506 ecore-drm: Fix formatting
Summary: NO functional changes, just formatting.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:41:13 +02:00
Chris Michael c7ced198e6 ecore-drm: Move Eeze Udev Watch to Drm Device
Summary: Move the Eeze udev watch to inside the ecore_drm_device. This
allows us to only create One watch to catch all output changes. No
need for more than one watch (one per output) as was done previously

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:41:03 +02:00
Chris Michael d815d9bd10 evas-drm: Use Ecore_Drm_Fb for framebuffers
Summary: This commit changes the evas drm engine to use Ecore_Drm_Fb
for framebuffers. We remove the old 'Buffer' structure from the evas
engine and replace it in Outbuf with Ecore_Drm_Fb. This also removes
unused functions from the evas_drm.c file as we can now use
ecore_drm_fb calls

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:40:53 +02:00
Chris Michael 318f2c435a ecore-drm: Add width & height to Ecore_Drm_Fb structure
Summary: This adds a w & h field to the Ecore_Drm_Fb structure so it
can be used from within the Evas engine

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:40:42 +02:00
Chris Michael e72e1e1751 evas-drm: Remove evas_bufmgr.c from the Evas Drm engine
Summary: This file is not needed for the software drm engine. This was
added (initially) for combining the drm software & hardware engines
into one. As that is not the case, this file is unused.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:40:32 +02:00
Chris Michael 2f62ebb223 ecore-drm: Create all framebuffers using XRGB8888 by default
Summary: By default, we should be creating dumb buffers using XRGB8888
that way it does not matter if we have an alpha channel or not in the
buffer.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:40:22 +02:00
Felipe Magno de Almeida 4ecdac9302 efl interfaces: Fix conditional for generation for pkgconfig for C++
Do not generate efl-cxx.pc when C++ is disabled.
2015-04-09 11:17:28 -03:00
Carsten Haitzler 8c8bf357ba eian threadqueue - be clearer on the message struct/format limitations
this makes the send func docs also be clear on the
Eina_Thread_Queue_Msg limitations like the wait func
2015-04-09 17:21:25 +09:00
Carsten Haitzler bea8877029 edje_cc - handle image sets that are empty by skipping them
this fixes an edje_cc crash on compile for "invalid" edc that has
empty image sets.
2015-04-09 13:33:41 +09:00
Stefan Schmidt c3ee9ff22b eina_matrix: Add since tags to all new functions in 1.14 2015-04-08 14:39:50 +02:00
Stefan Schmidt a12c53ba7a eina_quad: Add since tags for new eina_quad*()
This needs documentation for the new functions.
2015-04-08 14:39:49 +02:00
Jaeun Choi 15e11cb05f eina: eina_unicode_utf8_next_get should return 0
when one of the parameters is NULL to avoid null pointer access.
it also corresponds to the description in doc.

@fix
2015-04-08 21:29:13 +09:00
Stefan Schmidt adbe2e864b eina: Add since tag for new eina_simple_xml_attribute_w3c_parse() 2015-04-08 14:13:57 +02:00
Stefan Schmidt 8a764d8d9c eina: Add since tag for new eina_list_data_idx()
Also fix some whitespaces while being there.
2015-04-08 14:11:44 +02:00
Stefan Schmidt 1e081f2ae1 edje: Add since tag for new edje_file_iterator_new() 2015-04-08 14:08:03 +02:00
Stefan Schmidt 28d69b5f5b edje: Add since tag for new edje_mmap_color_class_iterator_new() 2015-04-08 14:08:03 +02:00
Stefan Schmidt c4d2e9893c edje: Add since for new edje_color_class_active_iterator_new() 2015-04-08 14:08:03 +02:00
Jean-Philippe Andre 464e6ca987 Evas masking: Avoid potential crashes (SW)
Make sure not to sample the mask image outside its boundaries.
This is a series of last resort checks. I can not reproduce the
crashes but know they have happened.

I used EINA_UNLIKELY more for clarity than for compiler optimizations.
2015-04-08 18:17:34 +09:00
Conrad Meyer 9281fb5537 ecore_main.c: Refactor purely duplicate ecore_main_fd_handler_file_add()
Summary:
... to simply invoke `_ecore_main_fd_handler_add()`. The only difference appears to be the former sets `->file` to `EINA_TRUE`. So, we add that as a parameter.

You can consider this patch, and any other contributions I make to enlightenment, to be under the terms of whatever open source license governs that particular project, or at your option, the MIT license. Basically, if I'm uploading patches here, it's because I want them to be useful.

Test Plan: Should be pretty straightforward. I am in the process of doing a compile check.

Reviewers: #efl

Projects: #efl

Differential Revision: https://phab.enlightenment.org/D2302
2015-04-08 15:47:26 +09:00
mythri.venugopal 0580f88990 Evas GL: Add missed GLES 3.0 functions in evgl_load_gles3_api.
Reviewers: wonsik, spacegrapher, jpeg

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2300
2015-04-08 15:14:43 +09:00
Conrad Meyer 0c21b91f0f Edje: Remove excessive casts and use type Edje_Object
Use type Edje_Object instead of Eo in legacy EAPI's.

Spotted in TAsn's ABI report, under "Problems with Symbols".
I believe this will actually add two changes (Eo -> Edje_Object),
but I like the typing better ;)
2015-04-08 14:42:04 +09:00
Conrad Meyer 6dd135d4c6 Evas GL: Add @since 1.14 flags to Evas_Native_Surface
And enum
2015-04-08 12:31:06 +09:00
Conrad Meyer 9fece8c333 Ecore IMF: Add @since tags to new fields 2015-04-08 12:29:00 +09:00
pierre lamot 869ed025a2 ecore_cocoa: fix scrollwheel behavior
- prioritize vertical scroll over horizontal
  - set amount to either -1 or 1, since EFL doesn't handle other value properly
  - fix wheel bouncing with some devices (X:0,Y:0 scrolling events)

  @fix
2015-04-07 19:05:55 +02:00
pierre lamot 35f47f43af AUTHORS: update 2015-04-07 19:05:46 +02:00
Tom Hacohen a23ff0d9a3 Ector: Ship missing headers.
These headers are being included from public headers (Ector.h),
so they need to be available.

That's what happens when you push in code that's not actually used
by anyone.

@fix
2015-04-07 15:56:42 +01:00
ChunEon Park 1e33454772 evas common: make logic same to c code version.
As C version,
It increase alpha value by 1 to avoid loosing of the remains while it divides
values. Neon version does same technique to make same results.
2015-04-07 23:06:43 +09:00
ChunEon Park 51d60e649c evas common: NEON version of evas_common_convert_argb_premul.
This patch reduces power consumption by around 18mA in certain scenarios
(music player list scroll, my files sound list scroll), making
evas_common_convert_argb_premul() ~60% faster (6.2msec->2.6msec).

Take music-player application, make 100 copies of the standard
Over the Horizon” song, scroll up and down to see those
downscaled-from-720x720 thumbnails enter and leave the screen.
Every time a list item enters the screen, the image is re-read
(as evas image cache is not large enough to store more than two
pictures of that size), and one call of _common_convert_argb_premul()
occurs, taking ~6.2msec (which is not much compared to ~60msec
spent in libpng->libz (the biggest bottleneck here),
but still noticeable).

A similar power consumption improvement is observed during
scrolling sounds list of the same files in My Files application
(just with idle level ~100mA lower).

We also checked the new code to be correct on random input data.

all tests are performed based on tizen device.

Signed-Off-By: Artem Dergachev <dergachev.a@samsung.com>
2015-04-07 23:05:40 +09:00
Stefan Schmidt 2bbdc17bea release: Update NEWS and bump version for 1.14.0-alpha1 release 2015-04-07 13:50:38 +02:00
Stefan Schmidt 079fcf29a3 ecore_con: Make sure the server.key and pem are distributed in the tarball
Pull them out of the if EFL_ENABLE_TESTS test as we need them to be put into
the tarball in all cases.
2015-04-07 13:19:34 +02:00
Cedric BAIL 0b4d525e59 evas: make all of Evas_Object_VG API part of BETA
As JP pointed out there is no point of having an API if the only way to use
it is through a BETA API.
2015-04-07 13:11:21 +02:00
Jean-Philippe Andre e9cd816839 ecore_evas_convert: Implement hacky solution for Ctrl+C
Problem: evas_object_image_save() can't be interrupted.
But, with ETC1/ETC2 encoding, it might be terribly long and
the user has no way to cancel encoding (except SIGKILL).

The proper solution would be to tell evas that the save
operation has been cancelled. And run that in a thread,
in a non-blocking way. I guess Efl.File.async could be
used for that, which means maybe also introduce
Efl.File.async_cancel? This will have to wait for
EFL 1.15 I'm afraid.

Note: edje_cc still can't be cancelled during ETC encoding.
2015-04-07 17:59:45 +09:00