Commit Graph

338 Commits (c2388d2659d71f783ddeee573f5afccd049c5b22)

Author SHA1 Message Date
Christopher Snowhill cfeadad97f Reduce minimum OS to macOS 10.12 2021-09-18 01:08:49 -07: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
Christopher Snowhill 1e97d02384 Cleaned up project files, also removed accidental and remaining team identifiers 2021-05-01 15:43:56 -07:00
Christopher Snowhill 13bd399b31 Clean up most warnings and update some dependencies 2021-04-29 18:16:24 -07:00
Christopher Snowhill f86f7dc532 Fixup for main branch 2021-02-28 18:48:31 -08:00
Christopher Snowhill 6e73220211 Revert "Add siplayfp.framework to Cog target."
This reverts commit eaca38df89.
2021-02-28 18:48:05 -08:00
Dzmitry Neviadomski 219cd937e1 Add siplayfp.framework to Cog target. 2021-02-28 18:47:59 -08:00
Dzmitry Neviadomski d1469ebfe4 Sort plugins by name. 2021-02-26 15:17:01 +03:00
Dzmitry Neviadomski 204d63923e Fix build after removing resources. 2021-02-22 11:54:04 +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 0b88e5f041
Remove development team setting leak 2021-02-06 14:34:08 -08:00
Dzmitry Neviadomski 5e3ed2af4b Remove ThirdParty SPMediaKeyTap 2021-02-07 00:27:14 +03:00
Dzmitry Neviadomski 64b9764b2e Inhibit ThirdParty libraries build errors.
This helps as to actually see warnings of our code.
2021-01-27 04:31:43 +03:00
Dzmitry Neviadomski 19dbf4c9f5 Migrate to MASShortcut.
Removed NDHotKey code.
Added ability to restore default shortcuts.
Migrated old user-set shortcuts.
2021-01-25 06:47:09 +03:00
Dzmitry Neviadomski 0c820a1d1c Copy Preferences.preferencePane in a more straightforward way. 2021-01-25 01:25:56 +03:00
Dzmitry Neviadomski 52b2610324 Rename General target to Preferences to reflect it's real purpose. 2021-01-25 01:20:27 +03:00
Dzmitry Neviadomski 8fa30d109d Remove dead code after NSPopover migration. 2021-01-10 03:33:21 +03:00
Christopher Snowhill 858b22d60b Move new PositionSliderToolbarItem.swift to correct folder 2021-01-06 14:56:04 -08:00
Christopher Snowhill a5f0ee7d68
Remove developer team 2021-01-06 14:39:03 -08: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 002fa3b63e Fix last remaining references to old build target 2021-01-06 00:38:23 -08:00
Jan Weiß 63ed28919b Second attempt to fix build with other than maintainer’s TeamIDs. Worked for me with Xcode 12.3. 2021-01-05 17:25:12 +01:00
Christopher Snowhill dbc51d76f9 Revert PR #60 - Nope, that breaks hardened runtime and signing it myself 2020-12-22 02:11:50 -08:00
Jan Weiß c305a5f949 Fix build with other than maintainer’s TeamIDs.
This commit removes development team and code signing key/value pairs that slipped through when Xcode applied code signing changes.
2020-12-13 12:01:48 +01:00
Christopher Snowhill 91b1271ae2 Bump deployment target to 10.13 2020-11-24 15:26:26 -08:00
Dan Leehr cd84ec683e Fix path to icon_blank.icns 2020-11-23 17:01:25 -05: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 002e16260c Change delpoyment target to 10.9 2020-09-06 21:52:07 -07:00
Christopher Snowhill 0001bd581b Phase one of Big Sur 2020-06-30 01:04:55 -07:00
Christopher Snowhill 3b628c3989 Touched by Xcode 2020-06-07 19:57:15 -07:00
Christopher Snowhill 3e6d599452 Implement new notification display system, when running on Mojave or newer 2020-03-21 01:51:35 -07:00
Christopher Snowhill 6a17d6426e Switch to Sparkle binaries. Currently trying 1.22.0. 2020-02-29 17:47:07 -08:00
Jan Weiß f01915ed80 Project touched by Xcode. 2020-02-17 17:06:48 +01:00
Jan Weiß 4f9c58ec4a Remove DevelopmentTeam that slipped through. 2020-02-17 13:47:16 +01:00
Christopher Snowhill 8bc6396918 Fix local signing issues 2020-02-13 17:45:11 -08:00
Christopher Snowhill 765cb5e890 Usual Xcode update mess 2020-02-13 01:41:21 -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 2476f8827d Hopefully fix compatibility with systems older than 10.12.1 2019-11-14 19:16:43 -08:00
Christopher Snowhill 09777d4554 Implemented support for MediaPlayer framework, which fixes media key support on newer systems, and also media info reporting 2019-11-13 19:13:59 -08:00
Jan Weiß f5edb6ae71 Added unversioned TeamID infrastruture.
This is described in detail in the file "Shared.xcconfig".
2019-10-19 18:11:56 +02:00
Christopher Snowhill a23085082a Switch back to lazyusf2, and enable JIT entitlement for it 2019-10-15 14:32:18 -07:00
Christopher Snowhill 9a47c0ebe9 - Remove obsolete Growl framework
- Update BASS and friends to latest versions
- Remove unused unmo3 library
- Add entitlements to Hardened Runtime for unsigned plugins (for
  AU MIDI playback), and for executable memory use (for the USF
  recompiler)

