Commit Graph

421 Commits

Author SHA1 Message Date
Mike Blumenkrantz 403e86d67c use snprintf for string handling in batget
CID 1039801
2016-03-22 12:06:27 -04:00
Mike Blumenkrantz eb58e2ca70 remove eldbus init/shutdown calls from the codebase
this is handled by e_msgbus
2016-03-11 17:19:32 -05: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
Stefan Schmidt c588867c1f modules/battery: Remove assign without effect
CID: 1316024
2015-08-12 09:26:19 +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 3fc96af2dd Revert "revert all the ui breakes in e - going the wrong direction in the"
This reverts commit 3ea6a3569d.
2015-01-15 03:04:42 -05:00
Carsten Haitzler 3ea6a3569d revert all the ui breakes in e - going the wrong direction in the
first place anyway. shoudl replace the entire dialgo one at a time by
an elm version not try and stuff elm widgets into where e widgets used
to be. this doesnt improve e's config dialogs, just makes them buggy
as all hell in the name of a move to elm.

Revert "e_widget_button -> elm_button conversion"
This reverts commit b1c976d80d.

Revert "update widget size hints when setting a resize object"
This reverts commit fdab0218b2.

Revert "remove no-longer-necessary size hinting in list widgets"
This reverts commit 21479f5019.

Revert "e_widget_textblock -> elm_entry conversion"
This reverts commit 8fe2f00f75.

Revert "e frame -> elm_frame conversion"
This reverts commit e9da6a02fc.

Revert "remove unnecessary size hinting"
This reverts commit b596623efd.

Revert "e_label -> elm_label conversion"
This reverts commit 049b318679.

Revert "set evas size hint min in widget min size"
This reverts commit 2f09aa2fda.

Revert "e_table -> elm_table conversion"
This reverts commit 6434012982.

Revert "remove unused vars"
This reverts commit b19e706b23.
2015-01-15 12:13:53 +09:00
Mike Blumenkrantz 6434012982 e_table -> elm_table conversion
if rebases were monopoly money, this commit would be able to buy mediterranean ave.

 #teamborker
2015-01-13 22:44:55 -05: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
maxerba fac4e89dfa Updating desktop files, eo.po and fr.po 2014-09-11 21:14:58 +02: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
maxerba 9f19d5a676 Updating translations 2014-05-19 22:04:38 +02: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
Mike Blumenkrantz 07135d8b21 bugfix: use more descriptive + accurate buffer size in batget iterator
CID 1039801
2014-03-13 11:01:52 -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
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
Igor Murzov 315dbf8409 Let's drop meaningless empty translations from .desktop files 2013-06-17 13:43:34 +04:00
Eduardo Lima (Etrunko) d4ee6be578 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:19:12 -03:00
maxerba 5deed35ac2 adding catalan translation and sorting lines alphabetically 2013-06-05 00:16:38 +02:00
discomfitor 48c0777dd1 add battery icon to popup for low power warning to ensure deletion 2013-05-18 19:39:51 +01:00
Lucas De Marchi f8a2dd4d95 Rename edbus->eldbus 2013-04-23 12:37:43 -03: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
Lucas De Marchi 0313f186c5 e: small fixes to battery conversion to edbus
- const where it's due
 - reorder functions
 - break loop as soon as "Online" property is found on dict
 - add missing proxy unrefs
 - fix crash if upower reports a battery with technology known to it but
   unknown for us
 - refactor _bat_get_call_cb():  this could be much simpler if upower used
   the default signal for notifying property changes. Since it doesn't,
   at least decrease a little bit the amount of code.
 - use eina_stringshare_replace() instead of del() + add()
 - remove check for message signature. If it doesn't have the signature
   we are expecting, edbus_message_iter_arguments_get() will fail.
 - fix indentation using tab



SVN revision: 81976
2013-01-02 13:14:48 +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
Maxime Villard 4a52c46268 From: Maxime Villard <rustyBSD@gmx.fr>
Subject: [E-devel] [e][PATCH] Optimizations v2
Date: Fri, 21 Dec 2012 22:17:32 +0100

Hi,
same patch as before: removed useless nullchecks and
switched some free()'s to E_FREE().



SVN revision: 81592
2012-12-21 21:31:13 +00:00
Cedric BAIL 23e2a04c29 e: take a plane and fix that damn battery time left !
SVN revision: 81383
2012-12-19 16:10:37 +00:00
Mike Blumenkrantz fdcdd7a168 void functions don't return values
SVN revision: 80845
2012-12-13 13:19:30 +00:00
Mike Blumenkrantz 0774c6bf65 ensure path length fits in buffer in batget
SVN revision: 80844
2012-12-13 13:18:07 +00:00
Mike Blumenkrantz 41236712d9 use PATH_MAX for path buffers
SVN revision: 80843
2012-12-13 13:16:01 +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
Vincent Torri 8058b50c82 E17: fix crash of the battery module on OpenBSD if the system has no AC adapter or battery sensor
SVN revision: 79630
2012-11-24 10:19:55 +00:00
Massimo Maiurana 8314c3b95c updating various translations
SVN revision: 79519
2012-11-21 19:45:32 +00:00
Mike Blumenkrantz c3569031ff more MAX removals
ticket #1757 (4/3)


SVN revision: 79140
2012-11-12 09:24:01 +00:00
Carsten Haitzler f534e30089 put lucas's makefiles back.. but what do you do to make it not break
between builds from older vs newer makefile setup?



