# HG changeset patch
# User Olaf Wintermann
# Date 1529835492 -7200
# Node ID 1607450065baeb4b054d77555fcbe047be9b43dd
# Parent b50ade8e7197d3f38d027559f5a327c355be9477
this could be the 1.2 release
diff -r b50ade8e7197 -r 1607450065ba CHANGELOG
--- a/CHANGELOG Sun Jun 24 11:51:07 2018 +0200
+++ b/CHANGELOG Sun Jun 24 12:18:12 2018 +0200
@@ -1,6 +1,32 @@
Changelog
=========
+version 1.2.0 (2018-06-24)
+--------------------------
+
+ - added support for xml properties
+ - added dav get option to keep existing files
+ - added config option to disable some commands in dav-sync for specific syncdirs
+ - added dav import/export commands
+ - added authprompt to copy/move commands
+ - added remove-repository and repository-url commands
+ - added support for file tags in dav-sync
+ - added full macos support
+ - added support for utf8 file names on windows
+ - improved error messages
+ - improved code quality
+ - fixed that dav was fundamentally broken on some platforms because of a vaarg misuse
+ - fixed that dav-sync could not overwrite files on windows
+ - fixed bsd config
+ - fixed wrong path output in get command
+ - fixed infinite loop when trying to overwrite a collection with a regular file
+ - fixed segfault in put command, when encryption is requsted but no key is specified
+
+version 1.1.1 (2017-12-12)
+--------------------------
+
+ - fixed dav get and list with -R option on windows (and possibly other platforms)
+
version 1.1.0 (2017-10-07)
--------------------------
diff -r b50ade8e7197 -r 1607450065ba README
--- a/README Sun Jun 24 11:51:07 2018 +0200
+++ b/README Sun Jun 24 12:18:12 2018 +0200
@@ -68,7 +68,7 @@
License
-------
-Copyright 2017 Olaf Wintermann. All rights reserved.
+Copyright 2018 Olaf Wintermann. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
diff -r b50ade8e7197 -r 1607450065ba bsd.mk
--- a/bsd.mk Sun Jun 24 11:51:07 2018 +0200
+++ b/bsd.mk Sun Jun 24 12:18:12 2018 +0200
@@ -31,7 +31,7 @@
AR = ar
RM = rm
-CFLAGS = -g -c -D_FILE_OFFSET_BITS=64
+CFLAGS = -O2 -c -D_FILE_OFFSET_BITS=64
COFLAGS = -o
LDFLAGS =
LOFLAGS = -o
diff -r b50ade8e7197 -r 1607450065ba clang.mk
--- a/clang.mk Sun Jun 24 11:51:07 2018 +0200
+++ b/clang.mk Sun Jun 24 12:18:12 2018 +0200
@@ -31,7 +31,7 @@
AR = ar
RM = rm
-CFLAGS = -g -c -D_FILE_OFFSET_BITS=64
+CFLAGS = -O2 -c -D_FILE_OFFSET_BITS=64
COFLAGS = -o
LDFLAGS =
LOFLAGS = -o
diff -r b50ade8e7197 -r 1607450065ba dav/version.h
--- a/dav/version.h Sun Jun 24 11:51:07 2018 +0200
+++ b/dav/version.h Sun Jun 24 12:18:12 2018 +0200
@@ -27,6 +27,6 @@
*/
#ifndef DAV_VERSION
-#define DAV_VERSION "1.2 RC4"
+#define DAV_VERSION "1.2"
#endif
diff -r b50ade8e7197 -r 1607450065ba docs/html/add-directory.html
--- a/docs/html/add-directory.html Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/add-directory.html Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
Adds a tag to a SyncDirectory file. The file argument must be a normal file path. If multiple SyncDirectories contain this file, the SyncDirectory must be specified with the -s option.
+
Tags must be enabled for the SyncDirectory. See Configuration for details.
+
-s <syncdir> SyncDirectory for this file
+
+
+
+
diff -r b50ade8e7197 -r 1607450065ba docs/html/archive.html
--- a/docs/html/archive.html Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/archive.html Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
Downloads a resource or a collection with all child resources, and writes the contents to an archive file. The Output is written to stdout, unless the -o option is used.
+
Currently the only available archive format is the ustar format.
+
These archive files can be uploaded to an collection with the dav import command.
+
-p disable file name and content decryption. You get exactly what is stored on the server.
+
-c enable file name and content decryption
+
-o <file> specify the local output file. A - indicates stdout
+
-u <date> download only files which are modified since the specified date. Uses the HTTP date format
+
Example: create tar file from collection
+
$ dav export -o collection.tar myserv/col/
+
+
+
diff -r b50ade8e7197 -r 1607450065ba docs/html/check-config.html
--- a/docs/html/check-config.html Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/check-config.html Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@
Creates a duplicate of the resource identified by url1 at the location url2. All resource properties are copied. Currently url1 and url2 must be the same host.
If url1 is a collection, all children are copied.
If url2 already exists, the command aborts, unless the -O option is specified.
-
The command uses a single WebDAV COPY request to duplicate the resources. You may use file name and path decryption to copy and encrypted resource. Please note that the copy will always be located at url2, so the top most collection name will not be disguised. See encryption for more details on how encryption works.
+
The command uses a single WebDAV COPY request to duplicate the resources. You may use file name and path decryption to copy an encrypted resource. Please note that the copy will always be located at url2, so the top most collection name will not be disguised. See encryption for more details on how encryption works.
-p disable file name and path decryption for url1
-c enable file name and path decryption for url1
-O overwrite the destination resource
diff -r b50ade8e7197 -r 1607450065ba docs/html/date.html
--- a/docs/html/date.html Sun Jun 24 11:51:07 2018 +0200
+++ b/docs/html/date.html Sun Jun 24 12:18:12 2018 +0200
@@ -26,6 +26,8 @@