Commit Graph

3300 Commits

Author SHA1 Message Date
Martin Fietz 0564988357 Refactor 2016-03-25 13:14:33 +01:00
Martin Fietz 04026ca48c Typos 2016-03-25 00:48:20 +01:00
Martin Fietz ff32ebb9db Typo 2016-03-25 00:46:13 +01:00
Tom Hennen d249d0f228 Merge pull request #1816 from mfietz/issue/1529-delayed-part2
Reset episode to new if episode file is added later
2016-03-24 15:52:29 -04:00
Tom Hennen 9d1a0ed282 Merge pull request #1818 from mfietz/issue/1817-confirm-button-pressed
Handling removing feed that is playing or paused
2016-03-24 12:33:39 -04:00
Tom Hennen 1833d7b319 Merge pull request #1814 from mfietz/issue/1812-bind-service
PlaybackController.bindService() with Observable
2016-03-24 12:00:37 -04:00
Tom Hennen 07c2818cc5 Merge pull request #1798 from ByteHamster/statistics_page
Added statistics function
2016-03-24 10:16:54 -04:00
Martin Fietz d9726d2543 Check if we are deleting an episode that is currently playing or paused 2016-03-24 13:55:08 +01:00
Martin Fietz 61e3d3b2a6 Close cursor 2016-03-24 13:53:07 +01:00
Martin Fietz 4cc31d4be9 Reset episode to new if episode file is added later 2016-03-24 11:52:51 +01:00
ByteHamster aa56d6822a Added statistics function
Fixes #1743
2016-03-24 00:54:24 +01:00
Martin Fietz 6de985c993 Replace AsyncTask with Observable 2016-03-23 20:39:46 +01:00
Martin Fietz 7f11cd351a Refactor 2016-03-23 20:39:41 +01:00
Tom Hennen 8a0f6cb529 Merge pull request #1810 from mfietz/issue/1749-db-performance
Enable WAL and use non-exclusive transactions
2016-03-23 14:51:39 -04:00
Martin Fietz 62e2095a5a Close DB 2016-03-22 23:34:31 +01:00
Martin Fietz 33567fe7d7 Tests: Close adapter 2016-03-22 23:34:31 +01:00
Martin Fietz 391d059252 Tests: Initialize DB adapter 2016-03-22 23:34:31 +01:00
Martin Fietz a7368eadd9 Enable WAL and use non-exclusive transactions 2016-03-22 23:34:31 +01:00
Tom Hennen 05ef0a91a5 Merge pull request #1789 from mfietz/issue/358-gpodder-information
Show gpodder information
2016-03-22 17:32:30 -04:00
Tom Hennen 3510734504 Merge pull request #1806 from domingos86/flattr-creator-fix
FlattrServiceCreator
2016-03-22 17:28:54 -04:00
Tom Hennen 7aa414d437 Merge pull request #1802 from mfietz/issue/1780-position
When retrieving position of current episode, regard position 0 as valid
2016-03-22 17:28:00 -04:00
Tom Hennen 35a3734da8 Merge pull request #1801 from mfietz/issue/1800-parse-duration
Parse iTunes duration seconds as float
2016-03-22 17:26:56 -04:00
Martin Fietz c2a1644d07 Merge pull request #1805 from domingos86/typos
code cleanup (perhaps to an extreme level)
2016-03-22 20:16:42 +01:00
Domingos Lopes fcb35a403f remove reference to MainActivity instance 2016-03-22 13:24:09 -04:00
Domingos Lopes 09bad517fc further fixes based on mfietz input 2016-03-22 12:11:23 -04:00
Domingos Lopes a7d00f952c make FlattrService creation and deletion synchronized 2016-03-22 11:36:24 -04:00
Martin Fietz de8af4c638 Merge pull request #1809 from domingos86/show-toasts
show potential Toasts
2016-03-22 08:33:33 +01:00
Martin Fietz 030211183c Merge pull request #1808 from domingos86/typedarray-recycle
recycle typedArrays
2016-03-22 08:32:19 +01:00
Martin Fietz b5dc97156e Merge pull request #1807 from domingos86/fix-double-if
fix double if on FeedItemlistAdapter
2016-03-22 08:30:52 +01:00
Domingos Lopes 2accff20fe show potential Toasts 2016-03-22 02:54:52 -04:00
Domingos Lopes 5f58238b4f recycle typedArrays 2016-03-22 02:50:40 -04:00
Domingos Lopes 4302d78f1f fix double if 2016-03-22 02:42:26 -04:00
Domingos Lopes 748d2bc863 fix FlattrServiceCreator 2016-03-22 02:12:59 -04:00
Domingos Lopes 7992726cb8 small typo 2016-03-22 02:09:53 -04:00
Domingos Lopes a252191d79 code cleaning:
- lambda expressions, method references,
- multi catches,
- remove unnecessary keywords (public keyword on interface method signatures, static on interfaces or enums, final on private method signatures),
- == false expressions,
- diamond type (<>) expressions,
- replace StringBuffer with StringBuilder for local variables used by a single thread,
- replace Arrays.asList with Collections.singletonList whenever applicable,
- inline variable returns (whenever the variable name's meaning is not important to understand the code),
- replace some chains of if/else if/... with switch/case,
- break append(a + b) into append(a).append(b) for StringBuilder objects,
- unused import statements,
- reduce log TAGs to 23 characters,
- MaterialDialog callback deprecated,
- ActionBarActivity for AppCompatActivity,
2016-03-22 02:07:26 -04:00
Domingos Lopes 5febe9248a Merge branch 'develop' into typos 2016-03-21 22:10:19 -04:00
Martin Fietz 3adb63fbc7 When retrieving position of current episode, regard position 0 [unplayed] as valid 2016-03-21 19:14:01 +01:00
Tom Hennen a994cd4c08 Merge pull request #1799 from mfietz/issue/1796-update-feed
Fix feed refresh issue
2016-03-21 11:14:22 -04:00
Martin Fietz 7b3b7cc2ba Refactor 2016-03-21 16:10:52 +01:00
Martin Fietz d2ddfa3973 Close cursor 2016-03-21 16:08:21 +01:00
Martin Fietz c1b169cdb5 Parse seconds as float 2016-03-21 15:57:20 +01:00
Martin Fietz abaa7a28b2 Refactor 2016-03-21 15:51:17 +01:00
Martin Fietz 0c85447136 Prevent NullPointerException 2016-03-21 15:51:03 +01:00
Tom Hennen 4d3fb36e16 Merge pull request #1669 from mfietz/issue/1654-default-cache-size
Set default episode cache size to 25
2016-03-21 09:54:53 -04:00
Tom Hennen dd33c7c40e Merge pull request #1774 from mfietz/pref_known_issues
Link to known issues/bugs in Settings
2016-03-21 09:53:40 -04:00
Tom Hennen 8b06081fcc Merge pull request #1750 from mfietz/issue/1747-itunes-search-ise
Prevent parsing errors
2016-03-21 09:53:30 -04:00
Domingos Lopes 5d36790182 Merge branch 'develop' into typos 2016-03-18 23:51:39 -04:00
Martin Fietz 1378b09e74 Set default episode cache size to 25 2016-03-18 23:56:50 +01:00
Martin Fietz 466e6003b5 Link to known issues/bugs in Settings 2016-03-18 23:22:23 +01:00
Martin Fietz d0126b54f1 Print log 2016-03-18 23:18:28 +01:00