Commit Graph

7190 Commits

Author SHA1 Message Date
Mike Blumenkrantz 62c4384ed9 allow client icon change events in ibar client prop handler
fix T2284
2015-04-13 16:17:13 -04:00
Mike Blumenkrantz 5d6ca39e7d check correct number of params passed to internal/desk cfd
fix T2221
2015-04-13 15:54:12 -04:00
Mike Blumenkrantz ab9d2723a5 only set shot window layer if taking window shot
fix T2282
2015-04-13 15:47:23 -04:00
Jean Guyomarc'h 33631fa622 modules/bluez4: fix duplicated symbol
Summary:
Global variable should be declared as extern to avoid symbol duplication.
Fix compiling of ebluez4 module on OS X.

Test Plan:
Since Enlightenment cannot (yet) be fully compiled on OS X, I cannot test
the real-life impact of this change.

Reviewers: zmike, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2327
2015-04-13 15:26:54 -04:00
Tom Hacohen 64f1f7fcff Tiling: don't tile centered windows.
This broke with the change to elm (so within this release cycle). Tiling
wasn't properly detecting windows who become centered after creation as
there was no e event for that. This is now fixed, and a blanket solution
for similar gotchas has been implemented (otherwise known as a hack).

Thanks to Mike for helping out.
2015-04-13 11:20:09 +01:00
Daniel Kolesa 4389030678 tempget: Add more temperature sources for FreeBSD
Summary:
Not all motherboards have 'hw.acpi.thermal.tz0.temperature' sensor.
Fallback to 'dev.cpu.0.temperature' (provided by coretemp(4) or
amdtemp(4)), or 'dev.aibs.0.temp.0' (aibs(4)) (per suggestion of Dmitry
Luhtionov).

Test Plan: Ran `src/modules/temperature/tempget` manually with some debugging printfs and various sensors commented out. I can only test tz0 and dev.cpu (coretemp(4)) on my system.

Reviewers: zmike, q66

Reviewed By: q66

Subscribers: seoz

Projects: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D2335
2015-04-13 11:02:33 +01:00
Bertrand Jacquin d1714ab45a MEDIUM: modules/shot: switch to https://
This is needed since www.enlightenment.org is now using https:// only due to
login forms
2015-04-11 23:56:20 +01:00
Stefan Schmidt 95d7012077 build: Remove generated eldbus files during normal clean and not only maintainer-clean
These generated files should be cleaned up during a normal run of make clean.
2015-04-10 12:25:15 +02:00
Mike Blumenkrantz ee30e25f9d make connman agent dialog resizable and autosized
fix T2279
2015-04-09 18:45:17 -04:00
Tom Hacohen 09d0de9a9e Module Music control: Don't build if disabled.
The whole point of supporting disabling modules is to actually
be able to disable them. :).

@fix.
2015-04-09 23:33:42 +01:00
Mike Blumenkrantz b2357f73c8 add xkb options scroller as subobj to toolbook widget
ensure chain of e_widgets for cfd changed policy

fix T2146
2015-04-09 18:01:52 -04:00
Jean Guyomarc'h 0ea7858f77 modules/battery: fix compiling on OS X
Summary:
Battery module relies on Apple's CoreFoundation (CF), but CF's CFLAGS
were not provided to this module.

Test Plan: Enlightenment now compiles on OS X.

Reviewers: zmike, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2328
2015-04-09 17:41:22 -04:00
Mike Blumenkrantz 81584412e1 set xkb dialog as changed after adding a new layout
ref T2271
2015-04-09 15:15:04 -04:00
Mike Blumenkrantz 276706ab9d match client dialogs to client's layer
a small annoyance for literally over a decade has been that window
dialogs would sometimes start behind their owners. now they don't.
2015-04-09 14:40:41 -04:00
Conrad Meyer d96517fce3 Mixer Pulse: Fix trivial use-after-free.
Summary: Don't use memory after freeing it.

Fixes T2274

@fix

Reviewers: raster, zmike

Subscribers: abyomi0, zmike

Projects: #enlightenment-git

Maniphest Tasks: T2274

Differential Revision: https://phab.enlightenment.org/D2301

Commit message updates by: Tom Hacohen
2015-04-09 10:37:59 +01:00
Carsten Haitzler da4d1ecfe8 add options to randr2 to ignore acpi and hotplug randr events. 2015-04-09 15:44:07 +09:00
Stefan Schmidt 20fef454f6 build: Allow to define path for eldbus-codegen binary
Since the geolocation and music-control changes we need eldbus-codegen to
generate some files. Not all setups have this in their normal $PATH so let
allow these setups to set the correct path during configure. This allows our
Jenkins setup as well as others to work again.
2015-04-08 18:20:29 +02:00
Mike Blumenkrantz a5012da244 remove all debug output from mixer module
fix T2274
2015-04-07 19:35:50 -04:00
Mike Blumenkrantz 665f24b030 prepend geolocation build dir to cppflags
elocation headers conflict with these, so ensure that our headers get picked up first

 #glimaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2015-04-07 13:43:45 -04:00
