commons-vfs.git
2 years ago[VFS-734] Add functional interface
Gary Gregory [Sat, 5 Oct 2019 20:36:50 +0000 (16:36 -0400)] 
[VFS-734] Add functional interface
org.apache.commons.vfs2.function.VfsConsumer.

Bump version number due to addition of new interface.

2 years ago[VFS-734] Add functional interface
Gary Gregory [Sat, 5 Oct 2019 20:35:30 +0000 (16:35 -0400)] 
[VFS-734] Add functional interface
org.apache.commons.vfs2.function.VfsConsumer.

2 years agoNo need to split declaration from initialization.
Gary Gregory [Sat, 5 Oct 2019 19:50:04 +0000 (15:50 -0400)] 
No need to split declaration from initialization.

2 years agoRename private method.
Gary Gregory [Sat, 5 Oct 2019 19:48:23 +0000 (15:48 -0400)] 
Rename private method.

2 years agoUpdate tests using org.mockito:mockito-core from 3.0.0 to 3.1.0.
Gary Gregory [Thu, 3 Oct 2019 16:40:48 +0000 (12:40 -0400)] 
Update tests using org.mockito:mockito-core from 3.0.0 to 3.1.0.

2 years ago[VFS-731] Update org.apache.httpcomponents:httpclient from 4.5.9 to
Gary Gregory [Thu, 3 Oct 2019 16:35:04 +0000 (12:35 -0400)] 
[VFS-731] Update org.apache.httpcomponents:httpclient from 4.5.9 to
4.5.10.

[VFS-732] Update org.apache.httpcomponents:httpcore-nio from 4.4.11 to
4.4.12.

2 years agoTypo.
Gary Gregory [Mon, 30 Sep 2019 12:52:40 +0000 (08:52 -0400)] 
Typo.

3 years agoRemove trailing white spaces on all lines.
Gary Gregory [Fri, 13 Sep 2019 12:26:32 +0000 (08:26 -0400)] 
Remove trailing white spaces on all lines.

3 years agoMore lambdas, less boilerplate.
Gary Gregory [Fri, 13 Sep 2019 12:23:28 +0000 (08:23 -0400)] 
More lambdas, less boilerplate.

3 years ago[VFS-729] Upgrade hadoop to 2.7.4 or later; will use current 3.2.0.
Gary Gregory [Sun, 1 Sep 2019 23:57:36 +0000 (19:57 -0400)] 
[VFS-729] Upgrade hadoop to 2.7.4 or later; will use current 3.2.0.

Also adds GitHub Actions build.

3 years ago[VFS-444] ResourceFileProvider "res://" failed to obtain FileObject from
Gary Gregory [Thu, 29 Aug 2019 19:23:46 +0000 (15:23 -0400)] 
[VFS-444] ResourceFileProvider "res://" failed to obtain FileObject from
resolved FileName.

