Jean-Philippe Andre
c57a319df3
evas/cserve2: Rename File_Data pointers to fd
...
The name fe is also used by Font_Entry, slightly confusing
2013-10-28 15:47:13 +09:00
Jean-Philippe Andre
12deed8073
evas/cserve2: Use unique id counter
...
Merge file id and image id into a single entry id.
2013-10-28 15:47:12 +09:00
Jean-Philippe Andre
07fb7172d5
evas/cserve2: Implement shared index and buffers
...
Only import the C file for now.
Implement the following features:
- Shared Arrays
Store arrays of elements of fixed size in shm.
- Shared Mempool
Store random sized buffers in shm.
These buffers are indexed in a Shared Array and are
referred to using their index only.
- Shared Strings
Store strings in a shm in a way similar to Eina_Stringshare
(except strings are referred to using an int index).
- Include evas_cserve2_index.c to the compilation.
- Declare shared index functions in header file.
- Call init() and shutdown() on the shared index subsystem.
- Add find and foreach functions
2013-10-28 15:47:12 +09:00
Jean-Philippe Andre
deb8776de5
evas/cserve2: Add functions to resize shm files
...
- cserve2_shm_segment_request()
Creates a new shm segment (Shm_Handle) from an existing file,
without changing the current mmap.
- cserve2_shm_resize()
Grows the file and remaps in memory (new virtual address).
- cserve2_shm_id_get()
Returns the shm creation ID.
2013-10-28 15:47:12 +09:00
Jean-Philippe Andre
781c2e26e5
evas/cserve2: Prepare usage of shared strings
...
+ Add macros to fake usage of future cserve2 strings functions
+ Rename all File_Entry to fe
+ Other costmetic changes
2013-10-28 15:47:12 +09:00
Jean-Philippe Andre
afde0c892b
evas/cserve2: Add CRIT() macro
...
For easy debugging
2013-10-28 15:47:12 +09:00
Chris Michael
28fed3fdb7
Fix formatting
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-10-27 15:44:31 +00:00
Chris Michael
2be84a6073
Fix compiler warning(s) about eina_hash_int64 being passed pointer
...
from integer
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-10-27 15:43:18 +00:00
Sebastian Dransfeld
7eebd55ebe
efreet: Fix file opening
...
- Store result from mkstemp so we don't leak file descriptor
- No need to chmod, as we set correct umask before createing file
- Use fdopen to open file from file descriptor, not from path
2013-10-22 12:54:22 +02:00
Carsten Haitzler
ed0e8b8df1
Revert "efreet: Use eina_file_mkstemp"
...
This reverts commit bd5a5e7fce
.
sorry about this... all fine eina mkstemp use and all... but this
*BREAKS EFREET*! ibar icons stop working (vanish). efreet no longer
issues a desktop file update event to e etc. etc. etc. ... so let's
keep code that works for now even if it uses mkstemp and not eina...
:) working is better. :)
2013-10-16 22:56:38 +09:00
Sebastian Dransfeld
bd5a5e7fce
efreet: Use eina_file_mkstemp
2013-10-16 04:48:20 +02:00
Cedric Bail
4be4076cd4
edje: handle reallocation of pointed data properly for limits.
2013-10-15 18:15:51 +09:00
Cedric BAIL
443012dbcb
edje: typo fix.
2013-10-14 14:00:59 +02:00
Cedric BAIL
48bc51b0c7
edje: fix CID 1054522 - Logically dead code
...
The buffer is a static buffer in that scenario, so never going to be NULL indeed.
2013-10-14 13:53:06 +02:00
Cedric BAIL
12072b2217
edje: fix CID 1062226 - Dereference after null check.
...
It seems to be possible in some badly crafted edj to trigger that path.
2013-10-14 13:45:26 +02:00
Sebastian Dransfeld
e2dabc5d23
efreet: Set umask before creating temporary file
...
CID 1039615
2013-10-14 13:20:44 +02:00
Sebastian Dransfeld
67a8feeb08
efreet: Set umask before creating temp file
...
CID 1039616
2013-10-14 13:19:59 +02:00
Sebastian Dransfeld
cc89eb2af9
efreet: Check size of buffer and '\0' terminate
...
CID 1039595
2013-10-14 13:14:59 +02:00
Carsten Haitzler
6732ab15af
1 char editing messup - revert it.
2013-10-13 11:38:59 +09:00
Carsten Haitzler
f3e3739e7c
edje_cc - CEEEEEEEEEEEEDRIIIIIIIIC! realloc+lookup bug workaround!
...
need i say more. this is a q1uick workaround a bug that is a result of
realloc moving memory around and thus lookups becoming broken.
2013-10-13 02:07:28 +09:00
Carsten Haitzler
69e27abdc3
eina - and e3fl in general - stop using eina_error_get/set - useless really
2013-10-11 16:50:40 +09:00
Cedric Bail
b125a9afa6
gitignore: do not track generated files.
2013-09-26 15:51:25 +09:00
José Roberto de Souza
5a8d3125b5
eldbus codegen: Initialize signal events with 0
2013-09-19 15:47:22 -03:00
Cedric Bail
797ad7528f
edje: add border linked to Image sets.
...
It is quite common that in an image sets each image has different border size.
This patch permit to define the border value on a per image basis in the set.
2013-09-06 16:47:36 +09:00
Boris Faure
84c383dc1a
export EFL_VERSION_MAJOR/MINOR
2013-08-29 15:28:32 +02:00
Boris Faure
18ee1e1789
edje: export EINA_VERSION_MAJOR/MINOR when compiling edc files
2013-08-29 15:17:19 +02:00
Daniel Willmann
3e5bd813d3
embryo: Fix a potential buffer overflow (klocwork id 321)
...
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-08-12 18:32:40 +01:00
Gustavo Lima Chaves
d84e77d93f
Enough with this bad align Edje property documentation.
2013-08-12 13:29:43 -03:00
Stefan Schmidt
84a7cefcc2
edje: Do not access after freeing
...
Better free it after we access it.
CID 1039917
2013-08-09 11:43:25 +01:00
Sebastian Dransfeld
f854efd041
efreet: Use mkstemp for tempfile
...
CID: #1039615
2013-08-07 13:02:53 +02:00
Sebastian Dransfeld
6a7f417cec
efreet: Check return value of chmod
...
CID: #1039716
2013-08-07 13:02:53 +02:00
Cedric Bail
93b0fbfe65
edje: add warning when not finding the exact match.
...
This will close T223.
2013-08-07 16:01:57 +09:00
Chris Michael
ff9b4775e8
Fix memleak in data_thread_script of edje_cc_out
...
NB: If we are going to exit data_thread_script function due to malloc
failure or fread failure, then we should close the previously fdopen'd
file so that we do not leak 'f'.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 15:32:12 +01:00
Chris Michael
b344ef2440
Remove Eet_Connection from hash Before we call eet_connection_close
...
(as that frees the connection).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 13:13:19 +01:00
Chris Michael
397e8afc1a
Avoid potential divide by zero in INF call.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 12:42:31 +01:00
Chris Michael
42496ac4ea
fopen can fail. check file is open before trying to write to it.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 10:41:16 +01:00
Daniel Juyung Seo
a3165bff15
edje: added BLOCK_HANDLE description and vim syntax.
2013-08-02 13:27:54 +09:00
Cedric Bail
ee72c809f0
efl: fix headers order.
2013-07-23 11:27:29 +09:00
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
Sebastian Dransfeld
ebcd97cc93
efreet: Create cache dir in efreet_cache_init
...
efreetd used efreet functions before efreet init which fails.
2013-06-21 10:00:20 +02:00
Sebastian Dransfeld
58fc3a8f32
efreet: Low priority for cache rebuild
2013-06-20 13:53:54 +02:00
Sebastian Dransfeld
336f6ec328
efl: formatting
2013-06-20 13:28:18 +02:00
Sebastian Dransfeld
068f1ddc62
efl: formatting
2013-06-20 13:08:36 +02:00
Sebastian Dransfeld
51023d2d4f
evas: Keep sane name for public header
...
Evas_Common.h should be used for the public header, and rather rename
evas_common.h internal header to another name.
Sa:
Evas_Common_Header.h -> Evas_Common.h
evas_common.h -> evas_common_private.h
Shouldn't have both Evas_Common.h and evas_common.h because of case
insensitive filesystems.
2013-06-20 12:53:29 +02:00
Jean-Philippe Andre
9929ee9aec
cserve2: add more error debug for font loading
2013-06-20 17:42:07 +09:00
Mike Blumenkrantz
b3984339db
inform users when eldbus-codegen is cowardly refusing to generate code
2013-06-19 11:18:47 +01:00
Mike Blumenkrantz
e2ba21e266
use sizeof for eldbus-codegen internal define lengths
2013-06-19 11:18:47 +01:00
Mike Blumenkrantz
b8ea27d53c
s/LENGHT/LENGTH
2013-06-19 11:18:46 +01:00
Stefan Schmidt
90aee3addd
edje-codegen: Now really fix the mem leak without running into a double free.
...
The missing free was only for one of the paths to the end label. The other one
freed it before already. Take this into account to avoid the double free.
2013-06-14 10:54:19 +01:00
Jean-Philippe Andre
16c8ab3b18
evas/cserve2: remove garbage shm files during server init
...
If server crashes or is forcefully killed, it will not
properly cleanup its shm files. So, some memory will be leaked pretty
badly.
2013-06-14 17:09:03 +09:00
Jean-Philippe Andre
42309042c6
evas/cserve2: fix crash when shutting down cserve2
...
If a slave is still alive during shutdown, then it will be killed
and the dead callback should be called. This would then trigger
a request failed callback on invalid data.
But there's no point in calling the dead_cb since we're shutting
down already.
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
681c8cda4c
evas/cserve2: (shutdown) fix double free issue
...
glibc double free happens when shutting down cserve, while
requests are being processed. this is because the entry is
being deleted from the hash but the cancel request fails
(so it should be deleted again from the hash)
Another patch going to fix the double free.
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
a3b3b5bd8e
evas/cserve2: Handle SIGINT properly
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
338218109b
evas/cserve2: catch more signals and exit nicely
...
Also, ignore USR1 and USR2.
2013-06-14 16:38:18 +09:00
Jean-Philippe Andre
07ef0fdd93
evas/cserve2: Add UID to shm file path
...
+ Improve debug for corner case (never happened)
2013-06-14 16:38:18 +09:00
Eduardo Lima (Etrunko)
d3292a7ae9
Split .gitignore into multiple files
...
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:18:50 -03:00
ChunEon Park
8476e20ffe
edje - support map color set
2013-06-06 18:18:36 +09:00
Eduardo Lima (Etrunko)
a346c834c1
edje_cc: Add -dd/--data_dir option
...
Used for specifying the path of files specified in 'data.file' section
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-04 17:39:30 -03:00
Jean-Philippe Andre
54e5d651e4
evas/cserve2: fix jpeg loader crash (invalid free)
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-04 20:21:17 +09:00
Jean-Philippe Andre
5d7689d627
evas/cserve2: fix crash in server side when sending SIGINT.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-04 20:21:16 +09:00
Jean-Philippe Andre
6531423fd7
evas/cserve2: fix SIGFPE in expedite test case.
...
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-04 20:21:16 +09:00
Jean-Philippe Andre
452a301bfa
evas/cserve2: fix fonts flags.
...
aka: fix italic fonts or T25 .
Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
2013-06-04 15:04:19 +09:00
ChunEon Park
86f37578fa
edje/edje_cc_parser - support [] markers for indexing values
2013-06-04 14:30:07 +09:00
Ederson Desouza
b52a380a5f
Support for -1.0 @ text ellipsis fields -- for not ellipsizing it at all.
2013-06-03 12:02:16 -03:00
ChunEon Park
ad7622b94a
edje/edje_cc - remove white spaces
2013-06-03 20:55:10 +09:00
ChunEon Park
f55092ab93
edje - support edc proxy.source_clip
2013-05-31 20:08:59 +09:00
ChunEon Park
80e1353807
edje - support edc source_visible
2013-05-31 17:35:30 +09:00
ChunEon Park
87ce63941d
edje/edje_cc - fixed typo
2013-05-31 16:04:33 +09:00
Eduardo Lima (Etrunko)
c03c6bd12c
edje_cc: create data hash if it doesn't exist
...
The check was being done only in 'data.item' handler
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-05-28 16:17:09 -03:00
Mike Blumenkrantz
88698189ff
fix eldbus generator memleak when failing to fetch args
2013-05-20 11:12:53 +01:00
thiepha (Thiep Ha)
c38a2a6bb8
[Edje_Entry] Add selection handlers to entry
...
Add selection handlers to entry.
https://phab.enlightenment.org/D117
Conflicts:
ChangeLog
NEWS
2013-05-13 19:16:58 +09:00
Jérémy Zurcher
e14c2ede20
ethumbd: explicitly set flags and service desc fields to NULL in static structs
2013-05-07 22:56:02 +02:00
Jérémy Zurcher
f1349c25d4
eeze_scanner: harmless type casts fixes
2013-05-07 22:27:11 +02:00
Lucas De Marchi
4e3804041f
Rename edbus->eldbus
...
git grep -l edbus2 | while read f; do sed -i 's/edbus2/eldbus/g' "$f"; done
find . -name '*edbus2*' -exec rename edbus2 eldbus {} \;
git grep -l "EDBUS" | while read f; do sed -i 's/EDBUS/ELDBUS/g' "$f"; done
git grep -l "EDBus" | while read f; do sed -i 's/EDBus/Eldbus/g' "$f"; done
git grep -l "edbus (v2)" | while read f; do sed -i 's/edbus (v2)/eldbus/g' "$f"; done
git grep -l "Edbus" | while read f; do sed -i 's/Edbus/Eldbus/g' "$f"; done
git grep -l "edbus" | while read f; do sed -i 's/edbus/eldbus/g' "$f"; done
find . -name '*edbus*' -exec rename edbus eldbus {} \;
find . -name '*EDBus*' -exec rename EDBus Eldbus {} \;
2013-04-23 12:36:29 -03:00
Stefan Schmidt
1316de8fd3
eeze/sensor: Add temperature sensor to my testing code
2013-04-18 15:50:40 +01:00
Stefan Schmidt
763bdd1618
eeze/sensor: Switch timestamp to relative values coming.
...
Switch from absolut microseconds since epoch to a monotonic clock with
realtive values. Switch from unsigned long long to double.
This aligns it with how we present time in efl. ecore_time_get is used
when possible. For the tizen modules we convert the the epoch timestamp
we get into a double. This is still a working monotone clock source.
As this will be released the first time with 1.8 we don't have any API
break here.
2013-04-16 13:21:28 +01:00
Igor Murzov
32f27fee7e
Evas: Fix double fclose() in WebP loader
2013-04-16 12:07:36 +04:00
Stefan Schmidt
7d17130db6
eeze/sensor: Check if sens is valid the same way we do in other cases.
2013-04-10 17:19:21 +01:00
Raphael Kubo da Costa
e307f2fa8e
edje: Remove duplicate check introduced in 9157c51
.
2013-04-02 15:10:14 +03:00
Cedric BAIL
9157c51f32
edje: prevent segv when not defining item before setting there property.
2013-04-01 15:27:38 +09:00
Stefan Schmidt
ad9fbb41d2
eeze/sensor: Print out what feature we are testing right now.
2013-03-28 14:38:12 +00:00
Stefan Schmidt
2613394b66
eeze/sensor: Create a new sensor object for the async test.
...
Its a demo so we should do all the steps and create a new object
instead of re-using the other one.
2013-03-27 13:14:21 +00:00
Stefan Schmidt
e12dbaeae6
eeze/sensor: Use the correct data get method in the test.
...
Light and proximity sensors only have one data item to fetch.
2013-03-27 11:58:52 +00:00
Iván Briano
0a3087c0d5
Add mouse_events option on the group level
...
No runtime changes. This makes it possible to set mouse_events on a
group, and it will use this value as the default for mouse_events on
every part of that group. It defaults to 1 if not set, to keep things
working as they do now.
That is, instead of setting mouse_events: 0; on every single part you
don't want to receive events, it's now possible to set it for the group
and only use mouse_events: 1; explicitly on those that should handle
events.
2013-03-26 23:16:24 -03:00
Stefan Schmidt
f254edbaed
embryo: Removed unused variable
2013-03-26 09:36:09 +00:00
Cedric BAIL
6e8fe3b03d
embryo: use eina_file_mkstemp.
2013-03-25 18:45:42 +09:00
Cedric BAIL
8222bf4650
edje: add spread.{w,h}.
...
This is particularly useful when using table and replicating the
same group all over the place. At least for many games I have in mind
this will save a lot of lines !
2013-03-22 18:17:12 +09:00
Tom Hacohen
71e95fa386
Evas cserve2: Remove useless var when calculating size of sun_path.
...
I have no idea how I missed these 2.
2013-03-21 14:15:10 +00:00
Tom Hacohen
ecc0972468
Evas cserve2: Remove useless var when calculating size of sun_path.
2013-03-21 13:15:47 +00:00
Daniel Willmann
262f05782b
embryo_cc: Fix possible buffer overflow in setconfig()
...
Need to account for the space of the trailing '/' as well.
Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-18 12:46:26 +00:00
Cedric BAIL
42d320c523
edje: i am lazy, i like to not care about case.
2013-03-18 16:28:22 +09:00
Cedric Bail
338412434c
edje: fix edje_watch compilation on Windows.
2013-03-16 15:40:36 +09:00
Cedric Bail
69b5868005
edje: fix epp compilation on Windows.
2013-03-16 15:40:35 +09:00
Cedric Bail
ebdb49cf0e
efreet: avoid symbol collision.
2013-03-16 15:40:33 +09:00
Henrique Dante de Almeida
ca8fc827a3
efl: Fixes to support compiling with CFLAGS=-Werror
...
This allows compiling with gcc 4.7.2 without errors (using the
default configuration).
2013-02-26 10:55:04 -03:00
Henrique Dante de Almeida
2656d7097e
evas: Fix PSD image loading
2013-02-26 10:17:28 -03:00
Henrique Dante de Almeida
f5d4ae70bd
evas: Fix buffer overflows on environment variables
2013-02-26 10:17:28 -03:00
Christopher Michael
7f7f7f7c1f
Fix possible memory leak.
...
Dynamic memory stored in 'ptr2' allocated through function 'malloc' at
line 653 can be lost at line 1022. Also there is one similar error on
line 1029.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-19 13:14:31 +00:00
Tom Hacohen
326e2958d7
Edje pick: Fixed lockwork suspected leaks.
...
The problem is that apparently size can be 0 but some data can still
be returned.
2013-02-18 11:59:29 +00:00
Ivan Briano
61b8e2aefe
More removal of \r
2013-02-17 14:53:25 -03:00
Carsten Haitzler
5fa5f1430b
small change to something never used/tested much ... cserve2 - FAIL if
...
an existing cserve 2 client is there.
SVN revision: 83866
2013-02-13 11:32:30 +00:00
Stefan Schmidt
446687d63d
efl/edbus: Make sure to compare EOF against an int from fgetc.
...
Fgetc() return an int to clearly detect EOF. If you want to read more about it:
http://stackoverflow.com/questions/11057259/fgetc-checking-eof
SVN revision: 83829
2013-02-11 15:03:41 +00:00
Stefan Schmidt
fe86e29fa6
efl/ethumb: Fix more memory leaks in ethumbd_slave.c
...
MAke sure we free strdup'ed memory when hittign an error case.
SVN revision: 83818
2013-02-11 10:54:34 +00:00
Stefan Schmidt
664b4b9db4
efl/ethumb: Fix memory leak on error path in ethumb_slave.
...
When we hit an error with _ec_pipe_str_read we should clean up the strdup
from previous calls to avoid leaks in the error case.
SVN revision: 83817
2013-02-11 10:54:29 +00:00
Mike McCormack
3fe5d4d6aa
efl: Fix shadow warning
...
Signed-off-by: Mike McCormack <mike@atratus.org>
SVN revision: 83335
2013-01-25 21:30:54 +00:00
Gustavo Sverzut Barbieri
df701d8ca2
some clang warning cleanups i forgot to commit
...
SVN revision: 83024
2013-01-21 00:22:35 +00:00
Gustavo Sverzut Barbieri
8d2b64ed3b
fix bug spotted by clang
...
SVN revision: 83016
2013-01-20 14:25:11 +00:00
Gustavo Sverzut Barbieri
c6358ff322
fix evas_cserve2 utils linkage and includes.
...
they are basic eina apps, not evas (use EINA_CFLAGS), they just use
evas_cs2.h for types and enums.
they also must link with eina.
SVN revision: 82995
2013-01-18 19:30:44 +00:00
Gustavo Sverzut Barbieri
d97c63e4c6
fix directory structure: move ethumd_client out of ethumb.
...
it's another library, do not mix stuff as it used to be.
SVN revision: 82835
2013-01-15 18:10:58 +00:00
Gustavo Sverzut Barbieri
62bca66249
embryo: remove simple -Wshadow errors. Dangerous/uncertain left.
...
The follow are left:
{{{
bin/embryo/embryo_cc_sc1.c: In function ‘dowhile’:
bin/embryo/embryo_cc_sc1.c:3524:24: warning: declaration of ‘wq’ shadows a global declaration [-Wshadow]
bin/embryo/embryo_cc_sc1.c:115:21: warning: shadowed declaration is here [-Wshadow]
bin/embryo/embryo_cc_sc1.c: In function ‘dodo’:
bin/embryo/embryo_cc_sc1.c:3546:24: warning: declaration of ‘wq’ shadows a global declaration [-Wshadow]
bin/embryo/embryo_cc_sc1.c:115:21: warning: shadowed declaration is here [-Wshadow]
bin/embryo/embryo_cc_sc1.c: In function ‘dofor’:
bin/embryo/embryo_cc_sc1.c:3565:24: warning: declaration of ‘wq’ shadows a global declaration [-Wshadow]
bin/embryo/embryo_cc_sc1.c:115:21: warning: shadowed declaration is here [-Wshadow]
}}}
looking at their code, they say to alloc a local "wq", but then they
call functions such as delwhile() that changes the global... VERY suspicious!!
SVN revision: 82734
2013-01-13 23:54:21 +00:00
Gustavo Sverzut Barbieri
34f5315141
merge ethumb.
...
This one was a painful bitch. The edbus2 port was quite broken, mainly
leaking eina_stringshare and also not adding the '\0' to the strings
that are represented as bytearray (paths cannot be utf8 to avoid
translations).
Emotion plugin was also quite bogus and the video thumbnail as edje
(animated) is not working yet due bug in Edje_Edit api -- someone
needs to investigate this, seems strange.
Emotion plugin also had a bug that it was deleting the object from
inside object callback.
Now it seems to work. Please report if it does not.
SVN revision: 82675
2013-01-12 01:15:45 +00:00
Mike McCormack
a06b6095f6
efl: Avoid shadow warnings (signal -> sig)
...
Signed-off-by: Mike McCormack <mikem@atratus.org>
SVN revision: 82669
2013-01-11 21:40:57 +00:00
Mike McCormack
66f4a7f14e
efl: Fix unused variable warning
...
Signed-off-by: Mike McCormack <mikem@atratus.org>
SVN revision: 82668
2013-01-11 21:40:52 +00:00
Gustavo Sverzut Barbieri
cf16220d44
efl: eet may do the error on close, where it tries to actually write stuff.
...
SVN revision: 82609
2013-01-11 04:28:50 +00:00
Gustavo Sverzut Barbieri
f8fde3d560
efl: fix out-of-tree build of examples.
...
edje and embryo include files are in source dir, not build.
codegen example must have dependency to build in correct order :-/
SVN revision: 82605
2013-01-11 03:57:29 +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
90ba30ec7c
efl: remove checks for sys/select.h, sys/time.h and sys/resource.h
...
SVN revision: 82584
2013-01-10 20:25:57 +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
Lucas De Marchi
56f62b1f5d
efl/evas: move cserve2 binaries under MODULE_ARCH dir
...
SVN revision: 82491
2013-01-09 22:32:08 +00:00
Lucas De Marchi
483a80be8a
efl/efreet: move efreet_{icon,desktop}_cache_create under MODULE_ARCH
...
These binaries are called by efreetd and should be under MODULE_ARCH
dir.
And actually fix the path to efreet_desktop_cache_create that was wrong.
SVN revision: 82489
2013-01-09 22:31:59 +00:00
Lucas De Marchi
c9b64474aa
efl/edje: move epp under MODULE_ARCH
...
epp is invoked by edje_cc and should include the MODULE_ARCH dir.
SVN revision: 82488
2013-01-09 22:31:54 +00:00
Gustavo Sverzut Barbieri
acf4ca6139
efl/edje: remove alloca as it's in eina now.
...
SVN revision: 82372
2013-01-07 23:30:06 +00:00
Gustavo Sverzut Barbieri
5c7967827b
efl: easy warning fixes.
...
SVN revision: 82277
2013-01-05 15:42:26 +00:00
Gustavo Sverzut Barbieri
71cf862c95
efl/evas_cserve2: use eina_prefix
...
SVN revision: 82220
2013-01-04 18:00:12 +00:00
Gustavo Sverzut Barbieri
1eddf87965
efl/efreet: use eina_prefix, kill one TODO item.
...
SVN revision: 82219
2013-01-04 17:42:23 +00:00
Daniel Juyung Seo
9b252e40d4
edje edje_cc_handlers.c: Better error message. Now it's kind.
...
SVN revision: 82154
2013-01-04 07:35:28 +00:00
Daniel Juyung Seo
1be443bc75
efl edje_cc_handlers.c: Ported r82093 from edje to efl/edje.
...
SVN revision: 82150
2013-01-04 07:27:46 +00:00
Gustavo Sverzut Barbieri
9ea2ce1041
efl: merge edje.
...
this is still in progress, mostly the multisense stuff is pending.
it seems that when we merge ecore_audio in edje the libremix and
similar are gone, at least from Edje, and will be in ecore_audio
itself (or pulseaudio).
Changes:
* __UNUSED__ to EINA_UNUSED
* binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and
will assume the binaries are still not installed, running from
build tree location (needs more testing, maybe doesn't work with
srcdir != builddir, still doesn't solve cross compile builds)
SVN revision: 82139
2013-01-04 02:08:14 +00:00
Gustavo Sverzut Barbieri
68188ac0c8
efl: merge eeze.
...
Changes also in this commit:
* fix missing EAPI in symbols used by modules
* removed old libudev and libmount support as agreed by discomfitor/zmike
* replaced __UNUSED__ with EINA_UNUSED
* fixed docs hierarchy
SVN revision: 82100
2013-01-03 20:37:42 +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
José Roberto de Souza
9365f02137
edbus codegen: Surpress unused parameters warnings
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 82075
2013-01-03 14:06:06 +00:00
José Roberto de Souza
daec0f2e74
edbus codegen: Properly handle autoclosed tags
...
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 82074
2013-01-03 14:06:02 +00:00
José Roberto de Souza
62676bebb7
edbus codegen: Optimizations
...
Use eina_strbuf_string_steal() instead of strdup() +
eina_strbuf_string_get().
Patch by: José Roberto de Souza <zehortigoza@profusion.mobi>
SVN revision: 82073
2013-01-03 14:05:56 +00:00
Gustavo Sverzut Barbieri
16a9372e35
efl/evas_cserve2: don't use libexec
...
many distros deprecate libexec and it's better to keep our stuff
together inside /usr/lib/evas.
cserve2 binaries now lives in /usr/lib/evas/cserve2/bin
SVN revision: 81897
2012-12-30 11:42:04 +00:00
Gustavo Sverzut Barbieri
4bc0210bd3
efl: merge efreet.
...
seems to be fine, pass distcheck and friends. please report.
changes:
- documentation hierarchy fixes
- replaced __UNUSED__ with EINA_UNUSED
- replaced PKG_DATA_DIR with PACKAGE_DATA_DIR"/efreet"
SVN revision: 81889
2012-12-29 23:04:40 +00:00
Gustavo Sverzut Barbieri
331488d1ce
efl: merge edbus (v2).
...
SVN revision: 81825
2012-12-28 17:53:25 +00:00
Paulo Alcantara
fb97c82882
efl/cserve2: Fix some bugs regarding fonts
...
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 81582
2012-12-21 21:11:23 +00:00
Paulo Alcantara
da061849b0
efl/cserve2: Fix invalid iteration over client references
...
The _request_failed() function is called by error responses from slaves,
and iterating over references of a entry and removing each of them must
be done with EINA_LIST_FOREACH_SAFE(), since _entry_free_cb() calls
_entry_reference_del() which then removes the reference that is used in
the next iteration in for-loop from _request_failed().
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 81580
2012-12-21 21:09:45 +00:00
Leandro Pereira
f96a5aac5c
evas: Get rid of RGBA_Image ref member
...
(It's not by anything in the code.)
SVN revision: 81182
2012-12-17 21:26:15 +00:00
Stefan Schmidt
90b5d6aeb2
Revert "efl/embryo: Keep room for the terminating '\0' we may add to the path."
...
After consulting with cedric and Sachiel I have to agree that there is no issue.
SVN revision: 80946
2012-12-14 14:25:26 +00:00
Stefan Schmidt
6a5c0eb7cf
efl/embryo: Keep room for the terminating '\0' we may add to the path.
...
If we go with PATH_MAX we could go out of bounds of this array. Not
going to happen that often really but better safe then sorry.
SVN revision: 80940
2012-12-14 13:35:48 +00:00
Paulo Alcantara
633e29c5a5
evas/cserve2: Re-enable speculative load
...
I've tested it and I can confirm that it's working fine with the new
scalecache support on Cserve2. So, let's use it again.
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>
Patch by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 80177
2012-12-04 15:40:00 +00:00
Paulo Alcantara
f8f79f8599
evas/cserve2: Add scalecache support
...
Signed-off-by: Paulo Alcantara <pcacjr@profusion.mobi>
Patch by: Paulo Alcantara <pcacjr@profusion.mobi>
SVN revision: 79754
2012-11-27 18:23:25 +00:00
Carsten Haitzler
515d08491d
add comments in cserve2 bin webp loader too.
...
SVN revision: 79316
2012-11-15 05:23:40 +00:00
Carsten Haitzler
66a43d2a7a
more warn-- in efl tree.
...
SVN revision: 79314
2012-11-15 05:19:14 +00:00
ChunEon Park
0d8488a478
evas/jpeg, cserve2 - removed unused
...
SVN revision: 79094
2012-11-10 11:35:42 +00:00
Vincent Torri
c15e9c6575
merge: and now Evas
...
I've tested make -j 3 install and it works nicely
I've tested expedite with software and opengl xlib,
and it works. Not tested other engines, so please
report any problems (engines or other) on the ML.
TODO: examples and tests, I'll add them later
ISSUE: Eina_Unicode size check. It indirectly depends on
eina_config.h, which is created at the end of the
configure script. So its size is always 0. I don't
know how that size is used, so I can't do a lot,
for now.
SVN revision: 78895
2012-11-04 11:51:42 +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
5bdb5d3763
merge: add embryo
...
please check and report problems (not cosmetic ones)
someone should update the efl.spec.in file, i don't know that stuff
SVN revision: 78512
2012-10-26 09:01:52 +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
Nicholas Hughart
c4d848a27a
Patch from vtorri
...
- remove unavailable __UNUSED__
- warning-- on Win64
SVN revision: 77968
2012-10-14 18:22:15 +00:00
Gustavo Sverzut Barbieri
423ae915ee
efl: eet binary is not optional anymore.
...
it's pointless to have this and may cause problems or complex
configure.ac when we have libraries that use 'eet' during its compile
phase (like elementary generates its profile/configuration).
SVN revision: 77815
2012-10-10 21:15:54 +00:00
Gustavo Sverzut Barbieri
2703b747a3
efl: eet and eo are now mandatory.
...
I've reordered the build to be: eina -> eo -> eet as it make more sense.
SVN revision: 77766
2012-10-10 17:27:11 +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
Vincent Torri
851975dbcc
merge : remove useless CONDITIONALs and make eet build optional; eina is always built
...
SVN revision: 77026
2012-09-23 19:56:44 +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
Vincent Torri
d2d31d5d56
merge: evil compile
...
SVN revision: 76471
2012-09-11 17:44:59 +00:00
Vincent Torri
a96ba56971
merge: fix++
...
SVN revision: 76466
2012-09-11 17:11:37 +00:00
Vincent Torri
cd69ef4c8a
merge: add evil files
...
SVN revision: 76464
2012-09-11 16:13:11 +00:00
Vincent Torri
59a9dfd118
merge: add infra for evil
...
SVN revision: 76463
2012-09-11 16:04:21 +00:00