João Paulo Rechi Vita
2b93b55313
Sending an empty byte array to Ethumbd through the D-Bus API was
...
leading to a segfault.
Patch by: João Paulo Rechi Vita <jprvita@profusion.mobi>
SVN revision: 43159
2009-10-19 14:04:43 +00:00
Vincent Torri
9a0797198d
too much INFO changed in INF...
...
SVN revision: 43139
2009-10-18 04:24:57 +00:00
Vincent Torri
a5ccd2516a
wrong log domain name
...
SVN revision: 43138
2009-10-18 04:24:02 +00:00
Carsten Haitzler
c50ea6b1c8
map image... not used yet.
...
SVN revision: 43131
2009-10-17 10:25:51 +00:00
Vincent Torri
3066c3d305
Evas_Data.h functions are deprecated.
...
SVN revision: 43130
2009-10-17 09:10:31 +00:00
Vincent Torri
2b57e1d0da
remove evas data from the visual studio project
...
SVN revision: 43129
2009-10-17 08:54:41 +00:00
Vincent Torri
15d338f766
warnings--
...
SVN revision: 43114
2009-10-16 09:25:08 +00:00
Vincent Torri
9c3260b0db
put windows.h inside _WIN32 guards...
...
SVN revision: 43113
2009-10-16 09:23:34 +00:00
Vincent Torri
b7bd2998c4
ecore_exe for Windows.
...
Not complete yet but it executes a command and kills it
TODO: pipes
SVN revision: 43112
2009-10-16 09:17:26 +00:00
Vincent Torri
e59c99485c
formatting
...
SVN revision: 43111
2009-10-16 08:29:55 +00:00
Jonathan Atton
75303b4b5b
Evas :The doc say "This function removes the most recently added callback", consequently we have te prepend the items
...
SVN revision: 43103
2009-10-15 20:50:15 +00:00
Vincent Torri
1d7020335a
* add vi header
...
* include Ecore.h after stdlib.h so that pid_t is defined on windows
SVN revision: 43092
2009-10-15 06:26:01 +00:00
Carsten Haitzler
8cf88e6b18
and flush there too
...
SVN revision: 43091
2009-10-15 03:25:22 +00:00
Carsten Haitzler
40f23d3708
flush queu at context change time (use win) just in case
...
SVN revision: 43090
2009-10-15 01:39:22 +00:00
Vincent Torri
d35b5ccfde
eet doc looks better now
...
SVN revision: 43084
2009-10-14 19:41:54 +00:00
Vincent Torri
51aceea795
embryo doc looks better now
...
SVN revision: 43083
2009-10-14 19:31:44 +00:00
Vincent Torri
a4196bafd2
evas doc looks better now
...
SVN revision: 43082
2009-10-14 19:21:37 +00:00
Vincent Torri
ac15f9b938
fix Evil documentation
...
SVN revision: 43077
2009-10-14 18:48:13 +00:00
Vincent Torri
2ba1de41c8
ecore_ipc is actually a required dep of ecore_config
...
SVN revision: 43076
2009-10-14 17:30:05 +00:00
Vincent Torri
297e9817df
allow the compilation of ecore_file without ecore_con
...
SVN revision: 43075
2009-10-14 17:29:13 +00:00
Carsten Haitzler
1b5648be62
link to right header file in docs
...
SVN revision: 43067
2009-10-14 03:29:20 +00:00
Vincent Torri
3d9ecdf79e
fix compilation on Windows CE
...
SVN revision: 43057
2009-10-13 17:35:08 +00:00
Vincent Torri
ebdf658cfd
use fprintf for messages
...
SVN revision: 43056
2009-10-13 17:31:18 +00:00
Vincent Torri
3414279848
fix compilation on Windows CE
...
SVN revision: 43055
2009-10-13 17:27:49 +00:00
Vincent Torri
568f723401
Add some more headers at the top of eina_amalgamation.c.
...
Fix compilation on Windows CE
SVN revision: 43054
2009-10-13 17:14:50 +00:00
Cedric BAIL
a9413206ef
* eina_hash: First parameter could be NULL.
...
SVN revision: 43053
2009-10-13 17:11:58 +00:00
Vincent Torri
24211c8331
add declaration of alloca
...
SVN revision: 43050
2009-10-13 16:54:30 +00:00
Carsten Haitzler
017e26b4e0
fix font aligned tex.
...
SVN revision: 43049
2009-10-13 10:42:03 +00:00
Carsten Haitzler
0b3d755ce9
more work putting shared bits in shared. but context seems to be a big problem.
...
:(
SVN revision: 43048
2009-10-13 09:40:39 +00:00
Carsten Haitzler
022dc0cb6e
disable yuv for 6410 - seems theres a bug., use img shader instead just as a
...
placeholder.
SVN revision: 43047
2009-10-13 03:12:32 +00:00
Carsten Haitzler
6b1d31e5bc
free up stuff on context free. still need to do programs
...
SVN revision: 43046
2009-10-13 01:44:46 +00:00
Carsten Haitzler
f62f738c7e
add level 0 as request. dont want overlay.
...
SVN revision: 43045
2009-10-13 01:30:04 +00:00
Carsten Haitzler
e31d7799ee
set tex min/mag filter always
...
SVN revision: 43044
2009-10-13 00:37:16 +00:00
Carsten Haitzler
8da2320695
dont eed these params here
...
SVN revision: 43038
2009-10-12 18:02:33 +00:00
Carsten Haitzler
46996c95d3
mini-speedups!
...
SVN revision: 43037
2009-10-12 15:22:38 +00:00
Carsten Haitzler
c0c9f60751
more work on the gles + gl engine.
...
SVN revision: 43036
2009-10-12 13:19:55 +00:00
Carsten Haitzler
09ba2ed738
and one more untested fix
...
SVN revision: 43033
2009-10-12 03:52:23 +00:00
Carsten Haitzler
a08e1d6793
and fix more bits not tested yet
...
SVN revision: 43032
2009-10-12 03:43:00 +00:00
Carsten Haitzler
bcf85c7225
remove _dends. old code.
...
SVN revision: 43031
2009-10-12 03:35:32 +00:00
Carsten Haitzler
8bd109e8ce
update build for gles on s3c6410 testing
...
SVN revision: 43030
2009-10-12 03:31:24 +00:00
Carsten Haitzler
a60f577446
some infra for starting to handle dest-alpha (rgba) windows in gl engine.
...
not sure shaped windows will ever be sanely possible.
SVN revision: 43015
2009-10-11 06:59:47 +00:00
Carsten Haitzler
0a036d1ec2
keep locks for less - ie not arorund a loop calling callbacks.
...
SVN revision: 43014
2009-10-11 06:57:23 +00:00
Carsten Haitzler
00486440c0
fix autofoo make and included files etc. produce shader binaries for systems
...
that dont have runtime compilers using offline tools. binary blobs will need
to be provided in src trees as the shader_type_bin_target.h files
SVN revision: 43004
2009-10-10 15:03:41 +00:00
Carsten Haitzler
a6b2cfd52a
and delete u and v textures too
...
SVN revision: 43002
2009-10-10 14:55:10 +00:00
Carsten Haitzler
1046b6339a
fix yuv shader. right now.
...
SVN revision: 43001
2009-10-10 14:48:34 +00:00
Carsten Haitzler
43420a5df3
yuv support is back now.
...
SVN revision: 43000
2009-10-10 13:24:15 +00:00
Vincent Torri
285297dcdd
* API break: _shutdown() functions return an int, now
...
* simplify a bit and fix init/shutdown functions
SVN revision: 42996
2009-10-10 06:19:13 +00:00
Vincent Torri
4072d0b23d
* check the returned value of the _init() functions
...
* simplify a bit the init/shutdown functions
SVN revision: 42995
2009-10-10 05:28:43 +00:00
Carsten Haitzler
1d869a9ab1
add --enable-gl-flavor-gles to force GLES flavor of GL instead of "standard"
...
GL which will be preferred if it is found. this is for situations where you
may have both GL and GLES.
SVN revision: 42994
2009-10-10 03:46:27 +00:00
Vincent Torri
7680ac9922
* simplify a bit and fix init/shutdown functions
...
* rename logging macros
SVN revision: 42993
2009-10-10 03:45:35 +00:00
Vincent Torri
d6c7cc65d9
* simplify a bit and fix init/shutdown functions
...
* rename logging macros
SVN revision: 42992
2009-10-10 03:45:06 +00:00
Vincent Torri
43d3c84907
no need for ref count in ecore_thread init/shutdown functions
...
SVN revision: 42991
2009-10-10 03:24:56 +00:00
Iván Briano
b1cc741a2d
bigger clipper
...
SVN revision: 42984
2009-10-09 19:17:55 +00:00
Carsten Haitzler
daa0573ceb
oops missed file.
...
SVN revision: 42983
2009-10-09 15:17:27 +00:00
Carsten Haitzler
37b66e806b
new gl engine. no one uses it anyway. not 100% complete, but much better than
...
the old. and it ALSO does GLES2.0 as well asn GL.
SVN revision: 42982
2009-10-09 12:10:27 +00:00
Cedric BAIL
fd65247e8e
* edje: Support back empty file.
...
SVN revision: 42981
2009-10-09 08:51:03 +00:00
Vincent Torri
0ad8c4a466
add logging in edje_main.c only for now. Could be extended
...
to other files later.
SVN revision: 42980
2009-10-09 05:41:05 +00:00
Vincent Torri
d416f2d8df
formatting
...
SVN revision: 42979
2009-10-09 05:38:52 +00:00
Vincent Torri
1c7fa1c81b
rename _edje_edd_setup() and _edje_edd_free() to respectively
...
_edje_edd_init() and _edje_edd_shutdown() to follow standard
naming convention
SVN revision: 42978
2009-10-09 05:17:19 +00:00
Vincent Torri
ad994b3960
initialize eina first in eet_init().
...
SVN revision: 42977
2009-10-09 05:07:26 +00:00
Carsten Haitzler
94e5770212
dont retunr if invalid
...
SVN revision: 42976
2009-10-09 04:31:13 +00:00
Vincent Torri
4c3b28a804
Check if one of the dependencies fails in edje_init()
...
SVN revision: 42975
2009-10-08 21:58:32 +00:00
Vincent Torri
c6a563fd7a
fix tmp dir on Windows
...
SVN revision: 42974
2009-10-08 21:45:55 +00:00
Vincent Torri
506311faaa
fix evas_init() when called several times but is failing
...
SVN revision: 42972
2009-10-08 21:17:21 +00:00
Vincent Torri
2d315f76c9
fix eet_init() when called several times but is failing
...
SVN revision: 42971
2009-10-08 21:16:26 +00:00
Vincent Torri
4650a3c6de
fix evil_init() when called several times but is failing
...
SVN revision: 42970
2009-10-08 21:14:55 +00:00
Carsten Haitzler
c280f8610e
add external api call to call smart calc calls on al smarts on a canvas
...
SVN revision: 42960
2009-10-08 14:28:21 +00:00
Vincent Torri
25bec0854c
* simplify a bit edje_init() and edje_shutdown() a bit
...
* change behavior of edje_shutdown() to make it more standard
* move eet_shutdown()
the order still seems strange. I don't know if i can freely move
the init/shutdown functions
SVN revision: 42958
2009-10-08 07:05:19 +00:00
Vincent Torri
2d88e6ebad
simplify embryo_init() and embryo_shutdown() a bit
...
SVN revision: 42957
2009-10-08 06:35:48 +00:00
Vincent Torri
7902ce1bb7
simplify evas_init() and evas_shutdown() a bit
...
SVN revision: 42956
2009-10-08 06:25:09 +00:00
Vincent Torri
9e8c44052d
simplify eet_init() and eet_shutdown() a bit
...
SVN revision: 42954
2009-10-08 06:04:03 +00:00
Vincent Torri
9ad128d133
* src/lib/evil_main.c:
...
Shutdown socket system in evil_shutdown().
Update init/shutdown scheme.
SVN revision: 42952
2009-10-08 05:01:50 +00:00
Carsten Haitzler
facd02ffdc
and delete size change hints cb if unswallowed
...
SVN revision: 42951
2009-10-08 03:49:51 +00:00
Carsten Haitzler
495e804832
if a swallowed object shanges size hints.. re-fetch and calc!
...
SVN revision: 42949
2009-10-08 03:44:53 +00:00
Vincent Torri
1bb00c3afe
remove unused variable
...
SVN revision: 42945
2009-10-07 18:38:08 +00:00
Cedric BAIL
703fb37368
* efreet: Prevent div by zero.
...
SVN revision: 42940
2009-10-07 12:57:13 +00:00
Cedric BAIL
ef2d2ddfda
* evas: Remove some llvm warning.
...
SVN revision: 42938
2009-10-07 12:47:01 +00:00
Cedric BAIL
c6267c9fb9
* edje: Oops. Correct fix.
...
SVN revision: 42937
2009-10-07 12:40:28 +00:00
Cedric BAIL
17c820aef7
* eina: This initialisation is not needed, but will reduce llvm warning noise.
...
SVN revision: 42935
2009-10-07 12:06:52 +00:00
Cedric BAIL
380cc70ccc
* ecore_con: Reduce risk of segv.
...
SVN revision: 42934
2009-10-07 11:59:26 +00:00
Cedric BAIL
45b12f7ad5
* edje: Help windows users to be happy.
...
SVN revision: 42933
2009-10-07 11:50:58 +00:00
Cedric BAIL
b9f0728738
* edje: Another round of llvm warning removal.
...
SVN revision: 42932
2009-10-07 11:36:23 +00:00
Cedric BAIL
8ea901a753
* edje: Remove some potential bug detected by llvm and gcc.
...
See: http://local.profusion.mobi:8081/~lfelipe/output-efl/
SVN revision: 42930
2009-10-07 10:55:48 +00:00
Viktor Kojouharov
b972f930f7
a new vimball with updated syntax highlighting and omni-completion
...
SVN revision: 42929
2009-10-07 08:24:17 +00:00
Vincent Torri
f976b34a21
* more quoting
...
* add silent rules (shave feature)
see the description of AM_SILENT_RULES in:
http://www.gnu.org/software/automake/manual/automake.html#Public-Macros
SVN revision: 42915
2009-10-06 16:59:49 +00:00
Vincent Torri
586c6be200
* more quoting
...
* add silent rules (shave feature)
see the description of AM_SILENT_RULES in:
http://www.gnu.org/software/automake/manual/automake.html#Public-Macros
SVN revision: 42914
2009-10-06 16:58:21 +00:00
Vincent Torri
2212cd97af
* more quoting
...
* add silent rules (shave feature)
see the description of AM_SILENT_RULES in:
http://www.gnu.org/software/automake/manual/automake.html#Public-Macros
SVN revision: 42910
2009-10-06 16:55:45 +00:00
Vincent Torri
c3230f63e1
* more quoting
...
* add silent rules (shave feature)
see the description of AM_SILENT_RULES in:
http://www.gnu.org/software/automake/manual/automake.html#Public-Macros
SVN revision: 42909
2009-10-06 16:55:29 +00:00
Vincent Torri
c56e9837df
* more quoting
...
* add silent rules (shave feature)
see the description of AM_SILENT_RULES in:
http://www.gnu.org/software/automake/manual/automake.html#Public-Macros
SVN revision: 42908
2009-10-06 16:55:02 +00:00
Vincent Torri
1dd1f854b3
* more quoting
...
* add silent rules (shave feature)
see the description of AM_SILENT_RULES in:
http://www.gnu.org/software/automake/manual/automake.html#Public-Macros
SVN revision: 42907
2009-10-06 16:54:43 +00:00
Vincent Torri
62c9363178
* more quoting
...
* add silent rules (shave feature)
see the description of AM_SILENT_RULES in:
http://www.gnu.org/software/automake/manual/automake.html#Public-Macros
SVN revision: 42906
2009-10-06 16:54:26 +00:00
Vincent Torri
5bb258d05a
* more quoting
...
* add silent rules (shave feature)
see the description of AM_SILENT_RULES in:
http://www.gnu.org/software/automake/manual/automake.html#Public-Macros
SVN revision: 42905
2009-10-06 16:54:08 +00:00
Cedric BAIL
3927d4a74f
* eet: Revert back some INF macro to fprintf as this is not for logging purpose.
...
SVN revision: 42901
2009-10-06 12:07:29 +00:00
Vincent Torri
f5821e813c
* use Requires.private field in efreet .pc files if pkg-config 0.22 is installed.
...
We list in it the required packages needed to compile efreet.
SVN revision: 42878
2009-10-04 22:32:21 +00:00
Vincent Torri
1403d26dce
remoove unused variables
...
SVN revision: 42877
2009-10-04 22:28:12 +00:00
Vincent Torri
4c05580f59
cleanup
...
SVN revision: 42876
2009-10-04 22:27:03 +00:00
Hannes Janetzek
6a9f924640
patch from dfjoerg: search also pixmap dirs for icons
...
SVN revision: 42875
2009-10-04 21:55:13 +00:00
Vincent Torri
66c3cb0c22
uneeded now that we have edbus
...
SVN revision: 42874
2009-10-03 18:15:42 +00:00
Vincent Torri
72bced1e3b
* fix requirements values (should be good, now)
...
* ecore-ipc is an option for ecore-config and not a required dependency
* use Requires.private field in all the .pc if pkg-config 0.22 or later is
installed. We list in it the required packages needed to compile the modules.
* remove uneeded flags that are in Libs.private (those from the packages
that are listed in Requires.private)
SVN revision: 42873
2009-10-03 18:08:43 +00:00
Vincent Torri
425877b345
update french and italian po files (don't know why, but it has changed...)
...
SVN revision: 42872
2009-10-03 18:06:19 +00:00
Vincent Torri
0864234087
no more ecore data needed in ecore_sdl
...
SVN revision: 42870
2009-10-03 15:51:54 +00:00
Vincent Torri
324b1bc570
clean up
...
SVN revision: 42869
2009-10-03 15:46:09 +00:00
Vincent Torri
918fdb530f
clean ecore_config Makefile.am
...
SVN revision: 42868
2009-10-03 14:58:28 +00:00
Iván Briano
1d3f50027a
Added version and insert_after to box api
...
SVN revision: 42862
2009-10-02 19:06:12 +00:00
Vincent Torri
4821f141a7
* use Requires.private field in edje.pc if pkg-config 0.22 or later is installed. We list in it the required packages needed to compile edje.
...
* remove uneeded flags that are in Libs.private (those from the packages that are listed in Requires.private)
SVN revision: 42861
2009-10-02 17:21:36 +00:00
Vincent Torri
1b89795722
* use Requires.private field in embryo.pc if pkg-config 0.22 or later is installed (for Evil).
...
* remove uneeded flags that are in Libs.private (EVIL_LIBS)
SVN revision: 42860
2009-10-02 17:14:12 +00:00
Vincent Torri
de7282e68b
use Eina macro for default log color
...
SVN revision: 42855
2009-10-02 04:47:34 +00:00
Vincent Torri
832b0ee18f
too much \n in einal log macros
...
SVN revision: 42854
2009-10-02 04:40:46 +00:00
Vincent Torri
1de064d479
add Mathieu Taillefumier
...
SVN revision: 42853
2009-10-02 04:36:08 +00:00
Vincent Torri
c06f58dc3f
logify ecore_evas. Patch by Mathieu Taillefumier (a bit modified)
...
SVN revision: 42852
2009-10-02 04:35:04 +00:00
Vincent Torri
11341fff0f
* Check the returned value of eet_init() in the binary.
...
* Use binary mode of fopen() in eet_main() for Windows compatibility
SVN revision: 42851
2009-10-02 04:06:58 +00:00
Vincent Torri
d26955c432
remove useless Eina_Log macros. Patch by Mathieu Taillefumier.
...
SVN revision: 42850
2009-10-02 03:59:17 +00:00
Vincent Torri
4cccce6dfe
query sync counter. Round trip to fix, though
...
SVN revision: 42835
2009-10-01 09:03:23 +00:00
Carsten Haitzler
5a9e8df882
from jeffdameth: query sync counter
...
SVN revision: 42833
2009-10-01 08:43:54 +00:00
Vincent Torri
160d5c97b2
send last timestamp as time.
...
SVN revision: 42832
2009-10-01 08:30:24 +00:00
Carsten Haitzler
b38556b7b9
send last timestamp as time.
...
SVN revision: 42831
2009-10-01 08:23:00 +00:00
Vincent Torri
b770510734
call engine info_free() after output_free()
...
SVN revision: 42830
2009-10-01 08:01:03 +00:00
Vincent Torri
0a775ef90d
fix eina logging in software_ddraw
...
SVN revision: 42829
2009-10-01 07:44:39 +00:00
Carsten Haitzler
e30651d7ca
more patches from tom
...
SVN revision: 42828
2009-10-01 05:18:17 +00:00
Gustavo Sverzut Barbieri
728841b576
welcome glib main loop integration support.
...
that's it, it's here... tested and works fine, please try with your
favorite gmainloop dependent library and report problems. Suggestions:
* GConf to access Gnome and its applications settings.
* GtkSettings to access other properties of Gnome and its applications.
* GUPnP (okay, we have EUPnP, but they have more features so far)
* Rygel, based on GUPnP.
* Libsoup, SOAP and HTTP access, useful for web access and required
by other libraries.
* Mojito, by Moblin, access to various web2.0 services like flickr,
picasa, twitter...
And last but not least, this enables Flash plugin on WebKit-EFL and
may enable us to get Google Gadgets sooner (before someone writes a
proper EFL backend).
Support is auto-detected at compile time but can be disabled with
--disable-glib. Runtime support is not enabled by default (so
compiling with it will just link yet another library), one needs to
call ecore_main_loop_glib_integrate() to do so.
Thanks to INdT folks that provided the initial implementation. I
rewrote it to make it correct, but the idea was good.
SVN revision: 42825
2009-10-01 03:56:38 +00:00
Carsten Haitzler
0986cd681b
init some ptrs to null.
...
SVN revision: 42823
2009-09-30 22:30:12 +00:00
Vincent Torri
aa56214d0b
Fix compilation on Windows wrt changes in fixed point code
...
SVN revision: 42822
2009-09-30 17:29:30 +00:00
Vincent Torri
8e36cd3086
Support on Windows XP or later (for desktop)
...
SVN revision: 42821
2009-09-30 17:05:49 +00:00
Cedric BAIL
5ca2776a01
* eet: Fix some llvm report.
...
SVN revision: 42816
2009-09-30 10:05:15 +00:00
Tom
39b6c9148c
From: Tom <tom@stosb.com> (tasn)
...
Hey raster,
Here is the non intrusive patch I talked to you about. Please apply it as it
introduces some fixes, some improvements and mostly and underlying
infrastructure for future RTL improvements.
(note hebrew & yiddish seem fine, but things expedite test seems to show are
wrong (why i don't know as i dont speak the langs- just comparing to pango /
gtk output):
arabic seems lsightl wrong (maybe composition chars not working?)
gujarati - also seems wrong
malayam - also looks wrong
persian - looks wrong
sinhala - looks wrong
tamil - looks wrong
these are what, appear to me, to look wrong. why they look wrong, i don't
know. i'm guessing its compositiong not being handled. but i dont's peak,
read or write any of these languages so i am unsure of what it really should
be like, why and how to fix it.
anyone want to put up a hand? (everything else is displaying fine as best i
can tell - the langauges i read/speak/somewhat understand are working fine).
SVN revision: 42814
2009-09-30 04:23:21 +00:00
Carsten Haitzler
1ad41f8bca
install is auto-generated by autofoo.
...
SVN revision: 42811
2009-09-30 02:34:42 +00:00
Cedric BAIL
9a5f70b8c7
* eet: Add support for fixed point in Eet.
...
Note: They are saved as EET_T_DOUBLE, and you can request fixed point value
where you stored EET_T_FLOAT or EET_T_DOUBLE. In fact now any floating point
or fixed point value can be retrieved as any real number type you need. Eet
is taking care of the convertion for you.
SVN revision: 42800
2009-09-29 13:24:45 +00:00
Lars Munch
e1fefd6702
tslib detection fixes from Marc Andre Tanner. Thanks.
...
SVN revision: 42799
2009-09-29 12:56:14 +00:00
Cedric BAIL
7a51d7bf39
* eina: Cleanup Eina fixed point implementation.
...
SVN revision: 42798
2009-09-29 12:04:50 +00:00
Cedric BAIL
5022bcf21b
* eina: Fix doc layout.
...
SVN revision: 42796
2009-09-29 09:53:41 +00:00
Vincent Torri
e4bea597c7
Fix documentation
...
* update Doxyfile file
* fix end of groups
* fix some warnings
* fix link in head.html for Edje API ref
SVN revision: 42794
2009-09-29 06:13:33 +00:00
Rafael Antognolli
ea4efcb441
Fix eina_tile_grid_slicer_setup when a 0x0 rectangle was given as argument.
...
In this case slc->first wasn't being set, as well as the info.col and
info.row. This could bring some strange behavior like a call to
eina_tile_grid_slicer_next() not returning false.
SVN revision: 42783
2009-09-28 20:03:56 +00:00
Iván Briano
0a546d1b78
Use align == -1 for fill, and don't fill if not requested.
...
SVN revision: 42780
2009-09-28 19:24:53 +00:00
Vincent Torri
e069ea2fa1
Fix timestamps unit. Allow cinetic animation in elementary lists
...
SVN revision: 42774
2009-09-28 17:36:43 +00:00
Gustavo Sverzut Barbieri
d7c76122b0
edje_{,object}_color_class_get() and signals when color_classes are changed.
...
Enable applications to retrieve current color class values as well as
emit edje signals when they are deleted or changed.
SVN revision: 42773
2009-09-28 17:23:02 +00:00
Carsten Haitzler
57c4060bd4
edje docs now follow template
...
SVN revision: 42763
2009-09-28 09:25:35 +00:00
Carsten Haitzler
a82da76bf0
ecore -> use same template as www etc.
...
SVN revision: 42762
2009-09-28 09:13:23 +00:00
Carsten Haitzler
adc947b725
move images -> img
...
SVN revision: 42759
2009-09-28 06:49:34 +00:00
Carsten Haitzler
ff09bcbaae
add some macros/defin es to make life easier
...
SVN revision: 42757
2009-09-28 05:53:48 +00:00
Carsten Haitzler
526b6e8f3b
and fix async load thing hanging around... put in shared queue and be able to
...
remove targets from the queue.
SVN revision: 42754
2009-09-28 03:51:21 +00:00
Vincent Torri
449bdb7bc6
* use Requires.private field in evas.pc if pkg-config 0.22 is installed. We list in it the required packages needed to compile eet.
...
* remove uneeded flags that are in Libs.private (those from the packages that are listed in Requires.private)
SVN revision: 42744
2009-09-27 19:57:01 +00:00
Vincent Torri
67690abfe7
opensolaris support of the packed attribute
...
SVN revision: 42739
2009-09-27 05:50:58 +00:00
Vincent Torri
3a0ee809e3
remove \n in logging messages
...
SVN revision: 42738
2009-09-27 03:56:12 +00:00
Vincent Torri
b25ed5342f
Improve the implementation of dladdr on Windows. As the symbols are in the DLL's and as the DLL's are in the bin/
...
subdirectory, installers must put the eina mempools and evas
modules directories in the bin/ subdirectory
SVN revision: 42734
2009-09-26 21:36:01 +00:00
Vincent Torri
9f26b75b44
Use LTLIBINTL instead of LIBINTL
...
SVN revision: 42711
2009-09-26 13:05:20 +00:00
Vincent Torri
70ba1f22fd
and AC_SUBST the requirement...
...
SVN revision: 42703
2009-09-25 15:43:41 +00:00
Vincent Torri
47e25ab257
* really export symbols on Windows (EFL_EINA_BUILD not
...
correctly defined)
* add evil in the Requires.private field of eina-0.pc.in
SVN revision: 42702
2009-09-25 15:39:53 +00:00
Cedric BAIL
568acf4705
* eina_atofp: Always return EINA_TRUE on valid input string.
...
SVN revision: 42700
2009-09-25 12:02:14 +00:00
Vincent Torri
1079703690
return false if fp is NULL, update doc accordingly
...
SVN revision: 42699
2009-09-25 11:51:52 +00:00
Cedric BAIL
340ac0ee30
* eina: Fix build without amalgamation.
...
SVN revision: 42698
2009-09-25 11:36:56 +00:00
Vincent Torri
b2bda6edb2
* convert string to fp only if fp is not NULL
...
* add doc of eina_convert_atofp()
* minor doc cleanup
SVN revision: 42697
2009-09-25 11:23:37 +00:00
Cedric BAIL
6a284f8178
* eina: Add eina_atofp.
...
SVN revision: 42694
2009-09-25 10:03:19 +00:00
Carsten Haitzler
aea9bb4064
i KNOW there is a bug here... the question is.. how to fix it?
...
SVN revision: 42692
2009-09-25 09:06:13 +00:00
Vincent Torri
7c47dc2c65
* add documentation for eina_convert_fptoa()
...
* fix typo in doc
SVN revision: 42691
2009-09-25 08:44:04 +00:00
Carsten Haitzler
58fc0273fe
account for padding too for too-big
...
SVN revision: 42678
2009-09-24 14:44:05 +00:00
Vincent Torri
c1b56b9cf1
revert. I didn't see that the .c files were included...
...
SVN revision: 42664
2009-09-24 06:01:59 +00:00
Vincent Torri
f12c2099d4
* export _evas_log_dom_global as it can be used in modules
...
* don't include non microsoft header files when vc++ is used
* declare alloca before standard C header files
* minor formatting
SVN revision: 42663
2009-09-24 05:10:49 +00:00
Vincent Torri
6677c2fcf9
fix double to Evas_Coord conversion warnings
...
SVN revision: 42662
2009-09-24 04:55:01 +00:00
Vincent Torri
32d0ba3d65
fix common configuration of VS
...
SVN revision: 42651
2009-09-23 17:17:59 +00:00
Vincent Torri
454f2fadcb
move declaration of variables at the beginning of the blocks
...
SVN revision: 42650
2009-09-23 17:15:18 +00:00
Cedric BAIL
a0cf367269
* eina: Improve eina_fptoa test.
...
SVN revision: 42648
2009-09-23 16:57:59 +00:00
Cedric BAIL
4ddba5724d
* eina: Add eina_fptoa.
...
This is a small piece of code, but a big one for an edje fixed point implementation.
SVN revision: 42646
2009-09-23 16:47:08 +00:00
Vincent Torri
c392f30e71
make evas_module.c and evas_path.c compile with vc++
...
SVN revision: 42641
2009-09-23 07:12:11 +00:00
Vincent Torri
cefbd7abf5
use size_t instead of int
...
SVN revision: 42640
2009-09-23 06:45:39 +00:00
Vincent Torri
ac44ab5449
move the gradient2 main structure in a specific header as it is also used in the linear and radial files
...
SVN revision: 42639
2009-09-23 06:37:08 +00:00
Vincent Torri
e50c003031
last auto-import symbols
...
SVN revision: 42631
2009-09-22 23:07:29 +00:00
Vincent Torri
ef825fc3c1
more auto-import symbols
...
SVN revision: 42630
2009-09-22 23:05:51 +00:00
Vincent Torri
e359ac2161
auto-import symbols
...
SVN revision: 42628
2009-09-22 22:51:15 +00:00
Vincent Torri
165a507ce2
move declaration of variables at the beginning of the block
...
SVN revision: 42627
2009-09-22 22:37:03 +00:00
Vincent Torri
3e74ea2ad3
configure eina with VS according to the used mode (debug or release)
...
SVN revision: 42625
2009-09-22 22:28:35 +00:00
Mikhail Gusarov
8b293c2209
Fix memory corruption in ecore_xcb_window.c::ecore_x_window_children_get
...
Function allocated reply->children_len bytes, and then copied
sizeof(Ecore_X_Window) * reply->childen_len bytes into the buffer, leading
to memory corruption.
SVN revision: 42624
2009-09-22 18:18:28 +00:00
Carsten Haitzler
bea22f22a4
fix wrns.. and fix macro!
...
SVN revision: 42617
2009-09-22 08:04:57 +00:00
Carsten Haitzler
85c9ee14e1
and much pain and ganshing of teeth.. this took too long... no more hanging
...
preload cancels. u can cancel a preload (explicitly or implicitly) with no
lock penalty. now i can get on with my other fun.
SVN revision: 42616
2009-09-22 07:02:14 +00:00
Cedric BAIL
05126826a3
* efreet: Use eina_log.
...
Patch from Matthieu.
SVN revision: 42599
2009-09-21 16:36:29 +00:00
Cedric BAIL
c259d8addd
* evas: Use eina_log.
...
Patch from Matthieu.
SVN revision: 42598
2009-09-21 16:08:51 +00:00
Carsten Haitzler
db6bee8c04
and be able to check for my libjpeg hacks and enable if found
...
SVN revision: 42594
2009-09-21 12:49:52 +00:00
Carsten Haitzler
2f87e02f09
more work on jpeg region load. use some hacks i did to libjpeg.
...
SVN revision: 42593
2009-09-21 12:49:31 +00:00
Carsten Haitzler
c61c9643ca
handle regions for all jpeg types (cymk, rgb, gray). other formats dont
...
support this (atm). there is possibly little point in doing so... perhaps
svg... thought maybe tiff too later? for now, get jpeg 100% up to snuff.
SVN revision: 42587
2009-09-20 14:31:48 +00:00
Vincent Torri
0c0dbb92dc
move EINA_DEPRECATED to the beginning of the declaration
...
SVN revision: 42571
2009-09-20 07:16:47 +00:00
Vincent Torri
4e63a7b157
add VS8 project for eet binary. Not tested, though
...
SVN revision: 42556
2009-09-18 08:09:00 +00:00
Vincent Torri
825c8fd9be
* fix copy/paste typo in start.bat
...
* add VS project for the eet binary
* make eet_main.c compile with vc++
SVN revision: 42555
2009-09-18 07:41:05 +00:00
Iván Briano
4e33c6fd65
Improve documentation for Evas, Ecore, Edje and Elementary.
...
Work by:
- Thiago R. Masaki (mostly)
- Fabiano Fidencio
- Gustavo Lima
SVN revision: 42552
2009-09-17 22:38:35 +00:00
Iván Briano
6cf87428a4
Improve documentation for Evas, Ecore, Edje and Elementary.
...
Work by:
- Thiago R. Masaki (mostly)
- Fabiano Fidencio
- Gustavo Lima
SVN revision: 42551
2009-09-17 22:38:22 +00:00
Iván Briano
5c3b4fa74e
Improve documentation for Evas, Ecore, Edje and Elementary.
...
Work by:
- Thiago R. Masaki (mostly)
- Fabiano Fidencio
- Gustavo Lima
SVN revision: 42550
2009-09-17 22:38:10 +00:00
Gustavo Sverzut Barbieri
131be821c8
oops! strncpy is tricky and uri was a pointer not an array.
...
people were not noticing it as they were using 64 bits machines... but
with 32 bits just 4 bytes were copied and 3 were missing :-P
SVN revision: 42549
2009-09-17 18:37:22 +00:00
Gustavo Sverzut Barbieri
183237e348
improve logging messages introduced by Mathieu Taillefumier.
...
move some to error/critical, remove trailing \n.
NOT doing ChangeLog entry on purpose, it's useless as it's an
intra-release change (changes the previous unlreleased change)
SVN revision: 42547
2009-09-17 14:33:06 +00:00
Gustavo Sverzut Barbieri
acc688873b
logging: remove trailing \n
...
SVN revision: 42546
2009-09-17 14:31:29 +00:00
Gustavo Sverzut Barbieri
bea73e88bd
Ethumb improvements and more docs.
...
make some types unsigned int to better represent what they will
contain, fix dbus api to match so.
SVN revision: 42545
2009-09-17 14:05:04 +00:00
Gustavo Sverzut Barbieri
bf4e52869b
configure summary, maximum log level and other improvements.
...
Have all source to include config.h conditionally (HAVE_CONFIG_H),
define EINA_LOG_LEVEL_MAXIMUM, minor changes to configure.ac to make
it conform with the rest of efl.
SVN revision: 42544
2009-09-17 12:04:35 +00:00
Gustavo Sverzut Barbieri
1573ce03ca
todo...
...
SVN revision: 42542
2009-09-17 06:19:01 +00:00
Gustavo Sverzut Barbieri
4be6ac7921
enable "make doc", improve doxygen support for client library.
...
Some methods are missing and the in-process thumbnail needs to be
done, the documentation is almost the same as the client, so I really
appreciate someone else do it :-)
SVN revision: 42541
2009-09-17 06:08:10 +00:00
Gustavo Sverzut Barbieri
5dc1e3900f
more docs
...
SVN revision: 42538
2009-09-17 05:17:12 +00:00
Vincent Torri
2fef98ba8a
use __attribute__((packed)) if __GNUC__ is defined
...
use #pragma pack if vc++ is used
use nothing otherwise (should we exit with an error in that case ?)
SVN revision: 42533
2009-09-16 22:02:59 +00:00
Vincent Torri
9a08eb668f
add more wrapping
...
SVN revision: 42532
2009-09-16 21:59:37 +00:00
Vincent Torri
458267b1c2
useless define
...
SVN revision: 42531
2009-09-16 21:59:04 +00:00
Vincent Torri
7d884078e0
add new line
...
SVN revision: 42528
2009-09-16 20:35:35 +00:00
Vincent Torri
18bd48b4a5
update README.txt and MANIFEST.txt files
...
SVN revision: 42527
2009-09-16 20:24:23 +00:00
Vincent Torri
a7293d0cda
add README.txt and MANIFEST.txt files
...
SVN revision: 42526
2009-09-16 20:23:11 +00:00
Vincent Torri
1f15fd4f87
typo
...
SVN revision: 42525
2009-09-16 20:22:21 +00:00
Vincent Torri
3fd2eab56a
* Add Visual Studio 2008 solution and project file
...
* make start.bat generic
SVN revision: 42524
2009-09-16 20:10:27 +00:00
Gustavo Sverzut Barbieri
8e56bad0e6
dunno what's this crazy math, but it overflows on 64 bits... ensure it's unsigned long long...
...
SVN revision: 42523
2009-09-16 19:20:26 +00:00
Vincent Torri
98817e4ed3
add other wrapping for Windows function (fileno and fdopen)
...
SVN revision: 42521
2009-09-16 18:05:04 +00:00
Vincent Torri
02adb06f5a
fix VS8 project file
...
SVN revision: 42520
2009-09-16 17:55:18 +00:00
Vincent Torri
927fe76f5f
move EINA_DEPRECATED at the beginning of the declaration
...
SVN revision: 42519
2009-09-16 17:45:04 +00:00
Vincent Torri
17bd8aecf8
add int64_t type when compiling with vc++. Nedded for eina_f*p*.h files
...
SVN revision: 42518
2009-09-16 17:25:28 +00:00
Vincent Torri
e2b34b41ee
* fix compilation on Windows when using amalgamation
...
* put alloca declaration at the beginning
SVN revision: 42517
2009-09-16 17:22:01 +00:00
Vincent Torri
12788aff0b
fix--
...
SVN revision: 42516
2009-09-16 16:28:30 +00:00
Vincent Torri
082c4496b1
make start.bat more generic
...
SVN revision: 42514
2009-09-16 13:47:01 +00:00
Vincent Torri
c1f402b6fc
* allow compilation with vc++
...
* fix a small warning
SVN revision: 42513
2009-09-16 13:38:21 +00:00
Vincent Torri
49ac7ebc95
* update Visual Studio project files:
...
- link against evil
- eina mempools are statically linked
* formatting in start.bat
SVN revision: 42512
2009-09-16 13:31:23 +00:00
Vincent Torri
ceb5e10348
update Visual Studio project files
...
SVN revision: 42511
2009-09-16 13:27:04 +00:00
Vincent Torri
d14efa7613
* add Visual Studio 2008 project
...
* use a single start file to launch Visual Studio 2005 or 2008 automatically
SVN revision: 42510
2009-09-16 11:32:24 +00:00
Carsten Haitzler
65f147aa81
make loaders use "big image" macro to detect an image that is going to just
...
be way too big to ever allocate. probably code can do with other fixes too.
also make jpeg loader rudametarily understand load regions. very brute-force.
but enough for just this moment to do testing.
SVN revision: 42507
2009-09-16 09:48:05 +00:00
Iván Briano
ed7064edcc
Move some defines to enum and expose them.
...
Move to Eina_Bool.
Return success for rename of group and part to the same name.
Patch by Tiago Rezende Campos Falcão
SVN revision: 42506
2009-09-16 03:37:28 +00:00
Gustavo Sverzut Barbieri
5b68d0be34
minor fixes.
...
SVN revision: 42504
2009-09-15 22:32:24 +00:00
Vincent Torri
06cb4ebf40
update Visual Studio project
...
SVN revision: 42501
2009-09-15 21:20:56 +00:00
Vincent Torri
9b9c496175
move the declaration of variables at the beginning of the block
...
SVN revision: 42499
2009-09-15 21:20:08 +00:00
Vincent Torri
0ba193bae0
move EINA_DEPRECATED at the beginning of the declaration,
...
because it's more visible, and vc++ does not like it at
the end.
SVN revision: 42498
2009-09-15 21:19:15 +00:00
Cedric BAIL
f523b22bb3
* eet: Update ChangeLog
...
SVN revision: 42496
2009-09-15 15:06:03 +00:00
Cedric BAIL
3e23569492
* eet_data: Remove unused freeleak.
...
SVN revision: 42495
2009-09-15 14:48:42 +00:00
Carsten Haitzler
f780cc2c8f
add "region" load opt. no loader handles it... yet
...
SVN revision: 42494
2009-09-15 13:34:12 +00:00
Cedric BAIL
7fe73280d6
* eet: Update AUTHORS and ChangeLog accordingly.
...
SVN revision: 42493
2009-09-15 11:23:28 +00:00
Cedric BAIL
cab54bd121
* eet: Use eina_log.
...
Patch from Mathieu Taillefumier <mathieu.taillefumier@free.fr>.
SVN revision: 42492
2009-09-15 11:22:11 +00:00
Davide Andreoli
5f6ba77546
Don't segfault if 'icon' is null
...
SVN revision: 42490
2009-09-14 20:18:25 +00:00
Cedric BAIL
8e6a393cf9
* eina_log: Fallback to mutex when spinlock doesn't exist.
...
SVN revision: 42489
2009-09-14 16:06:18 +00:00
Cedric BAIL
d117093a55
* eina: Add explanation around compiler false positiv warning.
...
SVN revision: 42488
2009-09-14 15:28:55 +00:00
Carsten Haitzler
0b8f43494a
moe enume typedefs together. typedef before enum is bad for some compilrs...
...
like g++.. or suncc... dod so in all headers anyay for consistency
SVN revision: 42477
2009-09-14 00:38:59 +00:00
Hannes Janetzek
51fd74a36f
efreet_mime add fallback check for executables
...
SVN revision: 42474
2009-09-14 00:28:51 +00:00
dieb
c2fde2fa75
Trailing whitespaces--, remove wrong tabs.
...
SVN revision: 42454
2009-09-13 03:04:20 +00:00
Gustavo Sverzut Barbieri
56d5c74815
done items
...
SVN revision: 42449
2009-09-12 18:29:46 +00:00
Gustavo Sverzut Barbieri
97645fe7bc
API BREAK: Fix Ethumb API to be more EFL-like
...
* Callbacks were named to help Vala bindings.
* All callbacks get 'void *data' as first argument, always.
* All async methods get free_data parameters and call them also on disconnect()
* queue_remove() renamed to generate_cancel() to be more clear.
* queue_clear() renamed tp generate_cancel_call() to be more clear.
SVN revision: 42445
2009-09-12 18:23:05 +00:00
Rafael Antognolli
52de9e33cd
Added the Eina_Tile_Grid_Slicer iterator.
...
This new iterator receives a rectangle as argument and tile_w X tile_h sized
tile, and slices the rectangle iterating over it on each iteration.
SVN revision: 42427
2009-09-11 23:51:47 +00:00
Gustavo Sverzut Barbieri
7d1745e3c1
constness++
...
SVN revision: 42426
2009-09-11 23:10:57 +00:00
Gustavo Sverzut Barbieri
f98cb6e5f5
fix lighblue and add cyan.
...
SVN revision: 42410
2009-09-11 14:22:24 +00:00
Carsten Haitzler
7ee7fb5604
1. make max image size a #define
...
2. max image size > 65536x65536
3. fix cserve leak
4. fix cserve+async load to work together.
SVN revision: 42406
2009-09-11 13:44:53 +00:00
Hannes Janetzek
e7d76f6392
also remove text class members on object deletion
...
SVN revision: 42397
2009-09-11 00:48:57 +00:00
Carsten Haitzler
fda3149474
ecore-conig dont build if no evas found (mind u if no evas... why ecore etc.?
...
very unusual)
SVN revision: 42394
2009-09-10 21:49:41 +00:00
Horms
bef3c68926
Add libeina-svn-04.lintian-overrides
...
Based on libeina-svn-03.lintian-overrides from
the eina 0.0.2.062-2 package on debian.org
SVN revision: 42378
2009-09-10 02:44:05 +00:00
Horms
fd13f43a81
Update libeina-svn-01 to libeina-svn-04
...
SVN revision: 42377
2009-09-10 02:41:40 +00:00
Horms
19afb9e363
Remove bogus mmu debian-version
...
SVN revision: 42376
2009-09-10 02:32:47 +00:00
Horms
7ac04b3860
Update version in Debian changelog to 0.0.2.62
...
SVN revision: 42375
2009-09-10 02:31:36 +00:00
Horms
0d0e486d54
Update Debian standards version from 3.8.1 to 3.8.3
...
SVN revision: 42374
2009-09-10 01:41:41 +00:00
Rafael Antognolli
0e716d559b
EINA: Fix compilation when builddir != srcdir.
...
SVN revision: 42369
2009-09-09 20:37:23 +00:00
Iván Briano
bbce7b5e0d
Avoid clashes.
...
SVN revision: 42368
2009-09-09 15:53:50 +00:00
Vincent Torri
74a22e367f
* use Requires.private field in eet.pc if pkg-config 0.22 is installed.
...
We list in it the required packages needed to compile eet.
* remove uneeded flags that are in Libs.private (those from the packages
that are listed in Requires.private)
Patch by dottedmag, modified a bit.
SVN revision: 42367
2009-09-09 15:50:52 +00:00
Iván Briano
555de0f914
Support EINA_INLIST to be anywhere in the struct with _FOREACH macros.
...
Fix pointer arithmetic with EINA_CONTAINER_GET.
Change Inlist test to have the int first and not assume a direct cast works.
SVN revision: 42366
2009-09-09 14:05:31 +00:00
Vincent Torri
2d3021f128
* add amalgation support in configure output
...
* remove a warning when eina_amalgamation.c is deleted but does not exist
* delete eina_amalgamation.c when doing 'make clean'
SVN revision: 42363
2009-09-09 07:42:08 +00:00
Gustavo Sverzut Barbieri
d909319998
tests: explain some errors messages are expected and check for safety checks.
...
Many people try "make check" and then complain they have some error
messages, but they are actually expected... but even for the
experienced is hard to know whenever it was expected or not, so
explicitly say that.
Also check if safety checks are enabled or not before doing "break"
tests, otherwise we'll end with segfaults and tests failing. (I have
not tested with them disabled, but should be okay).
SVN revision: 42360
2009-09-09 01:53:40 +00:00
Gustavo Sverzut Barbieri
93b28743c5
remove warnings from tests.
...
SVN revision: 42359
2009-09-09 01:41:29 +00:00
Gustavo Sverzut Barbieri
2de7c52bd1
remove easy warnings, 2 still left that I need someone else to check
...
proper fix.
SVN revision: 42358
2009-09-09 01:27:30 +00:00
Gustavo Sverzut Barbieri
88730b324d
let's have more testing: amalgamation on by default, report problems!
...
SVN revision: 42356
2009-09-09 00:38:26 +00:00
Gustavo Sverzut Barbieri
c98bf92366
replace UNLIKELY() with EINA_UNLIKELY()
...
SVN revision: 42354
2009-09-08 21:42:17 +00:00
Vincent Torri
c88e3887d8
* INSTALL:
...
update INSTALL file
SVN revision: 42345
2009-09-08 06:55:14 +00:00
Vincent Torri
df88395e4f
* fix logging for Windows XP and CE port
...
by adding namespace to logging macros
* formatting and warning cleanup
SVN revision: 42341
2009-09-08 05:39:09 +00:00
dieb
073dd0542c
Fix segv reported by Peter Wehrfritz on eina init/shutdown (specifically on
...
eina_log init/shutdown as it wasn't resetting domains counters properly).
SVN revision: 42334
2009-09-07 23:23:03 +00:00
Peter Wehrfritz
809cfd97ff
eina_stringshare_init -> eina_init, dito shutdown
...
SVN revision: 42328
2009-09-07 16:32:26 +00:00
Carsten Haitzler
deb61bbe7c
fix some possible mutex probs
...
SVN revision: 42319
2009-09-07 10:42:30 +00:00
Gustavo Sverzut Barbieri
9b3e482ad2
--enable-amalgamation
...
This will concatenate all source files in the hope compiler will do a
better job. On my test with static/built in mempools it saves me 4k, I
guess some intra module calls can be saved.
SVN revision: 42315
2009-09-07 05:54:42 +00:00
Gustavo Sverzut Barbieri
b84e3424fe
use quotes to include config.h
...
SVN revision: 42314
2009-09-07 04:32:49 +00:00
Gustavo Sverzut Barbieri
bda2733238
fix message
...
SVN revision: 42313
2009-09-07 04:29:27 +00:00
Gustavo Sverzut Barbieri
8318f4c1f2
allow amalgamation of files, at least symbols don't clash anymore.
...
more related to amalgamation later.
SVN revision: 42312
2009-09-07 04:23:05 +00:00
Gustavo Sverzut Barbieri
a4bd77905d
malloc--: error and magic can take statically defined strings so no
...
need to strdup them.
SVN revision: 42311
2009-09-07 03:32:22 +00:00
Gustavo Sverzut Barbieri
404e3e09fb
API BREAK: eina_magic_string_set() does not change existing strings anymore.
...
It's pointless to be able to change magic number string after it's
created, so let's avoid walking the existing list and just remove
places where strings were being duplicated (list/array both inited
magic strings for accessor/iterators).
Also an optimization, register using an array and sort it before
searching. Sort will just happen when array was changed, and this is
just done when eina_magic_string_get() is called.
SVN revision: 42310
2009-09-07 02:33:54 +00:00
Gustavo Sverzut Barbieri
4baa70798c
eina_inlist.h is not required anymore.
...
SVN revision: 42305
2009-09-06 22:56:34 +00:00
Gustavo Sverzut Barbieri
777e74ce7d
eina_error: improvements to make it faster.
...
Use a simple array instead of inlist, error get is now much faster
using direct index access.
SVN revision: 42304
2009-09-06 22:54:49 +00:00
Gustavo Sverzut Barbieri
f98bf21da7
allocate more buckets on init to save couple of reallocs during startup.
...
SVN revision: 42303
2009-09-06 22:34:38 +00:00
Gustavo Sverzut Barbieri
205e0fe399
fix macro positioning of '\'
...
SVN revision: 42302
2009-09-06 22:25:36 +00:00
Gustavo Sverzut Barbieri
992936af22
Update to match new EINA init/shutdown.
...
SVN revision: 42301
2009-09-06 22:23:04 +00:00
Gustavo Sverzut Barbieri
e4af7c100c
EINA API BREAK: no more individual modules init/shutdown.
...
Being able to indivually initialize individual modules was initially
"good", but at end it's putting complexities on users that would try
to "optimize" by doing just what they used, but in the end most people
would get them wrong, users would have to do lots of code and etc. At
the end it does not worth.
Most module init just register handful errors and log domains, so are
cheap. The exception is mempool users, that would dlopen() stuff, but
people that are concerned (embedded) can just compile those statically
in eina.
Since at the end any real application would use most of modules, we
actually end saving lots of function calls that would do nothing other
than increment a global counter.
I also did the init/shutdown use an array, making it easier to
maintain. The inital dependencies were analysed by a script I wrote, I
hope it's all right.
Please fix any breakages you find!
SVN revision: 42300
2009-09-06 22:21:56 +00:00
Vincent Torri
718873e00c
shut down safety checks in the log module
...
Note : currently, because of a circular calls of
eina_log_init() and eina_safety_checks_init(), eina
is not correctly shut down. Imho, eina_log should not
depend on the safety checks module. That would mean
some fprintf in eina_log_domain_new(), eina_log_domain_free(),
eina_log_domain_register()and eina_log_domain_unregister().
SVN revision: 42292
2009-09-06 15:25:35 +00:00
Vincent Torri
e780763aa0
shutdown array module
...
SVN revision: 42287
2009-09-06 08:39:04 +00:00
Vincent Torri
e6891b228c
formatting
...
SVN revision: 42275
2009-09-05 08:52:41 +00:00
Vincent Torri
1dd8436cd4
add Mathieu Taillefumier's patch for eina logging,
...
with small modifications and fixing
ecore_evas_win32 does not build, though. I think that
if we add log support in evas, all the macro must have
different names, because of all the _private.h headers
that are included in all source files (that's the problem
with win32). I'll fix ecore_evas_win32 build later. Or
someone can do it if he wants :-)
SVN revision: 42274
2009-09-05 08:39:34 +00:00
Vincent Torri
911ce19bfc
fix build when async events are not enabled
...
SVN revision: 42273
2009-09-05 07:56:03 +00:00
Gustavo Sverzut Barbieri
5846195caf
eina_log: be able to disable function or line.
...
write down specialized cases for threads or not, function or file,
color or not. Maybe it's not even an optimization since we add yet
another indirection/function call, but each case is simpler.
* EINA_LOG_FILE_DISABLE=1: disables show of file:line in
stderr/stdout messages.
* EINA_LOG_FUNCTION_DISABLE=1: disables show of function() in
stderr/stdout messages.
one must not use the two options at the same time, if that's the case
code will ignore EINA_LOG_FILE_DISABLE=1 and use just function
disable.
SVN revision: 42272
2009-09-04 23:45:16 +00:00
Gustavo Sverzut Barbieri
86aa8a433b
mark log functions as not_instrument_function.
...
SVN revision: 42270
2009-09-04 21:55:03 +00:00
Gustavo Sverzut Barbieri
b5397eea63
eina_log optimization: allow to compile out some debug messages.
...
Users may opt to set EINA_LOG_LEVEL_MAXIMUM to some integer and macro
will then evaluate to check for that value before actually call
eina_log_print() macro. By using optimizations compilers will
effectivelly compile out the code if it is never reached, thus saving
the check and function call in possible critical paths.
SVN revision: 42269
2009-09-04 21:28:50 +00:00
Gustavo Sverzut Barbieri
e229b25826
loggify ethumb.
...
remove debug_level options as it is better handled by EINA_LOG_LEVELS
and EINA_LOG_LEVEL variables, for example:
EINA_LOG_LEVEL=3 EINA_LOG_LEVELS=ethumb:4,ethumb_client=1
will show debug for ethumb (lib), just errors (no warnings) for
ethumb_client library and everything else shows "info".
SVN revision: 42261
2009-09-04 19:27:12 +00:00
xcomputerman
1f24df9c39
Update EINA_ERROR_LEVEL* to EINA_LOG_LEVEL* to allow building again
...
SVN revision: 42255
2009-09-04 18:04:00 +00:00
Vincent Torri
1d7608daaa
fix coverage support configuration
...
SVN revision: 42250
2009-09-04 16:55:51 +00:00
Vincent Torri
5e05323794
include eina_log.h in eina_error.h as some log macro are used in it
...
SVN revision: 42249
2009-09-04 16:54:38 +00:00
Vincent Torri
d56568b7f9
eina_log uses pthreads now (if enabled), so link libeina against pthread
...
SVN revision: 42248
2009-09-04 16:25:18 +00:00
Gustavo Sverzut Barbieri
eef2d35ea6
eina_matrixsparse: loggify, install header, remove warnings and coding style.
...
* use eina_log
* install eina_matrixsparse.h
* remove unused variable
* fix coding style issue reported by Vincent
SVN revision: 42246
2009-09-04 14:18:05 +00:00
Gustavo Sverzut Barbieri
643958705b
eina_matrixsparse: welcome sparse matrix implementation and tests.
...
Sparse Matrix was implemented and tested by Rafael Antognolli and
myself in order to implement optimized large sparse matrix walk in
some products, one of them WebKit-EFL optimizations.
We have done extensive tests, with good code coverage. Similar to
lists/inlists, we keep pointer to last known element and similar to
iterators we keep reference to last accessed row and cell inside
rows. This allows fast sequential access (for i... for j... m[i,j]),
that is our most common usage case.
Rows are kept in a list, with cells inside that row as another
list. It's not similar to most book implementations where cells keep
reference to their sibling cells in other rows as well, we opted to
not do that to save some pointers and make algorithms simpler, still
do great for our use case.
This code was developed on behalf of our client, that wants to remain
unnamed so far. Thanks client ;-)
SVN revision: 42243
2009-09-04 13:43:44 +00:00
Vincent Torri
d8acbfc6f6
rename ecore_thread_init and ecore_thread_shutdown to fit usual private function names
...
SVN revision: 42240
2009-09-04 05:49:54 +00:00
Vincent Torri
eaf9934e80
evas_init() fails if eina_init() or evas_async_events_init() fail
...
SVN revision: 42239
2009-09-04 05:41:20 +00:00
Vincent Torri
ac3dae2a80
remove trailing spaces
...
SVN revision: 42238
2009-09-04 05:13:19 +00:00
Vincent Torri
be3e63eb6d
et_init should fail if eina_init fails
...
SVN revision: 42237
2009-09-04 05:03:47 +00:00
Vincent Torri
4576249649
fix maintainer-clean rule
...
SVN revision: 42236
2009-09-04 04:45:47 +00:00
Vincent Torri
d109fae2f9
remove from MAINTAINERCLEANFILES files that are removed by distclean rule
...
SVN revision: 42235
2009-09-04 04:36:03 +00:00
Vincent Torri
cb3150f9ea
remove uneeded files
...
SVN revision: 42234
2009-09-04 04:29:23 +00:00
Carsten Haitzler
1352efe452
1. make smart callback calling faster with == instead of strcmp
...
2. add linesize/line relsize for setting line sizes in textblock
SVN revision: 42231
2009-09-04 03:53:18 +00:00
Gustavo Sverzut Barbieri
e88b62b295
oops! thanks Vincent.
...
SVN revision: 42230
2009-09-04 03:52:05 +00:00
Gustavo Sverzut Barbieri
e455e6f5b9
fix eina to not use deprecated eina_error logging.
...
SVN revision: 42229
2009-09-04 02:42:51 +00:00
Gustavo Sverzut Barbieri
4d5fbb7742
loggify array.
...
this is the last eina module to be converted to eina_log! :-)
SVN revision: 42228
2009-09-04 02:35:24 +00:00
Gustavo Sverzut Barbieri
5ea9ceeafc
eina_module must initialize eina_array as it is used.
...
SVN revision: 42227
2009-09-04 02:34:48 +00:00
Gustavo Sverzut Barbieri
dfee09d6b0
make it easier to spot wrong users of eina_log_print()
...
SVN revision: 42226
2009-09-04 02:34:10 +00:00
Gustavo Sverzut Barbieri
9f8dfea129
loggify rectangle.
...
SVN revision: 42225
2009-09-04 02:11:44 +00:00
Gustavo Sverzut Barbieri
04489ec727
loggify stringshare, with extensive debug.
...
note that one can turn per module debug, for example:
EINA_LOG_LEVEL=4 EINA_LOG_LEVELS=eina_stringshare:0 ./bla
will enable level 4 (debug) for all modules except eina_stringshare
that is forced to 0 (just critical messages).
SVN revision: 42224
2009-09-04 02:03:46 +00:00
Gustavo Sverzut Barbieri
21545b087a
loggify stringshare.
...
SVN revision: 42223
2009-09-04 01:54:37 +00:00