<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/test/util_test.cc, branch arbitrary-hz</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=arbitrary-hz</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=arbitrary-hz'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2025-09-02T20:40:13Z</updated>
<entry>
<title>Untested conversion to num/den DCPTime.</title>
<updated>2025-09-02T20:40:13Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-12-21T23:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=33b0928b20618da5bc295711bfdf3d638863afa5'/>
<id>urn:sha1:33b0928b20618da5bc295711bfdf3d638863afa5</id>
<content type='text'>
Summary of required changes:

Replace ::from_frames with a constructor that takes num/den.
Provide and use member to_debug_string() instead of to_string().
Provide and use member to_serializable_string() and string constructor instead of fmt::to_string on .get() and number constructor.
Provide and use content_time() member instead of ContentTime constructor from DCPTime.
Use frames_round(96000) instead of get() when comparing times to see if they are "close enough".
Provide and use DCPTime(x, FrameRateChange) constructor when converting from ContentTime.
Use .seconds() when calculating proportions or sometimes when dividing by HZ.
Provide and use operator bool().
Pass explicit 96000 denominator in a lot of places.
Add member max() and use it instead of static max()
Change BOOST_CHECK_EQUAL to BOOST_CHECK
Provide operator/ and use it instead of .get() / 2.
</content>
</entry>
<entry>
<title>Use 0-padded numbers for all fields of a timecode.</title>
<updated>2025-08-25T09:22:27Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-08-22T21:37:39Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=3b9402e620a83d8d23d9df334c4c40fa091c0b6f'/>
<id>urn:sha1:3b9402e620a83d8d23d9df334c4c40fa091c0b6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>White space: util_test.cc.</title>
<updated>2025-08-25T06:47:42Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-08-22T20:18:16Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=f6ff08b405cf0adbe548a52851761183658a419d'/>
<id>urn:sha1:f6ff08b405cf0adbe548a52851761183658a419d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix tests with daylight savings time.</title>
<updated>2025-04-05T21:54:15Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-04-05T21:54:15Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=6c9cee14107f7c33787bab5873652677ae18e476'/>
<id>urn:sha1:6c9cee14107f7c33787bab5873652677ae18e476</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add rfc_2822_date().</title>
<updated>2025-01-09T19:56:26Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-01-07T19:46:02Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=32ac98a4b6f53f06cfe26687d338dfa5125ec20d'/>
<id>urn:sha1:32ac98a4b6f53f06cfe26687d338dfa5125ec20d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix screen name order in KDM emails.</title>
<updated>2024-03-07T22:33:03Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-03-07T22:33:03Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=04b5957318df591f56e0a5d39720df143dc8230d'/>
<id>urn:sha1:04b5957318df591f56e0a5d39720df143dc8230d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add word_wrap().</title>
<updated>2023-03-03T00:17:41Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-02-25T22:38:47Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=61614dcb37ce1bc3cf3fc2915ccac741cfef68e5'/>
<id>urn:sha1:61614dcb37ce1bc3cf3fc2915ccac741cfef68e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup: test tidying.</title>
<updated>2022-12-29T00:47:32Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-29T00:47:32Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=ce73eaf7875a9a3326afcd839ad85eb95879c160'/>
<id>urn:sha1:ce73eaf7875a9a3326afcd839ad85eb95879c160</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tidy up careful_string_filter and add some extra transliterations.</title>
<updated>2022-05-11T18:38:01Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-05-11T18:28:56Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=1a721b82d4094c00ee89574e17c58c23c0de8cdd'/>
<id>urn:sha1:1a721b82d4094c00ee89574e17c58c23c0de8cdd</id>
<content type='text'>
ł seems to be ignored by the ICU transliterator for some reason.
</content>
</entry>
<entry>
<title>Fix potential very rare test failure.</title>
<updated>2021-05-26T18:05:49Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-05-26T10:56:36Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=5919403f312ecd14b6d5d92c07c4cd8d3772c14a'/>
<id>urn:sha1:5919403f312ecd14b6d5d92c07c4cd8d3772c14a</id>
<content type='text'>
</content>
</entry>
</feed>
