Commit Graph

6296 Commits

Author SHA1 Message Date
Stefan Schmidt 4ec3258ded docs: Fix bugtracker URL to point to phab and not trac. 2013-11-19 14:30:54 +01:00
Sebastian Dransfeld b926ac2f51 gadman: Check for valid objects
Fixes T522
2013-11-17 23:45:56 +01:00
Stefan Schmidt 0afd8e8910 Avoid umask problem with mkstemp by using eina_file_mkstemp
Instead of handling umask in every mkstemp case we can simply use
eina_file_mkstemp for this.

CID: 1039806
2013-11-15 16:34:55 +01:00
Stefan Schmidt 56fe7e4e5b conf_randr: Compare mode against correct smart data.
This copy and paste bug compared the sd mode against the parent sd mode.
Classical c&p bug when having two blocks of code so similar.

CID: 1039954
2013-11-15 15:55:45 +01:00
Carsten Haitzler fdc9b52299 randr dialog - fix badly broken screen resizing logic. now it works reliably. 2013-11-14 15:10:36 +09:00
Davide Andreoli 771c352281 music-control: do not request props if the service is not up.
This prevent music player that support the dbus activation system
to be launched at module startup. Instead of blindly request properties
first check if the name has an owner.

As a side effect now the module fully support the dbus activation system:
if your player is not running it will be launched when you click his
name or any of the controls in the popup.

Note: If your player does not provide the autorun feature you can just
create a .service file in dbus share folder with the following content:

[D-BUS Service]
Name=org.mpris.MediaPlayer2.quodlibet
Exec=/usr/bin/quodlibet

...of course you must change the name of your player ;)
2013-11-11 23:40:27 +01:00
Davide Andreoli 5920551f15 music-control: use efreet to decode uri
This fix the cover image display when spaces (and probably other special chars) are in the file name.
2013-11-11 21:53:16 +01:00
Davide Andreoli 2ef11b928e music-control: add Quod Libet in players list 2013-11-11 20:45:29 +01:00
Carsten Haitzler baadcee049 check e passes distckec and set up a 0.18 alpha1 2013-11-05 16:44:30 +09:00
Sebastian Dransfeld 51a7ff2847 e/randr: lower monitor on middle click
If monitors are stacked above each other it is diffiult to find the
monitor below.
2013-11-04 11:16:05 +01:00
Davide Andreoli 2822d8e22b music-control: let the popup automatically delete the cover image.
This way the image of the cover is deleted after the popup-del animation.
2013-11-02 23:09:38 +01:00
Carsten Haitzler a1d1e40559 elm integration improvement - copy themes over, fix includes and null config
provide a config upgrade path to version 13 which nulls/frees out
theme config (save memory - but more housekeeping), and that also
copeis ofer all files in ~/.e/e/themes to ~/.elementary/themes so you
don't lose themes you personally have and deletes the old e theme dir
if this succeeds.

also remove all #includes of Elementary.h and Emotion.h from single c
files as they are requirements now and in e.h

also remove theme path vars and code as theme path is no longer used.
2013-11-01 15:53:05 +09:00
Carsten Haitzler 4b4a51d189 elm theme use - use elementary only for themes and remove e's own theme
now e only uses elementary's theme. this is to stop the bitrot and
forking of e's theme vs the unified elm theme that has everything for
e in it already. this obviously makes elm a requirement of e18 on, and
this also notes that emotion is always in efl these days, so its no
longer an option, and ecore-imf is no longer used as edje does the
entires now itself. in future it'll all be elm.

this is a major unification point for themes for elm and e. this will
need some testing, but everything seems to work day-to-day, but theme
selector is untested.

this also removes the theme selector for splash as that is now simply
unified with the same theme as everything else.
2013-10-31 23:36:22 +09:00
Carsten Haitzler 6eca480e76 make emotion as well as elm requirements, ecore-imf is not used anymore. 2013-10-31 17:12:32 +09:00
Davide Andreoli 410c2a398d music_control: add metadata (title, artist and album) and the cover image to the popup
Reviewers: zmike, zehortigoza

