Commit Graph

185 Commits

Author SHA1 Message Date
Vincent Torri 8d9d9ea3a3 fix warnings
patch by Albin Tonnerre


SVN revision: 45430
2010-01-22 06:51:27 +00:00
Carsten Haitzler 250496b0ea hunting bug in fglrx libs - make comment!
SVN revision: 45330
2010-01-19 14:29:20 +00:00
Carsten Haitzler 752a5bb7a4 add new check of in object list
SVN revision: 45284
2010-01-18 11:55:52 +00:00
Carsten Haitzler 04bcfb9245 improving multi-touch structs and code.
SVN revision: 45248
2010-01-17 08:52:21 +00:00
Carsten Haitzler 151515d816 initial multi-touch support.
SVN revision: 45212
2010-01-16 12:20:22 +00:00
Carsten Haitzler 9b56603875 oops - infinite loopies
SVN revision: 43486
2009-11-06 10:30:24 +00:00
Carsten Haitzler 9791b27a18 map coords in mapped objects.
SVN revision: 43463
2009-11-05 15:24:48 +00:00
Cedric BAIL 8984a75799 * evas: Cleanup move to eina log.
Patch from Mathieu Taillefumier.


SVN revision: 43200
2009-10-22 15:22:22 +00:00
Cedric BAIL c259d8addd * evas: Use eina_log.
Patch from Matthieu.


SVN revision: 42598
2009-09-21 16:08:51 +00:00
Iván Briano 5c3b4fa74e Improve documentation for Evas, Ecore, Edje and Elementary.
Work by:
 - Thiago R. Masaki (mostly)
 - Fabiano Fidencio
 - Gustavo Lima


SVN revision: 42550
2009-09-17 22:38:10 +00:00
Gustavo Sverzut Barbieri 37b3a62cde remove last trace of Evas_List, it's gone dude!
SVN revision: 41089
2009-06-17 18:12:55 +00:00
Cedric BAIL 6d0ee81526 * evas: Remove Evas_Bool.
SVN revision: 41067
2009-06-17 10:01:52 +00:00
Gustavo Sverzut Barbieri 3e04e9ec3f cleanup llvm warnings by michael bouchaud.
By: michael bouchaud.


SVN revision: 41024
2009-06-13 00:04:25 +00:00
Carsten Haitzler fec072d883 fix some formatting/indenting and explicitly look at mouse_down as a counter.
SVN revision: 37650
2008-11-15 05:13:09 +00:00
Davide Andreoli f38e74e550 * remove \'too small\' categories
SVN revision: 37387
2008-11-01 22:21:10 +00:00
Davide Andreoli f526e28ac0 * More better cats\'
* remove some @ingroup in favor of @addtogroup

SVN revision: 37386
2008-11-01 21:50:36 +00:00
Davide Andreoli b1b189a0bb * remove \'too small\' groups (unify image and gradient groups)
* fix some modules name to be more consistent

SVN revision: 37382
2008-11-01 20:19:28 +00:00
Cedric BAIL ee6d4e42d5 Fix a little typo.
SVN revision: 37219
2008-10-27 10:11:44 +00:00
Cedric BAIL 0ea9b88ae1 Fix a typo.
SVN revision: 36944
2008-10-21 16:50:40 +00:00
Cedric BAIL 465b76a017 Remove Evas_List from Evas.
SVN revision: 36942
2008-10-21 16:31:05 +00:00
Cedric BAIL 7e74651236 Fix a potential bug jumping over one element when destroying them.
Didn't find a way to trigger it, but caught it during code review.



SVN revision: 36940
2008-10-21 15:23:24 +00:00
Cedric BAIL 68d377afe6 Rename EINA_INLIST_ITER_NEXT/EINA_INLIST_ITER_LAST to EINA_INLIST_FOREACH/
EINA_INLIST_REVERSE_FOREACH so it best match is behaviour. Asked by Gustavo.



