Commit Graph

12237 Commits

Author SHA1 Message Date
Eduardo de Barros Lima adff898079 Add basic cookie support to Ecore_Con_Url.
This commit adds some simple wrapper functions for libcurl
cookie-related code to Ecore_Con_Url.

It is now possible to enable the cookie engine, clear cookies and
dump/load them from files.

Cookies in both HTTP header-style and cookie-jar are supported.

Patch by Raphael Kubo da Costa <kubo@profusion.mobi>



SVN revision: 55934
2011-01-06 16:10:38 +00:00
Atton Jonathan aa2733a4ba fix evas map bug -
From: Atton Jonathan <jonathan.atton@gmail.com>
Subject: Re: [E-devel] Evas map and the attribute "color" and clip

Here a application. The test here is a bit different from the case in my
appliaction.

I have :
- 1 gengrid
- 1 elm layout as icon in the grid item
- a edje group swallowed in the elm layout. This group has a rotation.
It is
a red rectangle.

When I select the item :
- if no map : the rectangle disappear because the grid item add a
rectangle
in front of the red rectangle.
- if map : only a part of the red rectangle disappear. If I resize the
window sometime the rectangle disappear, sometimes a part appear.

2 screenshots are in the archive.

:)
that one.



SVN revision: 55927
2011-01-06 08:02:37 +00:00
Carsten Haitzler b60120b26b ok rafael/rui - i've deprecated send and made a get and post call that
will explicitly do a get or a post. send is still there (deprecated)
and it just does what it did before - it guesses effectively. please
comment. :)



SVN revision: 55926
2011-01-06 06:33:25 +00:00
Mike Blumenkrantz 5c041c8421 remove dummy close() calls
SVN revision: 55924
2011-01-06 04:00:39 +00:00
Mike Blumenkrantz d434bb981e more fd fixes because I'm braindead today
SVN revision: 55904
2011-01-05 21:13:38 +00:00
Mike Blumenkrantz 3da7cbc47c zero errno before open calls
SVN revision: 55902
2011-01-05 20:32:42 +00:00
Mike Blumenkrantz 1707697d8a ecrustified for formatting
SVN revision: 55898
2011-01-05 18:46:32 +00:00
Mike Blumenkrantz 961244f70a add O_RDONLY to open()
SVN revision: 55897
2011-01-05 18:44:55 +00:00
Mike Blumenkrantz d47e3516da on feedback from kay sievers, use open() to check for removable media presence
SVN revision: 55895
2011-01-05 18:42:49 +00:00
Vincent Torri f3df2fcce9 typo
SVN revision: 55858
2011-01-04 23:16:34 +00:00
Vincent Torri 4bc3bb0962 * src/lib/evil_unistd.c:
* src/lib/evil_unistd.h:
	declare and define getpid() for Windows CE.



SVN revision: 55854
2011-01-04 18:52:28 +00:00
Vincent Torri c8c4f6bf9f make eina compile again on Windows CE
SVN revision: 55853
2011-01-04 18:09:22 +00:00
Vincent Torri 84512c288a dirent.h should be installed once only
SVN revision: 55851
2011-01-04 17:39:22 +00:00
Michael BOUCHAUD 29b6b151b1 eio: don't forget to init the list of links. Avoid segfault with eio_dir_copy and maybee(surely) others function
SVN revision: 55848
2011-01-04 16:58:58 +00:00
Vincent Torri d7ed7006ac * src/lib/dlfcn/dlfcn.h:
define (temporary) PATH_MAX on Windows CE.
	cegcc has a bug with limits.h.
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	undefine temporary the definition of perror() on Windows CE



