Commit Graph

109 Commits

Author SHA1 Message Date
Carsten Haitzler d247868c89 dnd resist - fix missing sque for dist compare and have minimum of 8
if finger size is small... really small, then limit minimum to 8.
2020-11-18 10:53:25 +00:00
Christopher Michael 9adfc913e4 e_utils: Increase tmpbuf allocated size
Increase size of allocated tmpbuf in order to eliminate compiler
warnings in regard to truncated strings
2020-09-17 12:18:37 -04:00
Carsten Haitzler 2ae006cfbd e system - spew out unique exit codes we can then show dialogs for
tell the user all the possible exit reason we know about for
enlightenment_system.
2020-04-29 22:14:15 +01:00
Carsten Haitzler 48c4ea17f2 e - fix up resize/move by kbd to work again
this used to work years ago ... it seems tihave broken. this fixes it
all up to work again so you can bind a move/resize of a window tothe
kbd and then use arrow keys etc. like you used to....

@fix
2019-09-04 19:17:12 +01:00
Carsten Haitzler c49f49829f gadgets - get long press plus dnd to behave nice
we had multiple drag resistance values here - unify with 1 and make it
work, now it gets it right deciding between dnd and a long press menu
etc. etc. ...
2018-10-29 17:32:51 +00:00
Carsten Haitzler b9d166f804 use safer ecore_exe flags that close stdin/out/err if possible
this is specifically needed for wayland but is relevant to x with
startx too ... dont let processes that e runs like apps inherit
stdin/out/err as it may be a tty and thus allow apps to do nasty
things with that tty.

@fix
2017-09-23 23:10:35 +09:00
Mike Blumenkrantz 2afaea3b49 remove e_util_pointer_center()
this is yet another utility function which duplicates code from elsewhere and
does it incorrectly

fix T3164
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz e7c2d30a85 add function for printing debug info on an evas object 2017-02-24 14:15:38 -05:00
Mike Blumenkrantz 90fcc55f1e add e_util_open(), unify all callers of enlightenment_open
ref adbba1042b
2016-09-27 11:19:00 -04:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Tom Hacohen acfdda6c7f E auth: improve clearing out passwords from memory.
Optimising compilers (like gcc/clang with -O1 or above) were optimising
out the memset(). Until link time optimisations are good enough, this
will prevent them from doing so. The best solution would be to use
memset_s() (c11), though it's not readily available yet. This is the
first step towards using memset_s() with a fallback for systems who
don't have it. A better solution, is to put it in Eina, to prevent LTO
completely. This will have to be done after the EFL release.
Even this is not entirely safe though, but at least it protects us from
some memory disclosure issues.

This doesn't solve the fact that we may store a copy of the password in
other places, like the input system. We need to address that too.

Thanks to Matthew Garrett for pointing this out or Twitter.
2015-04-21 10:19:48 +01:00
Mike Blumenkrantz 85376125e0 remove e_util_head_exec() 2015-03-20 15:04:58 -04:00
Mike Blumenkrantz 4deb313dd6 e_util_comp_desk_count_get() -> e_desks_count()
also wtf is this double loop counting
2015-03-13 17:58:48 -04:00
Mike Blumenkrantz fe2bc2346f remove e_util_zone_current_get() 2015-03-13 17:58:48 -04:00
Mike Blumenkrantz b7f2777809 remove e_util_comp_current_get() 2015-03-13 16:28:49 -04:00
Mike Blumenkrantz 091142b032 remove E_Client->comp 2015-03-13 15:41:21 -04:00
Mike Blumenkrantz c8fcff8109 remove e_util_comp_zone_id_get() and e_util_comp_zone_number_get() 2015-03-13 15:20:41 -04:00
Mike Blumenkrantz 922af2c52f remove e_comp_list(), deprecate all related functions for pending removal
there is only one E_Comp which can now be accessed by the e_comp global.

if you're editing a file with some uses of these deprecated functions, replace their usages with appropriate references to this variable

pass -Wno-deprecated-declarations to ignore these warnings during build
2015-01-05 15:39:15 -05:00
Mike Blumenkrantz 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Mike Blumenkrantz a69a5a1796 add dblequal() util function to be used for addressing the infinite comparison warnings 2014-09-07 23:02:32 -04:00
Mike Blumenkrantz fd6f686467 move isedje() e_util and simplify/inline 2014-07-03 10:45:59 -04:00
Mike Blumenkrantz ba3ffcf029 remove a bunch of unused e_util edje icon functions
CID 1039948, 1039946

