Commit Graph

662 Commits

Author SHA1 Message Date
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