Commit Graph

891 Commits

Author SHA1 Message Date
Carsten Haitzler b964c06760 fair enough to be more forgiving of malformed utf8 strings - but the problem
just changes from being cut off to garbage in the middle of the string.


SVN revision: 26893
2006-10-31 23:43:06 +00:00
Carsten Haitzler fd60c655b0 i was just playing with adding thread supprot to INTERNALS of evas (ie the
renderer gets threaded). if i thread at the simplest levels (low down in for
example the image scaler code - one of the most expensvie gfx routnes) on an
actual dual core system - performance drops by 40%. this just doesn't work
well at that level. thread creates and joins per render op are just a bad
thing (tm) :) so this really needs to go in much higher up and that presents
problems. :( i will need to clearly define entry and exit points to and from
threaded space (and thus all the locks) - remove all nested calls (where
internal code goes thru the same entry/exit points traditionally so it
deadlocks itself).. anyway - this here has all that code stripepd out i
played with - it is just the autofoo and build stuff so we can turn on/off
thread support at will in the build.


SVN revision: 26817
2006-10-28 03:02:23 +00:00
Carsten Haitzler 9604530f2f slight cleanups
SVN revision: 26615
2006-10-15 14:39:16 +00:00
Carsten Haitzler 21e9758f0b ooh - freeing a smart multiple times - bad bad bad.
SVN revision: 26611
2006-10-15 12:15:36 +00:00
tilman 050db03ce7 don't rely on TT_CONFIG_OPTION_BYTECODE_INTERPRETER in freetype 2.1, because distros suck so much. oh well.
SVN revision: 26428
2006-10-08 13:58:58 +00:00
tilman 4bd6d8870a fixed evas_common_hinting_available so it works properly with both freetype 2.1 and 2.2
SVN revision: 26421
2006-10-08 13:00:26 +00:00
Carsten Haitzler 94e3e465bf remove sub-pixel cursor advance for font rendering
SVN revision: 26420
2006-10-08 12:43:31 +00:00
Carsten Haitzler 3c6495b122 hmm - broke e17's mouse pointer
SVN revision: 26403
2006-10-08 00:32:50 +00:00
tilman 3074654eaf don't forward noop move/resize calls to smart objects anymore. code wrapped in ifdefs so you can easily restore the old behaviour if needed.
SVN revision: 26399
2006-10-07 17:35:14 +00:00
moom 424b6c5ffb * Fix a bug with double-click
SVN revision: 26381
2006-10-06 19:13:33 +00:00
Carsten Haitzler 801bdf34d8 joses fixes for grads with premul
SVN revision: 26348
2006-10-05 05:28:35 +00:00
Carsten Haitzler 64ab8b381d oooh - lots of cache misses due to new load opts - if load opts have "0"
members cache was being missed. fixed. :)


SVN revision: 26339
2006-10-03 23:49:03 +00:00
Carsten Haitzler 42aa3066e9 check sparseness when doing eet loads.
SVN revision: 26300
2006-10-02 11:24:26 +00:00
Carsten Haitzler 87af70ceef fix unpremul - broken :(
SVN revision: 26288
2006-10-02 05:19:39 +00:00
Carsten Haitzler 8c93e825a8 same as previous commit.
SVN revision: 26236
2006-09-30 10:18:37 +00:00
Carsten Haitzler a65d40c050 avoid loading all loaders if file doesn't exist
SVN revision: 25962
2006-09-18 14:51:48 +00:00
Carsten Haitzler 3f4b2a65bf tune the unloads to be conservative but effective.
SVN revision: 25955
2006-09-18 09:47:34 +00:00
Carsten Haitzler 3115a52684 and i implemented module UNLOADING. given enough cycles of non-use of a
module and no references, it will get.... UNLOADED :)


