Commit Graph

155 Commits

Author SHA1 Message Date
Stefan Schmidt 494c51edf7 e/modules/cpufreq: Remove trailing white spaces while being here.
SVN revision: 72006
2012-06-12 10:02:01 +00:00
Stefan Schmidt d7cb6fe467 e/modules/cpufreq: Check the return of fgets to make sure we operate on something sane
If we get NULL as reply here the buf will not contain the stuff we are looking for.

SVN revision: 72005
2012-06-12 10:01:56 +00:00
Vincent Torri 9d9ce41db0 E17: fix some warning
SVN revision: 71233
2012-05-18 13:02:20 +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
Chidambar Zinnoury c64faa47e5 e: cpufreq governor settings moved around a lil' bit.
SVN revision: 66614
2011-12-28 21:22:41 +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
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
Hannes Janetzek 00045e3e5a fix my last commit
SVN revision: 57071
2011-02-15 21:39:01 +00:00
Christopher Michael 2c593b88e5 Init some vars to NULL so we don't get warning about uninitialized
vars from gcc during compile.



SVN revision: 57069
2011-02-15 21:17:48 +00:00
Hannes Janetzek 389182f55b cpufreq: dont bury options in subsub menu. button 1 shows cpu options menu now
SVN revision: 56885
2011-02-09 22:44:29 +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 3d166f4860 alloc checks
SVN revision: 55735
2010-12-23 01:10:48 +00:00
Carsten Haitzler d439ed5515 fix cpufreq poll - it kepts saying there is a new freq, making the
animator spin etc. etc.



SVN revision: 55533
2010-12-13 08:04:10 +00:00
Massimo Maiurana 6725304708 updating various translations
SVN revision: 55125
2010-12-01 23:34:15 +00:00
Carsten Haitzler 6ba9d4926e happy lucky fun improvement in cpufreq gadget - dial moves smoothly
now... and uses map... like clock... and i added 2 more mini dialos
for min and max freq if u have multiple cores at differetn frequencies
:) red one now has a white tip for easier visbility and shows average
of all cores.



SVN revision: 55054
2010-11-29 10:52:32 +00:00
Massimo Maiurana 4a57615505 updating portuguese translations
SVN revision: 55041
2010-11-28 14:34:04 +00:00
Carsten Haitzler e7d7304b0f gah! 1 cpu too many. fix.
SVN revision: 54561
2010-11-15 10:18:57 +00:00
Carsten Haitzler 3e706de451 slight improvement - average out freqs on all cores. some newer cpus
can have separate core freqs. dont get me started with this new turbo
boost thing that the kernel doesnt even report corrently right now
either.



SVN revision: 54546
2010-11-14 03:04:20 +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
Lucas De Marchi 63f07459a0 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Christopher Michael f1e14daf84 Add UNUSED where needed.
Reduce duplicated code.
Use eina_stringshare_replace rather than add/del several times.



SVN revision: 51406
2010-08-19 15:38:22 +00:00
Cedric BAIL 9617253990 * edje: fix count that lead to memleak.
SVN revision: 51047
2010-08-12 15:07:26 +00:00
Cedric BAIL 288403f62b * edje: fix for updated edje file format.
SVN revision: 51037
2010-08-12 13:26:09 +00:00
Cedric BAIL 068d07757f * edje: converting edje file to make them compatible with old and new
loader. I didn't expect so many of them, maybe some one can take care
	of reducing their number (0 would be a good target).


SVN revision: 50938
2010-08-09 18:05:22 +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
Sebastian Dransfeld 807073f299 e: no need for a very large buffer
SVN revision: 47971
2010-04-12 19:54:43 +00:00
Sebastian Dransfeld 43b3e5ad59 e: idbuff is only used by this func.
SVN revision: 47969
2010-04-12 19:26:09 +00:00
Christopher Michael a00fc99218 TODO--.
SVN revision: 47961
2010-04-12 16:04:36 +00:00
Sebastian Dransfeld 9032982600 TODO++
SVN revision: 47954
2010-04-12 10:20:15 +00:00
Christopher Michael 6b520fb445 Fix gc_id_new to return a unique id (based on instance count), so that more
than one cpufreq gadget can be added safely onto a shelf.

Use PATH_MAX.
Fix formatting.

NB: This module could use more love...use EINA_LIST_FOREACH, remove
duplicated code, etc, etc...



SVN revision: 47894
2010-04-10 18:26:29 +00:00
Christopher Michael b69c08a3ae Fix module description typo.
SVN revision: 47858
2010-04-09 01:06:51 +00:00
Miculcy Brian b80eca5ad3 remove the now useless title
SVN revision: 47002
2010-03-08 16:09:21 +00:00
Gustavo Sverzut Barbieri 9ca34faf2d formatting: trailing whitespace and re-indented.
SVN revision: 44654
2009-12-22 13:14:07 +00:00
Gustavo Sverzut Barbieri 2994d25b35 [cpufreq applet] fixed setting userspace in CPU speed setting (better patch)
Hallo, I've fixed bug with setting freq by user (problems on govs
"performance").

I've investigated in cpufreq-set (cpufrequtils) and that apps set govs
to "userspace" before setting cpu speed.

By: Pavol Klačanský



SVN revision: 44653
2009-12-22 13:08:57 +00:00
Hannes Janetzek a551323a28 e/src/modules:
- cast ints to pointer correctly
- remove unused variables
- #if 0 unusued code
- fix some function declarations for callbacks 


SVN revision: 42210
2009-09-03 16:32:48 +00:00
Massimo Maiurana d96d336352 adding turkish translations for desktop files
SVN revision: 41232
2009-07-02 16:56:15 +00:00
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Gustavo Sverzut Barbieri b0c84e2215 Fix problems reported by clang.
By: Luis Felipe Strano Moraes



SVN revision: 39263
2009-02-26 22:47:20 +00:00
toma b00b69c435 Module icons... most of them. Some still need some love, but Ill get around to that. Shout out to Sachiel!
SVN revision: 38953
2009-02-05 14:34:01 +00:00
Massimo Maiurana 879511c665 french translations for desktop files
SVN revision: 38890
2009-02-01 15:24:59 +00:00
Carsten Haitzler a583d8fd09 turn off "ignore nice load". not good with e.
SVN revision: 38498
2009-01-07 23:39:48 +00:00
Daniel Kolesa e9fb962a08 added Czech translations to trunk/e/src/modules/*/module.desktop.in
SVN revision: 38450
2009-01-04 16:49:28 +00:00
Viktor Kojouharov 8087cda39d E_EVENT_POWERSAVE_UPDATE for the masses
cpufreq auto-changes the governor depending on the powersave mode


SVN revision: 37788
2008-11-24 08:32:34 +00:00
Christopher Michael ccc47fdce9 No need to fetch width & height here...they are not used.
SVN revision: 37541
2008-11-08 05:50:02 +00:00
Davide Andreoli 45cbf72298 * Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() 
 and the *orient param to orient().

All the modules (with a gadcon_client) need to be fixed...just add the new params 

to follow the EXTRA modules update.

SVN revision: 37450
2008-11-04 03:57:45 +00:00