Commit Graph

323 Commits

Author SHA1 Message Date
Chris Michael 915f8f0613 @bugfix: Fix building for WAYLAND_ONLY by using the proper define
sed -i 's/WAYLAND_ONLY/HAVE_WAYLAND_ONLY/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Mike Blumenkrantz 4b58fa9a4e replace ev->keyname with ev->key
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
2014-03-13 13:03:34 -04:00
Mike Blumenkrantz bc3e1fd94f feature: add fileman option to clamp video size for video previews
T102
2014-01-27 12:28:35 -05:00
Mike Blumenkrantz 83a009c685 only block fileman zone refocus if top client is not ignored
T854
2014-01-27 10:58:41 -05:00
Mike Blumenkrantz 8f36162c29 make fileman popups hide more aggressively
T750
2014-01-16 10:37:32 -05:00
discomfitor 3948c1c910 fix fileman stealing focus
desktop fileman should only receive focus if there is no client currently visible on the active desktop
2014-01-14 20:28:59 -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 400f966b70 improve efm popup display with multiple monitors
previously we'd clamp to the current screen, but that's not really necessary. also e_popup sucks, so trying to create zone-relative coords is not going to work -> just use first zone always
2013-12-09 07:26:33 -05:00
Mike Blumenkrantz 80b3dc4830 alter fileman Open Terminal Here test/execution to activate when a regular file is passed
T34
2013-11-26 12:32:00 -05:00
Mike Blumenkrantz 5d4e2aa074 refresh efm after changing fileman settings
T549
2013-11-25 20:48:36 -05:00
Sebastian Dransfeld df4b3baf30 fm: Use string value directly 2013-11-21 13:57:58 +01:00
Mike Blumenkrantz fbe015de2e bugfix: fileman spring window closing on desktop when dnd ends 2013-10-03 09:45:26 +01:00
discomfitor 0b4528f3a4 this job struct member is a job, not a timer 2013-08-31 15:06:39 +01:00
Mike Blumenkrantz d236e2acec bugfix: fileman double click auto-resizing now accounts for toolbar/sidebar and accounts for maximized state
T208
2013-07-26 12:52:57 +01:00
Carsten Haitzler 3dc555a7cf fix warnings in build so new ones turn up and get fixed. 2013-07-15 11:45:19 +09:00
Mike Blumenkrantz 5e7fe56024 don't null fwin popup icon when deleting popup 2013-06-11 09:10:20 +01:00
Mike Blumenkrantz 38615a27d4 fix a crazy fileman bug where calculating the size of the tooltip would cause a mouse out event on the icon, deleting the tooltip while it was being created 2013-06-10 13:36:03 +01:00
Mike Blumenkrantz abfed64b8a don't set dnd aware twice on comp canvas 2013-05-29 13:45:48 +01:00
Mike Blumenkrantz 14b50dca6b set delete callback on fileman toolbars to prevent double free 2013-05-28 15:05:32 +01:00
Carsten Haitzler 738b5d417d fix segv in applyig fileman config to all fwins while walking fwin list (deleting an fwin while walking) 2013-05-28 19:43:51 +09:00
Mike Blumenkrantz d8c603ae87 filemanager windows no longer resize to 0x0 when double clicked with no icons present
T78
2013-05-08 08:28:53 +01:00
Mike Blumenkrantz ed7b29d50f all comp wins now have zoomaps, zooming effect lovers rejoice 2013-04-16 13:51:50 +01:00
Mike Blumenkrantz 505cec1d91 giant comp rejiggering commit #5:
* border frame/object now drawn directly on compositor canvas

* border shadows now in border theme with edje hint, non-updated themes still receive comp object shadows FOR NOW

* e_border MOVE/RESIZE pointer mode defines are now e_pointer.h enums

* added BD_CHANGED() util macro for setting bd->changed and printing a debug line to assist in finding places where this all-important flag is wrongly set

* bd->bg_win removed entirely

* bd->pointer objects moved to compositor object; now only one pointer object exists for each compositor

* resizing windows now shows a new and totally-intended scaling effect for window contents

* some additional retooling of border deletion/free callbacks

* fixed lurking potential bug where window could recieve focus from autoraise timer after border had been deleted

* more comp shape improvements/rewrites

* desk transitions are now BROKEN(ish)

