Commit Graph

128 Commits

Author SHA1 Message Date
Andrew Gaul ed8319dbae Use consistent and latest version of commons-io
Changelogs:
http://commons.apache.org/io/upgradeto2_0.html
http://commons.apache.org/io/upgradeto2_2.html
http://commons.apache.org/io/upgradeto2_4.html
2012-07-30 10:58:32 -07:00
Andrew Gaul 985cccff9a Prefer valueOf over explicit object creation
This allows use of cached values.  Patched with:

find -name \*.java | xargs sed -i 's/new Boolean(false)/Boolean.FALSE/g'
find -name \*.java | xargs sed -i 's/new Boolean(true)/Boolean.TRUE/g'
find -name \*.java | xargs sed -i 's/new Boolean(/Boolean.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Integer(/Integer.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Long(/Long.valueOf(/g'
2012-07-22 21:01:46 -07:00
Andrew Gaul a40983a39d Prefer InputSupplier helpers
These ensure that inputs are closed properly.

Updated with: find -name \*.java | xargs sed -i
's/toStringAndClose(\(.*\)\.getInput())/toString(\1)/'
2012-07-18 17:42:48 -07:00
Adrian Cole 05fd64af44 cleaned up http builders and expect tests 2012-07-15 01:50:38 -07:00
Aled Sage 8c36f2c0d8 Issue #1016: fix jsch hanging 2012-07-11 14:49:26 +01:00
Adrian Cole 0f0d65f471 Issue 1009:upgrade to sshj 0.8.1 2012-07-09 00:02:20 -07:00
Adrian Cole a73240f41b Issue 1007: ios8601 codec 2012-07-06 21:23:10 -07:00
Aled Sage 9e0f22207c Issue 1004: GAE uses SocketOpenUnsupported 2012-07-06 10:30:32 +01:00
Aled Sage 95c35487f0 Issue 1004: changes default SocketOpen impl
Sets it to InetSocketAddressConnect, instead of SocketOpenUnsupported.
Removes overriding the impl from Jsch and Sshj's client modules.
2012-07-05 16:00:29 +01:00
Nirmal 955cd540ce Specifically adding the osgi import org.apache.commons.io.input;version=[1.4,3) 2012-06-24 16:52:01 +05:30
Nirmal e5731df922 Upgrading commons-io dependency of sshj driver to 2.0 2012-06-23 09:48:48 +05:30
Andrew Gaul 736554d049 Correct spelling errors 2012-06-14 10:03:39 -04:00
Adrian Cole a8b5c713a1 Issue 962:slf4j initializing loggers to null 2012-06-06 16:35:48 -07:00
Ioannis Canellos b078adc3ce Removed fragments and dynamic imports. Added centralized control of the maven-bundle-plugin. 2012-06-03 19:41:54 +03:00
Alex Heneveld 628bbaf850 update sshj to 0.8.0, fixing power-of-2 bug reported by me and fixed by aled 2012-05-22 12:00:43 -06:00
Adrian Cole f8280ec56c Issue 647: normalized use of IllegalArgumentException 2012-05-22 11:31:32 -06:00
Adrian Cole 6407700de4 prevent assertions in sshj from borking tests 2012-05-18 15:58:51 -07:00
Aled Sage 2637a4b6e9 Issue 647: DateCodec impl delegates to DateService 2012-05-17 11:25:13 +01:00
Aled Sage cd9c830c5a Issue 647: store Expires as Date; added ContentMetadataCodec for converting to/from HTTP headers 2012-05-17 11:24:50 +01:00
Aled Sage 9aedf7b6f6 Issue 647: added "Expires" header for ContentMetadata 2012-05-17 11:24:45 +01:00
Adrian Cole 7854d85f13 Issue 932:transition to multi-threaded google appengine 2012-05-17 00:18:08 -07:00
Adrian Cole fed9c22a23 Issue 925: fixed cyclic dependency on GAE 2012-05-15 19:16:41 -07:00
Adrian Cole 05ab8b16df Issue 918:update to latest GAE sdk 1.6.5 2012-05-07 16:22:12 -07:00
Adrian Cole 50074682ba updated to gae 1.6.1 2012-05-07 14:15:07 -07:00
Matt Stephenson 381851b8ab Remove IPSocket class, replace with Guava's HostAndPort class. 2012-04-25 17:52:01 -07:00
Andrew Gaul a3161ba7ba Throw return value instead of returning null
Throwables.propagate always throws its argument and throwing its
impossible return value better represents our intent than returning
null.
2012-04-16 13:45:23 -07:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07:00
Adrian Cole 5c6ce9f081 organize imports 2012-03-28 03:37:48 -04:00
Adrian Cole 2cd11f6b18 silently parse mildly incorrect dates 2012-03-22 21:34:59 -07:00
Adrian Cole 728f9612e0 moved logback.xml up to compute module 2012-03-21 13:05:03 -07:00
Adrian Cole 2dc66ee5e1 Issue 141: add serviceloader lookup for LoggingModule 2012-03-21 13:05:02 -07:00
Adrian Cole 0560ba124b fixed joda test 2012-03-20 09:52:41 -07:00
Andrew Gaul 796fbff2a7 Use GMT for RFC 822 dates
This fixes AWS S3 support, which previously complained about a missing
or improper Date header.
2012-03-19 23:36:58 -07:00
Adrian Cole 755485537b allow execChannel to survive sshclient.disconnect, and not be bound by sessionTimeout 2012-03-10 13:25:12 -08:00
Adrian Cole 06ab36ae76 execChannel shouldn't allocate PTY 2012-03-10 10:15:44 -08:00
Adrian Cole d67aa3bbf5 more realistic test of ssh channel 2012-03-08 16:51:33 -08:00
Adrian Cole e39fc48901 accidental close on finally block 2012-03-08 16:51:09 -08:00
Adrian Cole dd7b16075e Issue 861:SSHClient should provide access to input/output streams 2012-03-08 15:48:51 -08:00
Adrian Cole fa7f81c4e7 Issue 847:version updates 2012-02-23 15:11:05 +02:00
Ioannis Canellos 5490b3068c [842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles. 2012-02-17 00:49:39 +02:00
Andrew Donald Kennedy b2cc1f6b38 Updating ISO8601 time zone parsing and tests 2012-02-10 14:46:00 +00:00
Adrian Cole fe4d148528 updated current version to 1.5.0-SNAPSHOT 2012-02-04 11:06:07 -08:00
Adrian Cole 4837cf92c5 set a sane tty for ssh connections 2012-02-03 00:29:41 -08:00
Adrian Cole 3df052565f updated current version to 1.4.0-SNAPSHOT 2012-01-16 13:08:32 -08:00
Adrian Cole 22fc14fc09 Issue 145:Add custom user agent 2012-01-15 15:41:17 -08:00
Adrian Cole bc172850c1 retry sftp failures 2012-01-14 21:06:32 -08:00
Adrian Cole 52822b9594 Issue 808:update to sshj 0.7.0 2012-01-10 17:41:38 -08:00
Adrian Cole f390f314ee Issue 803: changes needed when guice is in production mode 2012-01-07 06:08:32 -08:00
Adrian Cole f9b38f646c Issue 730: removed deprecated methods from ComputeService RunScript/TemplateOptions SshClient.Factory and replaced occurences of Credentials with LoginCredentials whereever possible 2011-12-20 23:19:45 -08:00
Adrian Cole b8c6c73fe8 add md5 of password to log file 2011-12-20 23:19:39 -08:00