Commit Graph

216 Commits

Author SHA1 Message Date
Al Poole b4f3a8da0a Enlightenment: Factor all sysctl battery code for bsd into e_mod_sysctl.c
This commit should now allow battery to support OpenBSD, FreeBSD, Dragonfly BSD, and NetBSD
2016-12-09 11:02:43 -06:00
Mike Blumenkrantz 40ebdb60d4 remove library checks for a number of modules along with useless defines
most of these date back from before efl was a unified tree or enlightenment itself
could be optionally built with things like dbus support
2016-03-11 17:19:32 -05:00
Cedric BAIL 4d30a3bf35 battery: let's finally allow the battery process to rest also when enlightenment die. 2015-08-17 22:30:26 +02:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -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 09ec213a31 remove e_util_zone_current_get() usage 2015-03-13 17:58:45 -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 99589eb5af remove E_Win+e_canvas, convert all internal wins to use elm_win
known issues:

* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
Mike Blumenkrantz 290e2369d3 s/sumary/summary/g 2014-07-30 19:18:24 -04:00
Mike Blumenkrantz b471c3ad8d use battery popup for battery popup mouse events
fix T1356
2014-06-25 16:05:26 -04:00
Mike Blumenkrantz 18cc2222f3 remove unnecessary battery check
CID 1039945
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 8422eea8d0 remove unnecessary battery_config null check
CID 1040140
2014-03-13 12:55:24 -04:00
Carsten Haitzler 2a11dfec63 remove % from battery reading to save space 2014-02-24 03:24:26 +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
discomfitor 48c0777dd1 add battery icon to popup for low power warning to ensure deletion 2013-05-18 19:39:51 +01:00
Chidambar Zinnoury f0eb778f50 e mixer and battery modules: reuse notifications.
SVN revision: 82931
2013-01-17 10:47:53 +00:00
José Roberto de Souza d9955d5739 e: Use internal client notification API
Modules:
 - notification
 - battery
 - mixer

Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 82122
2013-01-03 22:08:24 +00:00
José Roberto de Souza 71fa105fd8 e: Port battery module to upower and edbus
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81975
2013-01-02 13:14:29 +00:00
Carsten Haitzler 6eae31c107 as part of theme redo.. i get to find all the evil little "didnt
namespace this" stuff... fix namespacing of bat popup with fallback to
old one.



SVN revision: 79958
2012-12-01 04:22:05 +00:00
Mike Blumenkrantz 303a69346a fix crash in battery gadget when deleting a gadget after module has been unloaded (possible if gadget is in edit mode)
SVN revision: 78523
2012-10-26 11:43:07 +00:00
Mike Blumenkrantz 20efd7c8cd revert changes from last month to udev backend, seems to have broken things
probably fixes ticket #1304


SVN revision: 76285
2012-09-07 08:01:17 +00:00
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +00:00
Mike Blumenkrantz 94e2fc5257 clean up gadget right click menus to stop leaking
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Mike Blumenkrantz 84126d9ffd use ac presence to indicate battery charging
SVN revision: 75209
2012-08-13 13:14:44 +00:00
Mike Blumenkrantz 5029b27458 battery gadget right click menu now also contains powermanagement option
SVN revision: 75197
2012-08-13 09:31:20 +00:00
Mike Blumenkrantz 82fcf900bd formatting
SVN revision: 75196
2012-08-13 09:24:51 +00:00
Mike Blumenkrantz 98601e4198 sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74474
2012-07-27 08:25:22 +00:00
Mike Blumenkrantz 74edef9f46 fix memory leak spotted by seb in gc_id_new. this whole thing is pretty confusing; I'm glad we don't have docs for it
SVN revision: 72689
2012-06-22 07:21:51 +00:00
Mike Blumenkrantz 7dbd2e8de9 fix the same instance id bug as in pager, this will likely delete configs for a large number of modules
SVN revision: 72592
2012-06-21 11:03:50 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Michael BOUCHAUD 7743a24db2 e: make e_powersave values configurable
SVN revision: 70698
2012-05-03 20:16:34 +00:00
Thomas Gstädtner 6f55d529a3 From: Thomas Gstädtner <thomas@gstaedtner.net>
Subject: [E-devel] [PATCH] battery: add support for different suspend
methods

Allow the user to select what to do when the battery runs low:
Suspend, Hibernate or Shutdown.



SVN revision: 69623
2012-03-26 04:00:53 +00:00
Carsten Haitzler b164a4c0db fix some battery errant warnings and dump some info about decisions
made for battery warning alert



SVN revision: 67847
2012-02-11 10:44:51 +00:00
Leif Middelschulte 72e9ba4bca Cleanup desktop notifications in battery.
-Properly init and shutdown e_notify
-Use "Battery" as name for notification sender
-Use ui configurable timeout for notification
-Save "use desktop notification" for real

SVN revision: 67029
2012-01-11 01:40:13 +00:00
Leif Middelschulte 40b2ec83b7 Add desktop notifications to battery module.
SVN revision: 67027
2012-01-11 00:29:42 +00:00
Boris Faure 27264671d0 e/gadcon: label() returns a const char*
Original patch by Fabien Romano from OpenBSD

SVN revision: 65204
2011-11-14 21:46:57 +00:00
Vincent Torri 66f257b886 E17: add OpenBSD support for the battery module
patch by Jonathan Armani <armani@openbsd.org>


SVN revision: 64526
2011-10-30 16:47:50 +00:00
Carsten Haitzler 48f3614f96 make suspend on low power actually a hibernate - because yes,
hibernate makes more sense.



SVN revision: 63808
2011-10-04 14:17:28 +00:00
Carsten Haitzler 9e0032aabf and allow config to suspend even if on AC power (ie if disabled wont
suspend on blank if connected to AC)



SVN revision: 62656
2011-08-21 11:02:33 +00:00
Carsten Haitzler d88e160f25 as per e17 release todo:
|| LOW  || Power    || Add suspend/hibernate w/ screen blank or low battery config option ||             ||     || ||

:)



SVN revision: 62655
2011-08-21 10:44:23 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Miculcy Brian 87dcd15f58 typo
SVN revision: 52079
2010-09-09 15:20:23 +00:00
Miculcy Brian 2f8f31fbf5 This commit will change the shelf menu completly:
If you have a Gadget and open the menu over it, all gadget specific options are under a separate submenu. The menu items which the Gadget sets theirself can be put on the main menu tree or on the Gadget submenu.
If you don't see a reason for this, check the ibar menu _before_ and _after_. :)

This api change broke all modules but i already fixed them all. Hope everything works... I also shortend text strings, etc, etc.
Hope you like it! :)


SVN revision: 52041
2010-09-09 14:44:21 +00:00
Sebastian Dransfeld d1b854b9c1 cleanup battery module
- Only open one connection to dbus (e_dbus_bus_get) and then close it on
  shutdown.
- Fix autodetection of backend.

SVN revision: 51764
2010-08-30 19:57:36 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael a34913ae56 Add fuzzy to config edd so udev 'fuzzy' mode can be saved.
SVN revision: 49779
2010-06-21 03:39:50 +00:00
Mike Blumenkrantz d4c70a863c globals declared in main now
SVN revision: 49760
2010-06-19 17:53:49 +00:00
Mike Blumenkrantz 97529addef match eeze changes, add init/shutdown calls to illume2 keyboard
SVN revision: 49130
2010-05-22 07:04:26 +00:00
Mike Blumenkrantz 9031bcbb6c make battery popup go away automatically when time goes above warning threshold
SVN revision: 49013
2010-05-19 17:57:17 +00:00