* various modules updated to not be totally broken with these changes
2013-04-15 08:39:16 +01:00
Daniel Juyung Seo 10ad3b23a8 efm now knows about KP_Enter. Patch by godfath3r.
KP_Enter key is added in enlightenments file manager.
2013-03-05 18:52:19 +09:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz a4ef12329e add config option for remembering filemanager windows globally instead of per-directory
ticket #1982


SVN revision: 83718
2013-02-07 08:20:42 +00:00
Mike Blumenkrantz 43692b40ee fix weird crash which started happening when efm windows were deleted after shutdown somehow...probably e18 change-related
SVN revision: 83551
2013-02-01 11:39:19 +00:00
Mike Blumenkrantz 008f60210e so apparently we were using the wrong value for the show_desktop_icons option...fixed I guess?
SVN revision: 81749
2012-12-27 15:05:44 +00:00
Mike Blumenkrantz ae1341986a small leak--
SVN revision: 81622
2012-12-21 23:26:47 +00:00
Mike Blumenkrantz 5f5c2fb4d3 set a non-hilarious min size for fileman windows
SVN revision: 81471
2012-12-20 17:01:37 +00:00
Carsten Haitzler 1f745881d9 series of dialogs that were not resizable but should be, are now.
SVN revision: 81434
2012-12-20 10:07:30 +00:00
Mike Blumenkrantz 271f92f912 ahh never too late for an API/ABI break. e_icon_file_get now returns edje group, which fixes fileman border icons
ticket #rasternaggedme


SVN revision: 81387
2012-12-19 17:00:10 +00:00
Mike Blumenkrantz 4ff6488dfa apparently scrollframe has its own key grabs??? wtf???
ticket #2043


SVN revision: 81355
2012-12-19 12:29:47 +00:00
Christopher Michael 6bef8001ce Stop crazy fileman crash that I keep getting....
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81330
2012-12-19 09:16:34 +00:00
Mike Blumenkrantz b18e9acc91 hacky implementation of toolbar orientation saving
ticket #2030


SVN revision: 81259
2012-12-18 15:12:22 +00:00
Mike Blumenkrantz 1ac2c1d782 delete fileman popups any time anything in a directory changes
ticket #2025


SVN revision: 81231
2012-12-18 10:19:42 +00:00
Mike Blumenkrantz 567121f44f only pass clicked item to menu functions if it's something we can navigate in
SVN revision: 81118
2012-12-17 10:54:52 +00:00
Mike Blumenkrantz e034e33f17 remove unnecessary efm refresh on fwin spring dnd end, fixes crash
ticket #1975


SVN revision: 80934
2012-12-14 11:30:55 +00:00
Mike Blumenkrantz f8ed2a752a do calloc after possible return; leak--
SVN revision: 80858
2012-12-13 14:13:39 +00:00
Massimo Maiurana 8b38245df1 two more duplicate message with different case and also two with slash and hyphen
SVN revision: 80481
2012-12-07 18:15:14 +00:00
Mike Blumenkrantz bff3548185 Navigate->Current Directory now first item in menu, also shows items for clicked icons
ticket #1929


SVN revision: 80329
2012-12-06 09:47:06 +00:00
Mike Blumenkrantz 427857d239 set focus object for main efm widget scrollframe
SVN revision: 80144
2012-12-04 11:21:15 +00:00
Mike Blumenkrantz 9c0c838558 clamp fwin to screen size/position
ticket #1886


SVN revision: 80067
2012-12-03 14:03:13 +00:00
Mike Blumenkrantz 68e6b07cd7 all dialogs are no longer resizable
SVN revision: 80032
2012-12-03 09:24:12 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Mike McCormack 8b1be88993 e: Fix unchecked return code warning
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 79433
2012-11-18 19:58:02 +00:00
Mike Blumenkrantz 021e030364 set popup edje bg to pull in shape settings on popup
ticket #1714


SVN revision: 79150
2012-11-12 11:10:44 +00:00
Mike Blumenkrantz dc0dd0906f efm progress bar thingy now handles secure deletion
ticket #1702
also renamed the "unknow" operation to "unknown", default theme updated


SVN revision: 78865
2012-11-02 13:45:47 +00:00
Mike Blumenkrantz 01b47aed5f overhaul and fix custom bg+overlay setting/unsetting in efm
SVN revision: 78844
2012-11-02 09:04:26 +00:00
Carsten Haitzler f9c6b40357 double ensure that tb signal emit happens.
SVN revision: 78745
2012-11-01 06:36:57 +00:00
Mike Blumenkrantz 1cc67fa9a1 typo
SVN revision: 78713
2012-10-31 16:30:01 +00:00
Mike Blumenkrantz 1f0b81276c ensure spring folder refreshes after the drop
ticket #1638