SVN revision: 79024
2012-11-09 14:49:05 +00:00
Carsten Haitzler 5fa813e1cc lucas... u're going to hate me... but i'm reverting this whole lot of
module build chnages because its fundamentally broken. it DOES NOT
PRODUCE .SO FILES. just .la and .a files. the only reason u dont
notice is.. you ALREADY had .so's installed. i just got in from the
airport... synced and updated.. rebuilt and was met with all modules
not loading... literally - no .so's are installed int he module dirs.
try rm -rf the instaleld module tree.

regardless... this has to be reverted be3cause it's a major break. the
idea is right/nice. the implementation is causing... problems.



SVN revision: 79015
2012-11-09 10:45:35 +00:00
Lucas De Marchi 0000e87ffc e/modules: delete old Makefile.am's
SVN revision: 78983
2012-11-07 21:50:53 +00:00
Lucas De Marchi 92eee9068a e: use AM_CPPFLAGS instead of INCLUDES
Get rid of warnings like below with recent automake (1.11 and newer):
src/bin/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/bin/Makefile.am: installing './depcomp'
src/modules/access/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')



SVN revision: 78720
2012-10-31 20:40:40 +00:00
Massimo Maiurana 6f4591eed2 updating russian translation
SVN revision: 78648
2012-10-30 12:10:17 +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
Sebastian Dransfeld 427b6c34df e: Cleanup
Removes unused variables, drops duplicate return or break
     statements and drops unnecessary checks.

Patch by Igor Murzov

SVN revision: 77490
2012-10-04 23:26:48 +00:00
Mike Blumenkrantz df132cab81 patches from Basil Gor (basil.gor@gmail.com) fixing stringshare usage in battery module. thanks!
SVN revision: 76369
2012-09-10 07:55:15 +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
Vincent Torri bf452c89ba E: various clean up for the battery module on OpenBSD
patch by Maxime Villard (rustyBSD)

SVN revision: 75575
2012-08-22 21:25:25 +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 9000c5eb47 fix some battery stringshare usage
SVN revision: 75208
2012-08-13 12:40:54 +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 016ecb6d3d remove extraneous period
SVN revision: 75189
2012-08-13 07:06:00 +00:00
Mike Blumenkrantz 10ec75e35a add testing patch from seb (sdATtango.flipp.net) to improve udev battery monitoring; report any bugs to trac
SVN revision: 74921
2012-08-06 10:37:49 +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
Chidambar Zinnoury 907ea06deb e battery: don't report battery as charging when it obviously isn't.
On my laptop, when the travel (second) battery is finished discharging, its status is being reported as Unknown. As its charging rate is zero, stop pretending it's charging.


SVN revision: 74296
2012-07-22 13:39:16 +00:00
Chidambar Zinnoury 3e6aee7a61 e: units (sec → s).
SVN revision: 73860
2012-07-14 21:16:20 +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 08019c51a2 more bsd fd leaks--
SVN revision: 72597
2012-06-21 11:57:14 +00:00
Mike Blumenkrantz accabcade7 fix possible fd leak
SVN revision: 72595
2012-06-21 11:55:21 +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
Gustavo Sverzut Barbieri 4305b8e7fe e/docs: do bare documentation for e.
Just some groups and basic description for modules. I'm NOT going back
to this anytime soon, but would be VERY happy if people could do some
screenshots and put the images for each module in docs/img/ folder,
linking to them from each e_mod_main.h



SVN revision: 67362
2012-01-19 23:25:32 +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 e5d5b57bc5 Add E_Notify to c- and linkerflags.
SVN revision: 67028
2012-01-11 00:49:46 +00:00
Leif Middelschulte 40b2ec83b7 Add desktop notifications to battery module.
SVN revision: 67027
2012-01-11 00:29:42 +00:00
Carsten Haitzler 861f7bb901 add eina include to tempget and batget
SVN revision: 65337
2011-11-17 11:12:30 +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
Mike Blumenkrantz bc45b835df just return here, eh?
SVN revision: 64889
2011-11-07 22:41:02 +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 5eb3140137 how did i miss that? actually store edited config val!
SVN revision: 62672
2011-08-21 23:46:03 +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
Cedric BAIL 29dffc306c e: segv-- on power removal.
SVN revision: 62181
2011-08-07 12:35:21 +00:00
Carsten Haitzler 7cf548195e try now jeff. works for me with test dir based on your bat content.
use internal battery get option



SVN revision: 60613
2011-06-23 03:42:56 +00:00
Carsten Haitzler d920be48dd new battery icon.
SVN revision: 60561
2011-06-21 23:54:43 +00:00
Carsten Haitzler 2b7359879c jeff - try this battery change
SVN revision: 60549
2011-06-21 13:34:52 +00:00
Boris Faure 6048d46024 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +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
Massimo Maiurana 359a85e93d updating various translations
SVN revision: 57225
2011-02-21 19:19:12 +00:00
Massimo Maiurana 308534cc44 updating russian translations
SVN revision: 57124
2011-02-17 12:15:59 +00:00
Mike Blumenkrantz 67b1000afa fix compile when ehal is not present
note that illume1 still requires ehal and I have no plans to write an eeze backend for it


SVN revision: 55944
2011-01-06 18:41:58 +00:00
Massimo Maiurana f13cdcbd02 updating german translations
SVN revision: 55935
2011-01-06 17:49:35 +00:00
Mike Blumenkrantz 15468f69f6 fix include paths for all these makefiles to add $top_builddir/src/bin instead of $top_srcdir/src/lib
SVN revision: 55884
2011-01-05 17:50:05 +00:00
Mike Blumenkrantz 9c200fb92e the formatting on this file was too awful to let it live
SVN revision: 55374
2010-12-08 15:35:13 +00:00
Massimo Maiurana 9a47758a74 updating portuguese translations
SVN revision: 54864
2010-11-23 11:43:54 +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