SVN revision: 25954
2006-09-18 09:40:29 +00:00
moom a719bd4d58 * evas_object_clip_unset(): set "cur.have_clipees" to 0 *after* having
removed the object from the list of clipees (as it used to work
actually)


SVN revision: 25661
2006-09-09 12:25:26 +00:00
Christopher Michael d24318ed7f Fix some non-NULL check issues in evas_clip.c . Don't ask how I found these :)
SVN revision: 25637
2006-09-08 17:59:19 +00:00
Carsten Haitzler c3fde12000 a few patches from emails. :) emails will be coming.. when i flush my mush.
SVN revision: 25533
2006-09-06 12:09:53 +00:00
sebastid e55f7b27b2 Functions used by modules must be EAPI
SVN revision: 25526
2006-09-06 07:33:40 +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
sebastid cabfc4a09a Remove unused variables.
SVN revision: 24991
2006-08-21 15:19:07 +00:00
Carsten Haitzler 6ca2a14020 use already loaded var :)
SVN revision: 24937
2006-08-20 14:51:10 +00:00
Carsten Haitzler c6164acc18 jpeg loader can use load opts to try pre-scale on load now... :) ie epeg
features directly in evas.


SVN revision: 24892
2006-08-19 01:48:13 +00:00
Carsten Haitzler d5a131c924 fix caching to account for load options
SVN revision: 24890
2006-08-19 00:22:02 +00:00
Carsten Haitzler 7899758192 guess svgz faster too
SVN revision: 24871
2006-08-18 14:54:24 +00:00
Carsten Haitzler 0889c589f2 added the ability to set load scaledown, dpi or load size - the svg loader
uses these to know what to render and how (or has defaults if these are not
set)


SVN revision: 24868
2006-08-18 14:45:26 +00:00
Carsten Haitzler 08e2c38474 jose's svg loader - in. needs the ability to set dpi etc. etc. - loader api
work and evas api work there.


SVN revision: 24830
2006-08-17 14:11:59 +00:00
Carsten Haitzler 48b81d3bfa remove printf
SVN revision: 24687
2006-08-14 13:56:18 +00:00
Carsten Haitzler 8b1f602f38 being an anally retentive bastard.. i checked if e worked in 8bpp under vnc.
GASP! it didn't. evas's color allocator was screwed. fixed! :)