Reviewed By: zehortigoza

CC: cedric

Differential Revision: https://phab.enlightenment.org/D272
2013-10-28 22:55:10 +01:00
Mike Blumenkrantz c2e0679c3d unbreak temp module exe event handlers
returning 0/DONE breaks successive handlers, and that's really bad if you're breaking handlers for exes that you don't own.
2013-10-28 13:22:28 +00:00
Carsten Haitzler 221631ef19 suspend/resume handler in clock - fix and use handler that doesnt need eio ev 2013-10-23 10:03:56 +01:00
Carsten Haitzler ab3930c66a remove not connect. tnks gustavo 2013-10-22 15:55:00 +01:00
Carsten Haitzler 5f60606ffe connman - tenatively add remove api - needs hooking into ui for "forget" 2013-10-22 07:56:28 +01:00
Carsten Haitzler fdbb4525a2 clock - use system timerfd change event in ecore and fix eio monitor of tz
this now uses the system ecore timedate change event instead of a
local timerfd. centralized implementation now.

also it fixes yhe eio monitor to ALSO monitor /etc as well to detect
changes to timzesone and filter down to the files needed.
2013-10-22 07:56:01 +01:00
discomfitor 481258b07b use livethumb instead of preview for tw popups to make transparency look less horrendous 2013-10-20 13:40:41 +01:00
Chris Michael ee0a87773c Fix rare bug where getting refresh rate may cause a crash if
mode->name is NULL by checking mode id instead of name.

Also if we are disabling a monitor, set current mode to 0.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-10-17 18:07:22 +01:00
Mike Blumenkrantz 54b71428ca fix crash when activating e restart from start menu 2013-10-15 11:45:31 +01:00
Chris Michael 0d03652c84 Improve monitor resize/mouse interaction (hopefully).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-15 10:18:20 +01:00
Chris Michael 886a5c4808 Fix randr cloning support with odd monitor sizes
Now, if a clone cannot be set to the same resolution as the parent,
then we will go through all the parent modes and try to find one that
Both support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-14 09:07:26 +01:00
Chris Michael 0d28595b66 Fix issue where randr dialog would crash when trying to close after
cloning.

Don't free the mode_info returned from mode find as this mode info is
still part of the monitors collection of modes.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-14 08:30:22 +01:00
Mike Blumenkrantz 408dbec23d set pager_popup name on pager popups 2013-10-14 05:04:01 +01:00
discomfitor 9226b89c41 fix basic click focus settings apply
forgot to update them after removing focus-raise
2013-10-10 06:54:44 +01:00
Mike Blumenkrantz f9ce4a88e0 fix click focus wizard defaults 2013-10-08 08:21:32 +01:00
q66 8e860facf4 music control: add Clementine 2013-10-07 18:16:42 +02:00
Mike Blumenkrantz f1a65ee922 remove "border_raise_on_focus" config option
buckle up. for the first time in history, a config option is getting removed instead of added.

the reasons for this removal are many, but let's go way back to the beginning and see why it was added:
oh wait, we can't because the commit message (from 2006) is

>>    patches that i said were in - commit. (see my reply emails)

>>    also finish off a TODO item or 2

reading through the TODO items which were also crossed off in that commit, I'm assuming that this was the "option to NOT raise on focus in click to focus" item.

== REASON 1 ==

the problem here is that there's another, BETTER option called "click raises window" (always_click_to_raise) which does the same thing, except it doesn't totally fuck you when you get a random X focus event, which happens more often than you might think.

this means that, to avoid broken behavior which might cause your windows to spastically raise for a few frames in common cases (using winlist...) with click-to-focus, you have to know that this is the default-enabled option that's fucking you, and you have to remember to manually disable it every time. if you DON'T know that this is the option that's fucking you, and you just see windows randomly raising on their own, you'll probably either ignore it or file a bug, when this is supposed to be a "feature" that actually worked in reverse, since it was intended only for disabling.

