- 19 Jan, 2018 1 commit
-
-
Stefan Roellin authored
The duration of a song can have fractions of seconds (quote from http://www.upnp.org/schemas/av/didl-lite-v2.xsd): The format of the duration string is: H+:MM:SS[.F+], or H+:MM:SS[.F0/F1] Where: +H one or more digits to indicate elapsed hours, MM exactly 2 digits to indicate minutes (00 to 59), SS exactly 2 digits to indicate seconds (00 to 59), F+ any number of digits (including no digits) to indicate fractions of seconds, F0/F1 a fraction, with F0 and F1 at least one digit long, and F0 < F1. The string may be preceded by an optional + or - sign, and the decimal point itself may be omitted if there are no fractional seconds digits. Until now, a duration with fractions of seconds could not be parsed and resulted in an unknown duration. Only durations in the format "H+:MM:SS" were feasible. This commit enables to read durations in the first format, i.e. "H+:MM:SS[.F+]"
-
- 12 Sep, 2017 1 commit
-
-
Max Kellermann authored
This is not necessary, because a strlen() on a literal gets optimized away by the compiler.
-
- 08 May, 2017 1 commit
-
-
Max Kellermann authored
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
-
- 08 Feb, 2017 1 commit
-
-
Max Kellermann authored
-
- 06 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 07 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 30 Sep, 2015 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 09 Nov, 2014 2 commits
-
-
Max Kellermann authored
Eliminate one implicit std::string copy.
-
Max Kellermann authored
-
- 08 Nov, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 07 Nov, 2014 1 commit
-
-
Max Kellermann authored
-
- 29 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 26 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 24 Jan, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 23 Jan, 2014 1 commit
-
-
Max Kellermann authored
Reduce bloat.
-
- 22 Jan, 2014 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Reduce bloat.
-
Max Kellermann authored
Expat can call CharacterData() multiple times if the CDATA contains entity references. We need to collect all of them in one large string.
-
Max Kellermann authored
-
- 21 Jan, 2014 1 commit
-
-
Max Kellermann authored
Reduce bloat.
-
- 18 Jan, 2014 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Eliminate the std::string bloat.
-
Max Kellermann authored
Reduce runtime bloat.
-
Max Kellermann authored
Reduce overhead by omitting the part of the buffer that consists only of whitespace.
-
- 14 Jan, 2014 5 commits
-
-
Max Kellermann authored
Replaces "m_title" and "m_props". More bloat removed.
-
Max Kellermann authored
Reduce bloat.
-
Max Kellermann authored
There is no use in duplicating these containers. It only means that we have to search both, duplicating the code.
-
Max Kellermann authored
-
Max Kellermann authored
Call titleToPathElt() only once for each object.
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
"upnp:class" is an element, not an attribute of element "item". This fixes a regression from commit 65ebfb16
-
- 11 Jan, 2014 3 commits
-
-
Max Kellermann authored
Don't add to the std::map.
-
Max Kellermann authored
Don't store in the std::map.
-
Max Kellermann authored
Don't put all <res/> attributes to the attributes map; parse the "duration" attribute as soon as we receive it, and store it in an integer attribute. This reduces bloat.
-
- 10 Jan, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-