Daniel Kolesa [Wed, 1 Jul 2015 13:49:44 +0000 (14:49 +0100)]
elua: remove obsolete xgettext wrapper
Jean-Philippe Andre [Wed, 1 Jul 2015 05:19:25 +0000 (14:19 +0900)]
Evas image: Remove useless piece of code
Not only is it useless, it is very likely to make the function call
fail (data_get is quite likely to fail with GL).
Jean-Philippe Andre [Tue, 30 Jun 2015 10:26:20 +0000 (19:26 +0900)]
Edje: Embed verbatim scripts for Efl.Gfx.Filters
This is now like the other embedded scripts, where a verbatim
string is parsed. The syntax is now:
filters {
filter {
name: "filter0";
file: "filter.lua";
}
filter {
name: "filter1";
script {
blend {}
}
}
filter.file: "file.lua"; // name is "file.lua"
}
Thanks @raster for the quick review.
Jean-Philippe Andre [Tue, 30 Jun 2015 06:37:55 +0000 (15:37 +0900)]
Evas: Make Evas.Image.save() work with all images
This includes proxies, 3d scenes and normal images.
There is still a problem as the GL engine returns NULL on
data_get.
This kinda goes against the EO API declaration as
eo_obj is used as a mutable argument, but internal data was
already modified before this patch.
TODO: Draw maps, filters, etc... in a dedicated surface to save
them as they truly are (ie. filtered images).
Chris Michael [Tue, 30 Jun 2015 13:25:23 +0000 (09:25 -0400)]
evas-fb: Fix compiler warnings about suggested parentheses
Summary: Gcc suggested parens around the truth value here, however
as some developers don't like overly used parens, just modify the code
slightly to not use an if on the assignment line.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Amitesh Singh [Tue, 30 Jun 2015 10:08:09 +0000 (15:38 +0530)]
ecore: Fix typo in since tag.
Jihoon Kim [Tue, 30 Jun 2015 07:43:37 +0000 (16:43 +0900)]
ecore_imf: check parameter of ecore_imf_module_register ()
Jihoon Kim [Tue, 30 Jun 2015 07:39:56 +0000 (16:39 +0900)]
ecore_imf: fix wrong return type of ecore_imf_context_input_panel_return_key_type_get
@fix
Jean-Philippe Andre [Tue, 30 Jun 2015 02:45:55 +0000 (11:45 +0900)]
Evas filters: Force filter redraw if object changed
Somehow I broke this when introducing the eo mixin.
This is what broke @cedric's work on the snapshot widget!
TODO: Verify that the contents changed, and not just X,Y.
Jean-Philippe Andre [Tue, 30 Jun 2015 01:33:29 +0000 (10:33 +0900)]
Evas filters: Fix color(0xrrggbb) to be opaque by default
For compatibility with previous behaviour and with what the doc
says, make sure default alpha is 255 and not 0.
This way color(0) is black and not transparent
Jean-Philippe Andre [Mon, 29 Jun 2015 10:52:56 +0000 (19:52 +0900)]
doc: Fixup EDC documentation about filters & examples
Jean-Philippe Andre [Mon, 29 Jun 2015 10:06:26 +0000 (19:06 +0900)]
Edje: Fix test case (after syntax change)
Filters now belong to one of the filters sections:
- filters
- collections.filters
- collections.group.filters
Jean-Philippe Andre [Mon, 29 Jun 2015 08:51:42 +0000 (17:51 +0900)]
Edje: Use bsearch() to find filters as fast as possible
edje_cc ensures that the filters are in order by name
Jean-Philippe Andre [Mon, 29 Jun 2015 08:00:57 +0000 (17:00 +0900)]
Edje: Replace index() by strchr()
Thanks vtorri for pointing out the build break on windows and
that index() is deprecated.
Jean-Philippe Andre [Mon, 29 Jun 2015 07:47:00 +0000 (16:47 +0900)]
Edje: Add proper filters section in the EDJ file
Don't [ab]use the file data section for filter scripts, instead
create a proper section for them. The rest of the behaviour stays
the same.
Jean-Philippe Andre [Fri, 26 Jun 2015 02:48:57 +0000 (11:48 +0900)]
doc: EDC reference: Add specific doc for group.data
Group.data does not support "file", only "item". This doc
explains that.
Should Group.Data support file instead?
Jean-Philippe Andre [Fri, 26 Jun 2015 01:40:27 +0000 (10:40 +0900)]
Edje: Use array instead of hash for filters data
Yeah that was totally overkill and pure laziness on my side.
Despite having the EO API for the filters still in beta,
I want to the EDC API and EDJ binary formats to stay compatible,
so let's get it right before the release :)
Mike Blumenkrantz [Mon, 29 Jun 2015 17:12:10 +0000 (13:12 -0400)]
Revert "evas: add keysym member to key event structs"
This reverts commit
b7c89d23252d34c1d9efecc27dc835aa8df3c50d.
this was audited and found to be impractical due to portability concerns
Mike Blumenkrantz [Mon, 29 Jun 2015 17:11:47 +0000 (13:11 -0400)]
Revert "ecore-input: add keysym to Ecore_Event_Key struct"
This reverts commit
c3f3c4eba80f0a7f388de608f2b1566213e73603.
this was audited and found to be impractical due to portability concerns
Mike Blumenkrantz [Mon, 29 Jun 2015 17:09:56 +0000 (13:09 -0400)]
ecore-x: add ecore_x_keysym_get()
this is a less invasive solution for retrieving a keysym. X keysyms are
not portable, and so this function should not be used for any code which
is meant to run on other platforms.
@feature
Ji-Youn Park [Mon, 29 Jun 2015 15:58:24 +0000 (00:58 +0900)]
ecore_x_xi2: remove build warning
Stefan Schmidt [Fri, 20 Mar 2015 13:13:59 +0000 (14:13 +0100)]
ecore_wl: Hookup wl listener for uuid event from session recovery protocol
This should listen for events containing the assigned UUID from the compositor.
Stefan Schmidt [Fri, 20 Mar 2015 12:28:08 +0000 (13:28 +0100)]
ecore_wl: Add generated session-recovery-protocol files to build
For now these are generated externally by wayland-scanner and added here.
Also keep the original xml protocol file here for now.
This covers the client side for applications while the server side code
sits with E as compositor.
Ji-Youn Park [Mon, 29 Jun 2015 15:02:47 +0000 (00:02 +0900)]
ecore_x_xi2: add small code to check device id
cancel event only can be dealed in touch device.
Ji-Youn Park [Mon, 29 Jun 2015 14:09:33 +0000 (23:09 +0900)]
ecore_x_xi2: fix only ecore input handler deals touch cancel event
X gives only one cancel event in one touch device even though several touch point.
move code related with touch cancel to input hander function
Daniel Hirt [Mon, 29 Jun 2015 10:21:55 +0000 (13:21 +0300)]
Evas textblock: Fix it->x value during layout
This updates it->x when visiting each item in the line layout code,
as it was always 0, even when it was used during item rollback.
Fortunately, in the above case a 0 value was actually expected, so
this does not actually affect current behavior.
This fix is mainly for consistency and future development.
Daniel Hirt [Sun, 28 Jun 2015 12:02:28 +0000 (15:02 +0300)]
Evas textblock: Fix infinite loop case
This fixes a case with wrapping, where the text has a mixture of 'none'
and 'word' wrapping modes, and the layout function decides to
roll-back a few items.
The test case is added to the evas_suite.
This might not be a common case, or even a case we had defined a proper
behavior to, but since it causes an infinite loop, it needs to be fixed.
@fix
Daniel Kolesa [Mon, 29 Jun 2015 13:28:01 +0000 (14:28 +0100)]
efreetd_ipc: fix shadow warning
Daniel Kolesa [Mon, 29 Jun 2015 13:27:02 +0000 (14:27 +0100)]
evas_engine_software_x11: fix incorrect enumeration type warning
Daniel Kolesa [Mon, 29 Jun 2015 13:19:57 +0000 (14:19 +0100)]
edje: fix extra parens warning with clang
Daniel Kolesa [Mon, 29 Jun 2015 13:18:40 +0000 (14:18 +0100)]
ecore_imf_evas: warnings--
Daniel Kolesa [Mon, 29 Jun 2015 13:13:58 +0000 (14:13 +0100)]
edje: fix shadow warning
Vivek Ellur [Mon, 29 Jun 2015 12:24:21 +0000 (14:24 +0200)]
eina: add quaternion test in eina suite and fix the test case errors
Summary:
Fixed eina_test_quaternion_conjugate and eina_test_quaternion_matrix which
were failing and also added the quaternion test in eina suite
Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2775
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Mon, 29 Jun 2015 12:21:13 +0000 (14:21 +0200)]
ecore_con: eoify ecore_con_eet functions.
Summary:
Depends on D2602
Made all functions eo.
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2695
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
jiin.moon [Mon, 29 Jun 2015 11:55:57 +0000 (13:55 +0200)]
evas: opaque value does not change even if image data be changed
Summary:
opaque value keeps previous image's value
when image data be changed by file_set/mmap_set api
@fix
Test Plan:
1) Make a evas rectangle object has color
2) Make a evas image object with jpg file.
3) Replace image data with png file by evas_object_image_file_set.
Reviewers: Hermet, cedric, jypark
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2774
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Tom Hacohen [Mon, 29 Jun 2015 11:52:40 +0000 (12:52 +0100)]
Eo: Remove redundant semicolon.
Thanks to Vincent Torri for spotting this one.
Avi Levin [Sun, 14 Jun 2015 08:46:59 +0000 (11:46 +0300)]
Emotion: Adding Eo test for emotion
This test is exactly like the existing legacy one but works
with Eo invocations.
Avi Levin [Thu, 11 Jun 2015 12:20:13 +0000 (15:20 +0300)]
emotion: revert changes to emotion test as discussed on ML and chat
We want a separate test for Eo callbacks, as we still want to verify
legacy callbacks.
Tom Hacohen [Fri, 26 Jun 2015 14:24:56 +0000 (15:24 +0100)]
Evas textblock: Fix the newly added test to use ck_assert_int_eq.
Tom Hacohen [Fri, 26 Jun 2015 14:11:17 +0000 (15:11 +0100)]
Evas textblock: Fix issue with line_coord_set and y before the first line.
Let's assume we have a textblock with one paragraph at y = 3 and h = 50
At the moment, passing 60 (after the paragraph) to line_coord_set picks
the last line, however passing 0, just fails. This fixes that.
Thanks to Vladyslav Shevchenko for reporting it in D2574.
@fix
Vladyslav Shevchenko [Fri, 26 Jun 2015 13:50:22 +0000 (14:50 +0100)]
Evas textblock: Add a failing test for line_coord_set.
See more information in the next commit.
This commit message was edited by TAsn, and only the test case preserved
from the original commit in D2574.
Daniel Kolesa [Fri, 26 Jun 2015 13:35:39 +0000 (14:35 +0100)]
evas_canvas3d_material: convert docs
Daniel Kolesa [Fri, 26 Jun 2015 13:00:36 +0000 (14:00 +0100)]
evas_line: convert docs
Ji-Youn Park [Fri, 26 Jun 2015 10:18:09 +0000 (19:18 +0900)]
ecore_evas: fix iconified state set bug
if app set iconified state false, ecore evas call activate instead of show.
Carsten Haitzler (Rasterman) [Fri, 26 Jun 2015 08:37:24 +0000 (17:37 +0900)]
ecore-evas-extn : map shm for sharing render pixels conservatively
@fix
before we mapped these segmentsa read+write for the user or read+write
for EVERYONE if system. this now creates the file as r+w for the user
and +ro for everyone only IF system, and clients voluntarily map
read-only to avoid possible memory corrupting of pixels from the
client side. not more secure for clients, but nicer. defintiely more
secure for system services.
Ji-Youn Park [Fri, 26 Jun 2015 04:42:56 +0000 (13:42 +0900)]
ecore_x_xi2: fix crash if device info is NULL.
_ecore_x_input_device_lookup can return NULL.
@fix
Jean-Philippe Andre [Fri, 26 Jun 2015 00:09:03 +0000 (09:09 +0900)]
Edje tests: Fix compilation warning
Thanks Stefan for the report.
I don't really like putting all those -DBLA_BETA or #define BLA_BETA
everywhere, though. Maybe the @beta flag is not required since the
EO APIs are still beta?
See:
04466193558ed23f4af3da4a5381aa75ea6e13e5
Chris Michael [Thu, 25 Jun 2015 19:14:56 +0000 (15:14 -0400)]
Revert "ecore-wayland: Update xdg shell protocol file"
This reverts commit
5793a62fc839af489263c918b78adb7765f8566d.
Reverted due to wrong version being pushed
Chris Michael [Thu, 25 Jun 2015 19:11:31 +0000 (15:11 -0400)]
ecore-wayland: Update xdg shell protocol file
Summary: This was a file that should have been updated with
the bump to xdg_shell version 5 however it was not pushed with that
update.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 25 Jun 2015 18:59:28 +0000 (14:59 -0400)]
edje_cc: Fix dereference before null check
Summary: Fix Coverity CID1302700 which reports a dereference before
null check. Basically, it is safe to call free() with a possible NULL
value so we can remove the 'if' check here.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 25 Jun 2015 18:55:44 +0000 (14:55 -0400)]
edje_cc: Fix dereference null return value
Summary: Fix Coverity CID1308232 which reports that we may be passing
NULL to strcmp here as the function _parse_param_get May return NULL.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 25 Jun 2015 18:54:38 +0000 (14:54 -0400)]
edje_cc: Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
perepelits.m [Thu, 25 Jun 2015 14:22:00 +0000 (16:22 +0200)]
evas: fix shooter example
Summary: Disable atlas flag for all objects, fix motion algorithm, add primitives.
Reviewers: Hermet, raster, cedric
Subscribers: cedric, artem.popov
Differential Revision: https://phab.enlightenment.org/D2693
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jee-Yong Um [Thu, 25 Jun 2015 14:02:41 +0000 (16:02 +0200)]
edje: add "mask_flags" instruction for "part" block
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>
Jee-Yong Um [Thu, 25 Jun 2015 13:56:48 +0000 (15:56 +0200)]
edje: implement methods for mouse_events with edje_part for Edje Embryo script.
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>
Vivek Ellur [Thu, 25 Jun 2015 13:35:33 +0000 (15:35 +0200)]
eina: add test cases for eina matrix map and transform functions
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>
Vitor Sousa [Thu, 25 Jun 2015 14:58:43 +0000 (15:58 +0100)]
eolian_cxx: Fix C++ generated inheritance wrappers
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
Daniel Kolesa [Thu, 25 Jun 2015 11:17:58 +0000 (12:17 +0100)]
eolian/generator: constify all prototypes for @const functions
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
Subhransu Mohanty [Thu, 25 Jun 2015 09:51:41 +0000 (18:51 +0900)]
ector/software: Update the PIXEL_BIT to 8 for better quality.
Daniel Kolesa [Thu, 25 Jun 2015 09:43:54 +0000 (10:43 +0100)]
eolian: try replacing '.' with locale specific decimal point
This fixes parsing of floating point number with locales that use
a comma as decimal separator, as strtof/strtod follows locale
specific conventions.
@fix
Jean-Philippe Andre [Thu, 25 Jun 2015 08:50:12 +0000 (17:50 +0900)]
Doc: Try to fix build on Ubuntu
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
Jean-Philippe Andre [Thu, 25 Jun 2015 06:12:32 +0000 (15:12 +0900)]
Evas filters: Add some crash safety
Jean-Philippe Andre [Thu, 25 Jun 2015 06:02:44 +0000 (15:02 +0900)]
Evas filters: Use smooth scaling by default for proxies
Is it too slow? Then I guess a new API option will be required.
Jean-Philippe Andre [Thu, 25 Jun 2015 05:43:05 +0000 (14:43 +0900)]
Evas filters: Fix usage of proxy buffers (compatibility)
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.
Jean-Philippe Andre [Thu, 25 Jun 2015 02:12:05 +0000 (11:12 +0900)]
Evas filters: Mark API as @beta
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.
Jean-Philippe Andre [Tue, 23 Jun 2015 08:25:44 +0000 (17:25 +0900)]
Evas filters: Add @protected tag where applicable
The Evas.Filter interface is basically just an internal thing.
Jean-Philippe Andre [Tue, 23 Jun 2015 07:40:51 +0000 (16:40 +0900)]
Evas filters: Add explicit exec flag in data_set
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).
Jean-Philippe Andre [Tue, 23 Jun 2015 06:21:45 +0000 (15:21 +0900)]
Evas filters: Remove overrides of methods from Evas.Filter
Welp that was stupid to add them in the first place...
Jean-Philippe Andre [Tue, 23 Jun 2015 03:38:53 +0000 (12:38 +0900)]
Evas tests: Fix failing tests
Syntax error in C and in Lua code.
Jean-Philippe Andre [Tue, 23 Jun 2015 03:38:32 +0000 (12:38 +0900)]
Edje tests: Add test case for embedded text filters
Jean-Philippe Andre [Tue, 23 Jun 2015 03:21:20 +0000 (12:21 +0900)]
Edje & evas filters: Properly pass data from EDC to Lua
Also fix a few issues
Jean-Philippe Andre [Tue, 23 Jun 2015 02:44:54 +0000 (11:44 +0900)]
Evas filters: Fix buffer_push and add support for color classes
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.
Jean-Philippe Andre [Mon, 22 Jun 2015 12:52:16 +0000 (21:52 +0900)]
Edje & evas filters: Add extra data from EDC to Lua program
This also supports color classes (really rough implementation for
now, but the API should remain stable).
@feature
Jean-Philippe Andre [Fri, 19 Jun 2015 08:38:28 +0000 (17:38 +0900)]
Evas filters: Add name to the filters
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.
Jean-Philippe Andre [Thu, 18 Jun 2015 12:45:21 +0000 (21:45 +0900)]
Evas filters: Complete support for image filtering
Reusing the new EO mixin, complete the support for image
filtering. This now adds support for edje state inside
the image filter.
Jean-Philippe Andre [Thu, 18 Jun 2015 10:15:16 +0000 (19:15 +0900)]
Evas tests: Fix failing test due to API change
The new Lua color function is more lax than before, and
invalid color names will default to black without failing.
Jean-Philippe Andre [Wed, 17 Jun 2015 07:26:30 +0000 (16:26 +0900)]
Evas filters: EO-ify the filters API
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.
Jean-Philippe Andre [Wed, 17 Jun 2015 04:49:18 +0000 (13:49 +0900)]
Edje: Factorise filter code for TEXT and IMAGE
TODO: eo-ify the filter API properly and stabilize it.
Jean-Philippe Andre [Wed, 17 Jun 2015 02:21:47 +0000 (11:21 +0900)]
Edje: Move filter desc to common desc
This will be shared between IMAGE and TEXT.
In the future it can also be shared with PROXY and TEXTBLOCK.
Jean-Philippe Andre [Tue, 16 Jun 2015 12:05:06 +0000 (21:05 +0900)]
Edje/evas filters: Use EDJ data sections to store filters code
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
Jean-Philippe Andre [Tue, 16 Jun 2015 05:50:43 +0000 (14:50 +0900)]
Edje/evas filters: Add filter.source support
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
Jean-Philippe Andre [Wed, 10 Jun 2015 05:11:04 +0000 (14:11 +0900)]
Edje/evas filters: Quick renaming of evas filters related stuff
Jean-Philippe Andre [Mon, 15 Jun 2015 08:43:39 +0000 (17:43 +0900)]
Evas filters: Fix blur from rgba to alpha
Jean-Philippe Andre [Tue, 9 Jun 2015 12:29:13 +0000 (21:29 +0900)]
Evas filters: Reduce debugging with default compile opts
When using debug compile flags, full-on filter debug will happen.
Jean-Philippe Andre [Thu, 4 Jun 2015 10:42:38 +0000 (19:42 +0900)]
Evas filters: Implement Lua classes for colors & buffer
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.
Jean-Philippe Andre [Wed, 3 Jun 2015 10:59:11 +0000 (19:59 +0900)]
Evas filters: Create specific log domain
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 :)
Jean-Philippe Andre [Thu, 28 May 2015 08:59:59 +0000 (17:59 +0900)]
Evas filters: Pass edje state name & value to the filters
From Edje, pass the current state info (name and value) as well
as the next state and the transition position when applicable.
Jean-Philippe Andre [Thu, 28 May 2015 06:59:10 +0000 (15:59 +0900)]
Evas filters: Pass object scale to Lua state
Jean-Philippe Andre [Thu, 28 May 2015 05:37:10 +0000 (14:37 +0900)]
Evas filters: Implement table & function support for curve
Now the points can be specified by passing a table or a proper Lua
function. The previous functionality (parsing a string) is still
valid.
Jean-Philippe Andre [Thu, 28 May 2015 01:12:18 +0000 (10:12 +0900)]
Evas filters: Implement __index for Lua buffer objects
Jean-Philippe Andre [Tue, 26 May 2015 10:37:21 +0000 (19:37 +0900)]
Evas filters: Pass text colors to the parser
This does not implement the full feature yet (Lua variable
is not set). This commit also brings various fixes.
Jean-Philippe Andre [Tue, 26 May 2015 07:12:00 +0000 (16:12 +0900)]
Evas filters: Fix runtime, allow state change on the fly
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.
Jean-Philippe Andre [Tue, 26 May 2015 05:58:56 +0000 (14:58 +0900)]
Evas filters: Add some @internal flags to the doxygen docs
Jean-Philippe Andre [Mon, 18 May 2015 12:04:29 +0000 (21:04 +0900)]
Evas filters: Refactor parser code
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
Jean-Philippe Andre [Mon, 18 May 2015 09:24:16 +0000 (18:24 +0900)]
Evas filters: Implement very basic print function
Jean-Philippe Andre [Mon, 18 May 2015 09:13:17 +0000 (18:13 +0900)]
Evas filters: Fix potential crash
Jean-Philippe Andre [Mon, 18 May 2015 08:35:49 +0000 (17:35 +0900)]
Evas filters: Add internal function _program_run
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).
Jean-Philippe Andre [Wed, 24 Jun 2015 05:43:07 +0000 (14:43 +0900)]
Ecore_Audio: Avoid abort() in PulseAudio
In some cases (stress test), pulseaudio fails to play a sound
and pa_stream_drain() returns NULL, making pa_operation_unref()
crash right after.
Jean-Philippe Andre [Tue, 16 Jun 2015 10:20:57 +0000 (19:20 +0900)]
Evas render: Fix rendering of objects with no_render
Well yeah, those objects should still be rendered in their
proxy or mask surface :)
Jee-Yong Um [Thu, 25 Jun 2015 04:35:44 +0000 (13:35 +0900)]
edje_embryo: correct type mismatching in get_geometry() method
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