SVN revision: 55845
2011-01-04 13:37:24 +00:00
Vincent Torri 88292a5266 update MAINTAINERCLEANFILES
SVN revision: 55844
2011-01-04 13:35:35 +00:00
Vincent Torri 27dddc444b order of .la (cosmetic)
SVN revision: 55843
2011-01-04 12:49:17 +00:00
Mike Blumenkrantz cde9f435f7 some updates to ecore_fd_valid: add dummy closes to track with strace (sup k-s) and switch sleep() to pause()
SVN revision: 55838
2011-01-04 06:58:34 +00:00
Carsten Haitzler e8056f8f83 just in case - check if malloc fails.
SVN revision: 55837
2011-01-04 06:10:31 +00:00
Carsten Haitzler f9277782e7 ooh map bug! bug bug bug! fix! (thanks valgrind)
SVN revision: 55826
2011-01-03 10:12:17 +00:00
Vincent Torri ea55cf1bf6 update MAINTAINERCLEANFILES
SVN revision: 55822
2011-01-03 08:27:25 +00:00
Vincent Torri 00d864e8a6 * check if dlopen() is in libc first, then in libdl
* check if clock_gettime() is in libc first, then in librt

some systems have these functions in libc, or in a specific lib.
This allows to correctly set dlopen_libs and rt_libs variables.



SVN revision: 55821
2011-01-03 08:16:55 +00:00
Vincent Torri 588c29451b better include of headers
SVN revision: 55820
2011-01-03 08:11:36 +00:00
Vincent Torri 49815da5c9 fix a bit doxy
SVN revision: 55819
2011-01-03 08:10:33 +00:00
Vincent Torri 55f5a79ec1 update MAINTAINERCLEANFILES
SVN revision: 55818
2011-01-03 08:10:00 +00:00
Vincent Torri 4547675f27 update MAINTAINERCLEANFILES
SVN revision: 55817
2011-01-03 08:03:25 +00:00
Vincent Torri 00c0b6c829 autom4te.cache is deleted at distbuild time, so at
maintainerclean time to as the latter calls the former


SVN revision: 55816
2011-01-03 08:00:22 +00:00
Vincent Torri 9d25d02381 update MAINTAINERCLEANFILES
SVN revision: 55815
2011-01-03 07:50:26 +00:00
Vincent Torri 6bc8e1b1b2 missing file in MAINTAINERCLEANFILES
SVN revision: 55814
2011-01-03 07:23:28 +00:00
Vincent Torri 4f74d075c6 better namespace
SVN revision: 55813
2011-01-03 07:16:01 +00:00
Carsten Haitzler 039fe1e4bf wtf? why a ! ... ??? that was wrong-ish.
SVN revision: 55802
2011-01-03 01:29:37 +00:00
Mike Blumenkrantz 677b5d0c73 this adds a small helper function for use in finding cases where the epoll fd gets deleted and calls it after each fdh function
if epoll support is not enabled, the function does nothing
this will be removed prior to actual release, but will be very useful in finding the last epoll bugs until then


SVN revision: 55791
2011-01-01 03:07:58 +00:00
Tom Hacohen c730fdf95e Fixed documentation a bit.
SVN revision: 55778
2010-12-30 07:51:26 +00:00
Mike Blumenkrantz ab8ceec8eb Hey,
below is a patch to delete mempools in eina_quadtree_shutdown() (i 
currently can not commit).

Vincent


SVN revision: 55767
2010-12-28 13:22:12 +00:00
Tom Hacohen 1557b40d76 Evas textblock: Fixed evas_textblock_cursor_pos_set's handling with out of bound positions.
SVN revision: 55757
2010-12-26 12:01:21 +00:00
Carsten Haitzler 1046621d6a and we were missing vsync set support in ecore-evas, but had indirect
support. fix.



SVN revision: 55755
2010-12-26 10:17:31 +00:00
Carsten Haitzler efc042f2e7 missing support for swapinterval api in glx.
SVN revision: 55754
2010-12-26 10:15:28 +00:00
Carsten Haitzler 19d4f8affc add unload callback - missing event problem that makes it impossible
for client apps that tried to be efficient with preloads to adapt
when the preloaded data is taken away from them. this allows it.
missing callback api bug fix.



SVN revision: 55745
2010-12-24 16:04:27 +00:00
Tom Hacohen 6481adfb2b Evas textblock: Fixed cursor_pos_get/set to be absolute, and not node specific like they were.
SVN revision: 55738
2010-12-23 12:47:23 +00:00
Daniel Juyung Seo 9f65268566 From: Daniel Juyung Seo <seojuyung2@gmail.com>
Subject: [E-devel]  [Patch] embryo documentation fix

I made a patch for embryo documentation.

