summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adds Eo-based Eio api and moves the current Eio to legacy.devs/felipealmeida/eio-eoLauro Moura2016-05-2325-1353/+3993
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The legacy Eio_File factory functions are replaced by an Eo object called Eo_Job that return promises wrapping the async file operations. With this commit, the legacy Eio callbacks are replaced by the following Eo/Promises counterparts : * Done_Cb -> Promise then success callback * Error_Cb -> Promise then error callback * Main_Cb -> Promise progress callback * Filter_Cb -> Job object event (more below) Events are used to deliver and get the filter data. To differentiate between the named and direct versions, they come in "filter,direct" and "filter,name" versions. Monitors were wrapped inside a new class Eo_Sentry. The user creates a sentry object and adds monitoring targets to it, listening to events on it. The sentry event info is composed of two strings. The source string is the path being monitored, i.e. the one passed to eio_sentry_add, and the trigger string is the path that actually triggered the event, e.g. a new file created in a monitored directory. Eina mmap and Eet-related functions are not (yet?) supported.
* eio: Call correct function to cleanup Eio_File.Lauro Moura2016-05-232-3/+50
| | | | | | The Eio functions operating on Eina_Files were just freeing the Eio_File pointer on completion instead of calling eio_file_free to unregister the thread.
* eolian: Allow promises to have a second typeFelipe Magno de Almeida2016-05-233-0/+16
| | | | Promises can have a second type, which is the progress type
* c++: Reorganized C++ binding generationFelipe Magno de Almeida2016-05-2384-583/+429
| | | | | | Moved all generation to a single Makefile_Cxx.am file instead of throughout the whole project. And fixed C++ generation on Elementary after elm merge.
* Slideshow: Fix doc to reflect the real behaviour of the widget.Dave Andreoli2016-05-231-5/+4
|
* Eo override: Fix compilation issues.Tom Hacohen2016-05-231-1/+1
| | | | | | | I thought I compiled, but it seems that @q66 managed to distract me and I thought wrong and didn't actually. Oh well, fixed now. Thanks to @zmike for letting me know.
* Eo override: Document class.Tom Hacohen2016-05-231-0/+4
|
* eo: FIXME for wref_del so I don't forgetDaniel Kolesa2016-05-231-0/+1
|
* eolian: remove pointers from complex and class typesDaniel Kolesa2016-05-23127-686/+665
| | | | | | | | | | | Complex types (i.e. list, array, hash, accessor etc.) now do not require pointers with them anymore (the pointer is implied) and the same goes for class handles. Eolian now explicitly disallows creating pointers to these as well. This is the first part of the work to remove pointers from Eolian completely, with the goal of simplifying the DSL (higher level) and therefore making it easier for bindings (as well as easier API usage). @feature
* elm_win: add elm_win_indcator_type and elm_win_indicator_enabled into ↵Ji-Youn Park2016-05-233-114/+179
| | | | | | | window's eo. elm_window will be changed to control layout related with conformant. remove opacity and overlap mode and add type set.
* eolian: handle invalid keywords correctlyDaniel Kolesa2016-05-231-1/+1
| | | | | | Before this Eolian segfaulted when an invalid keyword was used. Fixes T3672.
* Eo: Fix wrong allocation.Tom Hacohen2016-05-231-1/+1
| | | | | | We weren't allocating the correct amount. Oops. CID 1355594.
* evas: gl_common add define for missing EGL_WAYLAND_Y_INVERTED_WLNicolas Aguirre2016-05-221-1/+3
|
* FDO icons: better icons for zoom-*Dave Andreoli2016-05-2214-49/+309
|
* FDO icons: added all the Devices iconsDave Andreoli2016-05-2190-27/+59707
|
* Efreet test: fix warning on WindowsVincent Torri2016-05-211-507/+508
| | | | | | | | | | | | Summary: comp.h is redefining some macros on Windows. So just rename all the macros with the TANGO prefix Test Plan: compilatioN Reviewers: cedric, jpeg, zmike Differential Revision: https://phab.enlightenment.org/D3968
* eina vector - fix indenting and 80 col overflow in inline headerCarsten Haitzler (Rasterman)2016-05-211-1/+2
|
* eina vector inline header - replace last equal with approx macroCarsten Haitzler (Rasterman)2016-05-211-1/+3
| | | | | | | rthis replaces double a == double b with a macro that keeps a close enough range using epsilon (which is the error range for a dobule). this fixes T3245
* elementary: Add correct icon fallback for fdo iconsAndy Williams2016-05-211-2/+11
| | | | | | Fixes missing app icons (and others) when using elementary icon theme. This is required to comply with the fdo icon spec. Now that we have a fuller icon theme in elementary it's not intrusive
* elementary: Icon config don't disable elementsAndy Williams2016-05-211-3/+14
| | | | Use some smarter logic to make elementary vs fdo selection mutually exclusive
* gl_drm: switch to GLERRV macro for error reportingDerek Foreman2016-05-201-2/+1
| | | | | eglGetError() is actually somewhat heavy, so hide it behind the GLERRV macro which compiles out the test by default.
* gl_drm: Fix silly run time warning for wayland dmabufDerek Foreman2016-05-201-5/+2
| | | | | | | | | | DMABuf buffers destroy their glimage in the unbind callback, so it's usually already gone for the free callback. Now we test if we actually need to destroy anything. Also, switch to GLERRV macro for error reporting - it saves us the heavy eglGetError() unless we've built it in intentionally.
* elm_win: define EFL_TEAMWORK_VERSION in all casesMike Blumenkrantz2016-05-201-0/+4
|
* elm_win: implement v2 of teamwork api using window-based display protocolMike Blumenkrantz2016-05-2011-2/+356
| | | | | | | this adds support for wayland and makes teamwork integration trivial for any application @feature
* eolian: add warnings for class/complex types with pointers (with env var)Daniel Kolesa2016-05-201-1/+18
|
* elput: Check return of calibration_get_default_matrix functionChris Michael2016-05-201-5/+8
| | | | | | | We should be checking the return value when we try to get the default matrix calibration for an input device so we can fail properly Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* Edje cc out: Make list removal slightly more efficient.Tom Hacohen2016-05-201-1/+1
|
* Edje cc: Rename shadowing variables.Tom Hacohen2016-05-201-2/+2
|
* elput: Don't calculate pointer constraints twiceChris Michael2016-05-201-16/+2
| | | | | | | | As constraints for pointer movement are already handled in the function which sends the pointer motion event, there is no need to handle them inside the function which gets pointer position. Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* Eo: Fix compilation for people using GCC.Tom Hacohen2016-05-202-5/+7
| | | | | | | Apparently you can't cast when initializing static consts, even if the cast is to the same type. This commit splits the macro used so we have an additional one that casts and thus works with eo_override().
* evas 3d - fix mesh savers/loaders to not leave memory unsetCarsten Haitzler (Rasterman)2016-05-202-5/+5
| | | | | | | | | | | i've been gettign persistent evas test suite suite failures ffor a while. annoying as i can't get 100% pass anymore. it's due to segv's in evas test suite thanks to chunks of uninitialized memory in the mesh loaders/saver code. this fixes that @fix
* fix warnings about double/float comparisons in eina vectorCarsten Haitzler (Rasterman)2016-05-202-5/+22
| | | | | | | | | | | this should fix T3245 this is basicall where we go double a == double b and due to precision issues this may not always be right, but this means that the equivalent now checks for "really close values" rather than perfectly exact. @fix
* Eo super: Validate class in eo_super instead of call_reslove.Tom Hacohen2016-05-201-10/+5
| | | | | This is more correct and fixes a segfault that occurs when eo_id is disabled.
* Eo tests: Fix compilation warnings with eoid disabled.Tom Hacohen2016-05-201-0/+2
|
* Eo: Implement eo_override() to enable overriding functions of objects.Tom Hacohen2016-05-206-41/+211
| | | | | | | | | | This change lets you override the functions of objects so that those functions will be called instead of the functions of the class. This lets you change objects on the fly and makes using the delegate pattern easier (no need to create a class every time anymore). You can see the newly added tests (in this commit) for usage examples. @feature
* Eo: Improve error message when overriding functions.Tom Hacohen2016-05-202-2/+2
|
* Eo: Reorganise the vtable in classes and add pointer from objects.Tom Hacohen2016-05-203-33/+41
| | | | | This is the first step towards supporting eo_override(). More details about eo_override() to follow.
* Eo: Remove useless test.Tom Hacohen2016-05-201-15/+0
| | | | | We no longer have a call stack, so there's no need to have this test.
* ecore: promise for timeout and job are clearly never optional, so return them.Cedric Bail2016-05-204-14/+36
|
* eolian: enable incorrect property doc warnings with env varDaniel Kolesa2016-05-191-0/+10
| | | | | | | This adds env var EOLIAN_PROPERTY_DOC_WARN which enables extra warnings for properties that don't have a general doc but have getter/setter doc. This will eventually become an error and will be enabled by default. For now it's too verbose.
* ecore-wl2: Minor formatting fixChris Michael2016-05-191-3/+4
| | | | | | NB: No functional changes, just making this readable for me Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* evas-vg: Don't fetch parent if we are not going to use itChris Michael2016-05-191-3/+0
| | | | | | | | | Essentially, this removes a compiler warning wrt 'parent' being set but not used. @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* evas: propagate the change to child when object is a vector graphic containerSubhransu Mohanty2016-05-197-11/+37
| | | | | | | | | | | | Summary: let me know whats your thought Reviewers: Hermet, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3893 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* elementary: remove elm_mapbuf_eo.h target from Makefile.amJee-Yong Um2016-05-191-1/+0
| | | | | | | | | | Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3953 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* LazEDC: introduce simple external param syntaxJee-Yong Um2016-05-193-8/+211
| | | | | | | | | | | | | | | | | | | Summary: EXTERNAL parts can have parameters, and its form is like the next. params.string: "param_name" "param_value"; This patch will shorten above line by the next syntax. params.param_name: "param_value"; The type of param will be determined by the type of inserted value. Reviewers: cedric, raster, Hermet Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3958 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* evas: changed the interpolate() implementaionSubhransu Mohanty2016-05-191-21/+25
| | | | | | | | | | | | Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3960 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* evas: fix the ref issue of newly created object in shape_dup() functionSubhransu Mohanty2016-05-191-6/+9
| | | | | | | | | | | | | | | | | | | | Summary: There are couple of issue. By adding the gradient to both parent container as well as to the shape. when we dupe the container it copies twice. Usually we create one gradient and set it to multiple shape , in that case when we call dupe() function it is going to make a separate copy for each of the shape. The patch fixes 1st issue. for 2nd one we need to maybe change the way we implemented dupe function Reviewers: Hermet, cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3961 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
* elm_win: add elm_win_indcator_overlap mode into window's eo.Ji-Youn Park2016-05-192-24/+64
| | | | | elm_window will be changed to control layout related with conformant. one of features is overlap between indicator and layout.
* examples: emotion: adapt to name change from obj to objectStefan Schmidt2016-05-193-20/+20
| | | | | | In commit 75a53ece1007d927b8f0b6c5d3f269726afb9108 obj was changed to object. As one can claerly see though make examples have not been run to verify this change. Catch up in examples with this rename.
* sclae : add the feature for rounding offJaehwan Kim2016-05-191-1/+1
| | | | | Add the feature for rounding off to the nearest in ELM_SCALE_SIZE macro. It makes to be more close to calculated value.