summaryrefslogtreecommitdiff
path: root/src/lib (unfollow)
AgeCommit message (Collapse)Author
2 dayselm theme - final cc work for elm code cc'sHEADmasterCarsten Haitzler (Rasterman)
2021-10-03ecore anim - just for paranoia also cancel the threadCarsten Haitzler (Rasterman)
we send -1 to say exit to the thread but also cancel thread too with ecore "in case"
2021-09-26emotion - properly track subtitle mute state and init emotion obj earlyCarsten Haitzler (Rasterman)
fix setting things on an emotion obj early bu initting engine early and also track spu mute flags to set on pipe later @fix
2021-09-20evas_map: use source size for uv instead of proxy sizeShinwoo Kim
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
2021-09-06eo - make no_anon EO_API for test suiteCarsten Haitzler (Rasterman)
2021-09-06efl mem - every mmap anon - allow envv ar to turn it off to be mallocCarsten Haitzler (Rasterman)
helps with memory debug to use libc mallocs/callocs etc. set EFL_NO_MMAP_ANON env var to anything to stop anon mmaps
2021-09-06code: add simple shell syntax highlighting.Alastair Poole
2021-09-05elm - map widget - empty out and clean out code and tests - brokenCarsten Haitzler (Rasterman)
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
2021-09-05Elm Config: adapt elm_config scale on HiDPI devices on WindowsVincent Torri
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
2021-09-03Evil: improve timer resolution of timers and waitersVincent Torri
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
2021-09-03ecore-x - add force refresh call to randr apiCarsten Haitzler (Rasterman)
2021-08-30Content Fit Enhancmentali-alzyod
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
2021-08-16edje cc lookup - fix to proper path fallback - mis-lookups fixedCarsten Haitzler (Rasterman)
2021-08-13efl ui focus - unbork focus from noise fix previous commitCarsten Haitzler (Rasterman)
2021-08-11elm focus stuff - just handle corner cases during tree deletes quietlyCarsten Haitzler (Rasterman)
like if parent is null in the process of a tree deletion etc....
2021-08-09elm - config - support coarse palette entires with colonCarsten Haitzler (Rasterman)
2021-08-09edje - fix up colorclass lookups to always be recrusvie nowCarsten Haitzler (Rasterman)
2021-08-09edje - we can't rely on string ptr coming from eet file anymore...Carsten Haitzler (Rasterman)
2021-07-05ecore_wl2: prevent invalid timer if the input is invalid.Hermet Park
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
2021-06-06ecore-x - flag move events in more casesCarsten Haitzler (Rasterman)
2021-06-05ecore - fix name/ref for source of fix analysis etc.Carsten Haitzler (Rasterman)
2021-06-04ecore - mainloop - select - increase max set size and check fd if overCarsten Haitzler (Rasterman)
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.
2021-06-04scroller - limit wheel accel a bit to something sanerCarsten Haitzler (Rasterman)
2021-06-04atspi: add atspi bridge ready eventShinwoo Kim
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
2021-06-03atspi: move duplicated code in one placeShinwoo Kim
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
2021-05-26Revert "fix warnings about redefinting EWAPI etc. due to windows EAPI changes"Carsten Haitzler (Rasterman)
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
2021-05-26eina file - expand buf a bit to silence warning about data beyond bufferCarsten Haitzler (Rasterman)
2021-05-26emile - disable warnings when they are wrong ifor new buffersCarsten Haitzler (Rasterman)
emile in these 2 cases allocates an empty uninitilised buffer that will then be filled - gcc thinks we're passing uninit data to a func - which is right but intended as it is later filled. disable this warning for these segments of code.
2021-05-26emile - dont check return of alloca as it is not defined to failCarsten Haitzler (Rasterman)
2021-05-26elm - efl ui calendar - fix buffer truncate warningCarsten Haitzler (Rasterman)
2021-05-26elm - fix buffer truncate warning in elm calendarCarsten Haitzler (Rasterman)
2021-05-25update documentation for content fitali-alzyod
2021-05-24eeze: remove memory leakShinwoo Kim
Summary: udev_enumerate_new needs to call udev_enumerate_unref before leaving. Reviewers: raster, Hermet, herb, jsuya Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12280
2021-05-24eet: initialize descriptor class' func.type_get and func.type_setJaehyun Cho
Summary: Descriptor class' func.type_get and func.type_set are initialized with NULL. Change-Id: I94526c2421c1fa2924a705cd2341130905df1da0 Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12279
2021-05-23fix warnings about redefinting EWAPI etc. due to windows EAPI changesCarsten Haitzler (Rasterman)
2021-05-23elementary: Add EOAPI definition in Elementary to allow removal in other ↵Felipe Magno de Almeida
libraries Summary: Patch from a series of patches to rename EAPI symbols to specific library DSOs. = The Rationale = EAPI was designed to be able to pass `__attribute__ ((visibility ("default")))` for symbols with GCC, which would mean that even if -fvisibility=hidden was used when compiling the library, the needed symbols would get exported. MSVC __almost__ works like GCC (or mingw) in which you can declare everything as export and it will just work (slower, but it will work). But there's a caveat: global variables will not work the same way for MSVC, but works for mingw and GCC. For global variables (as opposed to functions), MSVC requires correct DSO visibility for MSVC: instead of declaring a symbol as export for everything, you need to declare it as import when importing from another DSO and export when defining it locally. With current EAPI definitions, we get the following example working in mingw and MSVC (observe it doesn't define any global variables as exported symbols). Example 1: dll1: ``` EAPI void foo(void); EAPI void bar() { foo(); } ``` dll2: ``` EAPI void foo() { printf ("foo\n"); } ``` This works fine with API defined as __declspec(dllexport) in both cases and for gcc defining as `__atttribute__((visibility("default")))`. However, the following: Example 2: dll1: ``` EAPI extern int foo; EAPI void foobar(void); EAPI void bar() { foo = 5; foobar(); } ``` dll2: ``` EAPI int foo = 0; EAPI void foobar() { printf ("foo %d\n", foo); } ``` This will work on mingw but will not work for MSVC. And that's why EAPI is the only solution that worked for MSVC. Co-authored-by: João Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com> Co-authored-by: Ricardo Campos <ricardo.campos@expertise.dev> Co-authored-by: Lucas Cavalcante de Sousa <lucks.sousa@gmail.com> Reviewers: vtorri, raster Reviewed By: raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12273
2021-05-23edje: Add weak symbolFelipe Magno de Almeida
Summary: The symbols will be needed when we change how Eolian generates import/export symbols in Eio Reviewers: vtorri, raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12272
2021-05-23ecore: Rename EAPI macro to ECORE_API in Ecore libraryFelipe Magno de Almeida
Summary: = The Rationale = EAPI was designed to be able to pass `__attribute__ ((visibility ("default")))` for symbols with GCC, which would mean that even if -fvisibility=hidden was used when compiling the library, the needed symbols would get exported. MSVC __almost__ works like GCC (or mingw) in which you can declare everything as export and it will just work (slower, but it will work). But there's a caveat: global variables will not work the same way for MSVC, but works for mingw and GCC. For global variables (as opposed to functions), MSVC requires correct DSO visibility for MSVC: instead of declaring a symbol as export for everything, you need to declare it as import when importing from another DSO and export when defining it locally. With current EAPI definitions, we get the following example working in mingw and MSVC (observe it doesn't define any global variables as exported symbols). Example 1: dll1: ``` EAPI void foo(void); EAPI void bar() { foo(); } ``` dll2: ``` EAPI void foo() { printf ("foo\n"); } ``` This works fine with API defined as __declspec(dllexport) in both cases and for gcc defining as `__atttribute__((visibility("default")))`. However, the following: Example 2: dll1: ``` EAPI extern int foo; EAPI void foobar(void); EAPI void bar() { foo = 5; foobar(); } ``` dll2: ``` EAPI int foo = 0; EAPI void foobar() { printf ("foo %d\n", foo); } ``` This will work on mingw but will not work for MSVC. And that's why EAPI is the only solution that worked for MSVC. Co-authored-by: João Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com> Co-authored-by: Ricardo Campos <ricardo.campos@expertise.dev> Co-authored-by: Lucas Cavalcante de Sousa <lucks.sousa@gmail.com> Reviewers: vtorri, raster Reviewed By: raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12271
2021-05-23eldbus: Rename EAPI macro to ELDBUS_API in Eldbus libraryFelipe Magno de Almeida
Summary: = The Rationale = EAPI was designed to be able to pass `__attribute__ ((visibility ("default")))` for symbols with GCC, which would mean that even if -fvisibility=hidden was used when compiling the library, the needed symbols would get exported. MSVC __almost__ works like GCC (or mingw) in which you can declare everything as export and it will just work (slower, but it will work). But there's a caveat: global variables will not work the same way for MSVC, but works for mingw and GCC. For global variables (as opposed to functions), MSVC requires correct DSO visibility for MSVC: instead of declaring a symbol as export for everything, you need to declare it as import when importing from another DSO and export when defining it locally. With current EAPI definitions, we get the following example working in mingw and MSVC (observe it doesn't define any global variables as exported symbols). Example 1: dll1: ``` EAPI void foo(void); EAPI void bar() { foo(); } ``` dll2: ``` EAPI void foo() { printf ("foo\n"); } ``` This works fine with API defined as __declspec(dllexport) in both cases and for gcc defining as `__atttribute__((visibility("default")))`. However, the following: Example 2: dll1: ``` EAPI extern int foo; EAPI void foobar(void); EAPI void bar() { foo = 5; foobar(); } ``` dll2: ``` EAPI int foo = 0; EAPI void foobar() { printf ("foo %d\n", foo); } ``` This will work on mingw but will not work for MSVC. And that's why EAPI is the only solution that worked for MSVC. Co-authored-by: João Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com> Co-authored-by: Ricardo Campos <ricardo.campos@expertise.dev> Co-authored-by: Lucas Cavalcante de Sousa <lucks.sousa@gmail.com> Reviewers: vtorri, raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12270
2021-05-23efl: Rename EAPI macro to EFL_API in Efl sub-libraryFelipe Magno de Almeida
Summary: Patch from a series of patches to rename EAPI symbols to specific library DSOs. = The Rationale = EAPI was designed to be able to pass `__attribute__ ((visibility ("default")))` for symbols with GCC, which would mean that even if -fvisibility=hidden was used when compiling the library, the needed symbols would get exported. MSVC __almost__ works like GCC (or mingw) in which you can declare everything as export and it will just work (slower, but it will work). But there's a caveat: global variables will not work the same way for MSVC, but works for mingw and GCC. For global variables (as opposed to functions), MSVC requires correct DSO visibility for MSVC: instead of declaring a symbol as export for everything, you need to declare it as import when importing from another DSO and export when defining it locally. With current EAPI definitions, we get the following example working in mingw and MSVC (observe it doesn't define any global variables as exported symbols). Example 1: dll1: ``` EAPI void foo(void); EAPI void bar() { foo(); } ``` dll2: ``` EAPI void foo() { printf ("foo\n"); } ``` This works fine with API defined as __declspec(dllexport) in both cases and for gcc defining as `__atttribute__((visibility("default")))`. However, the following: Example 2: dll1: ``` EAPI extern int foo; EAPI void foobar(void); EAPI void bar() { foo = 5; foobar(); } ``` dll2: ``` EAPI int foo = 0; EAPI void foobar() { printf ("foo %d\n", foo); } ``` This will work on mingw but will not work for MSVC. And that's why EAPI is the only solution that worked for MSVC. Co-authored-by: João Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com> Co-authored-by: Ricardo Campos <ricardo.campos@expertise.dev> Co-authored-by: Lucas Cavalcante de Sousa <lucks.sousa@gmail.com> Reviewers: vtorri, raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12274
2021-05-23TextBlock: Fix content Fit with Markup-font-sizeali-alzyod
Summary: This patch fixes wrong behavior for text block content fit when markup contains a part with specified font sizes (these parts will not be fitted by content fit algorithm). + THIS STILL NEED TEST TO BE ADDED Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12275
2021-05-19evas - evas_all_sync - only inc loop/retry counter if not advancingCarsten Haitzler (Rasterman)
2021-05-18evas render - fix all sync - inverse while loop logicCarsten Haitzler (Rasterman)
fix prev commit
2021-05-18evas all sync - put a limit on loops and loop while rendering stillCarsten Haitzler (Rasterman)
2021-05-13ecore - animator - remove some DBG lines to keep leanerCarsten Haitzler (Rasterman)
2021-05-13ecore - animator - found some truly messed up behavior inside vbox...Carsten Haitzler (Rasterman)
add debug/error detection for the animator thread that might just sit ans sleep waiting on epoll_wait + timerfd to expire... and it doesn't. it SHOULD expire in less than 1 ft (frame time eg 16.66666667ms). but i'm seeing it sometimes take 4 or 6 or 8 SECONDS to have epoll_wait wake up... even thought i now set epoll_wait to always expire in 200ms no matter what... even that it doesn't honor. something truly messed up is happening with scheduling and i think this cascades through everything - i see evas doing eglSwapBuffers() with nothing appearing in the vbox screen... truly messed up. at least this adds some rror detection for this and is at least a warning to a user that something is messed up.
2021-05-12ecore - fix other ifdef path for debug malinfoCarsten Haitzler (Rasterman)
2021-05-12ecore - fix 32bit pointer size warnings in debug logsCarsten Haitzler (Rasterman)
2021-05-10evas vg - don't make bounds 0 sized ... which leads to no renderingCarsten Haitzler (Rasterman)
@fix
2021-05-07elm config - replace old colorclass systme with newer pallete oneCarsten Haitzler (Rasterman)
the old one was a bit... rough. the new one relies on the new fallback to parent classes in edje to simplify colorclasses and can now apply immediately. i've started on a palette editor gui - and it works relatively well and applies live as you slide colors around. it looks vaguely good too. i don't thnk we should hsave a widget to do this as it's probably too much in elementary (the lib) that is far too niche in use.