Commit Graph

131 Commits

Author SHA1 Message Date
Felix Paul Kühne 7e9a5f16a7 macosx: remove VLCStringUtility
Use C functions instead of an ObjC singleton for string operations and move all string related operators to a single header/implementation
2019-01-30 14:37:04 +01:00
Felix Paul Kühne fcfd6aea72 macosx: add basic library window
This is little more than a stub and will serve as a base for the window displaying the new library
2019-01-30 14:37:04 +01:00
Felix Paul Kühne 391d26e98d macosx: split detached vout window from main window 2019-01-29 19:49:32 +01:00
Felix Paul Kühne 9609740bfa macosx/coreinteraction: split apple remote, media key and video filter handling as those don't belong there 2019-01-29 18:48:35 +01:00
Marvin Scholz ac853e52eb macosx: Add NSString category with string helpers 2018-10-09 10:46:25 +02:00
David Fuhrmann 04ac949b13 macosx: Weak link MediaPlayer framework
This framework was introduced in 10.12, and therefore is not available
in 10.11. This fixes module loading on 10.11.
2018-10-03 15:59:20 +02:00
David Fuhrmann aafd5f992d macOS build: Bump minimum required OS version to 10.11
As discussed, 10.11 is needed to use the updated collection view API
for the UI overhaul.
2018-09-24 09:33:38 +02:00
Marvin Scholz 9385e8ba80 macosx: Use NSButton subclass for badge drawing
For badges in source lists a NSInlineBezelStyle button should be used
according to the documentation. This greatly improves the look of the
badge, especially in selected state and Dark Aqua.
2018-08-18 18:49:55 +02:00
Marvin Scholz 9de4120cf4 macosx: Update PXSourceList to 2.x 2018-08-18 03:17:38 +02:00
Marvin Scholz 09f8142c6e macosx: Simplify XIB build definition
Now the .xib files are properly defined as sources, and not as it was
before where the .nib files were sources for some reason.
Additionally only one list is required now, which simplifies things.
2018-08-05 03:22:06 +02:00
Marvin Scholz 1827563799 macosx: SPMediaKeyTap: Remove need for SPInvocationGrabbing 2018-08-02 02:01:32 +02:00
Marvin Scholz f70a3de4f0 macosx: SPMediaKeyTap: Replace long deprecated Carbon APIs 2018-08-02 00:48:38 +02:00
Felix Paul Kühne c38dd543ee macosx: remove legacy code for pre-Yosemite macOS versions 2018-06-10 13:55:16 +02:00
Felix Paul Kühne 126fb1184c macosx: split windows file to have one class per file 2018-06-10 13:44:52 +02:00
David Fuhrmann 04e8c62ccb macosx: Rename VLCVoutWindowController to VLCVideoOutputProvider
This better matches the naming scheme, as WindowController is typically
used to have one designated window which is controlled.
2018-06-10 11:00:11 +02:00
David Fuhrmann f0d15924fa macosx: Remove the dark titlebar view
For now, this is not needed anymore as the dark mode is gone.
2018-06-09 17:49:51 +02:00
Felix Paul Kühne 2b110e2cea macosx: remove dark interface mode
This leaves dark appearances in custom views as is to make them re-useable later
2018-06-09 11:17:12 +02:00
Felix Paul Kühne 64a4350353 macosx: add remote control service and export now playing metadata
Fixes #17727

Note that out-of-rate position changes within VLC are not yet communicated to the OS
2018-06-08 20:14:44 +02:00
Marvin Scholz 6e4b8d004a macosx: Reorganize assets and remove unnecessary ones 2018-02-18 19:06:40 +01:00
Marvin Scholz ad6f88a250 macosx: Remove VLCHUDScroller class
This was used on macOS versions lower than 10.10 to draw custom
HUD-style controls and is not necessary anymore.
2018-02-18 17:44:47 +01:00
Marvin Scholz 408dd4fcd2 macosx: Remove VLCHUDCheckboxCell class
This was used on macOS versions lower than 10.10 to draw custom
HUD-style controls and is not necessary anymore.
2018-02-18 17:34:37 +01:00
Marvin Scholz ff61d869dd macosx: Remove VLCHUDCheckboxCell class
This was used on macOS versions lower than 10.10 to draw custom
HUD-style controls and is not necessary anymore.
2018-02-18 17:34:22 +01:00
Marvin Scholz 95d43e1373 macosx: Remove VLCHUDStepperCell class
This was used on macOS versions lower than 10.10 to draw custom
HUD-style controls and is not necessary anymore.
2018-02-18 17:34:17 +01:00
Marvin Scholz c6bfc56292 macosx: Remove VLCHUDButtonCell class
This was used on macOS versions lower than 10.10 to draw custom
HUD-style controls and is not necessary anymore.
2018-02-18 17:34:11 +01:00
Marvin Scholz 08de1e429a macosx: Remove VLCHUDPopUpButtonCell class
This was used on macOS versions lower than 10.10 to draw custom
HUD-style controls and is not necessary anymore.
2018-02-18 17:34:03 +01:00
Marvin Scholz a8b893e9d8 macosx: Remove VLCHUDTextFieldCell class
This was used on macOS versions lower than 10.10 to draw custom
HUD-style controls and is not necessary anymore.
2018-02-18 17:33:31 +01:00
Marvin Scholz 2bcf9464cb macosx: Remove VLCHUDSegmentedCell class
This was used on macOS versions lower than 10.10 to draw custom
HUD-style segmented cells and is not necessary anymore.
2018-02-18 16:38:02 +01:00
Marvin Scholz afde56810e macosx: Set deployment target for XIBs to 10.10 2018-02-18 16:16:32 +01:00
Rémi Denis-Courmont 8458957903 macosx: only install resources when applicable 2018-01-14 14:16:18 +02:00
David Fuhrmann 8b20b9d815 macosx: Add helper class for multi-line text fields
Autolayout on 10.7 cannot handle multi line text fields
automatically. Add a helper class which help calulating the
intrinsic size of the text fields.

