Commit Graph

12203 Commits

Author SHA1 Message Date
Vincent Torri 532a1655ef forgot ecore for the DSO problem
SVN revision: 55442
2010-12-10 07:15:25 +00:00
Sebastian Dransfeld 35c165d2e4 Fix me as author
SVN revision: 55438
2010-12-10 06:05:35 +00:00
Mike Blumenkrantz e17077e3f4 avoid writing <= 0 bytes to clients
SVN revision: 55433
2010-12-09 21:04:22 +00:00
Mike Blumenkrantz 4912e6dc4f 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
2010-12-09 21:02:53 +00:00
Vincent Torri 78a75afd7b first step toward DSO solution. see ticket #644
SVN revision: 55431
2010-12-09 18:39:08 +00:00
Sebastian Dransfeld 7c995d2f16 Use right struct for eddc size
SVN revision: 55415
2010-12-09 14:13:31 +00:00
Sebastian Dransfeld a9e8e3c2c4 use cache dir for data lock
SVN revision: 55414
2010-12-09 14:01:34 +00:00
Sebastian Dransfeld ea7834865e revert crazy idea
SVN revision: 55413
2010-12-09 13:41:22 +00:00
Sebastian Dransfeld e88061b9aa Reduce stack usage
For functions often called, don't put unneded mem on stack

SVN revision: 55411
2010-12-09 13:15:43 +00:00
Sebastian Dransfeld 4e9fa3d6f7 if file open, return true
SVN revision: 55407
2010-12-09 12:19:23 +00:00
Sebastian Dransfeld fb77905c83 TODO++
SVN revision: 55406
2010-12-09 12:19:13 +00:00
Sebastian Dransfeld 3a0af7b9c5 Don't store Hidden elements in utils cache
Hidden elements should never be returned to the user, they are "Deleted"

SVN revision: 55405
2010-12-09 12:19:00 +00:00
Cedric BAIL 30099cb45f * evas: fix polygon position on clear.
Patch by YUNHAN KIM <yhan.kim@samsung.com>


SVN revision: 55404
2010-12-09 10:33:23 +00:00
Gustavo Sverzut Barbieri ef5c356153 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
2010-12-09 10:14:11 +00:00
Sebastian Dransfeld 18dea4b9f8 And recreate hash after deletion
SVN revision: 55400
2010-12-09 09:12:12 +00:00
Sebastian Dransfeld de36c69b16 flush icon theme cache before closing eet file
SVN revision: 55399
2010-12-09 08:57:06 +00:00
Sebastian Dransfeld 55404c7134 enable icon theme cache
SVN revision: 55398
2010-12-09 08:56:56 +00:00
Sebastian Dransfeld dcbbc1ef37 fix environment handling
SVN revision: 55397
2010-12-09 08:56:46 +00:00
Sebastian Dransfeld b525e964d0 free iterator after usage
SVN revision: 55396
2010-12-09 08:56:36 +00:00
Sebastian Dransfeld ac51f4ead3 Fix very weird double looping
Not need to extract keys from hash, then loop keys to find data.

SVN revision: 55395
2010-12-09 08:56:23 +00:00
Mike Blumenkrantz 4440764c78 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
2010-12-09 06:43:58 +00:00
Mike Blumenkrantz 3b86fed32f avoid loooooooooooooots of ecore spankies
SVN revision: 55390
2010-12-09 06:16:13 +00:00
Carsten Haitzler 9317a439fb 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
2010-12-09 02:55:08 +00:00
Carsten Haitzler 2382fe75ce ok - make it 8192.
SVN revision: 55387
2010-12-09 02:46:11 +00:00
Carsten Haitzler 8ed17348e9 spottied a stabilty/portability bug with PATH_MAx inside a public
header. fix. see comments.



SVN revision: 55386
2010-12-09 01:29:52 +00:00
Sebastian Dransfeld d104d2e745 Add icon theme cache
Not used yet.

SVN revision: 55384
2010-12-08 21:39:43 +00:00
Sebastian Dransfeld 84fdf4e0ef don't terminate execs
they finish very quickly, not need to terminate

SVN revision: 55383
2010-12-08 21:39:23 +00:00
Sebastian Dransfeld ed43ae5263 rename struct
prepare for Efreet_Cache_Icon_Theme

SVN revision: 55382
2010-12-08 21:36:54 +00:00
Cedric BAIL 3e5887714b * eina: forgotten link.
SVN revision: 55380
2010-12-08 19:32:23 +00:00
Rui Seabra a4fd22d431 Update edje spec to current state of affairs.
SVN revision: 55379
2010-12-08 17:08:14 +00:00
Tom Hacohen 47da7ff122 Evas textblock: Fixed a major bug in last_at_off.
SVN revision: 55375
2010-12-08 15:41:21 +00:00
Michael BOUCHAUD 947b8db665 eio: move 'typedef enum' after 'enum' to compil with g++ (from Mikael Sans)
SVN revision: 55372
2010-12-08 14:35:37 +00:00
Mike Blumenkrantz 0c1efd9afd handle ARES_ENODATA more gracefully
SVN revision: 55371
2010-12-08 14:00:37 +00:00
Carsten Haitzler a332eaa36b 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
2010-12-08 03:25:23 +00:00
Iván Briano 45e2237dcf List and allow to fetch pre-processing errors when compiling Embryo scripts.
SVN revision: 55359
2010-12-07 19:06:53 +00:00
Carsten Haitzler b148711260 formatting!
SVN revision: 55348
2010-12-07 08:38:07 +00:00
Carsten Haitzler e15da11630 use typedefs for fn pointers.
SVN revision: 55342
2010-12-07 06:39:18 +00:00
Cedric BAIL 36e4de5f51 * evas: notice object change on map color change.
SVN revision: 55335
2010-12-06 22:28:38 +00:00
Iván Briano 014d9e424c NULL out focused part when clearing the remnants of a gone Edje
SVN revision: 55330
2010-12-06 13:50:51 +00:00
Carsten Haitzler 59b94cec34 and dont seg there.
SVN revision: 55319
2010-12-06 09:07:56 +00:00
Carsten Haitzler fa337f7f7f and only check version if surf != NULL
SVN revision: 55318
2010-12-06 09:02:16 +00:00
Brett Nash f2e4cc5555 Evas: Neon: Do neon test if ARM...
Not ARM 70.  So this should you know... turn on the neon test.

SVN revision: 55317
2010-12-06 07:53:33 +00:00
Carsten Haitzler 4a55d2bda4 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
2010-12-06 07:49:00 +00:00
Carsten Haitzler 640a4030f3 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
2010-12-06 07:09:51 +00:00
Brett Nash 157bf3a573 Evas: Neon: More .fpu neon flags
Also clean up some ugly code.

