Christophe Sadoine
87b17f1ce9
eet: added EET_DATA_DESCRIPTOR_ADD_SUB_NESTED().
2013-09-24 15:10:44 +09:00
Stefan Schmidt
d067c28e74
eet: Add comment about missing break in switch statement
2013-08-09 10:17:49 +01:00
Chris Michael
cc0bbacb89
open() can fail for various reasons, so check for valid 'fd' return
...
before calling fdopen.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 11:34:34 +01:00
Carsten Haitzler
d12b6e6fa1
fix clang bad free complaint
2013-07-16 18:20:07 +09:00
Carsten Haitzler
aaf5a55319
fir clang nonnull complaint
2013-07-16 16:55:03 +09:00
Cedric Bail
dd4a641bab
eet: quick fix for windows.
2013-07-16 16:20:50 +09:00
Cedric Bail
d9aa0fccd9
eet: add support for EET_T_VALUE.
...
Add the moment, it only support simple type. Need iterator for more
complex type. It also expect a pointer to an Eina_Value and not directly
an Eina_Value, let me know if you prefer the opposite and maybe I
should rename it EET_T_PVALUE.
2013-07-15 17:04:34 +09:00
Stefan Schmidt
92de5dd3c6
evas/eet: Prevent libjpeg to redefine INT32.
...
The define prevents that INT32 gets redefined in libjpeg while it
already is defined for the mingw build.
2013-07-09 11:19:28 +01:00
Chris Michael
1054d49941
Fix missing unlock reported by Coverity
...
NB: Fixes Coverity CID1039384
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:20:22 +01:00
Chris Michael
3891bdcb15
Fix missing unlock (reported by Coverity).
...
- Instead of just returning NULL, use the existing goto on_error to
handle the unlock and return NULL.
NB: Fixes Coverity CID1039383
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 14:18:06 +01:00
Chris Michael
e28f298dbd
Fix memleak reported by Coverity: If we error out because we have a
...
hash with no key, then free the previously allocated data_stream.
NB: Fixes Coverity CID1039262
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:34:58 +01:00
Chris Michael
b72e694573
Fix memleak reported by Coverity
...
NB: Fixes Coverity CID1039261
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 11:31:17 +01:00
Sebastian Dransfeld
336f6ec328
efl: formatting
2013-06-20 13:28:18 +02:00
Cedric Bail
dba4a080d9
eet: for more safety let eet handle the reference to the file.
2013-06-04 15:04:19 +09:00
Stefan Schmidt
f30af4969d
eet_image: Free bigend_data in all error cases.
...
We have been leaking bigend_data if we hit any of the error cases.
2013-05-28 13:47:52 +01:00
Carsten Haitzler
95b91ad9b9
eet_mmap uses reader/writers caches for lookup.. but never ADDs to
...
these caches! bad bad bad!
2013-05-10 09:00:02 +09:00
Carsten Haitzler
425986b4fe
do not make eet files get refcounts of 2 on eet_mmap so they then never free.
...
we set references to 1 then on success references++... thus ALWAYS
being on 2.
2013-05-10 08:54:50 +09:00
Cedric Bail
ffba364857
eet: initialize it to zero.
2013-05-09 17:22:00 +09:00
Cedric Bail
a299e0723a
eet: more meaningful message.
2013-05-08 18:17:00 +09:00
Cedric Bail
8fc58ae405
eet: be picky and really use the correct format without shitty cast.
2013-04-10 14:55:24 +09:00
Tom Hacohen
bf8a49d9a2
Eet: Pass the correct parameter to the correct format.
2013-04-09 15:19:40 +01:00
Cedric BAIL
359d7034ba
eet: enable more debug information regarding memory allocation.
2013-04-05 12:20:37 +09:00
Cedric BAIL
5465eb3acc
eet: remove use of prev to reduce memory usage (30KB on 32bits system).
2013-04-05 12:14:50 +09:00
Cedric BAIL
f001cfac38
eet: do the correct math for allocation.
2013-04-05 11:50:54 +09:00
Cedric BAIL
4a4ab2bb48
eet: round above.
2013-04-04 15:12:40 +09:00
Cedric BAIL
fa20ab7269
eet: another big boolean removed.
...
By merging all boolean in their own array I avoid loosing 2.9 bytes on
32bits and 6.9 bytes on 64bits system.
2013-04-04 12:01:07 +09:00
Cedric BAIL
2063e4353d
efl: integrate eina_log_timing.
2013-03-27 21:43:45 +09:00
Daniel Willmann
1d8f06511c
eet_cipher: Fix initialization of opened variable
...
In the error case we 'goto' the error path directly without passing
through the declaration and initialization of the variable.
This doesn't work so move the declaration/initialization to the start.
See this example (compile with -Wall for the warning):
-----
#include <stdio.h>
int main(void)
{
goto bar;
int i = 15;
bar:
printf("Foo: %i\n", i);
return 0;
}
----
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-19 17:00:33 +00:00
Cedric Bail
3fe8098e9c
include some header files conditionally add specific test for fcntl
2013-03-11 10:34:47 +09:00
Christopher Michael
d33ddb5af9
Fix possible memory leak in eet_data_image_header_decode_cipher.
...
Dynamic memory stored in 'deciphered_d' allocated through function
'eet_decipher' at line 1385 can be lost at line 1408. Also there are 3
similar errors on line(s) 1427, 1430, 1450.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 13:14:20 +00:00
Mike Blumenkrantz
f9d80e493a
add eet_data_descriptor_name_get()
...
SVN revision: 83546
2013-02-01 10:59:23 +00:00
Aharon Hillel
dad5336272
eet: eet_connection.c fixed memory allocation Changed the usage of alloca() to malloc() to support big-mem-alloc This was required to support Clouseau
...
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>
SVN revision: 83010
2013-01-20 08:43:29 +00:00
Gustavo Sverzut Barbieri
3701b41ac9
fix compile warnings.
...
the NULL is just to shut gcc being stupid.
SVN revision: 82774
2013-01-14 18:34:23 +00:00
Cedric BAIL
55bc6a16fb
efl: fix endianness issue.
...
Patch by Albin Tonnerre <albin.tonnerre@gmail.com>.
SVN revision: 82743
2013-01-14 03:54:47 +00:00
Lucas De Marchi
06ff74834f
efl: remove checks for socket.h, net/*, arpa/*
...
SVN revision: 82585
2013-01-10 20:26:02 +00:00
Lucas De Marchi
db395ef7eb
efl: Remove check for unistd.h
...
* unistd.h: is very useful, very old and very standard.
SVN revision: 82577
2013-01-10 20:25:26 +00:00
Gustavo Sverzut Barbieri
0a2d116119
efl: eina_alloca.h to simplify alloca() usage.
...
having to replicate 18 lines per file just to access alloca() is
insane. Let's do that in Eina.h and avoid that crap :-/
SVN revision: 82082
2013-01-03 15:10:34 +00:00
Cedric BAIL
59ebafcb85
efl: rename eet_map to eet_mmap.
...
SVN revision: 82051
2013-01-03 09:18:05 +00:00
Cedric BAIL
42b877cace
efl: fix potential segv.
...
SVN revision: 81972
2013-01-02 06:21:43 +00:00
Cedric BAIL
663d56e498
efl: add eet_map and use it.
...
SVN revision: 81970
2013-01-02 02:46:05 +00:00
Gustavo Sverzut Barbieri
66ebe6a3f8
efl: remove checks for EINA_HAVE_THREADS
...
SVN revision: 81937
2012-12-31 17:31:17 +00:00
Gustavo Sverzut Barbieri
2608f68571
efl/docs: clean-up and make it more uniform.
...
now unified docs are bit more uniform in their start pages, overall
improved but much to do :-(
SVN revision: 81851
2012-12-28 23:26:05 +00:00
Jonas M. Gastal
22a6966653
efl: Created Eet group and added existing Eet groups to it.
...
SVN revision: 81289
2012-12-18 18:38:19 +00:00
Jonas M. Gastal
d41d76ca38
efl: Modified section names as doxygen reuses titles for same named sections in different pages.
...
SVN revision: 81279
2012-12-18 16:18:28 +00:00
Jonas M. Gastal
93cdccf144
efl: Give different names for example pages in different libs.
...
SVN revision: 81278
2012-12-18 16:18:24 +00:00
Jonas M. Gastal
65a7188905
efl: Unifying authors page.
...
SVN revision: 81277
2012-12-18 16:18:19 +00:00
Jonas M. Gastal
6ecaa33f22
efl: Adding a unified main page that links to the "mainpage" of libs.
...
SVN revision: 81273
2012-12-18 16:12:56 +00:00
Daniel Willmann
e9bd0b7a27
eet: Fix possible buffer overflow in functions relying on EET_T_LAST.
...
Issue reported by Klocwork. Backport, ChangeLog, NEWS included
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
SVN revision: 80767
2012-12-12 14:49:49 +00:00
Cedric BAIL
0d1b29e5e1
eet: fix memory leak with OpenSSL.
...
Reported by Leandro Santiago <leandrosansilva@gmail.com>.
SVN revision: 80648
2012-12-11 11:52:53 +00:00
Gustavo Sverzut Barbieri
511d8e8672
efl/eet: bumped requirement for gnutls >= 2.11 thus remove legacy code.
...
SVN revision: 80287
2012-12-05 23:44:45 +00:00
Daniel Zaoui
5f875d92f0
Increased MAX_MSG_SIZE for support of Clouseau - needed for next
...
Clouseau commit (screenshots)
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 79744
2012-11-27 14:36:12 +00:00
Christopher Michael
10567cca05
Add missing UNLOCK_CACHE in eet_open function.
...
Change-Id: I79db6bedf49c27499f3caa63d04dc6bb3ecfee60
SVN revision: 79290
2012-11-14 11:52:25 +00:00
Vincent Torri
109efca5cb
merge: move lz4 to src/static_libs/lz4 (same will hold for evas' linebreak), ignore++--
...
SVN revision: 78807
2012-11-01 16:58:56 +00:00
Vincent Torri
58a9a0ad57
merge: don't use recursive subdirs. Compilation should be faster.
...
Please check.
note1: Only lib and bin for now, but should be extended to other stuff
note2: distcheck does not work because eo_suite is failing.
SVN revision: 78758
2012-11-01 12:56:52 +00:00
Cedric BAIL
cf8a61527f
efl: backport r78689.
...
SVN revision: 78690
2012-10-31 05:58:50 +00:00
Vincent Torri
124e0d4afd
merge: add a holdall variable
...
SVN revision: 78503
2012-10-26 06:57:11 +00:00
Vincent Torri
aac3e95ccf
merge: -Wl,--enable-auto-import is useless with recent versions of gcc on Windows
...
SVN revision: 78495
2012-10-25 22:01:28 +00:00
Vincent Torri
77d90bd45e
merge: pass directly to the preprocessor the Windows macro instead of using autotools
...
SVN revision: 78350
2012-10-23 05:43:57 +00:00
Zbigniew Kosinski
2499d34087
From: Zbigniew Kosinski <z.kosinski@samsung.com>
...
Subject: Re: [E-devel] Add Null checking routine
I prepared patch - check eet file pointer parameter in
eet_identity_signature, eet_identity_x509 and eet_identity_sha1 functions.
Please take a look at attached files.
SVN revision: 77977
2012-10-15 06:26:48 +00:00
Carsten Haitzler
d6b7e8f740
well ok - always on then, no option, until 2.0
...
SVN revision: 77843
2012-10-11 03:04:57 +00:00
Gustavo Sverzut Barbieri
f963219626
efl: remove option to enable old EET format.
...
It's disabled. If user wants to enable, give
-DEET_OLD_EET_FILE_FORMAT=1 to CFLAGS.
SVN revision: 77790
2012-10-10 19:30:17 +00:00
Vincent Torri
7fe3d35994
merge: __UNUSED__ --> EINA_UNUSED and some fixes in eo.
...
SVN revision: 77542
2012-10-05 20:09:47 +00:00
Daniel Juyung Seo
91f0f4ee8e
backport r77494 and r77495.
...
SVN revision: 77498
2012-10-05 06:35:06 +00:00
Vincent Torri
079b6c94c3
Eet: Update lz4 code to rev. 77. This fix compilation on NetBSD 5.0
...
SVN revision: 77449
2012-10-04 17:25:48 +00:00
Carsten Haitzler
36ef0cdc92
and esnure we have all the right include paths.
...
SVN revision: 77121
2012-09-27 04:08:48 +00:00
Carsten Haitzler
e0e6fd9201
port null check over to efl tree.
...
SVN revision: 77118
2012-09-27 03:56:20 +00:00
Carsten Haitzler
be48742a4e
port eet fix to efl tree
...
SVN revision: 76944
2012-09-21 08:43:49 +00:00
Vincent Torri
ab144cb474
merge: fix compilation when no EFL is installed...
...
tested on linux and windows.
And disable valgrind as there's a link problem in eet binary,
i'll check that later
SVN revision: 76938
2012-09-21 08:15:58 +00:00
Vincent Torri
8abaff3bdf
merge: add eet
...
SVN revision: 76768
2012-09-17 16:35:38 +00:00