| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Add initial support for the PORT command. Support for EPRT and a
non-ugly API are still missing.
|
|
|
|
|
| |
use get_data_stream() instead and call read/write on that manually.
Reduces the number of API.
|
|
|
|
| |
Add a separate function for requesting the debug id
|
|
|
|
|
| |
- replace tabs with 8 spaces
- remove spaces at end of line
|
|
|
|
|
| |
- print LIST replies again
- make connections have a debug id and use it for debugging prints
|
|
|
|
|
|
| |
The cache handling has been split into a separate file and structure
now. While the API still isn't perfect, it's much clearer than before.
It's also faster when looking up lots of symlinks.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
split out the old FtpConnection struct into a separate GVfsFtpTask
structure that acts as a one-stop solution to vfuncs. It keeps track of
all important structures:
- the backend
- the current job
- the potential connection to the server
- the error state
during the lifetime of a backend vfunc and supplies convenience
functions to ease implementing these vfuncs. The API of gvfsftptask.h is
documented.
|
|
the current FtpConnection object is not flexible enough. It is doing too
many things at once, namely:
1) handling a physical connection to the ftp server
2) handling a GVfsJob's lifetime
Also, the file gvfsbackendftp.c is too big, counting >2000 lines.
This is the first step in an attempt to separate these two things. It
splits out the physical connection into different files and makes the
old FtpConnection code use this instead.
A side effect of this is that it includes a change so that reading lines
is now done with a GDataInputStream instead of manually, as suggested by
Alex.
|