aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* efl_wl: fix typo in file name to make sure xml file lands in distdevs/kimcinoo/workStefan Schmidt2017-08-041-1/+1
| | | | | | In commit 6bb56b3f5651fab85b1a0a1a1a8040f4e488c799 a new xml wayland protocol file was added. Due to a typo in its name in EXTRA_DIST it never made it into the tarball breaking the wayland build.
* edje: implement edje.player interface functionsAmitesh Singh2017-08-045-104/+174
| | | | fixes T5560
* layout: fix "elm,state,text,hidden" signal never be emittedJinYong Park2017-08-041-1/+2
| | | | | | | | | | | | | Summary: In _elm_layout_text_set function, text_signal_emit is called. But in that case, check text whether it is null or not null before call signal_emit. So "text" is not null always, and text_signal_emit's parameter "visible" is also always EINA_TRUE. Reviewers: Jaehyun_Cho, cedric, jpeg Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5049
* layout: Fix compilation breakJean-Philippe Andre2017-08-041-3/+3
| | | | Oooops! This broke external apps!
* layout: Implement data_get from edjeJean-Philippe Andre2017-08-043-18/+45
| | | | | | This also implements size_min and size_max get. Ref T5315
* edje: Move size_min/max and data to an interfaceJean-Philippe Andre2017-08-0411-112/+129
| | | | | | | | | The new interface is: Efl.Canvas.Layout_Group I'm not fan of the name. Ref T5315
* elm: Remove custom layout signal APIsJean-Philippe Andre2017-08-0416-208/+306
| | | | | | | | | | | | | | | | | | | | | | This merges them with the now standard interface: Efl.Canvas.Layout_Signal Some wrapping work was required for legacy API which takes no user_data in del() but instead returns it. The new EO function, while harder to use, is more correct (you can't delete the invalid callback by accident, and this follows EO events design). Another crazy wrapping was done in entry/text in order to add the callbacks to 2 objects instead of just one, and still return the user data. As for Naviframe and Popup, those two widgets override signal_emit to forward the call to another object than the resize object, but not callback_add/del. So they are definitely broken. Ref T5315
* edje: Move signal APIs to an interfaceJean-Philippe Andre2017-08-0415-278/+359
| | | | | | This interface will be used by elm_layout as well. Ref T5315
* layout: Use only legacy "elm_layout_sizing_eval"Jean-Philippe Andre2017-08-048-21/+21
| | | | | | This removes all uses of elm_obj_layout_sizing_eval. Ref T5315
* layout: Improve doc for theme_setJean-Philippe Andre2017-08-041-6/+15
| | | | Ref T5315
* layout: Move Part_Alias struct to legacyJean-Philippe Andre2017-08-042-17/+29
| | | | | | Part aliases need to be handled differently in EO. Ref T5315
* layout: Move edje_get to legacy onlyJean-Philippe Andre2017-08-043-21/+23
| | | | | | | | | | | | | | | | | Here's the reasoning: 1. We will expose as many edje APIs as possible (and meaningful) through the elm layout class. 2. Access to internal objects is usually risky, as it allows apps to bypass EFL in some ways, leading to potentially undefined behaviours. 3. If the need arises we can still add a similar API back to EO, later. Back to #1, it seems that the need for edje_get() was mostly to call manual sizing functions, or the missing message_send(). I will make sure these are accessible from the layout itself. Ref T5315
* layout: Remove sub_object_add_enableJean-Philippe Andre2017-08-046-41/+11
| | | | | | | Same as the previous patch. This was an ugly hack. Use another one instead. Ref T5315
* layout: Remove method theme_enableJean-Philippe Andre2017-08-046-44/+17
| | | | | | | This was an internal thing, ugly, replaced by another ugly solution, but maybe less ugly. Ref T5315
* scroller: Implement default content partJean-Philippe Andre2017-08-042-1/+22
| | | | | | | | | | | | | | This: efl_content_set(efl_part(scroller, "default"), obj) worked fine, but, this: efl_content_set(scroller, obj) didn't work as expected. Thanks @JackDanielz for the report. Note: There is a problem still... "default" should not work with efl_part. This is quite bad, actually. It should probably be "content" instead.
* layout: Implement freeze and thaw from interfaceJean-Philippe Andre2017-08-043-29/+45
| | | | | This implements part of the interface Efl.Canvas.Layout_Calc
* layout: Implement cursor part APIs with efl_partJean-Philippe Andre2017-08-047-97/+235
| | | | | | | | | This makes layout parts implement Efl.Ui.Cursor. This also adds the missing bool returns from that interface. This removes 7 APIs from Elm.Layout. Ref T5315
* cursor: EO-ify elm_cursor APIJean-Philippe Andre2017-08-045-110/+99
| | | | | | | This creates an interface and makes Elm.Widget implement it. Next step: make elm_layout parts implement it. Ref T5315
* layout: Move edje_object_can_access to legacyJean-Philippe Andre2017-08-043-27/+36
| | | | | | | | | | This is an API enabling accessibility on text(block) parts in a layout. But it is said to have many issues. I can already see that it only changes a flag but doesn't trigger any code to create the appropriate objects, so definitely not fully working. According to @kimcinoo this may remain in legacy land for now.
* edje: Split off calc APIs to an interface (EO)Jean-Philippe Andre2017-08-0411-141/+356
| | | | | | | | | | | | Those APIs can then be used by Elm.Layout, hopefully simplifying the API. I wonder if the APIs should be prefixed "calc_" (as is) or "layout_calc_". The extra "layout_" prefix would make it common with other layout APIs (eg. signals, data, size min/max, ...). Ref T5315
* elm: Make content and text aliases internal onlyJean-Philippe Andre2017-08-0433-184/+115
| | | | | | This removes the APIs from the EO API. Ref T5315
* win: implement efl_provider_find for EFL_UI_WIN_CLASSTaehyub Kim2017-08-042-0/+10
| | | | | | | | | | | | Summary: Implement efl_provider_find function for efl_ui_win class. This will support to search window class by efl_provider_find function. Reviewers: jpeg, cedric, Jaehyun_Cho, thiepha, woohyun, Blackmole Reviewed By: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D5045
* frame: Implement text set/get (EO only)Jean-Philippe Andre2017-08-042-1/+14
| | | | This is required for the default style which has a title.
* evas: More debug_name informationJean-Philippe Andre2017-08-042-1/+15
|
* evas: Add debug_name to image objectsJean-Philippe Andre2017-08-043-2/+29
|
* eina_slstr: Fix leak in an error caseJean-Philippe Andre2017-08-041-1/+5
| | | | This function takes ownership of the incoming strbuf
* eo debug name: Use strbuf instead of slstrJean-Philippe Andre2017-08-0415-67/+76
| | | | | This should be a little bit more efficient, even if more "risky" in terms of leaks. The final API still looks exactly the same.
* evas/edje/elm: Override debug_name in core classesJean-Philippe Andre2017-08-0411-1/+68
| | | | | | | | | | | | This is really only a demonstration of what kind of information we can print with efl_debug_name_get(). Hopefully this can help debugging with printf/ERR logs and even help with live debugging inside gdb. This shouldn't be used for other purposes than debugging, as the exact string format is not defined. @feature
* eo: Add debug_name read-only property to ease debuggingJean-Philippe Andre2017-08-045-1/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | This will include the following information, by default: - class name - whether the class is an override - eo id (pointer) - refcount - name if one was set (Efl.Object property) This also supports classes, which is why it's an EAPI in eo.c and not only a method of Efl.Object This can be overriden by subclasses using the empty method Efl.Object.debug_name_override.get If the function is overriden, then the returned string is used as is and so it is left to the subclass to include all the necessary information (as above). This can easily be achieved by calling efl_debug_name_get(efl_super()) and then concatenating the strings. Think of this function as something like Java's toString(), but only for debugging (i.e. a string class should not just return its string value). @feature
* Eo: Allow multiple functions overridesJean-Philippe Andre2017-08-043-49/+98
| | | | | | | | | | | | This allows two things: - adding new override functions on an object that already has overrides - resetting a specific function (or list of functions) to the parent class implementation by passing NULL as implementation Fixes T5580 @feature
* elm_test: Remove calls to visible_set for EO objectsJean-Philippe Andre2017-08-0420-132/+33
|
* evas: Make all EO canvas objects visible by defaultJean-Philippe Andre2017-08-045-6/+68
| | | | | | | | | | | | | | All legacy objects remain invisible by default. Any call to visible_set() will prevent the automatic show() to happen. show() will be done just before render time, which may be a bit too late in order to propagate the necessary changes. This may break some things where some objects are created internally using efl_add() instead of the legacy API, and the intent was not to show the object. @feature
* efl src - mark fallthrough switch statements in 3rd party codeCarsten Haitzler (Rasterman)2017-08-043-4/+41
| | | | | | in code we importend that doesnt use eina we have warnings of fallthroughs. all o them are commented to be fallthrough so add the attribute there too to have fewer warnings.
* configure: switch to dev mode againStefan Schmidt2017-08-041-1/+1
| | | | Merge window for 1.21 is now open.
* release: Update NEWS and bump version for 1.20.0 releasev1.20.0Stefan Schmidt2017-08-032-90/+39
|
* ecore-wl2: Rename local function and make it staticChris Michael2017-08-031-3/+4
| | | | | | | | | | As this function is not called from anywhere outside of ecore_wl2_window.c file, this can be declared static. NB: This patch also changes the function name to match the library (ecore_wl2). Signed-off-by: Chris Michael <cp.michael@samsung.com>
* efl: terrible kludge so avoid termination crash on osxJean Guyomarc'h2017-08-032-0/+28
| | | | | | | | | | | | | | | Currently, elementary programs crash on termination on macOS (seems Sierra-specific). This is very nasty, looks like deep memory corruption... Without valgrind (or like) support on Sierra, it is difficult to pinpoint the origin of the problem. Due to the imminient release, and after discussion with @stefan, this kludge will allow the release to happen. This commit MUST be reverted just after the release, so we don't blindfold ourselves! Ref T5245
* eina debug - remove other swap and comment on the weirdness of thisCarsten Haitzler (Rasterman)2017-08-031-13/+4
|
* eina: failing to load a module is actually an ERR that user should see.Cedric BAIL2017-08-021-1/+1
|
* Eina_File: Avoid using munmap() on file->global_map.Guilherme Iscaro2017-08-022-8/+11
| | | | | | | | | When a virtualized file is created the file->global_map will not point to a mmapped region, thus it's not safe to use munmap() during the file cleanup. Only use munmap() if the file is backed by a FD. Fixes: T5234. Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* Efl_Copier: Add efl_wref_del() for pd->job.Guilherme Iscaro2017-08-021-0/+2
| | | | | | | | | | | | | In order to perform IO operations the copier will create futures using efl_future_use(&pd->job, ...), which will set pd->job to NULL once the future is destroyed. However this may lead to problems, because in some cases the copier may be deleted at the _efl_io_copier_job() function, which is the future's callback. Since the copier may be deleted before the future, the area pointed by pd->job will have disappeared by the time the future tries to set pd->job to NULL. To avoid this problem the copier must explicily call efl_wref_del(). Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* eina debug - new debug infra - comment out and make a note on bad endianCarsten Haitzler (Rasterman)2017-08-021-1/+12
| | | | | | bad endian... code... see the comment in the src about why i think this is bad as obviously the buffer pointed to is a 64bit type always that is a pointer to something...
* evas: Add safety code for smart objectjiin.moon2017-08-021-34/+9
| | | | | | | | | | | | | | Summary: If user use the evas_object_smart_callback_add with no smart object, it should be returned @fix Test Plan: self Reviewers: jpeg, cedric, jypark Differential Revision: https://phab.enlightenment.org/D5056
* evas filters: Disable extra debugJean-Philippe Andre2017-08-022-12/+15
| | | | | | | Forgot to remove that! It's better to disable for the release, DBG() and XDBG() are disabled anyway. CID 1308611
* evas filters: Shut up coverityJean-Philippe Andre2017-08-021-0/+3
| | | | | | Add some safety checks. CID 1374271
* evas: Rename calculate property to calculatingJean-Philippe Andre2017-08-022-8/+8
| | | | | | Recently introduced by @cedric I think the name is not very clear, and is clashing with the actual method of the same name.
* epp - fix buffer size for possibly bigger int snpritnfsCarsten Haitzler (Rasterman)2017-08-021-1/+1
| | | | | | | 8 bytes wasn't enough for the full int range. use 12 and we're good. removes warning for sure @fix
* efl_wl - fix warning for possible uninitted list accessCarsten Haitzler (Rasterman)2017-08-021-1/+1
| | | | | could potentially be an issue in one theoretical case. less warnings is better anyway
* evas model loader - restructure code to silence warningCarsten Haitzler (Rasterman)2017-08-021-2/+4
| | | | | keep our build quiet warnings-wise and change the code to be so... so we see real warnings. not a bug... just a warning.
* elm_code: small optimisation for large filesAndy Williams2017-08-021-1/+5
|