summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Efl.Ui.Slider: implement Efl.Ui.Range.range_step_set/get()devs/ami/slider_rangeAmitesh Singh2018-03-065-41/+62
| | | | and move elm_slider_step_set/get() as legacy APIs.
* evas cache - fix return val to fix warningCarsten Haitzler (Rasterman)2018-03-051-1/+1
| | | | fix return val if cache is null (something bad happening)
* evas cache image - protect against null cache ptrsCarsten Haitzler (Rasterman)2018-03-051-0/+36
| | | | | | | | ok. i can't find the root cause because all i have is a backtrace from ApBBB and he says he can't reproduce it and i know im->cache is null... if i could reproduce ... i'd be hunting the root cause. but the best i can do is check for null im->cvache ptrs and be safe. crashes are bad. especially for end users.
* Elm_code test: fix compilationVincent Torri2018-03-042-2/+7
| | | | | | Reviewers: cedric, raster Differential Revision: https://phab.enlightenment.org/D5831
* efreet_xml: make sure we unmap the right pointer.Al Poole2018-03-031-3/+4
| | | | | | | | Seems Linux would munmap a lump of coal without failing. Make sure the pointers match. Again bogus unmap not detected by valgrind and not failing. @fix T5949
* efl loop - remove commented out code left over from work on theads etcCarsten Haitzler (Rasterman)2018-03-031-23/+0
|
* efl.task - add an api to clear environmentCarsten Haitzler (Rasterman)2018-03-034-0/+26
|
* efl exe - fix indentCarsten Haitzler (Rasterman)2018-03-031-1/+1
|
* efl loop promises - cleare out promise data to nullCarsten Haitzler (Rasterman)2018-03-031-1/+10
| | | | | | | | | | | | | | | so there is something broken in the complect efl promise/loop promise that the clear of promises on loop destroy is clearing promises/futures that have already triggered (loop timer ones). i've spent enough time figuring out that it is happening. _efl_loop_timeout_del() simple doenst ensure the future in pending_futures for that promise is removed from the list. getting the future from the promise handle is an exercise in pain... so i'm not continuing with that path and will just ignore it. but for now filling the promise data with null at least means if the menory is re-used after free it wont see garbage freed ptrs and get nulls so its easier to track.
* ecore thread queue tests - reduce size and craziness and fix 1Carsten Haitzler (Rasterman)2018-03-031-21/+23
| | | | | | | | | 1 test was wrong. it didn't wait for the thread to exit before checking msg count recieved. fixed. race condition here. also reduce the sheer message counts sent - it makes the suite take a lot longer than is sane and als consume massive amounts of log space in /tmp as a result.
* ecore file test - change url to a file we control.Carsten Haitzler (Rasterman)2018-03-031-1/+1
| | | | | | | | | | rthe ecore file download test was downloading from sf.net ... and i noticed sf.net refusing thus the ecore tests suite failing... i changes it to grab a file (rss.php which is disabled for us but there) so at least enlightenment.org has it. better would be to spawn a webserver and test against that locally. but thats a whole other level of work.
* tests - eo - found eo_signals test is wrong... amazing it passed beforeCarsten Haitzler (Rasterman)2018-03-031-1/+7
| | | | | | | | | | | | | | | | | | | | | | | so it was listening for cb adds and dels... and or del of any cb except the cb add/del catcher was done.. it would fail... but ... the test actually added other cbs than this ... like: efl_event_callback_array_priority_add(obj, _eo_signals_callbacks(), -100, (void *) 1); a while array of cb's: { EV_A_CHANGED, _eo_signals_a_changed_cb }, { EV_A_CHANGED, _eo_signals_a_changed_cb2 }, { EV_A_CHANGED, _eo_signals_a_changed_never }, { EFL_EVENT_DEL, _eo_signals_efl_del_cb }); none of which were _eo_signals_cb_added_deled. i am amazed it passed before... now switch its checks to check for itself and then check for anything BUT itself...
* put efl app test back with mods to match app as superclassCarsten Haitzler (Rasterman)2018-03-034-65/+158
|
* ecore - a different take on efl.app class as a super class to efl.loopCarsten Haitzler (Rasterman)2018-03-0335-186/+1882
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so the MAIN loop is actually an efl.app object. which inherits from efl.loop. the idea is that other loops in threads will not be efl.app objects. thread on the creator side return an efl.thread object. inside the thread, like the mainloop, there is now an efl.appthread object that is for all non-main-loop threads. every thread (main loop or child) when it spawns a thread is the parent. there are i/o pipes from parnet to child and back. so parents are generally expected to, if they want to talk to child thread, so use the efl.io interfaces on efl.thread, and the main loop's elf.app class allows you to talk to stdio back to the parent process like the efl.appthread does the same using the efl.io interfaces to talk to its parent app or appthread. it's symmetrical no tests here - sure. i have been holding off on tests until things settle. that's why i haven't done them yet. those will come back in a subsequent commit for really quick examples on using this see: https://phab.enlightenment.org/F2983118 https://phab.enlightenment.org/F2983142 they are just my test code for this. Please see this design document: https://phab.enlightenment.org/w/efl-loops-threads/
* Revert "cxx: Fix manual code after efl_app change."Carsten Haitzler (Rasterman)2018-03-0365-549/+373
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 135154303bea691c6f7f9472a5dec32d9103c38d. Revert "efl: move signal events from efl.loop to efl.app" This reverts commit 3dbca39f98288580c62a43c179ac11621433ec88. Revert "efl: add test suite for efl_app" This reverts commit 3e94be5d73256a7f5c02d3a9474173226be7beff. Revert "efl: create Efl.App class, the parent of Efl.Loop" This reverts commit 28fe00b94e55575c15684959b89a614d5a579309. Go back to before efl.app because I think this should be done with superclassing here not a parent object. reasons? 1. multiple loops per single thread make no sense. so if multilpe loop objects they wont be contained in a single app object and then deleted like this. 2. the app object is not really sharable in this design so it cant be accessed from other threads 3. it makes it harder to get the main loop or app object (well 2 func calls one calling the other and more typing. it is longer to type and more work where it is not necessary, and again it can't work from other threads unless we go duplicating efl.app per thread and then what is the point of splittyign out the signal events from efl.loop then?) etc.
* eolian cxx,csharp: Update after eolian changesLauro Moura2018-03-026-12/+12
| | | | Closes D5829.
* elua: add missing APIs to eolian bindingsDaniel Kolesa2018-03-021-0/+24
|
* elua: objectify unit and redo class retrievalDaniel Kolesa2018-03-023-28/+38
|
* eolian: remove old APIs for path retrievalDaniel Kolesa2018-03-022-36/+0
|
* elua: update path retrieval APIsDaniel Kolesa2018-03-021-12/+8
|
* eolian: remove old directory_scan/file_parse APIsDaniel Kolesa2018-03-022-46/+1
|
* elua: remove old dir scan/parse APIsDaniel Kolesa2018-03-024-18/+13
|
* elua: add new API prototypes in eolian bindingsDaniel Kolesa2018-03-021-0/+44
|
* eolian*: replace various directory_scan/file_parseDaniel Kolesa2018-03-026-18/+18
|
* eolian: replace directory_scan and file_parse in testsDaniel Kolesa2018-03-021-44/+44
|
* Pyolian: new APIs for typedecl lookupsDave Andreoli2018-03-015-92/+140
|
* Pyolian: new variable lookup APIsDave Andreoli2018-03-013-51/+84
| | | | with adjusted tests
* Pyolian: new APIs for class retrievalDave Andreoli2018-03-015-42/+58
| | | | Also updated tests, generator and gendoc accordly
* efl file interface - fix reyturn if no file set to return a null fileCarsten Haitzler (Rasterman)2018-03-011-0/+1
|
* eolian: new APIs for typedecl lookupsDaniel Kolesa2018-03-013-192/+366
|
* eolian: new variable lookup APIsDaniel Kolesa2018-03-013-125/+244
|
* eolian: new APIs for class retrievalDaniel Kolesa2018-03-013-46/+102
|
* Revert "theme: rename "default" theme to "dark""Carsten Haitzler (Rasterman)2018-03-011825-1597/+1577
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d764e0b2790b322778e6db80932c168ae0d43b96. The whole idea of renaming the default theme is an "api break" even if config is changed. and symlinks don't work on windows as a solution. (well on ntfs only as only as administrator, so they don't exist). modifying config for switch from default to dark also will break the case where someone put ~/.elementary/themes/default.edj there and it just is different to the system one and how their theme changes on them as it switches to dark. basically we can't rename a theme like this mid-flight in efl. default is default and has to stay that name. it can change the look, but not the name. i think the apparent reasoning behind this is not a good one. the work on flat is temporary. i don't think we will ever maintain multiple "default themes" as its just far too much work. we can maintain color SCHEMES which are just a list of colorclasses and colors for them - that's separate to a theme and would override. right now these things don't exist. we are not going to create a dark.edj and a light.edj just to store differing default colorclass values. we should be doing the above with colorclass "color palette/scheme/whatever" files that override those named colorclasses globally on init. so reverting because this is an api break and we shouldn't break api unless there is really absolutely no other choice. here the choice is to just temporarily work in a branch and modify default and then merge the branch when done.
* evas: Check for NEON via eina_cpu_features if possibleDerek Foreman2018-02-281-0/+6
| | | | | | | On linux we can do this test without firing a SIGILL and trapping it, if getauxval() is present. ref T6711
* eet: add doc note for EET_DATA_DESCRIPTOR_ADD_VAR_ARRAY_STRINGMike Blumenkrantz2018-02-281-0/+2
|
* elm config: hide theme and profile config in gui when running in enlightenmentMike Blumenkrantz2018-02-281-4/+6
| | | | put some small effort into preventing the user from destroying their config
* theme: rename "default" theme to "dark"Mike Blumenkrantz2018-02-281825-1577/+1597
| | | | | | this inhibits maintenance and development of multiple stock themes a symlink is created to 'default.edj' to preserve compatibility
* elm: fix config upgrades for user profilesMike Blumenkrantz2018-02-281-0/+6
| | | | | loading the system profile only works if the current profile has the same name as a system profile
* theme: add fallback matching when referenced theme is not foundMike Blumenkrantz2018-02-281-8/+17
| | | | | if done properly, this should never occur, but at least find some layout to use if one is available
* theme: introduce theme overlay/extension matchingMike Blumenkrantz2018-02-283-7/+36
| | | | | | | | | | | | | | | after this commit, efl base themes should now specify: data.item: "efl_theme_base" "theme_name"; and overlays/extensions which match a given theme should use: data.item: "efl_theme_match" "theme_name"; this will cause overlays and extensions with the data.item to only be loaded when the corresponding theme is in use. note that this should not be specified for theme-independent overlays/extensions as it will completely block loading of themes
* elm_theme: deduplicate theme apply codeMike Blumenkrantz2018-02-281-28/+2
| | | | | the "default" style fallback code here was identical, so just call again with "default" instead of copy and pasting the same code
* elm_theme: massively simplify internalsMike Blumenkrantz2018-02-282-101/+124
| | | | | | | | instead of maintaining separate lists for the file and the edje file, maintain a single list of structs containing both of these also dynamically manage a string list of files to preserve compat with existing (bad) functions which return this directly
* elm: set default theme name internally when applying configMike Blumenkrantz2018-02-281-0/+1
| | | | | | | for whatever reason this is only generated in elm_theme_get(), so call that whenever doing theme string parsing @fix
* edje: add ability to reference images from other edje filesMike Blumenkrantz2018-02-2810-70/+294
| | | | | | | | | | | | | | | | | | | this uses the just-added "id" property to allow referencing images by name from that theme. example: =FILE1= id: "myfile"; images.image: "someimage.png" COMP; =FILE2= requires: "myfile"; images.image: "someimage.png" EXTERNAL "myfile"; FILE2 will now load someimage.png from FILE1 at runtime if FILE1 is currently opened in edje, and FILE1 will be kept open until FILE2 is closed @feature
* edje_cc: add "id" toplevel propertyMike Blumenkrantz2018-02-284-0/+29
| | | | this can be used by edje files to identify themselves
* edje: reformat bin/ c filesMike Blumenkrantz2018-02-2818-6103/+6446
| | | | | a lot of this was unreadable due to mixed tabs/spaces or just random formatting
* edje: EDJE_IMAGE_SOURCE_TYPE_EXTERNAL -> EDJE_IMAGE_SOURCE_TYPE_USERMike Blumenkrantz2018-02-286-9/+9
| | | | no functional changes, just a confusing define rename
* Revert "wayland_imf: Fix bug in shutdown"Derek Foreman2018-02-282-4/+8
| | | | | | | | | | This reverts commit fb01a697dd099f17a6a30c74781b6cfeb72bc512. The problem this commit was anticipating never happened. Now the next version of wayland will allow us to make protocol symbols private, so it makes more sense to have this stuff back where it was in the first place.
* Pyolian: add APIs to retrieve units from a stateDave Andreoli2018-02-283-2/+37
| | | | Also fixed a declaration error from previous commit
* Pyolian: add API to get file name of a unitDave Andreoli2018-02-282-0/+8
|