aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "evas gl: move to floating point coordinate system."Hermet Park2019-04-183-42/+75
| | | | This reverts commit 2ac93b5005e0693c5d84df71b4aa1c5a4b6baa80.
* vg_json: Set multiple mask from jsonJunsuChoi2019-04-181-90/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This patch supports multiple masks for multiple attributes on a layer. Make main_mask_layer and make each mask EFL_CANVAS_VG_CONTAINER_CLASS and connect them. main_mask_layer is made for masks The masks are composited into main_mask_layer in order. main_mask_layer exists for the intersect option in last order This can be optimized later, and is created and used temporarily in this patch. Test Plan: If there are three masks, they can be created as below. mask_set(clayer, main_mask); mask_set(main_mask, mask_1); mask_set(mask_1, mask_2); mask_set(mask_2, mask_3); Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, kimcinoo, #reviewers, smohanty, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8507
* evas gl: move to floating point coordinate system.Hermet Park2019-04-153-75/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: GL engine has used integer coordinates system since it's born though OpenGL basically uses floating point vertex coordinates system. There were many dissatisfaction, complaints about this since object's transition is jiggled, not perfectly smooth. It's obvious because Positioning must be stepping with integer units without any subpixel rendering. Our gl engine currently supports msaa options and evas map allows to have double precivion coordinates system, our engine must do handle this over as well, to work together. If you don't like change, We could switch behaviors optionally (turn on, only when msaa is enabled) But I think it's pointless using integer coordinates system in GL thesedays. It just make code complex to maintain. There will be an additional patch coming for SW backend map behavior soon. Left: before patch Right: after patch {F3694624} Reviewers: #committers, raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8552
* Merge branch 'master' into devs/hermet/lottieHermet Park2019-04-1526-65/+535
|\
| * mono-docs: Allow derived classes to have external examplesXavi Artigas2019-04-123-11/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: You can now have external example files for derived classes (Efl.Ui.Button.SetText) as well as for base classes (Efl.IText.SetText). If both files are present, both examples are embedded in the docs. The more examples the better! Examples for classes in-between the hierarchy (Efl.Ui.Widget.SetText) are not picked up. Might be worth examining in the future. Test Plan: Create example files for both `Efl.Ui.Button.AutorepeatEnabled.cs` and `Efl.Ui.IAutorepeat.AutorepeatEnabled.cs`. You should see both examples appearing in the docs. Reviewers: lauromoura, vitor.sousa Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8597
| * elua: add all missing eolian api bindingsDaniel Kolesa2019-04-121-0/+140
| |
| * evas - fix crash/junk pixel content but with tiled rotate at 270 + neonCarsten Haitzler (Rasterman)2019-04-121-9/+9
| | | | | | | | @fix
| * evas common - tiled rotate - fix signedness of neon intrinsics - warningCarsten Haitzler (Rasterman)2019-04-121-2/+2
| |
| * evas common - convert - rotate tiled - fix const ptr warningsCarsten Haitzler (Rasterman)2019-04-121-8/+8
| |
| * evas map - mark npoints param as unused because it is remove warningCarsten Haitzler (Rasterman)2019-04-121-1/+1
| |
| * efl_ui_widget: avoid calling null parentYeongjong Lee2019-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This will fix unnecessary warnings on P280. Thanks to segfaultxavi for reporting. ref T7796 Reviewers: zmike, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7796 Differential Revision: https://phab.enlightenment.org/D8599
| * efl_ui_widget: Fix disabled set calling without meaning.Woochanlee2019-04-121-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The efl_ui_widget_disabled_set calling even the state is not change when widget create and destroy. It broken backward compatibility. T7799 @fix Reviewers: bu5hm4n, Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8600
| * elementary: rename ELEMENTARY_BUILD to EFL_BUILD like all other libsVincent Torri2019-04-1110-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | Test Plan: compilation Reviewers: cedric, raster, zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8598
| * efl_ui_list: fix to delete sub objects in efl_object_invalidateJaehyun Cho2019-04-112-3/+5
| | | | | | | | | | | | | | widget's sub objects and callbacks should be deleted in efl_object_invalidate instead of efl_object_destructor. @fix
| * mono-docs: Properly indent code examplesXavi Artigas2019-04-111-1/+2
| | | | | | | | | | | | First code line was indented differently by DocFX because of tabs, whitespace or who knows what. This adds a newline after the <code> tag so all code lines have the same indentation.
| * efl_canvas_vg_container : Support mask tree for multiple mask.JunsuChoi2019-04-111-6/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: If another mask is set in the mask source, the rendering of the mask is performed in order. The mask will render one buffer in order. And depending on some types, the initial values of the buffers may be different. (alpha zero or 255). If the implementation for masking is efl_canvas_vg_node_mask_set(layer, mask1, MASKADD); efl_canvas_vg_node_mask_set(mask1, mask2, MASKSUBSTRACT); efl_canvas_vg_node_mask_set(mask3, mask4, MASKINTERSECT); Supports rendering for consecutive masks. Reviewers: Hermet, cedric Reviewed By: Hermet Subscribers: #reviewers, #committers, smohanty, kimcinoo Tags: #efl Differential Revision: https://phab.enlightenment.org/D8517
| * ector_software_rasterizer: Implement mask blending function.JunsuChoi2019-04-111-10/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Add Mask blend function(Add, Substract, Intersect, Difference) this blending function only use mask blending case. Test Plan: N/A Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, kimcinoo, #reviewers, smohanty, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8509
| * mono-docs: Allow embedding external examplesXavi Artigas2019-04-115-8/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: New option added to eolian_gen: -e <dir> This specifies a directory to search for examples. If a file is found with the same name as an EFL C# class (e.g. Efl.Ui.Button.cs) or as an EFL C# method or property (e.g. Efl.IText.Text.cs, Efl.IText.SetText.cs) its full contents will be embedded in the documentation for that class or method within <example> and <code> tags. This is, in turn, is parsed by DocFX and shown in Example boxes in the generated pages. If an example file is not found, no examples are embedded for that object. If -e is not used, no examples are embedded for any object. New option added to meson: mono-examples-dir to point to the examples directory. This directory is then passed to eolian_mono through -e. Do not use it (or define it to nothing) to disable example embedding. No performance drop has been observed because of these extra tests. Right now examples can only be given for base classes, not for derived ones (i.e. Efl.IText.Text but not Efl.Ui.Button.Text). This will be addressed in a later commit. Feature Depends on D8587 Test Plan: Create an examples folder and put some files in it: ``` mkdir /tmp/examples echo 'var button = new Efl.Ui.Button();' > /tmp/examples/Efl.Ui.Button.cs echo 'button.AutoRepeatEnabled = true;' > /tmp/examples/Efl.Ui.IAutorepeat.AutorepeatEnabled.cs echo 'button.SetAutoRepeatEnabled(true);' > /tmp/examples/Efl.Ui.IAutorepeat.SetAutorepeatEnabled.cs ``` Configure meson to embed examples and build: ``` meson configure -Dmono-examples-dir=/tmp/examples ninja ``` Examine the generated efl_ui_button.eo.cs file to see embedded <example> tags, or run DocFX and bask in the glory of documentation pages with examples: ``` cd doc/docfx ./gendoc.sh ``` Reviewers: lauromoura, felipealmeida, vitor.sousa, zmike, bu5hm4n Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8592
| * efl-mono: Allow doc XML tags to be nestedXavi Artigas2019-04-111-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This allows inserting nested tags like: <example><code>bla bla bla</code></example> The generate_tag_example() is currently unused but serves as an example. Depends on D8585 Test Plan: Not much, unless you want to manually call generate_tag_example() (Which I have done, and it works, I promise). Reviewers: lauromoura, vitor.sousa Reviewed By: vitor.sousa Subscribers: vitor.sousa, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8587
| * efl-mono: Allow generating doc refs for methods without classXavi Artigas2019-04-111-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Methods without a class (global) make the previous code crash because func.klass contains something (it cannot be NULL because it is a reference) but you cannot make much calls on this something. Test Plan: Currently there are no such references, but I need this working for upcoming patches. Reviewers: lauromoura, vitor.sousa Reviewed By: vitor.sousa Subscribers: vitor.sousa, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8585
| * svg_parse: Support gradient when <defs/> is not declared.JunsuChoi2019-04-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Even if linear or radius gradient is declared, it will not be output if there is no <defs/> It can be supported because it stores the declared gradient in loader.gradient. Test Plan: N/A Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8591
| * vg_common_svg : Add missing eet data descriptorJunsuChoi2019-04-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Add descriptor to get the value of user_space, which is a member of Svg_Style_Gradient. Test Plan: N/A Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8594
* | Merge branch 'master' into devs/hermet/lottieHermet Park2019-04-11184-1852/+4596
|\ \ | |/
| * ecore_imf: do not loop forever on shutdown when there is no more a displayBoris Faure2019-04-101-1/+1
| | | | | | | | @fix
| * meson: set ENABLE_XIM if the xim module is compiledBoris Faure2019-04-101-0/+3
| |
| * ecore_imf: better to check whether the module is compiledBoris Faure2019-04-101-1/+1
| |
| * meson: skip trailing dot if any + more posix compliantBoris Faure2019-04-101-8/+12
| |
| * csharp: Fix GetUserMethods and NativeClassLauro Moura2019-04-101-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: - Should only search for methods locally. - dotnet requires passing false to GetAttributes - Also added a check when the class overrides no Eo ops. Reviewers: felipealmeida, vitor.sousa, woohyun Reviewed By: felipealmeida, vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8588
| * ecore drm2 - handle possible NULL fb when doing a flipCarsten Haitzler (Rasterman)2019-04-101-0/+10
| |
| * efl-mono: Fix eolian_mono helpXavi Artigas2019-04-101-2/+2
| | | | | | | | It was a blatant copy&paste of eolian_cxx :D
| * docs: Remove silly [[[ typosXavi Artigas2019-04-101-4/+4
| |
| * meson - oops - used sh not dashCarsten Haitzler (Rasterman)2019-04-101-1/+1
| |
| * meson - evas loader confg install script - make it /bin/sh compliantCarsten Haitzler (Rasterman)2019-04-101-4/+3
| |
| * edje example edc - remove misleading signals that aren't usedCarsten Haitzler (Rasterman)2019-04-101-4/+0
| |
| * svg_parse: Change initial value of gradientUnits of linearGradientJunsuChoi2019-04-101-73/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The initial value of gradientUnits is objectBoundingBox. If userSpaceOnUse is declared, change user_space to true. We do not have to recalculate each value by this change. The default unit for linear x1, y1, x2, y2 is percentages. This can be a value from 0 to 1. If svg want to use a value between 0 and 100, it must have a '%' symbol That is accroding to gradientUnits in here https://www.w3.org/TR/2015/WD-SVG2-20150915/pservers.html#LinearGradientElementGradientUnitsAttribute Test Plan: cd ./src/examples/edje edje_cc -beta svg.edc && gcc -o svg-test svg-test.c `pkg-config --libs --cflags evas ecore ecore-evas edje` Reviewers: Hermet, smohanty Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8589
| * svg_parse: The percentage gradient value divide by view's sizeJunsuChoi2019-04-101-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The default unit of gradient value is percentage. This can be a value from 0 to 1. If svg use the '%' symbol, we must divide by 100. And it must be calculated the same as any other case. Test Plan: N/A Reviewers: Hermet, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8590
| * efl-mono: Add test and fix problem with private dynamic types passed as ↵Felipe Magno de Almeida2019-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parameters Summary: The code that searches the type dynamically fails instead of falling back to Efl.Object. Now it fallbacks to Efl.Object. Fixes T7783 Reviewers: bu5hm4n, vitor.sousa, segfaultxavi, woohyun, Jaehyun_Cho, YOhoho, lauromoura Reviewed By: vitor.sousa, lauromoura Subscribers: lauromoura, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7783 Differential Revision: https://phab.enlightenment.org/D8574
| * csharp: Add some null checks.Lauro Moura2019-04-092-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: - Check for nullness when getting stuff from C# to C - We should return null when wrapping a NULL pointer instead of throwing an exception Reviewers: felipealmeida, vitor.sousa, woohyun Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8580
| * efl-mono: Make override of methods only for methods that are defined by the userFelipe Magno de Almeida2019-04-093-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Instead of overriding every method and making the callback to C, we just override the methods that are found by reflection on the type. Reviewers: bu5hm4n, vitor.sousa, segfaultxavi, woohyun, Jaehyun_Cho, YOhoho, lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8579
| * efl-mono: Fix --enable-mono-beta for testsFelipe Magno de Almeida2019-04-091-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | Reviewers: bu5hm4n, vitor.sousa, segfaultxavi, woohyun, Jaehyun_Cho, YOhoho, lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8573
| * unit tests: fix warnings when fork() is not available, fix evil's unit tests ↵Vincent Torri2019-04-092-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compilation Summary: * some variables were defined, only when fork() was available * since Eina.h is included unconditionally, add Eina path in Makefile_Evil.am Test Plan: compilation Reviewers: zmike, cedric, raster, devilhorns Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl_build Differential Revision: https://phab.enlightenment.org/D8586
| * eldbus unit test: fix warningsVincent Torri2019-04-093-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: include libgen.h so that basename() is declared Test Plan: compilation Reviewers: cedric, raster, zmike, devilhorns Subscribers: #reviewers, #committers Tags: #efl_build Differential Revision: https://phab.enlightenment.org/D8583
| * configure: fix build error of efl_custom_exports_mono.cJaehyun Cho2019-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Reviewers: woohyun, lauromoura, akanad Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8577
| * elm_panel/efl_ui_panel: disable scrolling when obj is disabledJaeun Choi2019-04-082-0/+60
| | | | | | | | | | panels were still scrollable while disabled. this patch fixes it.
| * evas map: disable anti_aliasing.Hermet Park2019-04-082-6/+3
| | | | | | | | | | | | We need a proper interface to toggle high-quality mapping, until that, we disable the anti_aliasing feature. Since adjecent polygons(such as textpath) shouldn't get this aa feature.
| * evas map: remove redundant code.Hermet Park2019-04-085-429/+13
| | | | | | | | | | | | Remove old anti-alias code since high quality map is replaced with new one. New anti-aliasing is logically same but having a regression bug, it should be stablized.
| * canvas map: introduce a new texture mapping for better quality.Hermet Park2019-04-083-9/+1120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This new implementation of evas map texture mapping is designed for high quality rendering same level to GL. If you use a high-end device, performance is not too bad, you can turn this on. You might have practical image quality even in software rendering. Since this implementation still have a few optimization points (+simd) and stablizings, it may be useful in somewhat limited envrionments right now. However the functionality definitely works fine, so please turn this on by demand (anti_alias + smooth) for a while. {F3667773} {F3667776} {F3667778} Reviewers: #committers, devilhorns, raster Reviewed By: #committers, raster Subscribers: raster, devilhorns, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8106
| * tests: add evas render test for callbacksMike Blumenkrantz2019-04-083-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: verify that all callbacks can be incrementally added and triggered during a sync render (which is the rendering used in unit testing) Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl_tests Differential Revision: https://phab.enlightenment.org/D8505
| * efl_ui_textpath : enable anti-alising for better quality.Hermet Park2019-04-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Current textpath on sw rendering is too jiggled, quaility is very poor to use. This option uses better quality texture mapping logic in order to improve the image quality. Depends on D8106 Reviewers: #committers Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8465
| * canvas vg: code refactoring.Hermet Park2019-04-081-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Remove unnecessary argument of an internal function. Reviewers: #committers, jsuya, cedric Reviewed By: #committers, cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8530