Commit Graph

220 Commits

Author SHA1 Message Date
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 b14fe9b889 fix oops
SVN revision: 12830
2005-01-08 15:25:50 +00:00
Carsten Haitzler a5e71dacbd some stubs.. thinking about how to do this...
SVN revision: 12827
2005-01-08 12:47:36 +00:00
Carsten Haitzler a09df78344 and name the fn better
SVN revision: 12826
2005-01-08 10:39:09 +00:00
Carsten Haitzler ee2346b2c8 1. move font dir to its own
2. textblokc object stub. this is for an etxo-style text object. nothing much
there yet.


SVN revision: 12825
2005-01-08 10:02:18 +00:00
Carsten Haitzler 05c6c9d41d change order...
SVN revision: 12500
2004-12-18 11:08:56 +00:00
Carsten Haitzler 6a0b8df837 extend key and mouse events
SVN revision: 12457
2004-12-14 03:21:32 +00:00
Carsten Haitzler 6755cd5e90 fix mouse grab accounting on delete and hide
SVN revision: 12232
2004-11-20 07:41:14 +00:00
Carsten Haitzler 0e38160623 buildie cleanies
SVN revision: 11955
2004-10-22 02:40:32 +00:00
Carsten Haitzler 49d92b0277 distcheck
SVN revision: 11947
2004-10-21 08:06:13 +00:00
Carsten Haitzler bfbf65e04d dont need to set LDFLAGS
SVN revision: 11934
2004-10-21 03:02:01 +00:00
Carsten Haitzler d17b8d8c96 and dont propagate those...
SVN revision: 11918
2004-10-20 03:26:12 +00:00
Carsten Haitzler 3d5d362ba3 only pass certain callbacks to smart parents...
SVN revision: 11761
2004-10-06 02:34:01 +00:00
Carsten Haitzler 35967b3ead and dont reload if the image is generated pixels...
SVN revision: 11701
2004-09-23 02:18:15 +00:00
Carsten Haitzler b95e96d208 and invalidate that image...
SVN revision: 11700
2004-09-23 02:08:26 +00:00
Carsten Haitzler 673e8ad92d load - check! :)
SVN revision: 11699
2004-09-23 01:58:50 +00:00
Carsten Haitzler e1191d8aab dont wipe filename if getting pixels for reading :)
SVN revision: 11695
2004-09-22 04:54:39 +00:00
Carsten Haitzler 5e8d46e884 clip bug fix :)
SVN revision: 11694
2004-09-22 04:37:51 +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 5845acceab brett's patch for resize and doc typos :)
SVN revision: 11681
2004-09-21 03:15:42 +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
Carsten Haitzler a27188129c valgrind problems... valgrind told me so! :)
SVN revision: 11406
2004-08-28 01:38:31 +00:00
ncn c7b724474c Just some more docs. A few todos inserted, to be fixed soon.
SVN revision: 11330
2004-08-23 23:04:34 +00:00
Carsten Haitzler 1131ec1e34 and here are the stubs of a cairo engine
SVN revision: 11248
2004-08-17 06:03:39 +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
tsauerbeck 7cde671ea0 don't try to get the previous character to position 0
SVN revision: 11208
2004-08-12 18:59:03 +00:00
ncn 1ac05630b8 Some new docs, some cleanup, some more groups.
SVN revision: 11203
2004-08-12 12:14:01 +00:00
ncn bc8c430596 Some simplification, some new functions docs, some new modules, some new doc bugs.
SVN revision: 11125
2004-08-01 12:34:19 +00:00
ncn 5657ac4928 Some simplification and creation of some modules.
SVN revision: 11124
2004-08-01 02:20:40 +00:00
tsauerbeck 4be5caefbd consistent init/shutdown system
SVN revision: 10725
2004-07-07 19:24:49 +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 a3f6222d01 and check there
SVN revision: 10084
2004-05-06 02:19:15 +00:00
Carsten Haitzler b5d9bf4dd0 extra paranoid checks for text ptr
SVN revision: 10083
2004-05-06 02:12:21 +00:00
Carsten Haitzler b46f5ee456 lets limit the starting defaults
SVN revision: 10070
2004-05-05 11:00:19 +00:00
Carsten Haitzler b8d1a2a24a avoid type overflow...
SVN revision: 9949
2004-04-28 01:52:16 +00:00
Carsten Haitzler d88541cedb as an excercise in forcing everyone to write code using the correct
datatypes... i have by default changed the coord datatypes to be ints instead
of doubles... not - READ your headers carefully - they are Evas_Coord types.
dont ASSUME them to be anything except a scalar of some sort your compiler
can handle and cast. (coudl be int, long, long long, short, double, float etc.)


