aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* eo:callbacks find by event counterpartdevs/avilog/callbacks_by_counterpartAvi Levin2015-04-143-21/+187
| | | | | | | This branch is based on the assumption that we have only one legacy event per name and mostly no more than one regular that have same name = his counterpart. We save the counterpart in the legacy and mark if there is more than one.
* edje calc now more correctly forces recalc for child groups on state changeMike Blumenkrantz2015-03-311-4/+27
| | | | | | | in the event of fixed size -> non-fixed size (eg. previous commit optimization), this calc would no longer occur, so we need to queue it. also if fixed.w or fixed.h changes value for a group part, we must recalc the group to ensure correct sizing occurs
* edje calc no longer performs calculations for group parts of fixed size > 0Mike Blumenkrantz2015-03-311-1/+1
| | | | | | | | | when I said > 0 in the last commit message, I was thinking ahead to this commit which I knew I would later have to make, but had not yet written because I had not spent the requisite number of hours debugging the code to know that I needed to have the check in both the code and the commit message ref 3a451650d2f875077419e5777c49d04c618211f0
* Evas masking: Implement polygon masking (GL)Jean-Philippe Andre2015-04-011-4/+23
|
* Evas masking: Ensure texture is up-to-date before drawing (GL)Jean-Philippe Andre2015-04-014-48/+59
|
* Evas GL common: whitespace fixesJean-Philippe Andre2015-04-011-69/+69
|
* Evas masking: Implement line masking in GLJean-Philippe Andre2015-04-013-26/+91
| | | | This commit also introduces a few whitespace changes...
* Evas GL generic: Simplify "scaled" images (used for masking)Jean-Philippe Andre2015-04-015-63/+19
| | | | | | | | | | | Invert the meaning of scaled (w,h), so that im->(w,h) corresponds to the final scaled size, and the original size is stored directly in the texture itself. This simplifies code a little bit. Also, lift the limitation on the maximum texture size, as those virtual textures are not limited by GPU texture size.
* Evas masking: Refactor GL codeJean-Philippe Andre2015-04-0127-353/+354
| | | | | | | | | | | | | | Use the same method as for map masking: - Pass absolute geometry of the mask to the push functions, - Compute absolute position in the shader (like gl_Position) and apply scaling factor + offset to sample the mask. Masking now uses a single vec4 attribute instead of hi-jacking other vertices. This way, all masking shaders share the same code and are way simpler. On the other hand, the vertex shaders have a little bit more work to do.
* ecore_file - fix nasty memory issues in ecore_file_app_exe_get()Carsten Haitzler (Rasterman)2015-04-011-118/+33
| | | | | | | | | | | | | | | | | | | valgrind was most unhappy with ecore_file_app_exe_get(). like: ==8331== Invalid write of size 1 ==8331== at 0x68DE90A: ecore_file_app_exe_get (ecore_file.c:994) ==8331== Address 0x1348e58f is 0 bytes after a block of size 31 alloc'd ==8331== at 0x4C28C20: malloc (vg_replace_malloc.c:296) ==8331== Invalid write of size 1 ==8331== at 0x68DE948: ecore_file_app_exe_get (ecore_file.c:1000) ==8331== Address 0x1348e599 is 10 bytes after a block of size 31 alloc'd ==8331== at 0x4C28C20: malloc (vg_replace_malloc.c:296) etc. etc. - so i rewrote it cleanly using strbuf to save code and effort. cleaner now and ACTUALLY works correctly... and no valgrind complaints. @fix
* edje object swallowing no longer forces a full recalcMike Blumenkrantz2015-03-311-1/+4
| | | | | | | | this (and/or related prior commits) seems to have hugely improved edje performance across the board. particularly noticeable in the settings pane animations for terminology #aprilfools
* edje object scale factor changes now trigger deferred recalcsMike Blumenkrantz2015-03-311-1/+1
| | | | | | | as with the previous commit, any user who wants geometry immediately will be calling calc functions, so this is just going to be redundant except in cases where calc is not wanted, in which case it is unnecessary overhead
* edje group part init no longer forces synchronous hint updating during loadMike Blumenkrantz2015-03-311-1/+1
| | | | | hints will be updated later and any user who wants these hints is going to be calling edje calc functions anyway, causing this to be a redundant calc
* edje calc no longer forces proxy part source calcs for currently-hidden proxiesMike Blumenkrantz2015-03-311-1/+1
| | | | this saves a bit of calc time when a proxy part is not currently visible
* edje calc no longer performs calculations for group parts of fixed sizeMike Blumenkrantz2015-03-311-2/+12
| | | | | if the min/max of a part are identical and > 0, the part's min size is guaranteed to be this size. there is no need to perform expensive recursive calcs here
* edje: add edje_file_iterator_new().Cedric BAIL2015-03-314-1/+67
| | | | This list the actually opened Edje file by the current process.
* edje: fix build break.Cedric BAIL2015-03-311-1/+1
|
* edje: add edje_mmap_color_class_iterator_new().Cedric BAIL2015-03-312-1/+65
| | | | This function make it possible to list the Color class of a specific Edje file.
* edje: add option to dump gnu style include dependencies in edje_cc.Dinesh Dwivedi2015-03-314-5/+29
| | | | | | | | | | | | | | | | | | | | | | | | | Summary: We were facing one problem in tizen sdk's build system as it does not trigger build for edc file if only sub-edc files are changed. During analysis, we found that there is no option in edje_cc for dumping include dependencies which other compiler (clang/ gcc etc) does have. We can do other hack to solve this problem but it will be great if edje_cc can emit gnu style include dependency target. This patch will add support to generate gnu format include dependency file while compiling edc file. similar to what gcc generates with option '-MMD -MF=<dep_file> -MT<dep_file>' https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Preprocessor-Options.html Test Plan: no failure in existing test Reviewers: raster, cedric Reviewed By: cedric Projects: #efl Differential Revision: https://phab.enlightenment.org/D2263 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas/software_x11: Environment can influence the flow when the value is 1 ↵Minkyoung Kim2015-03-311-2/+7
| | | | | | | | | | | | not else. Summary: Do not try swapbuf init only if value of env 'EVAS_NO_DRI_SWAPBUF' is 1. Reviewers: jpeg Subscribers: spacegrapher, cedric, wonsik Differential Revision: https://phab.enlightenment.org/D2259
* edje: get the color class value by iterating over all possible value provider.Cedric BAIL2015-03-311-28/+11
|
* edje: add edje_color_class_active_iterator_new()Cedric BAIL2015-03-312-0/+108
| | | | | | | | This function make it possible to get a list of active Edje_Color_Class in an application. Think about Enlightenment color class configuration, but can now be done on any application dynamically. @feature
* edje: make Edje_Color_Class a public structure.Cedric BAIL2015-03-312-10/+15
|
* Evas 3D: Fix shadow map shaderOleksandr Shcherbina2015-03-312-2/+2
| | | | | | | | | | | | Summary: Silly mistake after this b9b5ced501f4642f03d8bcc8441fd3f7b55a7f52 commit. Seems uninitialized components of vector gl_FragColor Reviewers: cedric, Hermet, jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2258
* edje: force NULL initialization of desc pointer.Cedric BAIL2015-03-301-0/+1
|
* edje: this desc pointer is actually never set.Cedric BAIL2015-03-301-1/+0
|
* ecore_drm: use get_vt instead of parsing the tty attributeMarcel Hollerbach2015-03-301-14/+2
| | | | | | | | | | | | Summary: logind has a seperate function to get the vt number. @fix Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2252
* ecore/idler - simpler checking.ChunEon Park2015-03-281-1/+1
|
* eina: include blank lines in file iterator T2237Andy Williams2015-03-272-7/+10
| | | | any line that would not have been included before has length == 0
* ecore_con: fix ftp upload function to follow documentation.Srivardhan Hebbar2015-03-271-2/+2
| | | | | | | | | | | | | | | | | Summary: While creating a Ecore_con_url object, the url is given in this format "ftp://ftp.example.com". While uploading a file, this function was prefixing "ftp://" to this url which resulted in DNS failure, and upload fail. So corrected the issue. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2221 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas: fix gl_cocoa build after recent changes in ↵Nicolas Aguirre2015-03-271-2/+8
| | | | | | | | | | evas_common_draw_context_font_ext_set. Now evas_common_draw_context_font_ext_set takes 3 more parameters, fix the build by adding NULL for the function pointers. We really need to switch to gl_generic here, it would avoid this kind of problems. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: Change newline parsing to handle crlf betterAndy Williams2015-03-272-6/+7
| | | | | | Adjust test to demonstrate failure, existing code only worked for windows newlines on blank line. @fix T2236
* edje: edje_edit - recalculate object after chenge aspect preferenceVyacheslav Reutskiy2015-03-271-0/+1
|
* ecore: trigger events on FD_READ, FD_CONNECT and FD_ACCEPT.Nicolas Aguirre2015-03-261-2/+2
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_con: do not try to load /etc/resolv.conf when on windows.Nicolas Aguirre2015-03-261-0/+2
| | | | Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* [Evas: Evas_3D] Improve shaders mathDmytro Dadyka2015-03-252-70/+49
| | | | | | | | | | | Reviewers: cedric, jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2244 On many platforms the built-in mix(x, y, a) function faster than its equivalent x * a + y * (1 - a)
* Ecore: Use calloc() to initialize Ecore_Event_Key fullyJean-Philippe ANDRE2015-03-257-14/+10
| | | | | | | | | Some fields (eg. data) may not be properly initialized. Use calloc() instead of malloc() will ensure proper initialization even if we add more fields. These fields (data) would even be passed down to Evas as Evas_Event_Key_Down for instance.
* Build: Fix horribly slow compilation timesJean-Philippe ANDRE2015-03-252-1/+13
| | | | | | | | | | Cedric, our dear b0rker, introduced changes in the CFLAGS generation when merging Emile. While the changes seem to make sense at first sight (add the -I flags for the lib our new package depends on), they were actually a terribly bad workaround. The number of CFLAGS args would grow exponentially, slowing down libtool a lot, which is known to be slow when it has a lot of arguments.
* edje: add of textures to Edje 3D node.perepelits.m2015-03-252-0/+108
| | | | | | | | | | | | | | Summary: Adding textures to edje_cc and some topblock keywords that I have forgotten to add in previous commits. Reviewers: Hermet, raster, cedric Reviewed By: cedric Subscribers: cedric, artem.popov Differential Revision: https://phab.enlightenment.org/D2129 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina: add eina_list_data_idx().Michal Jagiello2015-03-252-0/+36
| | | | | | | | | | | | | | | | | | | | | | Summary: Now the developer has to iterate the whole list to find the index of the first occurence of the data. I see that it is possible to get the index of the item for the genlist widget, but for the eina_list not. With these APIs it will be easier to implement *index_get functions for the rest of widgets which contain items (Elm_List, Elm_Ctxpopup etc.). These functions returns the index of the given data or node in the eina_list. Reviewers: Hermet, cedric Subscribers: raster, cedric Differential Revision: https://phab.enlightenment.org/D2189 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_con: add example for ftp upload.Srivardhan Hebbar2015-03-252-9/+94
| | | | | | | | | | | | | | | | | Summary: Added example for ftp upload. In the .gitignore only 2 files added which were missing. The differences it is showing is cos of reordering. I did ls and redirected the file to gitignore. So the files got reordered. Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2223 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* evas: fix logic of 180 degree image rotation in software_generic backend.kabeer khan2015-03-251-3/+2
| | | | | | | | | | | | | | Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: cedric Reviewed By: cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2238 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eet: fix variable namingAndrii Kroitor2015-03-261-11/+11
| | | | | | | | | | Summary: this file name is used for input, not for output. Reviewers: cedric, seoz, Hermet, raster Subscribers: cedric, reutskiy.v.v Differential Revision: https://phab.enlightenment.org/D2243
* Wayland shm: Fix shadow variable warningJean-Philippe ANDRE2015-03-251-4/+4
|
* edje: add text_class_get() APIsSohyun Kim2015-03-264-0/+79
| | | | | | | | | | | | Summary: No APIs to get text_class for global hash and object hash Reviewers: woohyun, cedric, raster Reviewed By: cedric, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2213
* [Evas: Evas_3D] Refactor shader system: refactored shadow map shade mode.Dmytro Dadyka2015-03-253-52/+9
| | | | | | | | Reviewers: cedric, jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2240
* [Evas: Evas_3D] Refactor shader system: refactored parallax shade mode.Dmytro Dadyka2015-03-253-194/+36
| | | | | | | | Reviewers: cedric, jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2241
* Edje: Edje_Edit - code generation for TABLE part (description.table section)Vitalii Vorobiov2015-03-251-0/+44
|
* Edje: Edje_Edit - fix typo in code generation of BOX partVitalii Vorobiov2015-03-251-1/+1
| | | | @fix
* ecore_idler: + null check.ChunEon Park2015-03-251-0/+1
| | | | | | | like timer, animator we do check the idler validation and prevert crash there just in user misusage case. @fix