Steve Lhomme
abe28eef78
VLCBookmarksWindowController: use vlc_tick_from_sec function to read the bookmark time
8 years ago
Steve Lhomme
a625c536de
macosx: replace hardcoded CLOCK_FREQ multiples by VLC_TICK_FROM_SEC()
Easier to read and more explicit.
8 years ago
Steve Lhomme
1e5cc701c3
VLCBookmarksWindowController: use secf function to read the bookmark time
8 years ago
Steve Lhomme
d5e794f802
modules: replace hardcoded CLOCK_FREQ multiples by VTICK_FROM_SEC()
8 years ago
Steve Lhomme
ff56c92a5e
rename mtime_t to vlc_tick_t
Keep a copy of vlc_tick_tfor backward compatibility.
8 years ago
Felix Paul Kühne
fbb8a437f2
macosx: modernize the remaining sheet dialogs
8 years ago
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.
8 years ago
Felix Paul Kühne
aef351f054
macosx: modernize API use for sheet dialogs
8 years ago
Felix Paul Kühne
67587d2c17
macosx: fix various compilation warnings with regard to integer sizes
8 years ago
David Fuhrmann
fee6089bbf
macosx: Allow toggling of bookmark window
This unifies behaviour with all the other HUD panels
9 years ago
David Fuhrmann
5dc5544ea5
macosx: bookmarks: Remove extract button
Extracting between different bookmarks was only possible with the
old streaming wizard which is removed since a long time. As the
new CAS panel does not support that feature, remove the button
for now.
9 years ago
Marvin Scholz
c245cdbcab
macOS: Use larger type for bookmark hours and minutes
9 years ago
Marvin Scholz
1f77da0ff2
macOS: Add ability to copy bookmarks
9 years ago
Marvin Scholz
336846ac71
macOS: Move bookmark time calculation to helper method
9 years ago
Filip Roséen
f65b28d920
gui/macosx: bookmarks: fix typo in terms of indices variable
The variable for the current index is named "row", and not "i".
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Filip Roséen
24635dd18c
gui/macos: bookmarks: add support for fractional seconds
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
David Fuhrmann
36f6db3725
macosx: rename to VLCBookmarksWindowController
10 years ago
David Fuhrmann
fabe8243fe
macosx: Replace VLCIntf by getIntf()
The old VLCIntf macro is deprecated, getIntf() should be used
instead.
11 years ago
David Fuhrmann
a984dec865
macosx: do not load windows if not necessary
11 years ago
David Fuhrmann
3a07082aca
macosx: Convert VLCBookmarks to NSWindowController subclass
11 years ago
Felix Paul Kühne
985ad1a4aa
macosx/bookmarks: remove explicit 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
2b8c207c44
macosx: remove streaming & transcoding wizard in favor of the modern Convert & Save/Stream dialog
11 years ago
Felix Paul Kühne
8861bc52aa
macosx/bookmarks: remove object from xib file
11 years ago
Felix Paul Kühne
5fb6cff9d4
macosx: update singleton creation
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
96a40ef267
macosx: bookmarks: remove byte field from table view and edit dialog
This field is shall not be used anymore. And its rather cubersome
for the user anyway.
12 years ago
David Fuhrmann
7cf1d8017a
macosx: fix int overflow when editing bookmarks
This caused incorrect values for larger bookmarks.
12 years ago
David Fuhrmann
081cba9ccc
macosx: Use floating window level for effects and other panels
All black-syle panels should get the floating window level.
This is normal behaviour of panels and has the positive side effect
that the panel also stays in front while vout window reconfigurations.
This level is also used for the preferences window, as this is sort
of a modal window which needs to be closed (in order to get settings
saved).
close #12063
12 years ago
David Fuhrmann
ef9b397618
macosx: remove outdated and unneeded bookmarks table reload
12 years ago
David Fuhrmann
ee503a8ffe
macosx: use input changed event to update bookmarks dialog
This allows lazy loading of the bookmarks window.
12 years ago
David Fuhrmann
45640caa88
macosx: avoid possible index out of range problem in bookmarks table view
12 years ago
David Fuhrmann
b52bb8378f
macosx: refresh bookmarks list when input item changes ( close #11160 )
12 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
Felix Paul Kühne
ae7b7ece58
macosx: minor code cleanup
13 years ago
David Fuhrmann
37641596f6
macosx: fix moaar utf8 rendering issues
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
David Fuhrmann
a02360f242
macosx: fix and improve window level handling
- fix behavior of video-on-top by adapting to vout windows handling changes
- set all windows to status level if one vout window has this level:
This avoids that video effects panel, audio efffects panel etc. pp. are opened behind
a vout window. Now they can be used as usual.
Please note, that due to the type of these panels they do not remain visible
when VLC gets inactive.
14 years ago
David Fuhrmann
c45da6baae
macosx: fix selectorNotFound warnings of when compiling with llvm-gcc
14 years ago
Felix Paul Kühne
93b8dfeb29
macosx: fixed format-security warnings introduced in recent clang releases
14 years ago
Felix Paul Kühne
c33e5f1920
macosx: unify and modernize coding style
14 years ago
Felix Paul Kühne
df0f82ab9c
macosx: fixed conditionals for the different OS X release by adapting to the newly updated version defines
14 years ago
Felix Paul Kühne
cd612818db
macosx: fix and clean-up the bookmarks code ( close #6947 )
The code is far from being great, but it matches the Qt intf now.
14 years ago
Felix Paul Kühne
69da2065f6
macosx: vlc object handling improvements (refs #6883 )
This should solve a few problems on termination.
14 years ago
Felix Paul Kühne
267137066a
macosx: fixed white spacing errors
Found by the GTM Xcode plugin, which was finally updated for Xcode4
14 years ago
Felix Paul Kühne
298f3d05b5
macosx: updated copyright headers
14 years ago
Felix Paul Kühne
5ab6bfbd95
macosx: more optimizations for bookmarks and wizard. no functional changes
14 years ago