Commit Graph

12203 Commits

Author SHA1 Message Date
Vincent Torri aad53ed90d do not include some headers if vc++ is used
SVN revision: 55547
2010-12-14 05:56:46 +00:00
Vincent Torri 5d0305be13 use Eina_Bool instead of _Bool for consistency
SVN revision: 55546
2010-12-14 05:49:46 +00:00
Vincent Torri 3aedf59c9b declare variables at the beginning of the block
SVN revision: 55545
2010-12-14 05:42:25 +00:00
Carsten Haitzler d3cd14c805 lockdebug - be able to find mutexes that lock for a while... but.. i
found what was blocking.. and it wasnt a mutex! well.. put this in for
further debugging later.



SVN revision: 55544
2010-12-14 05:41:32 +00:00
Carsten Haitzler 60458017fb warning--
SVN revision: 55543
2010-12-14 03:11:03 +00:00
Carsten Haitzler bd3ae0dc9d fix warning.
SVN revision: 55542
2010-12-14 03:09:01 +00:00
Vincent Torri 2ab0c8e406 Add Visual Studio 2008 files
SVN revision: 55539
2010-12-13 17:52:03 +00:00
Cedric BAIL ab1228576f * evas: fix a long standing bug. Don't know how no one
else saw it before.


SVN revision: 55536
2010-12-13 13:25:39 +00:00
Carsten Haitzler a9028c4d63 discomfitor... SPANK! REVERT REVERT REVERT! i've been sitting in a
text console for a while because of this. and when dr. evil sits in a
text console for a while... he gets angry. when dr. evil gets angry,
mr. bigglesworth gets upset... and when mr. migglesworth gets upset...
PEOPLE DIE!

/me aims some sharks with laser beams @ discomfitor

(run e17 under valgrind. find out).



SVN revision: 55531
2010-12-13 07:26:21 +00:00
Vincent Torri 0fe21742f6 add dirname() function
SVN revision: 55530
2010-12-13 05:20:56 +00:00
Carsten Haitzler b493685f89 set clobber info right for neon test.
SVN revision: 55529
2010-12-13 03:56:53 +00:00
Vincent Torri 22d572c56a fix potential problem with Windows 64 bits API.
SVN revision: 55528
2010-12-12 23:09:24 +00:00
Vincent Torri 202d5b65f4 use '#pragma message' instead of '#warning' when vc++ is used
SVN revision: 55527
2010-12-12 22:49:01 +00:00
Vincent Torri 27a9f2f86e declare variables at the beginning of the block
SVN revision: 55526
2010-12-12 22:46:39 +00:00
Vincent Torri 562d84c432 add usleep() for vc++
SVN revision: 55525
2010-12-12 22:44:06 +00:00
Vincent Torri d8f05983b7 add eina_sched.c to the vcproj file
SVN revision: 55524
2010-12-12 22:42:20 +00:00
Sebastian Dransfeld 58e0a470cf use convenience macro
SVN revision: 55523
2010-12-12 22:17:05 +00:00
Mike Blumenkrantz 75fee3c938 forgot a null check
SVN revision: 55522
2010-12-12 20:38:27 +00:00
Vincent Torri 2df9d39f59 useless path
SVN revision: 55520
2010-12-12 18:18:34 +00:00
Vincent Torri b467360e80 change the size of the buffer
SVN revision: 55519
2010-12-12 18:09:35 +00:00
Mike Blumenkrantz dd8fe515a3 fix usage of ecore_con functions to avoid magic failures: SOMEONE WHO KNOWS THIS CODE PLEASE DOUBLE CHECK FAILURE CASE RETURN VALUES
SVN revision: 55512
2010-12-12 14:41:04 +00:00
Sebastian Dransfeld 8babc062be delay closing of icon theme cache
SVN revision: 55502
2010-12-11 20:37:17 +00:00
Vincent Torri d8765063db * fix DSO problem
* simplify a bit the autotools
 * add the possibility to disable the test