SVN revision: 24686
2006-08-14 13:50:07 +00:00
Carsten Haitzler 7f41aeb177 fix some warnings!
SVN revision: 24599
2006-08-12 14:46:15 +00:00
Carsten Haitzler 21896dc50d jose's xpm loader.
SVN revision: 24579
2006-08-12 09:16:30 +00:00
sebastid 2c14125fbf space
SVN revision: 24539
2006-08-10 17:21:40 +00:00
rephorm a9ff065c01 i assume this was meant as an optimization. however, it wasn't correct for some cases (e.g. rgb = 187, 169, 123)
SVN revision: 24465
2006-08-08 06:01:37 +00:00
sebastid e3be454d46 Can someone who knows this code fix this?
SVN revision: 24413
2006-08-06 01:27:22 +00:00
sebastid 0410bbcf4a Fix formatting
SVN revision: 24403
2006-08-05 03:07:29 +00:00
ningerso 470d2eda32 Fix evas_list_promote_list to allow promoting to arbitrary points in the list.
SVN revision: 24388
2006-08-04 10:47:06 +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 996645a4d6 add abort so u can trap etk badness
SVN revision: 24316
2006-07-30 14:30:24 +00:00
Carsten Haitzler 51ccc72b4f and that was just SILLEH! - fix. fast fix.
SVN revision: 24247
2006-07-27 19:33:04 +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
Carsten Haitzler 37642982f7 make other core efl things do the same package thing
SVN revision: 23876
2006-07-13 19:48:09 +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
Carsten Haitzler 4cedfd95b9 way too many freetype headers are wrong - dont rely on them. :(
SVN revision: 23688
2006-07-03 09:09:06 +00:00
Carsten Haitzler 9748781970 revert list sort patch - it's losing list members.
SVN revision: 23458
2006-06-16 09:35:30 +00:00
Carsten Haitzler ea043349fc sort patch from cedric
SVN revision: 23415
2006-06-13 10:25:09 +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
David Walter Seikel e54d244e28 .cvsignore++
SVN revision: 22808
2006-05-21 13:20:02 +00:00
moom f4c549c9f6 * Move the optimizations of Jose for the hsv/rgb conversion functions to Evas
SVN revision: 22790
2006-05-21 09:43:58 +00:00
Carsten Haitzler db9561ff11 fixup for over-grab-count
SVN revision: 22730
2006-05-19 07:56:53 +00:00
moom 24b32bd7d4 * Fix hsv-->rgb conversion if h=360.0
SVN revision: 22677
2006-05-17 22:11:46 +00:00
Carsten Haitzler cbeeae7f14 fix segv's in simple line draws
SVN revision: 22642
2006-05-16 08:52:05 +00:00
Carsten Haitzler 1b3c1fb791 really simple fix for aa line draws.
SVN revision: 22639
2006-05-16 07:38:18 +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 646e3a1e3c fix mmx more
SVN revision: 22500
2006-05-10 04:06:42 +00:00
Carsten Haitzler 5ff7329f93 fixed mmx.h from gfx_routines
SVN revision: 22499
2006-05-10 03:51:22 +00:00
Carsten Haitzler ea998ce647 gl engine fixes patch from jose, and fix non mmx/sse system build
SVN revision: 22456
2006-05-04 11:52: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 21e63c83b9 move engine headers into engine dirs - and removes lots of useless old headers.
SVN revision: 22344
2006-04-25 04:00:21 +00:00
doursse 5e8ccae68a oups
SVN revision: 22324
2006-04-23 15:40:33 +00:00
doursse fd14218f04 fix a leak in xcb eng sfw (it remains one, but I don't see where it comes from). Update the xrender one. Don't use them yet (but who uses them ??), because it relies on fix of xcb that are in my hd
SVN revision: 22323
2006-04-23 15:38:23 +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
Carsten Haitzler 3b3b836125 fix edge interpolation for images with xrender and a segv for font rendering
if multiple engines dont agree on ext data for fonts


SVN revision: 22173
2006-04-17 01:57:11 +00:00
Stafford Mitchell Horne 34b43317af Revert to old fontconfig searching
SVN revision: 21969
2006-04-09 02:42:21 +00:00
Stafford Mitchell Horne f0b6819b6b Make sure to finish initializing sourced fonts
SVN revision: 21968
2006-04-09 02:36:03 +00:00
Stafford Mitchell Horne 8f207f622f Evas on-demand font loading
* When fonts are added from files we will only load the details
 * The first font is always loaded
 * I know there is a patch for this on the list but this way seems better to me


SVN revision: 21964
2006-04-09 00:02:47 +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 a14f932770 Dont crash on pcf fonts
* for pcf fonts EM square is 0 and ascent and descent are 0
 * TODO: get these things to render correctly


SVN revision: 21404
2006-03-19 10:50:33 +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 cbdc20a142 oops - soemoen changed the other symbols around while i changed the first set
SVN revision: 21063
2006-03-07 02:44:16 +00:00
doursse 1631126a97 warning--
SVN revision: 20916
2006-03-02 12:48:11 +00:00
Carsten Haitzler 46c7d3b025 1. new engine inheritance scheme - its recursive if u want it to be, and so
far buffer, software_x11 and fb engines use it. need to make allother
software enignes use it next then the gl, cairo, xrender engines, then dfb.
it cuts out a LOT of duplicate code. makes writign a new engine or engine
variant much simpler


SVN revision: 20908
2006-03-02 08:06:10 +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 7ee17d1174 oops - yeah. watch the ptr.
SVN revision: 20830
2006-02-27 15:40:46 +00:00
stffrdhrn 436fcc1c36 FIXME: what do you do when fi is NULL?
* hint, don't SEGV.


SVN revision: 20824
2006-02-27 14:52:36 +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 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
Carsten Haitzler 60edee650d fix egetnv of $HOME null return
SVN revision: 20158
2006-02-01 06:19:38 +00:00
Carsten Haitzler 852c800117 smaller buf for sse test (was too big anyway) and mmx2 is prettry much sse :)
SVN revision: 20130
2006-01-31 01:13:51 +00:00
Carsten Haitzler 18d01b7d4a sse detect b0rken. fix.
SVN revision: 20035
2006-01-26 04:44:58 +00:00
Carsten Haitzler 07e7927004 1. buffer test really wqasnt being very fair - time to be fair.
2. be able to skip a copy in certain cases when scaling - should improve
speed in several situations - evas is defintiely not optimal :)


