Commit Graph

37 Commits

Author SHA1 Message Date
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 59dd1bca1d * e_popup: Destroy idler when done.
SVN revision: 50198
2010-07-12 14:03:49 +00:00
Cedric BAIL b5b1d3fc1a * e: don't crash to easily when Ecore_Evas windows can't be created.
SVN revision: 49996
2010-07-02 13:47:31 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Hannes Janetzek 264dab3961 fix previous commit
SVN revision: 49094
2010-05-21 11:30:10 +00:00
Christopher Michael 582c27ec2b Use proper formatting for parens() *cough*
Remove white & fix other formatting.



SVN revision: 49085
2010-05-21 05:27:04 +00:00
Hannes Janetzek 5b4f108d9c fix bug with popups no showing up when using composite. seems to happen only on 'slow' machines
SVN revision: 49082
2010-05-21 04:30:44 +00:00
Carsten Haitzler 1fbaf30e95 add names to popups
SVN revision: 48888
2010-05-15 12:25:33 +00:00
Carsten Haitzler 79dcd015f8 lots of work on compositor stuff. looking slick and nice internally too.
SVN revision: 45159
2010-01-15 04:41:20 +00:00
Hannes Janetzek 28eac9678c fix warnings
SVN revision: 42476
2009-09-14 00:32:44 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Hannes Janetzek c345e7c8c8 e17: do not show shape of argb popups
SVN revision: 41867
2009-08-19 01:41:37 +00:00
Carsten Haitzler 2bf799d4da and fix dropshadow flash too.
SVN revision: 41809
2009-08-16 05:08:40 +00:00
Carsten Haitzler 5f821ec54f fix redraw flashes for popus.
SVN revision: 41808
2009-08-16 05:05:59 +00:00
Vincent Torri 0e6ad24c60 remove useless subwindow code
SVN revision: 39975
2009-04-11 08:33:44 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Carsten Haitzler 224d32e1ae disable feeds in popup - its the same window! how did this all of a sudden
start happening now?.... hmmmm..



SVN revision: 37649
2008-11-15 05:12:31 +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
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
Christopher Michael 882c779674 Remove check for compositing available and just use whatever the user
selected. Not entirely safe nor correct tho.


SVN revision: 33292
2007-12-29 23:00:52 +00:00
Christopher Michael 16738014c3 Better check for composite support.
SVN revision: 33290
2007-12-29 22:02:10 +00:00
Christopher Michael 9d5667ee77 When trying todo composite for popups, check that 1) the user wanted to use
it AND 2) X can actually do it (ie: composite is enabled).


SVN revision: 33289
2007-12-29 21:43:59 +00:00
metrics 33a1a91f02 Add composite support for popups (shelves, menus and exebuf)
configurable via enlightenment_remote.


SVN revision: 27081
2006-11-13 07:26:14 +00:00
Carsten Haitzler 0a058bfdb3 avoid damage on popups
SVN revision: 23489
2006-06-18 02:19:05 +00:00
Carsten Haitzler 3295ab33b7 fix shape change handling to... skip same shape changes
SVN revision: 22389
2006-04-29 01:19:56 +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
Carsten Haitzler 227d31fbf5 we were getting duplicate events for popups. fixed now! :)
SVN revision: 21893
2006-04-06 07:26:11 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
sebastid 95dcd02f5c Ignore events on the popup! A fine usage for the new ecore_evas function!
SVN revision: 17349
2005-10-09 14:01:57 +00:00
Carsten Haitzler 9f9468645d 1. centralise canvas creation.
2. allow xrender to be (*hard-coded) chosen.


SVN revision: 17126
2005-10-03 07:36:23 +00:00
Carsten Haitzler 00616d3fec wheel bindings! WERD! hard-coded ones for now, need to make these config
values that can be set/changed/deleted via ipc and are saved/loaded :)


SVN revision: 16847
2005-09-22 12:47:45 +00:00
sebastid 880a2f20e8 IF_FREE -> E_FREE
SVN revision: 16573
2005-09-05 15:24:07 +00:00
Carsten Haitzler 30d026df6f e_win is a quick api wrapper for makign internal windows that the wm creates
then manages as if they were normal client windows. should work just fine and
is something to build better dialogs on top of


SVN revision: 15728
2005-07-11 09:19:17 +00:00
Carsten Haitzler a6ec307a80 minimise cpu hape use if shape hasnt changed
SVN revision: 15542
2005-06-27 10:08:53 +00:00
sebastid 6fd2d5fe41 Dnd is relative to the background evas/modules, so feed a new drag
with container, not zone.


SVN revision: 14701
2005-05-10 22:05:02 +00:00
Carsten Haitzler 1b6f59e253 properly virtualize ecore_evas setup
SVN revision: 14644
2005-05-07 13:50:38 +00:00
Carsten Haitzler 51e37d3be5 start on popup generic system... (menus coudl be popups - as would error
dialogs, resize/move indicators - maybe they should be ported - well not
menus - they are special, but definitely resize/move stuff)


SVN revision: 14630
2005-05-07 04:34:26 +00:00