Commit Graph

100 Commits (a640627fe1ff6c42f1bff8a76b1df2ae4b96f0bc)

Author SHA1 Message Date
Christopher Snowhill 83ad969d9b Equalizer: Add option for presets to track the music genre tags 2022-01-17 20:43:08 -08:00
Christopher Snowhill 147de11d89 Equalizer: Interpolate to reach bands outside of presets 2022-01-17 18:45:59 -08:00
Christopher Snowhill dbc0698cee Equalizer: Implemented stock presets 2022-01-17 06:37:38 -08:00
Christopher Snowhill 87c771c67c Equalizer: Add option to toggle the equalizer on or off 2022-01-17 01:22:15 -08:00
Christopher Snowhill 71b2f7a4f2 Implement graphic equalizer 2022-01-16 07:32:47 -08:00
Christopher Snowhill 669c52e63d Use numeric minus sign for time remaining 2022-01-16 00:18:29 -08:00
Christopher Snowhill 297b6247cc Show volume slider tooltip on the left side of the slider if it would otherwise run off the screen 2022-01-16 00:15:56 -08:00
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 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 e5e9dffe0f Update Mini Player minimum width to lower value. 2021-03-03 22:47:31 +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 85e27e7496 Rework playback shortcuts again. 2021-02-19 08:23:13 +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
Dzmitry Neviadomski 9840d87127 Convert CogStatus enum to NS_ENUM 2021-02-07 00:22:19 +03:00
Dzmitry Neviadomski c1da9a66e1 Modernize several classes.
Use modern ObjC syntax.
Use new Pasteboard APIs.
Explicitly declare protocols.
2021-01-31 02:14:08 +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 8fa30d109d Remove dead code after NSPopover migration. 2021-01-10 03:33:21 +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
Dzmitry Neviadomski ddf98f7a3b Fix Volume Slider popover reattaching to window. 2021-01-08 09:35:41 +03:00
Dzmitry Neviadomski 9b9e2d2c42 Show Volume slider in NSPopover instead of CGWindow.
Also perform Haptic feedback when volume slider is at 100%.
2021-01-08 00:35:52 +03:00
Christopher Snowhill 1b7948ef9d
Merge pull request #67 from nevack/nevack/update-volume-slider
Update volume slider to use NSPopover.
2021-01-06 21:06:38 -08:00
Dzmitry Neviadomski 76bdebd058 Update volume slider to use NSPopover. 2021-01-07 06:48:40 +03:00
Christopher Snowhill 858b22d60b Move new PositionSliderToolbarItem.swift to correct folder 2021-01-06 14:56:04 -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
Christopher Snowhill 0001bd581b Phase one of Big Sur 2020-06-30 01:04:55 -07:00
Christopher Snowhill fc2e6df38f Full screen mode Now Playing Bar now has more appropriate colors in Dark Mode 2020-03-05 20:31:57 -08:00
Christopher Snowhill e44aad7101 Project file touched by Xcode 2020-03-05 20:31:23 -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 67495009ff Updates for new build system. 2018-06-28 04:03:37 -07:00
Chris Moeller 17272ce43c Clean up lots of warnings and minor issues. 2016-06-29 22:10:29 -07:00
Chris Moeller 0e3644177e Updated everything else to ARC, and plugged a release cycle. 2016-05-05 13:05:39 -07:00
Chris Moeller bc9d9458b4 Added a stop button to the play controls, handy for when playing a stream, which shouldn't really be paused. Also handy for other reasons. 2013-10-18 06:36:19 -07:00
Chris Moeller 1850f3be7d Fixed full view playlist undo/redo actions 2013-10-12 21:09:54 -07:00
Chris Moeller 012ef22b40 Major UI overhaul; Now supports mini mode 2013-10-11 12:02:05 -07:00
Chris Moeller d1f6ec850e tuurngait: Major UI Improvements 2013-10-11 07:16:47 -07:00
Chris Moeller 053b09ba1b mamburu: Whether to show remaining time or elapsed time now survives restarts 2013-10-11 05:53:37 -07:00
Chris Moeller e5a648578b mamburu: Logging improved, no more excessive logging in release builds 2013-10-11 05:03:55 -07:00
Chris Moeller 602aaa6938 Enter Full Screen menu item and separator are now hidden until the main window wakes and detects toggleFullScreen selector 2013-10-11 03:39:57 -07:00
Chris Moeller 0ad3106355 mamburu: Added bar that shows name of currently playing entry 2013-10-11 02:09:26 -07:00
Chris Moeller 442501c43f Lion full screen mode support 2013-10-10 18:14:35 -07:00
vspader 7819210b96 Added interface for shuffle albums mode. 2009-03-09 21:04:46 -07:00
vspader 98b5d78425 Removed useless setContentBorderThickness call from the mini window because it messed with dragging the window. 2009-03-07 02:41:06 -08:00
vspader 1fcf3bb2ff Fixed up fading logic. 2009-02-28 13:19:26 -08:00
vspader fd4fa4c62d Fixed playback buttons on mini mode. Play now turns to pause. 2009-02-28 13:13:06 -08:00
vspader bafb6485f4 Tooltip for volume slider now includes a %. 2009-02-28 10:18:32 -08:00
vspader c902c96a19 Fixed shuffle images. 2009-02-27 22:40:50 -08:00
vspader a2f360177e Organized things a little better. 2009-02-22 14:57:02 -08:00