Commit Graph

289 Commits

Author SHA1 Message Date
sebastid 0410bbcf4a Fix formatting
SVN revision: 24403
2006-08-05 03:07:29 +00:00
ningerso d85048c93f Did some cache miss profiling with a large number of transient text objects
and found that reordering the evas list containing the font path list was
actually hurting cache performance. Frequent cache misses occurred in
evas_mempool_free in it's main loop. So removing the list node and re adding it
actually decreased cache performance in some cases. This would also cause memory
allocation bouncing if mempools were not used.

Added evas_list_promote_list to move a list node to the beginning of a list.
Changed reordering lists to use evas_list_promote_list.


SVN revision: 24387
2006-08-04 10:00:50 +00:00
moom ac0055db7e * Add evas_object_smart_parent_get() to get the smart parent of an Evas_Object
* Add evas_object_smart_members_get() to get a list of the member objects of a smart object


SVN revision: 24374
2006-08-03 02:14:53 +00:00
Carsten Haitzler 6590dd220f add 2 list calls that well - i need for efficiency :)
SVN revision: 24245
2006-07-27 19:27:34 +00:00
sebastid a17c875ddc Add const.
Remove unused variables.


SVN revision: 23027
2006-05-31 18:33:46 +00:00
Carsten Haitzler 77e35d60a3 jose's software rendering work - slight improvements (about 5-10%). i had to
disable destination alha mmx support for text rendering (mask + color) as it
was broken in tests.


SVN revision: 22440
2006-05-02 07:28:49 +00:00
Stafford Mitchell Horne 3a6d184758 Add API for getting the available fonts
SVN revision: 22416
2006-04-30 11:39:44 +00:00
Carsten Haitzler e8bf4cdcbb make hinting an engine api thnig - engine apis need to be mroe easily updated
SVN revision: 20850
2006-02-28 04:07:49 +00:00
Carsten Haitzler 10d6748b56 evas lets you choose font hinting - in theory. :)
SVN revision: 20823
2006-02-27 14:03:27 +00:00
Carsten Haitzler d410036b81 removes some unused struct members (should remove more though) and fixes up
modular loaders


SVN revision: 19814
2006-01-15 06:21:05 +00:00
doursse 6357a06396 loaders are now modules
SVN revision: 19805
2006-01-14 20:03:42 +00:00
Carsten Haitzler f435375b19 initial import fo loadable engine modules for evas - from jorge zappie :)
SVN revision: 19775
2006-01-14 12:13:38 +00:00
sebastid 19f6192f71 Don't remove const. Other code should be fixed instead.
SVN revision: 19609
2006-01-07 14:26:01 +00:00
sebastid 237cdc2373 Remove the const. It generates a _lot_ of warnings.
SVN revision: 19607
2006-01-07 14:12:33 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
Carsten Haitzler 1b272aec90 joses's gradient work - gradient look nice. one problem jose.. USE BRACKETS!
do NOT depend on order operation precedence. it broke scaling. laos other
completely bizarre mmx things were going wrong with mm7 ending up not 0 so
i've had to force it to be 0.


SVN revision: 18811
2005-12-03 09:27:53 +00:00
Carsten Haitzler aaf6e303bd use stringshare. saves a few hundred allocs... if we start doing lots of text
:)


SVN revision: 18679
2005-11-28 15:18:01 +00:00
rbdpngn 74dc468be3 Create a shared style type enum and padding mapping function.
Implement styles for the text object.
Add soft outline text style to text and textblock.


SVN revision: 18644
2005-11-26 08:04:20 +00:00
Carsten Haitzler 6f24506e8b 1. diable a bunch of engines from auto-detecting stuff. you have to manually
--enable gl, qtopia and directfb enigines - they are either incomplete, buggy
or simply used so little that its not worth building unless the user REALLY
wants the support.


SVN revision: 18424
2005-11-11 06:09:46 +00:00
Carsten Haitzler d1861a8d4c add a call
SVN revision: 18336
2005-11-06 09:47:28 +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 83f010591d no more old textblock - gone. completely. tb2 renamed (as threatened) to
textblock. updated edje and e17.