The name of Small programming language was renamed to Pawn.
http://www.compuphase.com/small.htm
I modified embryo documentation according to that change.



SVN revision: 55682
2010-12-21 07:23:03 +00:00
Mike McCormack 27c7fdcc2e From: Mike McCormack <mj.mccormack@samsung.com>
Date: Mon, 20 Dec 2010 17:47:19 +0900
Subject: [PATCH] Deleting the same fdh twice is an error


SVN revision: 55676
2010-12-20 22:52:41 +00:00
Carsten Haitzler fa14105442 and move efreet tests out of src tree too.
SVN revision: 55641
2010-12-19 03:15:19 +00:00
Carsten Haitzler e1ac73922d move ethumb tests to TEST
SVN revision: 55640
2010-12-19 03:12:14 +00:00
Carsten Haitzler 26158c9510 remove eina tests
SVN revision: 55637
2010-12-19 03:05:58 +00:00
Carsten Haitzler dac7737514 move eet tests to TEST dir too. same reasons as for ecore tests going.
SVN revision: 55636
2010-12-19 02:58:16 +00:00
Carsten Haitzler 163bb8a5f5 remove test suite from ecore. gentoo users/ebuild maiontainers are
simply a pain. no more tests within src trees. talk to gentoo if you
don't like it. i wasted enough of my day already trying to talk sense
into them. if we dont tempt them with stuff they dont comprehend then
its less pain for us having to answer their questions.



SVN revision: 55635
2010-12-19 02:46:01 +00:00
Vincent Torri 08f413e8f9 remove useless private libraries in ecore-win32.pc.in
SVN revision: 55633
2010-12-18 19:24:59 +00:00
Vincent Torri 741aaf1016 fix segmentation fault in basename() and dirname()
SVN revision: 55632
2010-12-18 18:30:32 +00:00
Vincent Torri 4e50c40cb0 use _tzset instead of tzset with vc++
SVN revision: 55631
2010-12-18 17:37:50 +00:00
Vincent Torri bb9de107ad preload_done member is declared only if async preload is enabled
SVN revision: 55627
2010-12-18 10:09:58 +00:00
Vincent Torri c60b4933c0 preload_done member is declared only if async preload is enabled
SVN revision: 55626
2010-12-18 09:59:50 +00:00
Vincent Torri 9064029863 missing declaration
SVN revision: 55625
2010-12-18 08:48:58 +00:00
Carsten Haitzler 2f564887ec formatting
SVN revision: 55624
2010-12-18 01:47:29 +00:00
Mike Blumenkrantz 9a4f67c726 stop trying to rm a dir and rm -rf the dir
SVN revision: 55614
2010-12-17 18:21:08 +00:00
Vincent Torri 366ab7acf0 vc++ does not like unistd.h. Actually, maybe we should check some
non standard headers in configure.ac and guard them appropriately

SVN revision: 55613
2010-12-17 17:00:57 +00:00
Sebastian Dransfeld df817afd9a only check errno if num < 0
SVN revision: 55611
2010-12-17 12:09:14 +00:00
Vincent Torri 2e56f9a11d add timeval structure declaration for vc++
SVN revision: 55608
2010-12-17 10:18:56 +00:00
Mike Blumenkrantz 14751dc4a1 add notes to prevent future breaking of ecore_con_ssl
SVN revision: 55606
2010-12-17 09:02:44 +00:00
Sebastian Dransfeld 3ce611e057 formatting
SVN revision: 55605
2010-12-17 08:48:36 +00:00
Sebastian Dransfeld a8780986e8 don't accept 0 return
SVN revision: 55604
2010-12-17 08:44:53 +00:00
Sebastian Dransfeld 9a6b8adfec only emit ECORE_CON_EVENT_SERVER_DATA when data
SVN revision: 55602
2010-12-17 08:15:52 +00:00
Vincent Torri 98c6a73879 use the same m4 variables than the other EFL
SVN revision: 55596
2010-12-16 15:54:49 +00:00
Cedric BAIL ae9917c9f2 * ecore: SPANK ! SPANK ! SPANK !
The value of errno is only know when the result of a syscall
	tell you to look at it. And don't set errno, that's a bad idea !


