Commit Graph

11809 Commits

Author SHA1 Message Date
Carsten Haitzler 1f741f5930 no more debian dir in our svn - debian now handles this tehmselves.
SVN revision: 54288
2010-11-08 05:48:46 +00:00
Carsten Haitzler caa1d813f4 no more debian dir in our svn - debian now handles this tehmselves.
SVN revision: 54287
2010-11-08 05:48:28 +00:00
Vincent Torri 48d416b359 Killer feature: Windows app can have icons, now.
The doc explains everything.

SVN revision: 54283
2010-11-07 20:29:08 +00:00
Mike Blumenkrantz f334d907ae robustify ssl handshaking by catching extremely rare cases when the session has been deleted between handshake calls usually caused by thousands of concurrent sessions. yes, I'm benchmarking.
SVN revision: 54269
2010-11-07 05:36:40 +00:00
Vincent Torri d0458b87eb cosmetic: compile the files in alphabetic order
SVN revision: 54253
2010-11-06 23:40:21 +00:00
Vincent Torri c3530cb768 fix doc
SVN revision: 54252
2010-11-06 23:04:33 +00:00
Vincent Torri b4571378c2 and add file
SVN revision: 54251
2010-11-06 21:01:36 +00:00
Vincent Torri 899983412b * port eina_file_*_ls() on Windows and put the code in another file
* on Windows eina_file_stat_ls() is the same that eina_file_direct_ls()

SVN revision: 54250
2010-11-06 21:00:58 +00:00
Vincent Torri 8fa9c4a7ce add doxygen doc
SVN revision: 54249
2010-11-06 20:38:41 +00:00
Mike Blumenkrantz d8ab13a85f I got overexcited
SVN revision: 54242
2010-11-06 17:54:01 +00:00
Mike Blumenkrantz b6acfbffc9 add ecore_con strings
SVN revision: 54241
2010-11-06 17:06:56 +00:00
Mike Blumenkrantz 76bdd30da0 add magic strings for ecore_con
SVN revision: 54240
2010-11-06 17:04:09 +00:00
Sebastian Dransfeld 0ab16442cf Always do env check
SVN revision: 54231
2010-11-06 16:47:43 +00:00
Sebastian Dransfeld 3ee4664f39 Do realpath on last element too
SVN revision: 54227
2010-11-06 14:44:11 +00:00
Vincent Torri 38c55d2170 remove Eina_Matrixsparse_Item_Cell and Eina_Matrixsparse_Item_Row
as they are used absolutely nowhere.


SVN revision: 54226
2010-11-06 12:50:09 +00:00
Vincent Torri 2249122a54 better removal for EINA_ARG_NONNULL
SVN revision: 54225
2010-11-06 12:44:25 +00:00
Vincent Torri 4a5f42c22c remove EAPI from documentation
SVN revision: 54224
2010-11-06 12:41:37 +00:00
Vincent Torri 7ee0e4655b * improve doc
* remove eina_binshare_init() and eina_binshare_shutdown()
   from eina_binshare.h as they must not be exported


SVN revision: 54223
2010-11-06 12:34:55 +00:00
Vincent Torri 8d05590677 set log domain to -1 after unregistering it
SVN revision: 54222
2010-11-06 09:42:24 +00:00
Vincent Torri eccd70139b formatting, whitespaces--
SVN revision: 54221
2010-11-06 07:37:52 +00:00
Vincent Torri 66b9ed8926 * src/lib/Evil.h:
* src/lib/evil_string.h:
	Fix doxygen documentation



SVN revision: 54220
2010-11-06 07:10:12 +00:00
Vincent Torri d99d3cccd3 errno is managed by Windows
SVN revision: 54219
2010-11-06 07:09:16 +00:00
Carsten Haitzler 75abb8f8a3 fix - don't call new event handler added for the SAMe event. defer
adding in a list and handle after all current ahndlers for the event
have been called.



SVN revision: 54212
2010-11-06 03:11:17 +00:00
Mike Blumenkrantz fc6657453d typo fix
SVN revision: 54211
2010-11-06 02:59:11 +00:00
Mike Blumenkrantz 8a87f08107 delete servers on 0
SVN revision: 54209
2010-11-06 01:57:45 +00:00
Sebastian Dransfeld 8706b49355 Check events on right handler
SVN revision: 54208
2010-11-06 01:23:01 +00:00
Sebastian Dransfeld bc8a34b688 formatting
SVN revision: 54207
2010-11-06 01:22:50 +00:00
Sebastian Dransfeld 46cf959d70 Declaration at beginning of block
SVN revision: 54206
2010-11-06 01:22:40 +00:00
Sebastian Dransfeld 5fc5dcc215 Right fix for alloc
Actually we already checked that num != 0, but lacked num < 0 for one of
the allocs

SVN revision: 54205
2010-11-06 01:22:29 +00:00
Mike Blumenkrantz e289280418 add ecore_con_client_connected_get to avoid people scratching their heads and wondering how the hell they're supposed to know if a client has disconnected
SVN revision: 54204
2010-11-06 00:17:04 +00:00
Mike Blumenkrantz a5489cd5c7 remove erroneous return, add some debug info
SVN revision: 54203
2010-11-05 23:48:15 +00:00
Mike Blumenkrantz 0a32ddcc31 fix some cases where refcount was <0 and so things were not being freed
SVN revision: 54199
2010-11-05 20:55:02 +00:00
Mike Blumenkrantz add4a1d9a4 fix disconnect conditions for non-ssl reads
SVN revision: 54197
2010-11-05 19:46:48 +00:00
Cedric BAIL 4b50987072 * evas: fix possible off by one bug with line object.
Reported by Daniele.


