Gustavo Sverzut Barbieri
c1c8a18b54
Brand new DirectFB engine.
...
ProFUSION funded the rework of DirectFB engine, it works quite well,
please report problems with it and be sure to try to uncomment the
following lines to see if it helps:
evas_engine.c: (uncomment if you notice problems)
//#define DFB_USE_EVAS_IMAGE_DRAW 1
//#define DFB_USE_EVAS_RECT_DRAW 1
//#define DFB_USE_EVAS_POLYGON_DRAW 1
//#define DFB_UPDATE_INDIVIDUAL_RECTS 1
polygon.c: (comment if you notice slowdowns, but may lead to visual problems)
#define USE_SPAN_RECTS 1
You can also turn on debug by uncommenting in evas_engine.c:
//#define DFB_DEBUG_IMAGE 1
//#define DFB_DEBUG_FLAGS 1
//#define DFB_DEBUG_ACCELERATION 1
Thanks to Denis Oliver Kropp (dok) for review and patches!
SVN revision: 35904
2008-09-09 20:27:58 +00:00
Carsten Haitzler
d06c5e9efb
and add a scale factor per object. right now text and textblock use it.
...
that's about it. a bit hacky - but works and frankly.. the idea is that u'd
set a scale factor once really and not change it per obj... most likely.
SVN revision: 35896
2008-09-09 14:14:26 +00:00
Carsten Haitzler
23e2c9e035
support an edje scaling factor. parts can selectively say "yes.. scale me!"
...
:)... this allows e etc. to adapt to massivelyt different dpi screens with
slickness that even svg can't get to... why? you scale just what NEEDS
scaling (text, button sizes, and other limiting elements). other bits like
borders, padding etc. can remain pixel-perfect and thus the look is amazing.
pixel-perfect drawing with scalable adapting.
SVN revision: 35895
2008-09-09 14:13:34 +00:00
Vincent Torri
780b865044
fix position_set()
...
SVN revision: 35891
2008-09-09 08:49:29 +00:00
Cedric BAIL
c52f7b7b62
Make inline only usefull function.
...
Return information about potential error during eina_array_remove.
SVN revision: 35888
2008-09-08 12:19:15 +00:00
Cedric BAIL
facaddde1f
Ok, the patch didn't apply cleanly and some missed. Last lost change.
...
SVN revision: 35887
2008-09-08 11:53:59 +00:00
Cedric BAIL
1b45015b3d
Another typo.
...
SVN revision: 35886
2008-09-08 11:41:19 +00:00
Cedric BAIL
3b7f1579f9
Patch, typo.
...
SVN revision: 35885
2008-09-08 11:31:36 +00:00
Cedric BAIL
bbc107fc31
Another typo.
...
SVN revision: 35884
2008-09-08 11:17:04 +00:00
Cedric BAIL
114c50a297
Typo.
...
SVN revision: 35883
2008-09-08 11:11:51 +00:00
Cedric BAIL
46b7796946
Add signature support in eet.
...
You can use eet -s to sign a eet file and eet -c to check its signature. The
current code doesn't check any certificate trust path, only if the signature
match the certificate and that the certificate could be loaded. If that's not
the case, eet_open will fail. If the file is not signed, eet_open will just
continue to succeed.
SVN revision: 35882
2008-09-08 09:19:57 +00:00
Carsten Haitzler
aa2fded0fc
some notes on kerning bugs in ft2.
...
SVN revision: 35876
2008-09-08 02:08:43 +00:00
Vincent Torri
b73180cd01
* add array doc
...
* eina_array_push() returns now a bool
* fix compilation
SVN revision: 35871
2008-09-07 19:12:49 +00:00
Vincent Torri
557107790a
* add accessor doc
...
* fix and add some links
SVN revision: 35865
2008-09-07 07:19:19 +00:00
Vincent Torri
0b6f01fec5
* add doc for iterators
...
* add table of content on the main page
SVN revision: 35864
2008-09-07 05:44:00 +00:00
Gustavo Sverzut Barbieri
e861013485
Document the default behavior.
...
SVN revision: 35862
2008-09-07 02:11:46 +00:00
Gustavo Sverzut Barbieri
3f90a63416
Add Evas Clipped Smart Object.
...
This class covers the most common cases, usually its sub-classes will
have to implement resize and override one or two methods at most,
making the smart object usage less error prone and easier.
Default behavior is:
- add: creates a hidden clipper with "infinite" size;
- del: delete all children objects;
- move: move all objects relative relatively;
- resize: not defined;
- show: if there are children objects, show clipper;
- hide: hides clipper;
- color_set: set the color of clipper;
- clip_set: set clipper of clipper;
- clip_unset: unset the clipper of clipper;
Documentation explains an easy way to inherit from this class and
still be able to use overridden methods.
SVN revision: 35861
2008-09-07 02:10:17 +00:00
Gustavo Sverzut Barbieri
58a49c2f69
Add calculate callback to Evas_Smart_Class.
...
Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.
This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.
SVN revision: 35860
2008-09-07 01:25:49 +00:00
Peter Wehrfritz
3deae56fa1
fix primary selection, probably also clipboard selection
...
SVN revision: 35856
2008-09-06 21:55:01 +00:00
Vincent Torri
1f3a6a7c5a
fix examples in tutorial
...
SVN revision: 35851
2008-09-06 09:14:54 +00:00
Vincent Torri
108e5a3ee5
* fix section title
...
* forget a remark
SVN revision: 35850
2008-09-06 08:54:22 +00:00
Vincent Torri
7e6e46723e
* finish tutorial of eina_error
...
* spelling
SVN revision: 35849
2008-09-06 08:48:36 +00:00
Vincent Torri
ae2e95969f
* add documentation and a tutorial for the error module
...
* change api (eina_error_register to eina_error_msg_register)
SVN revision: 35838
2008-09-05 07:58:38 +00:00
Cedric BAIL
991867bd7b
Share eina_benchmark to other libs also.
...
SVN revision: 35832
2008-09-04 15:06:26 +00:00
Cedric BAIL
593569c78e
Remove debug variable.
...
SVN revision: 35831
2008-09-04 14:58:22 +00:00
Cedric BAIL
8a9cfed253
Oops, forgot this update.
...
SVN revision: 35815
2008-09-03 14:48:56 +00:00
Cedric BAIL
a257cf02f3
Add a routine to extract path information.
...
SVN revision: 35814
2008-09-03 14:40:12 +00:00
Cedric BAIL
7da98019b3
Remove warning.
...
SVN revision: 35813
2008-09-03 14:38:49 +00:00
Cedric BAIL
89be633ae4
Add the prototype for this long pending function in eet.
...
SVN revision: 35811
2008-09-03 13:52:45 +00:00
Cedric BAIL
867547e152
Coverage work with last git libtool version and a small patch.
...
SVN revision: 35807
2008-09-03 12:07:53 +00:00
Cedric BAIL
9638ded27f
Fix initialisation logic.
...
SVN revision: 35806
2008-09-03 12:06:50 +00:00
Cedric BAIL
27042fd8fc
Recommit Joerg Sonnenberger patch with more fix.
...
When writing jpeg scanline, it wouldn't fail with FILE* as an output, but will
with a data buffer. So we need to re run the jpeg routine on this scanline. As I
don't know if the buffer is always preserved during two calls to the jpeg
library, I am copying it again.
SVN revision: 35804
2008-09-03 11:04:37 +00:00
Carsten Haitzler
6ffa97b1f5
roll back eet change (revert patch) as this breaks bsd and seems to cause
...
other issues for other people too (not me though)...
SVN revision: 35797
2008-09-03 01:34:53 +00:00
Cedric BAIL
8c7b666b6e
Little bit modified patch from Joerg Sonnenberger that remove the need for
...
memfile.
It pass all the image test of the test suite with some little modification.
E seems to run fine with it and my apps also. But if you experience error
with eet and compressed picture, please report them to me.
SVN revision: 35795
2008-09-02 16:12:05 +00:00
Sebastian Dransfeld
2d2c1176df
formatting
...
SVN revision: 35791
2008-09-02 05:38:46 +00:00
Nicholas Hughart
4851309c8b
Another update to ecore_file_mv to make it work even better. Now even writes to external devices will be atomic if possible. If it's still not possible, the old fallback method of just copying will be done.
...
SVN revision: 35787
2008-09-02 02:44:47 +00:00
Nicholas Hughart
f8cee23def
Remove this check. Any software that depended on this check should check before calling this function instead.
...
SVN revision: 35781
2008-09-01 20:13:00 +00:00
Cedric BAIL
7f3c271680
Update copyright credit correctly.
...
SVN revision: 35775
2008-09-01 12:51:50 +00:00
Cedric BAIL
345242f6c3
Update copyright credit correctly.
...
SVN revision: 35774
2008-09-01 12:42:16 +00:00
Vincent Torri
4cf7e2c532
fix copy/paste error
...
SVN revision: 35773
2008-09-01 12:03:52 +00:00
Vincent Torri
d722648292
* fix compilation on Windows
...
* improve a bit autotools
SVN revision: 35761
2008-08-31 14:05:17 +00:00
Carsten Haitzler
d73b8c5d7b
updated patches from jose!
...
SVN revision: 35756
2008-08-31 02:04:31 +00:00
Vincent Torri
c3e8168c53
add RTLD_NODELETE
...
SVN revision: 35750
2008-08-30 08:24:35 +00:00
Cedric BAIL
696c63f011
Main should return something.
...
SVN revision: 35743
2008-08-29 17:21:06 +00:00
Cedric BAIL
0225cc674f
Update benchmark result for convertion function.
...
SVN revision: 35742
2008-08-29 16:24:25 +00:00
Cedric BAIL
741019fdb2
Add all benchmark and prefer line instead of logscale.
...
SVN revision: 35741
2008-08-29 16:21:37 +00:00
Cedric BAIL
1f6ad61f54
Use memcmp as we know the size of both string.
...
SVN revision: 35740
2008-08-29 16:09:39 +00:00
Cedric BAIL
ae2b9f2762
Don't benchmark snprintf.
...
SVN revision: 35739
2008-08-29 16:07:55 +00:00
Cedric BAIL
84bcc585cd
Always use eina when possible.
...
SVN revision: 35738
2008-08-29 16:06:14 +00:00
Vincent Torri
d05b258fcb
fix compilation on Windows
...
SVN revision: 35736
2008-08-29 14:45:55 +00:00
Cedric BAIL
6bbb9bf821
Remove useless indirection and useless tests.
...
SVN revision: 35733
2008-08-29 13:52:16 +00:00
Cedric BAIL
1b9d254f52
In fact the node should never be NULL or something is really going wrong.
...
SVN revision: 35732
2008-08-29 13:50:25 +00:00
Cedric BAIL
c0e5707e30
Fix counter and cleanup this stuff a little.
...
SVN revision: 35731
2008-08-29 13:49:06 +00:00
Vincent Torri
20bd230e96
port eina_counter code to Windows.
...
SVN revision: 35730
2008-08-29 13:34:30 +00:00
Cedric BAIL
67f3ddfb7a
Move private function in the right part of the file.
...
SVN revision: 35729
2008-08-29 09:34:39 +00:00
Cedric BAIL
edad077c64
We don't want to bench snprintf with callgrind.
...
SVN revision: 35728
2008-08-29 09:31:25 +00:00
Carsten Haitzler
55711fffca
fix 16bit engine with new grad 2
...
SVN revision: 35727
2008-08-29 06:28:05 +00:00
Vincent Torri
711d48bcd5
now it should be correct
...
SVN revision: 35724
2008-08-28 23:51:48 +00:00
Vincent Torri
5fddd7766e
wrong shared lib extension...
...
SVN revision: 35723
2008-08-28 23:38:43 +00:00
Cedric BAIL
357e2614e9
Activate rbtree now that it work correctly.
...
SVN revision: 35721
2008-08-28 16:36:18 +00:00
Cedric BAIL
78e7047377
Use rbtree instead of inlist and make hash way faster.
...
SVN revision: 35720
2008-08-28 16:35:43 +00:00
Cedric BAIL
3e562ccfc2
Add a context to the callback.
...
SVN revision: 35719
2008-08-28 16:33:40 +00:00
Cedric BAIL
f6bcf421ce
Forgotten declaration.
...
SVN revision: 35718
2008-08-28 16:28:35 +00:00
Sebastian Dransfeld
44b8d52797
Why was this twice?
...
SVN revision: 35717
2008-08-28 15:36:22 +00:00
Cedric BAIL
9494785cb7
Inline red black tree lookup.
...
SVN revision: 35716
2008-08-28 14:37:26 +00:00
Cedric BAIL
3a10b7f782
Use rbtree instead of inlist. It's way faster.
...
SVN revision: 35715
2008-08-28 14:27:43 +00:00
Cedric BAIL
9596935138
Fix rbtree removal. Was a bug due to rotation and parent lost.
...
SVN revision: 35714
2008-08-28 13:54:51 +00:00
Cedric BAIL
37424a7109
Add a test that trigger the parent bug.
...
SVN revision: 35713
2008-08-28 13:54:07 +00:00
Vincent Torri
ccf94fe4e3
* EAPI is now correctly defined on Windows
...
* move an exported variable
SVN revision: 35712
2008-08-28 12:41:58 +00:00
Cedric BAIL
9e8b6f563b
Display tree before and after removal.
...
SVN revision: 35711
2008-08-28 11:55:08 +00:00
Cedric BAIL
a1095af629
Display the tree.
...
SVN revision: 35710
2008-08-28 11:49:34 +00:00
Cedric BAIL
045f546e06
Add two minimal example that trigger error in the rbtree during removal.
...
SVN revision: 35709
2008-08-28 11:40:01 +00:00
Cedric BAIL
f2a6fcb19c
Add needed minimal header.
...
SVN revision: 35708
2008-08-28 11:12:23 +00:00
Cedric BAIL
2c38b1df51
Add more type description and include all the headers.
...
SVN revision: 35707
2008-08-28 10:05:22 +00:00
Cedric BAIL
6ec3e281f1
Bench convertion of string<->double.
...
SVN revision: 35706
2008-08-28 09:34:55 +00:00
Vincent Torri
dafd079639
* move standard header files from eina_private.h to source files
...
* minor formatting
SVN revision: 35705
2008-08-28 07:46:42 +00:00
Vincent Torri
29313e097f
use 'dll' extension on Windows.
...
SVN revision: 35704
2008-08-28 06:49:04 +00:00
Vincent Torri
4336fb3658
forget to open groups in doc...
...
SVN revision: 35703
2008-08-28 06:34:20 +00:00
Vincent Torri
4485f06f66
fix a bit list documentation. Not finished yet.
...
SVN revision: 35702
2008-08-28 06:31:18 +00:00
Cedric BAIL
1d3013e37d
Add benchmark against glib so we see where we stand.
...
SVN revision: 35699
2008-08-27 17:14:34 +00:00
Cedric BAIL
5a9be377b1
Oops, forgot to initialize.
...
SVN revision: 35698
2008-08-27 17:13:58 +00:00
Vincent Torri
c7630faad9
add glib check. If glib is found, we will compare
...
our data types with glib ones in benchmarks
SVN revision: 35696
2008-08-27 14:41:51 +00:00
Cedric BAIL
604a020f15
Full test of eina_convert.
...
SVN revision: 35694
2008-08-27 14:14:42 +00:00
Vincent Torri
9824a1a86c
Update documentation:
...
* run 'make doc' to generate the documentation. Hence
gendoc disappear. Doxyfile is moved to doc/
* update main page and doc of hash table, but it has to
be filled.
SVN revision: 35692
2008-08-27 13:34:04 +00:00
Cedric BAIL
394c787dde
Add Red Black tree API. Right now only insertion, lookup and iterator work.
...
The current implementation choose to move the node allocation outside of eina
control like eina_inlist. They currently have the same memory footprint as
eina_inlist and the implementation of insertion and lookup are iterative
making it quite fast. This should make them a good competitor of eina_inlist
for eina_hash and eina_stringshare.
SVN revision: 35689
2008-08-27 10:07:12 +00:00
Cedric BAIL
4390a37a70
Add eina_array_pop and rename eina_array_append by eina_array_push.
...
SVN revision: 35679
2008-08-26 10:23:45 +00:00
Cedric BAIL
3878e945fb
Some cleanup. Add EAPI in the .c file and move the locale function up in the file.
...
SVN revision: 35678
2008-08-26 08:59:25 +00:00
Carsten Haitzler
c1fe72d7e4
jose has some new gradient work - these are his patches. nice work joseg! yes
...
- some enignes break as they dont have the stubbed out functions, and
xrender/gl engines dont even implement the drawing and need to (but are
stubbed out).
SVN revision: 35677
2008-08-26 05:45:04 +00:00
Carsten Haitzler
0e1ee5edb7
add null theme check
...
SVN revision: 35658
2008-08-25 09:14:13 +00:00
Jaime Thomas
67ce8bcabc
Missing header
...
SVN revision: 35639
2008-08-24 05:20:40 +00:00
Peter Wehrfritz
dcd3a0139c
we need the typedef of size_t
...
SVN revision: 35635
2008-08-23 22:50:01 +00:00
Jorge Luis Zapata Muga
7ae301f601
Place pre-conditions where they belong
...
Remove unused rectangle functions
SVN revision: 35634
2008-08-23 19:50:21 +00:00
Cedric BAIL
89911e0559
Fix two source of memory leak.
...
SVN revision: 35616
2008-08-22 14:35:21 +00:00
Cedric BAIL
dec2f04734
Actually call eet_init/eet_shutdown and fix another potential memory leak.
...
SVN revision: 35615
2008-08-22 14:32:25 +00:00
Peter Wehrfritz
d095344c86
constness
...
SVN revision: 35612
2008-08-21 22:12:56 +00:00
Peter Wehrfritz
61bbfbf54c
remove unused variables
...
SVN revision: 35611
2008-08-21 22:11:18 +00:00
Cedric BAIL
c61e8a7081
Update ChangeLog.
...
SVN revision: 35607
2008-08-21 17:28:08 +00:00
Cedric BAIL
9e78e5ecdb
Remove useless variable.
...
SVN revision: 35606
2008-08-21 15:51:29 +00:00
Cedric BAIL
4bc094c45a
As we are heavy user of int to string and double to string in the EFL, provide a fast and portable one.
...
SVN revision: 35604
2008-08-21 14:20:41 +00:00
Cedric BAIL
995ca492e9
Fix --enable-benchmark use.
...
SVN revision: 35603
2008-08-21 14:16:45 +00:00