SVN revision: 55594
2010-12-16 13:16:40 +00:00
Cedric BAIL 8a4ad8c102 * ecore: fix obvious bug. But Ecore_Con with UDP session is
completly broken and no time to fix it.

	Try elixir sample code:
	http://code.google.com/p/freebox-elixir/source/browse/#svn%2Ftrunk%2Fexemples%2Fecore_con_udp



SVN revision: 55593
2010-12-16 13:08:49 +00:00
Carsten Haitzler d19ff43b6e if data is NULL for curl... make postfieldsize 0.
SVN revision: 55583
2010-12-16 08:35:29 +00:00
Carsten Haitzler daafe9ee79 no - dont do http:// - then englebass is right need to do ftp://,
imap:// file:// .... the list never ends. the docs do explicitly say
its a hostname, NOT a url.



SVN revision: 55580
2010-12-16 08:07:10 +00:00
Vincent Torri 6c81b349a4 remove warning
SVN revision: 55578
2010-12-16 07:45:12 +00:00
Mike Blumenkrantz 5af9081342 finally fix stupid ssl read bug for long transfers! also added a couple more error checks and reordered things to read a little better
SVN revision: 55577
2010-12-16 07:43:48 +00:00
Mike Blumenkrantz 913852ba34 validate name better, fix super frustrating bug where connections would inexplicably die if prefixed with http[s]://
SVN revision: 55573
2010-12-16 05:13:29 +00:00
Mike McCormack 7f5c026041 From: Mike McCormack <mj.mccormack@samsung.com>
Subject: [E-devel] [PATCH 4/4] ecore_fb: Zero is a valid fd value



SVN revision: 55572
2010-12-16 04:40:14 +00:00
Mike McCormack c9b693655c From: Mike McCormack <mj.mccormack@samsung.com>
Subject: [E-devel] [PATCH 3/4] ecore_con: Always close fd after remove
fdh from main loop



SVN revision: 55571
2010-12-16 04:39:38 +00:00
Mike McCormack bdf1b4b330 From: Mike McCormack <mj.mccormack@samsung.com>
Subject: [E-devel] [PATCH 1/4] ecore_con: Always close fd after remove
fdh from main loop



SVN revision: 55570
2010-12-16 04:38:37 +00:00
Carsten Haitzler c751d12c8b no long casts - just case to/from void * as needed. i dont see why we
needed any uintptr_t or long there.



SVN revision: 55569
2010-12-16 04:28:03 +00:00
Cedric BAIL 701cfebbed * eina: some time compiler are really stupid...
SVN revision: 55561
2010-12-15 11:56:50 +00:00
Cedric BAIL 72c9afd3cb * eina: fix typo.
SVN revision: 55560
2010-12-15 11:14:47 +00:00
Cedric BAIL 44d8edfc0f * evas: fix typo.
SVN revision: 55559
2010-12-15 10:40:57 +00:00
Rui Seabra 5315577722 http auth was implemented way back in r48715 (one less item in FIXMEs).
SVN revision: 55557
2010-12-14 22:30:53 +00:00
Iván Briano f64f4930e9 FOCUS_OBJECT takes a part as target
SVN revision: 55556
2010-12-14 17:18:31 +00:00
Cedric BAIL e6b5488d1d * eina: also update ldflags instead of cflags.
SVN revision: 55555
2010-12-14 16:20:48 +00:00
Cedric BAIL 77cb7b50d6 * evas: better fix for path init.
SVN revision: 55553
2010-12-14 14:17:07 +00:00
Carsten Haitzler 62c8659619 fixed async preload stall bug! still 1 issue left when caches
(scalecaches) are flushed which can cause a hang until all data is
"loaded back in" again. it's a bit of a doosey actually and so isn't
fixed here.



SVN revision: 55551
2010-12-14 10:22:06 +00:00
Vincent Torri b600427f5d gaurd ecore_imf functions
SVN revision: 55550
2010-12-14 07:05:52 +00:00
Vincent Torri 19a8a07a63 missing one _Bool -> Eina_Bool
SVN revision: 55549
2010-12-14 06:20:55 +00:00
Vincent Torri c69cd7ec27 use size_t when it does not hurt
SVN revision: 55548
2010-12-14 06:19:30 +00:00
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