David Fuhrmann
c8961ccb94
macosx: fix some compiler warnings / deprecated methods
11 years ago
David Fuhrmann
c500901b0f
macosx: remove VLCMainWindow singleton
11 years ago
Felix Paul Kühne
4e862a1f37
macosx: use NSArray's firstObject where appropriate
11 years ago
Felix Paul Kühne
d21e2440ea
macosx: remove support for OS X 10.6 Snow Leopard
11 years ago
Felix Paul Kühne
9b11fa7e37
macosx: move from manual to automatic property synthesis
11 years ago
Felix Paul Kühne
0b9b7eab08
macosx: privatise instance variables and resolve class dependencies on internal implementation details
11 years ago
Felix Paul Kühne
bb15c81583
macosx: switch to automated reference counting (refs #2813 )
11 years ago
David Fuhrmann
9557c3eb82
macosx: use fabs for windows coordinates
11 years ago
Aleksandr Pasechnik
a98452a29b
macosx: non-fullscreen video windows hide mouse
Allow the mouse cursor to be hidden in regular active video windws, in addition
to fullscreen videos.
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
12 years ago
David Fuhrmann
c63f722df2
macosx: fix float-on-top in combination with fullscreen
12 years ago
David Fuhrmann
0b001a0763
macosx: implement native fullscreen behaviour for yosemite titlebar
12 years ago
David Fuhrmann
2c674d7692
macosx: add yosemite guard
12 years ago
David Fuhrmann
67004e36c5
macosx: do not explicitely set presentation options for native fullscreen mode
These flags will be set internally to the correct values. Mavericks even
warns in the log that these calls are ignored. Additionally, the os itself
knows best if the dock needs to be hidden - this is not always the case due
to the new multi-monitor fullscreen in Mavericks.
13 years ago
David Fuhrmann
791354cd28
macosx: preserve fullscreen state also in native fullscreen mode
should close #10670
13 years ago
David Fuhrmann
dd6454da61
macosx: exit the native fullscreen mode if video is finished
This implements the behaviour in a similar way as in non-native mode.
Only if the window was set to fullscreen already before video started,
it will stay in this state.
13 years ago
David Fuhrmann
1e3cdead75
macosx: set fullscreen to false also if window is exited the fast way
13 years ago
David Fuhrmann
8a8767fed1
macosx: already set fullscreen to no when fullscreen exit animation is started
close #11061
13 years ago
David Fuhrmann
a34b8d76ed
macosx: do not (mis)use the content view as the video view in fullscreen
The content view can never be nil, so methods like removeFromSuperView
which are used do not work as expected. Thus, it was possible that the
content view is a dangling pointer, causing crashes when trying to draw
the window.
13 years ago
David Fuhrmann
113917a45b
macosx: reactivate no animation path for start in fullscreen
This fixes several glitches like concurent animation of window resize
and fullscreen resize.
13 years ago
David Fuhrmann
0011c26124
macosx: reactivate fast path for exiting fullscreen window when video finished
This also removes old workarounds which are not needed anymore.
close #10826
13 years ago
David Fuhrmann
827b8e61eb
macosx: fix some static code analysis warnings
Most of them are memleaks, uninitialized values, unused code
and type mismatches (float / int vs. CGFloat, uint vs. int)
13 years ago
David Fuhrmann
03e70c71d1
macosx: add NSFullScreenWindowMask to compatibilityFixes.h and avoid NSAnimationContext warning
13 years ago
David Fuhrmann
25ff844112
macosx: comment custom lion fullscreen mode on snow leopard
NSFullScreenWindowMask is not defined here.
13 years ago
David Fuhrmann
4bec749d2a
macosx: do not enforce AR if video view is hidden
13 years ago
David Fuhrmann
e568e69e60
macosx: add workaround to avoid grey or transparent top bars in fullscreen mode
close #9469
13 years ago
David Fuhrmann
e5267d38f1
macosx: use custom animation for native fullscreen to continue video in animation
close #6347
13 years ago
Felix Paul Kühne
0975876372
macosx: fix recursive inclusion of the compatibility header
13 years ago
David Fuhrmann
0206828ae8
macosx: Fix issue where window vanishes from screen if fullscreen is toggled fast in a row
Extends bool to describe both enter and exit fullscreen transitions.
close #8074
13 years ago
David Fuhrmann
38e14c073d
macosx: workaround for bug where window will vanish if minimized in float-on-top mode
13 years ago
David Fuhrmann
627b5d8edc
macosx: fix float-on-top behaviour with fullscreen
The issues were mostly noticable if you select both float-on-top
and fullscreen in video prefs.
13 years ago
David Fuhrmann
9dda04b93d
macosx: fix float-on-top-behaviour if setting is changed while in fullscreen
13 years ago
David Fuhrmann
e062d7c8b5
macosx: reset float-on-top when native fullscreen has already finished
This fixes issues where video window just disappears when exiting fullscreen,
only on Mavericks.
close #9814
13 years ago
David Fuhrmann
e949b3288b
macosx: fix behaviour when closing black main window in native fullscreen ( fixes #9566 )
13 years ago
David Fuhrmann
7fbedf14e1
macosx: ensure that video view is always visible in fullscreen window ( close #9526 )
13 years ago
David Fuhrmann
c8bad30871
macosx: add missing deletate for blackout window hiding animation ( fixes #9106 )
13 years ago
Felix Paul Kühne
706da72a53
macosx: fix compilation on 10.6 with clang 3.0
13 years ago
David Fuhrmann
f6c636aeaf
macosx: move fullscreen-related method to VideoWindowCommon class
No functional changes, code is still inactive
13 years ago
David Fuhrmann
3c2b8b3e3a
macosx: add missing retains when exchanging views
13 years ago
David Fuhrmann
d856bd93fa
macosx: remove recursive lock from fullscreen animation
This code is needless and had no effect for the last five years, already.
13 years ago
Felix Paul Kühne
3efeac8318
Revert "macosx: clean code of objectAtIndex"
This reverts commit 00b2fcce88 .
[__MNSArray objectAtIndexedSubscript] isn't part of the OS X 10.7 ObjC runtime and in turn, we can't use this feature of the modern ObjC syntax until we drop support for 10.7 some day
13 years ago
Felix Paul Kühne
00b2fcce88
macosx: clean code of objectAtIndex
13 years ago
Felix Paul Kühne
7033729747
macosx: upgrade read-only array initializations to the modern ObjC syntax
No functional changes
13 years ago
David Fuhrmann
7f85575cbe
macosx: fix video view and bottom bar framings
... to allow toggling between playlist and video view in lion
fullscreen mode.
close #8496
14 years ago
David Fuhrmann
57df1568f6
macosx: only revert presentation options on fullscreen leave which are touched when entering fs for this particular window
This fixes menu / dock hide behaviour when handling around with multiple
vout windows which are set to fullscreen on multiple monitors, especially when
leaving fullscreen for one window with other windows still in fullscreen state.
14 years ago
David Fuhrmann
138034aebf
macosx: deduplicate code for fullscreen presentation options
14 years ago
David Fuhrmann
6c1ae0ff61
macosx: try to fix another instances of wrong occurrence for fspanel
14 years ago
David Fuhrmann
7b621263ee
macosx: update copyright headers for some recently changed files
14 years ago
David Fuhrmann
8f38f673a4
macosx: fix another wrong occurrence of the fspanel
14 years ago
David Fuhrmann
13882691dd
macosx: also hide mouse cursor when detached window is in fullscreen
14 years ago
David Fuhrmann
b04f1e544e
macosx: only show fspanel when needed, additional fixed for lion fullscreen behavior
14 years ago