cog/Utils
Jan c5ac86725d
Two gigaseconds (#147)
* Fix look of position time field to match the rest of the UI.

* Fix typo.

* Improve position time display.

* Add days, hours support to position time display.

* Fix "Current Time" toolbar item geometry/layout.

* Don’t enforce leading double-digits in position time display.

* MainMenu.xib touched by Xcode.

* Implement and use MonospacedDigitTextFieldCell.
This way the digits of numbers in playlist columns consisting of mostly digits will be aligned vertically.

* Disable font scaling code without effect.

* Set "Current Time" toolbar item to use MonospacedDigitTextFieldCell.

* Improve SecondsFormatter.

* Merge in SecondsFormatter improvements from Play.

* Move formatter setup into XIB.

* Add CogTests.
These can later be used for integration tests.

* Add SecondsFormatterTests.
Tests are stubbed out.

* Pouring foundation for SecondsFormatterTests.

* Implement -testPositive.

* Replace unsigned with int in SecondsFormatter.

* Implement negative support, tests.

* Rewrite SecondsFormatter in preparation for better readability..

* Rewrite SecondsFormatter for better readability.

* Add negative zero support.

* Improve SecondsFormatter readability.

* Refactor into -stringForTimeInterval: in SecondsFormatter.

* Cleanup.

* Mark TimeField as space-indented.

* Replace custom time formatting code in TimeField with SecondsFormatter.

* Cleanup.

* Improve SecondsFormatter format strings.

* Add internal type for time calculations.

Co-authored-by: Jan Weiß <jan@geheimwerk.de>
2021-05-06 19:50:26 -07:00
..
Logging.h mamburu: Logging improved, no more excessive logging in release builds 2013-10-11 05:03:55 -07:00
MonospacedDigitTextFieldCell.h Two gigaseconds (#147) 2021-05-06 19:50:26 -07:00
MonospacedDigitTextFieldCell.m Two gigaseconds (#147) 2021-05-06 19:50:26 -07:00
NSArray+ShuffleUtils.h Add utils for new shuffle. 2008-02-16 02:46:37 +00:00
NSArray+ShuffleUtils.m Add utils for new shuffle. 2008-02-16 02:46:37 +00:00
NSData+MD5.h XML playlists now store album art in an MD5 hash indexed dictionary, but continue to read the older format for backwards compatibility 2013-10-09 16:14:23 -07:00
NSData+MD5.m Clean up lots of warnings and minor issues. 2016-06-29 22:10:29 -07:00
NSFileHandle+CreateFile.h Added formatters and NSFileHandle+CreateFile category for easy file creation when writing. 2007-03-14 02:29:16 +00:00
NSFileHandle+CreateFile.m Added formatters and NSFileHandle+CreateFile category for easy file creation when writing. 2007-03-14 02:29:16 +00:00
NSString+CogSort.h Moved commonly used file to a new location. 2009-02-28 09:45:08 -08:00
NSString+CogSort.m Moved commonly used file to a new location. 2009-02-28 09:45:08 -08:00
NSString+FinderCompare.h Add missing newlines. 2020-02-01 14:00:41 +01:00
NSString+FinderCompare.m Clean up lots of warnings and minor issues. 2016-06-29 22:10:29 -07:00
SideViewController.h Updated everything else to ARC, and plugged a release cycle. 2016-05-05 13:05:39 -07:00
SideViewController.m Updates for new build system. 2018-06-28 04:03:37 -07:00
ToolTipTextField.h Added ToolTipTextField class, whos tooltip is the same as the text displayed, but untruncated. 2009-03-09 21:59:27 -07:00
ToolTipTextField.m Added ToolTipTextField class, whos tooltip is the same as the text displayed, but untruncated. 2009-03-09 21:59:27 -07:00
TrackingCell.h Fixed up position slider and time display. 2009-02-22 14:28:09 -08:00
TrackingCell.m Updates for new build system. 2018-06-28 04:03:37 -07:00
TrackingSlider.h Fixed up position slider and time display. 2009-02-22 14:28:09 -08:00
TrackingSlider.m Updated everything else to ARC, and plugged a release cycle. 2016-05-05 13:05:39 -07:00