SVN revision: 55314
2010-12-06 04:57:54 +00:00
Brett Nash ee03254a3e 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
2010-12-06 02:20:31 +00:00
Brett Nash e6f12f5f22 Add .fpu neon to the configure test.
SVN revision: 55308
2010-12-06 01:58:19 +00:00
Brett Nash 19c28b345f 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
2010-12-06 01:50:32 +00:00
Mike Blumenkrantz d15d81161f avoid magic fail on already-freed handler
SVN revision: 55280
2010-12-05 07:30:17 +00:00
Marco Trevisan (Treviño) bbc439bdb7 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
2010-12-05 03:14:03 +00:00
Carsten Haitzler 540b51cf69 maybe fix del ref 0 string then add it back with same handle?
SVN revision: 55264
2010-12-05 03:12:34 +00:00
Sebastian Dransfeld 9da725d028 fix cache filenames
move cache to XDG_CACHE_HOME and add hostname for shared homedirs

SVN revision: 55263
2010-12-04 16:02:20 +00:00
Sebastian Dransfeld 649aa06958 simplify code
SVN revision: 55262
2010-12-04 15:13:47 +00:00
Sebastian Dransfeld 802339c2c0 Add cache usage for efreet_icon_list_find()
SVN revision: 55261
2010-12-04 13:59:48 +00:00
Sebastian Dransfeld 2f8e8a4f1a check efreet_mime_type_icon_get()
SVN revision: 55260
2010-12-04 13:59:37 +00:00
Sebastian Dransfeld 91fcbf1f9e ignore signals is default ecore action
SVN revision: 55259
2010-12-04 13:58:52 +00:00
Carsten Haitzler c15f13d38a 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
2010-12-04 01:01:22 +00:00
Cedric BAIL 3efc7f4f9b * eio: snapidoo too !
SVN revision: 55241
2010-12-04 00:52:40 +00:00
Cedric BAIL 5b3ed54a35 * ethumb: snapshot it.
SVN revision: 55239
2010-12-04 00:51:36 +00:00
Cedric BAIL 602241b004 * eina,eet,embryo,evas,ecore,edje,efreet,e_dbus,eeze: beta3 !
SVN revision: 55238
2010-12-04 00:50:58 +00:00
Cedric BAIL 6f973acf31 * eina: forgotten file.
SVN revision: 55237
2010-12-04 00:46:01 +00:00
Cedric BAIL 14b300f339 * eet: forgotten file.
SVN revision: 55236
2010-12-04 00:45:26 +00:00
Cedric BAIL 63998c54e3 * eet: forgot to update ChangeLog.
SVN revision: 55235
2010-12-04 00:44:56 +00:00
Cedric BAIL 4e83185a0d * ecore: forgotten file to pass distcheck.
SVN revision: 55234
2010-12-03 23:35:49 +00:00
Cedric BAIL c7f47e4660 * eina: define PATH_MAX when needed.
SVN revision: 55232
2010-12-03 23:04:26 +00:00
Cedric BAIL 9e1667f16c * eet: define PATH_MAX when needed.
SVN revision: 55231
2010-12-03 23:02:37 +00:00
Cedric BAIL e9a8da1455 * eio: define PATH_MAX if not available.
SVN revision: 55230
2010-12-03 22:59:28 +00:00
Cedric BAIL e031740d22 * eina: don't fail if we didn't enable thread support completly.
SVN revision: 55226
2010-12-03 21:50:50 +00:00
Cedric BAIL bf3d026f41 * eina: fix typos.
SVN revision: 55223
2010-12-03 18:46:49 +00:00
Cedric BAIL 692f308955 * ecore: fix build on Mac OS X.
SVN revision: 55221
2010-12-03 18:40:30 +00:00
Cedric BAIL 98f2dfecd7 * eet: improve detection of -Wl,--as-needed
SVN revision: 55214
2010-12-03 18:27:17 +00:00
Cedric BAIL 5ef394f0bd * edje: SPANK ! SPANK ! SPANK !
fprintf should always specify a format.


SVN revision: 55213
2010-12-03 18:21:56 +00:00
Cedric BAIL bf066c2390 * eina: fix typo.
SVN revision: 55212
2010-12-03 18:12:19 +00:00
Cedric BAIL 7ad0ae92b5 * eina: add forgotten header.
SVN revision: 55211
2010-12-03 18:02:51 +00:00
Cedric BAIL fc3cd8f248 * eet: use uintptr_t.
SVN revision: 55210
2010-12-03 18:01:45 +00:00
Cedric BAIL d5d953a533 * edje: remove c++ comment also.
SVN revision: 55209
2010-12-03 17:55:02 +00:00
Cedric BAIL 2635ddcbf5 * embryo: fix binary path detection on MacOsX.
SVN revision: 55208
2010-12-03 17:48:17 +00:00
Cedric BAIL 030c1f3f18 * eet: compile with -Werror on 64bits too.
SVN revision: 55201
2010-12-03 16:55:50 +00:00
Cedric BAIL 1ca29e1649 * evas: reorder header as needed.
SVN revision: 55199
2010-12-03 16:47:05 +00:00
Cedric BAIL 561114732b * edje: improve portability and simplify code.
SVN revision: 55198
2010-12-03 16:41:38 +00:00
Cedric BAIL fb1c587dde * eina: fix gettimeofday usage.
SVN revision: 55197
2010-12-03 16:30:26 +00:00
Sebastian Dransfeld 652f748760 more decimals
SVN revision: 55195
2010-12-03 14:53:21 +00:00
Sebastian Dransfeld 9ac9292404 Need to open read/write for eet_num_entries
SVN revision: 55194
2010-12-03 14:53:11 +00:00
Sebastian Dransfeld 9e3be1a1a4 use eina_hash_direct_add
use eina_hash_direct_add where we use a struct member as key