Stefan Schmidt afdbe1ce88 music-control: Mimic explicit file deps fix from geolocation.
This was already firxed for geolocation in
7a1163a1ad but I forgot to integrate it in
my last patch. Thanks to Scimmia for pointing it out.
2015-04-07 17:45:52 +02:00
Stefan Schmidt adfd0ef736 everything: Actual return something in non wayland only-mode
While making it work for wayland only the return got missing.
2015-04-07 17:35:22 +02:00
Stefan Schmidt ebbe441f6a everything: win variable is only used inside ifdef.
We only use this in not wayland only mode so ifdef the variable as well.
2015-04-07 17:32:56 +02:00
Stefan Schmidt 4a2432f593 music-control: Generate eldbus files during compile
Better have up to date eldbus files generated from the xml instead of
keeping the generated files around.
2015-04-07 17:26:37 +02:00
Mike Blumenkrantz 2fc7b0169c move colorclass config to use elm infra, redo cc dialog to use new editor
this will allow all colorclasses present in the current theme to be edited
instead of only the hardcoded ones in the module. it will also require
completely new translations, for which translators will need to read the edc
files of the default theme (cleverly located in another repo) and provide
translations to the _translate() callback in the theme module

the editor currently lacks indicators for active/type on the colorclass
list, but this can be added in time. meanwhile, a large amount of code is
no longer duplicated or maintained in this repo
2015-04-06 15:26:36 -04:00
Chris Michael 3ddad83f79 wl-drm: If we end up using software_drm, then override elm preferences (ala X compositor)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-06 16:01:39 -04:00
Chris Michael ca6c46d0c8 wl-drm: Hook into ecore_evas_resize callback to update comp canvas
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-06 15:59:59 -04:00
Chris Michael 3b3a47f5ce wl-drm: Remove output event handler when we shutdown
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-06 15:57:55 -04:00
Chris Michael 8fc1c5583e wl-drm: Remove need for extra E_Comp variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-06 15:57:09 -04:00
Mike Blumenkrantz 7a1163a1ad add explicit file deps for geolocation eldbus generated files
some setups have stricter dep chain following during make which causes
build errors if the chain does not explicitly have the generated files
as a dep of the files for which they are included
2015-04-05 21:16:37 -04:00
Mike Blumenkrantz f6e8305309 geolocation module build: now with fewer generated files!
also fix distcheck of geolocation edj file by not compiling it
2015-04-02 15:14:11 -04:00
Mike Blumenkrantz 8a5ce37b99 fix geolocation compile 2015-04-02 15:14:11 -04:00
Stefan Schmidt 0d05be5fda modules/geolocation: Add source file for artwork.
In case someone wants to play around with it. Given my little art skills I would
be happy if anyone wants to enhance this. :)
2015-04-02 15:14:11 -04:00
Stefan Schmidt c09997c8e8 modules/geolocation: Ignore now generated edj in git 2015-04-02 15:14:11 -04:00
Stefan Schmidt 93c69f69ea modules/geolocation: Add module theme and icons.
This is likely to change a bit until it stabilize so we keep the theme
with the module for now.
2015-04-02 15:14:11 -04:00
Stefan Schmidt 7dbea1c1f1 module/geolocation: No need to init and shutdown eldbus as E handles that
Another thing spotted by the review from zmike.
2015-04-02 15:14:11 -04:00
Stefan Schmidt 4acf514f52 modules/geolocation: No need to set popup to NULL here.
This is already handled by E_FREE_FUNC. Thanks to zmike for spotting this
during review.
2015-04-02 15:14:11 -04:00
Stefan Schmidt 0d9eaa3647 modules/geoloation: Do not stop the client for now as we cannot enable it again
There is a problem with GeoClue2 version 2.0.0 that does not allow to start a
client again after stopping it. Need to investigate newer versions about this.
For now keep it running until it times out.
2015-04-02 15:14:11 -04:00
Stefan Schmidt 946390c62a modules/geolocation: Fix naming for the whole module to be geolocation
It still ahd some bits from the original name (geoclue2). I tried squeeze
as much renaming as possible in the earlier commits but these done here
would have broken the code so I do the rest all in one go here.
2015-04-02 15:14:11 -04:00
Stefan Schmidt b2cb78601a modules/geolocation: Add popup with location information to gadget 2015-04-02 15:14:11 -04:00
Stefan Schmidt d67a085b00 modules/geolocation: Add communication to geoClue2 to receive current location.
This basically is the GeoClue2 client functionality a normal application also
uses. We request the current location and subscribe to updates on it.

