Commit Graph

329 Commits

Author SHA1 Message Date
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 996645a4d6 add abort so u can trap etk badness
SVN revision: 24316
2006-07-30 14:30:24 +00:00
rephorm ab7d018a71 set the name to NULL on _del instead of _free
Since free can be delayed, if you deleted a named object, created a new one and set it to the same name, the hash could still point to the old object.


SVN revision: 23865
2006-07-13 00:26:25 +00:00
doursse 3a0454a50b warnings-- and remove trailing spaces
SVN revision: 23320
2006-06-09 05:11:37 +00:00
Carsten Haitzler d7eee7eee6 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
sebastid a17c875ddc Add const.
Remove unused variables.


SVN revision: 23027
2006-05-31 18:33:46 +00:00
Carsten Haitzler c05284ea5f fix sizing problem when u set style after setting text/font
SVN revision: 22873
2006-05-25 02:40:09 +00:00
Carsten Haitzler db9561ff11 fixup for over-grab-count
SVN revision: 22730
2006-05-19 07:56:53 +00:00
Carsten Haitzler c9738a1395 illogict patch for more escapes :)
SVN revision: 22541
2006-05-11 23:46:54 +00:00
moom d2dbafa095 * The textblock object now gets its color multiplied by the color of its
clip object.


SVN revision: 22530
2006-05-11 12:55:04 +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
Stafford Mitchell Horne 88edaa2e02 Add font charmap caching
* TODO: store cache on disc, for faster cache loading (this requires EET to support arrays)


SVN revision: 22294
2006-04-22 11:08:01 +00:00
Carsten Haitzler 05ea1163f3 fix over/under grab problems
SVN revision: 22234
2006-04-19 14:37:49 +00:00
Stafford Mitchell Horne 34b43317af Revert to old fontconfig searching
SVN revision: 21969
2006-04-09 02:42:21 +00:00
Carsten Haitzler 02ab2a4df1 fontconfig mem reduction patch (only load what is needed)
SVN revision: 21880
2006-04-05 23:23:16 +00:00
Carsten Haitzler 55fdc7ac5f add fc flags
SVN revision: 21805
2006-04-04 13:14:01 +00:00
Stafford Mitchell Horne 59fb5be456 Refuse zero length fonts.
SVN revision: 21532
2006-03-28 16:28:54 +00:00
stffrdhrn b1e03e8791 Evas Fontconfig changes
* Move evas fontconfig changes out of the search loop
 * Use the whole font name for the search pattern this allow things like
   "Bitstream Vera Serif,Kochi Gothic" so you can manually setup fallbacks


SVN revision: 21407
2006-03-19 11:17:43 +00:00
stffrdhrn ec8cd4cc08 Add fontconfig to evas for finding fonts
* This can be disabled with --enable-fontconfig=no
 * Test in e17 with "enlightenment_remote -font-default-set title_bar Serif 12"
 * This is just the beginning: TODO: style searching, language reorder bypass


SVN revision: 21394
2006-03-19 04:29:57 +00:00
doursse 1f3549a60b xrender xcb engine
SVN revision: 21172
2006-03-10 19:10:07 +00:00
Carsten Haitzler f51753a4b8 rehinting works on the fly now
SVN revision: 20858
2006-03-01 03:48:03 +00:00
Carsten Haitzler 986bc3b7d0 rehinting works on the fly now
SVN revision: 20857
2006-03-01 03:48:02 +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 4dd95e3f3e disable double click flags if u clock on something else in between
SVN revision: 20554
2006-02-18 04:40:14 +00:00
Carsten Haitzler c26850d809 text objects never drew with offsets to account for style padding - done now :)
SVN revision: 20509
2006-02-16 02:06:55 +00:00
Ben Martin c7788c6bd8 gaurd access to layer->objects->last to check if layer->objects == 0
SVN revision: 19982
2006-01-23 06:54:04 +00:00
Christopher Michael e70d9a0a03 Check that the Textblock_Line exists first before trying to free or else segv
SVN revision: 19903
2006-01-19 14:16:47 +00:00
sebastid 59f9caea69 Formatting.
SVN revision: 19790
2006-01-14 15:39:57 +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
Carsten Haitzler bc59e998b7 patch from al catching nasty oops
SVN revision: 19765
2006-01-14 09:26:22 +00:00
sebastid cfb57a407e Cast the objects to object list.
SVN revision: 19610
2006-01-07 14:31:57 +00:00
sebastid bca26535dd Fix compiler warnings.
SVN revision: 19580
2006-01-06 23:13:16 +00:00
sebastid 3e41ec2fbd Remove EAPI warnings.
Remove duplicate defines.


SVN revision: 19579
2006-01-06 23:05:17 +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 1d9ef01856 oops - textblock badness with alloca
SVN revision: 18778
2005-12-02 03:20:56 +00:00
Dan Sinclair 470cf87824 - this fixes a problem in ewl where you couldn't click to put the cursor on
the end of the first line


SVN revision: 18747
2005-12-01 06:18:43 +00:00
Carsten Haitzler 3621124677 stringshare works! :)
SVN revision: 18724
2005-11-30 08:45:20 +00:00
tsauerbeck 594ad62182 free image cache on shutdown
SVN revision: 18703
2005-11-29 11:46:20 +00:00
Carsten Haitzler 7ea7bdf610 disable stringshare... something fishy.
SVN revision: 18698
2005-11-29 09:02:51 +00:00
Carsten Haitzler 96015f59ab use stringshare too
SVN revision: 18680
2005-11-28 15:30:07 +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 ebfeef8e19 Avoid allocations on "".
SVN revision: 18656
2005-11-27 07:02:34 +00:00
Carsten Haitzler ca12b981bb clip colors apply to style colors now too
SVN revision: 18652
2005-11-26 15:56:51 +00:00
Carsten Haitzler 18f311a137 typo fix
SVN revision: 18650
2005-11-26 13:58:33 +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 59bbe6cf2d move pow lut table to read only shared memory
SVN revision: 18628
2005-11-24 04:40:14 +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 69cc1760ef i think this will fix the layer thing nathan found
SVN revision: 18380
2005-11-08 11:59:21 +00:00