SVN revision: 55193
2010-12-03 14:53:01 +00:00
Sebastian Dransfeld c06fe60c99 move dump to tests
SVN revision: 55192
2010-12-03 14:52:39 +00:00
Iván Briano 76b47e14d2 twinkle twinkle little fix...
SVN revision: 55185
2010-12-03 14:00:04 +00:00
Sebastian Dransfeld d364a70386 rename variables
SVN revision: 55180
2010-12-03 09:55:36 +00:00
Sebastian Dransfeld bd435f19f9 Add data to right edd
SVN revision: 55179
2010-12-03 09:55:23 +00:00
Carsten Haitzler cb41bf7dbd 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
2010-12-03 09:36:17 +00:00
Mike Blumenkrantz 55d73aee65 aha! found the leak and eliminated it!
SVN revision: 55176
2010-12-03 06:14:30 +00:00
Iván Briano aac41d6ff0 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
2010-12-02 18:20:34 +00:00
Cedric BAIL 447dc9d9f7 * efreet: fix build.
SVN revision: 55157
2010-12-02 10:47:34 +00:00
Sebastian Dransfeld e9763d92d4 add global version to cache files
SVN revision: 55145
2010-12-02 08:34:07 +00:00
Sebastian Dransfeld 0ccccf1934 use update file for icon cache
SVN revision: 55144
2010-12-02 08:33:57 +00:00
Sebastian Dransfeld fec2ca310f defer cache open
SVN revision: 55143
2010-12-02 08:33:48 +00:00
Sebastian Dransfeld 2ce2d03609 delay opening eet file
SVN revision: 55142
2010-12-02 08:33:38 +00:00
Sebastian Dransfeld 7c6a51ce0a unix file format
SVN revision: 55141
2010-12-02 08:33:28 +00:00
Sebastian Dransfeld 09ef6eac04 Use convenience macro
SVN revision: 55140
2010-12-02 08:33:18 +00:00
Sebastian Dransfeld 5ad15a52b6 Symbol always defined, always set to 0
SVN revision: 55139
2010-12-02 08:33:09 +00:00
Sebastian Dransfeld 0a3b631073 One func to free edd's
SVN revision: 55138
2010-12-02 08:32:59 +00:00
Sebastian Dransfeld f372387cde Rename extension to .eet to keep consistency
SVN revision: 55137
2010-12-02 08:32:49 +00:00
Sebastian Dransfeld 4615570ec9 Create desktop edd when needed
SVN revision: 55136
2010-12-02 08:32:39 +00:00
Sebastian Dransfeld bbd2b07962 Rename to match icon functions
SVN revision: 55135
2010-12-02 08:32:22 +00:00
Carsten Haitzler 4147f2f231 make sure we ensure out gl context is current at each frame start
SVN revision: 55131
2010-12-02 08:01:19 +00:00
Mike Blumenkrantz b26182d35b avoid segv
SVN revision: 55118
2010-12-01 10:33:07 +00:00
Mike Blumenkrantz 0fdba352ba avoid segv
SVN revision: 55117
2010-12-01 10:31:20 +00:00
Carsten Haitzler 10bfc098fb fix neon (thnx nash) to not round down incorrectly on blend
SVN revision: 55115
2010-12-01 09:46:49 +00:00
Carsten Haitzler afa0050f32 fix smooth scaler to not round down incorrectly.
SVN revision: 55114
2010-12-01 09:46:26 +00:00
Mike Blumenkrantz 88ca4717d1 formatting cleanups
SVN revision: 55109
2010-12-01 04:42:29 +00:00
Mike Blumenkrantz cd14e2ac6e copypastecopypaste
SVN revision: 55108
2010-12-01 03:45:22 +00:00
Carsten Haitzler a0f2602c29 compacter code.
SVN revision: 55107
2010-12-01 03:31:55 +00:00
Mike Blumenkrantz 1d759c88d1 only enable extensive ssl logging with compile define set to avoid massive slowdown
SVN revision: 55106
2010-12-01 03:19:28 +00:00
Carsten Haitzler 5a07bfe911 u know.. eina_list_free.. returns... NULL :)
SVN revision: 55105
2010-12-01 03:13:29 +00:00
Mike Blumenkrantz 98b7017026 remove redundant check
SVN revision: 55104
2010-12-01 03:02:03 +00:00
Mike Blumenkrantz 627b5343b8 type this as EB for correctness because I'm feeling pedantic
SVN revision: 55103
2010-12-01 02:44:20 +00:00
Mike Blumenkrantz 6941e966be switch to EINA_BOOL values for delete_me, fix huge O(n) behavior in _ecore_main_fd_handlers_call; all fd operations now should see an exponential speed increase based on the number of fds that ecore is watching
SVN revision: 55102
2010-12-01 02:34:48 +00:00
Mike Blumenkrantz 63e11e2d82 use EINA_(TRUE/FALSE) instead of 1/0
SVN revision: 55101
2010-12-01 01:17:45 +00:00
Sebastian Dransfeld 62c59b22ab And cache edje files as well
SVN revision: 55094
2010-11-30 18:42:25 +00:00
Sebastian Dransfeld 256c566009 formatting
SVN revision: 55093
2010-11-30 18:41:21 +00:00
Iván Briano 3f6ada804f Make edje_cc store script source snippets (only embryo now) in the generated file.
Yeah... yeah... we are on a freeze and we aren't supposed to be doing things like this, but it's not change anything other than allow edje_edit to know about scripts in order to not screw them up when modifying a file.


SVN revision: 55088
2010-11-30 15:37:20 +00:00
Cedric BAIL d3e3b86e29 * edje: the most simple and usefull case of alias convertion
wasn't implemented at all. Should be working now, please test
	all your code that relly on "part1:part2[index]:sig" behaviour.


SVN revision: 55086
2010-11-30 13:09:03 +00:00
Tom Hacohen d3b5301bbd Edje entry: Fixed bug with preedit string. The text was committed to the current cursor position instead of the preedit cursor position (which may be different if you click the mouse somewhere in the tetx). Patch by Jihoon Kim.
SVN revision: 55080
2010-11-30 11:06:22 +00:00
Carsten Haitzler 5c3b45bf65 so... why.. do.. we .. not init.. all? :) how do we expect https and
friends to work... if we dont want them initted :)



SVN revision: 55079
2010-11-30 09:39:23 +00:00
Cedric BAIL cb402e2a5a * eina: we don't plan to provide ABI compatibility until 1.0.
This kind of trick are for after 1.0, if you really need you can
	just pick that patch.


SVN revision: 55075
2010-11-29 23:16:19 +00:00
Mike Blumenkrantz 269a6ab702 closes ticket 634
SVN revision: 55074
2010-11-29 23:14:35 +00:00
Davide Andreoli 4664ec794f Put myself as author in edje (as per all the edje_edit works)
But the real reason for this commit is to test the little mod
 I have done on the commit script



SVN revision: 55073
2010-11-29 23:05:50 +00:00
Cedric BAIL 64a612ef38 * efreet: simplify code.
SVN revision: 55071
2010-11-29 18:42:48 +00:00
Cedric BAIL 5d663ce49b * eina, eet: fix coverage generation with newer lcov.
SVN revision: 55070
2010-11-29 18:40:26 +00:00
Cedric BAIL 46fd048e2c * eet: Improve speed of eet_data_read decoding. Mostly for array.
NOTE: with a major rewrite of the way array does the structure
	allocation/destruction it could be made much faster. That would
	improve speed for both edje file loading and efreet cache loading.
	But I will postpone that for after the release.