Only activated when the users does a left click on the gadget so we do not
run always run it in the background. The received information will be displayed
in a popup in a following commit.
2015-04-02 15:14:11 -04:00
Stefan Schmidt b6104ce004 modules/geolocation: Keep the UI indicator in off state at start 2015-04-02 15:14:11 -04:00
Stefan Schmidt ef94cfdaba modules: Add new geolocation module to handle location access requests
This implements an GeoClue2 agents which gets called whenever an application
tries to access the location resource. It allows the user to allow or deny
this resource to the application.
2015-04-02 15:14:11 -04:00
Mike Blumenkrantz d2d70fc013 make only critical notifications display in presentation mode
ref T2212
2015-03-30 12:21:14 -04:00
Mike Blumenkrantz 617c2d96ff move wl E_Client creation to same place as E_Pixmap creation
ensure that surface manipulation functions will succeed even with no shell surface
2015-03-30 12:13:04 -04:00
Mike Blumenkrantz 18903dfd84 mobile policy desk set hook needs to ignore new_client clients
desk set happens during client init, so these will always be new clients

ref D2242
2015-03-25 12:33:35 -04:00
Chris Michael 7855cbea0e wl-drm: Add more debugging during output hotplug events
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-21 16:30:36 -04:00
Mike Blumenkrantz a91444a0c4 remove E_Comp from gadman and systray structs 2015-03-20 15:25:56 -04:00
Daniel Hirt 75d07b3dde lokker: update caps-lock hint even on "checking" state
Summary:
This fixes the inconsistency in the "Caps Lock is On" hint, if you press
Caps-Lock when lokker is busy with checking the password
(LOKKER_STATE_CHECKING).

Test Plan:
  1. Lock the screen
  2. Enter invalid password (and press Enter)
  3. During password check, press Caps-Lock
The "Caps-Lock is On" should be consistent with the actual Caps-Lock
state.

@fix

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2171
2015-03-20 15:15:50 -04:00
Mike Blumenkrantz 24887ddccc move comp fake layer init into canvas init for non-X compositors 2015-03-20 15:12:59 -04:00
Mike Blumenkrantz 9986311035 move E_Comp->root window setting into e_comp_wl_init() for wl compositors 2015-03-20 15:08:28 -04:00
Mike Blumenkrantz c727545bb2 remove E_Comp->num
num is always 0
2015-03-20 14:59:19 -04:00
Mike Blumenkrantz a8dea14e7f fix straggler container text in mousebindings config 2015-03-19 17:14:09 -04:00
Mike Blumenkrantz dedf4cd896 remove manager references in desk name/profile configs 2015-03-19 17:10:26 -04:00
Mike Blumenkrantz 8ed4ee3b38 remove E_Comp->x/y
canvas coords start at 0,0...always
2015-03-19 16:59:59 -04:00
Mike Blumenkrantz b6eb319146 remove manager/container id from bg/wallpaper things 2015-03-19 16:54:50 -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 dbcd03044e remove manager number from e_bg functions
this is no longer relevant; related code will be removed soon
2015-03-18 19:12:32 -04:00
Mike Blumenkrantz bc087bd6f9 remove illume modules
this code is dead. dead code does not belong in master.

see devs/discomfitor/e_module-illume2.git
2015-03-18 18:26:03 -04:00
Mike Blumenkrantz 88af43001e remove contact module
this is dead. dead code does not belong in master.