SVN revision: 78708
2012-10-31 13:36:08 +00:00
Carsten Haitzler fa2e16a332 improve file op list so it can.. do more.
SVN revision: 78696
2012-10-31 09:37:21 +00:00
Mike Blumenkrantz aa7f3281cc unused var--
SVN revision: 78646
2012-10-30 11:54:49 +00:00
Mike Blumenkrantz 34aab08499 fix trivial typos
patch by Igor Murzov


SVN revision: 78615
2012-10-29 12:40:14 +00:00
Carsten Haitzler 0bb52eb9ed adjust efm fwin setup and popup to be... better theme friendly!
SVN revision: 78565
2012-10-28 07:45:48 +00:00
Mike Blumenkrantz eb6f06d8dc use file label for tooltip if available
ticket #1659


SVN revision: 78534
2012-10-26 13:31:03 +00:00
Mike Blumenkrantz bc4d8ead3a fix efm open with dialog to properly account for cases where the desktop file id is not able to be found
ticket #1664


SVN revision: 78444
2012-10-25 11:29:22 +00:00
Mike Blumenkrantz 1901f43c35 s/Specific/Suggested/
SVN revision: 78431
2012-10-25 09:29:26 +00:00
Mike Blumenkrantz 83e085a58e fix sidebar frame
ticket #1654


SVN revision: 78418
2012-10-25 07:17:10 +00:00
Mike Blumenkrantz a4bc0fb8f7 refresh desktop icons only when they actually need to be refreshed so we don't refresh every time someone adds a gadget to a shelf
SVN revision: 77849
2012-10-11 08:03:19 +00:00
Mike Blumenkrantz e6dc43325e when zone moves/resizes, re-create desktop icons on that zone to prevent scrollbars from showing up when scrollframe resizes incorrectly
SVN revision: 77745
2012-10-10 10:28:08 +00:00
Mike Blumenkrantz b5842b7b86 simplify previous commit
SVN revision: 77432
2012-10-04 12:11:17 +00:00
Mike Blumenkrantz 6388a49f60 efm right click -> "Open" will now become "Run" when the file will be executed directly in order to be more clear
SVN revision: 77431
2012-10-04 11:57:51 +00:00
Mike Blumenkrantz 119f7014fa even more fwin handlers to kill tooltips during gadget dnd
SVN revision: 77253
2012-10-01 08:41:57 +00:00
Mike Blumenkrantz 4e779975f9 rename E_LIST_HANDLERS_APPEND to E_LIST_HANDLER_APPEND, also add E_LIST_FOREACH
SVN revision: 76951
2012-09-21 09:23:07 +00:00
Mike Blumenkrantz 426f96b8f8 kill fileman tooltips on dnd positioning too
SVN revision: 76937
2012-09-21 08:00:04 +00:00
Mike Blumenkrantz 8d97adf900 bring back the fwin event handlers and add more handlers to fix tooltip hiding when dragging gadgets over files
SVN revision: 76934
2012-09-21 07:34:11 +00:00
Mike Blumenkrantz 709c740a27 add configurable max file size to generate thumbnails for, also block thumbnail generation for movie files entirely since this isn't even possible
ticket #1545