SVN revision: 36928
2008-10-21 12:19:57 +00:00
Cedric BAIL c99824328f Move from Evas_Object_List to Eina_Inlist and completly remove Evas_Object_List.
SVN revision: 36750
2008-10-17 11:23:18 +00:00
doursse d11bfc2323 remove trailing spaces
SVN revision: 35155
2008-07-18 11:04:06 +00:00
Cedric BAIL 777410eac2 Make the most used functions inline functions.
SVN revision: 34675
2008-05-26 13:08:54 +00:00
Carsten Haitzler 906040dab0 add a cancel to all mouse butotn presses
SVN revision: 34607
2008-05-19 04:15:22 +00:00
Gustavo Sverzut Barbieri 7a82a3e43d Save 20 bytes moving smart data to its specific object struct.
This saves 20 bytes, bringing Evas_Object to 200 bytes, by moving data
specific to smart objects to their own struct (Evas_Object_Smart).

There is still one remaining member that could be removed:
smart.smart, this is used mainly to identify if one object is a smart
object or not. One possibility would be to add a bitfield to state
that, but another possibility is to check Evas_Object::object_data
and see if it's a smart or not.


SVN revision: 34419
2008-05-01 05:48:03 +00:00
Carsten Haitzler 73b6cc9ff8 add a hold event to feed.
SVN revision: 34160
2008-03-31 21:38:38 +00:00
Gustavo Sverzut Barbieri 5d571051b9 Add const to Evas api: objects and remaining bits.
SVN revision: 33716
2008-02-08 22:35:19 +00:00
Gustavo Sverzut Barbieri 2756696bbe Add const to Evas aoi (part 3), still lacks objects.
SVN revision: 33715
2008-02-08 21:42:01 +00:00
Carsten Haitzler f8a8489e92 and have the event surfivie between object calls - that was an oops!
SVN revision: 33563
2008-01-23 09:00:59 +00:00
Carsten Haitzler a20bf8dc09 and... set event flags to 0 damnit!
SVN revision: 33561
2008-01-23 08:27:13 +00:00
Gustavo Sverzut Barbieri eda1f13b33 Support for selectable pointer_mode.
Evas now support objects that do not grab mouse down event (NOGRAB) aside
with the default (AUTOGRAB). API is meant to be extensible.


SVN revision: 30950
2007-07-24 14:20:07 +00:00
Carsten Haitzler d6f9cc797e adrunko's precise event patch
SVN revision: 30939
2007-07-23 14:22:57 +00:00
Carsten Haitzler 5e691081ca extensive delete me handling for evas free's and list walks
SVN revision: 29776
2007-04-30 04:22:42 +00:00
rephorm 5a4cffcf90 add some documentation
SVN revision: 27380
2006-12-08 07:51:48 +00:00
Carsten Haitzler f80a02f999 a few things.
1. disable viewports other than 1:1 at 0,0
2. remove output space coorsds for pointer.
3. remove geom caching
4. make threaded pipelined engine a runtime detect if u have > 1 cpu.
5. pthread build default if u have pthread.h and sched.h


SVN revision: 27131
2006-11-16 03:20:24 +00:00
moom 32147d1f6a * The mouse flags are now correctly calculated when the mouse
up/down event is propagated to smart parent


SVN revision: 25107
2006-08-25 20:47:32 +00:00
Carsten Haitzler db9561ff11 fixup for over-grab-count
SVN revision: 22730
2006-05-19 07:56:53 +00:00
Carsten Haitzler 05ea1163f3 fix over/under grab problems
SVN revision: 22234
2006-04-19 14:37:49 +00:00
Carsten Haitzler 4dd95e3f3e disable double click flags if u clock on something else in between
SVN revision: 20554
2006-02-18 04:40:14 +00:00
sebastid cfb57a407e Cast the objects to object list.
SVN revision: 19610
2006-01-07 14:31:57 +00:00
sebastid 3e41ec2fbd Remove EAPI warnings.
Remove duplicate defines.


SVN revision: 19579
2006-01-06 23:05:17 +00:00
Carsten Haitzler f56726798f add calls to tell evas to propagate (or not) events on an object to its
parent smart object IF there is a callback set. ie. if there is a key down
callback set and propagae is set to false then the key event will not
prpagate to the parent as long as the child gets the key down events and has
the callback set.


