Cedric Bail
cf9b0180d6
edje: add threshold to draggable part.
2013-07-19 15:40:11 +09:00
ChunEon Park
8cec34d1d4
edje/map - changed data structure from list to array to improve color data memory access
2013-07-18 20:09:54 +09:00
Carsten Haitzler
08105a0136
fix clang sizeof complaint
2013-07-16 20:45:24 +09:00
Carsten Haitzler
a484403db8
fix a bunch of reallocs self-assigning the same var
2013-07-16 20:45:24 +09:00
Carsten Haitzler
b84e81fbea
fix clang sizeof complaint
2013-07-16 20:45:24 +09:00
Carsten Haitzler
a091a1d730
fix clang sizeof complaint
2013-07-16 20:45:24 +09:00
Carsten Haitzler
9a3256ba44
fix clang sizeof complaint
2013-07-16 20:45:24 +09:00
Carsten Haitzler
36cd49a182
fix realloc assign to "self".
2013-07-16 20:45:24 +09:00
Carsten Haitzler
4c970812f2
fix clang nonnull complaint
2013-07-16 17:16:20 +09:00
Carsten Haitzler
2ca7f23dbc
fix clang nonnull complaint
2013-07-16 17:12:08 +09:00
Carsten Haitzler
8db1013956
fix clang nonnull complaint
2013-07-16 17:10:59 +09:00
Cedric Bail
2859d76402
efreet: set process priority on Windows too.
2013-07-12 08:42:08 +09:00
Cedric Bail
83de2e25ca
efreet: it should be a #ifdef now...
2013-07-11 18:22:38 +09:00
Cedric Bail
b887558afa
efreet: use the correct guard.
2013-07-11 18:16:32 +09:00
Igor Murzov
079c1c6d9b
eet: Fix copy&paste issue
2013-07-11 00:52:36 +04:00
Carsten Haitzler
6ceabbdb6c
ethumb - fix ethumbd timeout to always work at start and mid-run too.
2013-07-09 20:13:24 +09:00
Carsten Haitzler
bb4539c826
ethumbd timeout to 30s to not timeout in middle of long generate
2013-07-09 19:56:18 +09:00
Carsten Haitzler
95c836eaa3
up ethumbd timeout to 10sec by default
2013-07-09 19:37:55 +09:00
Stefan Schmidt
531be113be
efreet: Guard priority settign and getting functions for WIN32
...
These functions are not available on a mingw build. Not really needed
either so just ifdef them.
2013-07-09 09:06:21 +01:00
José Roberto de Souza
9b9002e7e3
eldbus-codegen: If substr dont exist in string return string.
...
CID: 1039339
2013-07-08 13:52:12 -03:00
Chris Michael
7fc497ee6e
Fix memleak reported by Coverity:
...
If we have file And fname, then we can call the source_fetch_file
function, HOWEVER we may only have One or the Other in which case we
still need to potentially free the other.
NB: Fixes Coverity CID1039296
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 13:13:15 +01:00
Chris Michael
61e17aa5c2
Fix memleak reported by Coverity: Don't leak a strdup.
...
NB: Fixes Coverity CID1039295
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 13:11:10 +01:00
Chris Michael
93fc18daf2
Fix leak of fd handle reported by Coverity
...
NB: Fixes Coverity CID1039288
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 13:07:18 +01:00
Jean-Philippe Andre
ee037d3586
evas/cserve2: Add infix to shm filenames
...
Minor change
So, we can distinguish between image, font and index shm files.
2013-07-08 17:16:04 +09:00
Jean-Philippe Andre
c6db8ba782
evas/cserve2: Implement fast(er) scaling of images
...
In its current model, cserve2 will reopen, reload and scale an
image whenever a new scaled version is requested by the client.
Instead, we can load the original image when too many scaled
versions are requested, and place the original in the LRU.
2013-07-08 16:06:08 +09:00
Jean-Philippe Andre
cf61319ae1
evas/cserve2: Minor fixes from Coverity check
...
- CID 1042303
- CID 1039912
- CID 1039285
2013-07-08 16:06:08 +09:00
Chris Michael
9d60d6ccff
Check return value of lseek call for errors.
...
NB: Fixes Coverity CID 1040029
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 07:31:50 +01:00
Ryuan Choi
8d41667412
edje_cc: Fixed possible leak when description.map.color defines same idx more than one time
...
Spotted by coverity. CID 1039298.
2013-07-06 01:30:54 +09:00
Jean-Philippe Andre
09a5c28e5b
evas/cserve2: no cache for large images or non-smooth
...
The concept is taken from scalecache. I am not sure of the
performance impact.
2013-07-04 13:02:48 +09:00
Jean-Philippe Andre
7c7c231015
evas/cserve2: simplify more
...
Remove Image_Load_Opts and use Evas_Image_Load_Opts for cs2 master to
slave communication.
2 things to note:
- The struct size is bigger (but at the same time we removed a memcpy)
- The scale_load field is not passed to the slave
2013-07-04 13:02:48 +09:00
Jean-Philippe Andre
46b7baa379
evas/cserve2: merge SETOPTS into OPEN
...
When opening an image, OPEN and SETOPTS were always sent
consecutively. Merging these two messages may improve the
performance a bit (not measured), but also simplify the
whole thing.
Note: cserve2 debug tools have not been fixed yet.
2013-07-04 13:02:48 +09:00
Jean-Philippe Andre
ca5d174568
evas/cserve2: use Evas_Image_Load_Opts directly
...
Image_Data contained a similar struct to the standard Evas struct,
let's not duplicate it uselessly.
2013-07-04 13:02:48 +09:00
Carsten Haitzler
64f8ea918c
ethumbd - set default timeout for ethumbd to 2 seconds
2013-07-04 08:40:35 +09:00
Chris Michael
03448524ab
Don't try to print out how many bytes we write to an eet file Unless
...
we actually write something.
NB: Fixes klockwork issue.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:54:30 +01:00
Chris Michael
292d23321c
Check for valid out_file before trying to write eet data to it.
...
NB: Fixes klockwork issue.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:53:08 +01:00
Chris Michael
e2b2918858
Check for valid output_filename before trying to use it.
...
NB: Fixes klockwork issue.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:43:23 +01:00
Jean-Philippe Andre
67cccea61b
evas/cserve2: fix usage of Evas_Image_Load_Opts
...
Since the load options are not copied but the pointer is simply
stored by the module, we need to move the struct higher in the
stack.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
687c4aa475
evas/cserve2: use Eina_Stringshare.
...
We must close the image after loading the data.
Also, Evas loaders expect stringshares.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
8db3d4d2bf
evas/cserve2: remove dead code (old loaders API).
...
Remove: cserve-specific loaders and deprecated code.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
48d97f7a90
evas/cserve2: use Evas loaders from slave
...
Use common loaders with evas, and ignore specific modules.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
db6cba1429
evas/cserve2: avoid useless SETOPT messages.
...
Most of the time, the SETOPT message is sent only
to carry 0 data. Let's add a flag to the OPEN message to
avoid useless socket calls.
Server-side: implement with message faking.
Also, fix image ID logic on client side:
- alloc data entry asap,
- assign image_id during call to OPEN
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
f9a7820e02
evas/cserve2: Simplify debug logs (server side).
...
Remove newlines.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
29bf164c75
evas/cserve2: pass loader data during open.
...
Note: this path seems never to be used.
Loader options are set by the file loader or after open.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
6a2a0187ff
evas/cserve2: write() can return other errors.
...
In case of error, return from the function and don't decrement
the send variable.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
f7c6545170
evas/cserve2: minor fixes (error paths).
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:10 +09:00
Jean-Philippe Andre
d712a13a7a
evas/cserve2: use null-terminated strings everywhere.
...
Some hashtable lookups failed because the keys were added
either with eina_stringshare_add() or e_s_add_lenth() but
looked for with e_s_add_length() only.
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-07-02 16:58:09 +09:00
Chris Michael
7e222b949c
Fix klockwork memleak: If we allocate a colormap above, then we need
...
to free it on error.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 13:57:56 +01:00
Chris Michael
204212131b
Fix klockwork error: Null pointer may be dereferenced
...
Check for valid out_file before trying to use it.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 13:48:21 +01:00
Daniel Willmann
cd980c4bea
edje_cc: Fix memory leak in data_thread_script() in error case
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-06-26 11:10:57 +01:00
Sebastian Dransfeld
70d491fd68
efreetd: log to file
...
Since it is started as a service
2013-06-21 10:32:18 +02:00