forked from droidparts/droidparts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
399 lines (317 loc) · 13.8 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
2.7.5 /2015-06-07/:
* DependencyReader: correctly init after tearDown() /kudos to @vovan888/.
* RESTClient: improved log messages.
2.7.4 /2015-05-26/:
* RESTClient: added getHeaders().
* AbstractDependencyProvider: made getDBOpenHelper() non-abstract & removed getDB().
* AbstractDialogFactory: removed showErrorToast().
2.7.3 /2015-04-24/:
* MultiSelectListPreference: update checked entry indexes on setEntryValues().
* L: added Listener support & fixed a crash when running standalone.
2.7.2 /2015-04-03/:
* JSONSerializer: don't include null fields with 'optional = true', changed putToJSON(...) to allow overriding the mentioned behavior.
* Added build.gradle to DroidPartsGram.
2.7.1 /2015-03-23/:
* Rebuilt with Java 7.
2.7.0 /2015-03-19/:
* RESTClient: changed postMultipart() to accept InputStream.
* RESTClient2: added postMultipart() for File & byte[] /kudos to @Atrinax/.
* IoUtils: readToStream(InputStream is, OutputStream os) => copy(InputStream is, OutputStream os).
2.6.8 /2015-03-17/:
* Serializers: improved logging.
* Updated Support Library to v.22.
2.6.7 /2015-02-20/:
* SQL: correctly persist arrays & collections of objects that don't convert to string.
2.6.6 /2015-02-10/:
* EventBus: fixed posting sticky events with null data.
* ClearableEditText: fixed setClearIconVisible() causing an eternal loop of onFocusChanged-events /kudos to @KennethKr/.
2.6.5 /2015-01-23/:
* Strings: fixed calculation of SHA-1 hashes beginning with 0.
2.6.4 /2015-01-14/:
* XMLSerializer: fixed Exception not thrown if deserialization a required array/collection element fails.
* XMLSerializer: reverted parseDocument(String xml) to return Document.
2.6.3 /2015-01-06/:
* XMLSerializer: changed parseDocument(String xml) to return the root child.
* Updated pom.xml.
2.6.2 /2014-10-26/:
* Removed excessive logging /kudos to @plzen/.
2.6.1 /2014-10-01/:
* @Column: fixed 'eager=true' on a non-Entity field crash.
2.6.0 /2014-09-09/:
* DB Model persistence.
* XMLSerizlizer: parseDocument method.
2.5.0 /2014-08-24/:
* Added XMLSerialiser & @XML annotation.
* JSONSerializer changed package, method signatures.
* @Key annotation renamed to @JSON.
* Dropped OkHttp & ABS support.
2.0.6 /2014-07-14/:
* HttpResponseCache: don't install by default.
* ImageFetcher: added an extra constructor.
* EntityCursorAdapter: createOrUpdate(...) /kudos to @aleksanb/.
2.0.5 /2014-05-09/:
* Delete object: made a method public.
* IntentService: added RESULT_SUCCESS & RESULT_FAILURE codes.
2.0.4 /2014-04-25/:
* EntityCursorAdapter: changed constructors.
* ArrayAdapter: LayoutInflater getter.
* ImageFetcher: reordered args in a method.
2.0.3 /2014-04-09/:
* L: removed setMuted(), verbose by default.
* ClearableEditText: reverted to old icon.
* IOUtils: readToStream(...).
2.0.2 /2014-03-14/:
* RESTClient: follow redirects, on by default.
* ArrayAdapter: optimized setContent().
* AsyncTask: log exceptions at debug level.
2.0.1 /2014-02-12/:
* RESTClient: putHeader() => setHeader().
* RESTClient: removed multiple vals for single header key feature.
* RESTClient: simplified http basic auth to avoid compatibility issues.
* RESTClient: fixed setting user agent in HttpURLConnection.
2.0.0 /2013-12-28/:
* Moved ABS & support-v4 classes to droidparts-support lib.
* Base classes for ActionBar by Android Support Library v7. (untested)
* RESTClient: postFile(...) => postMultipart(...).
* RESTClient: optional Content-Type header for multipart file upload.
1.6.2 /2013-12-16/:
* RESTClient: added OkHttp worker.
* RESTClient: internal tweaks.
* AsyncTask: fixed incorrectly handled null result.
1.6.1 /2013-12-14/:
* RESTClient: file upload support /kudos to @makovkastar/.
* RESTClient: custom HTTPWorker support.
* CookieJar: made thread-safe.
1.6.0 /2013-12-05/:
* Updated ProGuard config.
* ImageFetcher: log when ImageView gets GCed.
* EventBus: made clearStickyEvents() static.
1.5.9 /2013-10-14/:
* ImageFetcher: use internal memory for disk caching.
* Misc internal.
1.5.8 /2013-10-11/:
* ImageFetcher: changed method signatures.
* ImageFetcher: removed decode hint based on screen size.
* Protected Context accessors.
* Internal stuff.
1.5.7 /2013-09-24/:
* ClearableEditText: use sexier icon on newer Androids.
* ViewUtils: runOnLayoutDone(...)
* Minor stuff.
1.5.6 /2013-08-21/:
* EventBus: support extra annotated method signature.
* AppUtils: changed getVersionName() params.
* SimpleAsyncTask: Void => Integer for progress.
1.5.5 /2013-08-10/:
* Renamed executor subpackage to concurrent.
* JSONSerializer: moved nested separator to @Key.
* BackgroundThread.
1.5.4 /2013-08-08/:
* Moved rarely used helpers to Gist.
1.5.3 /2013-08-07/:
* Added PreferenceFragment.
* Moved ListActivity & PreferenceActivity to legacy subpackage.
1.5.2 /2013-08-06/:
* Code improvements.
1.5.1 /2013-08-06/:
* Improved annotation processing performance.
* @ReceiveEvents: zero-param method support.
* Minor awesomeness.
1.5.0 /2013-07-30/:
* Added EventBus.
* ImageFetcher: don't store strong references to ImageViews.
* Misc improvements.
1.4.4 /2013-07-24/:
* Tweaks & fixes.
1.4.3 /2013-07-17/:
* Bugfixes & minor stuff.
1.4.2 /2013-06-26/:
* ResourceUtils: readStringResource() => readRawResource.
* ClearableEditText: fixed clear icon shown for preset text.
* Fixed 'native' injection with support lib in classpath.
1.4.1 /2013-06-03/:
* ImageFetcher: don't retain ImageView references.
* IntentService: added removePendingIntents().
* L: added isLoggable(int level).
1.4.0 /2013-05-20/:
* ImageFetcher: added inBitmap support.
* Application => AbstractApplication.
* SimpleIntentService => IntentService.
* AsyncTask & IntentService changed packages, onExecute().
* Fixed API 8 compatibility.
* Dropped AsyncTaskProgressListener.
* Misc renames & package changes.
1.3.10 /2013-05-05/:
* More renames.
1.3.9 /2013-05-05/:
* Rearranged utils.
1.3.8 /2013-05-02/:
* DB: Where support with nested ANDs and ORs.
* ImageFetcher fix.
1.3.7 /2013-04-30/:
* Reworked ImageFetcher.
1.3.6 /2013-04-25/:
* ImageFetcher tweaks.
* TypeHandler => Converter.
1.3.5 /2013-04-23/:
* Injector: made methods static.
* ImageFetcher fixes.
* inner.reader rework.
1.3.4 /2013-04-15/:
* ImageFetcher: pause & resume support.
* Fixed Injector bug.
1.3.3 /2013-04-12/:
* ImageReshaper: provide image width, height hints to prevent OutOfMemoryError exceptions.
* RESTClient: don't catch NetworkOnMainThreadException.
* Arrays2: less code.
1.3.2 /2013-04-09/:
* Fixed Entity[] & Collection<Entity> persistence.
* Improved TypeHandler API.
* Misc tweaks.
1.3.1 /2013-04-07/:
* AbstractDBOpenHelper: override onCreateTables(...) & call createTables(...).
* AbstractDBOpenHelper: added addMissingColumns(...) for simple migration.
* Dropped AbstractDBOpenHelper2 & moved helper to ResourceUtils.
1.3.0 /2013-04-01/:
* Refactored to use TypeHandlers for SQL & JSON interactions.
* Rearranged a bunch of stuff.
* Cleaned up porn.xml files.
1.2.1 /2013-03-30/:
* DroidPartsGram: added image loading progress example.
* RESTClient & ImageFetcher stuff.
1.2.0 /2013-03-28/:
* Made available from Maven Central.
* Extra ViewUtils helpers.
* Uri persistence support.
* Added MergeSelect.
* RESTClient: If-Modified-Since & ETag support.
* ImageFetcher tweaks.
1.1.5 /2013-03-08/:
* Fixed porn.xml.
* DBOpenHelper: a method to create tables for new Entities.
* ClearableEditText: specify clear icon via xml & tweaks.
1.1.1 /2013-02-23/:
* Cleaned up since merge.
* Extra L methods.
1.1.0 /2013-02-18/:
* base, extra & fragments got merged into a single library. Thank ADT bug.
* Misc fixes & tweaks.
1.0.8 /2013-02-01/:
* Changed EntityManager to fill eager foreign keys.
* BitmapUtils: a couple of new methods.
* Added ClearableEditText, VerticalScrollView, ImagePicker, ListViewSynchronizer.
* Misc fixes & API changes.
1.0.7 /2013-01-17/:
* API changes.
1.0.6 /2013-01-09/:
* Tweaks & fixes.
1.0.5 /2013-01-05/:
* Changed ProGuard config to preserve all annotated fields.
* Numerous ImageFetcher improvements.
* AsyncTask, L fixes.
* RESTClient: addHeader() => putHeader(), null removes headers for the key.
1.0 /2012-12-31/:
* Oh yeah! (:
0.9.7 /2012-12-28/:
* InjectView, InjectFragment, InjectBundleExtra annotations arguments changed.
* EntityManager & JSONSerializer lost factory methods.
* FragmentActivity, TabbedFragmentActivity: methods changed to accept Fragments instead of fragment ids.
* Injection improvements & misc.
0.9.6 /2012-12-26/:
* ImageAttacher => ImageFetcher & related helpers changes.
0.9.5 /2012-12-25/:
* 'modern-sherlock' & 'modern-native' modules got merged into 'fragments' module & also received pure
'android-support-v4.jar' base classes.
To migrate, change imports for Activities & Fragments. New package name suffixes: 'sherlock' = ActionBarSherlock,
'stock' = Android 3.0+ native implementation, 'support' = Android Support Package.
Also notice the 'sherlock-support-v4-stub.jar_' file in the libs folder.
* RESTClient lost proxy support but now provides access to underlying HTTPWorkers for fine-tuning.
* RESTClient now supports setting a AuthScope for HTTP Basic Authentication.
* Fixed RESTClient not requesting GZIP when using HttpURLConnectionWorker.
* Reworked ImageAttacher. BitmapCache will now use LruCache if available.
* Removed 'legacy' module & Loader subclasses.
* DroidParts now doesn't use any xml resources. Which means it can be used as pure .jars placed in the libs folder.
0.9.3 /2012-12-16/:
* Mavenized. Thanks to @emartynov.
* RESTClient tweaks & fixes.
0.9.2 /2012-12-02/:
* Fixes.
0.9.1 /2012-11-25/:
* Minor yet neat changes.
0.9.0 /2012-11-19/:
* DB: fixed '_id' suffix erroneously appended to autogenerated non-pk column names.
0.8.9 /2012-11-09/:
* We have cookies too: cookie cache for RESTClient.
* Injector cleanup.
0.8.8 /2012-10-27/:
* Changed setInvisible(), setGone() methods to support multiple Views at once.
* Added a workaround for a common AsyncTask bug.
* Removed FragmentsInjector, generic Injector can now handle it.
* More awesomeness with less SLOCs.
0.8.7 /2012-10-21/:
* Changed RESTClient to return HTTPResponses with status code, headers & body.
* RESTClient now fully utilizes HttpURLConnection on API >= 10.
* Added isInjected() to Fragments.
* Misc fixes & backwards-incompatible changes. Muhaha.
0.8.5 /2012-10-15/:
* Renamed droidparts-modern to droidparts-modern-sherlock; added droidparts-modern-native.
* Improved dependency injection speed.
* setReloadMenuItem => setActionBarReloadMenuItem(), setSupportProgressBarIndeterminateVisibility() => setActionBarLoadingIndicatorVisible().
* Other tweaks & minor API changes.
0.8.0 /2012-09-26/:
* EntityMananger: added readFirstFromCursor(), readAllFromCursor(), removed list().
* Changed EntityCursorAdapter constructors, one of them now accepts Select object.
* Added scaleBitmap() to MiscUtils.
* Removed SimplerAsyncTask; SimplestAsyncTask => SimpleAsyncTask.
* Removed the 'Builder' part from SQL statement builders.
* Added SQL NOT LIKE, (NOT) BETWEEN statement support.
* Little this, little that.
0.7.9 /2012-09-18/:
* AbstractDBOpenHelper: dropAll() => dropTables() with optional table names.
* ImageAttacher: processBitmapBeforeAttaching() => onSuccess(), added onFailure().
* Improved SQLException handling in EntityManager.
* Fixed Collections persistence.
* Added java.util.Date persistence.
0.7.8 /2012-09-17/:
* Changed AbstractDependencyProvider to require DBOpenHelper instead of SQLiteDatabase.
* AbstractDBOpenHelper: getModelClasses() => getEntityClasses().
* Added getDependency() method to Injector.
0.7.7 /2012-09-15/:
* Optimized SelectBuilder's count().
* Renamed UpdateBuilder method contentValues() to setContent().
* Extra where() method in StatementBuilder for raw queries.
* Fixed jumping ActionBar loading indicator.
* Added optional Runnable for cross fade.
* Fixed RESTClient crashes at unchecked exceptions.
* Replaced ProGuard config file with a DroidParts-specific one.
0.7.6 /2012-09-12/:
* @Table & @Object now use 'name' attribute.
* Correct Foreign Keys support with 'ON DELETE CASCADE'.
* SelectBuilder: fixed limit(), added offset() & count().
* Unit tests & minor improvements.
0.7.5 /2012-09-07/:
* DroidPartsGram - a sample fragment-based app utilizing Instagram's API.
* EntityCursorAdapter gets a custom bindView(...).
* Tweaks & fixes.
0.7.1 /2012-08-25/:
* Package name changes. Again.
* Working LIKE, (NOT) IN in StatementBuilder.
* DatabaseUtils2 class, toArgs => toWhereArgs.
0.7 /2012-08-24/:
* Some classes relocated & changed names.
* JSONObject Keys can be marked optional, false by default.
* Inject Preferences with @InjectView.
* Working select(), update(), delete() methods in EntityManager.
* Lots of DB & JSON fixes & improvements.
* Arrays2 helper.
* Unit tests.
0.6 /2012-07-20/:
* 'support-actionbarsherlock' renamed to 'modern' (still relies on ActionBarSherlock).
* Added 'legacy' for outdated stuff.
* Some classes changed their packages.
* ORM is taught to persist arrays.
* Improved ImageAttacher, now with cross fade.
* RESTClient uses HttpURLConnection & caching on newer Androids.
* Lots of minor improvements & fixes.
0.5 /2012-06-03/:
* Initial release.