Commit Graph

281 Commits

Author SHA1 Message Date
Mike Blumenkrantz ee5be41194 Revert "mixer: Optionally select an external mixer application."
This reverts commit e4e2550484.

apparently some people don't know what "feature freeze" means...
2014-08-29 10:38:51 -04:00
Brian 'morlenxus' Miculcy e4e2550484 mixer: Optionally select an external mixer application.
This feature allows to define an external mixer application, which replaces the internal mixer.
Examples: 'terminology -e alsamixer', 'pavucontrol'
@feature
2014-08-29 15:32:05 +02:00
Mike Blumenkrantz 290e2369d3 s/sumary/summary/g 2014-07-30 19:18:24 -04:00
Mike Blumenkrantz 30e4ed9439 block mixer crashes during init
fix T1305
2014-06-02 09:13:55 -04:00
Chris Michael 3441777965 fix formatting
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:54:26 +01:00
Chris Michael 05ecdaab79 add missing EINA_UNUSED for unused param
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-05-17 17:54:05 +01:00
Mike Blumenkrantz 9157ca8ca7 all dialogs are now resizable
any bug reports regarding issues resulting this will be ignored.
2014-05-14 13:00:35 -04:00
Jérémy Zurcher 7ff5a2a744 fix launch mixer from config panel, select card and channel 2014-05-07 14:44:10 +02:00
Mike Blumenkrantz e6e764cba9 check more pulse mixer returns
CID 1039959, 1039960
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz ed4eb3b6e0 check pulse mixer fd dup return
CID 1040123
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 4b58fa9a4e replace ev->keyname with ev->key
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
2014-03-13 13:03:34 -04:00
Mike Blumenkrantz 94072211c3 fix mixer config leak on config failure
CID 1135539
2014-03-13 10:31:07 -04:00
Jean-Philippe Andre 7ffc096341 Mixer: Fix crash when closing mixer settings
app can already be NULL at this point, when called from _cb_win_del().
2014-01-15 12:37:59 +09: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 4c9123c9b4 fix weird pulse crash when sink name is NULL (wtf?) 2014-01-14 20:22:01 -05:00
Mike Blumenkrantz 2a01f4b3cb bugfix: delete mixer's pulse exe handler after it's started so desklock doesn't break 2013-12-23 14:02:06 -05:00
Mike Blumenkrantz be6351f15e fix mixer regression which broke non-pulseaudio support 2013-12-21 09:26:57 -05:00
Mike Blumenkrantz 02e95afdf3 use regular ecore-exe for pulse start to not track launch 2013-12-16 08:16:36 -05:00
Mike Blumenkrantz c7a23ab5bd don't crash when pulse exec deletes itself during startup timer 2013-12-15 17:03:38 -05:00
Mike Blumenkrantz 39cf0a5a1b try connecting to pulse on a timer after it gets started in case it's a slow startup 2013-12-15 10:13:37 -05:00
Mike Blumenkrantz bccda8e7b3 try running start-pulseaudio-x11 from mixer 2013-12-15 08:56:52 -05:00
Carsten Haitzler 9da3c339ba mixer - address duplicate bindings for the same action with timeout
use time logging to not allow actions within a small window of time
from eachother. this fixes T620 - or should.
2013-12-10 18:48:20 +09:00
Jérémy Zurcher ac094ed72a mixer: add option disable_pulseaudio
- checkbox in module config
  - default to false
  - if set, do not start pulseaudio even if available
2013-12-06 09:52:15 +01:00
Jérémy Zurcher be68dc962e mixer: load module config in e_modapi_init(), same as others 2013-12-06 09:50:39 +01:00
Mike Blumenkrantz fc9e8865cf only try to start pulseaudio once 2013-11-30 16:37:27 -05:00
Mike Blumenkrantz dc63fb0a0c remove some eldbus stragglers from pulse mixer 2013-11-30 11:16:20 -05:00
Mike Blumenkrantz 8c1f521738 fix pulse mixer startup
dbus starting this is the wrong way to go I guess, e_exec is much simpler