SVN revision: 19983
2006-01-23 07:57:30 +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
Carsten Haitzler 22eee9acc5 oops - missed fixup of end ptr. :)
SVN revision: 19957
2006-01-22 10:48:51 +00:00
Carsten Haitzler 1adf40fbb5 actually use the sse routines!
SVN revision: 19955
2006-01-22 06:54:18 +00:00
Michael Jennings bac309cbdf Fri Jan 20 00:21:07 2006 Michael Jennings (mej)
Fix spec file and build.
----------------------------------------------------------------------


SVN revision: 19917
2006-01-20 05:13:14 +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
Carsten Haitzler 82742c35f2 clean up new modular build to link to the right things, in the right way,
remove usleess extra linkage etc.


SVN revision: 19865
2006-01-17 03:47:40 +00:00
Carsten Haitzler 1659837796 clean up new modular build to link to the right things, in the right way,
remove usleess extra linkage etc.


SVN revision: 19864
2006-01-17 03:47:35 +00:00
Carsten Haitzler 4cf493dea3 remove cvs ignores!
SVN revision: 19863
2006-01-17 03:38:25 +00:00
Carsten Haitzler 1a332a7125 no! dont put that in cvs!
SVN revision: 19850
2006-01-16 08:50:49 +00:00
David Walter Seikel 4c531de9db Typo.
SVN revision: 19848
2006-01-16 04:26:43 +00:00
David Walter Seikel 35a90b012e Nothing to see here folks.
SVN revision: 19846
2006-01-16 03:43:30 +00:00
Carsten Haitzler 76f7428de7 fix dfb engine - correctness changes for hash
SVN revision: 19845
2006-01-16 03:37:34 +00:00
doursse 7252101aa3 remove printfs
SVN revision: 19829
2006-01-15 10:44:48 +00:00
Carsten Haitzler 3a301b885b empty buf first
SVN revision: 19827
2006-01-15 10:37:03 +00:00
doursse 4a56b2ee6e and now the savers...
SVN revision: 19826
2006-01-15 10:35:02 +00:00
Carsten Haitzler 8119a84cca free module paths on shutdown
SVN revision: 19825
2006-01-15 10:24:37 +00:00
Carsten Haitzler d983846eb3 fix buf free and some extras...
SVN revision: 19824
2006-01-15 10:04:39 +00:00
Carsten Haitzler 1ba4131a15 bad buf strlen--
SVN revision: 19816
2006-01-15 07:07:28 +00:00
Carsten Haitzler 87d56a63ad most oops - dont strlen that buf!
SVN revision: 19815
2006-01-15 07:01:15 +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
Carsten Haitzler 155364de9c ok - now support a first try guess based on extension - if that fails, or the
extension is unknown to match a format, try all image loader modules until
one succeeds - if all of these fail, give up.