removals: e_util_*edje_icon_list*
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 4eae850861 e_util_client_shadow_state_get() -> e_client_util_shadow_state_get()
removals: e_util_client_shadow_state_get
2014-02-05 10:48:31 -05:00
Mike Blumenkrantz 4d07ec2c00 remove black_ecore_evas
this was used in illume, which is now dead.
2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 1b22c40555 move e_util_icon_save to e_desktop_editor for better waylanding 2014-01-14 20:28:57 -05:00
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz c6f0c79b61 add e_util_string_list_free 2013-05-28 15:05:32 +01:00
Mike Blumenkrantz 3a983e8d59 move border shadow checks to e_util 2013-04-23 17:10:20 +01:00
Mike Blumenkrantz 257a7d58c9 add e_util_evas_objects_above_print_smart() to print smart heirarchy
SVN revision: 84056
2013-02-18 13:43:32 +00:00
Mike Blumenkrantz fc31710fff add some debugging functions for comp
SVN revision: 83746
2013-02-07 13:19:50 +00:00
Mike Blumenkrantz a978a17ddd efm string functions are now EAPI util functions
SVN revision: 77860
2012-10-11 10:19:03 +00:00
Mike Blumenkrantz b8677593fc remove all LD_LIBRARY_PATH shenanigans from e17
ticket #1542


SVN revision: 77735
2012-10-10 09:27:24 +00:00
Mike Blumenkrantz 7a3eb421ff spellcheck hooooooooooooooooooooooo
SVN revision: 77562
2012-10-08 06:59:58 +00:00
Mike Blumenkrantz f90abcdf4b add util function for returning current container without needing to pass manager
SVN revision: 77501
2012-10-05 06:43:13 +00:00
Mike Blumenkrantz 97c96f891a add menu item variant of gadcon icon orient function
SVN revision: 76310
2012-09-07 13:43:44 +00:00
Mike Blumenkrantz 10a6ce56f6 move gadcon orientation icon setting code to e_util function
SVN revision: 76305
2012-09-07 13:11:45 +00:00
Mike Blumenkrantz a8bc4ea2eb e_util_dialog_internal() now returns the dialog created
SVN revision: 76010
2012-09-03 12:51:30 +00:00
Mike Blumenkrantz a8beb0950c fix usage of PATH_MAX when not working with files
SVN revision: 75518
2012-08-22 07:02:41 +00:00
Mike Blumenkrantz 6896025d1a break out keybind matching and replace original usage
SVN revision: 75458
2012-08-20 09:10:31 +00:00
Carsten Haitzler 6efc2eb976 abstract the "get terminal desktop" code into util code and now use
from e_exec AND in efm - open terminal here menu item is there with
code to set your default terminal in default applications too.



SVN revision: 75290
2012-08-15 09:59:37 +00:00
Mike Blumenkrantz f6af7bd8d2 remove all traces of old and unused bg import dialog. whoever put a separate import dialog into e_utils.c, and the person who committed r44556 with the id "barbieri" on 2009-12-18 shall indeed remain nameless, decided to leave the other one hanging around. as a result, the one that he copied from the original sat around without being modified, and now ended up being removed instead of being properly integrated
SVN revision: 75052
2012-08-09 13:58:51 +00:00
Mike Blumenkrantz a427ed3e82 add e_util_size_debug_set() to allow easier size debugging of objects in e
SVN revision: 74221
2012-07-20 08:54:14 +00:00
Mike Blumenkrantz e0a8fffedf add e_util_time_str_get() to convert a time value in seconds to a string approximation
SVN revision: 73976
2012-07-17 12:10:18 +00:00
Mike Blumenkrantz 97659ccb79 add e_util_strcasecmp
SVN revision: 73908
2012-07-16 07:21:33 +00:00
Mike Blumenkrantz 464e311e6c filepreview widget now attempts to show a thumb for file's mime type if file is not an image
SVN revision: 73802
2012-07-13 09:19:35 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Hannes Janetzek f276811f8a e17: fix e_utils_config_check, no need to pass both epoch and version
SVN revision: 63029
2011-08-31 12:57:07 +00:00
Hannes Janetzek c4401dec20 - remove deprecated e_util_menu_item_edje_icon_set
- change default icon lookup order from 
  user theme > default theme > fdo theme to
  user theme > fdo theme > default theme


SVN revision: 57105
2011-02-16 23:47:06 +00:00
Gustavo Sverzut Barbieri d374b7ccb8 utility to query for fullscreen in current/all zones.
keeping local count of borders is too error prone, instead query
it. Right now the count is being done for the current zone only, I
guess this is the best policy.



SVN revision: 54793
2010-11-22 15:21:17 +00:00
Sebastian Dransfeld 5c5e1b82e6 Remove file_set commands
Use fdo icons in e_icon directly instead

SVN revision: 54178
2010-11-05 13:11:41 +00:00