SVN revision: 76931
2012-09-21 07:08:21 +00:00
Mike Blumenkrantz 9e9745812b with the joint debugging efforts of devilhorns, efm tooltips now receive proper hiding events and don't hang around when switching desktops
SVN revision: 76853
2012-09-19 12:16:33 +00:00
Mike Blumenkrantz baaf4b7c75 tired of this stupid efm tooltip bug, fix it once and for all with event handlers
SVN revision: 76816
2012-09-18 13:04:13 +00:00
Mike Blumenkrantz d18751ac7f set fwin border info before changing path to avoid race condition where icon info may be freed
SVN revision: 76791
2012-09-18 09:20:49 +00:00
Carsten Haitzler 84bd5f65fc fix executing executables directly in efm.
SVN revision: 76753
2012-09-17 10:33:42 +00:00
Mike Blumenkrantz 87ab5d8968 add "current directory" to fileman menu browser when activating it from an fwin
SVN revision: 76724
2012-09-17 04:11:27 +00:00
Mike Blumenkrantz c1fc3c7ed5 even more not-asked-for fileman features: clone window and copy path
SVN revision: 76684
2012-09-14 16:51:38 +00:00
Mike Blumenkrantz e58b6f199b move Go To Parent Directory to Navigate submenu
SVN revision: 76679
2012-09-14 15:48:35 +00:00
Mike Blumenkrantz 023248ca67 Open Terminal Here menu item is now a directory mime action located in the Actions menu
SVN revision: 76666
2012-09-14 12:46:23 +00:00
Mike Blumenkrantz e5a75c2b6d eina is probably already initialized by the time fileman starts
SVN revision: 76662
2012-09-14 10:40:12 +00:00
Mike Blumenkrantz 745d731695 ensure fileman navigation menu items are always added
SVN revision: 76661
2012-09-14 10:38:32 +00:00
Mike Blumenkrantz fb98544c37 move "go to parent directory" to top of icon menus next to navigate
SVN revision: 76658
2012-09-14 10:29:23 +00:00
Mike Blumenkrantz 1477628c13 only show parent directory for desktop icon menus if going to the parent directory is allowed
SVN revision: 76657
2012-09-14 10:25:30 +00:00
Mike Blumenkrantz 4c9de587c9 directories without parents enjoy having terminals opened in them as well
SVN revision: 76656
2012-09-14 10:22:40 +00:00
Mike Blumenkrantz 33746eeffe split out fileman menu functions into separate file, put icon navigate menu into different callback to simplify menu creation
SVN revision: 76654
2012-09-14 10:17:31 +00:00
Mike Blumenkrantz 626505bdae stringshare class before iterating through remembers since the remembers list can be quite long
SVN revision: 76641
2012-09-14 07:02:06 +00:00
Mike Blumenkrantz 121c7d4a7a prevent efm window resizing on directory change, actually use default efm window geometry instead of making weird/wrong calculations based on scaling and icon size
SVN revision: 76640
2012-09-14 06:53:21 +00:00
Mike Blumenkrantz 57424d18a4 improve spring-loaded drag windows to allow springing from the sidebar and avoid closing when dragging past a sidebar
SVN revision: 76623
2012-09-13 16:35:08 +00:00
Mike Blumenkrantz 1d64e8144b null check fwin when dnd ends
SVN revision: 76618
2012-09-13 15:40:03 +00:00
Mike Blumenkrantz 6361dbf41a allow only one spring window per window, close others as necessary
SVN revision: 76616
2012-09-13 15:19:06 +00:00
Mike Blumenkrantz 153079e8bd rename icon mouse in/out smart callbacks to use underscores instead of commas
SVN revision: 76603
2012-09-13 10:51:50 +00:00
Mike Blumenkrantz 684694fa11 yet another not-awaited efm feature: spring-loaded folders! just drag onto a directory and wait for the spring
SVN revision: 76602
2012-09-13 10:49:22 +00:00
Mike Blumenkrantz 457152dc16 fix desktop path storing to be more successful, also now store desktop view modes for all desktops
SVN revision: 76584
2012-09-13 07:18:13 +00:00
Carsten Haitzler c2bbda53ee make it the exact same disable comment too.
SVN revision: 76568
2012-09-13 00:43:26 +00:00
Carsten Haitzler 56ebc29f14 fix morning discomfitor b0rks.
SVN revision: 76567
2012-09-13 00:41:30 +00:00
Carsten Haitzler e469686e14 disable saving of desktop path until such a time as it isnt broken in
multiple ways :)



SVN revision: 76566
2012-09-13 00:30:57 +00:00
Mike Blumenkrantz 1ba91398ee efm now saves your first screen's desktop directory when desktop navigation is enabled so that it can display that directory on subsequent startups
SVN revision: 76547
2012-09-12 16:42:29 +00:00
Mike Blumenkrantz e7147dd081 prevent view mode from being changed in fsel and sidebar
SVN revision: 76390
2012-09-10 10:32:21 +00:00
Mike Blumenkrantz 01ecf27697 prevent efm popups from being created for files/directories the user cannot read
ticket #1471


SVN revision: 76383
2012-09-10 09:08:24 +00:00
Mike Blumenkrantz c15989c37f rename E_FM2_MENU_NO_NEW_DIRECTORY -> E_FM2_MENU_NO_NEW, disable New menu in sidebar
ticket #1472


SVN revision: 76382
2012-09-10 09:03:21 +00:00
Mike Blumenkrantz ff9ca76afc fix fileman bug where trying to open a .desktop file that was a link to a directory would fail
SVN revision: 76288
2012-09-07 08:29:20 +00:00