• Home
  • History
  • Annotate
  • only in /frameworks/volley/src/com/
History log of /frameworks/volley/src/com/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2952b728becbf317f88a627cf17d0b5b6645bb66 10-Jul-2013 Evan Charlton <evancharlton@gmail.com> Remote executable bit from ImageLoader

This shouldn't have been executable.

Change-Id: Ib5c23ed853a99a4db55f1f2605528f4d9717ad24
ndroid/volley/toolbox/ImageLoader.java
c3dce982fb05a7674d360255a9831adf83475099 01-Jul-2013 Vladimir Baryshnikov <vovkab@gmail.com> NetworkImage - fix nullPointerException.

1. getLayoutParams() can be null.
2. old version used LinearLayout.LayoutParams instead of ViewGroup.LayoutParams
ndroid/volley/toolbox/NetworkImageView.java
8c5daf39f32ed5ed4e5dc8aa78cbcf5e169c3e4e 31-May-2013 Evan Charlton <evancharlton@gmail.com> Allow per-app VolleyLog tags

To clean up the logs when multiple apps are using Volley, optionally
customize the VolleyLog tag so that the app has its own namespace.

Change-Id: I5b2129ab41bcfb7f309d324f696f905c98833551
ndroid/volley/VolleyLog.java
ndroid/volley/toolbox/Volley.java
b33d0d6651b0b31e965839211d410136db2dcb5b 21-Jun-2013 Ficus Kirkpatrick <ficus@android.com> Port CacheHeader away from ObjectOutputStream.

The standard Java serialization system relies heavily on
reflection, even for primitive types and Strings, which
generates a lot of garbage. Move to a simple built-in
implementation.

Change-Id: I7f35cbfd1963f2aaf726f5b747cef1b2f8a0ad69
ndroid/volley/toolbox/DiskBasedCache.java
e5a344749f100325cd8ef0d78cd7db5221b5e628 21-Jun-2013 Ficus Kirkpatrick <ficus@android.com> Add a test for DiskBasedCache.

Change-Id: I8106e5763df7e600c82c446b6ff828907fb187c1
ndroid/volley/toolbox/DiskBasedCache.java
1f09db94cdaae7821feabfb479d91ba182ae45be 10-Jun-2013 Ficus Kirkpatrick <ficus@android.com> Merge "Fix WRAP_CONTENT//WRAP_CONTENT case in NIV."
d843f88166f5a1a099cfc9ff35473b31b50b18af 10-Jun-2013 Ficus Kirkpatrick <ficus@android.com> Merge "Fixed bug caused by batching responses in the ImageLoader"
dc5355251132a447e384e273127b1a8bdaf32f5a 23-May-2013 Cameron Ketcham <cketcham@gmail.com> Fixed bug caused by batching responses in the ImageLoader

If the first call to batchResponse passes a VolleyError,
then all responses from that batch would show an error even
if some of them succeeded. This fixes the bug by setting the
error per BatchedImageRequest rather than for the batch.

Change-Id: I2543d2d6f4154c33ba072d7f97aee9dc67f3300e
Signed-off-by: Cameron Ketcham <cketcham@gmail.com>
ndroid/volley/toolbox/ImageLoader.java
aa6a5e69c646e8ef926a794a031ca4a9b5526a89 09-Jun-2013 Aurash Mahbod <aurash@google.com> Fix WRAP_CONTENT//WRAP_CONTENT case in NIV.

If the NIV is WRAP_CONTENT for both width / height,
skip the check that makes sure that it is measured before
fetching the image.
ndroid/volley/toolbox/NetworkImageView.java
c3dea925af9b3523e2e01e8b7799e71ef558c1c5 31-May-2013 Ficus Kirkpatrick <ficus@android.com> Merge "Allow callers to set value of notifyAuthFailure"
285d4727a6c223e8f4c19b6b44078464605b7f8b 22-May-2013 andaagar <anders.aagaard@finn.no> adding isCached function to ImageLoader