SVN revision: 19812
2006-01-15 05:04:32 +00:00
Carsten Haitzler d8768ab0ab temporary fix.
SVN revision: 19811
2006-01-15 04:49:46 +00:00
doursse afecb8d7ca don't load the same module several times
SVN revision: 19810
2006-01-14 23:36:52 +00:00
doursse 6357a06396 loaders are now modules
SVN revision: 19805
2006-01-14 20:03:42 +00:00
Carsten Haitzler f3ff4e9ffe oops - forgot about engine headers. moved headers. fixed. install again
SVN revision: 19804
2006-01-14 18:24:41 +00:00
sebastid debdc91f2c Fix compiler warnings.
SVN revision: 19798
2006-01-14 15:58:01 +00:00
sebastid 67c29e58a3 Move comment
SVN revision: 19791
2006-01-14 15:43:05 +00:00
sebastid 59f9caea69 Formatting.
SVN revision: 19790
2006-01-14 15:39:57 +00:00
Carsten Haitzler f466584b96 remove printfs
SVN revision: 19778
2006-01-14 12:41:02 +00:00
Carsten Haitzler 55172140f9 anmd fix dlopen link detection , actually check for dladdr as it's a gnu
extension etc.


SVN revision: 19777
2006-01-14 12:36:25 +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
Carsten Haitzler 0f9188f1d2 vis -> off
SVN revision: 19683
2006-01-10 07:36:51 +00:00
Carsten Haitzler d3f2867668 move headers
SVN revision: 19675
2006-01-09 13:29:15 +00:00
doursse 69c939d1a4 fix for the hidden symbols for those who want to test the xcb engine ;)
SVN revision: 19651
2006-01-08 13:21:03 +00:00
doursse 22e5ad7951 fix warning
SVN revision: 19640
2006-01-08 09:46:41 +00:00
sebastid cfb57a407e Cast the objects to object list.
SVN revision: 19610
2006-01-07 14:31:57 +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
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 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
Carsten Haitzler 82a7db1987 fix segv with bad input data
SVN revision: 19138
2005-12-19 03:11:39 +00:00
doursse 520ca1ff13 iteration fixes
SVN revision: 19111
2005-12-18 11:49:28 +00:00
doursse 7a6855c42f fix memory leaks and update to new XCB API
SVN revision: 19110
2005-12-18 11:25:09 +00:00
Carsten Haitzler a0ceee8b51 i have to back out all of jose's blend changes - musch faster than
debugging/fixing and likely int he end the exact same result of fixing them.
yes - we lose performance - but it actually is correct now :) if we want to
do such radical changes- i sugegst moving to premultiplied alpha and makign a
tonne of externally tested routines in a test harness first to compare
correctness and speed in an isolated environment.


SVN revision: 18947
2005-12-11 04:55:20 +00:00
Carsten Haitzler 8342cdd55d valgrind complaint! fix!
SVN revision: 18929
2005-12-10 05:22:03 +00:00
Carsten Haitzler 35ef5579d4 better style (more files to look at though)
SVN revision: 18928
2005-12-10 04:40:53 +00:00
Carsten Haitzler e029265a03 1. good segv catch by whereami.
2. style cleanup from jose's patches


SVN revision: 18920
2005-12-09 08:41:38 +00:00
rbdpngn c032606187 Remove warnings by updating to the correct type.
SVN revision: 18882
2005-12-06 21:54:43 +00:00
Carsten Haitzler 045bb2d1e2 use djb2 hash for evas_hash too
SVN revision: 18844
2005-12-05 04:03:22 +00:00
rbdpngn a65f11996f Use a djb2 hash for a better distribution.
SVN revision: 18842
2005-12-05 02:51:10 +00:00
Carsten Haitzler 8873290ea8 use the right symbol
SVN revision: 18825
2005-12-04 12:37:50 +00:00
Carsten Haitzler 93630a29ff gl patch - build.
SVN revision: 18819
2005-12-04 05:02:24 +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
Carsten Haitzler 1406d86f53 oops fix stringshare conversion bug.
SVN revision: 18777
2005-12-02 03:15:08 +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 648b7deab7 remove 1 pointer overhead for stringshare (4 bytes or 8) and optimsie free
lookup a little.