see devs/discomfitor/e_module-contact.git
2015-03-18 18:17:02 -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 aefab90d52 update contact module for api changes + remove E_Comp usage 2015-03-18 18:02:58 -04:00
Mike Blumenkrantz 2617f2a352 remove E_Conf usage in conf theme 2015-03-18 17:45:39 -04:00
Mike Blumenkrantz 2103aeb2eb remove E_Comp usage from conf_apps 2015-03-18 17:42:38 -04:00
Mike Blumenkrantz 011fea0f9f remove E_Comp usage from conf 2015-03-18 17:41:25 -04:00
Mike Blumenkrantz f9fc4b13de remove E_Comp usage from fileman/fwin 2015-03-18 17:40:04 -04:00
Mike Blumenkrantz 72fccba018 remove E_Comp usage from notification popups 2015-03-18 17:35:18 -04:00
Mike Blumenkrantz ef7f313de6 remove E_Comp usage from shot 2015-03-18 17:34:31 -04:00
Mike Blumenkrantz b38ca0969f remove E_Comp usage from tiling config 2015-03-18 17:34:25 -04:00
Mike Blumenkrantz 2810a4802a remove E_Comp usage from wl desktop shell 2015-03-18 17:34:16 -04:00
Mike Blumenkrantz 9e5e2767c7 remove E_Comp from e_desktop*edit apis 2015-03-18 11:33:01 -04:00
Mike Blumenkrantz 519560ac3f fix constant expression conditional
CID 1288498
2015-03-14 10:31:36 -04:00
Mike Blumenkrantz 0ddedd09a4 wl compile fixes 2015-03-13 20:09:54 -04:00
Mike Blumenkrantz 09ec213a31 remove e_util_zone_current_get() usage 2015-03-13 17:58:45 -04:00
Mike Blumenkrantz ba7c1ac49c remove E_Zone->comp member 2015-03-13 17:44:24 -04:00
Mike Blumenkrantz 34d906fa42 e_zone functions no longer require E_Comp param 2015-03-13 17:28:49 -04:00
Mike Blumenkrantz 1736d1ecb9 e_client functions no longer require E_Comp param 2015-03-13 16:53:19 -04:00
Mike Blumenkrantz d00127c2f5 e_comp functions no longer require E_Comp param 2015-03-13 16:48:41 -04:00
Mike Blumenkrantz b63e490a33 remove e_util_comp_current_get() usage 2015-03-13 16:28:08 -04:00
Mike Blumenkrantz f130aeafce remove e_comp_evas_find() usage 2015-03-13 16:23:37 -04:00
Mike Blumenkrantz bacf638d73 remove E_Drag->comp and E_Comp param from e_drag_new() 2015-03-13 16:21:15 -04:00
Mike Blumenkrantz 2a9296e0ec remove E_Event_Compositor_Resize struct
corresponding event no longer sends event info
2015-03-13 16:12:35 -04:00
Mike Blumenkrantz 1fe1c94245 comp canvas functions no longer require an E_Comp param 2015-03-13 16:07:08 -04:00
Mike Blumenkrantz 91edd1ce2f E_CLIENT_*FOREACH() macros no longer take a E_Comp param 2015-03-13 15:45:07 -04:00
Mike Blumenkrantz 091142b032 remove E_Client->comp 2015-03-13 15:41:21 -04:00
Mike Blumenkrantz dd5cf53542 remove e_comp_util_evas_object_comp_get() usage 2015-03-13 15:24:13 -04:00
Mike Blumenkrantz b8d4072a13 e_util_comp_zone_number_get() -> e_comp_zone_number_get() 2015-03-13 15:18:16 -04:00
Mike Blumenkrantz ed897a231e de-e_comp_get()ify e
mrw I remember how to regex http://i.giphy.com/dC9dujPVeAfIY.gif
2015-03-13 15:12:20 -04:00
Mike Blumenkrantz d42586869e fix wl shell client borders for internal, borderful clients...again 2015-03-13 15:03:13 -04:00
Mike Blumenkrantz b688ddbeb0 don't crash when creating external shell surface clients
sadconditionals.jpg
2015-03-12 14:53:46 -04:00
Mike Blumenkrantz bb77ddf22c correctly apply wl shell client border states only for non-internal clients 2015-03-12 14:48:46 -04:00
Mike Blumenkrantz f1b47ca2af don't create new wl shell clients for internal windows 2015-03-12 14:42:00 -04:00
Mike Blumenkrantz e1394afdff wl drm output module must set comp gl state more pedantically 2015-03-12 13:44:34 -04:00
Mike Blumenkrantz 3f5d25a535 don't identify all wl shell clients as internal...you crackhead 2015-03-12 13:13:55 -04:00
Mike Blumenkrantz 868ebe4e31 fix ibar drop calc to not unexpectedly trigger epileptic seizures in users
when attempting to drop on an icon, the drop area geometry was never included
in the calc, resulting in the drop changing between positions on every frame
2015-03-11 16:02:57 -04:00
Mike Blumenkrantz 18c821adc3 slight ibar dnd optimization when checking taskbar apps for drop site 2015-03-11 16:02:57 -04:00
Mike Blumenkrantz 3e4d5ddfc3 always create new client for wl shell surfaces
this should be a more correct way of handling (shell) surfaces since
there's never a time when we won't want to create a new client
2015-03-10 18:27:08 -04:00
Mike Blumenkrantz 4140fb728a don't attempt to find wl shell E_Client when one cannot exist 2015-03-10 16:37:30 -04:00
Derek Foreman 9ef66f7fae Wayland: Don't consume serials when not sending events
Reviewers: zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2134
2015-03-10 15:52:31 -04:00
Mike Blumenkrantz 45cb2e6cf1 redo ibar icon label position signalling to emit left/center/right
also calc based on icon position, not icon orientation
2015-03-06 18:54:31 -05:00
Mike Blumenkrantz bf90bc32db use current zone for shelf cfd setup
fix T2168
2015-03-06 17:06:43 -05:00