Change-Id: I771a608910a7b2b1dc1fe1d30395a7bb0738592e
ndroid/volley/toolbox/ImageLoader.java
4af455a438f7cd25a6064fadaa545be0c8fc1c73 22-May-2013 Ficus Kirkpatrick <ficus@android.com> Merge "Allow custom HttpStack in Volley.newRequestQueue."
cf14c3b3a10c82cc30d2008d30c09fcb9a4ed7a1 22-May-2013 Ficus Kirkpatrick <ficus@android.com> Merge "Don't requestLayout in layout pass in NIV"
f5bea0d0871b65cb63149f2f8d1231345b1a13f2 22-May-2013 Ficus Kirkpatrick <ficus@android.com> Allow custom HttpStack in Volley.newRequestQueue.

Add a variant method that allows the user to pass in
an HttpStack to be passed to BasicNetwork. Makes using
alternative stacks like OkHttp easier.
ndroid/volley/toolbox/Volley.java
05a1b0edb25ed84c95523df7a81bd87a44b697d7 21-May-2013 Jake Wharton <jakewharton@gmail.com> Allow override point for connection creation.

This provides an easy insertion point for alternate implementations
of the HttpUrlConnection API (e.g., OkHttp).

Change-Id: I84482c7a66ce7106680d2efc9865743b8ecb0248
ndroid/volley/toolbox/HurlStack.java
b25a6e0f4d3bfdeddfc10e8f5518bab5c16634fd 20-May-2013 Aurash Mahbod <aurash@google.com> Don't requestLayout in layout pass in NIV
ndroid/volley/toolbox/NetworkImageView.java
da703141dabd9cae3f71e15a4b9cbb79f6d5d4b8 15-May-2013 Evan Charlton <evancharlton@gmail.com> Don't trample on the user-supplied tag

Store the ImageContainer in a member variable instead of in the tag
field (since the tag field buys us nothing, anyway).
ndroid/volley/toolbox/NetworkImageView.java
e7f0abd82aedf0e91b868bbdae6b1ad8d92241da 14-May-2013 Ficus Kirkpatrick <ficus@android.com> Merge "Add ImageLoader and NetworkImageView convenience classes"
d62a616ebca5bfa4f9ec5517208e13f2d501b69a 08-May-2013 Aurash Mahbod <aurash@google.com> Add ImageLoader and NetworkImageView convenience classes

Change-Id: I5a1454c7c8d1ed62953b9cdaa9871b8cb40b23a7
ndroid/volley/toolbox/ImageLoader.java
ndroid/volley/toolbox/NetworkImageView.java
ab6ea086d1bfe6387c35270d48be1a5c0567d7d3 10-May-2013 David Braun <dabraun@google.com> Intern CacheHeader keys and values to avoid string duplication

We found that Volley generated about 20 strings per cached item (~9000
strings for ~440 cached items) and most of these were duplicates. This
change interns the key and value strings to avoid duplication. This saved
about 500kb for our scenario (440 images cached.)
ndroid/volley/toolbox/DiskBasedCache.java
2ff999381ba84f38218545430768949df7bbb001 30-Apr-2013 Evan Charlton <evanc@google.com> Allow callers to set value of notifyAuthFailure

Since a caller might want AndroidAuthenticator to show a notification
instead of delivering an error, allow it to be specified.

Change-Id: I9232668f4e8e83b46da2c2fb1c678246c735f200
ndroid/volley/toolbox/AndroidAuthenticator.java
cc3a9344202b3b3ee7e1a33b79591b3d11182354 26-Apr-2013 Evan Charlton <evanc@google.com> Add TrafficStats integration

Allow Request subclasses to set their TrafficStats tags. By default,
this is the hostname's hashCode() so that requests to different hosts
have different colors in DDMS.

Change-Id: Ibedf06fdcee108dcd170f5eb70aaecea5647d55d
ndroid/volley/NetworkDispatcher.java
ndroid/volley/Request.java
ebae4c6f962818ad0389b255009a42b03d3993cd 03-Apr-2013 Ficus Kirkpatrick <ficus@android.com> Merge "Move directory creation off the main thread."
3f081a83d5ed92d4e6ec4abf87137cb246d92d0c 01-Apr-2013 Dan Morrill <morrildl@sententio.us> Fix a bug in POSTs & support SslSocketFactories.