amazingly stringshare is showing a double speedup over strdup/free on this p4.


SVN revision: 18741
2005-12-01 03:47:14 +00:00
Carsten Haitzler 83e6dc6afb some complaining if we do something bad
SVN revision: 18737
2005-12-01 01:01:17 +00:00
Carsten Haitzler 16dcf581f9 disabled debugging.
SVN revision: 18733
2005-11-30 15:57:21 +00:00
Carsten Haitzler 8e4c88578a cvs ignore++
SVN revision: 18725
2005-11-30 08:46:30 +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 8a65399e27 less overhead per string for stringshare (overhead right now is 2 pointers, 1
int (ie 12 bytes on 32bit, 20 bytes on 64bit systems). this removes 2 ptrs of
overhead (8 or 16 bytes) compared to before.


SVN revision: 18685
2005-11-29 03:01:56 +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
Carsten Haitzler 6197f4b476 dont allocate 0 buf
SVN revision: 18678
2005-11-28 11:13:29 +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 a5695df284 reduce a few more alloc counts by merging
SVN revision: 18643
2005-11-26 05:24:25 +00:00
Carsten Haitzler 20bad98318 new - much cleaner/simpler mempool
SVN revision: 18642
2005-11-25 08:29:39 +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 e7dacfe1bd turn of mempool for now
SVN revision: 18624
2005-11-24 01:38:42 +00:00
Carsten Haitzler 05085982d0 enable pool - nicer on mem
SVN revision: 18618
2005-11-23 12:57:19 +00:00
Carsten Haitzler a320795377 disabled for now - need smroe tuning/testing/optimising
SVN revision: 18614
2005-11-23 10:56:13 +00:00
Carsten Haitzler 500726d856 --c++
SVN revision: 18613
2005-11-23 10:44:48 +00:00
Carsten Haitzler 4ae5471199 i'm playign with memory pools for evas lists. it seems to improve things.
SVN revision: 18612
2005-11-23 10:43:54 +00:00
Carsten Haitzler ebbe8f1267 ok - freetype does WEIRD shit setting grays to bizarre values so now i have
toformat AND grays levels.


SVN revision: 18500
2005-11-16 13:17:27 +00:00
Carsten Haitzler a6a2c2f257 add the file to cvs
SVN revision: 18426
2005-11-11 07:56:10 +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
Carsten Haitzler d1861a8d4c add a call
SVN revision: 18336
2005-11-06 09:47:28 +00:00
Carsten Haitzler 1adc740b38 fix leakies
SVN revision: 18332
2005-11-06 05:44:10 +00:00
Carsten Haitzler 9c038ac573 dont lose context pointer
SVN revision: 18331
2005-11-06 05:29:47 +00:00
sebastid f43c421ebe Remove double free
SVN revision: 18301
2005-11-04 22:53:54 +00:00
sebastid 114874900c Remove strdup
SVN revision: 18289
2005-11-04 19:33:08 +00:00
Carsten Haitzler ab61f6e24e and a few less allocs to improve evas_hash
SVN revision: 18245
2005-11-03 12:13:09 +00:00
Carsten Haitzler 1baca6a2a7 1 more over-render - same concept.
SVN revision: 18208
2005-11-02 07:13:49 +00:00
Carsten Haitzler 4aca7949f5 fix excess overdraw bug
SVN revision: 18200
2005-11-02 04:03:55 +00:00
Carsten Haitzler 09602687a0 fix hash calls, fix object leak. :)
SVN revision: 18162
2005-10-31 07:06:52 +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 34a58f38e0 linux ppc altivec patches - and some tiler speedusp while i was hunting a non-bug
SVN revision: 18122
2005-10-30 03:03:53 +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 d4db65df1f empty string SHOULD work now if the node is non exiustant to start with
SVN revision: 18053
2005-10-28 02:46:16 +00:00
Carsten Haitzler 2264c5cc58 burn witch... BURN!
SVN revision: 18032
2005-10-27 10:33:47 +00:00
Carsten Haitzler 5650f1a234 fix renders now
SVN revision: 18009
2005-10-27 06:40:28 +00:00
Carsten Haitzler c39bf3cc4e no that made it worse.. evas renders everything. fix. must find it.
SVN revision: 18006
2005-10-27 04:36:58 +00:00
Carsten Haitzler bc6ba3ab34 fix restack draw bug
SVN revision: 18005
2005-10-27 04:25:30 +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
sebastid 2cede9353e Clean warnings.
SVN revision: 17992
2005-10-26 20:32:27 +00:00
sebastid b8955065e6 Don't return value in void func.
SVN revision: 17990
2005-10-26 20:20:53 +00:00
sebastid 6aafd9e493 Clean warnings.
SVN revision: 17989
2005-10-26 20:19:42 +00:00
tsauerbeck f7b38107de some warning fixes
SVN revision: 17600
2005-10-16 09:34:35 +00:00
Dan Sinclair ef2fcdc4c1 - make sure we have a name before trying to look it up
- strip off an + or - in _format_fill so we don't end up with things like
  +font=fonts/Vera which then won't match when we try to recognize it as a
  keyword


