Commit Graph

221 Commits

Author SHA1 Message Date
Vincent Torri b2d3d0af41 formatting and whitespace--
SVN revision: 52721
2010-09-25 05:36:21 +00:00
Vincent Torri d5f1ed5907 int --> Eina_Bool
SVN revision: 52720
2010-09-25 05:34:26 +00:00
Vincent Torri 814013bb82 formatting
SVN revision: 52673
2010-09-24 06:34:56 +00:00
Mike Blumenkrantz ad3ecd489a ecore_con_url_destroy -> ecore_con_url_free
also some small function rearranging


SVN revision: 52534
2010-09-21 06:49:07 +00:00
Mike Blumenkrantz e56789f77e This is the Doxygen Police! If you committed any of these lines, accept your public shaming!
SVN revision: 52513
2010-09-20 20:52:15 +00:00
Lucas De Marchi be1b6d32ef Fix common misspellings
Following misspellings were fixed:

alledgedly->allegedly
cant->can't
carefull->careful
consistant->consistent
currenly->currently
dependancy->dependency
descripters->descriptors
doesnt->doesn't
dosen't->doesn't
existant->existent
exmaple->example
inbetween->between
independant->independent
isnt->isn't
mroe->more
neccessary->necessary
occured->occurred
occurence->occurrence
parrallel->parallel
particualr->particular
preceeding->preceding
recieved->received
recieves->receives
seperate->separate
substraction->subtraction
succesfully->successfully
successfull->successful
sucess->success
supress->suppress
usefull->useful
witht->with



SVN revision: 51986
2010-09-08 11:23:42 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Joerg Sonnenberger df0903779c From: Joerg Sonnenberger <joerg@britannica.bec.de>
Subject: [E-devel] ecore's poll file manager

Hi all,
attached is a small bugfix for ecore. If the to-be-monitored path
doesn't exist, the poll monitor currently tries to remove an item from a
list which was never hooked up.



SVN revision: 51123
2010-08-15 02:59:32 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael bb651d8eb8 Move Ecore.h (and associated headers) to own dir.
SVN revision: 50142
2010-07-09 06:23:19 +00:00
Brett Nash 1c185410b4 Old bug: Don't suffer from buffer overflow in readlink.
SVN revision: 50040
2010-07-05 04:11:53 +00:00
Cedric BAIL d4059c7107 * eina: rename ecore_file_ls_iterator to eina_file_ls.
SVN revision: 50002
2010-07-02 17:23:05 +00:00
Cedric BAIL 87b85132dd * ecore: add ecore_file_ls_iterator.
SVN revision: 49997
2010-07-02 15:25:22 +00:00
Vincent Torri ed3725ddcd fix returned type of callbacks
SVN revision: 49877
2010-06-26 15:35:30 +00:00
Cedric BAIL fbe9064310 * ecore: Ecore callback really should return Eina_Bool.
SVN revision: 49829
2010-06-24 16:15:56 +00:00
Cedric BAIL 238b9836ca * ecore: return Eina_Bool instead of int when it make sense.
Patch from Nicolas Aguirre.


SVN revision: 49611
2010-06-10 11:57:12 +00:00
Carsten Haitzler 17263ea263 add ecore versioning
SVN revision: 49271
2010-05-29 06:28:25 +00:00
Davide Andreoli ee29a2423d ecore_file_download(): Call the completion_cb (with error status) when a download is aborted
SVN revision: 48988
2010-05-18 23:06:07 +00:00
Vincent Torri 65525e9412 fix warning with vc++
SVN revision: 48063
2010-04-17 05:34:55 +00:00
Vincent Torri 898768c963 various fixes for vc++. I'll add the Visual Studio projects later
SVN revision: 47758
2010-04-05 08:26:48 +00:00
Davide Andreoli d2f31bbf04 More doxy for ecore_file_download() and ecore_file_download_abort()
SVN revision: 47200
2010-03-14 10:53:14 +00:00
Gustavo Sverzut Barbieri dba2a95572 warnings--
Ecore now goes clean on -Wall -Wextra :-)



SVN revision: 46672
2010-02-28 23:27:47 +00:00
Gustavo Sverzut Barbieri 336e1aac6c Revert EINA_(TRUE|FALSE) as requested by vincent.
windows have TRUE/FALSE and he wants it to be like that, if required
he will replace the efl-specific places later.



SVN revision: 46586
2010-02-27 16:45:20 +00:00
Gustavo Sverzut Barbieri e54bd066ec Convert everything to EINA_(TRUE|FALSE)
make it consistent.

By: Lucas de Marchi.



