Mention hard-link memory savings and byte-transfer savings.
[rsync/rsync.git] / NEWS
diff --git a/NEWS b/NEWS
index 4c62d82..db03fc1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,39 +1,66 @@
-rsync 2.5.2 (26 Jan 2002)
-
-  SECURITY FIXES:
-
-    * Signedness security patch from Sebastian Krahmer
-      <krahmer@suse.de> -- in some cases we were not sufficiently
-      careful about reading integers from the network.
+NEWS for rsync 3.0.0 (UNRELEASED)
+Protocol: 30 (changed)
+Changes since 2.6.9:
 
   BUG FIXES:
 
-    * Fix possible string mangling in log files.
+    - Fixed the output of -ii when combined with one of the --*-dest options:
+      it now itemizes all the items, not just the changed ones.
 
-    * Fix for setting local address of outgoing sockets.
+    - Made the output of all file types consistent when using a --*-dest
+      option.  Prior versions used to output too many creation events for
+      matching items.
 
-    * Better handling of hardlinks and devices on platforms with
-      64-bit dev_t or ino_t.
+    - The code that waits for a child pid now handles being interrupted by
+      a signal.  This fixes a problem with the pre-xfer exec function not
+      being able to get the exit status from the script.
 
-    * Name resolution on machines supporting IPv6 is improved.
+    - A negated filter rule now sends the negation option when sending the
+      filter rules.
 
-    * Fix for device nodes.  (dann frazier)   (Debian #129135)
+    - Fixed a problem with -vv (double --verbose) and --stats when "pushing"
+      files (which includes local copies).  Version 2.6.9 would complete the
+      copy, but exit with an error when the receiver output its memory stats.
 
   ENHANCEMENTS:
 
-    * With -v, rsync now shows the command used to initiate an ssh/rsh
-      connection.
+    - Added the --delete-delay option, which is a more efficient way to
+      delete files at the end of the transfer without needing a separate
+      delete pass.
+
+    - You may specify --max-delete=0 to a 3.0.0 client as long as the
+      receiving side is at least version 3.0.0.  This means that you
+      can pull from an older rsync with this option, but pushing to an
+      older rsync will generate an error.  *Be sure to never specify a 0
+      value to an older rsync client, or it will be silently ignored.*
+
+    - The --hard-link option now uses less memory on both the sending and
+      receiving side for all protocol versions.  For protocol 30, the use
+      of a hashtable on the sending side allows us to more efficiently
+      convey to the receiver what files are linked together.  This reduces
+      the amount of data sent over the socket by a considerable margin, and
+      moves the in-memory storage of the device+inode information from the
+      receiving side (for protocols < 30) to the sending side (note that
+      older rsync versions kept the device+inode information on both
+      sides).
+
+  INTERNAL:
+
+    - Added some isType() functions that make dealing with signed characters
+      easier without forcing variables via casts.
+
+    - Upgraded the included popt version to 1.10.2 and improved its use of
+      string-handling functions.
+
+    - Added missing prototypes for compatibility functions from the lib dir.
+
+    - Configure determines if iconv() has a const arg, allowing us to avoid a
+      compiler warning.
+
+    - Made the sending of some numbers more efficient for protocol 30.
 
-    * --statistics now shows memory heap usage on platforms that
-        support mallinfo().
+    - Improved the use of "const" on pointers.
 
-    * "The Ted T'so school of program optimization": make progress
-      visible and people will think it's faster.  (With --progress,
-      rsync will show you how many files it has seen as it builds the
-      file_list, giving some indication that it has not hung.)
+  DEVELOPER RELATED:
 
-    * Improvements to batch mode support.  This is still experimental
-      but testing would be welcome.   (Jos Backus)
-    * New --ignore-existing option, patch previously distributed with
-      Vipul's Razor.  (Debian #124286)
+    - ...