SVN revision: 18123
2005-10-30 05:07:51 +00:00
Carsten Haitzler 208de4897a the first wave of evas smart object modes. commit hell #1. :) other things
still need updating in cvs - but i am sure others can do that :)


SVN revision: 18001
2005-10-27 02:44:36 +00:00
Carsten Haitzler dd136afb1b fix grab handling
SVN revision: 16909
2005-09-24 10:22:55 +00:00
Carsten Haitzler 54af68f9c7 oops - fix freeze stuff.
SVN revision: 16836
2005-09-22 02:52:53 +00:00
Carsten Haitzler ee18abd342 engage seems to be generating clip weirdness - testing to see if the clip
changes are it - catalyst? :) does it work now?


SVN revision: 15957
2005-07-30 09:52:53 +00:00
Carsten Haitzler 02664a6eb0 natah's clip patch - seems to be all genki :)
SVN revision: 15938
2005-07-29 07:46:22 +00:00
Carsten Haitzler a1a07c06c3 one way or the other i'm forced to add timestamps to events - i cant avoid it
anymore. sorry guys. really no way around it. :(


SVN revision: 15891
2005-07-25 09:55:47 +00:00
Carsten Haitzler acc0701e10 1. id3 album cover loader patches
2. i reduced list note memory usage by 20% - shoudl work better with malloc
as ti is now a power of 2 as well
3. optimised evas internals to make use of event freezes to make e17'sw menu
popups a LOT snappier
4. fixed using last member of list nodes - bad - shoudl use api as this is
private stuff really
5. added config profile stuff to e17  u can literally maintain multiple
config profiles and choose which one at any time etc.


SVN revision: 15864
2005-07-22 10:28:11 +00:00
sebastid 3f776d358a Cleanup some headers.
Remove duplicate typedefs and declerations.


SVN revision: 15407
2005-06-18 01:00:32 +00:00
Carsten Haitzler 46e02cf8bb whitespace
SVN revision: 14889
2005-05-22 02:49:50 +00:00
Carsten Haitzler cb54bb2e60 optimisipoos. (e17's menus should be more responsive now)
SVN revision: 14084
2005-04-03 14:22:17 +00:00
Carsten Haitzler 6a4061ae7c 1. found leak in event code - fix.
2. fix leak in textblock - much better now


SVN revision: 13137
2005-01-30 11:41:01 +00:00
Carsten Haitzler 342f0b1ee2 oooh... i found a nasty mouse grab/count/accoutning/hold etc. issue with
events. fixed (thanks bart!) :)


SVN revision: 13023
2005-01-20 06:54:45 +00:00
Carsten Haitzler 6a0b8df837 extend key and mouse events
SVN revision: 12457
2004-12-14 03:21:32 +00:00
Carsten Haitzler ca528cec70 oops printf's
SVN revision: 11684
2004-09-21 12:00:31 +00:00
Carsten Haitzler 8aad2d37e7 fix mouse in/out grab issues
SVN revision: 11683
2004-09-21 09:33:18 +00:00
Carsten Haitzler fd3af77b34 no printfs
SVN revision: 11659
2004-09-17 13:47:47 +00:00
Carsten Haitzler 77b7f24e5b mouse out/int do good things now
SVN revision: 11658
2004-09-17 13:46:55 +00:00
Carsten Haitzler 7b5bada52d fix up grabs a bit more :)
SVN revision: 11623
2004-09-13 03:56:39 +00:00
Carsten Haitzler fa49841f36 oops- for repat events this screws up grabbing..
SVN revision: 11612
2004-09-12 04:49:07 +00:00
ncn e8ab7668e0 More documentation, simplification and grouping. Some of these changes are themselves going to require polishing, but the docs are now a little bit more organised.
SVN revision: 11235
2004-08-16 05:13:25 +00:00
Carsten Haitzler 59419c9aa4 propogate pass_events to sub-objects of smart objects...
SVN revision: 10503
2004-06-14 06:04:22 +00:00
Carsten Haitzler c6e321a630 distable... :)
SVN revision: 9745
2004-04-16 01:38:14 +00:00
zuluone c17ec61deb corrected the docs slightly - no code changed
SVN revision: 8993
2004-02-16 19:22:48 +00:00
rephorm 63629f7822 gotcha rasties.
but let's do it for all of 'em :)


