summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* WIPdevs/bu5hm4n/ssl-fixMarcel Hollerbach2016-12-081-2/+22
|
* gl_drm: Only use dmabuf if the extension is presentDerek Foreman2016-12-071-0/+4
| | | | | Need to check for the extension string instead of just the presence of the function pointers.
* gl_drm: Query eglGetProcAddress with dlsymDerek Foreman2016-12-071-10/+3
| | | | | | | | | | eglGetProcAddress should be queried with dlsym unconditionally. What we had could query it with other extended forms of eglGetProcAddress, which is probably not what anyone wants. Also, throwing away the weird extended forms because there's a good chance our other gl bits don't run on any stacks that don't support normal eglGetProcAddress.
* gl_drm: simplify outbuf_reconfigureDerek Foreman2016-12-072-15/+4
| | | | | Calling render_engine_software_generic_update from eng_setup lets us remove a bunch of stuff from evas_outbuf_reconfigure.
* evas: wait on one specific task to be done.Cedric BAIL2016-12-073-1/+11
| | | | This prevent dead lock.
* gl_drm: Don't destroy the outbuf in reconfigureDerek Foreman2016-12-071-20/+9
| | | | | | Cedric tells me this is bad, and I never argue with Cedric. We now re-use the same outbuf and just reconfigure the gbm/gl stuff.
* ecore_drm2: Make ecore_drm2_fb_release return statusDerek Foreman2016-12-072-8/+17
| | | | | We need to use this to free up gbm buffers on a surface release, so it has to report when it successfully frees a buffer.
* build: coverage: work around lcov 1.12 bug by using absolute paths for info ↵Stefan Schmidt2016-12-071-14/+14
| | | | | | | | | | | files In case a warning gets printed from lcov some internal function changes the dir to / and thus fails to create files in the given file later on. Using an absolute path here is a workaround to avoid this problem. The fix is in lcoc already but not yet in any release so we better keep this around here. Lcov fix reference: https://github.com/linux-test-project/lcov/commit/632c25a0d1f5e4d2f4fd5b28ce7c8b86d388c91f
* build: coverage: disable branch coverage generation to avoid hangs in gcovStefan Schmidt2016-12-072-10/+8
| | | | | | | | | | I have seen hangs with gcov on Jenkins and locally where the processing just keeps spinning in an infinite loop. From what I have found out this boils down to using gcov --all-blocks which is what lcov does with branch coverage enabled. It is supposed to be fixed in gcc 4.8+ but I see this here with 5.3.1. So its either a regression or not completely fixed. In any case we will ignore branch coverage for now. I hoped it would work well but it did only for a while and having line and function coverage is better than having nothing.
* evas - software generic - fix crashDerek Foreman2016-12-071-5/+2
| | | | | | | | | Commit fcef8d8392b8c8d1d7b96baacaf5e7e89fcf6b45 breaks any evas engine that frees/NULLs its own outbuf before calling evas_render_engine_software_generic_update() We should unconditionally set the outbuf, we only need to do the free conditionally.
* Eo: Fix efl_isa() sometimes returning wrong results with extensionsTom Hacohen2016-12-072-22/+26
| | | | | | | | | | | | | | | | | | | | This fixes an issue where efl_isa() wouldn't work for extensions or ancestors of extensions of a class. Example: Class A implements interface F2 F2 inherits from interface F1 obj is of class A Before this patch efl_isa(obj, F1) would return false, now it returns true as expected. This is just one example, there is a whole array of variations to this issue that are now fixed. Thanks to Gustavo for reminding me of this. @fix
* Eo tests: Adjust according to latest commit.Tom Hacohen2016-12-071-2/+2
|
* eolian: use the generic class name instead of C name in sourceDaniel Kolesa2016-12-071-4/+3
| | | | | | This changes the string in Efl_Class_Description to use the real class name (with namespaces) instead of the C class name. The reason for this is that this string is generic, not C-related.
* eolian: forgotten free() (leaks memory otherwise)Daniel Kolesa2016-12-071-0/+1
|
* eolian: switch reference validation to new tokenizerDaniel Kolesa2016-12-071-95/+20
|
* Eo gdb: Be more strict with types and convert Eo * to uintptr_t.Tom Hacohen2016-12-071-10/+12
| | | | | This should make the results cleaner and also solve potential conversion issues in some version combinations of gdb and python.
* Eo gdb: Implement eo_data_get to get eo data.Tom Hacohen2016-12-071-0/+49
| | | | | | | | | | | | | | | | | | | | | | | Like 79d76fb25ece4ffbf5785b4be2b030f062ef9f2c, this is useful when debugging a core dump. It accepts a valid pointer to an object, for example as returned from $eo_resolve, and a name of a class or mixin, and returns a pointer to the private data. Essentially the same as efl_data_scope_get(), but also works on core dumps, and accepts a class name instead of a class pointer. Usage: Print the pointer: (gdb) print $eo_data_get($eo_resolve(obj), "Efl_Canvas_Object") $1 = (void *) 0x555555eb9290 Use it directly (e.g. to print a value): (gdb) print ((Evas_Object_Protected_Data *) $eo_data_get($eo_resolve(obj), "Efl_Canvas_Object"))->last_event_type $2 = EVAS_CALLBACK_MOUSE_UP @feature
* evas - software generic - fix crash when buffer is freed when its the sameCarsten Haitzler (Rasterman)2016-12-071-2/+5
| | | | | | | | evas_render_engine_software_generic_update(0 definitely is wrong where it wants to always free the outbuf even if the buffer passed in is the same one and thus it ends up being freed and now invalid. fix it @fix
* Evas: include efl_vg_container.eo.legacy.h to avoid implicit declaration for ↵Artem Popov2016-12-071-1/+1
| | | | | | | | | | | | | | evas_vg_container_child* @fix Summary: Due to implicit declaration, evas_vg_container_child_get casts to int and on 64-bit can return wrong pointer Reviewers: cedric, NikaWhite, myoungwoon, jpeg, an.kroitor, Hermet Reviewed By: Hermet Subscribers: t.naumenko Differential Revision: https://phab.enlightenment.org/D4464
* elementary genlist: code refactoring.Hermet Park2016-12-071-16/+9
| | | | removed duplicated logic and add a descriptive comment.
* genlist : fix cannot scroll to item after call elm_genlist_item_updatejinwoo.shin2016-12-071-0/+5
| | | | | | | | | | | | | | | | Summary: Fix cannot scroll to item after call elm_genlist_item_update Test Plan: https://phab.enlightenment.org/T4974 Reviewers: Hermet Reviewed By: Hermet Subscribers: SanghyeonLee, minkyu, cedric, jpeg Tags: #efl Differential Revision: https://phab.enlightenment.org/D4460
* emile_image: fix possible segmentation fault in AGRY88Sungtaek Hong2016-12-071-1/+2
| | | | | | | | | | | | | | Summary: - ptrag is set NULL and is allocated only when prop is rotated. but *ptrag = 0xFF00 | ptr[0]; without checking rotation. Reviewers: jpeg, cedric, Hermet Reviewed By: Hermet Subscribers: conr2d Differential Revision: https://phab.enlightenment.org/D4463
* evas: as an example make PMAPS decoding interruptible.Cedric BAIL2016-12-061-7/+12
|
* evas: use emile and evas new infrastructure to interrupt decoding of JPEG early.Cedric BAIL2016-12-061-1/+11
|
* emile: add infrastructure for callback to request what to do with image.Cedric BAIL2016-12-062-1/+79
| | | | First use of this infrastructure is to make JPEG decoding interruptible.
* efl: extend possible error while decoding an image to be cancelled.Cedric BAIL2016-12-061-1/+2
|
* evas: add possibility for image loader to know if what they are working is ↵Cedric BAIL2016-12-062-0/+12
| | | | still useful.
* evas: add infrastructure for Evas_Loader to know if what they are working on ↵Cedric BAIL2016-12-063-0/+69
| | | | is still useful.
* evas: add capability to know if a thread has been cancelled.Cedric BAIL2016-12-062-0/+7
|
* evas: switch to use Ecore_Thread instead of half done Evas thread ↵Cedric BAIL2016-12-061-148/+51
| | | | infrastructure.
* wayland_shm: track mappings more effectivelyDerek Foreman2016-12-061-0/+2
| | | | | Unmap any active mappings from buffer_destroy. This also means we need to clear the mapping after unmapping in fallback.
* wayland_shm: Refcount the dmabuf buffer managerDerek Foreman2016-12-061-12/+63
| | | | | | | | | Because we async render into buffers before the compositor has told us we can use them, we can end up kicking over to fallback while still rendering into a buffer. Refcount the manager to let us clean up properly without crashing when this happens.
* wayland_shm: clear busy bit for buffers during dmabuf fallbackDerek Foreman2016-12-061-0/+3
| | | | | | If we pre-rendered then we have a busy buffer - we need to clear that busy bit after reading from the buffer or buffer_destroy won't clean it up.
* wayland_shm: Clear busy status when replacing an unassigned bufferDerek Foreman2016-12-061-0/+1
| | | | | | If we render fast enough we can use more than one buffer before the compositor assigns us buffer ids. We need to be careful to clear the busy bit on all but the most recent one.
* gl_drm: Allow testing of dmabuf objectsDerek Foreman2016-12-061-0/+17
| | | | | | Enlightenment needs to know if a specific dmabuf format is supported before it lets clients use it. This lets E test commit a wayland dmabuf object without assigning it a buffer.
* evas-wayland-shm: Keep tile buffers in sync with size changesChris Michael2016-12-061-1/+7
| | | | | | | | | | Previous patch to not destroy Outbuf on resize should not have removed this line else software generic tilebuffers will not be in sync with the updated size. ref 5ebba4463 Signed-off-by: Chris Michael <cp.michael@samsung.com>
* examples/evas: use new API for key modifiers per seatBruno Dilly2016-12-061-2/+3
|
* evas-drm: Keep tile buffers in sync with size changesChris Michael2016-12-061-0/+5
| | | | | | | This line should not have been removed from the previous patch. Thanks to Cedric for catching this. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* evas-drm: Don't destroy Outbuf on resizeChris Michael2016-12-061-7/+2
| | | | | | | | | On an engine resize, we previously would destroy the Outbuf structure. This patch modifies the code so that on a resize we no longer have to destroy the old Outbuf and reallocate a new one. Instead, we will just reconfigure the existing one and update it's properties. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* eolian: add a reference resolverDaniel Kolesa2016-12-063-8/+183
| | | | | | | | | | | New API function eolian_doc_token_ref_get will resolve the kind of reference in the given token and extract the necessary data you might need for further use, for example class and function for methods, or struct and field for struct field. It also supports event references that will be added into Eolian later. EFL will be switched to the new resolver (by changing the validator code) during the next step.
* evas-wayland-shm: Don't destroy Outbuf on resizeChris Michael2016-12-063-11/+8
| | | | | | | | | | On an engine resize, rather than destroy & recreate the Outbuf structure (and the associated surface) we can just call the eng_output_resize function (which in turn will call outbuf_reconfigure) to update Outbuf with new properties. This saves us from having to create a whole new Outbuf every time we resize. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* eo: guard lifecycle obj log inside spinlock.Gustavo Sverzut Barbieri2016-12-061-1/+12
| | | | | since the array can be pushed or looked up from multiple threads we must have a lock in place.
* eo: guard all efl_super() checks under EO_DEBUG.Gustavo Sverzut Barbieri2016-12-061-2/+2
| | | | | | Tom is worried about performance hit (god, checking a bit in a pointer we'll fetch to memory anyway, since we return it masked), so guard under EO_DEBUG.
* all: use void if we really want to make sure we do not accept parametersStefan Schmidt2016-12-0612-16/+16
| | | | | | In C we need this to make clear that we really do not accept parameters. Found by the smatch source code matcher. I had run and fixed this before but it seems to creep in again over time.
* eina: fix same wrong indentingStefan Schmidt2016-12-062-4/+4
| | | | | Brought up by running smatch. We have way to many of such things in tree though to fix them all without annoying a lot of people. I will just stop here.
* eo_debug: add lifecycle debug options, allow run-in-tree and use eina_btlog.Gustavo Sverzut Barbieri2016-12-061-2/+91
| | | | | | | | | | | | | | | | | As usual with our code, EFL_RUN_IN_TREE=1 will lead to usage of binaries from the current build dir instead of system. To make user life easier, add -l/--lifecycle-debug and -L/--lifecycle-no-debug options, as well as -h/--help. The lifecycle-debug option will export the correct environment variables, such as EO_LIFECYCLE_DEBUG, EO_LIFECYCLE_NO_DEBUG and EINA_LOG_LEVELS=eo_lifecycle:4 if no such level was set for that domain. Last but not least, pass all command's stderr thru eina_btlog so backtraces are automatically translated to function names, files and lines. This one was a bit trickier to respect colors and stdout/stderr contents, see comments in the script.
* eina_btlog: allows continuous running on input, flush when possible.Gustavo Sverzut Barbieri2016-12-061-0/+11
| | | | | | | | | | | | | | | eina_btlog will make a table of the backtrace and then must compute columns length. However, if not running in such mode (ie: show_compact/-c), we don't need to queue lines or compute column lengths. Also, now that we accept non-backtrace lines, like other output interleaved, then flush the table once such line is found, this will restart the table columns for the next output, but at least allows eina_btlog to run on a live output, such as: myapp 2>&1 | eina_btlog
* eina_btlog: cleanup backtrace list.Gustavo Sverzut Barbieri2016-12-061-0/+13
|
* eo: efl_super() can receive a class as first parameter.Gustavo Sverzut Barbieri2016-12-061-1/+1
| | | | This fixes the src/tests/eo/test_function_overrides
* Static deps unibreak: Update to latest version.Tom Hacohen2016-12-0610-126/+627
| | | | | | | | | | | | | | | This version supports Unicode 9.0 and includes many fixes. Reference git hash: fe1ce2e78c19fa2b4b7a92b1864a12b432da6ec6 This version is not yet released, but now is a better time to sync it, and there are no code changes expected, only "admin" work. Main changes: Unicode 9.0 support Many fixes in the lineberaking algorithm to now pass the Unicode reference test data. @feature