Commit graph

382 commits

Author SHA1 Message Date
kapodamy
db0c4642a4 misc improvements
* don't show notifications while download activity
* proper icon in failed download notifications
* re-write list auto-refresh (MissionAdapter.java)
* improve I/O performance (CircularFile.java)
* fix implementation of "save thread position" on multi-thread downloads
2018-11-28 22:24:52 -03:00
kapodamy
6d4e97a877 and more fixes
* fix content length reading
* use float overflow. Expensive, double is used instead
* fix invalid cast after click the mission body
* use a list for maximum attemps (downloads)
* minor clean up (DownloadManager.java)
* dont pass SharedPreferences instace to DownloadManager
* use a switch instead of checkbox for cross_network_downloads
* notify media scanner after deleting a finished download
2018-11-24 20:13:18 -03:00
kapodamy
3357fc0f17 more fixes
* use bold style in status (mission_item_linear.xml)
* fix download attemps not begin updated
* dont stop the queue if a download fails
* implement partial wake-lock & wifi-lock
* show notifications for failed downloads
* ¿proper bitmap dispose? (DownloadManagerService.java)
* improve buffer filling (CircularFile.java)
* [Mp4Dash] increment reserved space from 2MiB to 15MiB. This is expensive but useful for devices with low ram
* [WebM] use 2MiB of reserved space
* fix debug warning if one thread is used
* fix wrong download speed when the activity is suspended
* Fix "Queue" menu item that appears in post-processing errors
* fix mission length dont being updated (missing commit)
2018-11-22 23:33:34 -03:00
kapodamy
4d6cfd2043 resbase (08/11/2018) 2018-11-08 22:00:13 -03:00
kapodamy
21e205a6be main commit
Post-processing infrastructure
* remove interfaces with one implementation
* fix download resources with unknow length
* marquee style for ProgressDrawable
* "view details" option in mission context menu
* notification for finished downloads
* postprocessing infrastructure: sub-missions, circular file, layers for layers of abstractions for Java IO streams
* Mp4 muxing (only DASH brand)
* WebM muxing
* Captions downloading
* alert dialog for overwrite existing downloads finished or not.

Misc changes
* delete SQLiteDownloadDataSource.java
* delete DownloadMissionSQLiteHelper.java
* implement Localization from #114

Misc fixes (this branch)
* restore old mission listeners variables. Prevents registered listeners get de-referenced on low-end devices
* DownloadManagerService.checkForRunningMission() now return false if the mission has a error.
* use Intent.FLAG_ACTIVITY_NEW_TASK when launching an activity from gigaget threads (apparently it is required in old versions of android)

More changes
* proper error handling "infrastructure"
* queue instead of multiple downloads
* move serialized pending downloads (.giga files) to app data
* stop downloads when swicthing to mobile network (never works, see 2nd point)
* save the thread count for next downloads
* a lot of incoherences fixed
* delete DownloadManagerTest.java (too many changes to keep this file updated)
2018-11-08 19:00:44 -03:00
Christian Schabesberger
3b5be880a8 Merge branch 'dev' into release_0.14.2 2018-10-26 15:02:11 +02:00
Tobias Groza
7a0e3b4e3a Change from "Côte d'Ivoire" to "Côte d\'Ivoire"
Co-Authored-By: AndhikaWB <karagasnoelan@gmail.com>
2018-10-26 16:22:35 +07:00
AndhikaWB
00cbee1b71 Update settings_keys.xml 2018-10-26 00:09:04 +07:00
AndhikaWB
c80ec779e3 Fix spelling in of country names in settings
- [x] I carefully read the [contribution guidelines](https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md) and agree to them.