SVN revision: 8697
2004-01-28 04:48:52 +00:00
Carsten Haitzler 3dab963454 sorry formie - we want these in! you have to find the extra thaw!
if u want help:

export EVAS_DEBUG_SHOW=1
export EVAS_DEBUG_ABORT=1

and evas will call abort() (and thus gdb will trap it) on errors.


SVN revision: 8693
2004-01-28 04:30:55 +00:00
Carsten Haitzler 4bfe9af00a freeze/thaw debug!
SVN revision: 8688
2004-01-28 02:43:13 +00:00
rephorm 94a98eeb88 fix evas_event_feed_* functions
they were first returning if (events_frozen > 0), then later only calling
  the callbacks if (!events_frozen). if for some reason events had been thawed
  an extra time, events_frozen would be negative, causing the callback to not
  be called. the second check was redundant, so they were removed.


SVN revision: 8685
2004-01-27 23:07:27 +00:00
Carsten Haitzler a99b683b04 oops.
SVN revision: 7682
2003-10-21 04:17:26 +00:00
Carsten Haitzler 1bf34243f6 move co-ordinates to be their own type. this is a good thing, because ti
allows me to be able to virtualize he canvas co-ordinate system. right now
it's doubles. i can now move to floats, int's etc. with a recompile (and well
recompile all depending apps too). it's still ACTUALLY doubles, just all
typedef'ed now. i've also changed booleans to actual boolean types (not an
int), all code will keep working - but i'd highly suggest moving your code to
use these types if interacting with evas.


SVN revision: 7644
2003-10-18 03:34:00 +00:00
Carsten Haitzler 3222e8202e a little nicer
SVN revision: 7179
2003-07-16 07:39:28 +00:00
Carsten Haitzler fd356dc4d9 break!
SVN revision: 7118
2003-07-08 07:06:10 +00:00
Carsten Haitzler 0c5a435128 make deleting of grabs within a key callback "safe"
SVN revision: 7117
2003-07-08 06:08:26 +00:00
Carsten Haitzler 7f234266a9 wheel patches
SVN revision: 6935
2003-05-25 09:43:53 +00:00
Carsten Haitzler 42219cdca3 Evas doc update... at least all api calls are now listed
SVN revision: 6742
2003-03-05 02:30:20 +00:00
Carsten Haitzler 921c853a1c hmmm breakage.. not good.
SVN revision: 6641
2003-01-30 00:02:30 +00:00
Carsten Haitzler ab2a046990 freeze/thaw event yhandling... and dont respond to a changed focus after
grabs are handled....


SVN revision: 6640
2003-01-29 23:37:10 +00:00
Carsten Haitzler 693645b0ea then there weere grabs
SVN revision: 6601
2003-01-20 05:17:21 +00:00
Carsten Haitzler 3f207b8c08 const-ify lots of things...
SVN revision: 6558
2003-01-10 04:58:51 +00:00
Carsten Haitzler 8451b5cc08 key grabs are done... ok not as efficiently as i'd liek so having more than
a dozen key grabs at any time may impact key event handling a little...

oh yeah.. added to the api .. now theres a modifier mask and a not_mask. the
not mas means "grab the key only if NONE of these modifiers are active and
only if one or more of the mask modifiers are active). using this you can
easily select allmodifiers, none, or a certain set of modifiers. if you need
more than that put in multiple grabs then :) to just have that exact set of
modifiers grabbed have not_mask be the inverse of mask. :)


SVN revision: 6546
2003-01-05 12:55:37 +00:00
Carsten Haitzler beb924c23e keyboard support... key grabs dont work.. and i'm not happy with it as an
api causeti doesnt support modifiers when grabbing in the api.


SVN revision: 6493
2002-12-17 00:00:38 +00:00
Carsten Haitzler 56b5e15f26 code move
SVN revision: 6445
2002-11-08 08:02:15 +00:00