SVN revision: 55069
2010-11-29 18:38:24 +00:00
Cedric BAIL aaae4e223a * eina: eina_array_clean should be inlined from the beginning.
NOTE: to prevent ABI break, I added the old symbol in eina_abi.c.
	So binary/library using eina_array_clean should continue to work
	without any problem.


SVN revision: 55068
2010-11-29 18:32:30 +00:00
Tom Hacohen 92c16f8892 Evas textblock: Fixed a bug with inserting text before a <PS>.
SVN revision: 55064
2010-11-29 15:04:44 +00:00
Cedric BAIL 1413e6f3b7 * eet: improve speed for Eet_String users.
SVN revision: 55063
2010-11-29 14:04:16 +00:00
Cedric BAIL 7db2cb388c * efreet: improve speed of cache regeneration.
SVN revision: 55060
2010-11-29 13:17:33 +00:00
Mike Blumenkrantz 7b3463a3ef explicitly set eina error level, add a printf
10k fd test successfully passed! in 1.5 minutes :(


SVN revision: 55053
2010-11-29 07:07:16 +00:00
Mike Blumenkrantz 99fa106e8e null pointer to avoid partial free in rare cases
SVN revision: 55046
2010-11-29 00:13:52 +00:00
Mike Blumenkrantz 3c05a283b6 fix weird bug where fdh in a list could become null
SVN revision: 55044
2010-11-28 22:03:07 +00:00
Mike Blumenkrantz fd44ecf46c fix annoying printfs that should be ERRs
SVN revision: 55043
2010-11-28 21:51:07 +00:00
Cedric BAIL 8dceeeee5b efreet: probably fix windows build.
SVN revision: 55040
2010-11-28 10:05:52 +00:00
Sebastian Dransfeld ea8cd61f4e init count to 0
SVN revision: 55038
2010-11-27 21:51:07 +00:00
Sebastian Dransfeld caaf7ab25f formatting
SVN revision: 55037
2010-11-27 20:36:39 +00:00
Sebastian Dransfeld 0c8c2d3c9f Stick with efreet formatting
efreet has it's own formatting, something like
"set ts=4 sw=4 sts=4 expandtab cino=(0W1st0". Please keep it like this,
or do the job to convert the whole lib to efl style.

SVN revision: 55036
2010-11-27 20:36:27 +00:00
Sebastian Dransfeld 66e52e2829 Rename efreet_icon_private.h to something better
efreet_icon_private.h should be private to external code interacting
with the icon cache, so name it efreet_cache_private.h and only include
Eet.h there.

SVN revision: 55035
2010-11-27 20:15:00 +00:00
Cedric BAIL 65e808c0af * efreet: Eet.h is needed by declaration in efreet_private.h.
SVN revision: 55034
2010-11-27 17:02:18 +00:00
Christopher Michael 8719a729ab Fix missing include <Ecore.h> for needed ecore functions
(ecore_time_get, ecore_exe_run, etc, etc).



SVN revision: 55027
2010-11-26 21:32:34 +00:00
Vincent Torri 57c6d1b2e0 fix efreet after the Windows commits
SVN revision: 55026
2010-11-26 20:48:50 +00:00
Rui Seabra 52dc7d7067 Adjusting rpm spec to a more current state of affairs.
SVN revision: 55025
2010-11-26 20:08:52 +00:00
Vincent Torri a3ffd27636 remove win7 code and fix other minor problems
SVN revision: 55023
2010-11-26 18:41:43 +00:00
Vincent Torri 126c3574c3 fix compilation on Windows
SVN revision: 55021
2010-11-26 17:05:16 +00:00
Cedric BAIL 756df73df7 * edje: strcpy could only go wrong.
SVN revision: 55020
2010-11-26 16:46:35 +00:00
Vincent Torri 95f36c0e18 more fixes, but needs to remove Windows 7 code, now...
SVN revision: 55019
2010-11-26 15:34:30 +00:00
Cedric BAIL a90e2e4aff * efreet: improve icon cache, increase speed and consume a little
more memory than previous version.

	TODO: efreet_icon_cache_create could be speeded up if we did
	reuse already generated theme instead when doing inherit work.

	NOTE: Let me add a rant against Freedesktop standard. Walking
	around 22731 paths for 3051 icons is insane and that's just for
	one theme ! Maybe they could give me one SSD...


SVN revision: 55018
2010-11-26 14:56:23 +00:00
Cedric BAIL fbfa54bc05 * eet: another forgotten improvement.
SVN revision: 55017
2010-11-26 14:45:15 +00:00
Cedric BAIL a453783e68 * eet: reduce memory used by Eet dictionary.
SVN revision: 55016
2010-11-26 14:40:53 +00:00
Vincent Torri 5c9cb60854 typo
SVN revision: 55015
2010-11-26 13:54:11 +00:00
Vincent Torri 6b4b7bc42d add native win32 thread support in ecore_thread. Not tested a lot at all.
SVN revision: 55014
2010-11-26 13:50:31 +00:00
Vincent Torri 883850c5ec on Windows, "C:" is not a directory, but a drive.
SVN revision: 55013
2010-11-26 13:47:51 +00:00
Sebastian Dransfeld b9c9af539a Check if dir exists before listening to it
SVN revision: 55008
2010-11-26 10:27:41 +00:00
Carsten Haitzler c75b63a482 evas -> use mempool for many objects and things. but.. disable it for
now. use old calloc+free thing for 1.0 and enable mpool for 1.1. this
is just done in advance but disabled for some testing purposes looking
for some bugs.



SVN revision: 55006
2010-11-26 10:01:18 +00:00
Vincent Torri a636dab74d declare alloca()
SVN revision: 55003
2010-11-26 08:06:19 +00:00
Vincent Torri d07b011ca8 move Ecore_File.h inclusion to the source file
SVN revision: 55002
2010-11-25 23:52:57 +00:00
Vincent Torri 42f57e9fc3 put alloca declaration after config.h
SVN revision: 55001
2010-11-25 23:48:59 +00:00
Gustavo Sverzut Barbieri 32c3f22f70 oops, forgot some machine output.
SVN revision: 55000
2010-11-25 23:22:50 +00:00
Gustavo Sverzut Barbieri 038b682a04 welcome edje_external_inspector.
this tool is similar to edje_inspector as it uses similar command line
and output formats, but instead of acting upon EDJ compiled files, it
will use edje EXTERNAL module providers (/usr/lib/edje/modules/*),
being able to list modules and their registered types.

it is quite useful to know which parameters are exposed, their types
and default value (--detail=terse) and also mode information such as
flags, min/max/step/accepted/denied and other valuable information
(--detail=all).

as usual it accepts globs to filter input. example usage:

{{{
shell$ edje_external_inspector -t '*anch*'
module {
   name: "elm";
   friendly_name: "Elementary";
   types {
      type {
         name: "elm/anchorblock";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
      type {
         name: "elm/anchorview";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
   }
}

shell$ edje_external_inspector --type='*anch*'
module {
   name: "elm";
   friendly_name: "Elementary";
   types {
      type {
         name: "elm/anchorblock";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
      type {
         name: "elm/anchorview";
         params {
            string: "style" "default";
            string: "text" "some text";
         }
      }
   }
}

shell$ edje_external_inspector --detail=all 'emo*'
module {
   name: "emotion";
   friendly_name: "Emotion";
   types {
      type {
         name: "emotion";
         label: "Emotion";
         params {
            choice: "engine" "xine"; /* flags: REGULAR, choices: "xine" "gstreamer" */
            string: "file"; /* flags: REGULAR */
            bool: "play" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            double: "position" "0"; /* flags: REGULAR */
            bool: "smooth_scale" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            double: "audio_volume" "0.9"; /* flags: REGULAR */
            bool: "audio_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            int: "audio_channel" "0"; /* flags: REGULAR */
            bool: "video_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            int: "video_channel" "0"; /* flags: REGULAR */
            bool: "spu_mute" "0"; /* flags: REGULAR, false_str: "false", true_str: "true" */
            int: "spu_channel" "0"; /* flags: REGULAR */
            int: "chapter" "0"; /* flags: REGULAR */
            double: "play_speed" "1"; /* flags: REGULAR */
            double: "play_length" "0"; /* flags: REGULAR */
         }
      }
   }
}
}}}



