Commit Graph

49 Commits

Author SHA1 Message Date
Elyes HAOUAS 4d51984286 tree-wide: get rid of trailing whitespace (part 11)
Remove trailing whitespaces

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11831
2020-05-14 14:17:17 +02:00
Mike Blumenkrantz c31cb51499 replace <br> with <ps/> for all text 2017-08-21 10:16:35 -04:00
Derek Foreman 4cf555f36e Replace all timer_reset with timer_loop_reset
Another sed bomb - didn't occur to me first time around to
check for this.  Cleans up more clock_gettime calls.
2017-02-06 15:59:25 -06:00
Derek Foreman 73aecd73ab Replace all timer_add with timer_loop_add
So yeah, I've literally used sed to replace every occurrence of
ecore_time_add() with ecore_timer_loop_add() because I'm reasonably
confident that no part of E has a legitimate need for timer based on the
exact current time.

It would be really nice if I'm not wrong. :)

The reason for this is the incredible spew of clock_gettime() calls I'm
seeing on an ARM system (that should have a vdso for gettime, but...)
This can amount to thousands of system calls per second.

 #YOLO
2017-02-03 15:52:28 -06:00
Mike Blumenkrantz b2d8803b95 improve quickaccess relaunch help dialog text
fix T4216
2016-08-08 11:23:58 -04:00
Gustavo Lima Chaves 92eb0572e2 e/quickaccess: Make "Skip window list" a quickaccess behavior option too. 2016-02-16 14:19:04 -02:00
Mike Blumenkrantz 08cb4826ad do not relaunch relaunchable quickaccess windows during logout
fix T2492
2015-08-19 14:36:20 -04:00
Mike Blumenkrantz 58447e9508 completely remove E_Manager
the final step in flattening all the canvas/screen apis
2015-03-19 16:53:32 -04:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -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 98b5246bc0 improve qa init: call startup function to apply existing entries and client states
fix T1435
2014-07-27 16:34:37 -04:00
Mike Blumenkrantz 7486cc179a change qa event handler init to use list macro 2014-07-27 16:34:37 -04:00
Mike Blumenkrantz df57ef15a3 use client stick apis in qa
setting properties manually breaks everything else which expects events
2014-07-27 16:34:37 -04:00
Mike Blumenkrantz e7cb1f9468 break out qa client validation into separate function 2014-07-27 16:15:49 -04:00
Mike Blumenkrantz 7b61749184 correctly use EC_CHANGED in qa 2014-07-27 16:10:12 -04:00
Mike Blumenkrantz 4b58fa9a4e replace ev->keyname with ev->key
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
2014-03-13 13:03:34 -04:00
Mike Blumenkrantz 254a318fc6 enforce comp hidden state for quickaccess clients
fix T1035
2014-02-27 20:58:30 -05:00
Mike Blumenkrantz d2e2418a74 revert focus when hiding quickaccess client if focus revert option is enabled
T949
2014-02-21 16:44:12 -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 32b73d0f34 qa mod no longer loads before first border evals, so make post-module load callback fill in non-transient entries 2013-06-12 09:16:03 +01:00
Mike Blumenkrantz c48fd0b06d giant commit that wipes all bindi^W^W^Wsplits out binding configs into a separate config domain so they can be more easily copied and so they won't be wiped in the event that primary config is wiped
also splits all binding lists out of e_config: they are now conveniently located in the global "e_bindings" struct


SVN revision: 83544
2013-02-01 10:21:54 +00:00
Igor Murzov 3a3cf9c42e Better gettext usage in Quickaccess.
This also fixes incomplete <br> tag.