SVN revision: 9924
2004-04-27 08:31:27 +00:00
Carsten Haitzler c6e321a630 distable... :)
SVN revision: 9745
2004-04-16 01:38:14 +00:00
Carsten Haitzler bd78875c63 fix stack queries! :)
SVN revision: 9362
2004-03-16 04:13:05 +00:00
Carsten Haitzler 8842e181bf check deleted flag.. need to do this in more places tho....
SVN revision: 9280
2004-03-08 02:42:08 +00:00
Carsten Haitzler dfe6bb6f4e some more docs...
SVN revision: 9038
2004-02-20 07:06:39 +00:00
Carsten Haitzler f11447ab8a cross-compile cleanly damnit!
SVN revision: 9002
2004-02-17 07:12:38 +00:00
zuluone c17ec61deb corrected the docs slightly - no code changed
SVN revision: 8993
2004-02-16 19:22:48 +00:00
Carsten Haitzler fbd57cda60 patchies in
SVN revision: 8793
2004-02-04 04:38:34 +00:00
Carsten Haitzler 144d7b8a78 oops - delete_me flag!
SVN revision: 8763
2004-02-02 01:33:46 +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 329fcd6494 and dont leave stale fonthandles around...
SVN revision: 8631
2004-01-23 07:53:08 +00:00
Carsten Haitzler 8523421b7c added in loading froms from memory buffers at the engine level, and now an
api to set a font "source" (blank is normal filing system) but the source can
be a device or file etc. in this case it currently supports eet files as the
source and then the font name is used as a key in th eet file as to where to
find the font - edb support would be trivial to add. :) if the font is not
found in the "source" it falls back to the font path etc.


SVN revision: 8625
2004-01-23 02:14:45 +00:00
Kim Woelders 2c69b06922 Hushhhh
SVN revision: 8507
2004-01-16 21:11:41 +00:00
Carsten Haitzler dca0de96c2 till's shutdown patch - this is good (tm). :)
SVN revision: 8371
2004-01-13 02:24:03 +00:00
tsauerbeck c8d152ef0a fixed evas smart object refcounting
SVN revision: 8363
2004-01-12 21:57:15 +00:00
tsauerbeck 1e0f9c8885 take care of mouse wheel callbacks in _clear() and _cleanup()
SVN revision: 8361
2004-01-12 21:34:50 +00:00
Carsten Haitzler 155b09b092 propagate events from child objects to msart object parents
SVN revision: 8093
2003-12-11 11:20:40 +00:00
Carsten Haitzler 58d0647f41 yuv pixel import api (well arbitary pixel format import api) for doing media
sreams (video) via image objects


SVN revision: 8068
2003-12-10 01:12:13 +00:00
Carsten Haitzler 83ca13924e dont segv if font wasnt loaded and we query
SVN revision: 7756
2003-10-29 00:22:46 +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 b3c6078785 get rid of useless shm check.... and other things (cant remember)
SVN revision: 7519
2003-10-09 03:05:17 +00:00
Carsten Haitzler 84544019f0 oops. on evas_free nested smart objects might just not clean up right.. fix
SVN revision: 7263
2003-07-30 02:58:10 +00:00
Carsten Haitzler 22ff36d771 oops overzealous optimizing made me miss a case... naughty naughty.. very
naughty. fix.