SVN revision: 54182
2010-11-05 14:59:22 +00:00
Sebastian Dransfeld 589e832cb7 Check whether we actually want to alloc data
SVN revision: 54179
2010-11-05 13:11:52 +00:00
Mike Blumenkrantz 8a66dd5b56 ++ecore_event_handler_data_{set,get}
SVN revision: 54162
2010-11-04 20:51:17 +00:00
Tom Hacohen da512dde9b Evas font-engine: Don't break if there was a previous miss. This is a workaround for a bug in the font index caching mechanism that happens if you cache the index miss before all the fonts were changed. We should probably just put a "dirty" flag on font sets that loaded more fonts or something like that.
SVN revision: 54157
2010-11-04 16:32:42 +00:00
Mike Blumenkrantz 6c1cd431a2 malloc check
SVN revision: 54156
2010-11-04 15:48:17 +00:00
Mike Blumenkrantz 2b0ff1a99f for some reason we weren't setting write on fds when all data had not been sent. this should make ecore_con MUCH snappier
SVN revision: 54155
2010-11-04 15:01:05 +00:00
Cedric BAIL 57997619c9 * eina: fix eina_tiler_iterator_new API to be consistent with the
rest of the iterator API and usage.

	WARNING !!! THIS IS REALLY BAD BUT FOR CONSISTENCY, I THINK THAT THIS
	API BREAK WAS NEEDED. IN FACT IT'S MORE AN ABI BREAK AS IT WILL NOT
	TRIGGER WARNING OR ERROR IN CURRENT PROGRAM USING
	eina_tiler_iterator_new SO YOU ARE WARNED !

	Reported by playya <frederik.sdun@googlemail.com>.


SVN revision: 54153
2010-11-04 14:53:00 +00:00
Cedric BAIL 3ede459046 * evas: fix polygon move on first frame.
SVN revision: 54144
2010-11-04 11:05:38 +00:00
Mike Blumenkrantz b9fade7530 more refactoring, fix bug that was exposed where a completed ssl read (which returns 0 bytes) causes disconnect
SVN revision: 54134
2010-11-03 19:38:00 +00:00
Mike Blumenkrantz 3ffb7e4c16 use safety macros to check mallocs, remove some dead code, optimize read loops by removing them, refactor a lot of code to not be indented halfway across the screen
SVN revision: 54133
2010-11-03 19:08:31 +00:00
Mike Blumenkrantz ddd151bf37 reformat using ecrustify because uncrustify dicked it up previously
SVN revision: 54128
2010-11-03 17:58:37 +00:00
Cedric BAIL 64aa07c793 * eina: fix typos.
SVN revision: 54127
2010-11-03 17:32:07 +00:00
Mike Blumenkrantz 33c81c1983 add some safety checks so people can see wtf went wrong when sends fail
SVN revision: 54125
2010-11-03 16:11:12 +00:00
Cedric BAIL 7e9c729ce2 * eio: fix recursion by detecting link and recreating them.
SVN revision: 54123
2010-11-03 12:35:21 +00:00
Cedric BAIL c40d642b02 * eina: fix possible race condition between opendir/readdir_r/pathconf.
See http://womble.decadent.org.uk/readdir_r-advisory.html .


SVN revision: 54117
2010-11-03 10:19:55 +00:00
Carsten Haitzler be6cf01bb8 make sure it has dynamic hint set.
SVN revision: 54114
2010-11-03 04:08:09 +00:00
Cedric BAIL 19bce347b0 * eina: use fstatat when available.
Maybe we could add an eina_file_lstat_ls.


SVN revision: 54108
2010-11-02 17:47:19 +00:00
Cedric BAIL 058deb3c1f * eio: add eio_file_stat_ls.
SVN revision: 54106
2010-11-02 17:08:00 +00:00
Cedric BAIL 17973f336e * eina: add eina_file_stat_ls and guaranty that eina_file_direct_ls
will not call anything else than readdir_r.


SVN revision: 54105
2010-11-02 17:07:04 +00:00
Cedric BAIL eb4cd21f0c * eina: remove dirent so apps don't rely on non portable code.
SVN revision: 54103
2010-11-02 15:11:05 +00:00
Cedric BAIL c45e906f7f * edje: disable some os related syscall in lua script.
SVN revision: 54102
2010-11-02 13:43:54 +00:00
Carsten Haitzler 29a707fdf8 eek - case of stride value being wrong! fix!
SVN revision: 54087
2010-11-02 08:18:16 +00:00
Carsten Haitzler 05246414c6 oops - in the process i disabled the multiple fonts in the fontsets to
load on demand when first needed. fixed. rendering etc. works again
for all intl fonts.



SVN revision: 54085
2010-11-02 04:56:57 +00:00
Mike Blumenkrantz ecd54f41fe because SUCCESS is not an error.
SVN revision: 54078
2010-11-01 20:46:39 +00:00
Mike Blumenkrantz 01760826bb only free when exists
c/o vtorri


SVN revision: 54075
2010-11-01 11:24:29 +00:00
Mike Blumenkrantz 57cee09e0d eh I guess I'll clean up a little bit on failure too
SVN revision: 54074
2010-11-01 07:11:25 +00:00
Mike Blumenkrantz 025cfe4c67 fix incorrect realloc usage
SVN revision: 54073
2010-11-01 07:10:07 +00:00
Carsten Haitzler 4579813efe disable vlc module in emotion. that will get rid of the problem.
SVN revision: 54070
2010-11-01 01:53:16 +00:00
Carsten Haitzler 0d32e98d24 alloca - not strdupa.
SVN revision: 54068
2010-10-31 12:53:50 +00:00
Cedric BAIL 57aa3f4147 * eio: fix shadow symbol.
SVN revision: 54033
2010-10-30 12:06:21 +00:00
Carsten Haitzler 46abf6fc81 use new type member.
SVN revision: 54018
2010-10-30 05:59:39 +00:00
Carsten Haitzler a08524ea65 aaagh. dirent... bad! too many things in dirent that are not portable
- d_type for example... so put that into the direct_info struct and
handle the compat in eina.



