Mike Blumenkrantz [Thu, 9 Dec 2010 21:04:22 +0000 (21:04 +0000)]
avoid writing <= 0 bytes to clients
SVN revision: 55433
Mike Blumenkrantz [Thu, 9 Dec 2010 21:02:53 +0000 (21:02 +0000)]
this error fix is dedicated to Tommy[D] for continuing to prove that the impossible can still be possible on his system
SVN revision: 55432
Vincent Torri [Thu, 9 Dec 2010 18:39:08 +0000 (18:39 +0000)]
first step toward DSO solution. see ticket #644
SVN revision: 55431
Sebastian Dransfeld [Thu, 9 Dec 2010 14:13:31 +0000 (14:13 +0000)]
Use right struct for eddc size
SVN revision: 55415
Sebastian Dransfeld [Thu, 9 Dec 2010 14:01:34 +0000 (14:01 +0000)]
use cache dir for data lock
SVN revision: 55414
Sebastian Dransfeld [Thu, 9 Dec 2010 13:41:22 +0000 (13:41 +0000)]
revert crazy idea
SVN revision: 55413
Sebastian Dransfeld [Thu, 9 Dec 2010 13:15:43 +0000 (13:15 +0000)]
Reduce stack usage
For functions often called, don't put unneded mem on stack
SVN revision: 55411
Sebastian Dransfeld [Thu, 9 Dec 2010 12:19:23 +0000 (12:19 +0000)]
if file open, return true
SVN revision: 55407
Sebastian Dransfeld [Thu, 9 Dec 2010 12:19:13 +0000 (12:19 +0000)]
TODO++
SVN revision: 55406
Sebastian Dransfeld [Thu, 9 Dec 2010 12:19:00 +0000 (12:19 +0000)]
Don't store Hidden elements in utils cache
Hidden elements should never be returned to the user, they are "Deleted"
SVN revision: 55405
Cedric BAIL [Thu, 9 Dec 2010 10:33:23 +0000 (10:33 +0000)]
* evas: fix polygon position on clear.
Patch by YUNHAN KIM <yhan.kim@samsung.com>
SVN revision: 55404
Gustavo Sverzut Barbieri [Thu, 9 Dec 2010 10:14:11 +0000 (10:14 +0000)]
Use EINA_PATH_MAX where it makes sense.
All the access to Eina_File_Direct_Info::path should be using the
actual size (EINA_PATH_MAX) and not another constant (PATH_MAX).
SVN revision: 55403
Sebastian Dransfeld [Thu, 9 Dec 2010 09:12:12 +0000 (09:12 +0000)]
And recreate hash after deletion
SVN revision: 55400
Sebastian Dransfeld [Thu, 9 Dec 2010 08:57:06 +0000 (08:57 +0000)]
flush icon theme cache before closing eet file
SVN revision: 55399
Sebastian Dransfeld [Thu, 9 Dec 2010 08:56:56 +0000 (08:56 +0000)]
enable icon theme cache
SVN revision: 55398
Sebastian Dransfeld [Thu, 9 Dec 2010 08:56:46 +0000 (08:56 +0000)]
fix environment handling
SVN revision: 55397
Sebastian Dransfeld [Thu, 9 Dec 2010 08:56:36 +0000 (08:56 +0000)]
free iterator after usage
SVN revision: 55396
Sebastian Dransfeld [Thu, 9 Dec 2010 08:56:23 +0000 (08:56 +0000)]
Fix very weird double looping
Not need to extract keys from hash, then loop keys to find data.
SVN revision: 55395
Mike Blumenkrantz [Thu, 9 Dec 2010 06:43:58 +0000 (06:43 +0000)]
reorder a little, fix bug where client_del event was never sent if it had send data in its buffer
question to think on: should a deleted client be allowed to finish sending its data or should it be killed immediately?
SVN revision: 55391
Mike Blumenkrantz [Thu, 9 Dec 2010 06:16:13 +0000 (06:16 +0000)]
avoid loooooooooooooots of ecore spankies
SVN revision: 55390
Carsten Haitzler [Thu, 9 Dec 2010 02:55:08 +0000 (02:55 +0000)]
and if i'm breaking shit... i may as well put it at the end, so if
size changes later to be bigger, existing code doesnt break (due to
the way this is meant to be accessed).
SVN revision: 55388
Carsten Haitzler [Thu, 9 Dec 2010 02:46:11 +0000 (02:46 +0000)]
ok - make it 8192.
SVN revision: 55387
Carsten Haitzler [Thu, 9 Dec 2010 01:29:52 +0000 (01:29 +0000)]
spottied a stabilty/portability bug with PATH_MAx inside a public
header. fix. see comments.
SVN revision: 55386
Sebastian Dransfeld [Wed, 8 Dec 2010 21:39:43 +0000 (21:39 +0000)]
Add icon theme cache
Not used yet.
SVN revision: 55384
Sebastian Dransfeld [Wed, 8 Dec 2010 21:39:23 +0000 (21:39 +0000)]
don't terminate execs
they finish very quickly, not need to terminate
SVN revision: 55383
Sebastian Dransfeld [Wed, 8 Dec 2010 21:36:54 +0000 (21:36 +0000)]
rename struct
prepare for Efreet_Cache_Icon_Theme
SVN revision: 55382
Cedric BAIL [Wed, 8 Dec 2010 19:32:23 +0000 (19:32 +0000)]
* eina: forgotten link.
SVN revision: 55380
Rui Seabra [Wed, 8 Dec 2010 17:08:14 +0000 (17:08 +0000)]
Update edje spec to current state of affairs.
SVN revision: 55379
Tom Hacohen [Wed, 8 Dec 2010 15:41:21 +0000 (15:41 +0000)]
Evas textblock: Fixed a major bug in last_at_off.
SVN revision: 55375
Michael BOUCHAUD [Wed, 8 Dec 2010 14:35:37 +0000 (14:35 +0000)]
eio: move 'typedef enum' after 'enum' to compil with g++ (from Mikael Sans)
SVN revision: 55372
Mike Blumenkrantz [Wed, 8 Dec 2010 14:00:37 +0000 (14:00 +0000)]
handle ARES_ENODATA more gracefully
SVN revision: 55371
Carsten Haitzler [Wed, 8 Dec 2010 03:25:23 +0000 (03:25 +0000)]
and break api in ecore_input_evas - not used anyway except within
ecore. the api didn't allow for rotation of multitouch input. need to
fix. done.
SVN revision: 55367
Iván Briano [Tue, 7 Dec 2010 19:06:53 +0000 (19:06 +0000)]
List and allow to fetch pre-processing errors when compiling Embryo scripts.
SVN revision: 55359
Carsten Haitzler [Tue, 7 Dec 2010 08:38:07 +0000 (08:38 +0000)]
formatting!
SVN revision: 55348
Carsten Haitzler [Tue, 7 Dec 2010 06:39:18 +0000 (06:39 +0000)]
use typedefs for fn pointers.
SVN revision: 55342
Cedric BAIL [Mon, 6 Dec 2010 22:28:38 +0000 (22:28 +0000)]
* evas: notice object change on map color change.
SVN revision: 55335
Iván Briano [Mon, 6 Dec 2010 13:50:51 +0000 (13:50 +0000)]
NULL out focused part when clearing the remnants of a gone Edje
SVN revision: 55330
Carsten Haitzler [Mon, 6 Dec 2010 09:07:56 +0000 (09:07 +0000)]
and dont seg there.
SVN revision: 55319
Carsten Haitzler [Mon, 6 Dec 2010 09:02:16 +0000 (09:02 +0000)]
and only check version if surf != NULL
SVN revision: 55318
Brett Nash [Mon, 6 Dec 2010 07:53:33 +0000 (07:53 +0000)]
Evas: Neon: Do neon test if ARM...
Not ARM 70. So this should you know... turn on the neon test.
SVN revision: 55317
Carsten Haitzler [Mon, 6 Dec 2010 07:49:00 +0000 (07:49 +0000)]
if we aren't looking for a glob... why do we go alloc a possible
massive pattern match thing.. if you have a LOOOOOOOOOOT of collection
entries... that can be a big set.
SVN revision: 55316
Carsten Haitzler [Mon, 6 Dec 2010 07:09:51 +0000 (07:09 +0000)]
change native api to allow for other types of native data like texture
id's, fbo's etc. too - at least it's versioned now.
SVN revision: 55315
Brett Nash [Mon, 6 Dec 2010 04:57:54 +0000 (04:57 +0000)]
Evas: Neon: More .fpu neon flags
Also clean up some ugly code.
SVN revision: 55314
Brett Nash [Mon, 6 Dec 2010 02:20:31 +0000 (02:20 +0000)]
Be more aggresive turning on neon, and don't include arm_neon.h
The arm_neon header is for the Neon intrinsics.
Since we use inline asm, we don't need any of that stuff.
Also we set neon to be on if your compiler accepts it (and it's a arm).
So more people may get neon builds.
SVN revision: 55312
Brett Nash [Mon, 6 Dec 2010 01:58:19 +0000 (01:58 +0000)]
Add .fpu neon to the configure test.
SVN revision: 55308
Brett Nash [Mon, 6 Dec 2010 01:50:32 +0000 (01:50 +0000)]
Evas: Neon: Explicitly set the .fpu flag for neon.
This means you should not need to set any special compiler flags; which should
mean gcc will generate non-neon specific asm (unless you tell it to). This
means it is possible to build an armv6 binary with neon suppor (as we always
meant to to do).
SVN revision: 55307
Mike Blumenkrantz [Sun, 5 Dec 2010 07:30:17 +0000 (07:30 +0000)]
avoid magic fail on already-freed handler
SVN revision: 55280
Marco Trevisan (Treviño) [Sun, 5 Dec 2010 03:14:03 +0000 (03:14 +0000)]
SVN revision: 3
Subject: [E-devel] [PATCH] eina share common check for node type
Hello, recentely I've been experiencing a lot of segfaults when running
an Elementary application which uses a genlist with some swallowed parts
in which I put some elm icons (png files).
When running it I often get crashes... Debugging it I found this:
=========
CRI<14207>: eina_share_common.c:561 _eina_share_common_node_from_str()
*** Eina Magic Check Failed !!!
Input handle is wrong type
Expected:
98761254 - Eina Stringshare Node
Supplied:
6e657070 - (unknown)
*** NAUGHTY PROGRAMMER!!!
*** SPANK SPANK SPANK!!!
*** Now go fix your code. Tut tut tut!
//DEBUG: Node referencies
622869060 (slen:
1145307236)
Program received signal SIGSEGV, Segmentation fault.
eina_share_common_del (share=0x65c810, str=0x7ffff1219150
"5hhu %5hu '%
s'\n")
at eina_share_common.c:858
858 node->references--;
=========
So it seems that edje tries to delete an invalid eina_share_common
string (is this a bug that should be fixed or is it
theme-dependent?),
and so the "node" pointer in eina share is not valid...
However eina never checks for its validity, so it seg-faults...
The attached patch fix this issue, setting the node to null when its
magic is not valid, and then always checking for its validity.
Is this fine?
Full stack trace:
#0 eina_share_common_del (share=0x65c810, str=0x7ffff1219150 "5hhu %5hu
'%s'\n")
at eina_share_common.c:858
#1 0x00007ffff120e047 in eina_stringshare_del (str=0x7ffff1219150
"5hhu
%5hu '%s'\n")
at eina_stringshare.c:632
#2 0x00007ffff1e1f7bc in _edje_text_recalc_apply (ed=0x95b900,
ep=0x70c3a0,
params=0x70c500, chosen_desc=<value optimized out>) at
edje_text.c:556
#3 0x00007ffff1de402d in _edje_part_recalc (ed=0x95b900,
ep=0x70c3a0,
flags=3)
at edje_calc.c:2007
#4 0x00007ffff1de4d86 in _edje_recalc_do (ed=0x95b900) at
edje_calc.c:268
#5 0x00007ffff1e25c7d in edje_object_part_swallow (obj=<value
optimized
out>,
part=0x7fffe001484c "elm.swallow.icon", obj_swallow=0x7fffe0017860)
at edje_util.c:2300
#6 0x00007ffff1b5d5fc in _item_realize (it=0x7fffe0016ed0,
in=10,
calc=1)
at elm_genlist.c:1489
#7 0x00007ffff1b5db89 in _item_block_recalc (itb=0x95b6a0,
in=<value
optimized out>,
qadd=<value optimized out>, norender=<value optimized out>) at
elm_genlist.c:1609
#8 0x00007ffff1b5e329 in _queue_proecess (wd=0x721b70,
norender=<value
optimized out>)
at elm_genlist.c:2425
#9 0x00007ffff1b5e567 in _item_queue (wd=0x721b70, it=<value
optimized
out>)
at elm_genlist.c:2476
#10 0x00007ffff1b5ead9 in elm_genlist_item_append (obj=<value
optimized
out>,
itc=0x7ffff2977040, data=0x8fed90, parent=0x0,
flags=ELM_GENLIST_ITEM_NONE,
func=<value optimized out>, func_data=0x0) at elm_genlist.c:2528
[eina-share-common-del-check-for-node.patch text/x-patch
(1.2KB)]
Index: src/lib/eina_share_common.c
===================================================================
--- src/lib/eina_share_common.c(revisione 55018)
+++ src/lib/eina_share_common.c(copia locale)
@@ -558,7 +558,7 @@
const size_t offset = offsetof(Eina_Share_Common_Node, str);
node = (Eina_Share_Common_Node *)(str - offset);
- EINA_MAGIC_CHECK_SHARE_COMMON_NODE(node, node_magic, );
+ EINA_MAGIC_CHECK_SHARE_COMMON_NODE(node, node_magic, node
= NULL);
return node;
(void) node_magic; /* When magic are disable, node_magic is
unused, this remove a warning. */
@@ -821,6 +821,7 @@
SHARE_COMMON_LOCK_BIG();
node = _eina_share_common_node_from_str(str,
share->node_magic);
+ if (!node) return str;
node->references++;
DBG("str=%p refs=%u", str, node->references);
@@ -847,6 +848,9 @@
SHARE_COMMON_LOCK_BIG();
node = _eina_share_common_node_from_str(str,
share->node_magic);
+ if (!node)
+ return;
+
slen = node->length;
eina_share_common_population_del(share, slen);
if (node->references > 1)
@@ -901,6 +905,7 @@
return -1;
node = _eina_share_common_node_from_str(str,
share->node_magic);
+ if (!node) return 0;
return node->length;
}
SVN revision: 55265
Carsten Haitzler [Sun, 5 Dec 2010 03:12:34 +0000 (03:12 +0000)]
maybe fix del ref 0 string then add it back with same handle?
SVN revision: 55264
Sebastian Dransfeld [Sat, 4 Dec 2010 16:02:20 +0000 (16:02 +0000)]
fix cache filenames
move cache to XDG_CACHE_HOME and add hostname for shared homedirs
SVN revision: 55263
Sebastian Dransfeld [Sat, 4 Dec 2010 15:13:47 +0000 (15:13 +0000)]
simplify code
SVN revision: 55262
Sebastian Dransfeld [Sat, 4 Dec 2010 13:59:48 +0000 (13:59 +0000)]
Add cache usage for efreet_icon_list_find()
SVN revision: 55261
Sebastian Dransfeld [Sat, 4 Dec 2010 13:59:37 +0000 (13:59 +0000)]
check efreet_mime_type_icon_get()
SVN revision: 55260
Sebastian Dransfeld [Sat, 4 Dec 2010 13:58:52 +0000 (13:58 +0000)]
ignore signals is default ecore action
SVN revision: 55259
Carsten Haitzler [Sat, 4 Dec 2010 01:01:22 +0000 (01:01 +0000)]
for svg loader.. look for cairo too. seems some rsvg's dont come with
it in their pkg config cflags/ldflags as a required dep.
SVN revision: 55249
Cedric BAIL [Sat, 4 Dec 2010 00:52:40 +0000 (00:52 +0000)]
* eio: snapidoo too !
SVN revision: 55241
Cedric BAIL [Sat, 4 Dec 2010 00:51:36 +0000 (00:51 +0000)]
* ethumb: snapshot it.
SVN revision: 55239
Cedric BAIL [Sat, 4 Dec 2010 00:50:58 +0000 (00:50 +0000)]
* eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !
SVN revision: 55238
Cedric BAIL [Sat, 4 Dec 2010 00:46:01 +0000 (00:46 +0000)]
* eina: forgotten file.
SVN revision: 55237
Cedric BAIL [Sat, 4 Dec 2010 00:45:26 +0000 (00:45 +0000)]
* eet: forgotten file.
SVN revision: 55236
Cedric BAIL [Sat, 4 Dec 2010 00:44:56 +0000 (00:44 +0000)]
* eet: forgot to update ChangeLog.
SVN revision: 55235
Cedric BAIL [Fri, 3 Dec 2010 23:35:49 +0000 (23:35 +0000)]
* ecore: forgotten file to pass distcheck.
SVN revision: 55234
Cedric BAIL [Fri, 3 Dec 2010 23:04:26 +0000 (23:04 +0000)]
* eina: define PATH_MAX when needed.
SVN revision: 55232
Cedric BAIL [Fri, 3 Dec 2010 23:02:37 +0000 (23:02 +0000)]
* eet: define PATH_MAX when needed.
SVN revision: 55231
Cedric BAIL [Fri, 3 Dec 2010 22:59:28 +0000 (22:59 +0000)]
* eio: define PATH_MAX if not available.
SVN revision: 55230
Cedric BAIL [Fri, 3 Dec 2010 21:50:50 +0000 (21:50 +0000)]
* eina: don't fail if we didn't enable thread support completly.
SVN revision: 55226
Cedric BAIL [Fri, 3 Dec 2010 18:46:49 +0000 (18:46 +0000)]
* eina: fix typos.
SVN revision: 55223
Cedric BAIL [Fri, 3 Dec 2010 18:40:30 +0000 (18:40 +0000)]
* ecore: fix build on Mac OS X.
SVN revision: 55221
Cedric BAIL [Fri, 3 Dec 2010 18:27:17 +0000 (18:27 +0000)]
* eet: improve detection of -Wl,--as-needed
SVN revision: 55214
Cedric BAIL [Fri, 3 Dec 2010 18:21:56 +0000 (18:21 +0000)]
* edje: SPANK ! SPANK ! SPANK !
fprintf should always specify a format.
SVN revision: 55213
Cedric BAIL [Fri, 3 Dec 2010 18:12:19 +0000 (18:12 +0000)]
* eina: fix typo.
SVN revision: 55212
Cedric BAIL [Fri, 3 Dec 2010 18:02:51 +0000 (18:02 +0000)]
* eina: add forgotten header.
SVN revision: 55211
Cedric BAIL [Fri, 3 Dec 2010 18:01:45 +0000 (18:01 +0000)]
* eet: use uintptr_t.
SVN revision: 55210
Cedric BAIL [Fri, 3 Dec 2010 17:55:02 +0000 (17:55 +0000)]
* edje: remove c++ comment also.
SVN revision: 55209
Cedric BAIL [Fri, 3 Dec 2010 17:48:17 +0000 (17:48 +0000)]
* embryo: fix binary path detection on MacOsX.
SVN revision: 55208
Cedric BAIL [Fri, 3 Dec 2010 16:55:50 +0000 (16:55 +0000)]
* eet: compile with -Werror on 64bits too.
SVN revision: 55201
Cedric BAIL [Fri, 3 Dec 2010 16:47:05 +0000 (16:47 +0000)]
* evas: reorder header as needed.
SVN revision: 55199
Cedric BAIL [Fri, 3 Dec 2010 16:41:38 +0000 (16:41 +0000)]
* edje: improve portability and simplify code.
SVN revision: 55198
Cedric BAIL [Fri, 3 Dec 2010 16:30:26 +0000 (16:30 +0000)]
* eina: fix gettimeofday usage.
SVN revision: 55197
Sebastian Dransfeld [Fri, 3 Dec 2010 14:53:21 +0000 (14:53 +0000)]
more decimals
SVN revision: 55195
Sebastian Dransfeld [Fri, 3 Dec 2010 14:53:11 +0000 (14:53 +0000)]
Need to open read/write for eet_num_entries
SVN revision: 55194
Sebastian Dransfeld [Fri, 3 Dec 2010 14:53:01 +0000 (14:53 +0000)]
use eina_hash_direct_add
use eina_hash_direct_add where we use a struct member as key
SVN revision: 55193
Sebastian Dransfeld [Fri, 3 Dec 2010 14:52:39 +0000 (14:52 +0000)]
move dump to tests
SVN revision: 55192
Iván Briano [Fri, 3 Dec 2010 14:00:04 +0000 (14:00 +0000)]
twinkle twinkle little fix...
SVN revision: 55185
Sebastian Dransfeld [Fri, 3 Dec 2010 09:55:36 +0000 (09:55 +0000)]
rename variables
SVN revision: 55180
Sebastian Dransfeld [Fri, 3 Dec 2010 09:55:23 +0000 (09:55 +0000)]
Add data to right edd
SVN revision: 55179
Carsten Haitzler [Fri, 3 Dec 2010 09:36:17 +0000 (09:36 +0000)]
From: 백근훈 [mailto:knhoon.baik@samsung.com]
Subject: evas scalecache 관련 패치 검토 요청
...
There is the report that evas_engine_dump() does not dump scalecache.
Knhoon made a patch for that.
SVN revision: 55178
Mike Blumenkrantz [Fri, 3 Dec 2010 06:14:30 +0000 (06:14 +0000)]
aha! found the leak and eliminated it!
SVN revision: 55176
Iván Briano [Thu, 2 Dec 2010 18:20:34 +0000 (18:20 +0000)]
Edje_Edit has been taught the basics of Embryo scripting.
It is possible now to call a recompile of the script, which if it doesn't
fail, will also update the running Embryo VM. Saving the object, when opened
from a file compiled with a sufficiently new edje_cc (early this week, I think), will generate the source including the scripts in their right place.
It's still missing a proper report of errors during the script build, but that will come later.
SVN revision: 55160
Cedric BAIL [Thu, 2 Dec 2010 10:47:34 +0000 (10:47 +0000)]
* efreet: fix build.
SVN revision: 55157
Sebastian Dransfeld [Thu, 2 Dec 2010 08:34:07 +0000 (08:34 +0000)]
add global version to cache files
SVN revision: 55145
Sebastian Dransfeld [Thu, 2 Dec 2010 08:33:57 +0000 (08:33 +0000)]
use update file for icon cache
SVN revision: 55144
Sebastian Dransfeld [Thu, 2 Dec 2010 08:33:48 +0000 (08:33 +0000)]
defer cache open
SVN revision: 55143
Sebastian Dransfeld [Thu, 2 Dec 2010 08:33:38 +0000 (08:33 +0000)]
delay opening eet file
SVN revision: 55142
Sebastian Dransfeld [Thu, 2 Dec 2010 08:33:28 +0000 (08:33 +0000)]
unix file format
SVN revision: 55141
Sebastian Dransfeld [Thu, 2 Dec 2010 08:33:18 +0000 (08:33 +0000)]
Use convenience macro
SVN revision: 55140
Sebastian Dransfeld [Thu, 2 Dec 2010 08:33:09 +0000 (08:33 +0000)]
Symbol always defined, always set to 0
SVN revision: 55139
Sebastian Dransfeld [Thu, 2 Dec 2010 08:32:59 +0000 (08:32 +0000)]
One func to free edd's
SVN revision: 55138
Sebastian Dransfeld [Thu, 2 Dec 2010 08:32:49 +0000 (08:32 +0000)]
Rename extension to .eet to keep consistency
SVN revision: 55137
Sebastian Dransfeld [Thu, 2 Dec 2010 08:32:39 +0000 (08:32 +0000)]
Create desktop edd when needed
SVN revision: 55136