SVN revision: 54999
2010-11-25 23:16:56 +00:00
helen 750d360c97 evas_object_image_file_set can receives null to unset
Passing null to the second parameter is the only way to unset
the file, so it should not have EINA_ARG_NONNULL to the file parameter

SVN revision: 54998
2010-11-25 19:41:59 +00:00
helen c508b793d5 eina_array_data_set can receives null to unset
Passing null to the second parameter is the only way to unset the data,
so it should not have EINA_ARG_NONNULL to the data parameter

SVN revision: 54997
2010-11-25 19:38:45 +00:00
Sebastian Dransfeld 71b3b7f19b TODO++
SVN revision: 54996
2010-11-25 19:08:08 +00:00
helen be33a14270 Missing include in eina_inlist.c
Including eina_log.h in eina_inlist.c
Removing warning:
        warning: implicit declaration of function ‘EINA_LOG_ERR’
If you do not include it, and compile eina with safety checks disabled,
Evas and Elementary will not find the EINA_LOG_ERR symbol when
compiling

SVN revision: 54995
2010-11-25 19:00:59 +00:00
Cedric BAIL db4e12ca36 * eet: add EET_DATA_DESCRIPTOR_ADD_VAR_ARRAY_STRING.
SVN revision: 54989
2010-11-25 15:59:46 +00:00
Sebastian Dransfeld 14f8c7b24f TODO++--
SVN revision: 54976
2010-11-25 09:41:08 +00:00
Sebastian Dransfeld ffee0081c7 Keep all queried themes in hash
The previous logic would create a fake theme object in
efreet_icon_find_theme_check() if we didn't find the theme. Later in
efreet_icon_theme_dir_scan_all() we would delete this theme, and then
segv. As the user hopefully wont query for a bunch of non existing
themes, and each theme object is fairly small, keep all in hash.

SVN revision: 54975
2010-11-25 09:04:49 +00:00
Sebastian Dransfeld e8e0615c08 only inherit hicolor if theme is valid
SVN revision: 54974
2010-11-25 09:04:39 +00:00
Sebastian Dransfeld 19e3d5ee33 Make icon test work without theme installed
SVN revision: 54973
2010-11-25 09:04:19 +00:00
Sebastian Dransfeld 6be2628e97 revert, name.internal is always set
SVN revision: 54965
2010-11-24 21:34:21 +00:00
Sebastian Dransfeld 58f3f4f363 check if name.internal exists
SVN revision: 54964
2010-11-24 21:31:24 +00:00
Sebastian Dransfeld 748f2423b1 only listen if icon cache is enabled
SVN revision: 54963
2010-11-24 21:29:35 +00:00
Sebastian Dransfeld 04f61e115b we need to monitor each theme dir too
xdg-icon-resource creates and deletes a file called
.xdg-icon-resource-dummy in each dir.

SVN revision: 54962
2010-11-24 21:18:56 +00:00
Sebastian Dransfeld cfe7ae6528 listen for IN_ATTRIB and IN_CLOSE_WRITE
use IN_ATTRIB|IN_CLOSE_WRITE instead of IN_MODIFY. Now we get changes if
attributes change, and only event when a user closes a changed file.
IN_MODIFY will trigger an event each time a write is flush'ed.