SVN revision: 55499
2010-12-11 17:04:34 +00:00
Mike Blumenkrantz ee1d0dbc23 use more explicit error checks
SVN revision: 55498
2010-12-11 16:51:29 +00:00
Vincent Torri 2e0a136385 warnings--
SVN revision: 55496
2010-12-11 13:17:26 +00:00
Vincent Torri 2ce2e79087 update vcproj file
SVN revision: 55495
2010-12-11 13:13:10 +00:00
Vincent Torri 063cfb735b don't redefine macro when using Visual Studio
SVN revision: 55494
2010-12-11 13:11:59 +00:00
Vincent Torri b237c16cf6 suppress useless file
SVN revision: 55493
2010-12-11 10:40:29 +00:00
Vincent Torri 66673d63a6 update visual studio files
SVN revision: 55492
2010-12-11 10:39:00 +00:00
Vincent Torri 4594a53cd1 declare variables at the beginning of the block
SVN revision: 55491
2010-12-11 09:00:13 +00:00
Vincent Torri d88618afc5 EINA_MAGIC is already defined with a ';'. Remove it to fix
compilation with vc++

SVN revision: 55490
2010-12-11 07:58:41 +00:00
Vincent Torri 3a7c89cdf7 add config.h for Windows, to define VMAJ and al.
SVN revision: 55489
2010-12-11 07:52:08 +00:00
Vincent Torri 5801dd69ff use float (C99) variants of the math functions to avoid double <--> float casts
SVN revision: 55488
2010-12-11 07:51:19 +00:00
Vincent Torri 7d368bd7a0 missing cast
SVN revision: 55487
2010-12-11 07:09:07 +00:00
Vincent Torri bd8506e727 warning--
SVN revision: 55486
2010-12-11 07:02:25 +00:00
Carsten Haitzler c6471b1e14 formatting fixups.
SVN revision: 55485
2010-12-11 04:05:52 +00:00
Carsten Haitzler 37a7c5bce9 fix void ptr math. odd that no warnings happened before with all my
warning flags on.



SVN revision: 55484
2010-12-11 03:57:05 +00:00
Carsten Haitzler 71def62b47 revert part of commit - broke compilation. no uintptr_t in linux
yeaders by default - likely breaks even more.



SVN revision: 55483
2010-12-11 03:44:33 +00:00
Vincent Torri e84f5357ff * make vc++ happy with ERR()
* use uintptr_t where needed.

Please someone check if the compilation is still good on linux (I'm on
Windows), to see if a header must be included for uintptr_t or not.

SVN revision: 55479
2010-12-11 00:45:26 +00:00
Vincent Torri f39a7b7fcd update Visual Studio files
SVN revision: 55478
2010-12-11 00:42:29 +00:00
Vincent Torri 84b6c26d99 warning--
SVN revision: 55477
2010-12-11 00:41:31 +00:00
Vincent Torri 0d2cd096b4 warning--
SVN revision: 55476
2010-12-11 00:40:52 +00:00
Vincent Torri d1e8eafa53 warning--
SVN revision: 55475
2010-12-11 00:40:05 +00:00
Vincent Torri 560d9a3ab0 put EINA_MAGIC at the end of the structure
SVN revision: 55474
2010-12-11 00:39:28 +00:00
Mike Blumenkrantz 9b17481f53 handle ARES_ECONNREFUSED
SVN revision: 55473
2010-12-11 00:25:46 +00:00
Vincent Torri 4fb7d6e26b fix warning
SVN revision: 55472
2010-12-10 23:45:29 +00:00
Vincent Torri 62ed318282 [ecore_win32] Better move and resize of windows. Needs a lot of love though
SVN revision: 55470
2010-12-10 21:15:05 +00:00
Vincent Torri 2f44146d60 update vcproj files
SVN revision: 55469
2010-12-10 21:12:28 +00:00
Sebastian Dransfeld 99d014aa20 TODO++
SVN revision: 55468
2010-12-10 20:32:28 +00:00
Vincent Torri 8f3ad6ed15 DSO problem: math functions are used in edje_cc
SVN revision: 55443
2010-12-10 07:59:48 +00:00
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