Felix Paul Kühne
ea32acb9c6
macosx/video: replace API deprecated in 10.11
2020-01-31 13:05:23 +01:00
David Fuhrmann
6dcf70b7c3
macosx: Refine animations to show and hide the fullscreen controller
...
Previously, the fs panel was fading in with a 400ms animation, and
at the same time the 1s timer to hide the panel has started.
This led to a percieved visibility of the panel for only 600 ms approx,
which felt a bit too short as a default value.
Now only start the timer once the animation is fully complete, and
avoid repeated abortions of this animation.
2020-01-15 21:55:00 +01:00
David Fuhrmann
f7855c3327
macosx: fs panel: Ensure fs panel always stays inside the vout rect
...
In very rare cases, it was possible to move the fs panel to another
monitor, and it was not recentered once fullscreen was started
on a different monitor again. This led to the fullscreen window
and the fs panel being shown on different screens.
To trigger the bug, the user needed to move a native fullscreen window
to another monitor using Expose, which was undetected by VLC and thus
invalidated the internal state.
This commit adds a second check to detect this case and also
ensure recentering of the panel here.
2020-01-15 21:55:00 +01:00
Felix Paul Kühne
5dd154ef42
macosx/fspanel: fix title
2020-01-06 14:14:38 +01:00
Felix Paul Kühne
13e18f3182
macosx: fix pointer mismatch
...
A instance of VLCOpenBlockDeviceDescription was casted to NSDictionary leading to a runtime exception (#23091 ).
This patch addresses the problem and prevents future issues by setting the class on the arrays.
2019-11-09 10:06:07 +09:00
Felix Paul Kühne
62c62bac31
macosx/detached audio window: add close button and animations
2019-11-03 19:21:41 +01:00
Felix Paul Kühne
c3da5bdfc9
macosx: add detached audio playback window
...
This implements #2886 .
2019-10-30 16:16:55 +01:00
Felix Paul Kühne
a33420c023
macosx/open: fix invalid parameter type
2019-10-21 09:16:01 +02:00
Felix Paul Kühne
63b9ae0971
macosx/core dialog provider: cosmetics
2019-09-25 19:41:19 +02:00
Felix Paul Kühne
f9da7a8948
macosx/open: simplify multi-threading
2019-09-19 17:41:23 +02:00
Felix Paul Kühne
1a14df6b52
macosx: time slider cosmetics
2019-09-13 17:38:17 +02:00
Felix Paul Kühne
03d7eefb9b
macosx: remove freetype-rel-fontsize options from open panel ( closes #20771 )
2019-08-23 12:41:09 +02:00
Felix Paul Kühne
010abb4ab9
macosx: remove useless singleton for resume dialog controller
2019-07-16 12:21:23 +02:00
Felix Paul Kühne
0def47bd25
macosx: drag and drop cleanup
2019-07-08 19:53:22 +02:00
Felix Paul Kühne
e5e2dc67d6
macosx: remove information panel singleton
...
This way, we can create infinite numbers of the panel to show information both for queued and playing files
2019-07-01 14:04:48 +02:00
Felix Paul Kühne
4041ab70b2
macosx: refactor use of VLCInputItem
...
This way, code can be deduplicated and the information panel be cleaned
2019-07-01 13:08:29 +02:00
Felix Paul Kühne
f5824de9ec
macosx/main: move activePlayback property to player controller as it does not belong in the main singleton
2019-06-16 13:10:15 +02:00
Felix Paul Kühne
883c17dd20
macosx: move show controller callbacks away from the main singleton
2019-06-11 12:08:45 +02:00
Felix Paul Kühne
cf6a864018
macosx: use a notification to update the window level instead of calling the singleton directly
2019-06-11 11:41:22 +02:00
Felix Paul Kühne
52eb94a956
macosx/open: modernize coding style
...
This replaces a struct with manual memory management through an ObjC class and some more nitpicks
2019-06-11 11:14:42 +02:00
Felix Paul Kühne
8a1321f652
macosx: replace beep by assert
2019-06-11 08:37:19 +02:00
Thomas Guillem
e2f2277d19
macosx: remove unused inputChanged
2019-06-03 16:15:55 +02:00
Felix Paul Kühne
e6552f5e55
macosx/open: replace dictionary and keys with a storage structure
2019-06-03 13:36:39 +02:00
Felix Paul Kühne
aacd3dffb0
macosx/open: split single worker method into maintainable parts and optimize
2019-06-03 13:26:34 +02:00
Felix Paul Kühne
1e6859bcba
macosx/playback UI: cosmetics
2019-06-03 12:57:45 +02:00
Felix Paul Kühne
4a3b698bae
macosx/extensions: cosmetics
2019-06-03 12:41:42 +02:00
Felix Paul Kühne
38dc0d3398
macosx/CAS: cleanup
...
Define constants at the top and internalize some properties
2019-06-03 12:31:46 +02:00
Felix Paul Kühne
3baac77bd9
macosx: move VLCPositionFormatter to a file of its own
...
This way, the umbrella file misc.* can be finally removed.
2019-06-03 11:34:30 +02:00
Felix Paul Kühne
a528817492
macosx/VLCTimeField: correctly define magic key
2019-06-03 11:21:12 +02:00
Felix Paul Kühne
f55b8f87e3
macosx: remove most occurances of NSUserDefaults synchronize
...
On the targetted macOS versions, this mainly a sleep timer on the main thread, which is not needed.
2019-06-01 15:56:46 +02:00
Felix Paul Kühne
1c8ad8f231
macosx: remove occurances of unsafe_unretained
2019-06-01 15:38:36 +02:00
Felix Paul Kühne
a7ff1b7f03
macosx/vout provider: also dim keyboard when not using the native fullscreen mode
2019-06-01 12:49:44 +02:00
Felix Paul Kühne
5738d7a0b6
macosx: introduce constants for volume default and maximum internal to the module
2019-05-29 19:10:09 +02:00
Felix Paul Kühne
5d8def777f
macosx: re-add volume slider and stop button to main window
...
This commit removes a lot of legacy code for control bar customization which is no longer desired in v4.
2019-05-29 18:49:35 +02:00
Felix Paul Kühne
6609dce76e
macosx/drag & drop view: modernize code
...
Use CALayer instead of drawRect to show the focus ring and use an explicit instead of an implicit protocol for the handler
2019-05-29 15:38:35 +02:00
Felix Paul Kühne
540f3a0073
macosx: split drag & drop view from misc
2019-05-29 15:38:35 +02:00
Felix Paul Kühne
9339899f46
macosx: coding style improvements
2019-05-15 18:17:59 +02:00
Felix Paul Kühne
a5e053f127
macosx/main: trim public interface and remove pseudo-global includes
...
This reduces the amount of unexpected magic behavior throughout the interface.
2019-05-07 12:37:58 +02:00
Felix Paul Kühne
4a9a7e4bd8
macosx/NSView category: split to a file of its own
2019-05-07 12:37:58 +02:00
Felix Paul Kühne
76657bad0a
macosx/library window: generate vout view i code instead of IB
...
This way, the UI elements are a lot more accessible when working with the visual editor.
2019-05-07 11:32:04 +02:00
Felix Paul Kühne
9da6cedb6e
macosx: use https instead of http for links opened from within the application
2019-04-19 13:04:32 +02:00
Felix Paul Kühne
13e36ea0a1
macosx/library window: don't block access to the playlist when using the detached vout window mode
2019-04-15 20:10:59 +02:00
Felix Paul Kühne
a3f831632a
macosx: rework communication between vout provider, library window and fspanel
...
This prevents frequent calls across multiple hierarchy levels and internalizes state knowledge.
2019-04-15 19:48:28 +02:00
Felix Paul Kühne
5f566bd811
macosx: split hotkeys handling to a designated class
2019-04-15 19:48:28 +02:00
Felix Paul Kühne
a2fe663204
macosx: remove the main window
2019-04-14 22:16:35 +02:00
Felix Paul Kühne
cedc4667d9
macosx/windows: remove dependency on core interaction singleton
2019-04-13 22:01:33 +02:00
Felix Paul Kühne
45eb33cb93
macosx/main window controlsbar: remove dependency on core interaction singleton
2019-04-13 21:45:13 +02:00
Felix Paul Kühne
7cb26f2060
macosx/vout window: fix dynamic titles
2019-04-13 20:28:57 +02:00
Felix Paul Kühne
38f90e6910
macosx/control bar: cleanup and small fixes
...
This reimplements navigation with chapters and sets the player button state correctly in detached vout windows
2019-04-13 19:56:19 +02:00
Felix Paul Kühne
708d52498c
macosx: remove more legacy playlist code
...
This patch removes the dysfunctional sidebar and podcast integration
2019-04-13 17:43:04 +02:00