SVN revision: 54015
2010-10-30 05:48:07 +00:00
Iván Briano 3d6e44bd91 And as discussed on IRC, for the sake of API consistency (and we'll eventually need it), also del_full() for the text filters.
And since I'm there, some documentation.


SVN revision: 54003
2010-10-29 18:15:09 +00:00
Tiago Rezende Campos Falcao fd1c8603ee Removing dead assignment.
Reported in:
http://people.profusion.mobi/~lfelipe/static_analysis/efl/efl-53990/eina/2010-10-29-1/report-w3Z1oM.html#EndPath

SVN revision: 53999
2010-10-29 17:19:19 +00:00
Tiago Rezende Campos Falcao 1e78927ed1 Remove possivle null pointer.
Reported in:
http://people.profusion.mobi/~lfelipe/static_analysis/efl/efl-53990/eina/2010-10-29-1/report-mqFB7z.html#EndPath

SVN revision: 53998
2010-10-29 17:19:15 +00:00
Iván Briano db43f575ef B-B-B-B-BETA BREAKER!
As for Evas callbacks, let's have a del_full() version for the Edje signals.


SVN revision: 53997
2010-10-29 17:14:55 +00:00
Cedric BAIL 61bb247e13 * eio: oops forgotten file.
SVN revision: 53990
2010-10-29 13:06:58 +00:00
Cedric BAIL 09d09fe0ce * eio: inline accessor.
SVN revision: 53988
2010-10-29 12:58:04 +00:00
Carsten Haitzler e0e6020902 work on fixing up a font "leak". its disabled via returns in funcs -
but also added in 24bit unicode support. needed for unicode v6
absolutely.. so we can have the pile of poo char work.



SVN revision: 53987
2010-10-29 12:55:42 +00:00
Cedric BAIL 9b279fa367 * eio: break Eio error callback API to match the rest of the API.
SVN revision: 53986
2010-10-29 12:36:43 +00:00
Iván Briano 4cd1f2ff09 I'm not drunk, I swear.
SVN revision: 53983
2010-10-29 11:17:25 +00:00
Vincent Torri a2a90c6131 * src/lib/Evil.h:
define offsetof for Windows CE



SVN revision: 53982
2010-10-29 08:37:25 +00:00
Mike Blumenkrantz 0ce8be2500 update
SVN revision: 53981
2010-10-29 07:47:17 +00:00
Mike Blumenkrantz e4439fb0c6 add a sweet DBG logging function for gnutls because logging info rules
SVN revision: 53980
2010-10-29 04:31:16 +00:00
Mike Blumenkrantz c469c5bddf comment out all psk code since I haven't implemented it yet, fix gnutls servers (how the hell did it break?????)
SVN revision: 53979
2010-10-28 23:51:08 +00:00
Mike Blumenkrantz 4ca9db7909 a little bit of reformatting, be explicit with dhp allocation, and add server verification for client certs (apparently I was off my cut and paste game that day)
SVN revision: 53974
2010-10-28 18:25:35 +00:00
Mike Blumenkrantz 446c27ac31 remove dead code
SVN revision: 53973
2010-10-28 18:24:22 +00:00
Eduardo de Barros Lima 454f896043 Ecore: Decide whether library will be built or not in upper level
As requested by vtorri. :D



SVN revision: 53967
2010-10-28 16:37:41 +00:00
Cedric BAIL feffc8fd02 * eio: more doxy fix.
SVN revision: 53966
2010-10-28 16:09:17 +00:00
Mike Blumenkrantz a09f61a9f8 remove unnecessary ifdef
SVN revision: 53965
2010-10-28 16:07:47 +00:00
Cedric BAIL b519dad7b4 * eio: fix doc.
SVN revision: 53964
2010-10-28 15:57:48 +00:00
Cedric BAIL c0cf78da54 * eio: add small helper.
SVN revision: 53962
2010-10-28 14:50:24 +00:00
Mike Blumenkrantz b40a8e7efe wnen I said gnutls on my last commit, I really meant openssl. but when I say gnutls on this commit, I mean gnutls. really.
SVN revision: 53961
2010-10-28 14:48:25 +00:00
Mike Blumenkrantz 9e5e01219c add more gnutls info for dhp generation so you can tell if it ever stops
SVN revision: 53959
2010-10-28 14:07:47 +00:00
Mike Blumenkrantz 3638b837cc only set openssl verify when needed to avoid some handshake errors
SVN revision: 53955
2010-10-28 13:15:36 +00:00
Cedric BAIL acdb4588f4 * ecore: reduce strdup call from ecore_file, but this file need
much more love !


SVN revision: 53953
2010-10-28 11:31:30 +00:00
Mike Blumenkrantz 9daab48ec2 fix some random error cases where events would fire too fast and cause a segv
SVN revision: 53952
2010-10-28 10:59:30 +00:00
Carsten Haitzler 9fe4dfe9b3 put in some disabled cache dump dbg.
SVN revision: 53949
2010-10-28 10:00:22 +00:00
Cedric BAIL 2794a9afc9 * eina: fix usage of eina_file_*ls in thread.
SVN revision: 53948
2010-10-28 09:59:27 +00:00
Carsten Haitzler 788a3357e9 dont free null ptrs eh?
SVN revision: 53944
2010-10-28 03:46:52 +00:00
Carsten Haitzler c3ffeee9e1 ecore_x -> add mapping change event for when key/pointer/modifier
mappings change (xmodmap or kbd layout change).
fix other events to have proper eina_bool too and enums
also remove already disabled old unimplemented events commented out.



SVN revision: 53942
2010-10-28 00:32:43 +00:00
Mike Blumenkrantz 3830d9d118 forgot a return statement
SVN revision: 53938
2010-10-27 20:56:00 +00:00
Mike Blumenkrantz de31d29f65 hmmm actually this is probably the better way to fix it with maximum laziness
SVN revision: 53937
2010-10-27 20:52:36 +00:00
Mike Blumenkrantz d9d3d63f42 fix potential crash when someone specifies a weird/nonexistent ssl type
SVN revision: 53936
2010-10-27 20:51:09 +00:00
Mike Blumenkrantz d5c4e58535 fix some warnings with --disable-curl
SVN revision: 53935
2010-10-27 20:34:36 +00:00
Cedric BAIL e27a2a14a0 * ecore: don't expose Ecore_Evas internal magic outside.
SVN revision: 53930
2010-10-27 17:42:30 +00:00
Cedric BAIL a5abd3d320 * eio: add eio_file_ls() tutorial.
SVN revision: 53915
2010-10-27 12:30:12 +00:00
Sebastian Dransfeld 34cecc6810 We always require gnutls >= 2.10
SVN revision: 53911
2010-10-27 07:09:16 +00:00
Mike Blumenkrantz b8eee27786 require gnutls 2.10.2 since earlier versions don't work
vtorri check me on this plz


SVN revision: 53910
2010-10-27 06:31:27 +00:00
Carsten Haitzler d3233bd67c fix ecore-evas to use stride return for buffers.
SVN revision: 53909
2010-10-27 04:52:54 +00:00
Carsten Haitzler cb7268cbac formatting.
SVN revision: 53908
2010-10-27 00:03:49 +00:00
Carsten Haitzler 3aee5f8bc0 make gles autodetect work.
SVN revision: 53907
2010-10-27 00:00:52 +00:00
Carsten Haitzler b0053e86fd stricter header checking.
SVN revision: 53906
2010-10-26 23:37:28 +00:00
Carsten Haitzler 555d85033c more complete gl auto-checking in configure.ac
SVN revision: 53905
2010-10-26 23:31:58 +00:00
Carsten Haitzler c5661c4471 and that tga entry too
SVN revision: 53890
2010-10-26 08:29:39 +00:00
Carsten Haitzler ef332fcf44 forgot tga loader in static list
SVN revision: 53889
2010-10-26 08:28:12 +00:00
Carsten Haitzler 5baaab8f35 display tga loader enabled status
SVN revision: 53888
2010-10-26 08:22:33 +00:00
Carsten Haitzler 3a568d6fd4 fmting.
SVN revision: 53887
2010-10-26 07:00:26 +00:00
Carsten Haitzler 381728fb86 forgot to allow bmp loader to be static.
SVN revision: 53885
2010-10-26 02:55:56 +00:00
Sebastian Dransfeld 1a12537dfd delay deletion of non valid themes
We need to delay deletion of non valid themes until all possible search
dirs are scanned. In Ubuntu 10.10 XDG_DATA_DIRS lists /usr/local/share
before /usr/share, so when searching for hicolor /usr/local/share is
dropped as a valid dir although it exists as it does not contain an
index.theme file.

SVN revision: 53882
2010-10-25 20:20:41 +00:00
Cedric BAIL 9fa3379bf9 * ecore: make Ecore_File.h match others EFL headers.
SVN revision: 53869
2010-10-25 13:08:40 +00:00
Cedric BAIL 2ee5adb4f8 * edje: remove white space.
SVN revision: 53864
2010-10-25 12:39:10 +00:00
Cedric BAIL b086f94813 * edje: remove possible case of segv on low mem.
SVN revision: 53863
2010-10-25 12:38:04 +00:00
Cedric BAIL 4d36ee36e2 * eina: make eina_file_ls and eina_file_direct_ls container be DIR*.
SVN revision: 53862
2010-10-25 12:25:24 +00:00
Carsten Haitzler 541394175a fix tasn bug++
SVN revision: 53860
2010-10-25 11:56:20 +00:00
Carsten Haitzler 3a9d3268d2 fix warnings in async render code.. and well.. warn about it - it
crashes for me in expedite with 4 cores on x86 at random points. looks
like it's bitrotting. though it was relatively tentative to begin with.



SVN revision: 53856
2010-10-25 11:27:17 +00:00
Tom Hacohen 79ec0e7975 Evas font-engine: Silence gcc about a possible use of unitialized value which can't really happen. Add parenthesis where needed.
SVN revision: 53855
2010-10-25 11:24:25 +00:00
Carsten Haitzler 91946c9430 unsigned INT!
SVN revision: 53853
2010-10-25 10:41:36 +00:00
Cedric BAIL ea2cfb0d31 * ecore: always check for func_cancel being not NULL before using it.
Reported by Hugo Camboulive <hugo.camboulive@gmail.com>.


SVN revision: 53851
2010-10-25 09:39:00 +00:00
Carsten Haitzler 2a9c976ec0 only set swap interval if it changes for egl - and dont waitgl if swap
native is available.



SVN revision: 53849
2010-10-25 07:22:43 +00:00
Carsten Haitzler ba0a5a6516 add file from andre.
SVN revision: 53847
2010-10-25 04:10:34 +00:00
André Ribes 38c5254494 From: André Ribes <andre.ribes@gmail.com>
Hi all, this is a patch to use pkg-config for edje_cc path on ethumb. Is it ok
for you ?
Best regards,
André



SVN revision: 53846
2010-10-25 04:10:19 +00:00
Raphael Kubo da Costa a07b93ab49 From: Raphael Kubo da Costa <kubo@profusion.mobi>
This signature change follows libcurl's behaviour more closely:
CURLOPT_POSTFIELDSIZE expects a long, and a value of -1 means that
content length calculation is forwarded to libcurl, which performs a
strlen() on CURLOPT_POSTFIELD.



SVN revision: 53845
2010-10-25 02:53:06 +00:00
Carsten Haitzler 57b70bdb14 put in special known "save native" case to avoid needing the env var.
SVN revision: 53844
2010-10-25 01:57:48 +00:00
Gustavo Sverzut Barbieri 720e3827bb fix static modules build, remove useless checks.
- custom pipelines are gone, remove from src/lib/Makefile.am
 - no need to check for ffmpeg/cdda anymore, they are handled by playbin2



SVN revision: 53837
2010-10-24 16:39:42 +00:00
Cedric BAIL 59671af073 * eina: improve eina_rbtree doc to please discomfitor.
SVN revision: 53835
2010-10-24 15:29:23 +00:00
Carsten Haitzler 5bf2fbcc63 make sure they are extern fn pointers
SVN revision: 53831
2010-10-24 13:30:27 +00:00
Tom Hacohen 9a89173df6 Evas font-engine: Reverted my hack in 53828 because cedric already implemented clipping to object geometry.
SVN revision: 53830
2010-10-24 12:28:36 +00:00
Tom Hacohen b705c2c038 Evas font-engine: Hacked around a wrong setting of clipping in textblock. - Email in ML will soon follow.
SVN revision: 53828
2010-10-24 10:59:52 +00:00
Fabiano Fidêncio 76e6a7fac6 Remove warnings from evas_preload
Use EINA_INLIST_CONTAINER_GET instead of cast to
(Evas_Preload_Pthread_Worker*) to get  eina_inlist_remove's return.

This works even if the first field of Evas_Preload_Pthread_Worker is no
longer a EINA_INLIST

Patch by: Fabiano Fidêncio <fabianofidencio@gmail.com>



SVN revision: 53826
2010-10-23 22:33:33 +00:00
Gustavo Sverzut Barbieri be4836a118 valgrind support is now automatic, make usage clear at summary
SVN revision: 53823
2010-10-23 21:03:11 +00:00
Gustavo Sverzut Barbieri a528a88fe0 fix amalgamation build
SVN revision: 53821
2010-10-23 20:57:08 +00:00
Vincent Torri f78379b4d0 [ecore] remove messages about ecore_time on Windows
SVN revision: 53820
2010-10-23 19:25:09 +00:00
Cedric BAIL e199293a56 * eina: remove unecessary free.
SVN revision: 53817
2010-10-23 17:56:48 +00:00
Vincent Torri f9da29e6a6 put EFL_DEBUG_THREADS inside EFL_HAVE_POSIX_THREADS
SVN revision: 53816
2010-10-23 17:17:03 +00:00
Cedric BAIL 4b1e2abc23 * eina: improve threads and debugging support in one big mempool.
SVN revision: 53815
2010-10-23 16:56:36 +00:00
Vincent Torri 32cf20c60e [emotion] allow externals to be built on Windows
SVN revision: 53814
2010-10-23 14:04:46 +00:00
Vincent Torri 1090b24303 [emotion] use ecore_getopt
SVN revision: 53813
2010-10-23 14:03:30 +00:00
Vincent Torri c7c886ea2c [ecore-file] use function pointers for callbacks
SVN revision: 53811
2010-10-23 11:33:56 +00:00
Vincent Torri 259b702319 [ecore-file] fix doc
SVN revision: 53810
2010-10-23 11:05:36 +00:00
Carsten Haitzler 8055b915b7 windows mutex shutdown correctness++
SVN revision: 53801
2010-10-23 07:52:51 +00:00
Mike Blumenkrantz 0c27fd1a29 ecrustify testing: looked good so I'm committing for other people to review as well
SVN revision: 53800
2010-10-23 06:41:45 +00:00
Carsten Haitzler 8074415ffc slight mistake - trash cleanup on shutdown didnt null out base
SVN revision: 53797
2010-10-23 04:40:30 +00:00
Carsten Haitzler 51e3cd6419 lets lock del too eh?
SVN revision: 53796
2010-10-23 04:36:52 +00:00
Carsten Haitzler 9c15e9abf7 bug exposed by cedric's leak and then my fix... :)
SVN revision: 53795
2010-10-23 04:36:32 +00:00
Carsten Haitzler 7c835c0efb aaaah more bad cedric ... eh? :)
SVN revision: 53794
2010-10-23 03:51:12 +00:00
Carsten Haitzler 222c59ba12 cedric.. has been a bad boy. cleaning up some of his mess. still have
a leak somewhere. very very slow now.



