Commit Graph

40 Commits (95a63327fa328c9039dc5bbbd30239b1b253f2f9)

Author SHA1 Message Date
Dzmitry Neviadomski b69cb98240 Revert display regressions.
1. Revert "Merge pull request #148 from JanX2/two-gigaseconds-mini"

This reverts commit 7365174b11, reversing
changes made to c5ac86725d.

2. Revert "Two gigaseconds (#147)"

This reverts commit c5ac86725d.
2021-05-09 01:16:20 +03:00
Jan Weiß c320f7fe27 Update mini player mode’s "Current Time" toolbar item with recent fixes. 2021-05-07 12:07:49 +02:00
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
Dzmitry Neviadomski 9c58f67c48 Fix Info button sizing when album art not present. 2021-05-05 02:03:55 +03:00
Dzmitry Neviadomski e5e9dffe0f Update Mini Player minimum width to lower value. 2021-03-03 22:47:31 +03:00
Dzmitry Neviadomski 3a3694d78b Add option for Mini Player to appear on top. 2021-03-03 00:04:59 +03:00
Dzmitry Neviadomski ac44ae12be Mini window UI fixes.
Fix Toolbar customization panel overlapping window.
Fix minimum size to not exceed screen width.
2021-02-28 18:48:15 -08:00
Dzmitry Neviadomski 9761412e87 Update default position for MainWindow. 2021-02-21 01:39:19 +03:00
Dzmitry Neviadomski 18896dcc3e Rework Titlebar.
Show Album art in info button.
2021-02-19 02:58:57 +03:00
Dzmitry Neviadomski b08263159e Show Now Playing bar only when needed.
Fixes #101
Fixes #105
2021-02-19 01:07:05 +03:00
Christopher Snowhill ca160e1efe
Remove maxValue default
from mini window position slider. Fixes (#100 )
2021-02-09 18:39:58 -08:00
Dzmitry Neviadomski 119a7214ef Fix incorrect negative value in Current Time on stop. 2021-02-07 05:37:57 +03:00
Dzmitry Neviadomski 899152db49 Add ability to change toolbar style.
Fixes #86
2021-02-07 01:15:12 +03:00
Dzmitry Neviadomski bebe6cd3e8 Fix Status bar message v-alignment and use monospaced font for Time. 2021-01-26 00:40:10 +03:00
Dzmitry Neviadomski f7e2d0029d Align Info Inspector with app's MainWindow. 2021-01-09 13:46:24 +03:00
Dzmitry Neviadomski a112440849 Cleanup dead code in MainWindow. 2021-01-09 12:46:18 +03:00
Dzmitry Neviadomski 78d8c0050c Revamp Mini Window shortcuts.
Fix deprecation warnings.
Set max and min size for content view in code.
2021-01-08 12:15:01 +03:00
Christopher Snowhill c0a349d694
Merge pull request #68 from nevack/nevack/update-mini-window
Update Mini Window toolbar item priority
2021-01-06 21:06:54 -08:00
Dzmitry Neviadomski edafc3fe1f Update Main Window toolbar item priority. 2021-01-07 07:41:09 +03:00
Dzmitry Neviadomski 76bdebd058 Update volume slider to use NSPopover. 2021-01-07 06:48:40 +03:00
Dzmitry Neviadomski 6a4243128e Update Toolbar items visibility.
Use backported NSSearchToolbarItem to support collapsed state.
Give more priority to Playback controls.
Fix sizing of Playback Slider.
2021-01-07 00:49:14 +03:00
Christopher Snowhill bf33cdb113 Adjusted main window constraints a bit 2020-12-22 00:54:29 -08:00
Christopher Snowhill 4755483961 Touched by Xcode 2020-11-26 18:36:08 -08:00
Christopher Snowhill b77f3c97a0
Merge branch 'master' into ohsir 2020-11-26 18:28:29 -08:00
Christopher Snowhill 474dca3967 Update donation menu items 2020-11-24 16:03:49 -08:00
Christopher Snowhill dedeb399a8 - Big Sur phase two
- Restructure main window a bit more
- Remove attempt at SF Symbols icons for now
- Add Now Playing popout to Stacks style main window, tooltip instructs to click to select the current track in playlist
- Disable libFLAC plugin on macOS 10.13 and newer, letting Core Audio handle it instead. Apparently, libFLAC is not really ready for Apple Silicon yet.
2020-11-22 18:16:34 -08:00
Christopher Snowhill dca9655c62 Fixed toolbar buttons on 10.15 and older, and fixed the Preferences dialog on Big Sur and potentially newer. 2020-11-19 16:24:33 -08:00
Jan Weiß 6a534ad900 Swap keyboard shortcuts for "Playlist > Repeat > Toggle" (now ⌘R) and "Playlist > Show in Finder" (now ⇧⌘R). 2020-09-21 22:00:46 -07:00
Jan Weiß ee78d9f52b Swap keyboard shortcuts for "Playlist > Repeat > Toggle" (now ⌘R) and "Playlist > Show in Finder" (now ⇧⌘R). 2020-06-30 13:13:25 +02:00
Jan Weiß 0e9f1444f1 °MainMenu.xib" updated by Xcode 11.4 beta. 2020-06-30 13:13:25 +02:00
Christopher Snowhill 0001bd581b Phase one of Big Sur 2020-06-30 01:04:55 -07:00
Christopher Snowhill aa434c09bb Project file touched by Xcode 2020-05-02 00:53:26 -07:00
Christopher Snowhill 3b41af0dc2 Update donation menu 2020-05-02 00:53:08 -07:00
Christopher Snowhill 20ef302410 Project files touched by Xcode 2020-04-06 23:29:49 -07:00
Christopher Snowhill 4e2b6ea9d8 Automated changes by resource editor 2019-11-16 15:24:15 -08:00
Christopher Snowhill eba116d92e Replace Feedback submission dialog with link to special contact form 2019-11-16 14:49:30 -08:00
Christopher Snowhill 39bc8df77c Implement spacebar for play/pause and enter for restart current track for the mini window, and implement left/right arrows for seeking forward and backward for both the mini window and the main window playlist view. 2018-09-26 20:32:23 -07:00
Christopher Snowhill 6a978b8847 Maintenance edits. 2018-09-22 03:10:08 -07:00
Christopher Snowhill c5918c9aa2 Misc. changes from simply opening the project file. 2018-06-28 05:04:32 -07:00
Christopher Snowhill 67495009ff Updates for new build system. 2018-06-28 04:03:37 -07:00