SVN revision: 7254
2003-07-29 01:42:20 +00:00
Carsten Haitzler 2b3b2ff8ca ooooops. evas bug1 fix fix fix
SVN revision: 7213
2003-07-22 05:16:47 +00:00
Carsten Haitzler 368cac9350 also if text itself changes...
SVN revision: 7185
2003-07-18 01:46:12 +00:00
Carsten Haitzler 310f0bda19 valgrindy goodness
SVN revision: 7184
2003-07-17 10:35:13 +00:00
Carsten Haitzler 6f39ca801f bleh!
SVN revision: 7183
2003-07-17 10:01:13 +00:00
Carsten Haitzler 3222e8202e a little nicer
SVN revision: 7179
2003-07-16 07:39:28 +00:00
Carsten Haitzler 583791b12e optimize text object state change.. much better!
SVN revision: 7177
2003-07-16 05:12:46 +00:00
Carsten Haitzler d2aadd94b2 optimize font searching... fixed that fixme.
SVN revision: 7176
2003-07-16 04:00:47 +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 84a896b1e0 try this?
SVN revision: 7097
2003-06-26 07:38:44 +00:00
Carsten Haitzler 8dcf84d00f viewporties?
SVN revision: 7096
2003-06-26 07:36:16 +00:00
Carsten Haitzler 8977499da7 fix fix fix :)
SVN revision: 7089
2003-06-25 08:26:56 +00:00
Carsten Haitzler 87e41116b8 some optimizations seem to have screwed up rendering in corner cases. fixed
by accounting for some of my new additions


SVN revision: 7086
2003-06-25 07:58:58 +00:00
Carsten Haitzler fd6cd9805e get rid of minor flota->in calculation artifact i found!
SVN revision: 7060
2003-06-22 03:46:24 +00:00
Carsten Haitzler 42d8853235 oops leakage on ferring an evas! fix.
SVN revision: 7059
2003-06-22 02:33:25 +00:00
Carsten Haitzler bfe9b1fa8e fixing minor arithmeic stuff in text queries. all happy now.
SVN revision: 6986
2003-06-07 02:32:30 +00:00
Carsten Haitzler 0495a7540b new calls to help string processing for programs - these walk up and down 1
utf8 character (sicne thats evas's standard string format). this lets apps do
character processing AND still be utf8-safe.


SVN revision: 6976
2003-06-05 06:08:43 +00:00
Carsten Haitzler 7f234266a9 wheel patches
SVN revision: 6935
2003-05-25 09:43:53 +00:00
Carsten Haitzler 5ca397ff69 fonts.dir fonts.alias support... so u can point evas at x's font
directories... as long as the fonts are ttf's it will work. you can use
x-style font definition. ie.
-*-helmet-medium-r-*-*-*-*-*-*-*-*-*-*
:)
(fonts.alias is also supported!). the old style is still supported too.