SVN revision: 53793
2010-10-23 03:45:06 +00:00
Mike Blumenkrantz 7d03bcd110 3 hours and a lot of bugfixing later, uncrustify can now align the * for function prototypes
SVN revision: 53781
2010-10-22 19:58:49 +00:00
Vincent Torri 640dc89d1b [ecore] fix compilation when pthread is not available
SVN revision: 53777
2010-10-22 17:39:25 +00:00
Mike Blumenkrantz cb4e0c8a75 this is the second test of my new uncrustify+config
*all struct members are aligned and spaced
*all post-function macros are force-spaced
*all post-function macros are parsed
*all macro definitions are backslash aligned


SVN revision: 53775
2010-10-22 17:30:54 +00:00
Vincent Torri 38f3d012d6 [evil] use our own dirent structure and implementation instead of
mingw one.

SVN revision: 53773
2010-10-22 16:47:28 +00:00
Vincent Torri 9c5ce8345e [eio] add check on some functions (will be used later) and
add native win32 mutex code.

Question: with pthread, if a mutex is initialized with
PTHREAD_MUTEX_INITIALIZER, should it be destroyed  with
pthread_mutex_destroy() ?

SVN revision: 53772
2010-10-22 16:44:30 +00:00
Cedric BAIL 318a56c004 * eio: fix eio.pc
SVN revision: 53762
2010-10-22 11:54:54 +00:00
Carsten Haitzler d3a897bb54 allow evas gl engine skipping wait native if known to be safe.
SVN revision: 53760
2010-10-22 08:17:37 +00:00
Mike Blumenkrantz 99ae8c89e4 backporting missed this, nice catch fidencio
SVN revision: 53755
2010-10-21 23:46:11 +00:00
Mike Blumenkrantz 04f30402ad add extra filter from find_by_type to watches
SVN revision: 53752
2010-10-21 21:20:45 +00:00
Mike Blumenkrantz 71ec1ec5a4 backport some stuff from eeze 1.1:
lots of formatting cleanups
	move udev extern into private header
	another filter added to find_by_type to avoid some disks that randomly crop up with MOUNTABLE


