summaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* ecore x - ensure pointer is not outside barriers when settingh for screensHEADmasterCarsten Haitzler (Rasterman)2022-01-201-0/+56
| | | | | | | | it might be possible the pointer is outside the screen areas and perhaps gets caught there, so move the pointer in first before setting up new barriers @fix
* Efl.Gfx.Path: Remove unnecessary optimization code for small arcJunsuChoi2022-01-121-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This condition(optimization) is not a step suggested by arc implementation. https://www.w3.org/TR/SVG11/implnote.html#ArcCorrectionOutOfRangeRadii (Step2) This code is useful if the arc is too small to represent. However, scaling often occurs in vectors, which can create unnecessary problems. Test Plan: SVG Image ``` <svg viewBox="0 0 50 50" height="50" width="50"> <path d="M32.41,20.49a.41.41,0,1,1-.41-.42A.41.41,0,0,1,32.41,20.49Z" transform="translate(-70, -50) scale(3.3)" fill="#020202"/> </svg> ``` image file {F4792225} result {F4792221} Reviewers: Hermet, raster, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12316
* ecore input - fix - hopefully - build on freebsd with joystick supportCarsten Haitzler (Rasterman)2022-01-111-6/+4
| | | | | | no eeze there to move the include there and on linux only @fix
* eet - fix seg when doing unusual things with eet write then readCarsten Haitzler (Rasterman)2022-01-043-7/+27
| | | | | | | | | if you write and read0-back before writign out (non-sensical to do as you would write out in full and close and then open file and read separately) the dictionary will be empty. fill it in these paths. fixes needed resulting from optimizations in 1.26.0 @fix
* edje entry - complete key handling for cut (shft+del)Carsten Haitzler (Rasterman)2021-12-301-2/+9
| | | | | | fixes T8975 @fix
* edje entry - fix past to use shft+ins for paste and no ctlCarsten Haitzler (Rasterman)2021-12-301-2/+2
| | | | | | fix key handling for paste (insert key one) @fix
* Eio: fix functions nameVincent Torri2021-12-291-2/+2
| | | | | | | | | | | | | | | | | | Summary: 2 functions has wrong names, hence link error Test Plan: compilation Reviewers: raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12312 @fix
* remove spaceali-alzyod2021-12-241-1/+1
|
* Make passing data pointer to format_cb possibleMaximilian Lika2021-12-146-7/+160
| | | | | | | | | | | | | | | | | | | | | | | Summary: Hello, For my perl binding it is important that one can pass a data pointer to all callbacks, especially to "Format_Cbs" as in elm_slider_units_format_function_set(), elm_slider_indicator_format_function_set() of elm_progressbar_unit_format_function_set(). Another "problematic" function would be elm_calendar_format_function_set(). Enclosed you find a approach to solve this problem. It would be wonderful, if the Efl-libraries could make data pointers also in format cbs possible... Thanks in advance, Max Reviewers: bowonryu, eagleeye, zmike, cedric, raster Reviewed By: raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12298
* ecore - loop time - do not allow setting into the future - not intendedCarsten Haitzler (Rasterman)2021-12-042-32/+28
| | | | | | | | | | | | | setting a loop time timestamp in the future will lead to all sorts of bad things. the idea is it was meant to go back a little in time AFTER some sync/animation etc. event to pretend to be at the time when that event happend (it just took some time ot arrive at the process) and so animation and other timelines all agree to be at this time a little bit in the past. going forwards leads to bad things so disallow it and complain. this fixes weston in a window problems when it sends timestamps in the future from weston... @fix
* ecore_thread: Add ecore_thread_name_set API.Alastair Poole2021-12-042-0/+27
| | | | | | | | | | This function can only be successfully called from the given thread. For debugging purposes, it's useful to be able to give a name to an Ecore_Thread. ecore_thread_name_set(Ecore_Thread *thread, const char *name); @feature
* edje lua2: check string ptr before dereferenceTaehyub Kim2021-11-301-5/+8
| | | | | | | | | | | | | | Summary: fix null pointer dereference Reviewers: Hermet, kimcinoo, jsuya, raster Reviewed By: kimcinoo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12309
* eio_mon: separate dir/file concerns.Alastair Poole2021-11-261-5/+9
| | | | As per ecore_file_monitor.
* ecore_file: Monitor file writes (kevent).Alastair Poole2021-11-251-5/+7
| | | | | | Trigger ECORE_FILE_EVENT_MODIFIED on file write. @fix
* elm - spinner - fix entry mysteriously hiding in paleditCarsten Haitzler (Rasterman)2021-11-211-8/+5
| | | | | | | | | some logic ws off in how to hide/show and handle visibility of swallowed entry. fix it - let edje deal with show/hide and dont fight with it and ensure we emit a signal to have entry active when it needs to be visible @fix
* efl ui text - handle edje cc classes for textCarsten Haitzler (Rasterman)2021-11-111-2/+32
|
* Eina: sanitize eina_path output on WindowsVincent Torri2021-11-106-19/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: * remove additional \ character * use only / as path separator Test Plan: compilation and run test program : ``` { elm_app_bin_dir_get(); printf("%s\n", eina_vpath_resolve("(:tmp:)/foo")); printf("%s\n", eina_vpath_resolve("(:home:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.desktop:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.documents:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.downloads:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.music:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.pictures:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.public:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.templates:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.videos:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.data:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.config:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.cache:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.run:)/foo")); printf("%s\n", eina_vpath_resolve("(:usr.tmp:)/foo")); printf("%s\n", eina_vpath_resolve("(:app.dir:)/foo")); printf("%s\n", eina_vpath_resolve("(:app.bin:)/foo")); printf("%s\n", eina_vpath_resolve("(:app.lib:)/foo")); printf("%s\n", eina_vpath_resolve("(:app.data:)/foo")); printf("%s\n", eina_vpath_resolve("(:app.locale:)/foo")); printf("%s\n", eina_vpath_resolve("(:app.config:)/foo")); printf("%s\n", eina_vpath_resolve("(:app.local:)/foo")); printf("%s\n", eina_vpath_resolve("(:app.tmp:)/foo")); } ``` before patch : ``` C:\Documents\msys2\tmp/foo C:\Users\vincent.torri/foo C:\Users\vincent.torri\Desktop/foo C:\Users\vincent.torri\Documents/foo C:\Users\vincent.torri\Downloads/foo C:\Users\vincent.torri\Music/foo C:\Users\vincent.torri\Pictures/foo C:\Users\Public\/foo C:\Users\vincent.torri\AppData\Roaming\Microsoft\Windows\Templates/foo C:\Users\vincent.torri\Videos/foo C:\Users\vincent.torri\AppData\Local\/foo C:\Users\vincent.torri\AppData\Roaming\/foo C:\Users\vincent.torri\AppData\Local\/foo C:\Users\vincent.torri\AppData\Roaming/foo C:\Users\vincent.torri\AppData\Local\Temp/foo C:/Documents/msys2/opt/entice_64/bin/foo C:/Documents/msys2/opt/entice_64/bin/foo C:/Documents/msys2/opt/entice_64/lib/foo C:/Documents/msys2/opt/entice_64/share/foo C:/Documents/msys2/opt/entice_64/share/foo C:\Users\vincent.torri\AppData\Roaming\/entice/foo C:\Users\vincent.torri\AppData\Local\/entice/foo C:\Users\vincent.torri\AppData\Local\Temp/entice/foo ``` after patch ``` C:/Documents/msys2/tmp/foo C:/Users/vincent.torri/foo C:/Users/vincent.torri/Desktop/foo C:/Users/vincent.torri/Documents/foo C:/Users/vincent.torri/Downloads/foo C:/Users/vincent.torri/Music/foo C:/Users/vincent.torri/Pictures/foo C:/Users/Public/foo C:/Users/vincent.torri/AppData/Roaming/Microsoft/Windows/Templates/foo C:/Users/vincent.torri/Videos/foo C:/Users/vincent.torri/AppData/Local/foo C:/Users/vincent.torri/AppData/Roaming/foo C:/Users/vincent.torri/AppData/Local/foo C:/Users/vincent.torri/AppData/Roaming/foo C:/Users/vincent.torri/AppData/Local/Temp/foo C:/Documents/msys2/opt/entice_64/bin/foo C:/Documents/msys2/opt/entice_64/bin/foo C:/Documents/msys2/opt/entice_64/lib/foo C:/Documents/msys2/opt/entice_64/share/foo C:/Documents/msys2/opt/entice_64/share/foo C:/Users/vincent.torri/AppData/Roaming/entice/foo C:/Users/vincent.torri/AppData/Local/entice/foo C:/Users/vincent.torri/AppData/Local/Temp/entice/foo ``` Reviewers: raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12306
* eina vpath - fix trailing extra / after homeCarsten Haitzler (Rasterman)2021-11-071-0/+5
| | | | | | fixes T8965 @fix
* eina vpath - fix public vpath location - docs say say public not pubCarsten Haitzler (Rasterman)2021-11-071-1/+3
| | | | @fix
* efl_canvas_image : remove the animated image limitationTaehyub Kim2021-11-042-4/+1
| | | | | | | | | | | | | | | | Summary: remove FRAME_MAX limitation to play the huge animated image which has more than 1024 frames Test Plan: load gif image which has more than 1024 frames Reviewers: Hermet, kimcinoo Reviewed By: Hermet Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12303
* elm - palette - add api to check if palette has a system versionCarsten Haitzler (Rasterman)2021-10-312-0/+12
|
* edje + elm - add new explicit tracking of all cc's used in edj themesCarsten Haitzler (Rasterman)2021-10-316-2/+201
| | | | | | | | | | edje_cc now lists all cc's used in an edj file. edje provides an api to list this. elm now uses this api to expose a list of all cc's used acorss all the theme(s) selected by the user. this will then be used by paledit to produce a nicer gui with a list of available cc's to add etc. and split between basic and extended. @feat
* eet - fix bug I added in optimization patch in unusual code pathCarsten Haitzler (Rasterman)2021-10-251-0/+2
| | | | | fixes bug in d08bb7425552853eba6e1c27a33021741b7cb9b1 in fallback code path.
* eet - optimize eet dictionary buildingCarsten Haitzler (Rasterman)2021-10-234-37/+170
| | | | | | | | | | | | | | | this massively speeds up efreet's icon cache building for huge icon themes... in my nasty test case of some insanely huge icon themes that have like 50,000 - 100,000 files... each - and multiple where the icon cache has to scan all of them and build the cache files... i see a speedup of going from 80 seconds to build down to 15-16 seconds. so over 5 times faster. This builds the dictionary in a temporary eina superfast string hash in ram and then just before writing flattens it out into a regular eet dict format. @opt
* elm theme - final cc work for elm code cc'sCarsten Haitzler (Rasterman)2021-10-181-33/+33
|
* ecore anim - just for paranoia also cancel the threadCarsten Haitzler (Rasterman)2021-10-031-0/+1
| | | | | we send -1 to say exit to the thread but also cancel thread too with ecore "in case"
* emotion - properly track subtitle mute state and init emotion obj earlyCarsten Haitzler (Rasterman)2021-09-261-1/+6
| | | | | | | fix setting things on an emotion obj early bu initting engine early and also track spu mute flags to set on pipe later @fix
* evas_map: use source size for uv instead of proxy sizeShinwoo Kim2021-09-203-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Usually application sets uv point value using proxy object size. if source object is bigger than proxy object, then only part of source image is used for map, and it leads to unexpected result. This patch is solving this problem make map use source object size instead of proxy object size by comparing both size. Test Plan: [Samle Code] {F4606414} [Sample Image] {F4606413} [Before apply map] {F4606418} [After apply map WITHOUT patch] {F4606416} [After apply map WITH patch] {F4606417} Reviewers: raster, Hermet Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12292
* eo - make no_anon EO_API for test suiteCarsten Haitzler (Rasterman)2021-09-062-2/+2
|
* efl mem - every mmap anon - allow envv ar to turn it off to be mallocCarsten Haitzler (Rasterman)2021-09-067-70/+168
| | | | | helps with memory debug to use libc mallocs/callocs etc. set EFL_NO_MMAP_ANON env var to anything to stop anon mmaps
* code: add simple shell syntax highlighting.Alastair Poole2021-09-061-0/+15
|
* elm - map widget - empty out and clean out code and tests - brokenCarsten Haitzler (Rasterman)2021-09-054-6196/+373
| | | | | | | | | | | | elm map has been broken for a long time now sue to upstream web api changes/breaks made by openstreetmaps. this isn't sustainable to have code do this. since it's broken there is little point keeping code for something that is totally non-functional, so reduce code, document it as broken and remove tests. at least symbols remain so no missing symbols and code using it will end up with an empty non-functional widget (much like they would without these changes anyway). @feat
* Elm Config: adapt elm_config scale on HiDPI devices on WindowsVincent Torri2021-09-051-0/+274
| | | | | | | | | | | | | | Summary: with HiDPI monitor (like 4k ones), the size of the windows are upsized with the Windows algo. The result leads to blocky font rendering for exemple. Set the scale in elm_config according to the values of the scale. Test Plan: elm test with a text Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12290
* Evil: improve timer resolution of timers and waitersVincent Torri2021-09-032-1/+18
| | | | | | | | | | | | | | Test Plan: running the efl since several months without problem Reviewers: raster Reviewed By: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12289
* ecore-x - add force refresh call to randr apiCarsten Haitzler (Rasterman)2021-09-032-3/+33
|
* Content Fit Enhancmentali-alzyod2021-08-302-0/+23
| | | | | | | | | | | | | | | | Summary: Allow user to get currently used font size when Text Fitting is enabled. previously, the user can not know what is current font size, he only specifies font size ranges, and the algorithm internally decides suitable font size. with this change, the user has the ability to know the font size, that the fitting algorithm has picked Reviewers: raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12288
* edje cc lookup - fix to proper path fallback - mis-lookups fixedCarsten Haitzler (Rasterman)2021-08-161-3/+3
|
* efl ui focus - unbork focus from noise fix previous commitCarsten Haitzler (Rasterman)2021-08-131-2/+0
|
* elm focus stuff - just handle corner cases during tree deletes quietlyCarsten Haitzler (Rasterman)2021-08-114-9/+12
| | | | like if parent is null in the process of a tree deletion etc....
* elm - config - support coarse palette entires with colonCarsten Haitzler (Rasterman)2021-08-091-1/+1
|
* edje - fix up colorclass lookups to always be recrusvie nowCarsten Haitzler (Rasterman)2021-08-095-56/+6
|
* edje - we can't rely on string ptr coming from eet file anymore...Carsten Haitzler (Rasterman)2021-08-091-19/+0
|
* ecore_wl2: prevent invalid timer if the input is invalid.Hermet Park2021-07-051-1/+1
| | | | | | | | | | | | Summary: It is non-sense that running timer even if the input/timer is invalid. Stop the timer to prevent invalid key down repeating. Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12285
* ecore-x - flag move events in more casesCarsten Haitzler (Rasterman)2021-06-061-0/+1
|
* ecore - fix name/ref for source of fix analysis etc.Carsten Haitzler (Rasterman)2021-06-051-1/+1
|
* ecore - mainloop - select - increase max set size and check fd if overCarsten Haitzler (Rasterman)2021-06-041-0/+34
| | | | | if fd's exceed max set size then things will ... god bad. how - ... depends on the OS but at least report that there is an issue.
* scroller - limit wheel accel a bit to something sanerCarsten Haitzler (Rasterman)2021-06-042-3/+6
|
* atspi: add atspi bridge ready eventShinwoo Kim2021-06-043-1/+50
| | | | | | | | | | | | | | | | | Summary: calling elm_init does not guarantee of readiness of atspi bridge even though elm_init is calling _elm_atspi_bridge_init. widget or user could want to know when the atspi bridge is ready. Reviewers: Hermet, jsuya, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12283
* atspi: move duplicated code in one placeShinwoo Kim2021-06-035-30/+20
| | | | | | | | | | | | | | Summary: we do not have to change several place for updating. Reviewers: Hermet, jsuya, herb Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12282
* Revert "fix warnings about redefinting EWAPI etc. due to windows EAPI changes"Carsten Haitzler (Rasterman)2021-05-2674-904/+982
| | | | | | | | | | | | This reverts commit e2d6691d524e15b0b0673d121e81c0544271617b. This reverts commit c02b796fdb0960411b24576f654a03f0e765a842. This reverts commit 6c969f6b7d59e64e8bdf09a5e535de9561d77535. This reverts commit 74204bccd724fe9dee428056d4710f37bbc2cffb. This reverts commit 1304d9571775ef740ac6b8978ea4a2025a52c99a. This reverts commit 7c85be9674eaa0362b88f01c61107aa6e7c383a2. revert the EAPI changes that break cxx bindings build. sorry :( more fixes needed than i thought