summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Evas Canvas: Remove focused_objects property.devs/iscaro/api-removalGuilherme Iscaro2017-01-032-15/+1
| | | | | | | | | | | | | | | | | | | | | | | This property is not needed and it will only increase the API size. One can simple achieve the same behaviour by simple doing: //C code... Eina_List *l; Evas_Device *dev; devices = evas_device_list(evas, NULL); EINA_LIST_FOREACH(devices, l, dev) { Evas_Object *obj; if (evas_device_class_get(dev) != EVAS_DEVICE_CLASS_SEAT) continue; obj = evas_canvas_seat_focus_get(dev); //Do something with the focused object..... } //More C code...
* ecore_fb: allow ecore_fb to not setup VT.Gustavo Sverzut Barbieri2017-01-031-4/+16
| | | | | | | Some systems won't allow VT to be setup due permissions to KDSETMODE to KD_GRAPHICS. Introduce $ECORE_FB_NO_VT envvar to allow skip that setup.
* ecore_fb_init(): use 'name' parameter similar to ecore_evas_fb_new().Gustavo Sverzut Barbieri2017-01-031-8/+31
| | | | | | | | | | | Instead of assuming /dev/fb/0 or /dev/fb0, use the given 'name' parameter in a similar way to ecore_evas_fb_new(): a number to be parsed with 'strtoul()'. Without this calling ecore_evas_fb_new() or ecore_evas_new() with 'display=1' will produce incorrect results. @fix
* evas: Add code to change the object's chage flag in evas_object_image_data_setJaeyong Hwang2017-01-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | Summary: When using evas_object_image_data_set(obj, data), if you give the value of data to NULL, the image data is free. However, Since you have not set a flag in the image object to be modified, it will not be processed in the next render loop. Eventually, the image data is erased, but you see the image before it was erased. If evas_object_image_data_update_add() is used to solve this problem, the operation of the function is skipped because the values of w and h in image are 0. So, If data is NULL, I modified it to call evas_object_change() in evas_object_image_data_set(). Test Plan: Sample code {F61599} {F61601} Reviewers: Hermet, jiin.moon, eunue, jpeg Reviewed By: jpeg Subscribers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D4520
* gengrid : enable layout sizing eval and content min limit feature in gengridSangHyeon Lee2017-01-032-3/+42
| | | | | | | | | | | | | Summary : As the child of layout and scroll interface user, gengrid need to support content min limit feature to set min size by layout sizing eval. Test Plan : Set elm_scroller_content_min_limit to gengrid and get min size off gengrid object. Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
* evas: fix adjustment logic about image borderJiwon Kim2017-01-031-4/+14
| | | | | | | | | | | | | | | | | | | Summary: If border left+right >= image width, center area does not rendered. Although adjusement logic, _draw_image()'s src_w can be a 0. This commit try to secure center area at least 1 pixel. This should fix T5057 @fix Reviewers: raster, jypark, jpeg Subscribers: cedric Maniphest Tasks: T5057 Differential Revision: https://phab.enlightenment.org/D4538
* Elm.Widget: rename "event.*" methods to solve name conflictJee-Yong Um2017-01-0364-73/+77
| | | | | | | | | | | Summary: Elm.Widget.event_callback_add conflicts with Efl.Object.event_callback_add. To solve this problem, "widget_" prefix is added to methods starting with "event". Reviewers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4521
* elementary_config: make compare of web_backend more secureMarcel Hollerbach2017-01-021-1/+2
| | | | | | web_backend can get NULL when there is a error with the entry. Make sure the pointers are different, or they are not NULL and the string contents are different.
* eolian: correctly set the empty/auto flags in implementsDaniel Kolesa2017-01-021-25/+41
|
* eolian: disallow duplicate implementsDaniel Kolesa2017-01-024-12/+19
|
* eolian: fill ctor class early onDaniel Kolesa2017-01-025-18/+37
|
* eolian: no need to fill func in eolian_implement_function_getDaniel Kolesa2017-01-021-42/+11
| | | | All implements are now filled in the previous stage.
* eolian: partially clean up implement filling logicDaniel Kolesa2017-01-022-57/+47
|
* eolian: require specification of either get or set in property implsDaniel Kolesa2017-01-021-0/+2
|
* evas loader - don't stat NULL file pathsCarsten Haitzler (Rasterman)2017-01-021-1/+2
| | | | | something i found valgrinding my recent async improvments. statting null path. fix it.
* edje_cc_parse: Fix to insert missing double quotation marksJaehyun Cho2017-01-021-4/+4
|
* edje_cc_parse: Compile EDC file whose path contains space character.Jaehyun Cho2017-01-021-3/+6
| | | | | | | | Previously, edje_cc could not compile EDC file whose path contains space character since edje_cc interpreted the EDC file as separate 2 inputs. (i.e. "input file.edc" was interpreted as "input" and "file.edc") This patch enables edje_cc to interpret above case correctly.
* evas generic loader - expand buffers in case of weird install locationCarsten Haitzler (Rasterman)2017-01-021-23/+27
| | | | | | | | | so we had just 128 bytes for path to generic loader utility. in most cases this is plenty but if you have bizarre symlinks and long paths we may run out of space, so move up to 4k buffers as this is realistically the max path len anyway on a system. @fix
* evas image async preload - add option to also make header load asyncCarsten Haitzler (Rasterman)2017-01-0227-498/+822
| | | | | | | | | | to date if you use async preload we still load the header synchronously and this can be horrible especially with generic loaders. there is no way to farm this off to the preload thread. now there is. youhave to set it as a skip head load option before doing a file_set AND you need to issue a preload ... but now it's possible. @feature
* evas cutouts - quickly avoid huge per issues with large nos of cutoutsCarsten Haitzler (Rasterman)2017-01-029-68/+198
| | | | | | | | | | | | | | | | | i found evas_common_draw_context_apply_cutouts() was procsessing 300+ cutouts and as it's O(n^2)/2 to try and merge adjacent rects for cutouts this really performs like complete junk. we apply cutout rects a LOT. this is not the best solution, but it's quick and much faster than doing the clipouts which drop framerate to like 1-2fps or so in the nasty case i say (tyls -m of photos in a dir with a 2160 high terminal). this figures out the target area to limit the count of rects significantly so O(n^2) is far far better when n is now < 10 most of the time. and for the few operations where it's a high value this now uses qsort to speed up merges etc. etc. @optimize
* elm_naviframe: resize previous view before item pop transition.Sungtaek Hong2017-01-021-5/+8
| | | | | | | | | | | | | | | | Summary: - In commit rEFL9f5e9ec7ca120242a92ac97fb20016263c152d8e previous view is raised after item pop transition so that current view's pop animation can be shown. - But, previous view has to be in it's proper size during transition because some of animation might show previous view. Reviewers: Jaehyun_Cho Subscribers: cedric, conr2d, jpeg Differential Revision: https://phab.enlightenment.org/D4535
* Evas GL:Bind texture to correct one.Minkyoung Kim2017-01-021-1/+8
| | | | | | | | | | | | | | | | | Summary: If user bind textureA and want to use it continuously, do not call glBindTexture(textureA) again. But expect that textureA will be binding. So EvasGL sould not change binded texture silently. Restore texture to previous bound one after allocating new texture. And when destroy texture, reset texture to 0 if it is current bound texture. Test Plan: Tizen 3.0 Reviewers: wonsik, dkdk, cedric, jpeg Reviewed By: jpeg Differential Revision: https://phab.enlightenment.org/D4524
* evas: initalize orient property in file_set()Jiwon Kim2017-01-021-0/+4
| | | | | | | | | | | | | | | | | | | | | | | Summary: Someone calls evas_object_image_file_set() and set orient, and then re-set another file. At that time, there is a mismatch between Evas_Image_Data's cur->orient and engine's orient data. So, "file_set(a) -> orient_set(90) -> file_set(b) -> orient_set(90)" is not working now. Therefore, when a file_set() is finished, initialization is needed. @fix Reviewers: jypark, jpeg Reviewed By: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4515
* elm_index: apply mirrored layout for index boxSungtaek Hong2017-01-021-5/+5
| | | | | | | | | | | | | | | | | | | | Summary: - When mirrored is set, horizontal box packs item reversely, from right to left. However, index box packs index item the same as before, from left to right. This commit changes index box custom layout to sync with other box. Test Plan: - enable mirrored UI, or use elm_config_mirrored_set(EINA_TRUE); run elementary_test, "Index Horizontal". - Observe index item packs in a same direction with box contents. Reviewers: cedric, Hermet, jpeg Subscribers: conr2d Differential Revision: https://phab.enlightenment.org/D4512
* evas_events: add checking NULL logic to source mouse event.Hosang Kim2017-01-021-0/+14
| | | | | | | | | | | | | | | | | Summary: When the proxy's source is updated, the proxy's event list will be updated, too. But there is no way now. So add defensive code for protecting segment fault. @fix Reviewers: woohyun, raster, jpeg Reviewed By: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4508
* elm_config: fix for dereferencing after comparing to NULLAlok Mishra2017-01-021-2/+5
| | | | | | | | | | | | | | | | | | Summary: arr has been checked earlier so as to avoid when it is NULL. If there is a possibility of being NULL earlier then it should be checked even when freeing. So added the NULL check before free. @fix Reviewers: singh.amitesh, bu5hm4n, tasn, cedric, raster, atulfokk, hyunseok, minkyu, Hermet, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4537
* elm_code: remove unneeded init code.Andy Williams2017-01-016-105/+2
| | | | Move elm_code init to the main elementary as that's where it lives
* elm_code: select when navigating or clicking with shiftAndy Williams2017-01-011-29/+61
| | | | test plan: hold shft whilst using a cursor key or mouse click with shift pressed
* Updating italian translationmaxerba2017-01-011-2/+2
|
* elm_code: refactor auto indent about brace matchingYeongJong Lee2017-01-014-47/+40
| | | | | | | | | | | | | | | | | Summary: return value of brace matching function no longer need free(). Test Plan: 1. run elementry_test - Code Editor or Edi. 2. Type some code with braces. 3. Check that closing brace has correct indent. Reviewers: ajwillia.ms Reviewed By: ajwillia.ms Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4540
* elm_panel: decide whether a scrollable panel is open or not only when it has ↵Jaeun Choi2016-12-301-0/+10
| | | | | | | | | | | | | | | a size in _state_sync() function, scrollable content's position is used to tell whether the panel is open or not. in case of a top panel, for example, it is considered to be open when the content's vertical position equals to zero. however, this logic has a defect in that the position is always zero if the content size is zero - not resized properly yet. it caused unwanted results. this patch added some codes to check 1. if the panel's width or height is bigger than zero 2. if the box which contains panel contents is visible (resizable) @fix
* Edje_cc: update images.set.image names when write edj file.Mykyta Biliavskyi2016-12-291-0/+16
| | | | | | | | | | | | | There are few image formats that converted into *.png on data writing stage (*.svg, *.tgv). After converting image, this image entry name changes by <name>.<vector format ext>.png. This make possible save vector images into edj file. Because images set could contain vector images too - after save on disk set image entry name wasn't updated. And still have original name: <name>.<vector format ext>. This commit update image set entries name accordingly to the global pool of images. @fix
* ecore_thread: reset waiter and worker when we have failedMarcel Hollerbach2016-12-281-1/+9
| | | | otherwise the func_end and func_cancel can get into a endless recursion.
* edje_cc - fix warning about freeing a const char ptrCarsten Haitzler (Rasterman)2016-12-281-1/+1
| | | | | | | yes - the type is const char * for edje runtime (the library) but in edje_cc we strdup these strings and yes - assign them to a const char * thus the warning and the need to cast. it's specific co edje_cc only and so this is correct.
* eldbus - fix warning for possibly undefined value being sentCarsten Haitzler (Rasterman)2016-12-281-0/+1
| | | | | | this ensures the integer "id" is at least set before using it, though reality is it will be set, it's better to have less warnings and there isn't any other way to silence this warning other that setting it.
* evas - clean up whitespace and 80 column wrapping and commented out codeCarsten Haitzler (Rasterman)2016-12-282-510/+306
| | | | | | this doenst change functionality but just cleans up the file whitespacing and formatting and removed commented out junk, 80 column wrapping/overflow etc.
* evas - use freeq for common and cache imagesCarsten Haitzler (Rasterman)2016-12-282-2/+2
| | | | | | this makes software rgba images and cache images use freeq to try and minimize possible bugs and crashes if we hit use of freed data for images.
* elm_code: Fix another public API using the wrong orderAndy Williams2016-12-274-13/+13
|
* elm_code: Fix filename/path for non-file based instancesAndy Williams2016-12-273-0/+38
| | | | And add tests appropriately
* eolian: enable cyclic dependencies between classesDaniel Kolesa2016-12-271-6/+1
|
* eolian: remove old property impl syntax and clean up parsingDaniel Kolesa2016-12-271-28/+4
|
* eolian: allow new property impl syntax with auto/emptyDaniel Kolesa2016-12-274-29/+20
|
* elm: use new property implement syntax everywhereDaniel Kolesa2016-12-27102-552/+441
|
* ecore_thread: null out the struct before returning itMarcel Hollerbach2016-12-271-0/+4
| | | | | | it can contain old callback values which are not overwritten in every case. This just ensures that in both cases, empty trasher or none empty trasher, are returning the same state of the struct.
* emotion: use new property impl syntaxDaniel Kolesa2016-12-271-22/+16
|
* eio, edje: use new property impl syntaxDaniel Kolesa2016-12-276-23/+20
|
* eolian gen: properly deal with __eolian wrappers and mixed prop implsDaniel Kolesa2016-12-271-10/+17
|
* ecore audio: use new property impl syntaxDaniel Kolesa2016-12-274-10/+6
|
* ecore con: use new property impl syntaxDaniel Kolesa2016-12-2714-41/+36
|
* eldbus: use new property impl syntaxDaniel Kolesa2016-12-274-4/+4
|