fix T410 just in time for release!
2013-11-30 11:11:30 -05:00
Jérémy Zurcher 1a2865abec mixer: gadget conf set card name when none 2013-09-26 16:50:54 +02:00
Igor Murzov 519c4de7f6 Revert "updating desktop files"
This reverts commit 22f7a34e23.
2013-09-04 04:11:13 +04:00
maxerba 22f7a34e23 updating desktop files 2013-07-31 12:08:42 +02:00
maxerba b7ba1dea64 Adding serbian localization in desktop files 2013-07-08 13:33:29 +02:00
maxerba 26303bbe1f Fixed sorting in desktop files 2013-07-05 19:02:53 +02:00
maxerba 5deed35ac2 adding catalan translation and sorting lines alphabetically 2013-06-05 00:16:38 +02:00
Carsten Haitzler 6ce67eca01 ensure pa autho info is 0'd out so valgrind doesnt complain about reading uninitialized data. 2013-05-23 21:39:33 +09:00
discomfitor c34a28707f e_popup_autoclose() now also allows a delete function to replace normal popup deletion 2013-05-18 19:39:52 +01:00
Lucas De Marchi f8a2dd4d95 Rename edbus->eldbus 2013-04-23 12:37:43 -03:00
Jérémy Zurcher 21be5a7e61 mixer: factorize popup&gadget balance&volume code 2013-04-23 15:03:21 +02:00
Jérémy Zurcher c24bdf66df mixer: prevent mem leak and let default card setup on empty module
config
2013-04-23 10:57:28 +02:00
Carsten Haitzler 1bd06b4a8d oops - didnt fix pa RIGHT... now its fixed - detects pa native socket
properly if its an XDG_RUNTIME dir.
2013-04-22 00:31:22 +09:00
Carsten Haitzler 2a7a3a557f e17 mixer - use XDG_RUNTIME_DIR for finding pulse... and have more
generous fallbacks.
2013-04-21 00:42:34 +09:00
Carsten Haitzler 0985de0051 if inst->channel is null... dont segv at least in mixer. 2013-04-21 00:17:12 +09:00
Jérémy Zurcher 3f34680b7a reprotect _mixer_popup_key_down_cb
/me still asleep, it's better like this
2013-03-30 10:14:45 +01:00
Jérémy Zurcher cf2ef255c4 fix _e_popup_autoclose_key_down_cb
- uses autoclose_popup->key_data as autoclose_popup->key_cb data
  key_data is provided at cb registration through e_popup_autoclose(…)
- re-enable _mixer_popup_key_down_cb
2013-03-30 10:07:05 +01:00
Carsten Haitzler 8fc839e9c8 mixer key control broken .. to the point it segs now. :) patch over
seg. :)
2013-03-29 19:24:22 +09:00
Jérémy Zurcher 46230e204c mixer: cleanup card and channel selection code path
_populate_channel_editor:
   use app->sys_card_name instead of
e_mod_mixer_card_name_get _populate_channels:
   select default channel or first one
_create_cards:
   do not reselect card and channel
e_mixer_app_dialog_select:
   cleanup, remove unused _find_card_by_name and _find_channel_by_name
_mixer_popup_cb_mixer:
   do not modifiy current selection on popup
2013-03-06 16:05:20 +01:00
Jérémy Zurcher 01e98a4534 mixer: remove unused mixer functions
remove e_mod_mixer_channel_name_get, e_mixer_xxxx_get_channel_name e_mixer_xxxx_set_state
2013-03-06 16:05:20 +01:00
Jérémy Zurcher 6ef3c743ef mixer: use channel capabilities in alsa subsystem
use capabilities bitmap to more precisely target the right alsa calls
2013-03-06 16:05:20 +01:00
Jérémy Zurcher cadd6ca38f mixer: remove e_mod_mixer_mutable_get and e_mod_mixer_capture_get
it's handled by channel capabilities
2013-03-06 16:05:20 +01:00
Jérémy Zurcher 00681f3ada mixer: take advantage of Channel capabilities bitmap
split channels list into 4 groups:
   Playback, Capture, Switch, Boost
nicely disable volume sliders and mute check when appropriate
2013-03-06 16:05:20 +01:00
Jérémy Zurcher b34e7b440d mixer: replace E_Mixer_Channel_Info has_capture with capabilities
capabilities is a bitmap with the following defined bits:
   E_MIXER_CHANNEL_CAN_MUTE       0x01
   E_MIXER_CHANNEL_IS_MONO        0x02
   E_MIXER_CHANNEL_HAS_CAPTURE    0x04
   E_MIXER_CHANNEL_HAS_PLAYBACK   0x08
2013-03-06 16:05:19 +01:00