SVN revision: 53745
2010-10-21 20:00:15 +00:00
Mike Blumenkrantz ef1b10734e no need to use get property when there are reasonable simple functions
SVN revision: 53729
2010-10-21 18:50:09 +00:00
Vincent Torri c2d941930c [eio] check if threads, grp.h and fchmod() are available
SVN revision: 53723
2010-10-21 17:51:21 +00:00
Vincent Torri ab84f4da58 [eio] _GNU_SOURCE already defined in config.h
SVN revision: 53721
2010-10-21 17:18:35 +00:00
Kim Woelders 74fdc27f6d Fix warning.
SVN revision: 53719
2010-10-21 15:53:46 +00:00
Tom Hacohen aecc018012 Edje entry: Fixed _edje_entry_imf_event_delete_surrounding_cb to actually delete, which it wasn't doing. Patch by Jihoon Kim.
SVN revision: 53709
2010-10-21 08:23:45 +00:00
Vincent Torri 600053d7a9 [eio] improve documentation layout and add a tutorial for
eio_dir_copy()

SVN revision: 53704
2010-10-21 05:03:23 +00:00
Sebastian Dransfeld 736dbfed46 store OnlyShowIn and NotShowIn in struct
SVN revision: 53691
2010-10-20 20:39:54 +00:00
Sebastian Dransfeld 423892f7cd use EINA_LIST_FREE for list deletion
SVN revision: 53690
2010-10-20 20:39:38 +00:00
Sebastian Dransfeld b2ecad6a06 simplify list deletion
use eina_list_free instead of removing one and one element

