Commit Graph

142 Commits

Author SHA1 Message Date
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
Sebastian Dransfeld f4043040d7 Fix sort callback.
SVN revision: 37221
2008-10-27 10:46:43 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Chidambar Zinnoury d3d14662d2 And finally recompile all e modules' edje files.
SVN revision: 36696
2008-10-15 19:43:58 +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
Cedric BAIL 9e02df4fef Correctly include eina and fix pkg-config description.
SVN revision: 36667
2008-10-15 10:03:45 +00:00
Cedric BAIL d2f7e4da0d Make e depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
SVN revision: 36627
2008-10-13 16:00:58 +00:00
Carsten Haitzler b3fa7a32d0 and remove more fake calls.
SVN revision: 36230
2008-09-25 01:37:38 +00:00
toma 74bea17d1d Textblock in. Revised the use of textblock tags and fixed up all the modules to use it more correctly. This style may need to be repeated across all the E-MODULES-EXTRA modules for unification of styles. The altered .desktop files still look perfectly fine on BlingBling and a few other themes Ive tested it with. The textblock style itself could probably do with a little tweaking.
SVN revision: 35776
2008-09-01 15:24:32 +00:00
Carsten Haitzler 190c380c6d fix bins
SVN revision: 35511
2008-08-17 15:03:18 +00:00
Massimo Maiurana ee431269a7 hu translations for desktop files
SVN revision: 34408
2008-04-30 10:28:40 +00:00
Carsten Haitzler 6f4d707dd3 fix install of slave tools.
SVN revision: 34351
2008-04-23 03:50:21 +00:00
Massimo Maiurana b5260fd925 updated module.desktop.in files with eo localization.
SVN revision: 33868
2008-02-29 18:31:50 +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