3 years agoVFS-444: corrected ResourceFileProvider uri/path processing. (#71)
Michiel Hendriks [Thu, 29 Aug 2019 19:20:14 +0000 (21:20 +0200)] 
VFS-444: corrected ResourceFileProvider uri/path processing. (#71)

* Changed filename processing for ResourceFileProvider to be consistent with resource locations used by ClassLoader.

Resource locations are absolute, despite not having a leading '/'.

* Absolute resource locations do not start with a slash.

* If the uri has no scheme, use it from the base. If it is still null, default to 'file'.

* Updated documentation concerning the resource URI format.

* Code style corrections.

* Any amount of leading '/' in a resource URI are discarded when looking up a resource.

This makes `res:example` and `res://example` equivalent. This also makes FSM.resolveURI
and FSM.resolveFile consistent in behavior for any passed URI.

* Added test cases of an eventually blank resource path: res:///

* revert documentation update for 'res:' uri

* Changed example for res: to also include two slashes.

3 years ago[VFS-444] corrected ResourceFileProvider uri/path processing. #71.
Gary Gregory [Tue, 27 Aug 2019 21:13:09 +0000 (17:13 -0400)] 
[VFS-444] corrected ResourceFileProvider uri/path processing. #71.

Test current behavior.
stest

3 years ago[VFS-444] corrected ResourceFileProvider uri/path processing. #71.
Gary Gregory [Tue, 27 Aug 2019 21:12:33 +0000 (17:12 -0400)] 
[VFS-444] corrected ResourceFileProvider uri/path processing. #71.

Test current behavior.

3 years ago[VFS-444] corrected ResourceFileProvider uri/path processing. #71.
Gary Gregory [Tue, 27 Aug 2019 21:03:58 +0000 (17:03 -0400)] 
[VFS-444] corrected ResourceFileProvider uri/path processing. #71.

Test current behavior.

3 years ago[VFS-728] Update Apache Commons Compress from 1.18 to 1.19.
Gary Gregory [Tue, 27 Aug 2019 19:37:41 +0000 (15:37 -0400)] 
[VFS-728] Update Apache Commons Compress from 1.18 to 1.19.

Typo.

3 years agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/commons-vfs
Gary Gregory [Tue, 27 Aug 2019 19:36:48 +0000 (15:36 -0400)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-vfs

3 years ago[VFS-728] Update Apache Commons Compress from 1.18 to 1.19.
Gary Gregory [Tue, 27 Aug 2019 19:36:15 +0000 (15:36 -0400)] 
[VFS-728] Update Apache Commons Compress from 1.18 to 1.19.

Typo.

3 years ago[VFS-728] Update Apache Commons Compress from 1.18 to 1.19.
Gary Gregory [Tue, 27 Aug 2019 19:35:46 +0000 (15:35 -0400)] 
[VFS-728] Update Apache Commons Compress from 1.18 to 1.19.

3 years agoVFS-727: Replaced usage of VFS.getManager() for locally available FileSystemManager...
Michiel Hendriks [Tue, 27 Aug 2019 17:45:32 +0000 (19:45 +0200)] 
VFS-727: Replaced usage of VFS.getManager() for locally available FileSystemManager. (#70)

* Replaced usage of VFS.getManager() for locally available FileSystemManager.

Test cases made calls to the HostFileNameParser with a null context. So when
the context is null it will fallback to the original VFS.getManager() call.

* Code consistency: made local variable final.

* Undo accidental code reformat

* updated changes.xml

3 years agoReplaced VFS.getManager() calls to more local FileSystemManager access. (#69)
Michiel Hendriks [Mon, 26 Aug 2019 18:26:19 +0000 (20:26 +0200)] 
Replaced VFS.getManager() calls to more local FileSystemManager access. (#69)

@elmuerte,
For the follow up, you can give yourself credit in the changes.xml file ;-)

3 years ago- [VFS-726] getInputStream(int bufferSize) on SftpFileObject effectively
Gary Gregory [Mon, 19 Aug 2019 22:07:18 +0000 (15:07 -0700)] 
- [VFS-726] getInputStream(int bufferSize) on SftpFileObject effectively
ignores buffer size.
- [VFS-704] Some providers wrap their input/output streams twice in a
BufferedInputStream.

3 years agoUse try-with-resources.
Gary Gregory [Mon, 19 Aug 2019 21:55:42 +0000 (14:55 -0700)] 
Use try-with-resources.

3 years agoConsistent local names.
Gary Gregory [Mon, 19 Aug 2019 21:40:56 +0000 (14:40 -0700)] 
Consistent local names.

3 years agoSort members.
Gary Gregory [Mon, 19 Aug 2019 21:25:26 +0000 (14:25 -0700)] 
Sort members.

3 years agoSimplify.
Gary Gregory [Mon, 19 Aug 2019 20:09:24 +0000 (13:09 -0700)] 
Simplify.

3 years agoJavadoc.
Gary Gregory [Mon, 19 Aug 2019 20:01:02 +0000 (13:01 -0700)] 
Javadoc.

3 years ago[VFS-726] getInputStream(int bufferSize) on SftpFileObject effectively
Gary Gregory [Fri, 16 Aug 2019 20:17:54 +0000 (13:17 -0700)] 
[VFS-726] getInputStream(int bufferSize) on SftpFileObject effectively
ig
nores buffer size.

3 years ago[VFS-726]getInputStream(int bufferSize) on SftpFileObject effectively ig
Gary Gregory [Fri, 16 Aug 2019 20:15:34 +0000 (13:15 -0700)] 
[VFS-726]getInputStream(int bufferSize) on SftpFileObject effectively ig
nores buffer size.

3 years agoSort members.
Gary Gregory [Fri, 16 Aug 2019 18:57:29 +0000 (11:57 -0700)] 
Sort members.

3 years agoSort members.
Gary Gregory [Fri, 16 Aug 2019 18:56:06 +0000 (11:56 -0700)] 
Sort members.

3 years agoSlot for next release.
Gary Gregory [Fri, 16 Aug 2019 17:38:20 +0000 (10:38 -0700)] 
Slot for next release.

3 years agoBump to next development version
Gary Gregory [Thu, 15 Aug 2019 20:59:19 +0000 (13:59 -0700)] 
Bump to next development version

3 years agoDrop Oracle JDK 8.
Gary Gregory [Wed, 14 Aug 2019 20:35:15 +0000 (13:35 -0700)] 
Drop Oracle JDK 8.

3 years agoPreparing for next release. commons-vfs-2.4.1 commons-vfs-2.4.1-RC1 rel/commons-vfs-2.4.1
Gary Gregory [Sat, 10 Aug 2019 22:37:49 +0000 (18:37 -0400)] 
Preparing for next release.

3 years agoPreparing for next release.
Gary Gregory [Sat, 10 Aug 2019 22:35:37 +0000 (18:35 -0400)] 
Preparing for next release.

3 years agoPreparing for next release.
Gary Gregory [Sat, 10 Aug 2019 22:34:01 +0000 (18:34 -0400)] 
Preparing for next release.

3 years agoPreparing for next release.
Gary Gregory [Sat, 10 Aug 2019 22:32:16 +0000 (18:32 -0400)] 
Preparing for next release.

3 years agoPreparing for next release.
Gary Gregory [Sat, 10 Aug 2019 22:31:26 +0000 (18:31 -0400)] 
Preparing for next release.

3 years agoEscape XML reserved char.
Gary Gregory [Sat, 10 Aug 2019 22:10:04 +0000 (18:10 -0400)] 
Escape XML reserved char.

3 years agoJavadoc fixes.
Gary Gregory [Sat, 10 Aug 2019 21:26:28 +0000 (17:26 -0400)] 
Javadoc fixes.

3 years agoNext version will be 2.4.1.
Gary Gregory [Sat, 10 Aug 2019 21:18:50 +0000 (17:18 -0400)] 
Next version will be 2.4.1.

3 years agocheckstyle 8.22 -> 8.23.
Gary Gregory [Sat, 10 Aug 2019 13:40:16 +0000 (09:40 -0400)] 
checkstyle 8.22 -> 8.23.

3 years agoSet BC version to 2.4.
Gary Gregory [Sat, 10 Aug 2019 13:39:07 +0000 (09:39 -0400)] 
Set BC version to 2.4.

3 years ago[VFS-724] FileContent#getByteArray() throws IllegalArgumentException:
Gary Gregory [Sat, 10 Aug 2019 13:27:54 +0000 (09:27 -0400)] 
[VFS-724] FileContent#getByteArray() throws IllegalArgumentException:
Buffer size <= 0 when file size is 0.

Different implementation and tests for this ticket. Closes #68.

3 years ago[VFS-725][Local]
Gary Gregory [Fri, 9 Aug 2019 21:53:55 +0000 (17:53 -0400)] 
[VFS-725][Local]
org.apache.commons.vfs2.FileContent.getLastModifiedTime() is losing
milliseconds (always ends in 000).

3 years agoCreate slot for next release.
Gary Gregory [Fri, 9 Aug 2019 21:34:18 +0000 (17:34 -0400)] 
Create slot for next release.

3 years agoEnsure -bin is used for binary builds
Sebb [Fri, 2 Aug 2019 16:43:08 +0000 (17:43 +0100)] 
Ensure -bin is used for binary builds

3 years agoFix the site's source repository link.
Gary Gregory [Sun, 21 Jul 2019 20:56:05 +0000 (16:56 -0400)] 
Fix the site's source repository link.

3 years agoMerge remote-tracking branch 'origin/release'
Gary Gregory [Fri, 19 Jul 2019 02:50:40 +0000 (22:50 -0400)] 
Merge remote-tracking branch 'origin/release'

3 years agoFix download links.
Gary Gregory [Fri, 19 Jul 2019 02:45:41 +0000 (22:45 -0400)] 
Fix download links.

3 years agoAdd missing -bin.
Gary Gregory [Thu, 18 Jul 2019 14:23:28 +0000 (10:23 -0400)] 
Add missing -bin.

3 years agoTweak RNs.
Gary Gregory [Thu, 18 Jul 2019 13:24:24 +0000 (09:24 -0400)] 
Tweak RNs.

3 years agoBump to next development version
Gary Gregory [Tue, 16 Jul 2019 22:43:58 +0000 (18:43 -0400)] 
Bump to next development version

3 years agoUpdate POM version numbers for Apache Commons VFS release 2.4 commons-vfs-2.4 commons-vfs-2.4-RC1 rel/commons-vfs-2.4
Gary Gregory [Fri, 12 Jul 2019 14:22:31 +0000 (10:22 -0400)] 
Update POM version numbers for Apache Commons VFS release 2.4

3 years agoPreparing for the next release.
Gary Gregory [Fri, 12 Jul 2019 14:17:55 +0000 (10:17 -0400)] 
Preparing for the next release.

3 years agoAdd openjdk13 since openjdk-ea is now Java 14-EA.
Gary Gregory [Thu, 11 Jul 2019 14:50:45 +0000 (10:50 -0400)] 
Add openjdk13 since openjdk-ea is now Java 14-EA.

3 years agoPreparing for the next release.
Gary Gregory [Thu, 11 Jul 2019 14:32:27 +0000 (10:32 -0400)] 
Preparing for the next release.

- Javadoc
- Release notes items on source compatibility.
- Use HTTPS in URLs.

3 years agoUpdate underlying Checkstyle from 6.19 to 8.22.
Gary Gregory [Wed, 10 Jul 2019 19:02:54 +0000 (15:02 -0400)] 
Update underlying Checkstyle from 6.19 to 8.22.

3 years agoAssume was in the wrong method.
Gary Gregory [Tue, 9 Jul 2019 18:32:53 +0000 (14:32 -0400)] 
Assume was in the wrong method.

3 years ago[VFS-722] Update Apache Commons Collections from 4.3 to 4.4.
Gary Gregory [Tue, 9 Jul 2019 18:32:30 +0000 (14:32 -0400)] 
[VFS-722] Update Apache Commons Collections from 4.3 to 4.4.

3 years agoUse HTTPS to access Apache resources.
Gary Gregory [Tue, 9 Jul 2019 14:44:20 +0000 (10:44 -0400)] 
Use HTTPS to access Apache resources.

3 years ago[VFS-721] Add support for symbolic links for the local file system and
Gary Gregory [Fri, 5 Jul 2019 00:54:48 +0000 (20:54 -0400)] 
[VFS-721] Add support for symbolic links for the local file system and
add FileObject#isSymbolicLink().

3 years agoFormat tweak.
Gary Gregory [Wed, 3 Jul 2019 18:12:46 +0000 (14:12 -0400)] 
Format tweak.

3 years agoSort methods.
Gary Gregory [Wed, 3 Jul 2019 17:27:39 +0000 (13:27 -0400)] 
Sort methods.

3 years agoSort methods.
Gary Gregory [Wed, 3 Jul 2019 17:25:46 +0000 (13:25 -0400)] 
Sort methods.

3 years agoMerge branch 'master' of https://gitbox.apache.org/repos/asf/commons-vfs
Gary Gregory [Thu, 27 Jun 2019 15:28:52 +0000 (11:28 -0400)] 
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-vfs

3 years ago[VFS-720 ]Implement Closeable for RandomAccessContent #66.
Gary Gregory [Thu, 27 Jun 2019 15:28:44 +0000 (11:28 -0400)] 
[VFS-720 ]Implement Closeable for RandomAccessContent #66.

3 years agoImplement Closeable for RandomAccessContent (#66)
Boris Petrov [Thu, 27 Jun 2019 15:25:47 +0000 (18:25 +0300)] 
Implement Closeable for RandomAccessContent (#66)

3 years ago[VFS-719] Add methods to get the contents of file objects as strings.
Gary Gregory [Thu, 27 Jun 2019 15:23:14 +0000 (11:23 -0400)] 
[VFS-719] Add methods to get the contents of file objects as strings.

3 years agoRemove unused import.
Gary Gregory [Thu, 27 Jun 2019 14:14:15 +0000 (10:14 -0400)] 
Remove unused import.

3 years agoJavadoc.
Gary Gregory [Thu, 27 Jun 2019 12:36:11 +0000 (08:36 -0400)] 
Javadoc.

3 years agoFix compiler warnings.
Gary Gregory [Wed, 26 Jun 2019 14:59:16 +0000 (10:59 -0400)] 
Fix compiler warnings.

3 years agoRefactor multiple API calls.
Gary Gregory [Wed, 26 Jun 2019 14:58:16 +0000 (10:58 -0400)] 
Refactor multiple API calls.

3 years agoSort members.
Gary Gregory [Wed, 26 Jun 2019 14:48:24 +0000 (10:48 -0400)] 
Sort members.

3 years ago[VFS-718] MonitorInputStream should not close the stream in "read" #67.
Gary Gregory [Tue, 18 Jun 2019 14:07:54 +0000 (10:07 -0400)] 
[VFS-718] MonitorInputStream should not close the stream in "read" #67.

3 years agoMonitorInputStream should not close the stream in "read" (#67)
Boris Petrov [Tue, 18 Jun 2019 14:06:40 +0000 (17:06 +0300)] 
MonitorInputStream should not close the stream in "read" (#67)

[VFS-718] MonitorInputStream should not close the stream in "read" #67.

3 years ago[VFS-698] SFTP file attributes are fetched multiple times leading to
Gary Gregory [Sun, 16 Jun 2019 23:44:28 +0000 (19:44 -0400)] 
[VFS-698] SFTP file attributes are fetched multiple times leading to
very slow directory listing; #65.

3 years agoUpdate FTP tests from mina-core 2.0.19 to 2.0.20.
Gary Gregory [Sun, 16 Jun 2019 22:40:03 +0000 (18:40 -0400)] 
Update FTP tests from mina-core 2.0.19 to 2.0.20.

3 years ago[VFS-717] Update org.apache.httpcomponents:httpclient from 4.5.8 to
Gary Gregory [Sun, 16 Jun 2019 22:31:56 +0000 (18:31 -0400)] 
[VFS-717] Update org.apache.httpcomponents:httpclient from 4.5.8 to
4.5.9.

3 years ago[VFS-619] Performance issue with SftpFileObject.getChildren() #65.
Gary Gregory [Sun, 16 Jun 2019 22:26:16 +0000 (18:26 -0400)] 
[VFS-619] Performance issue with SftpFileObject.getChildren() #65.

3 years agoVFS-619 Fixes performance issue with SftpFileObject.getChildren() (#65)
David Septimus [Sun, 16 Jun 2019 22:22:57 +0000 (18:22 -0400)] 
VFS-619 Fixes performance issue with SftpFileObject.getChildren() (#65)

* VFS-619 Fixes performance issue with SftpFileObject.getChildren() due to refresh() making a stat call to the SFTP server.

* VFS-619 Removes redundant implementation of FileObject.refresh()

3 years agoName "Apache Commons" in page title.
Gary Gregory [Thu, 6 Jun 2019 14:13:33 +0000 (10:13 -0400)] 
Name "Apache Commons" in page title.

3 years agoJavadoc: Use "file name" instead of "filename".
Gary Gregory [Thu, 30 May 2019 20:51:35 +0000 (16:51 -0400)] 
Javadoc: Use "file name" instead of "filename".

Camel case vars "filename" to "fileName".

3 years agoJavadoc: Use "file name" instead of "filename".
Gary Gregory [Thu, 30 May 2019 19:55:14 +0000 (15:55 -0400)] 
Javadoc: Use "file name" instead of "filename".

Camel case vars "filename" to "fileName".

3 years agoJavadoc: Use "file system" instead of "filesystem". Camel-case
Gary Gregory [Thu, 30 May 2019 18:07:26 +0000 (14:07 -0400)] 
Javadoc: Use "file system" instead of "filesystem". Camel-case
"fileSystem".

3 years agoJavadoc: Use "file system manager" instead of "filesystemmanager".
Gary Gregory [Thu, 30 May 2019 18:01:23 +0000 (14:01 -0400)] 
Javadoc: Use "file system manager" instead of "filesystemmanager".

3 years agoJavadoc: Use "file system" instead of "filesystem".
Gary Gregory [Thu, 30 May 2019 18:00:46 +0000 (14:00 -0400)] 
Javadoc: Use "file system" instead of "filesystem".

3 years agoRemove @version Javadoc tags which still used Subversion keywords.
Gary Gregory [Thu, 30 May 2019 17:47:07 +0000 (13:47 -0400)] 
Remove @version Javadoc tags which still used Subversion keywords.

3 years agoRemove trailing whitespace.
Gary Gregory [Sun, 19 May 2019 01:39:09 +0000 (21:39 -0400)] 
Remove trailing whitespace.

3 years ago- Close Javadoc tags.
Gary Gregory [Sun, 19 May 2019 01:38:32 +0000 (21:38 -0400)] 
- Close Javadoc tags.
- Minor formating.
- Remove trailing whitespace.

3 years ago- Close Javadoc tags
Gary Gregory [Sat, 18 May 2019 12:50:34 +0000 (08:50 -0400)] 
- Close Javadoc tags
- Minor formating
- Remove trailing whitespace.

3 years ago[VFS-716] Fix AbstractFileName.getURI returning unencoded #-sign #64.
Gary Gregory [Thu, 16 May 2019 17:14:53 +0000 (13:14 -0400)] 
[VFS-716] Fix AbstractFileName.getURI returning unencoded #-sign #64.

3 years agoFix AbstractFileName.getURI returning unencoded #-sign (#64)
Boris Petrov [Thu, 16 May 2019 17:12:22 +0000 (20:12 +0300)] 
Fix AbstractFileName.getURI returning unencoded #-sign (#64)

3 years agoRemove Subversion's "@version $Id$".
Gary Gregory [Thu, 16 May 2019 14:06:08 +0000 (10:06 -0400)] 
Remove Subversion's "@version $Id$".

3 years ago[VFS-715] Add org.apache.commons.vfs2.FileContent.getByteArray().
Gary Gregory [Fri, 10 May 2019 15:54:21 +0000 (11:54 -0400)] 
[VFS-715] Add org.apache.commons.vfs2.FileContent.getByteArray().

3 years agoSort methods.
Gary Gregory [Fri, 10 May 2019 14:34:42 +0000 (10:34 -0400)] 
Sort methods.

3 years agoFix compiler warning and use try-with-resources with input stream.
Gary Gregory [Fri, 10 May 2019 14:32:49 +0000 (10:32 -0400)] 
Fix compiler warning and use try-with-resources with input stream.

3 years agoSort methods.
Gary Gregory [Tue, 7 May 2019 17:30:09 +0000 (13:30 -0400)] 
Sort methods.

3 years ago[VFS-713] Add FileObjectUtils.readProperties(FileObject) method to read
Gary Gregory [Tue, 7 May 2019 17:29:09 +0000 (13:29 -0400)] 
[VFS-713] Add FileObjectUtils.readProperties(FileObject) method to read
a .properties file.

Also make exists() tests not depend on a Windows path.