Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
f6799615
Commit
f6799615
authored
Feb 16, 2021
by
Max Kellermann
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'v0.22.6'
release v0.22.6
parents
471c37be
93872882
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
4 deletions
+23
-4
NEWS
NEWS
+3
-0
AndroidManifest.xml
android/AndroidManifest.xml
+2
-2
conf.py
doc/conf.py
+1
-1
ExportedSong.hxx
src/db/plugins/simple/ExportedSong.hxx
+17
-1
No files found.
NEWS
View file @
f6799615
...
...
@@ -2,6 +2,9 @@ ver 0.23 (not yet released)
* protocol
- new command "getvol"
ver 0.22.6 (2021/02/16)
* fix missing tags on songs in queue
ver 0.22.5 (2021/02/15)
* protocol
- error for malformed ranges instead of ignoring silently
...
...
android/AndroidManifest.xml
View file @
f6799615
...
...
@@ -2,8 +2,8 @@
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"org.musicpd"
android:installLocation=
"auto"
android:versionCode=
"5
3
"
android:versionName=
"0.22.
5
"
>
android:versionCode=
"5
4
"
android:versionName=
"0.22.
6
"
>
<uses-sdk
android:minSdkVersion=
"21"
android:targetSdkVersion=
"29"
/>
...
...
doc/conf.py
View file @
f6799615
...
...
@@ -38,7 +38,7 @@ author = 'Max Kellermann'
# built documents.
#
# The short X.Y version.
version
=
'0.22.
5
'
version
=
'0.22.
6
'
# The full version, including alpha/beta/rc tags.
release
=
version
...
...
src/db/plugins/simple/ExportedSong.hxx
View file @
f6799615
...
...
@@ -29,6 +29,12 @@
* a #LightSong, e.g. a merged #Tag.
*/
class
ExportedSong
:
public
LightSong
{
/**
* A reference target for LightSong::tag, but it is only used
* if this instance "owns" the #Tag. For instances referring
* to a foreign #Tag instance (e.g. a Song::tag), this field
* is not used (and empty).
*/
Tag
tag_buffer
;
public
:
...
...
@@ -42,10 +48,20 @@ public:
points to this instance's #Tag field instead of leaving a
dangling reference to the source object's #Tag field */
ExportedSong
(
ExportedSong
&&
src
)
noexcept
:
LightSong
(
src
,
tag_buffer
),
:
LightSong
(
src
,
/* refer to tag_buffer only if the
moved-from instance also owned the Tag
which its LightSong::tag field refers
to */
OwnsTag
()
?
tag_buffer
:
src
.
tag
),
tag_buffer
(
std
::
move
(
src
.
tag_buffer
))
{}
ExportedSong
&
operator
=
(
ExportedSong
&&
)
=
delete
;
private
:
bool
OwnsTag
()
const
noexcept
{
return
&
tag
==
&
tag_buffer
;
}
};
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment