summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-05-19Add space usage bar to data folder dialogAnderson Mesquita
This displays a progress bar with the amount of used/free space in each storage location to make it easier to identify storage devices. This is particularly useful for devices that use non-standard names. Reference: #3049
2019-05-19Merge pull request #3159 from andersonvom/3024-itunes-duration-formatMartin Fietz
Handle iTunes single-number duration format
2019-05-19Merge pull request #3108 from ByteHamster/attr-redeclarationH. Lehmann
Fixed attr redeclaration
2019-05-19Merge pull request #3172 from andersonvom/3169-cover-fragment-small-screenMartin Fietz
Fix cover fragment in small screens
2019-05-18Enable autodownload over EthernetJoe Stein
2019-05-17Moved notification setup to new classByteHamster
2019-05-17Added logging in cases where service did not know how to handle intentByteHamster
2019-05-17Do not try to display notification two timesByteHamster
The Thread is interrupted which leads to an empty notification
2019-05-17Cherry-Pick: Add a generic java8-like Optional classorionlee
For use with RxJava2 where null was to be returned (RxJava2 requires non-null). Cherry-picked from PR #2954
2019-05-17Revert "Merge pull request #2954 from ↵ByteHamster
orionlee/bugfix_phantom_notification_rework_2716" This reverts commit 643173de14ade8acfa5e6b92464482c7402e172e, reversing changes made to f2d103736d20bca481817808ee73b240fc2f7be4.
2019-05-08Do not deadlockByteHamster
The Android internal media player blocks its `start()` call until the seek listener completes. The seek listener is called on the main thread even though `start()` is called on the executor. This makes the main thread wait for the lock and the executor (which has the lock) wait for the main thread to finish the call to the listener.
2019-05-08Fix cover fragment in small screensAnderson Mesquita
The cover fragment would hide both podcast and episode names in small screen devices or multi-window mode. This replaces the deprecated PercentRelativeLayout in favor of a regular LinearLayout with weights to make sure that each section of the fragment (podcast title, image, episode name) will have the necessary space in the screen. Since PercentRelativeLayout was only being used here, it also removes the dependencies from the gradle files. Closes: #3169
2019-05-08Fixed NPEByteHamster
2019-05-07Updated translationsByteHamster
2019-05-07Do not deadlock on seek when using SonicByteHamster
Callbacks are called on the thread that created the MediaPlayer. For Sonic, this is the executor. For ExoPlayer, this is the main thread. When calling executor.submit, every thread waiting for the runnable to complete gets blocked. Because the callback is called in the thread that created the player, we can simply remove the call to executor.submit and still be sure that a background thread is used.
2019-05-07Do not block when using Sonic+Sleep timerByteHamster
2019-05-05Handle iTunes single-number duration formatAnderson Mesquita
Apple says this [1] about the `<itunes:duration>` tag: If you specify a single number as a value (without colons), Apple Podcasts displays the value as seconds. This commit makes it also handle this single-number format. Closes: #3024 [1]: https://help.apple.com/itc/podcasts_connect/#/itcb54353390
2019-05-05Extract DurationParserAnderson Mesquita
This makes it easier to test the logic of parsing duration strings. References: #3024
2019-05-04Extract methods in NSITunesAnderson Mesquita
References: #3024
2019-05-03Added names for threadsByteHamster
So it is easier to identify problems in bug reports
2019-05-01Updated stringByteHamster
Closes #3145
2019-04-27Fixed sleep timer ANR (Closes #3139)ByteHamster
2019-04-24Translation updatesByteHamster
2019-04-19Merge pull request #2957 from orionlee/bugfix_app_anr_in_auto_feed_update_2956H. Lehmann
Prevent app crash during some automatic feed update
2019-04-17Made sure that there is not an ANR when switching media playerByteHamster
2019-04-16Fixed NetworkOnMainThreadExceptionByteHamster
2019-04-14Do not set player status before player object is createdByteHamster
2019-04-14No locks are needed if everything is executed on main threadByteHamster
2019-04-12Merge pull request #3106 from ByteHamster/subscriptions-columnsH. Lehmann
Set number of subscription columns
2019-04-12Fixed attr redeclarationByteHamster
2019-04-12Merge pull request #3105 from ByteHamster/style-repetitionH. Lehmann
Reduced repetition in styles.xml
2019-04-11Removed nb translationByteHamster
2019-04-11Set number of subscription columnsByteHamster
2019-04-11Reduced repetition in styles.xmlByteHamster
2019-04-11Merge pull request #3097 from ByteHamster/exoplayer-main-threadH. Lehmann
Executing all ExoPlayer methods on main thread
2019-04-11Clarified that it is using caller thread. not main threadByteHamster
2019-04-10Do not hold state in fragmentsByteHamster
2019-04-07Fix Sonic playbackByteHamster
2019-04-07Merge branch 'develop' into exoplayer-main-threadByteHamster
2019-04-07Executing all ExoPlayer methods on main threadByteHamster
2019-04-06fix rebase conflicts - remove the incorrect @NonNull from rxjavaorionlee
2019-04-06#2966 RxJava2 null - case the underlying method may return null, butorionlee
should never happen in the code path, e.g., return the current FeedItem in ItemFragment UI. Mark underlying method as @Nullable, and let observer's existing onError() to handle null case Rx observer : underlying sources marked as @Nullable ItemFragment.load : .loadInBackground MediaplayerActivity.checkFavorite : DBReader.getFeedItem ItemDescriptionFragment.onViewCreated : DBReader.getFeedItem ItemlistFragment.loadItems : .loadData
2019-04-06#2966 RxJava2 null - explicit mark underlying Rx sources as NonNullorionlee
to be on the safe side, for cases that the consuming observers checks null unnecessarily. Rx observer : underlying sources marked as NonNull OnlineFeedViewActivity.startFeedDownload : Downloader.getResult AllEpisodesFragment.loadItems : AllEpisodesFragment.loadData PlaybackHistoryFragment.loadItems : DBReader.getPlaybackHistory QueueFragment.loadItems : DBReader.getQueue SearchFragment.search : .performSearch
2019-04-06#2966 RxJava2 null - explicit mark underlying Rx sources as NonNullorionlee
to be on the safe side, for cases that the consuming observers already assumes the result is not null. Rx observer : underlying sources marked as NonNull OnlineFeedViewActivity.listener member : DBReader.getFeedList StatisticsActivity.loadStatistics : DBReader.getStatistics CustomMRControllerDialog.updateViews : CustomMRControllerDialog.fetchArt CompletedDownloadsFragment.loadItems : DBReader.getDownloadedItems DownloadLogFragment.loadItems : DBReader.getDownloadedItems ItemDescriptionFragment.onViewCreated : .loadData, Timeline.processShownotes SubscriptionFragment.loadSubscriptions : DBReader.getNavDrawerData SubscriptionFragment.onContextItemSelected (x2) : DBWriter.markFeedSeen, DBWriter.markFeedRead PreferenceController.export : ExportWorker.output member
2019-04-06Merge pull request #3083 from orionlee/bulk_remove_from_queue_1145H. Lehmann
Bulk remove from queue
2019-04-06refactor - rename string resource name `remove_episode_lable` , which was ↵orionlee
ambiguous with typos, to `delete_episode_label` - non-default string resources to be handled by Transifex
2019-04-06tweak - bulk edit UI - show a message after an action is applied.orionlee
2019-04-04refactor - UI - remove the old (and now used) select all / none ↵orionlee
/intermediate icons
2019-04-04bulk edit - UI - new select all / none icons, based onorionlee
standard Material icons.
2019-04-04bulk remove episodes from queue - UI - icon for dark themes.orionlee