SVN revision: 17580
2005-10-15 22:02:59 +00:00
sebastid ed1aa8117a Simpler check for 0 stringlength.
SVN revision: 17564
2005-10-15 06:54:42 +00:00
Dan Sinclair 051b5f6fc7 - make sure the string isn't blank before appending it
SVN revision: 17560
2005-10-15 05:19:11 +00:00
Carsten Haitzler 5f828e6fdb dont allow non-defaulted formats
SVN revision: 17558
2005-10-15 04:42:46 +00:00
doursse 4a27836ffd missing xcb cflags
SVN revision: 17531
2005-10-14 06:11:03 +00:00
Mike Frysinger 4a0f9b61c5 include altivec.h if we have it
SVN revision: 17491
2005-10-13 02:38:31 +00:00
Mike Frysinger db7746fa21 fix whitespacing
SVN revision: 17483
2005-10-13 02:09:03 +00:00
Carsten Haitzler dc389abd64 use best filter - :)
SVN revision: 17337
2005-10-09 03:07:44 +00:00
Carsten Haitzler d40fe99719 fix segv in shared data chunks
SVN revision: 17336
2005-10-09 02:06:52 +00:00
Carsten Haitzler 97f6242fca handle shm addr return right
SVN revision: 17325
2005-10-08 14:59:45 +00:00
Carsten Haitzler 2032d7e213 remove diplucate pixemaps!
SVN revision: 17321
2005-10-08 14:16:03 +00:00
tsauerbeck 72883bc3de more warning fixes
SVN revision: 17314
2005-10-08 10:43:14 +00:00
tsauerbeck a58a32b326 oops, use the correct type
SVN revision: 17313
2005-10-08 10:16:17 +00:00
tsauerbeck a8f25d2c81 ummm, how did that happen? fix evas_common_convert_rgba_to_24bpp_rgb_888
SVN revision: 17312
2005-10-08 10:13:43 +00:00
tsauerbeck cc9c9b8997 code cleanup
SVN revision: 17311
2005-10-08 10:10:09 +00:00
tsauerbeck 63169a9701 fix printf call
SVN revision: 17310
2005-10-08 09:59:03 +00:00
Carsten Haitzler 8b128c4213 playing with gl engine :)
SVN revision: 17308
2005-10-08 06:22:43 +00:00
Carsten Haitzler ce8bf6b723 support clipouts in xrender engine
SVN revision: 17305
2005-10-08 04:57:57 +00:00
sebastid 24b41284ec Use image api right.
SVN revision: 17266
2005-10-07 08:35:02 +00:00
Carsten Haitzler 49a0fde26c and no dither and ca there too
SVN revision: 17236
2005-10-06 10:18:06 +00:00
Carsten Haitzler 4e78236719 turn off dither and component alpha
SVN revision: 17235
2005-10-06 09:53:10 +00:00
Carsten Haitzler a1ace2305f endianess fix
SVN revision: 17230
2005-10-06 04:18:52 +00:00
Carsten Haitzler e08ff34ee1 was playing with ansiotropic filtering - with mipmap stuff it looks nicer.
stillnot perfect. xrender engine detects "same source data pointer" and
shares nicely now :)


