Commit Graph

52 Commits

Author SHA1 Message Date
Carsten Haitzler a94ba7cbfd e tempget module - mode to using threads instead of tempget binary
this should reduce mem usage by a sub binary and aso solve the sub
shell kill issue too nd still keep the polling of system status out of
the mainloop and keep it unblocked.
2016-12-01 08:49:33 +09:00
Mariusz Bialonczyk 5dd4a7eddf modules/temperature: cosmetics: typo fix (celcius -> celsius)
Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4129
2016-07-05 11:45:00 -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 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
Carsten Haitzler 63cd75a12f tempget -> also do /sys.
SVN revision: 61626
2011-07-24 03:28:13 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Christopher Michael 2cd2f124dd Add UNUSED where needed.
Fix formatting.



SVN revision: 51405
2010-08-19 15:27:13 +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 95c4186748 add full udev support for temp module:
if e is compiled with eeze as the preferred backend, a new config page will appear in the settings for the temperature module where internal and udev are selectable options.
udev mode should support ALL possible hardware, so if you've been having issues with the current temp module, try udev mode!
also note that udev mode provides an extra amount of precision for hahas; it also still obeys the configurable polling intervals.
please test and report all bugs!


SVN revision: 49062
2010-05-20 10:12:41 +00:00
Hannes Janetzek 5ef6f8bf5b fix some more warnings
SVN revision: 48345
2010-04-26 18:26:49 +00:00
Christopher Michael 98dbcf9403 New Temperature config dialog.
- Works on small resolutions.
 - Fixes issues wrt radio widgets (in old dialog they would not always work
correctly).



SVN revision: 47798
2010-04-07 01:31:09 +00:00
Christopher Michael ec8e145dcd Formatting & Whitespace.
SVN revision: 44796
2009-12-30 17:22:19 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Carsten Haitzler 44191ab9cf temp module patches to make it work again.
SVN revision: 33685
2008-02-06 00:13:25 +00:00
Carsten Haitzler b70f5a0ecc e:
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system  - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.

ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape

evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).


SVN revision: 33448
2008-01-11 07:33:57 +00:00
Peter Wehrfritz a6553c1a58 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Sebastian Dransfeld ad3761c9bd Fix warnings.
SVN revision: 30963
2007-07-24 18:47:26 +00:00
Sebastian Dransfeld 5c9c68298a Remove stale code.
SVN revision: 29160
2007-03-25 22:46:21 +00:00
Sebastian Dransfeld c129c20ab6 Update icon name.
SVN revision: 29059
2007-03-24 23:12:23 +00:00
David Walter Seikel 95c1e706bd Explain why user friendly names is not likely to happen.
SVN revision: 28364
2007-02-14 22:20:37 +00:00
David Walter Seikel c604c7368d No more limits to the number of I2C temperatures allowed.
SVN revision: 28147
2007-01-28 16:08:12 +00:00
David Walter Seikel b438740bc8 More I2C work. Made the temperature sensor scanning more generic, but only
increased the limit to nine.  A better way would be to do an ls and check
for all temp*_input.  Next time I will do it this way.

I still haven't tracked down the sensor name information.  It's out there
somewhere, I'll have to look at the source code for lm_sensors to see how
they do it.


SVN revision: 28133
2007-01-27 06:21:07 +00:00
David Walter Seikel 81a98e1708 Increase the number of i2c sensors to 4. The only useful one on my
motherboard (ASUS A7V333) is the fourth one.  Others may find this handy as
well.


SVN revision: 28123
2007-01-26 10:00:03 +00:00
Sebastian Dransfeld 41e9901010 Temperature config per face. Seems to work, if not complain to me.
SVN revision: 27503
2006-12-17 22:01:45 +00:00
Sebastian Dransfeld 2a1358264a Only check the type of sensor on init and when changing config.
SVN revision: 27464
2006-12-15 08:32:31 +00:00
Sebastian Dransfeld bc4289566a Always need to check if therms is valid.
SVN revision: 27434
2006-12-14 15:04:15 +00:00
Carsten Haitzler 621a58de48 patches (see devel list) :)
SVN revision: 26725
2006-10-21 02:32:14 +00:00
David Walter Seikel 1255baa040 Converted to use .desktop file.
SVN revision: 25386
2006-09-03 07:42:06 +00:00
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
Christopher Michael 73a7ba6011 As per HandyAndE request, this patch gives ability for modules config
dialogs to show their icon in their config dialog by passing in the
module_eap path to the config_dialog_new function as the icon parameter ie:

