Commit Graph

84 Commits

Author SHA1 Message Date
Carsten Haitzler 2c52634e85 and yet more warning removal
SVN revision: 19568
2006-01-06 18:46:30 +00:00
codewarrior 93dd8ce0fc - ++authors
- add ecore_file_symlink


SVN revision: 19506
2006-01-03 00:18:42 +00:00
Carsten Haitzler 7554f8ee36 actually make symbol hiding work!
SVN revision: 19314
2005-12-27 17:17:31 +00:00
codewarrior 48e0355efe - ecore_file_size
SVN revision: 18916
2005-12-09 00:02:21 +00:00
Carsten Haitzler 068266c8a2 another util function - list all executables in your $PATH - in full.
SVN revision: 18890
2005-12-07 07:18:52 +00:00
Carsten Haitzler e475d8844f illogict patch
SVN revision: 18749
2005-12-01 06:23:58 +00:00
rbdpngn 8a632ab09c Free the heap when we're done, thanks chaos.
SVN revision: 18418
2005-11-10 14:29:33 +00:00
rbdpngn a90d675613 Move ecore_file_ls from an O(n^2) insertion sort to an O(n log n) heap sort,
since we already have it available. Worked fine on OS X and had dj2 check on
Linux to ensure filesystem ordering wasn't skewing the results. He ran a
couple quick benchmarks on a 10k file directory.

Insertion sort results
23:38 <@dj2> real    0m2.134s
23:38 <@dj2> user    0m1.880s
23:38 <@dj2> sys     0m0.120s

Heap sort results
23:35 <@dj2> real    0m0.223s
23:35 <@dj2> user    0m0.072s
23:35 <@dj2> sys     0m0.052s

23:38 <@dj2> and thats on a 3ghz box, heh


SVN revision: 18410
2005-11-10 05:44:41 +00:00
codewarrior 727de7d0fc - char * to const char *
SVN revision: 18163
2005-10-31 09:14:41 +00:00
sebastid 853b70b966 Remove unused variable.
SVN revision: 17882
2005-10-24 10:06:11 +00:00
sebastid 32732357cb Style.
Assume the operations will succeed, and set ret to 0 on fail.


SVN revision: 17881
2005-10-24 10:05:35 +00:00
codewarrior 7f10622a24 - if its a file, dont bother with it, just unlink it
SVN revision: 17880
2005-10-24 09:37:13 +00:00
codewarrior 0be8326d89 - add method to delete dirs recursively
SVN revision: 17848
2005-10-23 23:21:29 +00:00
sebastid fc3eccf033 realpath returns null if the file doesn't exist.
SVN revision: 17444
2005-10-11 20:11:36 +00:00
sebastid da7d6dbe30 dst, not src in second realpath
SVN revision: 17409
2005-10-10 21:10:04 +00:00
sebastid 4545433592 Cleanup
SVN revision: 17396
2005-10-10 18:35:13 +00:00
codewarrior 2fc139fd86 Dont overrite ourselves and zero the file out during copy operations if src and dst are the same
SVN revision: 17393
2005-10-10 16:25:17 +00:00
sebastid e13146588e Skip env variables.
SVN revision: 17274
2005-10-07 17:48:09 +00:00
sebastid fb2ab4ef6c Only allocate the necessary amount of memory
SVN revision: 17273
2005-10-07 17:32:31 +00:00
Carsten Haitzler 8d2fe31aef fix ecore to NOT segv like a madman now.
SVN revision: 17257
2005-10-07 02:44:20 +00:00
tsauerbeck 7ba3d1df86 more leak fixes
SVN revision: 17244
2005-10-06 18:48:03 +00:00
sebastid a91b2bdfbd Declare variable.
SVN revision: 17207
2005-10-05 18:39:30 +00:00
sebastid 4d6bcecff4 Check the strdup
SVN revision: 17206
2005-10-05 18:38:51 +00:00
sebastid dcb7726415 New func
SVN revision: 17205
2005-10-05 18:38:27 +00:00
tsauerbeck f263fcd2c8 more memleaks fixed
SVN revision: 17145
2005-10-03 18:25:22 +00:00
Carsten Haitzler b27df0ea59 be more lenient and use access() to check
SVN revision: 17115
2005-10-02 15:44:24 +00:00
Carsten Haitzler b13ee0052b can exec logic fix
SVN revision: 17087
2005-09-30 08:41:21 +00:00
sebastid 7aaf5e9e12 p is related to exe1, not app
SVN revision: 17079
2005-09-30 00:58:03 +00:00
sebastid 06972f99e5 And remove debug.
SVN revision: 17078
2005-09-30 00:55:57 +00:00
sebastid 3d6e558b87 Correct handling for HOME=""
SVN revision: 17077
2005-09-30 00:55:27 +00:00
sebastid 6839e85061 Tilde expansion
SVN revision: 17076
2005-09-30 00:51:29 +00:00
sebastid d83329a7b8 Move ecore_file_app_exe_get since it doesn't use path
SVN revision: 17075
2005-09-30 00:46:15 +00:00
sebastid 49b85e4e1f Move realpath to ecore_file_can_exec, since it always makes sense there.
SVN revision: 17074
2005-09-29 17:50:04 +00:00
sebastid f50cb7415e resolv symlinks
SVN revision: 17073
2005-09-29 17:25:38 +00:00
Carsten Haitzler f685e689fc search for exe's properly :)
SVN revision: 17025
2005-09-28 05:57:41 +00:00
sebastid 1270de6ac5 Check if file really is something.
SVN revision: 17016
2005-09-28 02:27:23 +00:00
sebastid f6454d1a67 Remove leading and trailing whitespace.
SVN revision: 17015
2005-09-28 02:26:08 +00:00
sebastid 27f44473b7 Don't crop the app
SVN revision: 17014
2005-09-28 02:19:13 +00:00
sebastid a1da538057 Really strip all whitespace.
SVN revision: 17013
2005-09-28 02:17:30 +00:00
sebastid 773835e9fc Strip arguments
SVN revision: 17011
2005-09-28 02:08:52 +00:00
sebastid 8264fcfca2 Check if a full path is given as the argument.
SVN revision: 17009
2005-09-28 01:28:22 +00:00
xcomputerman 7bd778bd29 Directory list should sort case-insensitive. Anything else is counter-intuitive and annoying. :)
SVN revision: 16694
2005-09-12 02:42:39 +00:00
sebastid b6ce3afdb5 Only run init when count is 1 and shutdown when count is 0
SVN revision: 16649
2005-09-07 08:57:08 +00:00
sebastid efe51da1dc init count
SVN revision: 16648
2005-09-07 08:50:25 +00:00
sebastid bb818f0cc2 Remove define, isn't needed.
Formatting.


SVN revision: 16630
2005-09-06 23:33:05 +00:00
sebastid c699769bd5 ecore_private.h is included in ecore_file_private.h
SVN revision: 16629
2005-09-06 23:31:18 +00:00
sebastid 549becd9d9 file compiles, but does not work.
SVN revision: 16628
2005-09-06 23:30:44 +00:00
sebastid 9bc6eb91e4 config.h is included in ecore_private.h
SVN revision: 16626
2005-09-06 23:15:49 +00:00
sebastid b521fa41d5 These are included in ecore_private.h
SVN revision: 16624
2005-09-06 23:08:42 +00:00
sebastid 5250fbc7c8 * Difference between user wanting a module, and the possibility of building
a module.
* Only do tests related to a module, if the module is to be built
* use AC_PATH_GENERIC
* Formatting
* Remove som weird AC_SUBST, why were they there?


SVN revision: 16543
2005-09-05 08:40:50 +00:00