summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* engines: Add a damage_region_set callbackdevs/derekf/damage_callbackDerek Foreman2016-08-1911-1/+19
| | | | | | | | | | To properly implement EGL_KHR_partial_update we need to know the buffer damage before any drawing operations take place. Add a new callback to software_generic/gl_generic that takes place after combining of surface damage and swap mode when we actually have this information available. Note: This means the three copy pasta implementations of EGL_KHR_partial_update scattered around the tree are all wrong. bummer.
* eina_cxx: change strings to match new returned system string.Cedric BAIL2016-08-191-1/+1
|
* docs: generate reference pages for codelinkDaniel Kolesa2016-08-195-32/+51
|
* docs: generate keyword-link.txt for codelinkDaniel Kolesa2016-08-193-6/+20
|
* docs: fix invalid links in class reference tableDaniel Kolesa2016-08-191-1/+2
|
* elm: Install elm test images in the right placeJean-Philippe Andre2016-08-191-1/+7
| | | | | | | | | | This moves g_layer images to their folder. Some kind of dark magic managed to install the base images in the proper folder already. This fixes elementary_test -to "Gesture Layer 2" @fix
* emile: fix jpeg loader broken with orientationjiin.moon2016-08-191-16/+17
| | | | | | | | | | | | | | | Summary: After applying a patch regarding region, side-effect detected. Fixes T4390 Test Plan: make check Reviewers: jpeg, cedric, jypark Maniphest Tasks: T4390 Differential Revision: https://phab.enlightenment.org/D4245
* efreetd - only open log file is env var is set to do soCarsten Haitzler (Rasterman)2016-08-191-6/+16
| | | | | | | | | set EFREETD_LOG to something to get efreetd to log. otherwise efretd log files can end up rather larth and since they go in xdg_runtimedir - thats mostly a ramdisk... they eat actual ram. so save a lot of memory and only log if asked to. @fix
* evas software downscaler - get about 1.8x to 3x speedups for casesCarsten Haitzler (Rasterman)2016-08-191-350/+686
| | | | | | | | | | | | | | | | | this speeds up downscaling of images by somewhere between 1.8 to 3x dpeending on case and cpu etc. - this is ONLY for downscaling of an image buffer betweeb 50% width and/or height up to 100% of width and height. it's a special case optimization that cuts down the complexity of the full super sampling filter to just do a bilinear interpolation which is actually strictly correct for this size range and shouldn't drop quality. it uses fixed point (16.16) to do the sup pixel sampling. no mmx/asse or neon, but we could actually easily use it as we do use mmx/ee and neon in the bilinear upscaler to do interpolation so this would work here too. it just requires time and effort to make yet 2x more special cases and use the ASM to do the hard slog here. @optimize
* eina_error: allow errno.h codes.Gustavo Sverzut Barbieri2016-08-187-29/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | we have some duplication of errors between Eina_Error and errno.h, however we should use Eina_Error to extend the traditional errno.h system. then change eina_error_msg_register() and eina_error_msg_static_register() to return a magic bit to state the number was registered, and on other functions test this bit in order to operate on registered values, otherwise fallback to errno.h, such as strerror(). It also deprecates 2 clear duplicated errors: - EINA_ERROR_OUT_OF_MEMORY -> ENOMEM - EINA_ERROR_TIMEOUT -> ETIMEDOUT There are two details when using strerror(): - old behavior did not return strings for non-error, such as "Success" or "Unknown error ${N}" - thread-safety issues: since we must be thread safe, then use strerror_r() and eina_stringshare_add() that value, keeping a hash of cached values
* docs: add include flag verificationDaniel Kolesa2016-08-181-2/+61
|
* docs: add writer support for include pluginDaniel Kolesa2016-08-181-0/+36
|
* Evas text: fix RTL text ellipsis issuesYoungbok Shin2016-08-181-8/+20
| | | | | | | | | | | | | | | | | | | Summary: Visual position of ellipsis item should be set according to its bidi direction. But, by setting visual position in same way as logical position, the end ellipsis could be put opposite side. Also, start ellipsis must placed on left side of RTL text. @fix T3187 Test Plan: Test an sample on T3187 Reviewers: tasn, woohyun, herdsman Subscribers: raster, Blackmole, z-wony, cedric, jpeg, minudf Maniphest Tasks: T3187 Differential Revision: https://phab.enlightenment.org/D3769
* Elementary: Load image for image item with proper orientationYoungbok Shin2016-08-181-0/+1
| | | | | | | | | | | | | | | Summary: Image files can have orientation information. Elm Entry have to call evas_object_image_load_orientation_set() for showing image with proper orientation. Test Plan: N/A Reviewers: herdsman, raster, jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4244
* Evas Text: parse font string everytime for updating lang properlyYoungbok Shin2016-08-181-11/+8
| | | | | | | | | | | | | | | | Summary: We can't assume the given font is same with current fdesc by comparing string. Since Evas starts to supporting "auto" for language, the given font string should be parsed once before comparing it. @fix Test Plan: N/A Reviewers: tasn, raster, cedric, herdsman Subscribers: jpeg, minudf, z-wony, Blackmole, woohyun Differential Revision: https://phab.enlightenment.org/D4227
* ejde - fix recalc single min n edje for h evalCarsten Haitzler (Rasterman)2016-08-181-1/+1
| | | | | | | | | | | this fixes a seemingly small typo that would only turn up with fixed point, but not floats as we have by default whwere we had x = 999; instead of x = FROM_INT(999); shouldn't be visibule unless you disable float support and use fixed point in edje.
* edje - solve crash issues brought on by optimization of edje mem usageCarsten Haitzler (Rasterman)2016-08-181-61/+22
| | | | | | | this solves a crash brought on by 1d6a58cfc9f3bbe821eb04150e2b1e0ede7b32eb that optimized mem usage but seems to have created issues in empc. fixes T4382
* efl_loop_user: error if parent is not a loop provider.Gustavo Sverzut Barbieri2016-08-181-1/+4
| | | | | | it was silently ignoring the parent, which led me to hours trying to investigate why my code wasn't working just to realize my parent wasn't being assigned and refcounts were screwed.
* eolian: gracefully handle incorrect case of inherit.Gustavo Sverzut Barbieri2016-08-181-1/+8
| | | | | | | If you use "EFl" instead of "Efl", it will find the proper file, but won't find the type... crashing. Handle that case and hint the user about it.
* edje_entry: Make a result of retrieve_surrounding_cb secureJihoon Kim2016-08-181-0/+7
| | | | | | | | | | | | | | | | | | Summary: Regardless of the password mode of Entry, _edje_entry_imf_retrieve_surrounding_cb alwalys passes plain_text to any callers who register that callback. This commit replace plain text with '*' because current behavior could be a security hole in some case. Reviewers: woohyun, id213sin, jihoon Reviewed By: jihoon Subscribers: cedric, jsuya, z-wony, jpeg Differential Revision: https://phab.enlightenment.org/D4238
* eolian_cxx: Fix behavior with explicit void returnLauro Moura2016-08-172-3/+3
| | | | | | | | Only perform the single value/return type substitution on properties if the void return type is implicit (i.e. NULL return from function_return_type_get), following the eolian-C implementation as we use the generated headers. Also update example after Eo-Efl changes.
* wayland_egl: Fix rendering on systems without buffer ageDerek Foreman2016-08-171-0/+1
| | | | | | | | If buffer age isn't present we really want to return MODE_FULL, but we were previously returning MODE_AUTO. On recent mali drivers this resulted in accidental partial updates leading to incorrect rendering.
* wayland_egl: Remove swap_mode from engine infoDerek Foreman2016-08-172-37/+1
| | | | This was never set anywhere and always defaulted to 0, or AUTO
* examples: evas: ensure filter example lua files land in tarballStefan Schmidt2016-08-171-0/+9
| | | | | | These are needed for a make doc run and have been missing the tarball before. @fix
* doc: put shot.sh into dist to allow make doc run from tarballStefan Schmidt2016-08-171-1/+2
| | | | | | | This was missing in the release tarballs before breaking a make doc run from them. @fix
* docs: move all of serializers to doctreeDaniel Kolesa2016-08-175-160/+154
|
* docs: move type serializer into doctreeDaniel Kolesa2016-08-173-59/+61
|
* docs: move type cstr retrieval to doctreeDaniel Kolesa2016-08-173-19/+19
|
* Efl Object: Make event description arrays const.Tom Hacohen2016-08-172-2/+2
| | | | | This was an oversight. They should have been const arrays, and not just arrays of pointers to const items.
* evas/gl_x11 : Add multiple_buffer member in native surface x11 type union.Minkyoung Kim2016-08-173-1/+35
| | | | | | | | | | | | | | | | | Summary: If native surface is multiple buffer pixmap such as named pixmap, Evas should recreate eglImage everyframe. Because DDK get the buffer ID once at eglImageCreate time. So if internal buffer ID is changed, should recreate eglImage. Test Plan: Wearable Tizen. Reviewers: wonsik, raster, cedric, jpeg Reviewed By: jpeg Subscribers: spacegrapher, dkdk, cedric Differential Revision: https://phab.enlightenment.org/D4211
* evas: Fix BMP load with region set and scale downJean-Philippe Andre2016-08-171-2/+6
| | | | | This fixes usage of photocam on large BMP images. Follows previous commits by @jiin.moon.
* evas: Fix region test in jpeg load with region + zoomJean-Philippe Andre2016-08-172-2/+9
| | | | | | | The previous commit exposed an issue with the region test does not take into account the scale down factor. Not a @fix in itself, as it depends on the previous patch.
* emile: region_set does not working in jpeg loader if scale_down has setjiin.moon2016-08-171-12/+19
| | | | | | | | | | | | | Summary: If both region and scale_down has set, ERR would be returned by loader of jpeg. @fix Test Plan: sample code Reviewers: raster, jypark, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4200
* photocam: Fix region load + scale down optionsJean-Philippe Andre2016-08-171-10/+11
| | | | | | | | I have no idea how photocam even worked before. @jiin.moon exposed a major issue in photocam by fixing how the jpg loader scale down + region load combination works. @fix
* evas: Add support for region load with PNG filesjiin.moon2016-08-171-10/+54
| | | | | | | | | | | | Summary: PNG loader support region_set when decoding @feature Reviewers: cedric, jpeg, jypark, raster Subscribers: raster Differential Revision: https://phab.enlightenment.org/D4165
* evas: Support region_set for BMP imagejiin.moon2016-08-171-45/+95
| | | | | | | | | | | | | | | Summary: 1) BMP loader support region decoding. @feature 2) Fix an issue what BMP loader can't decode an 16bit image with bit field @fix Test Plan: attached sample codes Reviewers: cedric, jpeg, jypark Differential Revision: https://phab.enlightenment.org/D4228
* evas: mark unused function parameter as suchStefan Schmidt2016-08-171-1/+1
|
* evas: Fix hold eventsJean-Philippe Andre2016-08-171-0/+2
| | | | | | This fixes a crash with thumbscroll. Fixes https://phab.enlightenment.org/T4378
* evas: Fix mouse inputs when also listening to multiJean-Philippe Andre2016-08-173-3/+13
| | | | | | | | | | | | Since the new event type is the same for multi and single touch (finger id is the only difference), multi touch listeners would get triggered even for single mouse events. Fixes https://phab.enlightenment.org/T4345 Fixes https://phab.enlightenment.org/T4378 This raises a question though: How do we want to differentiate between single & multi touch events in the eo interfaces?
* Efl Object: Change and rename the type we use for function pointers.Tom Hacohen2016-08-162-6/+5
| | | | | | | | Rename the type to something more sensible and change it to remove the last remanent of Eo1. This fixes a fixme that has been there for a while. The type doesn't really matter, it just looks nicer with the va_list.
* Efl object: implement CoW for the function vtablesTom Hacohen2016-08-162-30/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements a sort of CoW for the vtables. The vtables are usually just linked to and refcounted. When we need to change them we allocate new ones and copy them over so we can write to them. I wrote some code to measure the effectiveness of this change. When running elementary_test (and immediately exiting) I saw that out of the total number of vtable chains (561) that were needed by the classes in the EFL, 79 (14.08%) were reused. Considering that I had to add refcounting (unsigned short, but let's consider it's the size of a word because of alignment), I would calculate the saving as such (in bytes): Number of items in a chain (refcounted block): 32 32 bit: sizeof(chain_node) = 8 Mem wasted on refcounting: 561 * 4 = 2244 Mem saved because of sharing: 79 * (32 * 8) = 20224 Total save: 17980 bytes 64 bit: sizeof(chain_node) = 16 Mem wasted on refcounting: 561 * 8 = 4488 Mem saved because of sharing: 79 * (32 * 16) = 40448 Total save: 35960 bytes Wow, we use a lot of memory in Eo classes, I'm sure we can save even more if we put our hearts into it (change the shareable units to be smaller to increase the chance of sharing). This is internal and doesn't affect API/ABI so we can change this even further with time. This also improves efl_object_override(). This should now be quite memory efficient (don't abuse, but it's not a big hogg as it was), so feel free to abuse that one and rely on it in API. @feature
* evas: engine: remove set but unused variableStefan Schmidt2016-08-161-2/+0
|
* docs: add Type to doctree and remove direct eolian api usagesDaniel Kolesa2016-08-162-18/+141
|
* docs: reduce the Expression API to just what's necessaryDaniel Kolesa2016-08-161-16/+0
|
* docs: add Expression node typeDaniel Kolesa2016-08-162-4/+47
|
* evas: Fix ordering of input eventJean-Philippe Andre2016-08-1611-66/+418
| | | | | | | | | | The previous patch 1185c40e508ca2ecc4c5e86b shows how having two event types for the same thing (key or mouse input events) was a bad idea. The only guaranteed order of callbacks is the priority but even that was not enforced (since legacy or eo style event had to come first). Fixes T4310
* edje: Allow no_render in descriptionJean-Philippe Andre2016-08-165-2/+81
| | | | | | | | | Previously, it was limited to the part block. It was a mistake and should have been put in the description instead, as this allows it to change during state transition (like visible, or proxy_src_visible). @feature
* elm: Remove _EFL_APP_VERSION_SET from ELM_MAINJean-Philippe Andre2016-08-161-2/+2
| | | | | | | | | | This macro is behind a BETA ifdef. Shouldn't be used here, unless we want to remove the beta flag and stabilize efl_build_version_set() now. Thanks Stefan for the report. @fix
* win: Mark two properties as eo-onlyJean-Philippe Andre2016-08-161-4/+12
| | | | | | Why aren't those functions implemented yet? @fix
* elm: Hide new init APIs behind BETA tagJean-Philippe Andre2016-08-162-3/+23
| | | | | | | | | | | This places the following behind beta: - efl_quicklaunch_fallback - efl_build_version_set I don't think EFL_MAIN would have worked without BETA API support, so no need to expose those for now. @fix