<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/wx/timecode.h, 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>Allow paste of 8-digit numbers as timecodes.</title>
<updated>2025-01-15T20:58:18Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-01-15T20:58:18Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=511d1b7325f2f0a027ca72b5bc1fc3798abb8bbc'/>
<id>urn:sha1:511d1b7325f2f0a027ca72b5bc1fc3798abb8bbc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move onto next timecode control after typing two characters.</title>
<updated>2025-01-15T20:58:07Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-01-15T20:58:07Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=023e5ad3d9e704fb63e43bb45a0f279c1fdc3a0f'/>
<id>urn:sha1:023e5ad3d9e704fb63e43bb45a0f279c1fdc3a0f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Store controls and use the vector to tidy some things up.</title>
<updated>2025-01-15T20:57:05Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-01-15T20:57:05Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b23517142c52c52a72a3c8a685ee0e8d2b256372'/>
<id>urn:sha1:b23517142c52c52a72a3c8a685ee0e8d2b256372</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump libdcp for raw_convert changes.</title>
<updated>2025-01-05T11:58:13Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-12-30T14:43:14Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b03f2277a205ff7e7cdaa12c6e52322ea474a7af'/>
<id>urn:sha1:b03f2277a205ff7e7cdaa12c6e52322ea474a7af</id>
<content type='text'>
raw_convert&lt;string&gt; is gone, so here we use fmt::{to_string,format} instead.
Other raw_converts now use fast_float.
</content>
</entry>
<entry>
<title>Add validity check to Timecode.</title>
<updated>2024-03-12T22:41:00Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-12-20T22:41:49Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=63b1442519ce5032a7fd85d9585aa203de639f27'/>
<id>urn:sha1:63b1442519ce5032a7fd85d9585aa203de639f27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More header trimming.</title>
<updated>2022-12-13T10:18:31Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-13T10:18:31Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=0185ba27b0e9c52a173147c1380ec5f345109afc'/>
<id>urn:sha1:0185ba27b0e9c52a173147c1380ec5f345109afc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use libdcp's warnings.h</title>
<updated>2022-04-22T21:27:15Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-04-22T21:27:15Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=3c29aa6531a4046a8db72dcac81189eb8893233c'/>
<id>urn:sha1:3c29aa6531a4046a8db72dcac81189eb8893233c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Disable warnings around all wx includes.</title>
<updated>2022-04-21T21:48:16Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-04-21T19:35:10Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b9a1ad3df5f9d85fb7439efd93fede72b9b078af'/>
<id>urn:sha1:b9a1ad3df5f9d85fb7439efd93fede72b9b078af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>C++11 and whitespace cleanups.</title>
<updated>2022-04-03T21:25:19Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-04-02T22:04:31Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d311043bf3c1e3e7f41b314f7ab7c91ed7e5aa7f'/>
<id>urn:sha1:d311043bf3c1e3e7f41b314f7ab7c91ed7e5aa7f</id>
<content type='text'>
</content>
</entry>
</feed>
