ChangeLog for Davfs2

2006-03-03 Werner Baumann (werner.baumann@onlinehome.de)
    * davsd.c: removed unused function dump_vfid_list()
    * webdav.c: open_connection()
      Removed unused code.
    * davsd.c, util.c:
      Corrected some format errors in DBGX code.

2006-03-02 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: dav_init_session()
      Removed ne_set_request_expect100() (has to be done
      'per request' not 'per session'.

2006-03-01 Werner Baumann (werner.baumann@onlinehome.de)
    * macros: updated neon-m4-macros to support version 0.25.
    * configure.in: replaced neon-macros by new version.
      Removed neon-macros we don't need (as I believe).
    * webdav.h: Removed neon-version-check (is done by configure).
    * different files:
      Corrected minor bugs that caused compiler warnings.

2006-02-27 Werner Baumann (werner.baumann@onlinehome.de)
    * Makefile.in: install
      Use 'ln -sf' instead of 'ln -s'.
      Create sbin in DESTDIR but not /sbin.
      Removed setuid message.
    * Supporting neon 0.24 and 0.25
    * configure.in:
      Removed NEON_REQUIRE(0,24).
    * webdav.c: dav_init_session()
      Make call of ne_set_expect100 dependent of neon version.
    * webdav.c: dav_open_connection()
      Make call of ne_supports_ssl() dependent of neon version.
    * webdav.h:
      Test for neon version 0.24 or 0.25.

2006-02-27 Werner Baumann (werner.baumann@onlinehome.de)
    * davfsd.c: coda_open():
      Calling delete_name() only if error is ENOENT and
      never delete the root.

2006-02-22 Werner Baumann (werner.baumann@onlinehome.de)
    * davfsd.c: zap_file()
      Use command CODA_PURGEFID (CODA_ZAPFILE dosn't work).
    * davfsd.c: coda_open()
      If file does not exist on server call delete_name()
      and zap_file() to remove stale information.
    * davfsd.c: main(), zap_file()
      Change local variable cfs into global variable dav_cfs.
    * davfsd.c: look_name()
      Use syslog() instead of printf().
    * davfsd.c: main(), get_dir_copy()
      Name of root is now the empty string, to get rid of
      these double slashes.
    * webdav.c: results()
      Name of root is now the empty string.
    * util.h:
      Name of temp dir is '/tmp' not '/tmp/'.

2006-02-22 Werner Baumann (werner.baumann@onlinehome.de)
    * Makefile.in, util.h, util.c:
      Removed STATEDIR from Makefile.in, will be created
      by binary now.

2006-02-12 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c, util.h, webdav.c, mount.davfs.8 NEWS, README:
      Seems to be 'credentials' not 'creditentials'.

2006-02-12 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c: dav_save_mount_pid()
      Check for existence of STATEDIR and create it if
      non existent (Debian-Bug#348796)

2006-01-27 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: dav_open_connection()
      Don't add slash if server.path is "/".

2006-01-12 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: dav_set_errno()
      additional debug line to show neon error message
    * webdav.c: dav_lock()
      NE_FREE(uri) after use of uri in DBG1()

2005-12-30 Werner Baumann (werner.baumann@onlinehome.de)
    * Makefile.in: create symlink in /sbin
    * NEWS, TODO, BUGS and INSTALL updated
    * version 0.2.7 released
      (couldn't wait until tomorrow midnight)

2005-12-29 Werner Baumann (werner.baumann@onlinehome.de)
    * davfsd.c: coda_open()
      For directories allways call get_dir_copy()
 
2005-12-28 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c, webdav.h:
      New function dav_put().
    * davfsd.c:
      New function sync_file().
      coda upcall fsync: put file to server.
    * davfsd.c: coda upcall setattr:
      Don't return an error on chmode, but ignore it.
    * davfsd.c:
      New function put_all();
    * davfsd.c: default_signal_handler()
      Save all open files and release locks when closing.

2005-12-26 Werner Baumann (werner.baumann@onlinehome.de)
    * davfsd.c: legal_name(), coda_open()
      Removed dummy-function legal_name().
    * davfsd.h: STAT()
      Removed dummy-function legal_name().
    * davfsd.c: coda_open(), redesigned:
      Only call get_local_copy() if usage == 0.
      Only call dav_lock() if dav_locks == 1.
      Check usage and local_name for consistency.
    * davfsd.c: get_local_copy(): clean up.
    * davfsd.c: unget_local_copy(): clean up.
    * davfsd.c: main(), upcall CODA_CLOSE, CODA_RELEASE
      Only call unget_local_copy() if usage == 0.
    * wbdav.c: dav_lock()
      Check whether already locked.
    * davfsd.c: main(): upcall CODA_ROOT
      Don't set usage to 1.

2005-12-19 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: results()
      If the server returns the full url in href (e.g. IIS),
      extract the path from this.
    * webdav.c: dav_init_session()
      Changed format of useragent string to conform 
      to RFC2616.
    * davfsd.c: get_local_copy()
      Don't call dav_getlocalcopy() if is_created.
    * webdav.h, webdav.c:
      new function dav_unlock().
    * webdav.c: dav_put_unlock()
      restore server.path
    * webdav.c: dav_getlocalcopy()
      If GET fails, return NULL (not empty tmp file).
    * davfsd.c: coda_open(), get_local_copy()
      If GET fails, return error
    * davfsd.c: coda_open()
      Tried to untangle name and local_name

2005-11-21 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: dav_open_connection()
      remove trailing slash from path, add trailing
      slash to path in ne_options, to handle urls with
      and without trailing slash.

2005-10-27 Werner Baumann (werner.baumann@onlinehome.de)
    * davfsd.c: line 31
      removed unnecessary include of linux/coda.h
      included error.h and ne_socket.h
      delete_name(): removed unused variable to_free
      look_name(): changed formatting in printf()

2005-10-22 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c:
      dav_get_args(): removed typecast from return value
        of canonicalize_file_name(argv[i])
      made "#include >config.h> the first include
        (see bug: http://bugs.debian.org/327279)
      get_options(), dev_from_options(): removed 'const'
        from "const char *suboptions[]". (incompatible
        with #define _GNU_SOURCE)

2005-10-17 Werner Baumann (werner.baumann@onlinehome.de)
    Included bug fixes from Debian package:
    * mount.davfs.8: bug in fstab entry in examples
    * Makefile.in: added option "-9" to gzip

2005-10-13 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c, util.h: DBG_ARGS(x), usage(), get_options(),
                      check_fstab()
      Added option (no)mountanyway.
    * webdav.c: dav_open_connection(), dav_stat() 
      Added option (no)mountanyway.

2005-10-13 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: dav_open_connection(), dav_stat() 
      Enable mounting even whithout connection to the server.

2005-10-12 Werner Baumann (werner.baumann@onlinehome.de)
    * Makefile.in: applied DESTDIR-patch from
      Ville Skyttä

2005-10-08 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c: get_free_device(char **device)
      fixed pointer-pointer-error
      must be NE_FREE(*device) not NE_FREE(device)

2005-09-26 Werner Baumann (werner.baumann@onlinehome.de)
    * released version 0.2.6

2005-09-26 Werner Baumann (werner.baumann@onlinehome.de)
    * configure.in:
      Removed coda related tests.
    * davfsd.h:
      typdef DAVCodaFid depends on CODA_KERNEL_VERSION.
      Removed all "#ifdef NEW_CODA_STRUCTURES".
    * davfsd.c:
      Removed "#ifdef NEW_CODA_STRUCTURES".
      dav_has_permission(): now depends on CODA_KERNEL_VERSION.

2005-09-08 Werner Baumann (werner.baumann@onlinehome.de)
    * released version 0.2.5

2005-09-02 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c: dav_check_config()
      checking group membership of process instead of
      group-file (may differ if group-file is changed
      while the user is logged in)
 
2005-08-31 Werner Baumann (werner.baumann@onlinehome.de)
    * davfsd.c: main()
      added hint about coda to error message "Could not
      open device ..." (There had been one before I changed it)
 
2005-08-29 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: void results()
      o.k. fixed the fix, see http://bugs.debian.org/324968

2005-08-29 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: void results()
      Strip trailing slash from display name
      (patch submitted by Guido Guenther <agx@sigxcpu.org>)

2005-08-09 Werner Baumann (werner.baumann@onlinehome.de)
    * davfsd.h, util.c:
      Avoid compile errors with '--user'-macro in coda.h.
      (we don't need this for davfs2)
    * mount.davfs.8:
      Changed /var/run/davfs2 to /var/run/mount.davfs

2005-07-16 Werner Baumann (werner.baumann@onlinehome.de)
    * davfsd.h: added missing include for coda.h
    * davfsd.c: corrected order of version numbers

2005-07-16 Werner Baumann (werner.baumann@onlinehome.de)
    * TODO: revisited

2005-07-15 Werner Baumann (werner.baumann@onlinehome.de)
    * README: 
      added a section about Installation from binary package

2005-07-14 Werner Baumann (werner.baumann@onlinehome.de)
    * README: 
      added a section about TLS/SSL

2005-07-13 Werner Baumann (werner.baumann@onlinehome.de)
    * Makefile.in: removed neon 
      DISTS: mount.davfs.8 instead of mount.davfs.8.gz
      Make bin: added mount.davfs.8.gz

2005-07-13 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: fail_verify()
      make prompt more user friendly

2005-07-13 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: fail_verify()
      ask user whether to accept an untrusted certificate

2005-07-09 Werner Baumann (werner.baumann@onlinehome.de)
    * README, NEWS: new

2005-07-09 Werner Baumann (werner.baumann@onlinehome.de)
    * Makefile.in:
      - changed name of STATEDIR into /var/run/mount.davfs
    * removed expat

2005-07-08 Werner Baumann (werner.baumann@onlinehome.de)
    Spaces in URL again.
    * webdav.c: dav_open_connection(dav_args *args)
        allow http-escaped urls (unescape, escape, unescape)
        reason: no spaces, no quotation possible in fstab
    * mount.davfs.8:
        added clarification in manpage (hope it's confusing
        enough to prevent people from using pathnames with spaces)

2005-07-08 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c: dav_get_args()
      - allow quoted urls on commandline, strip quotes
    * util.c: parse_line()
      - fixed '==' instead of '=' bugs
      
2005-07-08 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c: dav_check_config()
      - checking for double mounts
      
2005-07-08 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c: dav_save_mount_pid()
      - changed format of pid-file (integer, newline)
      
2005-07-08 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c:
      - get_free_device(): checking for pid-files and ignoring
        device if a pid-file exists
      - removed check_pidfile()
      - removed useless options: (no)dev, (no)exec and (no)suid
    * mount.davfs.8
      - removed useless options: (no)dev, (no)exec and (no)suid
    
2005-07-08 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: dav_open_connection(dav_args *args)
        added missing path-escaping before ne_options()
        
2005-05-29 Werner Baumann (werner.baumann@oninehome.de)
    *davsd.c: don't allow to chang uid or gid

2005-05-29 Werner Baumann (werner.baumann@oninehome.de)
    *davsd.c, webdav.c, util.c, util.h:
        security fix: fixed file/dir owner, fixed mode
        checking permissions for every coda upcall
        only the mounting user and root have any permission

2005-05-27 Werner Baumann (werner.baumann@oninehome.de)
    * davfsd.c: removed set_mkdir_attr() and
        set_create_attr(); use st2attr() instead
        
2005-05-27 Werner Baumann (werner.baumann@oninehome.de)
    * mount.davfs.8.gz: added man page
    * utils.c: changed defaults for options dev, exec
        and suid to no.
    * utils.c: checking mode of secrets files

2005-05-19 Werner Baumann (werner.baumann@onlinehome.de)
    * davfs.d, webdav.c util.c:
        take default mode from dav_file-mode and
        dav_dir_mode
        
2005-05-16 Werner Baumann (werner.baumann@onlinehome.de)
    * webdav.c: dav_init_session(), ignore_verify()
        fail_verify()
        verify cerificates against CAs that come
        with openssl

2005-05-15 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c: changed parsing of config files to enable
        quotation
    * util.c: get default mode from umask
        split mode option into file_mode and dir_mode
        
2005-05-07 Werner Baumann (werner.baumann@onlinehome.de)
    * util.h, util.c:
        send debug-messages to syslog facility daemon
    * util.c davfsd.c:
        split dav_get_args(), dav_check_args()
        checking permissions after commd line parsing
        checking for group membership
    * davfs.d, webdav.c, util.c:
        removed unecessary copying from args to global
        variables, changed struct dav_args
        rmoved dav_set_fstat_default() and
        dav_get_fstat_default()
        setting generic_stat in dav_check_args()
    * davfsd.c: reactivated set_create_attr()

2005-04-25 Werner Baumann (werner.baumann@onlinehome.de)
    * util.c: added ask_auth(), ask_user(), ask_password()
        (re)added option (no)askauth
    * webdav.c (auth): moved interactive code to util.c
        changed auth(), added proxy_auth()
    * configure.in, Makefile.in:
        added variable dav_group
        set group of /var/run/davfs2 to dav_group
    * util.c: get_args(), check_device()
        set group of davfs-device to dav_group
    * README: added text concerning dav_group
    
2005-04-22 Sung Kim (hunkim@cs.ucsc.edu)
    * webda.c (auth): Authentication prompt shows only 
	at the mounting time. 
    * Makefile.in: Create backups for secrests.
    * davfs.c : Deleted  dav_delete_args(args), 
	since the args(username, passwd) can be reused by neon
	
2005-04-15 Werner Baumann (werner.baumann@onlinehome.de)
    * Added files: davfs2.conf, davfs2.conf-template
                   secrets and secrets-template
    * Makefile.in:
      - Added sysconfdir, localstatedir and datadir
        as well as lines to create the directories and
        copy files
      - removed MOUNTOBJS
    * README: incorporated the changes
    * davfs.c:
      - default_signal_handler(), sigchld_signal_handler()
        new clean-up code
      - dav_mopt_parse_mtab() removed
      - main():
        New start up code (up to the beginning of the
        message queue)
        After ne_session is opened, the root VFid is created.
        Only one fork (Parent for mount, child for message
        queue)
        Permanently set euid to uid for daemon (no root
        permissions in case of user mount)
        Check, whehter still mounted each time select
        returns because of timeout, to shut down daemon
        cleanly when unmounted.
        CODA_STATFS: Faking free disk space to satisfy
        Nautilus.
        Tried to clean up includes
    * mount.c: removed. Mount-functions are now in utils.c
    * util.h: new structure dav_args for otions and arguments
        new functions for commandline parsing, config-files
        and mounting
    * util.c: New functions for parsing commandline and
        configfiles and for mounting
    * webdav.c:
      - auth(): username and password for WebDAV-Server
        and for proxy may be entered interactivly, but only
        on demand
      - dav_init_session():
        added callback-function auth for proxy
        adapted to new dav_args structure
      - dav_open_connection();
        adapted to new dav_args structure
        session will no longer be closed but stays open
        from first init untill unmount

2005-01-18 Sung Kim <hunkim@cse.ucsc.edu>
	* Update Copyright for OPENSSL
	
2004-11-01 Robert Spier
	* Seems like a good time for 0.2.3
	* Changes in the past 11 months include...
	* PID file handling changes
	* some support for Coda v2
	* changes to debugging support
	* kernel 2.6 support 
	* fix for working with Apache 1.x
	* fix cmd line options so it can be put in standard fstab (mount.c r1.20)
	* fix for password echoing 

2003-12-06 Sung Kim <hunkim@cse.ucsc.edu>
	* Update to neon 0.24.2
        * Added nolocks and askauth options by Joao Gouveia (jgouveia@users.sf.net)

2002-10-19 Sung Kim <hunkim@cse.ucsc.edu>
        * Hide information from PS

2002-10-13 Sung Kim <hunkim@cse.ucsc.edu>
        * Upgrade neon-0.23.5

2002-10-07 Sung Kim <hunkim@cse.ucsc.edu>
        * Disabled the empty and already mounted directory

2002-10-03 Sung Kim <hunkim@cse.ucsc.edu>
        * Change mktemp to mkstemp
        * Added neon time out
        * Added Coda module loading in FAQ

2002-10-03 Sung Kim <hunkim@cse.ucsc.edu>
	* Added directory cache

2002-10-02 Sung Kim <hunkim@cse.ucsc.edu>
        * Fixed rename call
        * dirlist returns '.' and '..' to solove hang problem in empty directory

2002-10-02 Robert Spier <rspier@pobox.com>
	* Added a simple perl test tool
	* Code cleanup

2002-10-02 Sung Kim <hunkim@cse.ucsc.edu>
        * Use ne_strdup and free mopt
        * Move fork point

2002-10-01 Sung Kim <hunkim@cse.ucsc.edu>
	* Remove glib gList and add simple linked list.
        * Remove KERNEL_SRC 

2002-09-30 Robert Spier <rspier@pobox.com>
	* Add missing line wrap
	* Add RH7.3 autoconf info
        * authentication realloc problem fixed

2002-09-30 Sung Kim <hunkim@cse.ucsc.edu>
      	* Update neon library 0.23.4
	* More detailed error message
	* MTAB update bug fixed
	* Fixed URI escape problem
	* Fixed STAT problem

2002-09-28 Sung Kim <hunkim@cse.ucsc.edu>
	* Add WebDAV debug message
	* Fixed SSL status reading
	* Release 0.1.3
	* Mount error message fixed

You are in the wrong end for adding new entries. New entries at the top.