SVN revision: 18054
2005-10-28 02:56:27 +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 f4a8513aa4 an xrender engine. fully complete - but it doesnt support shaped window masks
and destination alpha like software_x11 does so its not a 100% dropin
replacement... yet


SVN revision: 17112
2005-10-02 15:15:44 +00:00
Carsten Haitzler 37d8934a0e text range get works. u can gety it INLCUDING \n's and \t's (simple
formatting) as plain text - for u dj2! :)


SVN revision: 16684
2005-09-11 03:23:11 +00:00
Carsten Haitzler 79127a2267 more tb2 work! :)
SVN revision: 16675
2005-09-10 11:51:52 +00:00
Carsten Haitzler b672283702 tb2 work! :)
SVN revision: 16671
2005-09-09 14:19:06 +00:00
Carsten Haitzler e62fcac4f3 more tb2 work!
SVN revision: 16467
2005-09-02 15:27:09 +00:00
Carsten Haitzler 5fc8d291e1 fix some leaks, bugs and add api calls that work! :)
SVN revision: 16432
2005-08-30 15:19:39 +00:00
Carsten Haitzler 5236734f1d remove debugging rect
SVN revision: 16393
2005-08-29 05:21:07 +00:00
Carsten Haitzler f2501ae4f1 tb2 work
SVN revision: 16389
2005-08-28 06:41:54 +00:00
Carsten Haitzler 8b2d57a76c temporary smart stacking workaround until we fix it properly with internal
sub-object lists


SVN revision: 16367
2005-08-26 06:53:37 +00:00
Carsten Haitzler e8973254f1 you can query certain format nodes - like \n and \t... :)
SVN revision: 16252
2005-08-21 05:13:49 +00:00
Carsten Haitzler c50dc66ff5 more tb2!
SVN revision: 16241
2005-08-20 08:01:59 +00:00
Carsten Haitzler 52f8f3be64 some more work on tb2
SVN revision: 16234
2005-08-18 15:59:42 +00:00
Carsten Haitzler 8ad2ab73de doing more work on tb
SVN revision: 16037
2005-08-05 10:08:05 +00:00
Carsten Haitzler 19ee9c1e0d i have started work on new textblock api/code - it is (for now) known as
textblock2 (the old textblock code is still there in textblock_old and the
api is still there until we swtich over).

...

important right nwo is COMMENTs on the api. do u like it. i am tryng to
keepit simple. right nwo i am writing JUSt enought to implement the markup
set api and styles - not a lot for editing and detailed queries yet. i will
work on that once the basic markup parse, style stuff and layout is done.


SVN revision: 16017
2005-08-03 13:07:00 +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 75ae92333a warnigns cleanups + fb 32bpp transparency support for evas from celement
SVN revision: 14893
2005-05-22 03:02:15 +00:00
Carsten Haitzler 46e02cf8bb whitespace
SVN revision: 14889
2005-05-22 02:49:50 +00:00
sebastid 1de81f6bb6 I like is_set better than is_set_get. It's shorter and looks better and
gives the right description.


SVN revision: 14565
2005-05-03 08:02:29 +00:00
Carsten Haitzler 5fa03d138e support unfilled borders with images (middle doesnt fill)
SVN revision: 14037
2005-03-31 11:39:55 +00:00
Dan Sinclair 520506a7b3 - rename function for consistency
SVN revision: 13659
2005-03-08 03:33:09 +00:00
Carsten Haitzler 76d51ef015 tabs work...
added align to position todo.
then margins...
then anchors...
damn... and thats like... usable and shit...


SVN revision: 13421
2005-02-18 09:44:27 +00:00
Carsten Haitzler c562850750 remove api that isnt functioning and wont for a while.
SVN revision: 13404
2005-02-16 15:38:44 +00:00
Carsten Haitzler 8d73bc7292 more work on textblock. the api as it stands is now complete enough for all
things you might need textblock for for now - need to handle in-text anchors,
tabs, margins and styles.


