Commit Graph

6002 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 6956e1057b Since we use ecore, we must initilize it.
Problem: ecore reference count can drop to zero before
_ecore_evas_async_events_fd is deleted, ecore_shtudown() will finish
all fd handlers and then we would delete a now invalid pointer.



SVN revision: 36055
2008-09-17 17:19:20 +00:00
Cedric BAIL 96bfcc0395 Add another mempool test.
SVN revision: 36054
2008-09-17 16:33:16 +00:00
Cedric BAIL c9ad936b24 Add mempool check.
SVN revision: 36053
2008-09-17 15:23:09 +00:00
Cedric BAIL f3bab28c36 Fix module stuff to be able to run test in the build directory.
SVN revision: 36052
2008-09-17 15:21:16 +00:00
Cedric BAIL f7d92d57a4 Add statistics, gc support to mempool and a workaround path lookup for module.
SVN revision: 36051
2008-09-17 15:20:35 +00:00
Cedric BAIL 0dbb3917b7 We need to return something != NULL.
SVN revision: 36050
2008-09-17 15:19:07 +00:00
Cedric BAIL 730049220e Fix typo and initialization.
SVN revision: 36049
2008-09-17 15:18:35 +00:00
Cedric BAIL 84a2279a0a Remove dead directory.
SVN revision: 36048
2008-09-17 15:18:04 +00:00
Cedric BAIL 36fdd93f13 Add multicast support thanks to Matt Barclay <mbarclay@gmail.com>.
SVN revision: 36046
2008-09-17 15:08:48 +00:00
Cedric BAIL 3bf0d7ed5e Add protection for dump function also.
SVN revision: 36042
2008-09-17 08:59:47 +00:00
Cedric BAIL eeb52f487a Fix bug reported by Vincent Torri and add a test to trigger it.
SVN revision: 36041
2008-09-17 08:33:35 +00:00
Gustavo Sverzut Barbieri fb44db2211 Revert edje_smart_calculate_v4_r2, it breaks e17 shelf resize.
Not ready yet, reverting...



SVN revision: 36031
2008-09-17 01:50:16 +00:00
Gustavo Sverzut Barbieri 6c918f3d8a Do not assume fontconfig will find a font.
If you have no fonts in fontconfig, it returns NULL... believe me, it
does happen.



SVN revision: 36029
2008-09-16 22:59:59 +00:00
Gustavo Sverzut Barbieri b85bedb940 Fix indentation levels.
SVN revision: 36028
2008-09-16 21:11:38 +00:00
Gustavo Sverzut Barbieri aef095031b bin_SCRIPTS does not distribute the file, must add to EXTRA_DIST
This is stupid, so is autofoo.



SVN revision: 36027
2008-09-16 20:21:11 +00:00
Gustavo Sverzut Barbieri d044a0245a More svn:ignore
SVN revision: 36026
2008-09-16 19:44:20 +00:00
Gustavo Sverzut Barbieri e1e7256359 s/save/export/g
SVN revision: 36025
2008-09-16 19:20:21 +00:00
Davide Andreoli 3a441393b7 * Expose state visible flag
SVN revision: 36023
2008-09-16 19:01:37 +00:00
Gustavo Sverzut Barbieri d45ae6945c Add script to export GIMP images to EDC
SVN revision: 36020
2008-09-16 18:01:39 +00:00
Cedric BAIL bae88b46ff Include evas asynchronous feature.
SVN revision: 36019
2008-09-16 16:22:00 +00:00
Cedric BAIL bd2c5d6648 Add image preloading support.
This should work without performance impact for all engine.


SVN revision: 36018
2008-09-16 14:52:57 +00:00
Cedric BAIL d40ebdca1b Add real life test from E17 use.
SVN revision: 36017
2008-09-16 14:06:14 +00:00
Cedric BAIL 3f59016035 Add Ecore and Evas benchmark.
SVN revision: 36015
2008-09-16 13:50:34 +00:00
Gustavo Sverzut Barbieri f5e373abd7 Edje utilities: convert inkscape supported files to edc
SVN revision: 36008
2008-09-15 23:45:47 +00:00
Vincent Torri 7fd7cc717c * update the doc of stringshre
* fix minor warnings from doxygen


SVN revision: 36004
2008-09-15 19:58:36 +00:00
Vincent Torri 78c9527052 * add documentation. The tutorial needs to be written, though
* rename eina_arra_count() to eina_array_count_get() and
   eina_arra_get() to eina_array_data_get()


SVN revision: 36003
2008-09-15 19:17:15 +00:00
Cedric BAIL e3e2afca18 Don't compute string length when not really needed.
SVN revision: 36001
2008-09-15 13:38:42 +00:00
Cedric BAIL 1582d52c3c New stringshare implementation.
We use 256 buckets with a rbtree per bucket. The key of rbtree is the hash
on 12bits and each node of the rbtree have a list of string.

Thanks to Gustavo and Vincent for their help.


SVN revision: 36000
2008-09-15 12:54:54 +00:00
Cedric BAIL e54390798d Add more test for stringshare.
SVN revision: 35999
2008-09-15 12:44:06 +00:00
Cedric BAIL 9979edd82a Don't limite the range of the hash function. It's the dutty of the caller.
SVN revision: 35998
2008-09-15 12:35:27 +00:00
Cedric BAIL ab37298c12 Include benchmark against Evas and Ecore stringshare.
SVN revision: 35995
2008-09-15 09:59:41 +00:00
Vincent Torri a7f00b51bc * Makefile.am:
add autogen.sh in archive distribution