SVN revision: 53689
2010-10-20 20:39:19 +00:00
Vincent Torri 3a5d43ea9c [eio] reorganize code like eina, clean up doc
SVN revision: 53688
2010-10-20 19:17:30 +00:00
Vincent Torri 6b588fbef6 [eio] exclude eio_private.h from the doc
SVN revision: 53687
2010-10-20 17:57:17 +00:00
Vincent Torri 964ce60666 [eio] take into account eio.dox
SVN revision: 53686
2010-10-20 17:54:27 +00:00
Bruno Dilly 65f3d3f4c8 Add missing AUTHORS
Description of changes / revisions (not all of them, I just picked some to
explain the names inclusions)

bdilly
Bruno Dilly <bdilly@profusion.mobi>
edbus -> r42081, r39884, r44581, r40463
python-elementary -> r52765, r52389
edje -> r46548, r49242
editje -> r52520

fidencio
Fabiano Fidêncio fidencio@profusion.mobi
elementary / python-elementary -> fix elm_<widget>_{icon,content}_set - r49706;
                                  add externals - r{47649,47647,47645}
edje / python-edje -> lot of work on edje_edit

glima
Gustavo Lima Chaves <glima@profusion.mobi>
elementary -> added widgets
edje -> lot of work on edje_edit

helen
Helen Fornazier <helen.fornazier@profusion.mobi>
elementary -> elementary key events on widgets
editje -> undo / redo

jprvita
João Paulo Rechi Vita <jprvita@profusion.mobi>
e_dbus-> r47399 , r47398, r47397, r47336, r47330

padovan
Gustavo F. Padovan <padovan@profusion.mobi>
e_dbus-> r46365-r46373, r47114-r47119



SVN revision: 53682
2010-10-20 16:56:48 +00:00
Cedric BAIL 06ea9c415d * eio: add eio_file_chmod and eio_file_chown.
SVN revision: 53678
2010-10-20 16:42:45 +00:00
Christopher Michael 534c5d617d Fix doxy typo.
SVN revision: 53677
2010-10-20 16:18:52 +00:00
Cedric BAIL da9d9f4e89 * eio: improve doc.
SVN revision: 53673
2010-10-20 14:44:45 +00:00
Carsten Haitzler c71c55c38c patch from mike to fix kernel issue with closed fd's+ epoll to re-init
epoll fd set. also fix "WARN->WRN and no \n in the patch.



SVN revision: 53672
2010-10-20 14:21:19 +00:00
Carsten Haitzler 0bad021252 from mike:
Fix a build issue with both epoll and g_main_loop()



SVN revision: 53671
2010-10-20 14:18:23 +00:00
Carsten Haitzler 31458bd882 patch from mike - fix epoll on fork thing.
This is an attempt to fix the epoll/fork() issue reported to me where
we end up with a single epoll fd shared between two processes after  a
fork() in E.

I've tested with elementary test in epoll and non-epoll combinations,
and all appears to be well.  Please check it solves the issue you saw,
and reformat the code as you see fit... ;-)



SVN revision: 53670
2010-10-20 14:15:56 +00:00
Carsten Haitzler 9817dfe5a5 note -= we may leak display struct here...
SVN revision: 53668
2010-10-20 14:10:55 +00:00
Carsten Haitzler 2e395b8605 fix shutdown - clear up has entrie handles.
SVN revision: 53667
2010-10-20 13:59:23 +00:00
Carsten Haitzler 6199da8d8a fix doc s!
SVN revision: 53665
2010-10-20 13:54:01 +00:00
Cedric BAIL ff69a72f47 * eio: add eio_dir_unlink.
SVN revision: 53664
2010-10-20 13:48:13 +00:00
Cedric BAIL 80cbbc23a7 * eio: more doxy fix.
SVN revision: 53658
2010-10-20 12:20:06 +00:00
Cedric BAIL ab4a53f091 * eio: add eio_dir_move.
SVN revision: 53657
2010-10-20 12:09:58 +00:00
Cedric BAIL 10ff95e654 * eio: small doxy fix.
SVN revision: 53656
2010-10-20 12:08:56 +00:00
Tom Hacohen 7c586714ef Edje entry: Init preedit_len on focus out. Rename 'composition' to 'preedit' in the preedit handling. Patch by Jihoon Kim.
SVN revision: 53651
2010-10-20 10:34:26 +00:00
Tom Hacohen ed649440b8 Evas textblock: Fixed docs. Patch by Jihoon Kim.
SVN revision: 53650
2010-10-20 10:30:02 +00:00
Vincent Torri 3382c0d596 the gstreamer backend uses now gstreamer playbin2 element to
create automatically the pipeline. The code is simpler and
there is no need of the specific pipelines anymore.