SVN revision: 6870
2003-04-20 08:26:32 +00:00
Carsten Haitzler b991fb9819 viewport bug fixed
SVN revision: 6868
2003-04-17 12:05:00 +00:00
Carsten Haitzler 4947646c07 accept NULLS for font queries
SVN revision: 6865
2003-04-16 02:04:30 +00:00
Carsten Haitzler a2051c00f2 special case fill if fill = object size to avoif roundoff miscalcs
SVN revision: 6832
2003-04-05 04:48:14 +00:00
Carsten Haitzler bbfaab2ac1 memory buffer engine... not doing everything. api may change... working on it.
SVN revision: 6808
2003-04-02 04:28:27 +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 d92d87a4a6 now that documentation is looking nicer
SVN revision: 6701
2003-02-21 10:28:24 +00:00
Carsten Haitzler 90a63a715f major oopsie. :)
SVN revision: 6691
2003-02-15 01:30:32 +00:00
Horms d115d3a677 removed some potential double frees in evas_object_image_*
SVN revision: 6682
2003-02-13 10:25:30 +00:00
Carsten Haitzler 9854af242d i've been leaning mem usage down... save 30% on all evas_objects now! :)
SVN revision: 6678
2003-02-09 04:22:45 +00:00
Carsten Haitzler c969e9a7c9 ewps!
SVN revision: 6642
2003-01-31 07:56:46 +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 fcc61494df fear the changes... api breakage... everyone.. errr... fix yer proggies! :)
SVN revision: 6618
2003-01-22 22:24:36 +00:00
Carsten Haitzler 81eea1bd27 code
SVN revision: 6602
2003-01-20 06:44:07 +00:00
Carsten Haitzler 693645b0ea then there weere grabs
SVN revision: 6601
2003-01-20 05:17:21 +00:00
Carsten Haitzler df1d81011a after some testing.. this code has been found wanting...
SVN revision: 6600
2003-01-20 05:05:16 +00:00
Carsten Haitzler 7b1247042b and lets make that safe for smart obbies
SVN revision: 6599
2003-01-20 04:36:17 +00:00
Carsten Haitzler de9b6b3ca0 ok ok.. callabcks walking lists.. delete flags... you get the idea. (i've
known about this for a long tiem and planned on fixing ti eventualyl... but
it's biting now.)


SVN revision: 6597
2003-01-20 03:54:00 +00:00
Carsten Haitzler 7c80fa9a3e logic problem on evas_free(). shoudl be fixed now... :)
SVN revision: 6559
2003-01-10 05:38:47 +00:00
Carsten Haitzler 3f207b8c08 const-ify lots of things...
SVN revision: 6558
2003-01-10 04:58:51 +00:00
Carsten Haitzler 47280739ac oh my wordy lordy me.. too accurate for its own good soi've had to fidge to
overlap parts as the positioning is done in 24.8 space not integer space


SVN revision: 6553
2003-01-08 06:39:38 +00:00
Carsten Haitzler 6e8c67d976 apparently i updated something...
SVN revision: 6551
2003-01-08 04:33:33 +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 b77e71b077 maybe debians include system might be happier now...
SVN revision: 6532
2002-12-30 00:48:39 +00:00
Carsten Haitzler d1d3b62ebe hmm. forgot to translate text coords form queries.. and some glyph vs char
pos bugs


SVN revision: 6526
2002-12-29 02:09:34 +00:00
Carsten Haitzler 81fd6f6c3d code code.. fix
SVN revision: 6496
2002-12-18 06:02:32 +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 f837c83cc7 informers now are just event callbacks. makes for a simpler api. interceptors
are done now too - when an interceptor is set it takes over from the actual
call it intercepts and now that call is responsible for doing the
move/resize/raise/lower etc. (method overriding)


SVN revision: 6490
2002-12-15 00:33:57 +00:00
Carsten Haitzler 72b9af03de informers & interceptors... meant to "inform" callbacks of when an object
has been show, hidden, moved, resized or restacked :) handy for making
widgets (ie child widget got resized.. parent can adjust to fit child widget).

also interceptors.. designed to allow callbacks to intercept move, resize,
show, hide and restacking calls and modiy behavior (handy for widget sets
too!)


SVN revision: 6488
2002-12-10 06:45:18 +00:00
Carsten Haitzler fab38ef58b update todo...
SVN revision: 6483
2002-12-09 23:00:10 +00:00
Carsten Haitzler 936fe70f8b rico-suave.
SVN revision: 6468
2002-12-01 23:48:19 +00:00
Carsten Haitzler 21964db51d more documentation.
SVN revision: 6463
2002-11-26 07:28:02 +00:00
Carsten Haitzler 1be4553049 sellies no-more-segv's
SVN revision: 6462
2002-11-26 05:25:02 +00:00
Carsten Haitzler 35105b70d8 docs... and memory error stuff... auditing memory allocs and making ti very
robust if allocs fail


SVN revision: 6458
2002-11-24 04:06:08 +00:00
Carsten Haitzler 56b5e15f26 code move
SVN revision: 6445
2002-11-08 08:02:15 +00:00