summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-25edje: add "mask_flags" instruction for "part" blockJee-Yong Um
Summary: Elementary widgets dealing with Evas Events usually mask event_flags with EVAS_EVENT_FLAG_ON_HOLD, to show that this event is already handled. However, widget like Elm_Button, it does not handle EVAS_CALLBACK_MOUSE_DOWN directly, but it handles Edje_Signal instead, so there's no chance to mask event_flags. Developers can block event propagation by putting rectangle the very last part of EDC, but this instruction can help the case making elementary widget with only Edje_Signal handling. This is not required essentially, so please check the necessity of this function. Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric, Hermet Differential Revision: https://phab.enlightenment.org/D2764 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25edje: implement methods for mouse_events with edje_part for Edje Embryo script.Jee-Yong Um
Summary: In edje_embryo.c, there are the list for supported methods in script. However, methods listed from line 175 to 188 don't exist actually. This patch implements 4 methods among them. set_mouse_events(part_id, ev) get_mouse_events(part_id) set_repeat_events(part_id, rep) get_repeat_events(part_id) Reviewers: Hermet, woohyun, cedric Reviewed By: cedric Subscribers: cedric, Hermet Differential Revision: https://phab.enlightenment.org/D2766 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25eina: add test cases for eina matrix map and transform functionsVivek Ellur
Summary: Added test cases for matrix map and transform functions Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com> Reviewers: stefan_schmidt, cedric Reviewed By: stefan_schmidt, cedric Subscribers: stefan_schmidt, cedric Differential Revision: https://phab.enlightenment.org/D2758 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25eolian_cxx: Fix C++ generated inheritance wrappersVitor Sousa
Summary: Fix a bug that happens when a Eolian C++ wrapper have no default constructor (because it have obligatory constructing methods) and it is being used as a return of a inheritance wrappers. Switched to a conversion of the native type as the default return, instead of a value initialized wrapper. Reviewers: q66, felipealmeida Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2769
2015-06-25eolian/generator: constify all prototypes for @const functionsDaniel Kolesa
Otherwise there would be conflicts in certain circumstances. This also requires adding const on many existing functions, and similar work is necessary in Elementary. @fix
2015-06-25ector/software: Update the PIXEL_BIT to 8 for better quality.Subhransu Mohanty
2015-06-25eolian: try replacing '.' with locale specific decimal pointDaniel Kolesa
This fixes parsing of floating point number with locales that use a comma as decimal separator, as strtof/strtod follows locale specific conventions. @fix
2015-06-25Doc: Try to fix build on UbuntuJean-Philippe Andre
The error message was: /usr/bin/ld: preview_text_filter.o: undefined reference to symbol 'efl_gfx_filter_program_set' //home/batden/Enlightenment20/efl/src/lib/efl/.libs/libefl.so.1: error adding symbols: DSO missing from command line
2015-06-25Evas filters: Add some crash safetyJean-Philippe Andre
2015-06-25Evas filters: Use smooth scaling by default for proxiesJean-Philippe Andre
Is it too slow? Then I guess a new API option will be required.
2015-06-25Evas filters: Fix usage of proxy buffers (compatibility)Jean-Philippe Andre
The previous API supported stuff like "mask{'image1'}" but image1 is now not a valid buffer name, as it's only the proxy source name. This patch fixes the buffer lookup.
2015-06-25Evas filters: Mark API as @betaJean-Philippe Andre
Until we're happy with it, keep the API as beta. The EDC support should not change, and the Lua either, but the API could potentially still change to accomodate for new needs (vector graphics, anyone?). If we're happy with the current interface, then we can remove the @beta flags.
2015-06-25Evas filters: Add @protected tag where applicableJean-Philippe Andre
The Evas.Filter interface is basically just an internal thing.
2015-06-25Evas filters: Add explicit exec flag in data_setJean-Philippe Andre
This flag should be set iif the string passed is to be executed rather than assigned. This is used to pass complex arguments as data, like tables (eg. color class).
2015-06-25Evas filters: Remove overrides of methods from Evas.FilterJean-Philippe Andre
Welp that was stupid to add them in the first place...
2015-06-25Evas tests: Fix failing testsJean-Philippe Andre
Syntax error in C and in Lua code.
2015-06-25Edje tests: Add test case for embedded text filtersJean-Philippe Andre
2015-06-25Edje & evas filters: Properly pass data from EDC to LuaJean-Philippe Andre
Also fix a few issues
2015-06-25Evas filters: Fix buffer_push and add support for color classesJean-Philippe Andre
Makes sure that buffers don't override already existing globals vars such as 'mask' (a function name). Yeah, it happened to me. CC support is a little bit hackish. Need to find a better way.
2015-06-25Edje & evas filters: Add extra data from EDC to Lua programJean-Philippe Andre
This also supports color classes (really rough implementation for now, but the API should remain stable). @feature
2015-06-25Evas filters: Add name to the filtersJean-Philippe Andre
Deep down internally there was already a name, but no API could really set it properly. Here Edje will set the name of the filter based on the part name or the data item name if relevant.
2015-06-25Evas filters: Complete support for image filteringJean-Philippe Andre
Reusing the new EO mixin, complete the support for image filtering. This now adds support for edje state inside the image filter.
2015-06-25Evas tests: Fix failing test due to API changeJean-Philippe Andre
The new Lua color function is more lax than before, and invalid color names will default to black without failing.
2015-06-25Evas filters: EO-ify the filters APIJean-Philippe Andre
This creates the new interface Efl.Gfx.Filter And the implementation is a mixin (evas_filter_mixin.c): Evas.Filter All the filter rendering code has now been moved to this new file. TODO: Merge image filtering.
2015-06-25Edje: Factorise filter code for TEXT and IMAGEJean-Philippe Andre
TODO: eo-ify the filter API properly and stabilize it.
2015-06-25Edje: Move filter desc to common descJean-Philippe Andre
This will be shared between IMAGE and TEXT. In the future it can also be shared with PROXY and TEXTBLOCK.
2015-06-25Edje/evas filters: Use EDJ data sections to store filters codeJean-Philippe Andre
Use the file data {item, file} block to embed filters code. It can become especially useful to keep the filters as separated Lua files, that will be embedded in the final edj file. @feature
2015-06-25Edje/evas filters: Add filter.source supportJean-Philippe Andre
This should preserve ABI stability with earlier versions of edje_cc while still providing more advanced control over proxy bindings for evas filters from EDC. Also fix proxy binding for filters. @feature
2015-06-25Edje/evas filters: Quick renaming of evas filters related stuffJean-Philippe Andre
2015-06-25Evas filters: Fix blur from rgba to alphaJean-Philippe Andre
2015-06-25Evas filters: Reduce debugging with default compile optsJean-Philippe Andre
When using debug compile flags, full-on filter debug will happen.
2015-06-25Evas filters: Implement Lua classes for colors & bufferJean-Philippe Andre
Reuse previous code for buffer. Keeps API stability. The new class "color" is here for a more convenient color representation. This way, colors can be represented in more natural ways like: {r,g,b[,a]}, 0xaarrggbb, "red", "#rrggbb" Class color is implemented in pure Lua, and adds a .lua file to Evas' share folder.
2015-06-25Evas filters: Create specific log domainJean-Philippe Andre
This will improve the debug output of evas and specifically allow setting "evas_filter" log level to a higher or lower value depending on what you are debugging :)
2015-06-25Evas filters: Pass edje state name & value to the filtersJean-Philippe Andre
From Edje, pass the current state info (name and value) as well as the next state and the transition position when applicable.
2015-06-25Evas filters: Pass object scale to Lua stateJean-Philippe Andre
2015-06-25Evas filters: Implement table & function support for curveJean-Philippe Andre
Now the points can be specified by passing a table or a proper Lua function. The previous functionality (parsing a string) is still valid.
2015-06-25Evas filters: Implement __index for Lua buffer objectsJean-Philippe Andre
2015-06-25Evas filters: Pass text colors to the parserJean-Philippe Andre
This does not implement the full feature yet (Lua variable is not set). This commit also brings various fixes.
2015-06-25Evas filters: Fix runtime, allow state change on the flyJean-Philippe Andre
Now we're ready to implement runtime changes to the filters' state (color classes, edje state, etc...), as the Lua function will be run whenver required.
2015-06-25Evas filters: Add some @internal flags to the doxygen docsJean-Philippe Andre
2015-06-25Evas filters: Refactor parser codeJean-Philippe Andre
This is to prepare the changeable states (animation, color, scale...) - Remove use of Eina_Value (simplifies code) - Use proper Lua type for buffers (with pretty __tostring) This adds the buffer methods: width, height, type, name, source
2015-06-25Evas filters: Implement very basic print functionJean-Philippe Andre
2015-06-25Evas filters: Fix potential crashJean-Philippe Andre
2015-06-25Evas filters: Add internal function _program_runJean-Philippe Andre
This will allow changing the state of the filter and re-run it without re-creating the Lua_State object. This is to handle size, color, animation state and scale changes (amongst other things).
2015-06-25Ecore_Audio: Avoid abort() in PulseAudioJean-Philippe Andre
In some cases (stress test), pulseaudio fails to play a sound and pa_stream_drain() returns NULL, making pa_operation_unref() crash right after.
2015-06-25Evas render: Fix rendering of objects with no_renderJean-Philippe Andre
Well yeah, those objects should still be rendered in their proxy or mask surface :)
2015-06-25edje_embryo: correct type mismatching in get_geometry() methodJee-Yong Um
Summary: get_geometry() method calls edje_object_part_geometry_get() internally, and the type of its arguments is Evas_Coord. (typedef'ed integer) However, comment says that method require Float type as its arguemnts, and get_geometry() initializes Evas_Coord variables as 0.0. This patch corrects type mismatching and comment. @fix Reviewers: Hermet Subscribers: cedric, Hermet Differential Revision: https://phab.enlightenment.org/D2754
2015-06-25ecore con - fix object data referencing for deleted objectsCarsten Haitzler (Rasterman)
if the object has been deleted already, scope data is null. handle it correctly. this fixes a segv in the new efreetd when it starts and there is an existing efreet running thus owning the socket fails. @fix
2015-06-25ecore con dns - a failed dns lookup is not an err log eventCarsten Haitzler (Rasterman)
spewing out errors for a failed dns lookup is not somehting to ERR out in logs all the time. it is at best a debug log. the caller handles the failed connect itself. @fix
2015-06-25eina module - it is not an error to ERR log to not load a .soCarsten Haitzler (Rasterman)
it is not an error. eina_module may be used on files that don't exist and the caller may handle that as a "does not exist" error. it is not good to go spewing out errors for this. it's debug at best. @fix