SVN revision: 13402
2005-02-16 13:57:41 +00:00
Carsten Haitzler 1b696a9abb complete more of textblock
SVN revision: 13389
2005-02-16 10:04:32 +00:00
Carsten Haitzler 1b5ec03990 fix segv in textblock.
format inserts should work right... now
test inserts should work correctly now too
text delets works right in terms that they delet text. they do not handle
deleting formattign nodes correctly yet.
errr. other stuff still to do/test too


SVN revision: 13338
2005-02-13 06:27:32 +00:00
Carsten Haitzler ee21eb81ca more work on textblocks! :)
SVN revision: 13263
2005-02-09 16:10:56 +00:00
Carsten Haitzler fdae56474e see diff. :)
SVN revision: 13211
2005-02-07 02:12:36 +00:00
Dan Sinclair 1eac84f967 - fill in the evas_object_textblock_text_get function
SVN revision: 13150
2005-01-31 04:58:41 +00:00
Carsten Haitzler 010a29867e the textblock actually works.
so far the following works:

   o = evas_object_textblock_add(evas);
   evas_object_move(o, 10, 40);
   evas_object_resize(o, win_w - 20, win_h - 50);
   evas_object_textblock_format_insert(o, "color=#000000ff");
   evas_object_textblock_format_insert(o, "font=/usr/local/share/expedite/data/Vera.ttf size=10");
   evas_object_textblock_text_insert(o, "This is 1 line. ");
   evas_object_textblock_text_insert(o, "And some more text. ");
   evas_object_textblock_format_insert(o, "size=20");
   evas_object_textblock_format_insert(o, "color=#f80");
   evas_object_textblock_text_insert(o, "Bigger orange text.");
   evas_object_textblock_format_insert(o, "size=8");
   evas_object_textblock_format_insert(o, "color=#0000ff88");
   evas_object_textblock_format_insert(o, "\n");
   evas_object_textblock_text_insert(o, "A second line of transparent blue.");
   evas_object_show(o);

i need to implement alignment handling next...


SVN revision: 13135
2005-01-30 10:22:47 +00:00
Carsten Haitzler 0329745fd0 been working textblock...
SVN revision: 13129
2005-01-29 16:28:18 +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 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 6a0b8df837 extend key and mouse events
SVN revision: 12457
2004-12-14 03:21:32 +00:00
Carsten Haitzler feb5571092 hidden symbol support
SVN revision: 12252
2004-11-25 05:18:31 +00:00
ncn b62e64eec6 Make the Evas docs generation system like the Ecore docs generation system.
SVN revision: 11044
2004-07-27 05:00:48 +00:00
tsauerbeck 4be5caefbd consistent init/shutdown system
SVN revision: 10725
2004-07-07 19:24:49 +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 67a3d2f391 font imaging stuff....
SVN revision: 9847
2004-04-22 11:29:34 +00:00
Carsten Haitzler fb5af0d025 SOME of the changes needed to support evoak... needs new eet...
SVN revision: 9829
2004-04-21 06:38:24 +00:00
atmosphere 04ac65be8f sort your evas lists via a function pointer
SVN revision: 9443
2004-03-24 07:23:51 +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
Carsten Haitzler dca0de96c2 till's shutdown patch - this is good (tm). :)
SVN revision: 8371
2004-01-13 02:24:03 +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 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 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 f726ca9c6c change of types
SVN revision: 6920
2003-05-20 06:05:47 +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 fcc61494df fear the changes... api breakage... everyone.. errr... fix yer proggies! :)
SVN revision: 6618
2003-01-22 22:24:36 +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 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 395f26ce93 some comments...
SVN revision: 6464
2002-11-26 07:30:27 +00:00
Carsten Haitzler 21964db51d more documentation.
SVN revision: 6463
2002-11-26 07:28: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 ff53f70023 fix till :)
SVN revision: 6455
2002-11-20 06:38:02 +00:00
Carsten Haitzler d4e39fd937 docs on all the evas_list* calls and a few more for completeness
SVN revision: 6447
2002-11-13 13:15:30 +00:00
Carsten Haitzler 5e92a0e893 change proposed api...
SVN revision: 6446
2002-11-11 11:44:00 +00:00
Carsten Haitzler 56b5e15f26 code move
SVN revision: 6445
2002-11-08 08:02:15 +00:00