Lucas De Marchi
5a8a8c9014
Convert (hopefully) all comparisons to NULL
...
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
SVN revision: 51487
2010-08-21 13:52:25 +00:00
Carsten Haitzler
824052d5ed
formatting - as agreed. return on line before func and each param on a
...
line.
SVN revision: 51457
2010-08-20 02:22:51 +00:00
Carsten Haitzler
f6b902d4be
eet - clean out old data from doc dir, set up for 1.4.0 release,
...
bring install in line with eina and move content to readme. readied
for 1.4.0 alpha release.
SVN revision: 51155
2010-08-16 05:42:01 +00:00
Sebastian Dransfeld
91df89c40c
Fix typo
...
SVN revision: 51103
2010-08-13 22:48:59 +00:00
Cedric BAIL
ccc497b492
* eet: fix version and trigger the right alloc path.
...
SVN revision: 51093
2010-08-13 17:12:08 +00:00
Cedric BAIL
d0f668a6ba
* eet: fix bad allocation case triggered by edje new file format.
...
Bad news, I also discovered in the same time that we introduced an
API/ABI breakage in 1.3.0. This patch does prevent it from coming
again, sadly, it imply an ABI break that I didn't find a proper
way to work around. So recompile eet and all the program that use
it after that commit.
SVN revision: 51080
2010-08-13 15:21:52 +00:00
Cedric BAIL
348a4ef2fe
* eet: fix leak in eet.
...
SVN revision: 51043
2010-08-12 14:37:36 +00:00
Cedric BAIL
4ce36d937e
* eet: fix dead lock when using alias in eet file.
...
SVN revision: 50935
2010-08-09 17:21:10 +00:00
Cedric BAIL
6df15533ee
* eet: typo.
...
SVN revision: 50865
2010-08-06 15:40:16 +00:00
Cedric BAIL
78e3e21c04
* eet: add an helper to setup hash with string content.
...
SVN revision: 50863
2010-08-06 15:24:21 +00:00
Lucas De Marchi
0a4617ae38
FORMATTING
...
* Remove vim modelines:
find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;
* Remove leading blank lines:
find . -name '*.[cxh]' -exec sed -i '/./,$!d'
If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0
SVN revision: 50816
2010-08-04 16:57:32 +00:00
Cedric BAIL
1edd7e4ffa
* eet: fix bug on 32bits computer.
...
SVN revision: 50743
2010-08-02 14:30:46 +00:00
Sebastian Dransfeld
1c05469785
fix stupid align of *
...
SVN revision: 50721
2010-07-31 18:57:35 +00:00
Sebastian Dransfeld
5d1a9f4e0d
remove space after *
...
SVN revision: 50719
2010-07-31 18:54:54 +00:00
Carsten Haitzler
f7019f134d
formatting. <- uncrustify
...
SVN revision: 50698
2010-07-31 01:54:48 +00:00
Carsten Haitzler
c127ff73e7
fix formatting
...
SVN revision: 50576
2010-07-28 03:03:10 +00:00
Carsten Haitzler
9965849a0e
formatting!!!!!
...
SVN revision: 50575
2010-07-28 02:49:01 +00:00
Mike Blumenkrantz
9dec9fa6b5
according to the docs you're supposed to set this or else you will be destroyed by lack of mutexes...
...
SVN revision: 50570
2010-07-28 02:10:44 +00:00
Carsten Haitzler
926db95c54
testing uncrustify on eet. this shall be standard efl formatting from
...
now on. you may run indent on code and convert to your own formatting
if you want.. but all code MUST be "uncrustified" before being
cxommitted to svn or before generating patches. time to get the
formatting monster under control.
SVN revision: 50563
2010-07-28 01:45:57 +00:00
Boris Faure
2ac69e62f0
eet: typo. Patch by Vincent Torri
...
SVN revision: 50445
2010-07-23 07:32:34 +00:00
Cedric BAIL
3f4ca260af
* eet: reduce likeliness of race condition by checking file size too.
...
SVN revision: 50382
2010-07-20 16:13:51 +00:00
Vincent Torri
8351950dee
Add native Windows thread support instead of using pthread
...
(less overhead). On other OS, pthread is still used by default.
Pass --enable-win32-threads to activate thread support on
Windows.
SVN revision: 50262
2010-07-15 06:34:32 +00:00
Lucas De Marchi
2a84379ba9
Remove unneeded code with notnull.cocci script
...
The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:
if (!var) return;
if (var && var->fld) { ... }
It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.
SVN revision: 50241
2010-07-14 02:05:47 +00:00
Carsten Haitzler
6a6d4d991c
more correct version of the dso fix
...
SVN revision: 50185
2010-07-11 23:57:08 +00:00
Carsten Haitzler
e9d4afc9d7
moved eet.h to its own dir - pkgconfig handles all the right stuff.
...
SVN revision: 50117
2010-07-08 03:05:00 +00:00
Cedric BAIL
6df28268ca
* eet: add support for eet_alias.
...
SVN revision: 49939
2010-06-29 16:20:23 +00:00
Vincent Torri
11f53993b0
put __UNUSED__ after parameter, not before
...
SVN revision: 49935
2010-06-29 10:47:06 +00:00
Vincent Torri
383343f251
On Windows 64, long is of size 32 bits and not 64 bits. Also
...
LONG_BIT is not defined on Windows.
SVN revision: 49934
2010-06-29 05:29:50 +00:00
Carsten Haitzler
41e3461449
Release eet 1.3.2
...
SVN revision: 49888
2010-06-27 13:29:19 +00:00
Vincent Torri
a608450673
make eet unit tests compile on Windows
...
SVN revision: 49887
2010-06-27 12:10:46 +00:00
Carsten Haitzler
7d039b1101
extra ; - remove
...
SVN revision: 49269
2010-05-29 06:19:40 +00:00
Carsten Haitzler
3b47f08dcb
++d
...
SVN revision: 49099
2010-05-21 14:14:41 +00:00
Carsten Haitzler
56265a930f
eet now has an eet_version you can runtime check:
...
eet_version->major
eet_version->minor
eet_version->micro
eet_version->revision
also an ifdef.
nb - revision is 0 if its a rrelease, > 0 if built from svn.
SVN revision: 49098
2010-05-21 14:07:25 +00:00
Carsten Haitzler
bf22e27af6
apparently fbsd is unaware of expr substr...
...
SVN revision: 48277
2010-04-24 14:33:10 +00:00
Iván Briano
bb157d6145
Delete the right file, not the newly added to the cache.
...
SVN revision: 48262
2010-04-23 23:01:29 +00:00
Cedric BAIL
2042862423
* eet: refactor some code.
...
SVN revision: 48218
2010-04-22 14:43:51 +00:00
Cedric BAIL
eccf7d14a7
* eet: fix documentation.
...
SVN revision: 48217
2010-04-22 14:40:31 +00:00
Cedric BAIL
c22277e070
* eet: remove EET_G_INHERIT.
...
SVN revision: 48216
2010-04-22 09:56:22 +00:00
Cedric BAIL
b0618cbc01
* eet: use const only when needed.
...
SVN revision: 48204
2010-04-21 16:10:55 +00:00
Cedric BAIL
a5aaf1723b
* eet: Add EET_G_VARIANT and EET_G_UNION.
...
This are the basis for a new edje file format.
Next to come EET_G_INHERIT.
SVN revision: 48201
2010-04-21 14:00:24 +00:00
Cedric BAIL
d0ec0f0b96
* eet: improve tests suite coverage of signature print code.
...
SVN revision: 48056
2010-04-16 15:27:50 +00:00
Cedric BAIL
b7dcdf619a
* eet: handle fixed point in data stream.
...
SVN revision: 48055
2010-04-16 14:44:29 +00:00
Cedric BAIL
2cc28483e6
* eet: Improve coverage by tests suite and don't leak file in /tmp.
...
SVN revision: 48054
2010-04-16 14:43:07 +00:00
Cedric BAIL
4b55e9f4eb
* eet: let eet create the temporary test file.
...
SVN revision: 47880
2010-04-09 17:22:45 +00:00
Cedric BAIL
b02d6ed0ce
* eet: Add eet_sync, reduce between file delete and file creation,
...
reduce number of fd open.
This should not break anything, but report any issue regarding eet file
creation, thread and file corruption on disk.
SVN revision: 47872
2010-04-09 13:45:25 +00:00
Cedric BAIL
97b8f7a58d
* eet: remove dead code.
...
SVN revision: 47871
2010-04-09 12:38:49 +00:00
Cedric BAIL
28759c1a67
* eet: fix file corruption reported by Tiago Falcao <tiago@profusion.mobi>
...
Note: Do never call eet_flush2 if you don't actually fclose the file just after.
SVN revision: 47832
2010-04-08 14:04:22 +00:00
Cedric BAIL
7c14ed7617
* eet: we don't need to duplicate hash key when we could just point
...
to the Eet_File dictionnary entries.
SVN revision: 47806
2010-04-07 14:00:15 +00:00
Vincent Torri
84bf1cda79
must include winsock2.h before time.h and jpeglib.h (for vc++...)
...
SVN revision: 47721
2010-04-03 06:11:19 +00:00
Vincent Torri
a8cc200870
* update Visual Studio project files
...
* declare alloca in eet_connection.c
* remove the definition of __UNUSED__ (already done in config.h)
* reorganize a bit the inclusion of header files so that
the code is a bit more consistent
SVN revision: 47719
2010-04-03 05:29:44 +00:00
Cedric BAIL
c20cd7715a
* eet: oops, forgot to add the file.
...
SVN revision: 47690
2010-04-02 14:30:06 +00:00
Cedric BAIL
aa015979bb
* eet: Add Eet_Connection.
...
This will help people that want to use Eet over any kind of link.
SVN revision: 47688
2010-04-02 13:51:00 +00:00
Cedric BAIL
3efbdeee6d
* eet: minor API/code cleanup.
...
SVN revision: 47687
2010-04-02 13:48:36 +00:00
Cedric BAIL
57f1862163
* eet: reduce amount of stress test with many thread.
...
SVN revision: 47686
2010-04-02 13:48:07 +00:00
Vincent Torri
bb2462c3ab
Add eet examples documentation and update html doc menu to add 'Examples' tab.
...
Gustavo: documentation of examples should be added in examples.dox.
There is one page for each example in that file.
SVN revision: 47328
2010-03-18 21:09:13 +00:00
Gustavo Sverzut Barbieri
ea4e8a0abb
eet: mega doc update, still stuff to do.
...
* sync AUTHORS
* add couple of groups, and change head.html to include "Modules"
* Reorganize the Eet.h so header is better grouped and in an order
that makes sense to the reader (as Eet.h gives the modules/group
ordering).
SVN revision: 47327
2010-03-18 20:16:56 +00:00
Cedric BAIL
563eb442b1
* eet: make doc sync with our time.
...
SVN revision: 47323
2010-03-18 15:18:13 +00:00
Gustavo Sverzut Barbieri
5703649567
Update example to not use deprecated calls.
...
SVN revision: 47301
2010-03-17 01:00:59 +00:00
Gustavo Sverzut Barbieri
42c8058da2
Fix docs indentation and one example.
...
@vincent: This is an ongoing effort, after we're all done we'll update
the damn ChangeLog :-)
@cedric: There are couple of @since 2.0.0, but we're at 1.2.3, could
you review in which version you introduced those changes? :-)
SVN revision: 47300
2010-03-17 00:49:51 +00:00
Cedric BAIL
92cf666bd7
* eet: Fix a dead lock when reopening the same file.
...
SVN revision: 47286
2010-03-16 12:10:28 +00:00
Cedric BAIL
649760234c
* eet: Reintroduce eet cache lock fix.
...
This version also fix a bug when file wasn't an eet file.
SVN revision: 47237
2010-03-15 14:47:51 +00:00
Carsten Haitzler
73a9612f2c
also revert - on3e of these 2 - or both, causes a deadlock in e. see my
...
previous commit log.
SVN revision: 46918
2010-03-07 03:01:55 +00:00
Carsten Haitzler
329628e8e7
remove this patch (and will remove next too).. somethgn created a deadlock..
...
for NON threaded apps (e17). specifically:
if (!locked) LOCK_CACHE;
at the top of eet_internal_close() gets called (locked is 0) and deadlocks e.
this is worse than threaded apps having problems. so... need to revert.
SVN revision: 46917
2010-03-07 03:01:14 +00:00
Cedric BAIL
9033f05263
* eet: Fix a dead lock when eet file was open more than once.
...
SVN revision: 46892
2010-03-05 17:29:37 +00:00
Cedric BAIL
c285985eeb
* eet: Fix clearcache race condition.
...
Patch by Adam Simpkins.
SVN revision: 46891
2010-03-05 17:19:03 +00:00
Carsten Haitzler
0226ebda94
fmatting.
...
SVN revision: 46758
2010-03-02 01:07:32 +00:00
Cedric BAIL
3e59d34441
* eet: Fix override of global symbols.
...
Patch from Albin "Lutin" Tonnerre <albin.tonnerre@gmail.com>
SVN revision: 46682
2010-03-01 11:03:35 +00:00
Vincent Torri
c3ec1a38f7
useless semi-colon
...
SVN revision: 46080
2010-02-11 15:32:29 +00:00
Sebastian Dransfeld
eea9a74ebb
Don't do unnecessary strcmp
...
SVN revision: 45882
2010-02-04 20:02:45 +00:00
Cedric BAIL
3cf2432589
* eet: Zero cipher material as soon as possible. Prevent information
...
leak of temporary data in memory, so improve security.
SVN revision: 45630
2010-01-27 17:53:07 +00:00
Cedric BAIL
8aadedaaec
* eet: Better tests suites.
...
SVN revision: 45443
2010-01-22 18:01:54 +00:00
Cedric BAIL
5a087664ba
* eet: Add an experimentale API for walking Eet_Node.
...
This API should be used to generate native scripting object from
an Eet_Data.
SVN revision: 45389
2010-01-21 12:45:35 +00:00
Vincent Torri
e0eec7c48f
include Evil.h so that getenv is declared on Windows CE
...
SVN revision: 45294
2010-01-18 18:01:20 +00:00
Cedric BAIL
a61eda93a4
* eet: Add mempool for Eet_Node structure.
...
SVN revision: 45259
2010-01-17 14:32:58 +00:00
Vincent Torri
15d7b45c23
eet_cipher.c: Fix arithmetic pointer on void *
...
SVN revision: 45211
2010-01-16 12:07:18 +00:00
Cedric BAIL
171f07e158
* eet: Fix amalgamation.
...
SVN revision: 45188
2010-01-15 14:56:49 +00:00
Vincent Torri
f5ccebf7d5
binary can be disabled
...
SVN revision: 45168
2010-01-15 06:05:28 +00:00
Cedric BAIL
08fd28bfa6
* eet: Add eet_data_node_decode_cipher and eet_data_node_read_cipher.
...
SVN revision: 45062
2010-01-12 16:50:18 +00:00
Cedric BAIL
f0fd392e9f
* eet: MASSIV REWRITE OF EET_DATA !
...
Eet_Data now use more common code when doing dump/decode. This
provide new functionnality, you can now do a list/array/hash of string.
make test/coverage are now passing without problem with 79% of the code
covered (mainly need to update test suite for fixed point). This rewrite
is also a first for script langage to directly manipulate Eet_Data (more
patch comming). It's also a cleanup of the Eet_Node API that could now
be used just fine.
Note: Previous dump will not be compatible with this update, but
Eet_Data will.
PS: I did some extensive test here with enlightenment, elementary_test,
editje, elixir and eyelight. If you experience any weird behaviour that
could be linked with eet_data (well almost anything that use the EFL),
please report to me as soon as possible.
SVN revision: 45059
2010-01-12 12:38:59 +00:00
Vincent Torri
fb539519ca
add pthread flags
...
SVN revision: 44984
2010-01-08 18:17:24 +00:00
Carsten Haitzler
4070ab5f6a
another deadlock in eet - threadsafe goop! fix fix fix!
...
SVN revision: 44906
2010-01-05 04:40:12 +00:00
Cedric BAIL
bd006b823c
* eet_data: Don't fail on memory starvation.
...
SVN revision: 44755
2009-12-29 13:42:45 +00:00
Cedric BAIL
9c48ce68c2
* eet_node: Make eet_node_dump fully functionnal.
...
Next step, generate Eet_Node directly inside eet_data_decode.
SVN revision: 44748
2009-12-28 16:52:27 +00:00
Cedric BAIL
a7d5c71d07
* eet_node: Progressively move all dump code in eet_node.
...
SVN revision: 44628
2009-12-21 15:46:56 +00:00
Cedric BAIL
e24ddfb0a0
* eet: Correctly detect GNUTLS hability.
...
SVN revision: 44548
2009-12-18 17:41:43 +00:00
Vincent Torri
fe0f51ab21
set the size of the test images explicitely
...
SVN revision: 44536
2009-12-18 09:32:51 +00:00
Cedric BAIL
cb77de8e30
* eet_data: Make eet_data_descriptor_free safe on NULL pointer.
...
SVN revision: 44368
2009-12-11 12:53:08 +00:00
Vincent Torri
61458db565
* Include winsock2.h in eet_image.c for htonl definition on Windows.
...
* Fix Visual Studio project files
SVN revision: 44249
2009-12-07 17:13:37 +00:00
Cedric BAIL
1a9212d3b0
* eet: Reduce convertion to FP, float and double with a little overhead.
...
SVN revision: 44243
2009-12-07 12:53:29 +00:00
Cedric BAIL
5dd7275c9a
* eet: Fix convertion from any float type to any other float type.
...
SVN revision: 44239
2009-12-07 09:33:20 +00:00
Carsten Haitzler
145b7ee2a1
deadlock fuckers! fix! :)
...
SVN revision: 44179
2009-12-04 01:15:19 +00:00
Cedric BAIL
3836c6d3fc
* eet: All this header are not needed in this case.
...
SVN revision: 44175
2009-12-03 15:47:15 +00:00
Cedric BAIL
af13fe5496
* eet: All operation on Eet_File should be thread safe. This should
...
make use of all eet primitive thread safe now.
Please any bug or lock that you find.
SVN revision: 44172
2009-12-03 15:35:04 +00:00
Vincent Torri
cf472c4d50
fix the dist/distcheck rule
...
SVN revision: 43473
2009-11-06 00:38:07 +00:00
Vincent Torri
135976b8b3
typos in the removal of the header files
...
SVN revision: 43413
2009-11-02 08:53:17 +00:00
Vincent Torri
35bd81e535
* add amalgamation option to eet (disabled by default,
...
as no real gain is seen (compilation time, size))
* add namespace for words_bigendian, to make amalagamation happy
* don't redefine macros, for the same purpose
SVN revision: 43409
2009-11-02 08:41:43 +00:00
Vincent Torri
204d2976e2
formatting
...
SVN revision: 43408
2009-11-02 08:18:33 +00:00
Vincent Torri
5a7dd01fed
openssl/err.h included twice
...
SVN revision: 43407
2009-11-02 07:46:48 +00:00
Vincent Torri
d416f2d8df
formatting
...
SVN revision: 42979
2009-10-09 05:38:52 +00:00
Vincent Torri
ad994b3960
initialize eina first in eet_init().
...
SVN revision: 42977
2009-10-09 05:07:26 +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
9e8c44052d
simplify eet_init() and eet_shutdown() a bit
...
SVN revision: 42954
2009-10-08 06:04:03 +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
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
Cedric BAIL
5ca2776a01
* eet: Fix some llvm report.
...
SVN revision: 42816
2009-09-30 10:05:15 +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
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
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
Vincent Torri
927fe76f5f
move EINA_DEPRECATED at the beginning of the declaration
...
SVN revision: 42519
2009-09-16 17:45:04 +00:00
Cedric BAIL
3e23569492
* eet_data: Remove unused freeleak.
...
SVN revision: 42495
2009-09-15 14:48:42 +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
Vincent Torri
be3e63eb6d
et_init should fail if eina_init fails
...
SVN revision: 42237
2009-09-04 05:03:47 +00:00
Vincent Torri
da7d129e2d
* remove the inclusion of config.h in Eet_private.h (not needed)
...
* add config.h in all source file to be consistent, even if it
is not necessary
* formatting
SVN revision: 41941
2009-08-23 09:36:43 +00:00
Vincent Torri
5c8b90d23c
add alloca() declaration
...
SVN revision: 41874
2009-08-19 10:58:38 +00:00
Carsten Haitzler
359df1c2b9
fix eet docs.
...
SVN revision: 41826
2009-08-17 01:51:56 +00:00
Carsten Haitzler
65c50a0a4e
fix - write empty chunks. need them for corner case. see comments.
...
SVN revision: 41810
2009-08-16 07:06:22 +00:00
Cedric BAIL
67418404d0
* eet: Make macro EET_EINA_*_DATA_DESCRIPTOR_CLASS_SET usable in if
...
statement.
Patch from Raphael Kubo.
SVN revision: 41763
2009-08-14 14:30:56 +00:00
Carsten Haitzler
c1acd83e1e
beware "class"! those c++ compiler can compile c... but they like to think
...
class is special... ESPECIALLY IN HEADERS used by c++ apps.
SVN revision: 41738
2009-08-13 14:47:10 +00:00
Cedric BAIL
05edf17dd4
* eet: Oops. Fix init order.
...
SVN revision: 41736
2009-08-13 13:57:22 +00:00
Cedric BAIL
2cf15dc335
* eet: Fix prefix.
...
SVN revision: 41735
2009-08-13 13:26:43 +00:00
Cedric BAIL
1e0baaab60
* eet: Cleanup Eet_Data_Descriptor API.
...
- Provide two functions with a better name (Still need more doc).
- Deprecating old eet_data_descriptor*_new.
- Provide helper function for eet when using eina data type.
SVN revision: 41732
2009-08-13 12:52:41 +00:00
Cedric BAIL
fe553249ef
* eet: Fix initialization for system that don't support SECMEN.
...
Note that I don't like this solution, but I didn't see any better one.
SVN revision: 41481
2009-07-23 09:53:44 +00:00
Gustavo Sverzut Barbieri
29c44e5234
Improve docs in Eet.h
...
By: Hanspeter Portner
SVN revision: 41307
2009-07-11 14:34:54 +00:00
Cedric BAIL
0a6ef8bbde
* eet: Reorder gcry init so that it's correctly taken into account by gcry.
...
SVN revision: 41279
2009-07-08 14:43:20 +00:00
Cedric BAIL
0e2a57f8c8
* eet: Fix compilation when disabling signature, with gnutls enabled.
...
SVN revision: 41256
2009-07-06 13:25:29 +00:00
Cedric BAIL
8a363fec23
* eet: SUN compiler don't like ; at the end of this macro.
...
SVN revision: 41184
2009-06-24 12:56:16 +00:00
Cedric BAIL
e0c6b0df8d
* Eet: Add a clean way to create struct child.
...
SVN revision: 41053
2009-06-15 16:48:31 +00:00
Cedric BAIL
9c5a02a771
* eet_node: Fix eet_data_undump segv when Eet_Node == NULL.
...
SVN revision: 40894
2009-06-04 09:29:56 +00:00
Cedric BAIL
70c7a08c05
* eet_node: Fix API.
...
SVN revision: 40873
2009-06-02 16:24:28 +00:00
Cedric BAIL
16ae86eacb
* eet_data: Remove some warning.
...
SVN revision: 40725
2009-05-18 14:46:32 +00:00
Cedric BAIL
b336298727
* Eet: Cleanup eet_data dump code.
...
SVN revision: 40643
2009-05-14 15:58:10 +00:00
Carsten Haitzler
e39dc41493
1. embryo shoudl have soname
...
2. yes local.conf slipped in - ignore
3. added soname version release to module arch dirs
4. adapted extra-modules to use the revision in arch
5. made e17 also have a release rev
6. dummy release stuff in eet - wont use it as its already released.
SVN revision: 40267
2009-04-21 14:17:42 +00:00
Cedric BAIL
1ad8971a15
* eet_cipher: Fix memory leak.
...
SVN revision: 40135
2009-04-17 14:00:31 +00:00
Cedric BAIL
18493b6d1b
* eet_data: Cleanup a little eet_data_descriptor_decode.
...
SVN revision: 40109
2009-04-16 15:19:14 +00:00
Cedric BAIL
bdea85040b
* eet: Add API to directly store Eet_Node inside and Eet_File.
...
SVN revision: 40107
2009-04-16 12:43:34 +00:00
Cedric BAIL
7dd4b42c85
* eet_node.c: Oops, add file to svn.
...
SVN revision: 40106
2009-04-16 12:42:03 +00:00
Cedric BAIL
b954d4dd49
* eet: Expose Eet_Node so we can now write external parser for eet_data. Still need
...
a way to retrieve an Eet_Node from an eet_data, perhaps some documentation and tests also.
SVN revision: 40105
2009-04-16 12:18:18 +00:00
Cedric BAIL
52c7896045
* eet: Add a faster way to compute signature. But currently need my pending patch to GnuTLS
...
(I need to sign and send this assigment paper) to be usefull.
SVN revision: 40104
2009-04-16 12:15:56 +00:00
Cedric BAIL
f285d6ad16
* eet: Fix tests suite.
...
SVN revision: 40036
2009-04-14 09:26:15 +00:00
Cedric BAIL
634df72c4a
* eet_data: Remove not used pointer.
...
SVN revision: 40035
2009-04-14 09:18:58 +00:00
Cedric BAIL
c392637d27
* eet_lib: Prevent double init of gcry.
...
SVN revision: 39716
2009-03-25 16:26:46 +00:00
Vincent Torri
c8702ccfa6
Fix compilation on OpenBSD (bug #251 ). Patch by eumel.
...
SVN revision: 39626
2009-03-22 13:37:17 +00:00
Cedric BAIL
0dcb98f55f
* eet_data: Make it thread safe and fix some memory leak.
...
SVN revision: 39590
2009-03-19 19:00:46 +00:00
Carsten Haitzler
f41991c662
disable fsync
...
SVN revision: 39542
2009-03-18 01:47:33 +00:00
Gustavo Sverzut Barbieri
3ca2a97471
make sure data is on disk, don't get empty files on ext4/ext3=writeback.
...
Ok, raster said it would not happen but just crashed my machine and
e.cfg was lost due ext4 being in writeback by default. Accordingly to
Theodore Ts'o
(http://thunk.org/tytso/blog/2009/03/15/dont-fear-the-fsync/ ) we
should fsync even on open-write-close+rename case.
SVN revision: 39536
2009-03-17 20:49:36 +00:00
Carsten Haitzler
a510f6a593
llvm complaint fix from Tiago Falcão
...
SVN revision: 39469
2009-03-13 16:12:24 +00:00
Cedric BAIL
bd0d413ffe
* eet/src/lib/eet_cipher.c: Report size as expected by API.
...
SVN revision: 39424
2009-03-09 15:52:14 +00:00
Cedric BAIL
970a2eb7bd
eet: Including two times the same header is useless in the best case.
...
SVN revision: 39334
2009-03-02 15:39:10 +00:00
Cedric BAIL
1d1335498c
eet: Fix memleak during cipher.
...
SVN revision: 39331
2009-03-02 14:43:57 +00:00