== REASON 2 ==

there's also auto-raise, which can be set to 0.0s, which is effectively the same thing since it also triggers on focus but can be configured not to fuck your window stack

== REASON 3 ==

aaand finally, this option makes any sort of pointer focus model impossible to use, since your windows will constantly be raising all over as you move the mouse

tl;dr: I'm removing it, e-dealwithit.gif
2013-10-07 06:49:33 +01:00
Mike Blumenkrantz 3c343db349 fix annoying gadman crash when plugging screens 2013-10-07 04:18:26 +01:00
Mike Blumenkrantz 8956de3359 cosmetic variable declaration movement 2013-10-07 04:16:24 +01:00
Mike Blumenkrantz 54055e4125 default clock gadget config is now digital with seconds display disabled
I've never seen anyone use the analog clock, so this should save people some time when adding new clocks on their screen

next step: make the clock able to do timezones...
2013-10-07 04:01:29 +01:00
maxerba 0b463d2d1a Removing blank entries from desktop files 2013-10-05 14:32:17 +02:00
Mike Blumenkrantz fbe015de2e bugfix: fileman spring window closing on desktop when dnd ends 2013-10-03 09:45:26 +01:00
Jérémy Zurcher 1a2865abec mixer: gadget conf set card name when none 2013-09-26 16:50:54 +02:00
Chris Michael 2b4a0e675b Fix RandR dailog issues.
- Detect when cloning is changed and update monitor "changes"
- When cloning, we cannot necessarily match parent's Mode, so find a
mode which matches on Size.
- Fix mouse pointer change issue where pointer was not being unset.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-26 12:15:34 +01:00
Chris Michael 7a2bfc7907 Add Clone Change to Changes Enum
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-26 12:15:34 +01:00
Carsten Haitzler d77faef91b fix pager segv... set active_pd to null if we are emptying pd's! 2013-09-25 12:59:17 +09:00
Chris Michael 58131a4274 Update shell for recent upstream wayland/weston changes.
- Update shell to support multiple resources on the client side

 NB: Fixes zmike wayland client crash issue ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-24 15:22:12 +01:00
discomfitor 3694ec8a4c force autoscroll on ibar when allowing random apps to dock
T379
2013-09-20 15:35:01 +01:00
discomfitor f7e8dee23c when clicking an ibar icon for a non-order icon that has only one window, activate the window
T375
2013-09-20 15:08:06 +01:00
discomfitor b75f10b68b block ibar client adds for .desktops without icons
T388 probably
2013-09-19 20:09:40 +01:00
Chris Michael 09768f143c Fix zmike issue w/ surface losing focus when we move/resize.
- Check if surface is still focused by the pointer on focus_out events
   NB: Needed due to spurious focus_out events we receive from evas/edje
 - On spurious mouse_out event, check if pointer is actually still
