Commit Graph

7209 Commits

Author SHA1 Message Date
Tom Hacohen 599eda1a65 Module teamwork: Stop using a deprecated function. 2015-04-21 10:29:58 +01:00
Tom Hacohen acfdda6c7f E auth: improve clearing out passwords from memory.
Optimising compilers (like gcc/clang with -O1 or above) were optimising
out the memset(). Until link time optimisations are good enough, this
will prevent them from doing so. The best solution would be to use
memset_s() (c11), though it's not readily available yet. This is the
first step towards using memset_s() with a fallback for systems who
don't have it. A better solution, is to put it in Eina, to prevent LTO
completely. This will have to be done after the EFL release.
Even this is not entirely safe though, but at least it protects us from
some memory disclosure issues.

This doesn't solve the fact that we may store a copy of the password in
other places, like the input system. We need to address that too.

Thanks to Matthew Garrett for pointing this out or Twitter.
2015-04-21 10:19:48 +01:00
Mike Blumenkrantz 87bed22bf5 attempt to decode notification image uris with efreet before showing them
fix T1939
2015-04-20 17:24:48 -04:00
Mike Blumenkrantz 15f161d542 swap key -> keyname when attempting to bind lparen/rparen keys
this is impossible to grab on X, so ensure the generated binding is usable

fix T2059
2015-04-20 15:31:41 -04:00
Mike Blumenkrantz b842855391 fix clock popup widget parenting 2015-04-20 15:17:05 -04:00
Chris Michael 51290c273c wl-drm: Use ecore_evas_new with an engine name rather than direct ecore_evas_drm_new calls
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-20 11:45:20 -04:00
maxerba 6604268f2d Make some randr messages translatable 2015-04-20 16:23:33 +02:00
Simon Lees 943d919db5 Wizard: Update icon theme search list
Summary:
@fix The list of icon themes in the search list is quite out of date
it doesn't include the icon themes used by gnome3 or kde4/5 this means
for a lot of users at first boot e has alot of missing icons.

The Icon sets that have been added are as follows
      "Oxygen",            /* KDE 4 */
      "Adwaita",           /* Gnome 3 */
      "Breeze",            /* KDE 5 */
      "HighContrast"

This change will cause T1732 and T1923 to not occur for almost all users
but it does not fix them properly the code should be modified to fall back
to pick up icons from fallback locations such as the hicolor theme if no
icon theme is set.

It would be nice if someone could backport this to e19 I don't know how to

Reviewers: bu5hm4n, zmike, raster

Reviewed By: raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2377
2015-04-20 13:53:00 +09:00
Jean-Philippe ANDRE 215b3b3474 PackageKit: Fix a crash properly
This reverts and tries to actually fix:

commit b30892056e
Author: Jean-Philippe Andre <jp.andre@samsung.com>
Date:   Fri Apr 17 10:30:06 2015 +0900

    PackageKit: Fix crash on error

    Sometimes a "normal" error occurs and then the callback is
    called with no context data. Then crash boom sigsegv happens.
2015-04-18 17:19:00 +09:00
Jean-Philippe Andre b30892056e PackageKit: Fix crash on error
Sometimes a "normal" error occurs and then the callback is
called with no context data. Then crash boom sigsegv happens.
2015-04-17 10:31:14 +09:00
Mike Blumenkrantz 45f26f5205 fix unoptimized stringshare usage in keybindings cfd 2015-04-16 16:02:29 -04:00
Mike Blumenkrantz 5995b13b14 prune no_display desktops from evry apps plugin
probably fix T2256
2015-04-16 15:16:50 -04:00
Mike Blumenkrantz 3c027f54b6 fix evry app listing list leak 2015-04-16 15:04:42 -04:00
Stefan Schmidt 566b91322f systray: Remove self assignment from e_comp
Another left over from the e_comp refactor.

CID: 1291839
2015-04-16 17:00:08 +02:00
Stefan Schmidt 468654e001 gadman: Remove self assignment of e_comp
This looks like a left over from the e_comp refactor.

CID: 1291838
2015-04-16 17:00:08 +02:00
Carsten Haitzler 23b5392dbe shot - only access e client if not null 2015-04-15 10:02:12 +09:00
Mike Blumenkrantz d8505f2978 fix evry comparison macro to work as expected
missing parens = !operating as intended in many cases
2015-04-14 20:43:44 -04:00
Conrad Meyer b3a0b9be44 tempget: Add lm75(4) temperature source for non-x86 FreeBSD
Summary:
Another suggestion from Dmitry Luhtionov. I am told this sensor (on the
i2c bus) is more likely to be present on non-x86 systems (ARM, etc).

Reviewers: zmike, q66

Reviewed By: q66

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D2345
2015-04-14 14:56:46 +01:00
Gustavo Lima Chaves de943ddfa7 Generate *all* music control files in src tree.
This fixes once and for all out of tree builds.
2015-04-14 00:34:26 -03:00
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