e_config_dialog_new(con, module_name, eap_path, 0, v, data);

Update E core modules to use this ability.
Fix dropshadow config dialog to fit in 640x480.


SVN revision: 23682
2006-07-03 07:35:44 +00:00
sebastid d048e276b4 Check if the sensor name has been set
SVN revision: 23231
2006-06-07 08:34:10 +00:00
Carsten Haitzler fbd972cdb9 e packages build again - also not much point having an enlightenment-data as
it's built as an arch specific package and it is intrinsically required by e
and cannot work without it nor is the data shared betwene e and other apps
unless e itself is installed too


SVN revision: 22260
2006-04-20 11:30:25 +00:00
handyande 00330faaf9 Move the manipulation of user specified policy flags (ALLOW_OVERLAP and ALWAYS_ON_TOP (not used yet)) to the gadman edit menu, saves a LOT of code inside modules
SVN revision: 21226
2006-03-12 16:12:59 +00:00
Christopher Michael 31541946e6 Fix bug where changing a config value then selecting a different page (Basic/Advanced) would reset the value to it's original state.
SVN revision: 20437
2006-02-13 16:10:33 +00:00
Christopher Michael a8dca935d1 Rename the Allow Overlap option
SVN revision: 20092
2006-01-29 02:40:04 +00:00
rephorm 99921a4b8a move the temperature module over to E_Gadget
i haven't been able to test that this fully works, since i don't have ACPI temperature sensors on here. but, it works to the extent that the old one did here, so it SHOULD be fine.


SVN revision: 20037
2006-01-26 05:40:17 +00:00
Christopher Michael 4a9f8d3a9a Fixes for E_Config_Dialog_View
SVN revision: 19960
2006-01-22 14:17:43 +00:00
Carsten Haitzler 5f71f7acf5 2 pending patches in my inbox.
1. "allow overlap" patch for modules - needs better names in the gui (Allow
windows to overlap maybe - as allow overlap is very vague)
2. itray module (buggy - buggy - beware. i know why. beware i said!)
3. TODO items


SVN revision: 19911
2006-01-20 04:04:14 +00:00
sebastid bbea62a127 Fix warnings.
SVN revision: 19801
2006-01-14 16:10:57 +00:00
Christopher Michael 4453a2bb87 Remove EAPI from function. Thanks Sebastian
SVN revision: 19642
2006-01-08 10:33:23 +00:00
Christopher Michael 3686bd231f Set pointer to config dialogue to NULL when closing
SVN revision: 19639
2006-01-08 09:29:42 +00:00
Christopher Michael 6bf7badbe5 If a module has a config dialogue, destroy it on module shutdown
SVN revision: 19576
2006-01-06 21:45:57 +00:00
Christopher Michael 0affc3ee5c Remove unused protos. Cleanups
SVN revision: 19287
2005-12-24 20:01:03 +00:00
Christopher Michael cf720ae1f9 Patch from Tobias Glenstrup for Celcius fixes
SVN revision: 19150
2005-12-19 18:34:25 +00:00
Christopher Michael 517eb4c9cf Rename e_int_config calls to avoid E namespace conflicts
SVN revision: 19105
2005-12-18 06:33:14 +00:00
Christopher Michael 8566782eef Change Module To Configuration in the dialogue
SVN revision: 19096
2005-12-17 22:09:53 +00:00
Christopher Michael 1ef3331419 Clean up e_mod_config.c
SVN revision: 19095
2005-12-17 22:02:05 +00:00
Christopher Michael d6df8cfce4 Small Bugfix for Temperature Module
SVN revision: 19079
2005-12-16 23:53:09 +00:00