SVN revision: 83088
2013-01-22 15:00:21 +00:00
Massimo Maiurana c4058ca063 Make some error dialogs translatable (patch from Igor Murzov)
SVN revision: 81394
2012-12-19 17:45:04 +00:00
Mike Blumenkrantz 37767d960f fix "hide instead of raise" for quickaccess
SVN revision: 81371
2012-12-19 14:45:12 +00:00
Massimo Maiurana 9f1d6e067e Store and handle action names correctly. (patch from Igor Murzov)
SVN revision: 81049
2012-12-16 16:58:17 +00:00
Mike Blumenkrantz c372a2991f sigh yet another instance of quicklaunch instead of quickaccess
SVN revision: 80456
2012-12-07 13:55:18 +00:00
Mike Blumenkrantz 7d4f55dae4 quickaccess now functions correctly for windows which don't accept focus
SVN revision: 80441
2012-12-07 11:53:02 +00:00
Mike Blumenkrantz 1e0f84e842 fix qa crash when window has no name set
SVN revision: 80440
2012-12-07 11:40:13 +00:00
Mike Blumenkrantz 503d7305db Dear all,
As I've said before, I'm attached a patch for minor bugs in the e17 again.
 Please take a look at attached patch.

 01. missing E_FREE(wev) if zone is null
     File: src/bin/e_actions.c: 1467
     Function: ACT_FN_GO_EDGE macro function
     null check of zone and wev, it would be better to separate them.

 02. dead code
     File: src/bin/e_configure.c: 338
     Function: _e_configure_efreet_desktop_update

 03. array buf might be overwritten by "buf[i] = '\0'"
     File: src/bin/e_eap_editor.c: 412
     Function: _e_desktop_edit_user_local_desktop_filename_generate

 04. missing null check
     File: src/bin/e_fm.c
     Function: e_fm2_icon_get: 2196
     It would be better to check ic->info.file in e_fm2_icon_get
     before passing to _e_fm2_file_is_edje because it doesn't check
     null pointer.

 05. array 'path' might be overwritten by "path[i + 1] = XXX"
     File: src/bin/e_fm.c: 4299
     Function: _e_fm2_uri_parse

 06. missing null check
     File: src/bin/e_fm_device.c: 468
     Function: e_fm2_device_mount_find
     If the null pointer is passed to e_fm2_device_mount_find,
     then it attempt to compare string using strncmp without null
     check.
     e.g., e_fm2_path_set
           -> real_path = _e_fm2_dev_path_map: this function could return null.
           -> sd->realpath = real_path;
           -> e_fm2_device_mount_find(sd->realpath)

 07. missing free(fstrip)
     File: src/bin/e_import_config_dialog.c: 34
     Function: _import_edj_gen

 08. missing _module_free(cfm)
     File: src/bin/e_int_config_modules.c: 530
     Function: _load_modules

 09. missing free(class) in for loop
     File: src/bin/e_int_menus.c: 1187
     Function: _e_int_menus_clients_add_by_class

 10. missing free(roots)
     File: src/bin/e_main.c: 1646
     Function: _e_main_screens_init
     Actually only e_win_init function could return 0.
     But I've added free to other codes for the consistency.

 11. missing null check of 'es->cfg'
     File: src/bin/e_shelf.c: 2583
     Function: _e_shelf_bindings_add
     'es->cfg' might be null. please look at e_shelf_position_calc.

 12. no ect->category check before comparing string values
     File: src/bin/e_theme.c: 387
     Function: e_theme_config_remove
     I'm not sure, but inner if block checks ect->category before
     deleting a string.

 13. missing E_FREE(wcb) in while loop
     File: src/bin/e_widget_ilist.c: 146
     Function: _queue_timer

 14. dereferencing freed pointer 'entry'
     File: src/modules/quickaccess/e_mod_quickaccess.c: 583
     Function: _e_qa_event_border_remove_cb

 15. missing E_FREE(trov)
     File: src/modules/tiling/e_mod_tiling.c: 3106
     Function: _do_transition_overlay

 Thanks & Regards,
 Gwanglim


SVN revision: 80231
2012-12-05 11:13:09 +00:00
Mike Blumenkrantz 8de2ac43f1 s/reopen/relaunch/
SVN revision: 79169
2012-11-12 14:47:36 +00:00
Mike Blumenkrantz e5903f4740 add support for and use eina_list_last_data_get
SVN revision: 79144
2012-11-12 10:05:09 +00:00
Mike Blumenkrantz b26e49dbff account for users closing help dialog in qa tutorial
ticket #1693