- TODO: Replace Growl branding with generic notification icon
2019-10-10 15:47:46 -07:00
Christopher Snowhill fd7ab684c2 Updates for modern Xcode 2019-10-05 00:12:36 -07:00
Christopher Snowhill 050eef7225 Updated to latest Xcode 2019-07-02 16:37:17 -07:00
Christopher Snowhill fd61d465f7 Fix string resources encoding. Fix runtime path for Sparkle framework. 2018-07-22 02:00:10 -07:00
Christopher Snowhill aa3a4d71cc Update post build script. 2018-06-28 05:10:27 -07:00
Christopher Snowhill 67495009ff Updates for new build system. 2018-06-28 04:03:37 -07:00
Christopher Snowhill bcf839efd1 Apply Xcode's suggested changes to project files. 2018-06-04 00:13:55 -07:00
Chris Moeller f97ffd0574 Updated VGMStream to r1050-1289-g35cd14fa. 2018-05-01 00:05:29 -07:00
Christopher Snowhill 50616714ad Implemented AdPlug decoder. 2018-01-27 15:08:06 -08:00
Christopher Snowhill aaaa5d574f Replaced DUMB and company with libopenmpt. 2018-01-04 18:00:39 -08:00
Christopher Snowhill 0ddddb7965 Oops. 2017-12-27 17:38:00 -08:00
Christopher Snowhill 2abba64b32 Hopefully fix Travis CI building once and for all. 2017-12-27 17:33:52 -08:00
Chris Moeller 9e8fd61d8c Update xcschemes. 2017-12-05 19:10:41 -08:00
Christopher Snowhill 913287665d Update project files to current recommendations. 2017-09-26 16:12:33 -07:00
Christopher Snowhill 4fd36e1831 Oops, forgot to add my DSA public key to the app. Delta updates should work again after this update. 2017-09-25 18:52:17 -07:00
Christopher Snowhill 039347f36f Made all scheme configurations shared, imported. 2017-09-17 18:40:02 -07:00
Christopher Snowhill 8ad0b7e8e3 Updated projects to Xcode recommendations. 2016-11-03 22:42:21 -07:00
Christopher Snowhill a95280626f Fix Projects. Fix a major deadlock introduced by previous commit. Introduce new mGBA based GSF player. 2016-09-04 12:49:43 -07:00
Christopher Snowhill 899cfd6b42 Update project files. 2016-09-01 18:50:33 -07:00
Chris Moeller 17272ce43c Clean up lots of warnings and minor issues. 2016-06-29 22:10:29 -07:00
Chris Moeller 03b825ced3 Hopefully fix the last of the Automatic Reference Counting issues that remained. 2016-06-19 12:57:18 -07:00
Chris Moeller 33868a8b09 Share the Cog scheme. 2016-05-15 17:58:22 -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 3c75c03b70 Implemented new Syntrax/JayTrax Module decoder. 2016-03-13 22:51:17 -07:00
Chris Moeller ce2303ef24 Update project files for new Xcode 2015-11-12 21:31:10 -08:00
Chris Moeller 52362e4341 Workaround bugs in the 10.11 SDK by using the 10.10 SDK instead 2015-08-05 17:03:12 -07:00
Chris Moeller e8ff4a9b63 Remove private data from repository 2015-07-31 23:55:14 -07:00
Chris Moeller 5677527ffd Changed code signing procedures, removed unnecessary Plugin.h copies from numerous PlugIn bundles, and re-signed Growl.framework with a valid signature 2015-03-18 21:45:32 -07:00
Chris Moeller f55eb1d3bf Added a silence decoder, and fall back all decoder open failures on one second of silence 2015-02-08 18:15:02 -08:00
Chris Moeller 08dc22009d Implemented basic residfp support 2014-12-07 22:26:31 -08:00
Chris Moeller 9bc9e47781 Updated vgmstream to revision 1039 2014-09-16 16:46:42 -07:00
Chris Moeller 7d4df7e1f2 Fixed code signing issues 2014-08-01 03:46:25 -07:00
Chris Moeller bda2b9e92e Implemented BASS IT and MO3 decoder, takes priority over DUMB 2014-07-02 23:05:25 -07:00
Chris Moeller a2ced7c506 Replaced st3play with modplay, which now brings ft2play support 2014-03-20 00:27:34 -07:00
Chris Moeller e4d76dd1ca Added st3play plugin 2014-03-18 20:17:45 -07:00
Chris Moeller a4d0959623 Added vgmstream plugin 2014-02-25 23:50:54 -08:00
Chris Moeller 74689e0ff1 Sign application outside of Xcode, since passing the deep option there doesn't seem to sign everything in the app bundle 2014-02-03 21:24:59 -08:00
Chris Moeller cafc0182f8 Change certificate parameter again, this time generic for any Developer ID 2014-01-19 19:07:56 -08:00
Chris Moeller ad156b20a4 Changed certificate again, correct this time. 2014-01-14 00:44:40 -08:00
Chris Moeller 25f049beee Changed signing certificate to Mac Developer 2014-01-14 00:21:09 -08:00
Chris Moeller d20973235b Implemented Hively Player support 2013-10-29 15:51:55 -07:00
Chris Moeller cae86b582f Replaced snes_spc with higan accurate core, and enabled SFM support 2013-10-26 01:54:06 -07:00
Chris Moeller 7af4e94b03 Removed signature application from individual projects and added --deep option to the main app project 2013-10-22 18:41:57 -07:00
Chris Moeller 82d4d7b548 Implemented a MOD-only plugin based on my fork of eightbitbubsy's playptmod 2013-10-22 10:03:18 -07:00
Chris Moeller da47da2631 Added Sparkle back 2013-10-21 19:17:51 -07:00
Chris Moeller ad9a949c26 Turned on code signing 2013-10-21 18:28:53 -07:00
Chris Moeller 39f4c60f19 Enabled DEBUG=1 macro in debug builds of several older projects 2013-10-17 23:39:26 -07:00
Chris Moeller 842932c322 Implemented a MIDI plug-in 2013-10-15 07:49:53 -07:00
Chris Moeller fe90454d23 Updated the help book 2013-10-14 00:28:28 -07:00
Chris Moeller b9a014ab16 Upgraded a couple of projects, raised the minimum OS version to 10.7, and removed libstdc++ setting from any projects that needed it 2013-10-12 19:18:46 -07:00
Chris Moeller ee29955db0 Fixed build version info generator 2013-10-12 17:53:59 -07:00
Chris Moeller 85937086d2 mamburu: SPMediaKeyTap (https://github.com/nevyn/SPMediaKeyTap) is now used to handle media keys - iTunes won't start on Play button while Cog is running 2013-10-12 14:26:52 -07:00
Chris Moeller 521eb67183 mamburu: Randomizing playlist is now undoable, adding playlist entry no longer causes un-randomization 2013-10-11 12:33:58 -07:00
Chris Moeller 012ef22b40 Major UI overhaul; Now supports mini mode 2013-10-11 12:02:05 -07:00
Chris Moeller 8cf6b86ba2 Moved NDHotKey to its own framework, and removed useless Edit buttons from the hotkeys preference pane 2013-10-11 09:37:45 -07:00
Chris Moeller 2fe9e86eb9 Added optional colorful dock icons by tuurngait; Imported the Growl configuration page for disabling notifications if Growl.app is not installed 2013-10-11 08:35:57 -07:00
Chris Moeller d1f6ec850e tuurngait: Major UI Improvements 2013-10-11 07:16:47 -07:00