SVN revision: 53649
2010-10-20 07:59:20 +00:00
Vincent Torri 2d28628c95 API break: emotion_object_file_set() returns a boolean, now.
SVN revision: 53648
2010-10-20 07:55:20 +00:00
Iván Briano 02dced207e Revert the changes on ecore_x, seems not needed and break composite
SVN revision: 53617
2010-10-19 13:56:17 +00:00
Cedric BAIL 0548bfc394 * emotion: vlc backend is not in a good shape, disable by default.
Enable it only if you want to fix it.



SVN revision: 53598
2010-10-19 12:04:01 +00:00
xcomputerman b59fa21d74 Better.
SVN revision: 53584
2010-10-18 23:02:02 +00:00
Iván Briano bab8d2d0cd Use event_win when it exists to match source of events
I don't expect anything to break, but if mouse or keyboard events suddenly
disappear, feel free to revert this patch while blaming cedric or discomfitor.



SVN revision: 53583
2010-10-18 21:50:41 +00:00
xcomputerman 6c2545adc7 Fix compile for gl_sdl engine, now builds again
SVN revision: 53579
2010-10-18 19:17:59 +00:00
Sebastian Dransfeld 38f1292466 Check for gnutls >= 2.6
SVN revision: 53578
2010-10-18 18:28:11 +00:00
Cedric BAIL 515f06978b * ecore: time to cleanup ecore_con_url time.
Patch by Patch by Raphael Kubo da Costa <kubo@profusion.mobi>

	As discussed on the development mailing list, we should accept a
	double instead of a time_t for consistency with the rest of the API.
	Some apidox has been added too, and as a result
	ECORE_CON_URL_TIME_LASTMOD has been removed, since it does not make
	much sense (it is an HTTP response header).


SVN revision: 53572
2010-10-18 16:39:12 +00:00
Cedric BAIL 7100d4ac62 * ecore: remove now useless structure.
Patch by Raphael Kubo da Costa <kubo@profusion.mobi>


SVN revision: 53570
2010-10-18 13:49:06 +00:00
Cedric BAIL 313e855af5 * ecore: proper protection of newer constant.
SVN revision: 53567
2010-10-18 13:11:25 +00:00
Cedric BAIL 680fa431b3 * ecore: remove ecore_con_url_http_post_send as it expose CURL
API and is not useful to someone.


SVN revision: 53566
2010-10-18 12:52:46 +00:00
Carsten Haitzler 18f7762fc0 make sure we have undefed stuff
SVN revision: 53562
2010-10-18 05:09:30 +00:00
Carsten Haitzler b0132ddaa0 experimental.
SVN revision: 53561
2010-10-18 04:53:31 +00:00
Carsten Haitzler d11662c09c note that its experiemntal
SVN revision: 53560
2010-10-18 04:52:11 +00:00
Davide Andreoli de610ab738 fix "doc", also get_state() exists
SVN revision: 53549
2010-10-18 00:09:07 +00:00
Vincent Torri 7f7561c8a2 delete libtool copied files on maintainer-clean rule
SVN revision: 53512
2010-10-17 07:11:10 +00:00
Vincent Torri 1236bd82aa delete libtool copied files on maintainer-clean rule
SVN revision: 53511
2010-10-17 07:07:46 +00:00
Vincent Torri 678bca7c1e space --
SVN revision: 53510
2010-10-17 07:06:47 +00:00
Vincent Torri a17c58d0b0 improve doc layout
SVN revision: 53509
2010-10-17 07:03:28 +00:00
Mike Blumenkrantz 58f5409b49 fix shutdown order too
SVN revision: 53507
2010-10-17 04:54:36 +00:00
Mike Blumenkrantz 395970c40c update failure order
SVN revision: 53505
2010-10-17 04:48:39 +00:00
Mike Blumenkrantz b149ef3a37 typedef function pointer
SVN revision: 53500
2010-10-16 23:02:35 +00:00
Mike Blumenkrantz 7ec6b64af8 include ecore
SVN revision: 53499
2010-10-16 23:01:33 +00:00
Mike Blumenkrantz bac6759774 init ecore
SVN revision: 53498
2010-10-16 22:56:44 +00:00
Iván Briano 1277d5b855 Dead code bye bye
SVN revision: 53497
2010-10-16 21:32:08 +00:00
Mike Blumenkrantz f1d884900b that's what I wanted to do, fix function
SVN revision: 53495
2010-10-16 20:03:36 +00:00
Mike Blumenkrantz 51aad7ad45 revert obviously wrong non-typo fix
I blame cold meds


SVN revision: 53494
2010-10-16 19:59:43 +00:00
Mike Blumenkrantz 95bbf40398 fix obvious typo which breaks devpath->syspath
SVN revision: 53493
2010-10-16 19:57:21 +00:00
Mike Blumenkrantz bca689359d designate udev color only
SVN revision: 53482
2010-10-16 04:45:23 +00:00
Mike Blumenkrantz a6af8ecfd1 combine private headers
SVN revision: 53481
2010-10-16 04:42:34 +00:00
Mike Blumenkrantz 6614589c34 change internal log dom variable name
SVN revision: 53480
2010-10-16 04:38:11 +00:00
Mike Blumenkrantz 73e8abd5d9 handle some error conditions better to avoid segvs, add a little bit of info on watch creation failure, fix some return types to bools, clean up formatting failures
SVN revision: 53479
2010-10-16 04:18:26 +00:00
Mike Blumenkrantz 496e6350b2 giant doxy cleanup
SVN revision: 53478
2010-10-16 03:57:54 +00:00
Christopher Michael 50101673d4 Attempting to track a bug in ecore_x_randr_12 where we get a segfault
when trying to free the mode_info. Not much functional difference with
this commit except that we do not call strndup if the nameLength is
<= 0.



SVN revision: 53477
2010-10-15 23:19:45 +00:00
Mike Blumenkrantz 38c32c19a0 add info when generating dh params so people will know wtf is going on when their app hangs for an hour on startup
SVN revision: 53473
2010-10-15 21:31:25 +00:00
Iván Briano 44365ab591 Oh look, I had some docs to commit and forgot about them.
SVN revision: 53450
2010-10-15 13:24:51 +00:00
Carsten Haitzler 8be0e4590e remove changes in case developer dumber than expected?
:) (aagh was most annoying to find this today).