SVN revision: 46539
2010-02-27 00:01:10 +00:00
Sebastian Dransfeld c3b33835ea switch to eina_strlcpy
SVN revision: 45653
2010-01-27 20:59:26 +00:00
Carsten Haitzler f5ab46c84e saftery for strncpy
SVN revision: 45505
2010-01-24 02:23:43 +00:00
Cedric BAIL c354216b27 * ecore: Handle NULL in ecore_file_dir_get.
SVN revision: 45352
2010-01-20 12:41:22 +00:00
Cedric BAIL 3d2b34c85c * ecore: Fix ecore_file_dir_get.
SVN revision: 45283
2010-01-18 11:05:03 +00:00
Vincent Torri faadd43b94 statement not reached
SVN revision: 45224
2010-01-16 13:58:02 +00:00
Sebastian Dransfeld 75e3c941b1 Second argument isn't sort order, it's list size
SVN revision: 45217
2010-01-16 13:43:04 +00:00
Christopher Michael 33ae476f68 Make ecore_file compile again.
SVN revision: 45205
2010-01-16 05:20:14 +00:00
Sebastian Dransfeld b91ae1fd9f Remove dependency on Ecore_Data
SVN revision: 45201
2010-01-15 21:47:03 +00:00
Sebastian Dransfeld 8007e73077 Patch from Mathieu Taillefumier
I modified some hearder file in ecore to ease the cleanup of the private
header files in ecore. Each module has now a private header with its own
log color (eina_log related). I also created two private header files
for ecore_sdl and ecore_input for this purpose and corrected some typos
in the xlib_xcb private header file.

SVN revision: 44933
2010-01-07 00:30:05 +00:00
Vincent Torri a4b0afb1e4 * move structures from ecore_private.h to the corresponding source files
* add 2 internal ecore_exe functions as ecore_signak.c uses Ecore_Exe members
   no test is done in those 2 functions
 * remove standard headers from ecore_private.h



SVN revision: 44862
2010-01-03 21:55:50 +00:00
Christopher Michael 741a725889 Remove wasted whitespace & fix some formatting.
SVN revision: 44861
2010-01-03 21:50:23 +00:00
Cedric BAIL d8e1895350 * ecore: Use eina_log.
Patch from Mathieu Taillefumier.


SVN revision: 44637
2009-12-21 17:32:19 +00:00
Vincent Torri 5cffd43943 add a wrapper around remove()
SVN revision: 44578
2009-12-19 19:09:37 +00:00
Sebastian Dransfeld 73cde2ffa2 Make clang happy
SVN revision: 44257
2009-12-07 21:01:26 +00:00
Vincent Torri 76fd6276a6 the handler must return 1 otherwise it is destroyed after the first call
SVN revision: 43938
2009-11-23 23:05:00 +00:00
Vincent Torri 9cc34d070a define ecore_file_dowbload_abort when ecore_con is not available
(that is : it does nothing :)

SVN revision: 43916
2009-11-23 09:05:02 +00:00
Jonathan Atton 3f3f79cd88 Ecore : Fix ecore con destroy
SVN revision: 43689
2009-11-14 13:43:38 +00:00
Jonathan Atton 8d55d3f443 Ecore : ecore_dowload return the job and we can canceled it.
SVN revision: 43668
2009-11-13 17:51:52 +00:00
Vincent Torri a2f8b6a526 Add Windows directory monitoring to ecore_file. It was tough.
A lot of thanks to Lars Munch for his great help

SVN revision: 43617
2009-11-11 17:45:55 +00:00
Vincent Torri 297e9817df allow the compilation of ecore_file without ecore_con
SVN revision: 43075
2009-10-14 17:29:13 +00:00
Vincent Torri 4072d0b23d * check the returned value of the _init() functions
* simplify a bit the init/shutdown functions


SVN revision: 42995
2009-10-10 05:28:43 +00:00
Vincent Torri 17cb74c23f don't try to remove monitors if non has been added before
SVN revision: 42087
2009-08-29 08:44:05 +00:00
Cedric BAIL 79291ef06b * ecore: Remove Ecore_List2 from ecore_file.
SVN revision: 41072
2009-06-17 11:41:12 +00:00
Carsten Haitzler ce5a59b7e5 lutin... release soname patch. verbose svn soname used right now
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Gustavo Sverzut Barbieri 0af63168e5 debug--, sorry.
SVN revision: 39968
2009-04-11 07:12:13 +00:00
Gustavo Sverzut Barbieri 51bc45acb4 remove nasty warning.
SVN revision: 39967
2009-04-11 07:11:16 +00:00