For POSTs and PUTs, HttpURLConnection requires that you set the method before
you write any body data. i.e. writing body data causes the socket to be
opened, at which point you can't set the method anymore. Volley was calling
these two methods in the wrong order; this fixes that.

Separately, this also adds a constructor and appropriate support for a
caller-provided SslSocketFactory. The use case for this is self-signed certs,
where a developer's app is is preloaded with the public key for a specific
server cert not signed by one of the usual CAs. The caller is responsible for
setting up the socket factory with an appropriate keystore, etc.

Change-Id: I2738ce956202b8a8508a733fc7f8b6600cd19bf5
ndroid/volley/toolbox/HurlStack.java
445ed3471fb55abae917324375b30c8a677e5d0b 28-Mar-2013 Ficus Kirkpatrick <ficus@android.com> Move directory creation off the main thread.
ndroid/volley/toolbox/DiskBasedCache.java
fc88bb5421b4e2aa7ebc21f60af61f05272661f8 26-Mar-2013 Evan Charlton <evancharlton@gmail.com> Ensure that the cache folder exists

Make sure that the cache folder exists when using DiskBasedCache.

Change-Id: I60e2c2b0b88c9a3a178e72dda05ab5f7290e33f0
ndroid/volley/toolbox/DiskBasedCache.java
9e5c44f22b47fcb0d37c7b10de3b5db542424fa5 13-Feb-2013 Maurice Chu <mochu@google.com> Revert "Add in additional http request types"

This seems to have caused a regression with account sign-up.

This reverts commit bece5836e16897df162e4f4db302b6eb14ac71b2

Change-Id: I019f98b984e496558e1830fec4d810fd589652db
ndroid/volley/Request.java
ndroid/volley/toolbox/HttpClientStack.java
ndroid/volley/toolbox/HurlStack.java
bece5836e16897df162e4f4db302b6eb14ac71b2 07-Feb-2013 Maurice Chu <mochu@google.com> Add in additional http request types

Specifically, these are HEAD, OPTIONS, TRACE, and PATCH.

Change-Id: Ie33fdc059ca7bb0658de7e270e2af56f54a00481
ndroid/volley/Request.java
ndroid/volley/toolbox/HttpClientStack.java
ndroid/volley/toolbox/HurlStack.java
cd8ce543d0a51dac9f6308cd8730816f690ead2f 18-Dec-2012 Jon Boekenoogen <jboekeno@google.com> Treat NO_CONTENT (204) responses as successful

Change-Id: I23da370c9b144326a36b7cd5ebde1cc0796bdb68
ndroid/volley/toolbox/BasicNetwork.java
43950676303ff68b23a8b469d6a534ccd1e08cfc 04-Dec-2012 Evan Charlton <evanc@google.com> Fix a bad cherry-pick

Move Volley.java into the correct source path (recovering from a bad
cherry-pick).

Change-Id: Ia085bd8de8c6965ec41fd8c03c217d4c56a07e11
ndroid/volley/toolbox/Volley.java
0acc7936feb3deb2b969b568b07f3bf96caf0076 06-Nov-2012 Evan Charlton <evanc@google.com> Add a convenience method for creating RequestQueue

To cut down on the amount of boilerplate code required to get a
RequestQueue created and started, provide a factory method which
returns a started RequestQueue object (initialized with defaults).

Change-Id: I8babdc18b103f401782ad7f9666e035e884519f6
ndroid/volley/RequestQueue.java
c0d371cf523ec7db27e0b619c174295c4c9e1ac0 17-Nov-2012 Evan Charlton <evanc@google.com> Pass exception to android.util.Log

When using VolleyLog, add method overloads which allow the original
exception to be passed through to the underlying Android Log class.

Also update NetworkDispatcher to use the new method.

