aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* elementary, elm_layout added model_connect signal emitdevs/felipealmeida/model_connect_lastdevs/felipealmeida/layout_connectLarry Jr2016-07-292-2/+40
|
* elementary: efl_ui_image added "key" in model_connectLarry Jr2016-07-282-27/+88
|
* elm_layout: changed to use eina_promise_all in model connectLarry Jr2016-07-281-77/+128
|
* efl_ui_image: added filename and icon in model_connect nameLarry Jr2016-07-283-14/+41
|
* Efl-Interface, Elementary: Added Efl_Ui_View and Efl_Ui_Model interfacesLarry Jr2016-07-2819-2/+673
| | | | | | | | | | | | | New interfaces: Efl_Ui_View (to add model_get/set) Efl_Ui_Model_Connect (connect part_name/property_name) Efl_Ui_Factory (use model property to create new elements) Efl_Ui_Factory_Connect (connect part_name/factory) elm_layout and efl_ui_image use new interfaces added new factory to create efl_ui_image added example layout_model_connect
* evas canvas destruction - detect zombie objs and hack at them with axesCarsten Haitzler (Rasterman)2016-07-293-0/+36
| | | | | | | | | | | | | | | | | | | | | | | ok. so here's the issue at least now. we have eo objects in the canvas and they have a refcount of 2 user_refcount is 0. the calls stack does NOT show we are calling callbacks at that time on these objects. they are not in the backtrace (the canvas is, the objects themselves are not). SOMETHING is keeping 2 eo "internal" refs on these objects and i have no idea what/how/who. it's a royal pain in the butt to find out as the only way is lots and lots of logging and you get drowned in the logging... so what I have now done is a super ugly workaround that detects these zombie objects that refuse to die and just FORCES them to die when the evas canvas frees and clears out layers. ac10a00acc6bacf01bfd208cc78b4eb2a6a925d8 doesn't really cause the issue, it just brings it out in the open for all to see far more easily. but something is deeply wrong SOMEWHERE with SOME objects and our refcounts. this fixes T4187
* docs: support for writing edge styles for individual connectionsDaniel Kolesa2016-07-282-8/+22
|
* docs: initial bits for theming support for graphsDaniel Kolesa2016-07-281-15/+50
|
* tests: Add missing function implementationsJean-Philippe Andre2016-07-281-0/+10
| | | | | | | | | In eolian test cases. Not a problem when EOAPI is defined as weak, but compilation will fail if the symbols are strong. Eg. on Solaris (it's just a guess). Fixes T3889
* entry: allow force recalc on "size,eval" "elm" signalAmitesh Singh2016-07-281-0/+17
| | | | | | | | | | | | | | | | | Summary: In some use cases, font (style) of elm.text in elm entry is changed on focus and unfocus. user must send "size,eval",elm signal to entry to force recalc, but this was not happening. This patch fixes that issue. fixes T4233 Reviewers: tasn, herdsman, raster Subscribers: cedric, seoz, jpeg Maniphest Tasks: T4233 Differential Revision: https://phab.enlightenment.org/D4196
* win: Fix evas framespace under XJean-Philippe Andre2016-07-281-0/+1
| | | | | | | Mouse inputs would not work if the window is rotated, because the framespace was invalid. Fixes T4132
* edje entry - check all minor struct callocs and on fail report + unwindCarsten Haitzler (Rasterman)2016-07-281-57/+119
| | | | | | lots of unchecked malloc/calloc returns, so check these, unwind safely and complain (highly unlikely to happen unless the system is about to fall over). this should fix T4230
* elementary: fix legacy path set/get for Fileselector specializationsVitor Sousa2016-07-274-2/+57
| | | | | | | | | | | | | | Fix legacy functions elm_fileselector_path_get and elm_fileselector_path_set. Make these functions call the correct function when called with a specialization of Elm.Fileselector (instead of the base class function). Create internal versions of path set/get functions to avoid warnings about deprecated function calls. Fix T4198 @fix
* ecore-drm2: Silence compiler warningDerek Foreman2016-07-271-5/+5
| | | | | We probably can't actually use this variable uninitialized, but let's init it anyway to keep gcc happy.
* ecore-drm2: Fix issue of VT-Switching going blank on returnsChris Michael2016-07-271-2/+23
| | | | | | | | | | | As it turns out, when we vt-switch Back to a running Enlightenment, it ends up processing all outputs and causes Evas to create a giant canvas to cover all outputs. This new canvas causes a blank screen as the pageflipping fails (due to fb being too large). As we do not yet support output on more an one screen anyway, temporarily disable any output which is not marked as primary. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-drm2: Add API for vt-switchingChris Michael2016-07-272-0/+21
| | | | | | | | | | | | | | This commit adds a function we can call from inside Enlightenment in order to fix an issue with VT-Switching. The problem was when a client application is open, the compositor does not pass along the key-combo for vt-switch but rather sends it to an application. This patch (along with upcoming Enlightenment one) fixes the issue. NB: This late API add approved by Stefan ;) @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elementary: Reduce variable usageChris Michael2016-07-271-2/+2
| | | | | | | As we don't use the framespace x, y here then there is really no need to have them. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elementary: Fix issue of wrong minimum size for some E dialogsChris Michael2016-07-271-2/+3
| | | | | | | | | | | When we are calculating minimum size hints for the window object, we should be adding framespace to maximum size, not subtracting it... Honestly this just looks like a brain-dead typo. Fixes T44225 Signed-off-by: Chris Michael <cp.michael@samsung.com>
* edje_edit: avoid such values like 2.77556e-17Vitalii Vorobiov2016-07-271-6/+2
| | | | | | | using spinner to change double values means that sometimes if set such weird values while should go to 0.0 @fix
* elementary: Avoid possibly setting opaque region twiceChris Michael2016-07-271-2/+3
| | | | | | | | Previously, if the window had no frame object, then this could would have been setting opaque region twice (for the alpha case). We can avoid this if we move the alpha check to below the frame check. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* elm: Fix extra mouse,in events in layout_content_unsetJean-Philippe Andre2016-07-274-47/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: crash in assert() in terminology. Scenario: Open Terminology, Split V by keyboard, Move mouse to split 2, Create tab by keyboard --> abort() in terminology Cause: An extra mouse,in event happens during edje_object_unswallow inside elm_layout_content_unset. Root cause: efl_part() in elm_layout had a side effect: edje_recalc on the edje object. Causing its geometry to be "properly" defined and the mouse event to trigger callbacks. Solution: Avoid calling recalc... somehow. Conclusion: Without adding any new API, edje edit provides internally the information that we want: type of an edje part (for box & table). Fixes T4221 See T4028 See T3509
* efl - ecore-x - work around e's badness in makeing an x image for all winsCarsten Haitzler (Rasterman)2016-07-272-15/+9
| | | | | | | | | | so e is being stupid and creating an ecore-x image forevery single window if in x11 mode if it needs it or not. this results in having ti allocate an actual x image and shm segments. work around this and get bit order from somewhere else than the x image itself thus avoiding the allocation until a real get or put is done. @fix
* elput: Use correct filename in unlinkDerek Foreman2016-07-261-2/+4
| | | | | We switched from mkstemp to eina_file_mkstemp() but ended up unlinking the template filename, which didn't exist on the filesystem.
* wayland_shm: Use correct filename in unlinkDerek Foreman2016-07-261-2/+4
| | | | | We switched from mkstemp to eina_file_mkstemp() but ended up unlinking the template filename, which didn't exist on the filesystem.
* ecore-wl2: Add safety check for valid compositorChris Michael2016-07-261-0/+2
| | | | | | | | | As we cannot create a new wl_region without a valid compositor, add a safety check. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* release: Update NEWS and bump version for 1.18.0-beta1 releasev1.18.0-beta1Stefan Schmidt2016-07-262-1/+60
|
* ecore-wl2: Remove error message during connect/reconnectChris Michael2016-07-261-5/+1
| | | | | | | | | Since session recovery can cause apps to constantly try and reconnect to the display server, we probably should not be filling logs here. On the other hand, any failures on first connect are now not going to display any error messages. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* edje_pick: copy block 'data'Vyacheslav Reutskiy2016-07-261-0/+20
| | | | | | | Copy global data from files. Main resoan for it - elementary. Elementary needs data "version" for load widget styles. @fix
* edje: remove now unused variablesStefan Schmidt2016-07-262-3/+0
| | | | | Commit e3ed888aa994d96007da15be89649a92c12bcbae removed the code where these variables have been used before.
* examples: edje: make sure we handle the various corner cases for the po filesStefan Schmidt2016-07-261-0/+5
| | | | Delete the earlier copied files only. Handles out of tree and in tree builds.
* edje: Remove invalid call to recalc in efl_partJean-Philippe Andre2016-07-261-4/+1
| | | | | | | | | | | | | | What a mess... Assuming efl_part() had no side effect on the object it took me hours to figure out that there was a wrong call to _edje_recalc_do in the efl_part() function itself. That was bad, and existed because efl_part() used to be efl_content_get(). efl_part() should not have any side effect. Also, fix a return value in content_remove. Fixes T4214 (invalid redraw and crash in terminology).
* elm cnp windows - remove unused varsCarsten Haitzler (Rasterman)2016-07-261-1/+0
|
* elm cnp win32 - do one side at least of unix newlines to windows newlnCarsten Haitzler (Rasterman)2016-07-261-1/+51
| | | | | | | | | | | | | | | | | | | | | | this PARTLY addresses T3556 ... this handles our own conversion of makrup to string then to a windows newlined string. this half. i wrote the conversion code for the other way but it's unused as i am unsure where exactly to plug in it. following the cnp code makes me not sure where it goes so for now - not there, but ready to go. to be clear. out API is unix text. utf8 strings at our api with UNIX newlines. that is our api. that is the text we accept and produce. if you deal with another file or interface that does not provide this then the job of conversion is AT THAT POINT. eg elm_cnp.c has to do this. as would file loads of text files (and saves) etc. - anything else like forgivingly handling anything at the api level makes it totally unclear what our api is and what should go in and come out. to be portable we have to define what it is and the most portable thing to do is at the api level within a process we define one and only one format. UNIX \n format. @fix - partial
* efl ui image - fix view size get to NOT apply scalingCarsten Haitzler (Rasterman)2016-07-261-9/+0
| | | | this fixes T3254
* edje: fixed issue with applying transformation and stroke widthSubhransu Mohanty2016-07-263-25/+47
| | | | | | | | | | Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4192
* edje examples - when you cp also just assume success if same fileCarsten Haitzler (Rasterman)2016-07-261-6/+6
| | | | | | fix makefiles for examples.... more @fix
* example/edje: updated vg example with interpolation usecaseSubhransu Mohanty2016-07-266-11/+57
| | | | | | | | | | Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4191
* edje: fixed issue with vector part state inheritance.Subhransu Mohanty2016-07-261-1/+4
| | | | | | | | | | Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4190
* example/evas: update evas vg example.Subhransu Mohanty2016-07-261-2/+2
| | | | | | | | | | Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4189
* efl/interface: fixed the shape interpolation implementation.Subhransu Mohanty2016-07-261-7/+15
| | | | | | | | | | Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4188
* edje: Minor fix (return proper bool value)Jean-Philippe Andre2016-07-261-2/+1
|
* edje: Use eo_del instead of eo_unref where neededJean-Philippe Andre2016-07-261-3/+3
| | | | | | | | This fixes the following error message: Object '0x40000002f0000030' still has a parent at the time of destruction. Though I actually wonder why ref == 0 and there was a parent. Something is still a bit fishy here.
* edje examples - stop deleting the po files from the src tree!Carsten Haitzler (Rasterman)2016-07-261-3/+0
| | | | | whatever someones was trying to do.. they just endewd up deleting po files in the src tree every time you clean! argh! fix!
* evas software x11 - be agressive with shm cache and keep it lowCarsten Haitzler (Rasterman)2016-07-262-5/+25
| | | | | | | | shm cache size is now 1.5x the total number of pixels in sw x11 outbutf's and that's it. 32 segment max limit too. this should keep things down @opt
* evas and ecore_x shm segment management - fix over allocation and permsCarsten Haitzler (Rasterman)2016-07-268-30/+121
| | | | | | | | | | | | | | | so our sysv shm segments were both over-permissive (nothing bad really, just other users could read and write to/from our pixel data destined for the screen... they could do this to x11 directly anyway so no real issue), but be more restrictive and use 0600 as xserver runs as root so can read/write anyway and we only want our own uid access. but even more - fix our shm segment flushing to not keep lots of segments floating about like a bad smell when we don't need them. we had a cache but it wasnt flushed when it should be since async rendering turned up. this fixes that and we're back to agressively flushing them out when idle. @fix
* Revert "access: add an example of elm_object_part_access_object_get"Shinwoo Kim2016-07-261-61/+0
| | | | This reverts commit f8aa67cd18e0f02368ca3aaedc159872feed459d.
* access: add an example of elm_object_part_access_object_getShinwoo Kim2016-07-261-0/+61
|
* elm_bg: fix typo in docMinkyu Kang2016-07-261-1/+1
| | | | | | | | | | | | Summary: Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: seoz, jpeg Differential Revision: https://phab.enlightenment.org/D4184
* elm_conform: set data pointer to obj from NULL.Sungtaek Hong2016-07-261-2/+2
| | | | | | | | | | | | | | | Summary: - In the callback for ELM_PLUG_EVENT_IMAGE_DELETED, it tries to get elm_conform's data from NULL. @fix Reviewers: Hermet, woohyun, cedric, jpeg Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4177
* evas: Fix inefficient updates with no_renderJean-Philippe Andre2016-07-261-1/+1
| | | | | | | | is_visible returns 0 if no_render is true, so should was_visible as well. Yeah, there will be problems if no_render changes on the fly. Don't do that. Fixes T4193