SVN revision: 54961
2010-11-24 21:15:52 +00:00
Sebastian Dransfeld d09a0965c5 print buf, not file
SVN revision: 54960
2010-11-24 21:15:36 +00:00
Sebastian Dransfeld 58fe7c7261 print all inotify events
SVN revision: 54959
2010-11-24 21:15:20 +00:00
Sebastian Dransfeld 9b4886777f right func to check for dir
SVN revision: 54958
2010-11-24 21:15:04 +00:00
Sebastian Dransfeld 54ec9cec67 listen to changes for icon dirs
SVN revision: 54957
2010-11-24 21:10:52 +00:00
Sebastian Dransfeld 8f7c47480d use convenience macro
SVN revision: 54954
2010-11-24 20:52:12 +00:00
Sebastian Dransfeld fabda0d559 reorder code
SVN revision: 54953
2010-11-24 20:51:48 +00:00
Sebastian Dransfeld b6a8ffb13d remove unneeded code
SVN revision: 54949
2010-11-24 19:37:01 +00:00
Vincent Torri ba3c69df53 fix mouse event on Win XP, should be fixed on Win CE
SVN revision: 54938
2010-11-24 17:04:03 +00:00
Iván Briano 111f4b85ad Use mempools to create parts
SVN revision: 54933
2010-11-24 15:26:54 +00:00
Sebastian Dransfeld 76bf6bc471 And always return
SVN revision: 54931
2010-11-24 11:30:12 +00:00
Sebastian Dransfeld 48471479e8 low prio for cache creation
SVN revision: 54930
2010-11-24 10:44:16 +00:00
Sebastian Dransfeld 7083a3f774 formatting
SVN revision: 54929
2010-11-24 10:33:49 +00:00
Sebastian Dransfeld 1f83aecc41 Always return before error handler
SVN revision: 54928
2010-11-24 10:33:40 +00:00
Sebastian Dransfeld b645d20ab2 fix memleak and use realpath directly
SVN revision: 54927
2010-11-24 10:33:30 +00:00
Sebastian Dransfeld cc981aba4d remove printf
SVN revision: 54926
2010-11-24 09:37:56 +00:00
Sebastian Dransfeld 213be68ade Only update if file has known extension
SVN revision: 54925
2010-11-24 09:37:46 +00:00
Sebastian Dransfeld 3fab0c44cb actually change file, as we don't listen to attrib
SVN revision: 54924
2010-11-24 09:37:35 +00:00
Mike Blumenkrantz e8ae0da271 fix compile
SVN revision: 54917
2010-11-24 02:40:54 +00:00
Mike Blumenkrantz b9588a913f fix conditional
SVN revision: 54916
2010-11-24 02:40:46 +00:00
Sebastian Dransfeld 263745797e Listening for changes is private for desktop
SVN revision: 54911
2010-11-23 21:54:01 +00:00
Sebastian Dransfeld 620121501f Don't close active desktop cache
SVN revision: 54910
2010-11-23 21:35:32 +00:00
Sebastian Dransfeld d6cd4ae87d always init cache
SVN revision: 54908
2010-11-23 21:16:19 +00:00
Sebastian Dransfeld f557446b92 NULL pointers after deletion
SVN revision: 54907
2010-11-23 21:15:55 +00:00
Sebastian Dransfeld 3a0be239f9 And compile without ICON_CACHE
SVN revision: 54905
2010-11-23 20:26:50 +00:00
Sebastian Dransfeld e2c6e11724 move cache file handling from desktop to cache
SVN revision: 54901
2010-11-23 20:14:13 +00:00
Sebastian Dransfeld 69e2339c4f remove unused variables
SVN revision: 54900
2010-11-23 20:13:40 +00:00
Cedric BAIL 90b57c2ed0 * ecore: improve speed by reusing pipe and allocated structure.
SVN revision: 54896
2010-11-23 18:32:17 +00:00
Cedric BAIL 6f5333d336 * ecore: small cleanup.
SVN revision: 54893
2010-11-23 16:52:18 +00:00
Sebastian Dransfeld 38bad7fac0 catch term, not int
SVN revision: 54892
2010-11-23 16:50:16 +00:00
Sebastian Dransfeld 5db48201ce trap sigint
SVN revision: 54891
2010-11-23 16:49:46 +00:00
Mike Blumenkrantz 6bed064f60 revert this for crankypants
SVN revision: 54888
2010-11-23 14:46:12 +00:00
Sebastian Dransfeld 7e584e6293 ecore is handled in main
SVN revision: 54887
2010-11-23 13:30:51 +00:00
Sebastian Dransfeld 15a241534c touch an update file on completion
SVN revision: 54886
2010-11-23 13:30:39 +00:00
Sebastian Dransfeld f6cb6541e3 rename fd to clarify usage
SVN revision: 54885
2010-11-23 13:30:17 +00:00
Mike Blumenkrantz 24703f1433 I'm tired of you, ecore_getopt. now you get the hammer.
SVN revision: 54863
2010-11-23 11:10:41 +00:00
Mike Blumenkrantz a1c347ecd5 more correctly fix no-option parsing to still parse when no non-arg options are found
SVN revision: 54862
2010-11-23 10:56:50 +00:00
Mike Blumenkrantz c6732ad9cc fix bug where getopt_parse returns argc as the first nonopt argument when there are no nonopt arguments
SVN revision: 54861
2010-11-23 10:36:15 +00:00
Mike Blumenkrantz 4a3a740a3a fix bug where getopt_parse returns 1 when there are no args
SVN revision: 54860
2010-11-23 10:25:58 +00:00
Vincent Torri 73aad0242d whitespace --
SVN revision: 54856
2010-11-23 07:38:46 +00:00
P Purkayastha fad048f1d2 From: P Purkayastha <ppurka@gmail.com>
Subject: Re: [e-users] eina: sandbox violation on emerge

On 11/21/2010 12:14 AM, P Purkayastha wrote:
> Hi,
> it seems eina is triggering a sandbox violation on emerge. Essentially
> it tries to remove a file present in / while installing. Seems to be
> something new added in revision r54731:
>
http://trac.enlightenment.org/e/changeset/54731/trunk/eina/src/modules/mp
> The build log is attached.

Replacing the $(controllerdir) with $(DESTDIR)$(controllerdir) makes 
portage happy, and the installation succeeds:

cd "$S/src/modules/mp"
find . -name Makefile.am -exec sed -i -e '/rm -f 
\$(controllerdir)/s/\$/\$(DESTDIR)\$/' {} \;



SVN revision: 54853
2010-11-23 07:05:43 +00:00
Gustavo Sverzut Barbieri bc143bf7ad oops, and the configure.ac
SVN revision: 54848
2010-11-22 23:27:14 +00:00
Gustavo Sverzut Barbieri d964e8e5cb welcome edje_inspector.
This tool inspects a binary EDJ file and dumps group names, part
names, parts, programs, externals, images, fonts and global data of
it. The output is in both human readable (edc-like) and machine
readable (easily parseable with shell scripts).

It allows filtering of groups, parts and programs names using glob
expressions (fnmatch). Also allows filtering of parts/prgrams that are
marked with "api:".

My idea is to later change elementary-generator to use this tool and
generate code for any Edje file, generating stub code for windows and
layouts marked with names "elm/win/*" and "elm/layoyt/application/*",
exposing parts marked as "api:". It would be much more helpful and
extensible than the current generator that is based on pre-defined C
code.



SVN revision: 54846
2010-11-22 23:24:44 +00:00
Mike Blumenkrantz a5157e4a03 fix calloc usage
SVN revision: 54841
2010-11-22 23:04:45 +00:00
Gustavo Sverzut Barbieri 999737f657 add missing edit method: edje_edit_font_path_get()
SVN revision: 54836
2010-11-22 22:07:41 +00:00
Gustavo Sverzut Barbieri 1c9b6a174b keep the same order so eet serialization works properly.
Fonts should be the same as Edje_Font_Directory_Entry as it's
serialized using the same eet descriptor, so the fields should match
their order.



SVN revision: 54835
2010-11-22 22:05:03 +00:00
Sebastian Dransfeld 86eb1f3367 TODO++
SVN revision: 54834
2010-11-22 21:31:35 +00:00
Sebastian Dransfeld 2762d8ba37 Always emit icon cache update event
If file starts with icon_ and ends with .cache, we have a new icon
cache, emit event.

