- this is useful to safe one extra call when it is known that there
should be changes on the remote. In that case it will immediately
skip forward to calling device/get_changes
- since mediafire cannot deal with empty files, we put new files into a
temporary location and upload them once they get closed
- add create and write functions to fuse
- pass a file handle to mfconn_api_upload_simple instead of a path
- allow calc_sha256 to also compute the file size
- error out when the key returned by upload/simple is empty
- make valgrind.supp more lenient
- when either username or password are not specified via commandline
arguments or configuration file, ask them on standard input
- unify function to read username and password
- move function to read username and password from mfshell to
utils/strings.c
- remove commented cruft from utils/strings.c
- refactor some code:
- code handling the file cache is now in fuse/filecache.c
- base36 and base16 encoding and decoding moved to utils/hash.c
- mfshell: add "updates" command calling device/get_updates
- add container class to store patch information as mfapi/patch.c
- apicalls: store more info retrieved by file/get_info
- apicalls: add device/get_updates
- apicalls: add device/get_patch
- it is not enough to rely on the parent information of updated files
because that misses files and folders that were completely removed
(even from trash)
- don't use folder/get_content but rely on parent information
- add many more debugging information and sanity checks
- ignore trash
- correctly update local device revision using device_response
- remove "visited" member and change housekeeping function to check for
consistency of parents and children (and retrieve fix from remote if
necessary)
- print key and parent key in the debugging function
- check for remote updates on every fs function
- introduce global defines for key and filename length
- add parent member, getters and setters to file.h