Use that class first in resume dialog.

refs #17730
2017-10-03 11:42:38 +02:00
Marvin Scholz a4a45e75e4 macosx: Use specific class for log messages
Instead of a NSDictionary, use a dedicated class for log messages.
Not only allows this for better abstraction and reusability, it
additionally solves a problem where log messages with the same content
would be considered equal, because all keys in the dictionary were
equal, ending up in wrong selections in the table.
2017-09-27 03:45:56 +02:00
Marvin Scholz a2022f51d5 macosx: Remove now unnecessary bottom bar assets 2017-08-16 00:45:24 +02:00
Marvin Scholz 3144986d63 macosx: Add VLCBottomBarView
This adds a new View subclass, the VLCBottomBarView, which mimics the
Window border drawing of macOS windows.
2017-08-16 00:45:24 +02:00
Marvin Scholz dd876ac106 macosx: Rename VLCDebugMessageWindowController to VLCLogWindowController
This name is much shorter and a lot easier to understand, as it is less
likely to be confused with the error messages window stuff.
2017-08-09 14:27:33 +02:00
Marvin Scholz 7f69c2d5f1 macosx: Remove unnecessary progressbar images 2017-07-31 18:45:20 +02:00
Marvin Scholz 9d1031fc31 macosx: Remove unnecessary volume slider images 2017-07-31 18:45:19 +02:00
Marvin Scholz 2bfd5c7731 macosx: Add VLCVolumeSlider(Cell) classes 2017-07-31 18:10:27 +02:00
Marvin Scholz 99008db959 macosx: Remove VLCRendererDialog 2017-07-23 15:04:48 +02:00
Marvin Scholz 480557baac macosx: Remove unnecessary graphics 2017-07-18 21:51:21 +02:00
Marvin Scholz 105fa81d75 macosx: Add VLCSlider(Cell) 2017-07-18 21:51:21 +02:00
David Fuhrmann 6b9df79e47 macosx: Correctly remove FSPanel.xib from build system
This fixes compilation as FSPanel.xib was not correctly removed
from buildsystem before. Also removes file from xcode project.
2017-07-09 21:29:01 +02:00
Felix Paul Kühne a34e1a9b87 macosx: remove old, unused FSPanel xib 2017-07-08 14:58:11 +02:00
Marvin Scholz e63ccccc54 macosx: Add VLCHexNumberFormatter
Adds a number formatter used for hex color text fields in the video
effects panel.
2017-07-01 17:00:05 +02:00
Marvin Scholz 9f935c4c31 macosx: Implement renderer discovery as NSMenu 2017-07-01 15:20:21 +02:00
Marvin Scholz dcb57abf33 macOS: Add VLCTintedImageButtonCell
This is a class for macOS versions lower than 10.10, where some image
buttons on dark backgrounds (or other colored backgrounds) would draw in
a dark color (usually black, for template images).
With this class, a tint color can be set for these buttons, it defaults
to white. This class is only intended to be used with template images.
2017-06-24 14:13:36 +02:00
Marvin Scholz a58a9df1b3 macOS: Remove broken VLCHUDTableHeaderCell
It does not draw correctly neither on 10.7 nor on 10.10 and I found
no way to fix it, so far, therefore remove it for now, as it is just a
minor detail. It looks good with the system drawing on 10.10+ and looks
ok on 10.7.
2017-06-24 11:50:09 +02:00
Marvin Scholz 1896c9d0a1 macOS: Add VLCHUDTableView
This is basically identical to the OutlineView, but still another
class, so we need to duplicate that code, for now.
2017-06-24 11:48:26 +02:00
Marvin Scholz 17eba896c3 macOS: Remove unused VLCHUDRadiobuttonCell 2017-06-24 11:20:50 +02:00
Marvin Scholz 4dd9bce4be macOS: Rename VLCPopUpButtonCell to VLCHUDPopUpButtonCell 2017-06-24 10:26:18 +02:00
Marvin Scholz 9315c2f857 macOS: Add VLCHUDStepperCell 2017-06-24 04:50:39 +02:00