SVN revision: 54833
2010-11-22 21:30:43 +00:00
Sebastian Dransfeld 7b68d53abc fix fallback icon searching
SVN revision: 54831
2010-11-22 20:51:34 +00:00
Sebastian Dransfeld d959bab700 Only remove from existing list
SVN revision: 54830
2010-11-22 20:51:20 +00:00
Sebastian Dransfeld 09aed7876d close cache file after 60 seconds of inactivity
SVN revision: 54829
2010-11-22 20:51:05 +00:00
Sebastian Dransfeld bdb6cdffd0 read fallback icon from cache
SVN revision: 54828
2010-11-22 20:50:46 +00:00
Sebastian Dransfeld c36317f77c do ecore_init, so ecore_time_get works
SVN revision: 54827
2010-11-22 20:50:32 +00:00
Sebastian Dransfeld 5c4adef911 And use right error handler
SVN revision: 54826
2010-11-22 20:50:09 +00:00
Sebastian Dransfeld 997158486a ecore_file is init'ed in base
SVN revision: 54825
2010-11-22 20:49:52 +00:00
Sebastian Dransfeld 12550e7b58 init ecore_file in base
And add missing ecore_*shutdown() in shutdown

SVN revision: 54824
2010-11-22 20:49:22 +00:00
Sebastian Dransfeld 3624014340 Remove common included header
SVN revision: 54823
2010-11-22 20:49:08 +00:00
Sebastian Dransfeld 44264c2d8f Add ecore headers to private header
Used everywhere

SVN revision: 54822
2010-11-22 20:48:55 +00:00
Sebastian Dransfeld 7ad68afff2 Don't add a new public header
SVN revision: 54821
2010-11-22 20:48:41 +00:00
Sebastian Dransfeld d2b2019675 We always need to to the tasks in init on init
SVN revision: 54820
2010-11-22 20:48:24 +00:00
Sebastian Dransfeld 3c6ce92aa4 remove erronous chars
SVN revision: 54819
2010-11-22 20:47:14 +00:00
Gustavo Sverzut Barbieri dd19bf1205 fix screensaver events, /me spanks raster (r53942)
SVN revision: 54791
2010-11-22 14:27:43 +00:00
Cedric BAIL c9b34768ef * evas: remove useless header.
SVN revision: 54790
2010-11-22 14:19:08 +00:00
Sebastian Dransfeld 862412f11d rename
SVN revision: 54789
2010-11-22 14:16:58 +00:00
Sebastian Dransfeld bbf23d8ab2 rename
SVN revision: 54788
2010-11-22 14:16:48 +00:00
Sebastian Dransfeld 64f366ee77 TODO++
SVN revision: 54787
2010-11-22 14:16:38 +00:00
Sebastian Dransfeld 8a9a0bbc15 TODO++
SVN revision: 54786
2010-11-22 14:16:29 +00:00
Sebastian Dransfeld 9941eba9d6 check for NULL
SVN revision: 54785
2010-11-22 14:16:19 +00:00
Sebastian Dransfeld 87baeb631b Execute cache creator and listen for changes
SVN revision: 54784
2010-11-22 14:16:09 +00:00
Sebastian Dransfeld 04d52dcd86 cache update is a generic event
SVN revision: 54783
2010-11-22 14:15:59 +00:00
Sebastian Dransfeld 537f3fd258 include Ecore.h
SVN revision: 54782
2010-11-22 14:15:50 +00:00
Sebastian Dransfeld a16314cd88 init ecore in main init
SVN revision: 54781
2010-11-22 14:15:40 +00:00
Sebastian Dransfeld 93429120f9 If only one path, only check extension
SVN revision: 54780
2010-11-22 14:15:30 +00:00
Carsten Haitzler 1c34083001 lets... use our return value shall we? <- THATS the missing icons bug
i was telling you about!



SVN revision: 54776
2010-11-22 09:47:36 +00:00
Carsten Haitzler dab3599578 now we know it works - doc it.
SVN revision: 54765
2010-11-21 14:50:47 +00:00
Cedric BAIL 94ca4ee782 * eet: use eina configuration information correctly.
Patch from the OpenBSD team :
              Fabien Romano <fabien@openbsd.org>
              Jonathan Armani <armani@opensbd.org>


SVN revision: 54762
2010-11-21 11:07:50 +00:00
Cedric BAIL 5812f44f08 * eina: make -C doesn't exist on OpenBSD.
Patch from the OpenBSD team :
              Fabien Romano <fabien@openbsd.org>
              Jonathan Armani <armani@opensbd.org>



SVN revision: 54761
2010-11-21 11:03:53 +00:00
Cedric BAIL 8d85e48480 * eina: forgotten benchmark file.
Thanks to the OpenBSD team :
              Fabien Romano <fabien@openbsd.org>
              Jonathan Armani <armani@opensbd.org>


SVN revision: 54760
2010-11-21 10:58:57 +00:00
Cedric BAIL 0d5e9175bf * eina: use available mempool.
Patch from the OpenBSD team :
	      Fabien Romano <fabien@openbsd.org>
	      Jonathan Armani <armani@opensbd.org>	      


SVN revision: 54759
2010-11-21 10:54:26 +00:00
Cedric BAIL 85a8b8834f * eet: sync with eina efl_threads.m4.
Patch from the OpenBSD team :
              Fabien Romano <fabien@openbsd.org>
              Jonathan Armani <armani@opensbd.org>


SVN revision: 54758
2010-11-21 10:54:14 +00:00
Carsten Haitzler c928276a8f fix clicked when on hold set.
SVN revision: 54757
2010-11-21 06:28:13 +00:00
Carsten Haitzler 1f08779356 fix possible leak.
SVN revision: 54755
2010-11-21 05:18:19 +00:00
Cedric BAIL 9fa5bbcc82 * eina: fix pthread library and flags typos.
Patch by Fabien Romano <fabien@openbsd.org>.


SVN revision: 54753
2010-11-20 22:14:57 +00:00
Vincent Torri 4f358c2c58 remove useless .la file
SVN revision: 54731
2010-11-20 00:03:55 +00:00
Andreas Volz f6b5aa850a allow to edje_object_part_external_param_set/edje_object_part_external_param_get with internal objects too. Currently implemented support for EDJE_PART_TYPE_TEXT and EDJE_PART_TYPE_TEXTBLOCK and param "text".
SVN revision: 54727
2010-11-19 22:50:33 +00:00
Mike Blumenkrantz 249a42185d more descriptive error message for inlist_remove when item is not an inlist
SVN revision: 54711
2010-11-19 05:43:28 +00:00
Gustavo Sverzut Barbieri 6cbd3d09f4 warning cleanup.
there are still warnings from write(2) calls, they should be handled,
but no time now.