Closes TeamNewPipe/NewPipe#1504
2018-10-26 00:04:36 +07:00
Christian Schabesberger
2902880dc7 merge weblate 2018-10-22 12:07:12 +02:00
Allan Nordhøy
ec0dbc4823 Translated using Weblate (English)
Currently translated at 100.0% (383 of 383 strings)
2018-10-20 01:33:41 +02:00
Christian Schabesberger
12002c7e72 Merge branch 'dev' into lang 2018-10-16 03:47:11 +02:00
Ritiek Malhotra
4f9978b663 Merge branch 'dev' into separate-gesture-options 2018-10-10 08:41:42 -07:00
Christian Schabesberger
6f72ed7d65 Merge branch 'dev' into tablet_ui 2018-10-08 11:56:25 +02:00
Christian Schabesberger
eb68ce6a35 Merge branch 'dev' into LongTapInSubs 2018-10-07 13:59:39 +02:00
Christian Schabesberger
05ded0f8d3 Merge branch 'dev' into patch-7 2018-10-07 13:26:10 +02:00
Christian Schabesberger
d0c2878ba1 Merge branch 'dev' into lang 2018-10-07 13:25:35 +02:00
Christian Schabesberger
256b02539f Merge branch 'dev' into patch-7 2018-10-06 18:16:10 +02:00
Christian Schabesberger
5263f3e9ce Merge branch 'dev' into clarify-bookmarks 2018-10-06 18:10:18 +02:00
Christian Schabesberger
89e068dfec Merge branch 'dev' into lang 2018-10-06 17:29:42 +02:00
Christian Schabesberger
9587c33b6f Merge branch 'dev' into clarify-bookmarks 2018-10-06 12:01:34 +02:00
Christian Schabesberger
0c72d4614e add support for content language and content country 2018-10-05 16:20:27 +02:00
MaX
cc6c1ea2a7 Merge branch 'dev' into store_last_aspect_ratio 2018-10-02 10:44:04 +02:00
Lukas Sabota
6fb038a9c3 Change 'tab_bookmarks' string to 'Bookmarked Playlists' for UI clarity 2018-09-30 11:34:16 -04:00
jludden
af0095a982 Adding switch view button to downloads activity
Can now switch between linear and grid layouts in the downloads activity
2018-09-29 15:13:15 +08:00
MaX-Lo
ebb0327f36 store the last used aspect ratio in SharedPreferences and reload them on
resuming the VideoPlayer Activity (similar to storing/reloading the last used: screen rotation)
2018-09-22 11:32:13 +02:00
Christian Schabesberger
bd6a4b57f3 Merge branch 'dev' into patch-7 2018-09-11 16:34:58 +02:00
Ritiek Malhotra
8a3fcd3124 Merge branch 'dev' into separate-gesture-options 2018-09-08 10:05:51 -07:00
Ritiek Malhotra
ddf31e5fa1 Merge branch 'dev' into separate-gesture-options 2018-09-05 09:21:05 -07:00
Mauricio Colli
d3efd64525 Handle case where subscribers count is not available 2018-09-04 23:54:17 -03:00
Mauricio Colli
d38a7ced70 Improve tabs UX and saving/loading
- Show icons in the tabs list and dialog chooser
- Add a "restore to defaults" button
- Make removing gesture more user intuitive
2018-09-04 23:54:17 -03:00
Christian Schabesberger
ff9e662794 Merge branch 'dev' into patch-7 2018-09-04 17:53:39 +02:00
Allan Nordhøy
702f17c013 Spelling: Language rework 2018-09-03 13:07:10 +02:00
Christian Schabesberger
d4f2ac6e9e fix drawer header font color for white theme 2018-09-01 12:33:08 +02:00
Ritiek Malhotra
19abbc935a Separate options for volume and brightness gestures 2018-08-31 19:30:40 +05:30
Vasily
aa04335baf Merge branch 'tablet_ui' of https://github.com/nv95/NewPipe into tablet_ui 2018-08-29 09:00:15 +03:00
Vasily
d3ac3c16b2 Automatic list layout 2018-08-29 08:19:15 +03:00
Christian Schabesberger
42739c8cf0 Merge branch 'dev' into tablet_ui 2018-08-28 21:28:10 +02:00
Christian Schabesberger
affee5630b Merge branch 'dev' into LongTapInSubs 2018-08-28 18:39:11 +02:00
Christian Schabesberger
d305a26936 fixes acording to code review
fixes moreacording to code review

fixed link handling once more
2018-08-28 12:19:07 +02:00
Christian Schabesberger
00bfa28d66 add reset extSD card folder dialog 2018-08-27 16:37:21 +02:00
Somethingweirdhere
7331ad2b88 + New Tab is now on the bottom
Made dialog more beautiful
2018-08-24 12:17:42 +02:00
Somethingweirdhere
804b466781 New selection menu 2018-08-24 12:16:41 +02:00
Somethingweirdhere
f6af41b19d Nav drawer now moves behind the status bar and the colors also work correctly. 2018-08-24 12:14:53 +02:00
Somethingweirdhere
188227a94c PopUp now looks better on hell theme 2018-08-24 12:14:53 +02:00
Somethingweirdhere
d1cf3ddddf Set up custom Main Page tabs 2018-08-24 12:14:53 +02:00
Somethingweirdhere
6c8f089967 Created a dialog for the main page content 2018-08-24 12:13:44 +02:00
Vasily
1dbb297c5d Grid view 2018-08-22 10:14:01 +03:00
Somethingweirdhere
c37b2bb277 Merge branch 'dev' into LongTapInSubs 2018-08-15 23:33:59 +02:00
oscar
36b887dcc4 Removed incorrect explanations of the M4A and WebM audio formats 2018-08-12 23:46:21 -03:00