inside the surface.
 - Cleanup Move and Resize Grab code (don't need a binding event
struct here).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-12 15:02:59 +01:00
Mike Blumenkrantz 964bf73ed9 tweak teamwork default settings to make it more useful 2013-09-12 09:32:42 +01:00
Mike Blumenkrantz bdd0bc624d add wl surface -> e_border mapping 2013-09-11 09:02:53 +01:00
Carsten Haitzler 3b539d4a0f reverse tablet enabled/disabled in config dialog. 2013-09-09 18:41:10 +09:00
Chris Michael 0844e29c63 Add missing __UNUSED__
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-09-09 07:33:08 +01:00
Carsten Haitzler c7694a9e6a add simple tablet acpi button event. 2013-09-09 11:29:14 +09:00
discomfitor 2f2df6346c fix harmless cast warning 2013-09-06 15:57:28 +01:00
discomfitor c27a0594c0 delete pager popup timer...always. 2013-09-06 15:55:58 +01:00
discomfitor b5c837b61e fix pager visual fade out 2013-09-05 19:01:17 +01:00
discomfitor fb9881e4bf menu callbacks should never deactivate their menus... 2013-09-05 17:25:57 +01:00
discomfitor e61e2e2a76 formatting 2013-09-05 17:03:26 +01:00
Igor Murzov 928067fa97 Update russian translation 2013-09-04 04:11:14 +04:00
Igor Murzov 519c4de7f6 Revert "updating desktop files"
This reverts commit 22f7a34e23.
2013-09-04 04:11:13 +04:00
Mike Blumenkrantz d0ddc48425 null check here in case someone decides to try crashing their compositor for fun? 2013-09-03 14:09:38 +01:00
Mike Blumenkrantz 1d2b1340a9 teamwork action can now show any uri on demand 2013-09-02 14:51:08 +01:00
discomfitor 944cfd246d since we're now requiring an efl version which has the necessary ecore-x functions, remove old and not-compiling ecore-x randr code which obviously has never been compile tested 2013-08-31 15:07:15 +01:00
discomfitor 0b4528f3a4 this job struct member is a job, not a timer 2013-08-31 15:06:39 +01:00
discomfitor 25de811511 in a move which is likely to make me both hugely popular and unpopular, I'm removing the "extra desktops" that we've been shipping for a few years
this was, I guess, an attempt to provide users with an easily accessible ibar icon when starting a new config. problem: xterm isn't installed by default on ANY distributions! so now we end up providing a launcher which is guaranteed to fail, and that makes us look pretty stupid. same thing goes for mplayer.

regardless of whether they're installed, however, these aren't our apps, so we shouldn't be trying to provide .desktops for them: doing that tell users that we support and recommend the use of these apps, and I'm not prepared to make that claim for any app other than powerpoint.
2013-08-31 14:46:17 +01:00
Mike Blumenkrantz 34019ff85a feature: Navigate menu item now opens $HOME 2013-08-30 14:58:17 +01:00
Chris Michael 2aed20988c Get keysym from X on key_up.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-28 09:43:05 +01:00
Chris Michael ac27edb524 Remove redundant useage of grab pointer.
Add safety checks for pointer button_count.
When releasing a busy grab, also check if surface is NULL.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-28 08:16:02 +01:00
Carsten Haitzler cf3c77aefd allow enter/kp enter/space to select a desktop when pager popup is up 2013-08-25 19:29:39 +09:00
Carsten Haitzler 83e7883ec9 allow cpufreq config to be accessed without a gadget - pstate necessity 2013-08-24 19:22:39 +09:00
Chris Michael 5392c1884c Hook into mouse_wheel events for surface.
Send wheel event to the pointer interface.

NB: Discomfitor/Zmike .. You Have Mouse Wheel Support Now !! ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-23 11:22:23 +01:00
Mike Blumenkrantz b14d484ad1 uniconify+unshade selected window on winlist hide 2013-08-22 14:55:57 +01:00
Mike Blumenkrantz 0775d755fa formatting 2013-08-22 11:34:45 +01:00
Chris Michael 32b1e742c7 Revert "Remove call to ecore_x function for getting keycode."
This reverts commit ccb72c38ca.

Revert this (for now) because it breaks key input for wayland apps running
inside of X. Need more time to look into it....
2013-08-21 14:41:46 +01:00
Mike Blumenkrantz 4ff926f986 set some better focus-raise defaults after recent raise-on-focus fix 2013-08-21 09:29:39 +01:00
Mike Blumenkrantz c93467177a another ecore-x instance in wl_desktop_shell 2013-08-21 07:17:33 +01:00
Chris Michael ccb72c38ca Remove call to ecore_x function for getting keycode.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-20 09:56:19 +01:00
Mike Blumenkrantz d2948e941a remove unnecessary compositing check in engine config...we're always compositing 2013-08-19 14:42:33 +01:00
Carsten Haitzler 8b65fe069c pollers by default are in 1/8th of a second in ecore.... 32 made no sense. 2013-08-18 21:36:19 +09:00
Chris Michael 9d2b22553a Revert this button_count change for now (breaking move/resize here).
Revert "Remove button increments/decrements from interface callbacks as these"