SVN revision: 78605
2012-10-29 08:29:59 +00:00
Mike Blumenkrantz ea61755d98 fix a bunch of questionably valid null derefs from clang
SVN revision: 76807
2012-09-18 11:42:44 +00:00
Mike Blumenkrantz 2d554a2825 if qa demo dialog is closed, stop tutorial
SVN revision: 76167
2012-09-05 06:51:30 +00:00
Mike Blumenkrantz 796eba2c93 delete help timeout timer in timeout function since this is used elsewhere
SVN revision: 76166
2012-09-05 06:46:48 +00:00
Mike Blumenkrantz 47e71d7c3c increase qa tutorial timeout to 20s
SVN revision: 76165
2012-09-05 06:43:04 +00:00
Mike Blumenkrantz 9e990349cc and now for something totally new: quicklaunch module now runs a non-skippable tutorial on first load to run users through using it
seriously, you can't skip it. don't even try clicking stop or pressing escape. I mean it.


SVN revision: 76121
2012-09-04 10:22:44 +00:00
Mike Blumenkrantz 7d30aa1db4 fix qa menu leak
SVN revision: 75850
2012-08-30 08:10:18 +00:00
Mike Blumenkrantz feb34b4aa3 start relaunchable qa windows after module load if not currently started
SVN revision: 75825
2012-08-29 09:52:05 +00:00
Mike Blumenkrantz ea33bae40b quickaccess now uses border_hide(3) to prevent desk flip from showing hidden windows
SVN revision: 75758
2012-08-28 07:47:10 +00:00
Mike Blumenkrantz 1e724ce41f set border props in border props setting function, only set sticky if entry is not in jump mode
ticket #cedric


SVN revision: 75756
2012-08-28 07:20:31 +00:00
Mike Blumenkrantz 64435c7d68 fix jump mode to remove unwanted window properties
SVN revision: 75641
2012-08-24 06:58:57 +00:00
Mike Blumenkrantz fe79aead48 set changed flag on qa window after applying netwm states
SVN revision: 75607
2012-08-23 08:36:59 +00:00
Mike Blumenkrantz 5c154ecab9 possibly fix pointer warping issues with quickaccess windows
SVN revision: 75606
2012-08-23 08:36:37 +00:00
Mike Blumenkrantz 908395e8ff use entry's class as qa menu title instead of entry id
SVN revision: 75597
2012-08-23 07:16:23 +00:00
Mike Blumenkrantz 76c91a123d add jump mode to quickaccess for cedric
SVN revision: 75596
2012-08-23 07:07:00 +00:00
Mike Blumenkrantz 81381bd833 rename qa menu item
SVN revision: 75593
2012-08-23 06:49:54 +00:00
Mike Blumenkrantz 7b1eef157b super sekrit module mostly complete: introducing the new and rewritten quickaccess module!
found in the Launcher category, this module allows for windows to be hidden/shown using bindings, and can be used to turn any window/application into a quake-style drop-down terminal or whatever else you would use triggered window hiding/showing for.
config options:
* autohide - hides window when focus is lost
* hide instead of raise - by default, qa will raise an activated window if it doesn't have focus; use this option to make it hide instead of raising
* automatically reopen when closed - this option, when set, causes qa to relaunch the application which created the window if the window is closed. it should (probably) only be used for terminals, and requires some magic for setting window names on terminals which I have created some infra for extending to non-standard terminal types; currently all xterm clones, urxvt, and terminology are supported. note that setting this option will cause the entry to become permanent, as any entry which is set to restart itself when closed cannot be transient
* transient - a window added to qa is initially a transient entry, meaning it's temporary: once you close the window, the binding is deleted, though the binding will remain if you restart e17. if you uncheck this option, it will become a permanent entry which can only be deleted either through the quickaccess advanced settings or the keybindings dialog.

fun fact: you can get to the quickaccess settings faster by clicking the Quickaccess... border menu item


SVN revision: 75550
2012-08-22 13:55:41 +00:00