Commit Graph

61 Commits

Author SHA1 Message Date
Mike Blumenkrantz bf9933a336 E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency 2013-02-22 13:18:30 +00:00
Mike Blumenkrantz b37bf0904f self-deleting popups (like mixer) once again function as expected
SVN revision: 84285
2013-02-21 13:33:53 +00:00
Mike Blumenkrantz 7ffec7e968 always show popup content on content set
this change prevents erroneous calls to the comp injected object show handler in some cases, which would cause unnecessary recalcs and strange object movements


SVN revision: 84281
2013-02-21 12:48:47 +00:00
Mike Blumenkrantz 95f0b520ac use separate delay del function for popups to ensure comp win deletion
SVN revision: 84262
2013-02-20 10:47:46 +00:00
Carsten Haitzler 064737a84c popups... STAY UP!
SVN revision: 84240
2013-02-19 15:11:46 +00:00
Mike Blumenkrantz da751bc1af only delete popup's comp win if the popup has been deleted
SVN revision: 84236
2013-02-19 13:43:18 +00:00
Mike Blumenkrantz 582af02062 add e_popup_object_remove
SVN revision: 84097
2013-02-19 09:54:54 +00:00
Mike Blumenkrantz 6cf4d21438 comp wins for injected e objects now wait until animations are done before allowing deletion
SVN revision: 84093
2013-02-19 09:14:58 +00:00
Mike Blumenkrantz 1a0f84960a avoid calling popup autoclose cleanup function repeatedly
SVN revision: 84092
2013-02-19 09:14:56 +00:00
Mike Blumenkrantz 6703cb2bf3 nocomp mode now dynamically enables/disables based on the state and stacking of fullscreen windows and comp objects
SVN revision: 84062
2013-02-18 13:43:55 +00:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Lucas De Marchi 0675dd03a0 e: rename option use_composite to use_shaped_win
In order to move composite inside the core we need to kill the
use_composite option. However in some places it is being used to switch
between ARGB and shaped windows. It doesn't make much sense to keep the
advanced/engine dialog to let the user toggle this options if we have
composite always enabledm, but lets allow the user to shoot
himself on the foot (for now).

Next step will be to move the comp module files to core so user can't
unload it anymore.



SVN revision: 82433
2013-01-09 03:21:25 +00:00
Carsten Haitzler 4ff82885e8 delay e_win and e_popup deletes to avoid bad mem accesses from
objects/callbacks that free evases deep inside a callback tree. :)



SVN revision: 79622
2012-11-24 04:22:21 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Carsten Haitzler 74df9a238b make invisible shelves work again... and actually fi the longer
standing bug of them not chanigng until a restart



SVN revision: 75339
2012-08-17 00:25:37 +00:00
Mike Blumenkrantz 267bf40ae8 when desklocked, e's popups will no longer attempt to set themselves to the highest layer; prevents popups from ever being shown over the desklock screen
SVN revision: 73488
2012-07-09 08:11:26 +00:00
Mike Blumenkrantz 85a6497b96 formatting
SVN revision: 72879
2012-06-26 11:52:51 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Carsten Haitzler 8ff70e6e8f fix issue where popusp when moved wouldnt move if te zone HAD moved -
so store zone x, y too to make sure we do move popup too.



SVN revision: 70442
2012-04-24 14:24:49 +00:00
Carsten Haitzler cdb864ed8e remove all traces of selecting engine in e17 - wont actuallly ever be
needed beyond compositor. :)



SVN revision: 66513
2011-12-26 06:24:59 +00:00
Boris Faure 3228b3e414 Revert "e: add e_popup_alpha_set()/get()"
This reverts commit a79f3900a3a18c6c179bd110a43b80f89878284d.

SVN revision: 60886
2011-06-30 21:05:41 +00:00
Boris Faure 204b26fa69 e: add e_popup_alpha_set()/get()
SVN revision: 60885
2011-06-30 20:37:34 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +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 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