SVN revision: 17224
2005-10-06 02:38:34 +00:00
Carsten Haitzler 06d4179854 be more paranoid about poly point array and lines.
SVN revision: 17142
2005-10-03 15:49:45 +00:00
Carsten Haitzler 60efd688cc fix pixel uploads form emotion
SVN revision: 17133
2005-10-03 13:53:11 +00:00
Carsten Haitzler c934b1c733 fix gradients on scale
SVN revision: 17131
2005-10-03 13:14:07 +00:00
Carsten Haitzler de7384f549 fix mem issue
SVN revision: 17130
2005-10-03 12:46:15 +00:00
Carsten Haitzler 0f042bcbd4 fix xrender engnie to accept user-provided pixel data
SVN revision: 17128
2005-10-03 10:20:12 +00:00
Carsten Haitzler 884e03d762 fix null data copy
SVN revision: 17127
2005-10-03 07:52:23 +00:00
Carsten Haitzler 63d04c65d5 fix target mask support
SVN revision: 17124
2005-10-03 06:45:43 +00:00
Carsten Haitzler da0cce6c2c update mask support...
SVN revision: 17121
2005-10-03 05:56:31 +00:00
Carsten Haitzler 62d1bb0190 in theory support dest alpha
SVN revision: 17120
2005-10-03 03:34:21 +00:00
Carsten Haitzler 2c7b0df81a fix gl engine - i broke it a bit
SVN revision: 17116
2005-10-02 16:06:11 +00:00
Carsten Haitzler 6209347b36 add makefile.am
SVN revision: 17113
2005-10-02 15:29:31 +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
doursse d5548cd313 forget to test if the shm extension exists
SVN revision: 17110
2005-10-02 12:41:11 +00:00
Carsten Haitzler dd136afb1b fix grab handling
SVN revision: 16909
2005-09-24 10:22:55 +00:00
Carsten Haitzler ee83131e83 jose patch! :)
SVN revision: 16866
2005-09-23 14:41:10 +00:00
Carsten Haitzler 2d9ae536fb fix fallback handling! :)
SVN revision: 16837
2005-09-22 03:00:48 +00:00
Carsten Haitzler 54af68f9c7 oops - fix freeze stuff.
SVN revision: 16836
2005-09-22 02:52:53 +00:00
sebastid 1e376a2135 Move macros to separate header file.
SVN revision: 16805
2005-09-20 17:01:03 +00:00
sebastid bd8aaeeeab Use right HEAD
SVN revision: 16804
2005-09-20 16:59:39 +00:00
Carsten Haitzler 0e90a7998e fix spaces at start of nodes and lines
SVN revision: 16753
2005-09-18 12:42:34 +00:00
Carsten Haitzler b515892939 fix tb2 move redraws
SVN revision: 16751
2005-09-18 11:55:51 +00:00
Carsten Haitzler a50a655192 handle null string
SVN revision: 16743
2005-09-18 05:36:28 +00:00
Carsten Haitzler 6691ae8d14 unneeded var
SVN revision: 16718
2005-09-14 14:09:45 +00:00