SVN revision: 53437
2010-10-15 07:42:29 +00:00
Carsten Haitzler be7683efbd you wouldnt believe it if i told you.. but put in a block to disallow
move or resize of an obj WHILE in the middle of a move or resize
already - some weird case someone has come up with where this happens
and things like smart clipped's "move relatvie by dx, dy" totally
screw up then. it's a totally unexpected case though. some circular
action has been created that logically shouldn't have existed.



SVN revision: 53434
2010-10-15 05:39:53 +00:00
Mike Blumenkrantz 1df6a75020 make this more explicit in case compiler is dumber than expected?
SVN revision: 53431
2010-10-14 22:13:40 +00:00
Rafael Fonseca 5b4996881e Add valgrind support to one_big mempool.
SVN revision: 53428
2010-10-14 19:28:32 +00:00
Rafael Fonseca 9733a55c22 Mark memory as accessable before popping it from stack.
When we push a memory to the trash stack we mark it as unaccessable. So we
should mark it as accessible before returning it to the user.



SVN revision: 53427
2010-10-14 19:24:00 +00:00
Rafael Fonseca 4bd0432caf Just mark memory as freed after actually freeing it.
Otherwise valgrind would complain about invalid memory access.



SVN revision: 53426
2010-10-14 19:19:13 +00:00
Cedric BAIL 94fb47d168 * ecore: improve and fix ecore_thread destruction.
SVN revision: 53411
2010-10-14 16:45:48 +00:00
Cedric BAIL 5ce901459c * ecore: don't leak pipe.
SVN revision: 53410
2010-10-14 16:45:17 +00:00
Mike Blumenkrantz 513bdc7da1 stop trying to use ssl for local connections
SVN revision: 53409
2010-10-14 16:19:17 +00:00
Cedric BAIL d88f751b16 * evas: prevent possible segv.
SVN revision: 53408
2010-10-14 15:52:10 +00:00
Rafael Fonseca 6485492cbe Make valgrind know about eina mempools.
Because mempools generally allocate a big memory area and distribute chunks of
that area to the users, valgrind can not know about logical invalid access. By
using some valgrind macros we can tell valgrind about mempools and which area
can be accessed or not.

To start with I have just done valgrind integration on chained mempool but soon
it will be done for one_big too.

The code below is an example on which valgrind wouldn't complain without this
patch:

@code
#include <Eina.h>

int
main(int argc, char *argv[])
{
    int i, *pool[4];
    Eina_Mempool *mp;

    eina_init();
    mp = eina_mempool_add("chained_mempool", "test", NULL, sizeof(int), 4);

    for (i = 0; i < 4; i++) {
        pool[i] = eina_mempool_malloc(mp, sizeof(int));
        *pool[i] = i;
    }

    printf("Valid mp pointer: pool[0] = %d\n", *pool[0]);
    eina_mempool_free(mp, pool[0]);
    printf("Freed mp pointer: pool[0] = %d\n", *pool[0]);

    for (i = 1; i < 4; i++)
        eina_mempool_free(mp, pool[i]);

    eina_mempool_del(mp);
    eina_shutdown();

    return 0;
}
@endcode



SVN revision: 53405
2010-10-14 15:18:15 +00:00
Cedric BAIL 6d6f5c7360 * AUTHORS: don't forget to blame T_UNIX for his work on xrandr.
SVN revision: 53403
2010-10-14 14:49:49 +00:00
Cedric BAIL 921c1a8c87 * evas: force the update to only affect the currently processed area.
WARNING: PLEASE REVIEW THAT PATCH !


SVN revision: 53402
2010-10-14 14:41:13 +00:00
Cedric BAIL 39a6e2df5a * eina: use pthread_equal.
SVN revision: 53400
2010-10-14 14:17:48 +00:00
Cedric BAIL c7245e24ed * eina: fix amalgamation build.
SVN revision: 53392
2010-10-14 11:07:10 +00:00
Davide Andreoli 740e1626a2 The daily edje example: EXTERNAL elm Panes.
SVN revision: 53391
2010-10-14 09:21:12 +00:00
Tom Hacohen 958b6c7569 Edje entry: Fixed a memory leak. Removed an unwanted selection clear, and renamed preedit strings functions to have a more adequate name. - Patch by Jihoon Kim.
SVN revision: 53390
2010-10-14 07:50:32 +00:00
Carsten Haitzler 6debefec1c fix stride - again. but no one noticed this one ... yet :)
SVN revision: 53388
2010-10-14 03:21:20 +00:00
Lucas De Marchi 0fccfcb4cf Fix bug in evas_smart_cb_descriptions_fix.
The last element of descriptions array was always removed.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 53379
2010-10-13 19:40:11 +00:00
Vincent Torri 4603fb6ecc remove useless file (copied when autogen.sh is run)
SVN revision: 53377
2010-10-13 19:06:51 +00:00
Mike Blumenkrantz addc8e47ed fix for new udev sigh
SVN revision: 53375
2010-10-13 18:56:36 +00:00
Mike Blumenkrantz 4e6e726145 hilarious typo that breaks the universe is now fixed
SVN revision: 53373
2010-10-13 18:34:03 +00:00
Cedric BAIL f3b720812e * e, eio: fix ecore_thread_run breakage.
SVN revision: 53371
2010-10-13 17:46:02 +00:00
Cedric BAIL 25e84c7f3d * ecore: fix possible race. It also make ecore_thread_run
match ecore_thread_feedback_run better.

	NOTE: I know it breaks API/ABI compatibility for that call,
	but that's the only sane solution I could found.


SVN revision: 53370
2010-10-13 17:45:07 +00:00
Cedric BAIL 75577ee618 * eio: remove unecessary call.
SVN revision: 53365
2010-10-13 16:45:45 +00:00