* configure.ac:
remove useless defines
first support of mingw32msvc compiler

* src/lib/Evil.h:
move some macro definitions

* src/lib/Makefile.am:
add evil_(fcntl/langinfo).(c/h) and install pwd.h

* src/lib/dlfcn/dlfcn.h:
remove useless ifdef

* src/lib/evil.c:
comment all code for now. It will be deleted later

* src/lib/evil_fcntl.c:
* src/lib/evil_fcntl.h:
* src/lib/evil_langinfo.c:
* src/lib/evil_langinfo.h:
move fcntl and langinfo related code to their own files

* src/lib/evil_mman.c:
remove useless inclusion

* src/lib/evil_pwd.c:
pw var is not needed with cegcc

* src/lib/evil_stdlib.c:
fix bugs, formatting

* src/lib/evil_unistd.c:
add missing declarations and fix header files

* src/lib/evil_unistd.h:
move pid_t typedef to Evil.h

* src/lib/evil_util.c:
additional include and fix a bug in output

* src/lib/pwd.h:
use EAPI from Evil.h, define struct passwd when not using cegcc

* src/lib/sys/mman.h:
use EAPI from Evil.h

* win32/common/fnmatch.c:
* win32/common/fnmatch.h:
* win32/common/fnmatch_list_of_states.c:
* win32/vs8/evil.sln:
fix and cleanup with vc++ compilation
Based on patch by Dmitriy Mazovka


SVN revision: 35993
2008-09-15 06:56:14 +00:00
Davide Andreoli bae73a2b60 * Add top level data editing functions
* Also change edje_cache.c to don\'t free the data list when creating the data_cache 

SVN revision: 35987
2008-09-14 22:30:15 +00:00
Vincent Torri 161ab7a975 Fix compilation with vc++. Based on patch by Dmitriy Mazovka
* src/lib/Evil.h:
move typedef's

* src/lib/evil.c:
remove declaration and include

* src/lib/evil_stdlib.c:
simplify mkstmp implementation
fix getenv

* src/lib/evil_unistd.c:
include correct headers for readlink and symlink


SVN revision: 35983
2008-09-14 07:07:39 +00:00
Vincent Torri 146b4a86c6 * big rework of evil: put most of functions in evil.c in their own files
* add unit test for memcpy. more will come later


SVN revision: 35979
2008-09-13 21:19:22 +00:00
Vincent Torri 892ea362f0 * fix compilation with c++ compilers
* remove trailing spaces


SVN revision: 35973
2008-09-13 07:45:47 +00:00
Vincent Torri 345bddedca add evas and ecore detection for benchmarking
SVN revision: 35969
2008-09-12 21:08:16 +00:00
Cedric BAIL 1fc6d866c2 Only set the struct one time (remove useless memset) and sync idler with animator.
SVN revision: 35966
2008-09-12 13:19:26 +00:00
Cedric BAIL 665ee944ee When you know what you do, it could make sense to remove all magic check
from Evas and win some speed boost. Use really carefully.

Still turn MAGIC_DEBUG on by default.


SVN revision: 35965
2008-09-12 13:14:08 +00:00
Cedric BAIL ac440b9533 Fix typo in the typo.
SVN revision: 35957
2008-09-11 14:49:47 +00:00
Cedric BAIL 41d40ee473 Put SDL engine priority lower as it should find a way to build a window when
every one else fail.



SVN revision: 35955
2008-09-11 14:48:34 +00:00
Cedric BAIL 3a15a282fc Add auto discovery for ecore_evas_sdl_16
SVN revision: 35954
2008-09-11 14:47:09 +00:00
Cedric BAIL be3676ef9a Fix typo.
SVN revision: 35951
2008-09-11 14:07:02 +00:00
Cedric BAIL d748ced8e1 Add ecore_evas_sdl16_new.
SVN revision: 35950
2008-09-11 13:26:40 +00:00
Cedric BAIL 1ab78edd6f Instruct the compiler to inline the most used function. This really impact speed
with big edje file.



SVN revision: 35948
2008-09-11 11:26:09 +00:00
Cedric BAIL 1e0d00d4bd Use the right function here.
SVN revision: 35947
2008-09-11 11:25:15 +00:00
Cedric BAIL 4762661711 Use bit manipulation instead of memory access, improve eet speed with big edje file.
SVN revision: 35946
2008-09-11 11:24:13 +00:00
Cedric BAIL 5811041053 This patch reduce the usage of memset by edje_match function.
I did test this patch since three month in my apps and in E, and I didn't
notice anything going wrong with it. If you experience strange bug with
matching please report them.



SVN revision: 35945
2008-09-11 11:20:42 +00:00
Cedric BAIL fd5de88682 Only update Evas_Object geometry when they are visible. This should prevent
them from being put in the evas_render_update phase.

I did extensively test this patch since a few month and didn't notice any
bug with it in my apps, nor in E. But please report anything that goes wrong
for you after this version.



SVN revision: 35944
2008-09-11 11:18:33 +00:00
Cedric BAIL 35fca3f9dd Replace big serie of if, with a cleaner switch.
SVN revision: 35943
2008-09-11 11:15:39 +00:00