summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
6 hoursevas examples: remove unecessary beta tag.HEADmasterHermet Park
vector legacy apis have been officially released. it doesn't need beta tag anymore.
29 hourseo: set idx on exit to 1 not to 0Marcel Hollerbach
if this is set to 0 the next iteration in the upper frame event would decrement the 0 again leading to a overflow making the iteration and callback array overflow. Long story short: set ifx to 1 to prevent overflow, test added. fixes T8787 Differential Revision: https://phab.enlightenment.org/D12101
2 daysecore input - make an unsupported joystick a warn not an err...Carsten Haitzler (Rasterman)
3 dayselm_code: Selection start (with keyboard) fix.Alastair Poole
When starting a selection we were jumping two characters. This change resolves that.
3 dayselm_code: Always render N new lines (buffer).Alastair Poole
If we don't have a buffer here you CAN lose the race when scrolling. As there is a check later in the flow, we can just use a padding of 64 instead of checking the range. This ensures that scrolling is smooth and content is always rendered throughout an aggressive scroll.
6 daysevil: Remove OS version checkJoão Paulo Taylor Ienczak Zanette
Summary: Current version checking is done with GetVersion, which is now deprecated and issues the warning: ``` 'GetVersion' is deprecated [-Wdeprecated-declarations] ``` The first approach of this commit was to replace GetVersion call with the newer (and more reliable) `IsWindowsVistaOrGreater()` from versionhelpers.h, but nowadays it makes more sense to actually not even make that check, since it is more than unlinkely to happen that someone tries to compile/run EFL in Windows XP. Reviewers: vtorri, stefan_schmidt, raster Reviewed By: vtorri, raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12095
6 daysecore_wl2_subsurf: follow wayland spec for syncShinwoo Kim
Summary: By default a sub-suface is synchronized mode. So when a sub-surface is created, its sync value should be TRUE. If the E works as specification, user cannot make it work as desynchronized mode by calling subsurface.set_sync(FALSE). [Reference] https://github.com/wayland-project/wayland/blob/master/protocol/wayland.xml is telling "A sub-surface is initially in the synchronized mode." signed-off-by: Shawn Lee <shiin.lee@samsung.com> Reviewers: Hermet, zmike, devilhorns, raster Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12098
7 dayseo: evalulate special counts earlierMarcel Hollerbach
we have these special counts which are > 0 when there is a callback subscribed. THey are currently evalulated in _callback_call. However, we can also skip the entire call from inside eo_base_class as we are having the fields there as well. This way we are skipping the obj pointer lookup and vtable lookup. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D12079
7 dayseo: event callback call optimizationMarcel Hollerbach
a little overfiew to how eos event emission is working: - In eo there are 2 types of events restart events and normal events. Normals are *always* emitted from callback_max to 0 Restarts are emitted from the previous emissions current idx to 0. The previous emission will stop then - To keep track of the previous event emissions for restarts there was an eina inlist. - To keep track of other things in eo, there was an additional eo event stack frame (newly inserted events etc. etc.) This commit now uses this event stack frame for implementing the details about the restart events. This has the advatage that every efl_object_data contains one byte less, and the up to date keeping of the id's in the restart infrastructure is not needed anymore, making the whole event emission code less instructions and faster. How this now works: - Every emission has a event emission frame, when the emission starts, the frame is added, next points to the next older event emission. In this event stack frame we are storing the current idx, the description and a few other things that are not really relevant at this point. - when a restart event is started, this event stack is searched from the current frame up to the next one featuring the same event description. The event frame stack is then remembered, if the event emission is done, the current idx (normally 0 or something higher when callback was stopped) is then copyied back to the earlier frame. - Based on the nature of the event frame stacks, the idx is updated every iteration. And for the restart events, we only need to know the next, which removes the need of permanently updating the idx in the current stack. - The event frame stack is not allocated on the heap, hence more things in there does not matter at all. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D12097
7 daysedje_entry: fix a potentional error of null derefWonki Kim
this is a patch to fix a potentional error by null dereferencing. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D12087
8 daysefl_canvas: fix a potentional error of null derefWonki Kim
this is a patch to fix a potentional error by null dereferencing. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D12093
8 dayselm_access: fix a potentional error of null derefWonki Kim
Summary: this is a patch to fix a potentional error by null dereferencing. Reviewers: jsuya, kimcinoo, bu5hm4n Reviewed By: jsuya Subscribers: kimcinoo, bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12092
8 daysevas/engine: fix a potentional error of null derefWonki Kim
Summary: this is a patch to fix a potentional error by null dereferencing. Reviewers: jsuya, bu5hm4n, Hermet Reviewed By: jsuya, bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12091
8 daysedje: fix a potentional error of null derefWonki Kim
Summary: this is a patch to fix a potentional error by null dereferencing. Reviewers: jsuya, bu5hm4n, Hermet Reviewed By: jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12086
8 daysedje_edit: fix a potentional error of null derefWonki Kim
Summary: this is a patch to fix a potentional error by null dereferencing. Reviewers: jsuya, bu5hm4n, cedric, Hermet Reviewed By: jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12090
8 daysedje_edit: add null check for return of eina_hash_findBowon Ryu
Summary: to prevent null pointer dereference Test Plan: N/A Reviewers: cedric, jsuya Reviewed By: jsuya Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12094
8 daysembryo_cc: ++safty codeShinwoo Kim
Summary: This patch is increasing safty code by handling following case. sc_compile > OH!! there is uninitialized loacal variable "outfname"!! > setopt > about > longjmp > setjmp returns 3 > goto cleanup > then uninitialized data is read from local variable "outfname". Reviewers: raster, Hermet, jsuya, herb Reviewed By: jsuya Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12074
8 daysevas_filter: Add null check for instructionJunsuChoi
Summary: Add a null check for cases where the param passed from the filter instruction can be a null pointer. Test Plan: N/A Reviewers: kimcinoo, Hermet Subscribers: #reviewers, #committers, cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D12084
8 daysefl_ui_textbox: preserve changing user color setAli Alzyod
Summary: setting color inside the constructor call will be override in theme apply because it happen later. txt = efl_add(EFL_UI_TEXTBOX_CLASS, win, efl_text_color_set(efl_added, 0, 255, 0, 255)); Now we will preserve user choice, to not change it during theme apply. Test Plan: ninja test Reviewers: woohyun, bu5hm4n, zmike, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11942
8 daysevas_textblock: enhance cursor event submitting during markup_set/text_setAli Alzyod
Summary: Enhance text cursor events submitting: 1- Submit events only for changed cursors. 2- Reduce code complexity for cursor change. 3- Add test case for cursor event change Reviewers: woohyun, zmike, bu5hm4n Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11775
8 dayselm_entry/efl.ui.textbox: use common key shortcutsAli
Summary: **key** value comes from keyboard down callbacks are common, regardless of language/layout but **keyname** is dependent on layout(in X11, in Wayland Can not be produced). This common fix for both. For example if keyboard layout in arabic then: Ctrl+A will not work (in X11) This one enhances D11606 Reviewers: woohyun, bu5hm4n, zmike Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11695
9 daysevas_textblock: enhance escape character handlingAli Alzyod
Summary: -Lazy initialization for html escapes lists -Lower memory consumtion for escapes lists -Simplify code maintenance by sorting lists on runtime, new items donot need to respect sort order(run time will handle it) Reviewers: woohyun, bowonryu, cedric, tasn Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9370
9 daysefl.ui.textbox: Keyboard Enter will add paragraph separatorali
Summary: efl.ui.textbox: Keyboard Enter will add paragraph separator and \n because of D9064 Textbox multiline can work with paragraph separator Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11201
9 daysefl_ui_timepicker: Add null check for efl_text_getJunsuChoi
Prevent null access of the string passed from efl_text_get. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D12085
9 daysevas: fix a potentional error of null derefWonki Kim
this is a patch to fix a potentional error by null dereferencing. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D12089
9 dayselput - support libelogind.so.0 as well as libelogind-shared.so.0Carsten Haitzler (Rasterman)
for gentoo... @fix
9 daysedje_embryo: fix memory leak in ALLOC_COPY_DESCJaehyun Cho
Summary: If memory allocation fails in ALLOC_COPY_DESC, then the allocated memory is not free. To fix this memory leak, memory allocation of Edje_Real_Part_State is done prior to ALLOC_COPY_DESC. Reviewers: Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12082
9 daysembryo: fix a integer(cell) overflow problemYoungbok Shin
Summary: The most of functions for embryo based on cell(int) types. addvariable(), defsymbol(), modstk() and etc. Because of this, if embryo script has a really big(INT_MAX / 4) stack variable, integer overflow problem has been happened. @fix Test Plan: Put a script in your EDC like the following code. Build it and try to access the variable. Or check the writen HEX value by embryo_cc. script { // It's size is 1,000,000,000. // Remember, INT_MAX is 2,147,483,647. new my_big_variable[1000000000]; ... } Reviewers: cedric, woohyun, raster, eunue, SanghyeonLee Reviewed By: eunue, SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12081
9 dayselm : fix return of gengrid item swap anim to prevent animation memory leak.SangHyeon Jade Lee
Summary: this is memory leak fix on gengrid item move. when animation reached 1.0, it finish all animation and returns EINA_FALSE to delete current animation. Test Plan: N/A Reviewers: eagleeye Reviewed By: eagleeye Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12083
10 daysedje_embryo: fix null pointer dereference in ALLOC_COPY_DESCJaehyun Cho
To fix null pointer dereference in ALLOC_COPY_DESC, allocated variable "new" is checked.
10 daysedje_embryo: fix to use parameter of macro ALLOC_COPY_DESCJaehyun Cho
The parameter "To" of macro ALLOC_COPY_DESC is not used. To use the parameter "To", "d" is replaced to "To".
10 daysevas_gl_core: fix memory leak of EVGL_ResourceJaehyun Cho
If eng_data is NULL and rsc is not NULL in _internal_resources_destroy, then the allocated EVGL_Resource rsc is not free. To resolve this memory leak, eng_data and rsc are checked separately.
11 daysefl ui image - fix scal to fill - broken with non-rect src imagesCarsten Haitzler (Rasterman)
@fix
13 dayselua: add searchpath impl for 5.1 compatDaniel Kolesa
13 dayselua: fix elua_register with 5.1Daniel Kolesa
13 dayselua: do not link to cffi, load the module insteadDaniel Kolesa
13 dayselm_config: add slider to configure tooltip_delayBoris Faure
reviewers_: #reviewers, raster, cedric, netstar, bu5hm4n Reviewed By: bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D12060
13 daysevas_textblock: remove logically dead codeYeongjong Lee
Since `c->fmt` is allocated and dereferenced in `_layoutformat_push`, if `c->fmt` is NULL, this causes a crash before checking for NULL. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D12076
13 daysefl_ui_focus_manager: reduce the amount of relying on eventsMarcel Hollerbach
with this commit we are not replying on event invocations anymore, but rather on direct flag observation in the focus manager itself. This reduces the amount of events that are emitted as a consequence to elements beeing marked dirty segnificantly. startup time of elementary_test goes from 0.50 to 0.46s. Differential Revision: https://phab.enlightenment.org/D12072
13 daysecore_ipc: remove duplicated conditionYeongjong Lee
The same condition is used above. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12077
2020-07-30eina vpath - fix windows ~username handling to only error when usedCarsten Haitzler (Rasterman)
we would always rrturn 0 on windows ... missing {} in block. fix that. @fix
2020-07-29evas_textblock : return correct value for gfx_filter_getAbdullehGhujeh
return the same variable set with gfx_filter_set. added test for it. Reviewed-by: Ali Alzyod <ali198724@gmail.com> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12071
2020-07-29evas_textblock : Remove unneeded codeAbdullehGhujeh
Duplicated code removed Reviewed-by: Ali Alzyod <ali198724@gmail.com> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12070
2020-07-29evil: Remove unnecessary delay for evil startupLucas
Apparently there were two loops intended for an older (and dropped off) implementation of `gettimeofday`. This patch simplifies the code removing these loops and significantly lowering evil startup. Without this patch `ecore-suite`, `efl-app` and `evas-suite` gets timeout in Windows: ``` 25/29 ecore-suite TIMEOUT 30.12s 26/29 efl-app TIMEOUT 30.14s ... 29/29 evas-suite TIMEOUT 60.07s ``` Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12064
2020-07-28tests: fix eio testsMarcel Hollerbach
there are tests that init & shutdown efl_object in the same test, which is since to switch to const _CLASS_GET dangerously wrong. I checked for more cases but only found cases where no _CLASS_GET macros where used. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12069
2020-07-27evas - render - dont crash is private data is nullCarsten Haitzler (Rasterman)
@fix
2020-07-27evas: remove unused defineAli Alzyod
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12066
2020-07-27elementry_test: fix allocation sizeAli Alzyod
This fix Coverty Issue CID: 1430579 Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D12065
2020-07-27canvas engine: ++safety codeHermet Park
added null checking, no logical changes.
2020-07-24efreetd - add more logging for what efreetd says to clientsCarsten Haitzler (Rasterman)