This reverts commit 2dce6d935f.
2013-08-16 13:26:19 +01:00
Chris Michael 6a8524259a E configs ping interval for clients is in ticks. Wayland event source
timers are in mils ... let's do some multiplication here to stop
clients from pinging out all the time and getting killed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 13:20:59 +01:00
Chris Michael 2dce6d935f Remove button increments/decrements from interface callbacks as these
are done in the mouse up/down callbacks.

NB: Thanks for the report Mike ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 13:03:16 +01:00
Chris Michael 1dca808f98 Get the pointer grab from the compositor's input
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 11:55:50 +01:00
Chris Michael bd9da64552 No need to allocate a grab here if we are just setting busy cursor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 09:51:20 +01:00
Chris Michael 9325324c03 Increment/Decrement button count in the button handlers, not in the
border hooks.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 09:49:52 +01:00
Chris Michael 85d881d57b On ping timeout, get grab coordinates from compositor, not from surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-16 09:46:27 +01:00
Chris Michael 4ea6be012b Remove call to ecore_evas_free (border tries to free this already).
Fix wayland-client application moving and resizing to work again.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-15 14:22:12 +01:00
Mike Blumenkrantz 900cc00b35 highlight correct keybinding when modifying an existing binding
T294
2013-08-15 09:46:44 +01:00
Mike Blumenkrantz 2679063067 send ibar icon signals even when app instances exist 2013-08-15 09:46:44 +01:00
Mike Blumenkrantz 71d6c94b10 use e list macros for pager event handlers 2013-08-15 09:46:44 +01:00
Chris Michael 21f267d007 Fix bug in shell which was causing wayland clients to always have
input stuck in upper case if Shift was pressed than released.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-14 14:02:23 +01:00
Mike Blumenkrantz cf76a4b142 remove redundant pager desk selection for pager popups on flip 2013-08-14 13:46:21 +01:00
Mike Blumenkrantz 517d537dfa don't iterate over pager desks to set active/inactive, this is stupid. 2013-08-14 12:53:03 +01:00
Mike Blumenkrantz 5afa40b352 remove some old pre-comp pager cruft 2013-08-14 12:49:17 +01:00
Mike Blumenkrantz 64dff19707 ignore wl shell client move/resize end hooks for now
wayland has no concept of non-pointer-based move/resize, so if these get triggered by, eg. a keyboard action, we're pretty fucked
2013-08-14 08:05:57 +01:00
Mike Blumenkrantz bba1dcfad7 don't wl shell grab on inactive shell surfaces when trying to set busy cursor; fixes infinite loop caused by ping timeout 2013-08-14 07:53:46 +01:00
Chris Michael 37e2134cf7 Fix crash when trying to move wayland client applications.
Add callbacks for e_desktop_shell interface functions (cannot be NULL
anymore).
When we bind the wl_shell, we will create the e_desktop_shell.

NB: The e_desktop_shell was not being created or bound to the display
globals.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-13 14:51:00 +01:00
Mike Blumenkrantz bf3ff4a5d1 gadman checks aspect hints during size hint change callback 2013-08-13 11:28:02 +01:00
Mike Blumenkrantz 1d324abd7a changing gadman gadget orientations using menu now guesses new orientation sizes much more accurately 2013-08-13 11:20:39 +01:00
Mike Blumenkrantz f92175c39f only add gadman menu orient callbacks if orient is not current orient 2013-08-13 11:20:15 +01:00
Mike Blumenkrantz 84dc539ddf ibar obeys max size hint 2013-08-13 11:04:55 +01:00
Mike Blumenkrantz 28cc3f0a0a gadman now respects gadget aspect and sets max size hint while resizing gadgets 2013-08-13 11:04:36 +01:00
Mike Blumenkrantz 0bb7ceb97c ibar now sets min size on init and then sets ASPECT on resize, since this is how we get correct sizing without being unable to ensmallen the gadget 2013-08-13 11:02:50 +01:00