SVN revision: 54710
2010-11-19 02:51:46 +00:00
Gustavo Sverzut Barbieri b098f1b667 improve emotion_test, make better use of getopt, be less strict.
SVN revision: 54708
2010-11-19 02:36:18 +00:00
Mike Blumenkrantz ceec64fa76 to fix the bug that morlenxus found, I have crashed my own computer.
this commit fixes a rare case where a fdh can be in the delete list twice, causing a double free


SVN revision: 54702
2010-11-18 19:56:26 +00:00
Mike Blumenkrantz 12c4b5b595 fix annoying uninitialized value warning
SVN revision: 54699
2010-11-18 18:45:39 +00:00
Cedric BAIL c89cf15ed7 * eet: correctly handle length of ciphered/compressed data.
SVN revision: 54683
2010-11-18 10:30:53 +00:00
Mike Blumenkrantz 080d4c8d35 remove the last (I think?) O(n) operation from ecore fd handling
SVN revision: 54669
2010-11-18 07:23:14 +00:00
Mike Blumenkrantz fcd427bd43 spruce up error message a bit
SVN revision: 54667
2010-11-18 05:49:25 +00:00
Cedric BAIL c381181854 * ecore: revert comment.
This code is here to prevent the premature death of thread when
	apps killall of them, before recreating them again. This avoid
	call to pthread_create and increase throughput. The only information
	that I couldn't determine pragmatically is the timing. So that's
	the time the main loop has to create another Ecore_Thread, before
	needing to call pthread_create again.


SVN revision: 54633
2010-11-17 16:26:08 +00:00
Cedric BAIL e2ea02acfa * ecore: fix event_window for Ecore_SDL.
SVN revision: 54630
2010-11-17 13:53:04 +00:00
Tiago Rezende Campos Falcao 1df384f24a Fix snippets
SVN revision: 54629
2010-11-17 11:42:50 +00:00
Tiago Rezende Campos Falcao 6d8654c994 edje AUTHORS += tiago
SVN revision: 54628
2010-11-17 11:42:47 +00:00
Mike Blumenkrantz 24c0ebda74 fix error handling of plaintext connect, print ERR on connect failure
SVN revision: 54624
2010-11-17 09:31:15 +00:00
Mike Blumenkrantz 92e255f0dc benchmark/test apps for ecore_con server/client as well as fd handlers
SVN revision: 54623
2010-11-17 08:29:33 +00:00
Mike Blumenkrantz a84f3febac fix list removal for prep/buf functions to avoid annoying eina warnings
SVN revision: 54620
2010-11-17 06:57:29 +00:00
Mike Blumenkrantz 1fc9591c57 scaling optimizations round 2: add list for fd handler buffer functions
also delete fdhs from prep/buf lists on cleanups when possible


SVN revision: 54619
2010-11-17 06:50:52 +00:00
Mike Blumenkrantz 8edaf11298 clean up unused warnings
SVN revision: 54618
2010-11-17 06:41:41 +00:00
Mike Blumenkrantz d9882a6c00 add doxy for ecore_main_fd_handler_prepare_callback_set, add massive optimization for fd handler scaling (only noticeable with 10000+ fd handlers) to only attempt running prep functions for handlers which have them
SVN revision: 54617
2010-11-17 06:24:49 +00:00
Sebastian Dransfeld 027c174f9d Find icons in cache
SVN revision: 54616
2010-11-16 21:50:53 +00:00
Sebastian Dransfeld 159b8ddb60 realpath will return empty string when not found
SVN revision: 54615
2010-11-16 21:50:38 +00:00
Sebastian Dransfeld 2894e4aedc if -> ifdef
SVN revision: 54614
2010-11-16 21:49:45 +00:00
Mike Blumenkrantz 2747a8a86b optimization pass #1: 5% server speed increase
only get client ip addr when ecore_con_client_ip_get() is called, always stringshare ip addresses


SVN revision: 54612
2010-11-16 21:32:50 +00:00
Cedric BAIL 4fc861fe81 * ecore: raise gl_sdl priority over software_sdl.
SVN revision: 54595
2010-11-16 15:38:22 +00:00
Cedric BAIL 6de3f7e778 * evas: fix static build of GL SDL engine.
SVN revision: 54589
2010-11-16 13:09:14 +00:00
Cedric BAIL bc9e164c12 * evas: fix frame building.
SVN revision: 54584
2010-11-16 10:52:10 +00:00
Sebastian Dransfeld e2a715ccc9 create cache for fallback icons
SVN revision: 54583
2010-11-16 10:32:21 +00:00
Sebastian Dransfeld 8a1cde087d formatting
SVN revision: 54582
2010-11-16 10:32:11 +00:00
Sebastian Dransfeld e4c39fa555 export depcreated user dir
SVN revision: 54581
2010-11-16 10:32:01 +00:00
Sebastian Dransfeld bc008e3a93 local variable should be static
SVN revision: 54580
2010-11-16 10:31:49 +00:00
Sebastian Dransfeld 2849f58ca9 Remove duplicate code, mark strict spec
SVN revision: 54579
2010-11-16 08:28:52 +00:00
Gustavo Sverzut Barbieri e4d70b8f89 missing consts...
SVN revision: 54578
2010-11-16 08:18:12 +00:00
Mike Blumenkrantz 28a0b763d2 fix compile warnings without using private functions
SVN revision: 54577
2010-11-16 03:04:55 +00:00
Sebastian Dransfeld b83238ae14 Start of icon cache
Please test efreet_icon_cache_create and efreet_icon_cache_dump, and
check if it is fast enough on a slow system.

SVN revision: 54575
2010-11-15 21:07:22 +00:00
Sebastian Dransfeld e8ce2014b0 TODO++
SVN revision: 54574
2010-11-15 21:07:05 +00:00
Sebastian Dransfeld aec56c9e24 share edd between lib and bin
SVN revision: 54573
2010-11-15 21:06:52 +00:00
Sebastian Dransfeld bc9f811710 remove duplicate code, and mark strict spec
SVN revision: 54572
2010-11-15 21:04:42 +00:00
Mike Blumenkrantz 5c4f02671a fix some compile warnings
SVN revision: 54570
2010-11-15 19:42:00 +00:00
Cedric BAIL 6c06003eb1 * eet: fix make check with tarball.
Reported by Thomas Sachau (Tommy[D]) <tommy@gentoo.org>


SVN revision: 54563
2010-11-15 13:11:40 +00:00
Carsten Haitzler a27ab1e696 see comment.
SVN revision: 54549
2010-11-14 09:00:24 +00:00