Change-Id: I0f48cf65c9af3e96e9e8e871665d3e68027d808f
ndroid/volley/NetworkDispatcher.java
ndroid/volley/VolleyLog.java
e48f4430bfd3030350aa5ba827b449c37e2fadc9 07-Nov-2012 Jean-Baptiste Queru <jbq@google.com> Initial commit of volley (from frameworks/support)

Change-Id: Ie583820dcd5f281db7b9845f0c78774e1863afd3
ndroid/volley/Cache.java
ndroid/volley/CacheDispatcher.java
ndroid/volley/NetworkResponse.java
ndroid/volley/Request.java
ndroid/volley/toolbox/ClearCacheRequest.java
ndroid/volley/toolbox/DiskBasedCache.java
ndroid/volley/toolbox/HttpClientStack.java
ndroid/volley/toolbox/HttpHeaderParser.java
ndroid/volley/toolbox/HurlStack.java
ndroid/volley/toolbox/ImageRequest.java
ndroid/volley/toolbox/JsonArrayRequest.java
ndroid/volley/toolbox/JsonObjectRequest.java
ndroid/volley/toolbox/JsonRequest.java
ndroid/volley/toolbox/StringRequest.java
6772bce3d3322ccbcf6481545ffe895d5d401b39 07-Nov-2012 Jean-Baptiste Queru <jbq@google.com> Initial commit of volley (from frameworks/support)

Change-Id: I62581a4b1ed5c9cb57204ff12cbe7ddff7b490f6
ndroid/volley/CacheDispatcher.java
ndroid/volley/ExecutorDelivery.java
ndroid/volley/NetworkDispatcher.java
ndroid/volley/Request.java
ndroid/volley/RequestQueue.java
ndroid/volley/ResponseDelivery.java
ndroid/volley/toolbox/ImageRequest.java
ndroid/volley/toolbox/RequestFuture.java
d56b88ae161057e848e7410d1b9ce5b0b8c427fc 07-Nov-2012 Jean-Baptiste Queru <jbq@google.com> Initial commit of volley (from frameworks/support)

Change-Id: I12ada622c3885da6994cc2ff40cd275e1d5311e2
ndroid/volley/AuthFailureError.java
ndroid/volley/Cache.java
ndroid/volley/CacheDispatcher.java
ndroid/volley/DefaultRetryPolicy.java
ndroid/volley/ExecutorDelivery.java
ndroid/volley/Network.java
ndroid/volley/NetworkDispatcher.java
ndroid/volley/NetworkError.java
ndroid/volley/NetworkResponse.java
ndroid/volley/NoConnectionError.java
ndroid/volley/ParseError.java
ndroid/volley/Request.java
ndroid/volley/RequestQueue.java
ndroid/volley/Response.java
ndroid/volley/ResponseDelivery.java
ndroid/volley/RetryPolicy.java
ndroid/volley/ServerError.java
ndroid/volley/TimeoutError.java
ndroid/volley/VolleyError.java
ndroid/volley/VolleyLog.java
ndroid/volley/toolbox/AndroidAuthenticator.java
ndroid/volley/toolbox/Authenticator.java
ndroid/volley/toolbox/BasicNetwork.java
ndroid/volley/toolbox/ByteArrayPool.java
ndroid/volley/toolbox/ClearCacheRequest.java
ndroid/volley/toolbox/DiskBasedCache.java
ndroid/volley/toolbox/HttpClientStack.java
ndroid/volley/toolbox/HttpHeaderParser.java
ndroid/volley/toolbox/HttpStack.java
ndroid/volley/toolbox/HurlStack.java
ndroid/volley/toolbox/ImageRequest.java
ndroid/volley/toolbox/JsonArrayRequest.java
ndroid/volley/toolbox/JsonObjectRequest.java
ndroid/volley/toolbox/JsonRequest.java
ndroid/volley/toolbox/NoCache.java
ndroid/volley/toolbox/PoolingByteArrayOutputStream.java
ndroid/volley/toolbox/StringRequest.java