Isira Seneviratne
6efb92a38f
Merge branch 'dev' into Merge-dev-to-refactor
...
# Conflicts:
# app/src/main/java/org/schabi/newpipe/MainActivity.java
2025-06-11 08:20:00 +05:30
Stypox
f16becc872
Merge pull request #12217 from SttApollo/Update-EmptyStateComposable
2025-06-06 15:49:13 +02:00
Stypox
60ea317e61
NoComments -> NoVideos in related items screen
2025-06-06 15:36:07 +02:00
Su TT
e53f0ff94a
Update EmptyStateComposable usages to include modifiers
2025-06-05 12:33:21 -04:00
Profpatsch
006b4c9ae1
Merge pull request #11965 from Profpatsch/player-classes-kotlin-conversion
...
Some simple refactors & beginning of kotlin conversions of the player classes
2025-06-05 14:13:33 +02:00
Profpatsch
73fef268fc
PlayerService/PlayerUIList: some small improvements
2025-06-05 13:52:04 +02:00
Profpatsch
cf8fe95abf
PlayerService: runtime-assert that we get passed a service
...
We directly call the `getService` function after receiving the
argument, so resolving the WeakPointer should never return `null` in
our case.
Of course there could be a race condition in theory, but I feel like
if that happens we have bigger problems?
2025-06-05 13:52:04 +02:00
Profpatsch
36115c3164
PlayerService: remove !! where possible
...
It’s a bit unwieldy in places, but should improve the safety of the
code in the face of possible race conditions.
2025-06-05 13:52:04 +02:00
Profpatsch
be373dca8d
PlayerUIList: make UI list private
2025-06-05 13:52:04 +02:00
Profpatsch
f5a4af2d67
Player: destroy -> saveAndShutdown
2025-06-05 13:52:04 +02:00
Profpatsch
06cf511188
PlayerHolder: improve interface docstrings
2025-06-05 13:52:04 +02:00
Profpatsch
26050d808e
VideoPlayerUi: suppress warnings
...
The `R.id` link from the comment cannot be resolved, so let’s not link
it for now.
We are using some exoplayer2 resources, let’s silence the warning.
2025-06-05 13:52:04 +02:00
Profpatsch
0b32738d42
VideoDetailFragment: remove duplicate code in startLoading
2025-06-05 13:52:04 +02:00
Profpatsch
c37db85b97
VideoDetailFragment: apply more IDE suggestions
2025-06-05 13:52:04 +02:00
Profpatsch
4d6e1a4ecf
VideoDetailFragment: apply visibility suggestions
...
Because the class is final, protected does not make sense (Android
Studio auto-suggestions)
2025-06-05 13:52:04 +02:00
Profpatsch
b5dd49ecd3
PlayerService: simplify nullable calls, getters
2025-06-05 13:52:04 +02:00
Profpatsch
945fbd884b
PlayerService: Convert to kotlin (mechanical)
2025-06-05 13:52:04 +02:00
Profpatsch
545c4f078f
PlayerUIList: restrict superclasses a little
2025-06-05 13:52:04 +02:00
Stypox
8c4a789f78
Merge pull request #12302 from davidasunmo/update-readmes
2025-06-04 11:59:56 +02:00
Stypox
8e036b5e69
Merge pull request #12325 from dev-victoria/FeedGroupTab
2025-06-04 11:24:32 +02:00
Stypox
571b7bc74b
Improve layout of select_feed_group_item
2025-06-04 11:18:04 +02:00
Stt_lens
d4cd54fd7b
Update app/src/main/java/org/schabi/newpipe/ui/emptystate/EmptyStateComposable.kt
...
Co-authored-by: Stypox <stypox@pm.me>
2025-05-31 12:27:16 -04:00
Stt_lens
15ab3df511
Update app/src/main/java/org/schabi/newpipe/ui/emptystate/EmptyStateComposable.kt
...
Co-authored-by: Stypox <stypox@pm.me>
2025-05-31 12:07:37 -04:00
Audric V.
033cc08c26
Merge pull request #12322 from dev-victoria/tiny-code-fixes
...
Fix equality comparison in Tab class
2025-05-31 16:56:37 +02:00
Diana Victoria Furrer
205d18f4c4
Use GroupName for the Settings Text.
...
The Tabname displays the default Feed title.
2025-05-31 14:11:26 +02:00
Diana Victoria Furrer
712724211c
added FeedGroup to Tab Settings UnitTest
2025-05-31 01:41:06 +02:00
Diana Victoria Furrer
fd09e6147f
# Fixed Feed Group Titlebar
...
- use default fragment_feed_title for TabName
- only clear FeedFragment bar subtitle when it matches the groupName to clear.
2025-05-31 01:30:49 +02:00
Diana Victoria Furrer
279caac915
# Change
...
Layout select_feed_group_item (FeedGroup Picker in the Settings)
Remove rounded style from the icons
2025-05-30 21:00:37 +02:00
Diana Victoria Furrer
f8ed8e575e
# Change
...
Added FEEDGROUP Tab Code to
- ChooseTabsFragment
- Tab
Added strings:
- feed_group_page_summary
2025-05-30 20:47:37 +02:00
Diana Victoria Furrer
436626fa83
# Change
...
Adjusted select_feed_group_fragment Layout
- reference select_feed_group_item layout
- use new Strings
Added strings:
- select_a_feed_group
- no_feed_group_created_yet
2025-05-30 17:54:49 +02:00
Diana Victoria Furrer
7c3989ff93
# Change
...
Adjusted the new Class SelectFeedGroupFragment for its Role
- Renamed Variables
- adjusted Imports
- adjusted Interface with FeedGroupEntity Values
2025-05-30 17:45:51 +02:00
Diana Victoria Furrer
e6c4690e7d
# Copied Layouts
...
Copied select_channel_fragment to select_feed_group_fragment
Copied select_channel_item to select_feed_group_item
# Change
Replaced the Layout references in the new Class SelectFeedGroupFragment
2025-05-30 17:07:19 +02:00
Diana Victoria Furrer
86869f0a14
Copied SelectFeedGroupFragment from SelectChannelFragment
2025-05-30 16:55:07 +02:00
Diana Victoria Furrer
aa0b45c05f
ChannelTab.equals fix comparison
2025-05-30 13:21:45 +02:00
David Asunmo
55bf74b4a7
Fix CI status badge
2025-05-24 02:15:45 +01:00
David Asunmo
de3d11568d
Add nightly builds to all readmes
...
Add matrix to .ru
2025-05-22 03:29:12 +01:00
David Asunmo
16077dee80
Add matrix chat link to all READMEs
2025-05-22 03:29:12 +01:00
Stypox
c9155f7834
Merge pull request #12298 from davidasunmo/add-dev-refactor-nightly-badges
...
Add dev and refactor nightly build badges
2025-05-20 11:13:38 +02:00
David
7dd1abdf9c
Add dev and refactor nightly build badges
...
bottom text
2025-05-20 02:22:47 +01:00
Isira Seneviratne
f41b34c090
Merge pull request #11759 from Isira-Seneviratne/Import-export-worker
...
Rewrite import and export subscriptions functionality using coroutines
2025-05-16 01:16:34 +05:30
Stypox
d1954baf29
Merge pull request #11829 from Profpatsch/PlayerUIList-to-kotlin
...
Player UI list to kotlin
2025-05-13 23:36:16 +02:00
Profpatsch
a8da9946d1
PlayerUiList: guard list actions with mutex
...
The new implementation would throw `ConcurrentModificationExceptions`
when destroying the UIs. So let’s play it safe and put the list behind
a mutex.
Adds a helper class `GuardedByMutex` that can be wrapped around a
property to force all use-sites to acquire the lock before doing
anything with the data.
2025-05-11 15:23:03 +02:00
Profpatsch
3d069cdf5b
PlayerUIList: rename get to getOpt and make get nullable
...
In Kotlin, dealing with nulls works better so we don’t need optional.
2025-05-11 15:12:37 +02:00
Profpatsch
eccedc0ab0
PlayerUIList: transform to kotlin
...
And simplify the code a little
2025-05-11 15:06:52 +02:00
Profpatsch
f3858e70a3
Merge pull request #11789 from Thompson3142/fix_background_crash_focus
...
Fix background crash focus
2025-05-09 23:41:38 +02:00
Thompson3142
76202e6b4b
Remove no longer needed dependency
2025-05-09 22:29:05 +02:00
Thompson3142
90e2f234e7
Initial commit for better handling of background crashes
...
Fix crashing behaviour with entry in SharedPreferences
A few minor improvements
Added docs for isInBackground
Some more minor changes
Overwrite methods in MainActivity instead of creating a new class
2025-05-09 22:29:00 +02:00
Profpatsch
42a52b7118
Merge pull request #12259 from Profpatsch/put-@-on-right-side-of-rtl-usernames
...
Comments: Put @ on the right side of right-to-left usernames
2025-05-08 21:46:00 +02:00
Stypox
7cecda5713
Merge branch 'dev' into refactor
...
Had to make some adjustments to make https://github.com/TeamNewPipe/NewPipe/pull/12188 work
2025-05-08 15:34:00 +02:00
Stypox
d9dccfa8af
Merge branch 'master' into dev
2025-05-08 15:04:06 +02:00