Two gigaseconds #147

Merged
JanX2 merged 30 commits from two-gigaseconds into master 2021-05-06 22:50:26 -04:00

30 commits

Author SHA1 Message Date
Jan Weiß
64faed3f9b Add internal type for time calculations. 2021-05-06 17:19:40 +02:00
Jan Weiß
c0b3161d3c Improve SecondsFormatter format strings. 2021-05-06 17:19:40 +02:00
Jan Weiß
161945c3c1 Cleanup. 2021-05-06 17:19:40 +02:00
Jan Weiß
ce88971789 Replace custom time formatting code in TimeField with SecondsFormatter. 2021-05-06 17:19:40 +02:00
Jan Weiß
aa02f8c27c Mark TimeField as space-indented. 2021-05-06 17:19:40 +02:00
Jan Weiß
e28b4dbd5c Cleanup. 2021-05-06 17:19:40 +02:00
Jan Weiß
642717e405 Refactor into -stringForTimeInterval: in SecondsFormatter. 2021-05-06 17:19:40 +02:00
Jan Weiß
a3398a1f07 Improve SecondsFormatter readability. 2021-05-06 17:19:40 +02:00
Jan Weiß
1e6aa2975f Add negative zero support. 2021-05-06 17:19:40 +02:00
Jan Weiß
8dd0315aba Rewrite SecondsFormatter for better readability. 2021-05-06 17:19:40 +02:00
Jan Weiß
5e7fbc64e9 Rewrite SecondsFormatter in preparation for better readability.. 2021-05-06 17:19:40 +02:00
Jan Weiß
a280f3f69c Implement negative support, tests. 2021-05-06 17:19:40 +02:00
Jan Weiß
82098b044c Replace unsigned with int in SecondsFormatter. 2021-05-06 17:19:40 +02:00
Jan Weiß
64fbc7115c Implement -testPositive. 2021-05-06 17:19:40 +02:00
Jan Weiß
c020867bce Pouring foundation for SecondsFormatterTests. 2021-05-06 17:19:39 +02:00
Jan Weiß
be6c166dc5 Add SecondsFormatterTests.
Tests are stubbed out.
2021-05-06 17:19:39 +02:00
Jan Weiß
e06561bc19 Add CogTests.
These can later be used for integration tests.
2021-05-06 17:19:39 +02:00
Jan Weiß
8c60aca700 Move formatter setup into XIB. 2021-05-06 17:19:39 +02:00
Jan Weiß
50850c6927 Merge in SecondsFormatter improvements from Play. 2021-05-06 17:19:39 +02:00
Jan Weiß
cb2dd0b75e Improve SecondsFormatter. 2021-05-06 17:19:39 +02:00
Jan Weiß
22dc76c159 Set "Current Time" toolbar item to use MonospacedDigitTextFieldCell. 2021-05-06 17:19:39 +02:00
Jan Weiß
056b1f569d Disable font scaling code without effect. 2021-05-06 17:19:39 +02:00
Jan Weiß
0a94b62b06 Implement and use MonospacedDigitTextFieldCell.
This way the digits of numbers in playlist columns consisting of mostly digits will be aligned vertically.
2021-05-06 17:19:39 +02:00
Jan Weiß
978619a893 MainMenu.xib touched by Xcode. 2021-05-06 17:19:39 +02:00
Jan Weiß
99680cca7f Don’t enforce leading double-digits in position time display. 2021-05-06 17:19:39 +02:00
Jan Weiß
d6cfd24ba0 Fix "Current Time" toolbar item geometry/layout. 2021-05-06 17:19:39 +02:00
Jan Weiß
df53cede97 Add days, hours support to position time display. 2021-05-06 17:19:39 +02:00
Jan Weiß
97298d6a77 Improve position time display. 2021-05-06 17:19:39 +02:00
Jan Weiß
8eeebd0b20 Fix typo. 2021-05-06 17:19:39 +02:00
Jan Weiß
57a7dd0de9 Fix look of position time field to match the rest of the UI. 2021-05-06 17:19:39 +02:00