Thomas Guillem
d900df9ba8
gui/macosx: use input vars instead of controls
8 years ago
Steve Lhomme
c93ec6762b
gui:macosx: convert vlc_tick_t to seconds explicitly using SEC_FROM_VLC_TICK()
8 years ago
Steve Lhomme
f648e3d5b5
core: the "audio-delay" is stored in vlc_tick_t
Convert the read/writes accordingly
8 years ago
Steve Lhomme
911569be2c
modules: convert variables in seconds to ticks using vlc_tick_from_sec()
8 years ago
Felix Paul Kühne
67587d2c17
macosx: fix various compilation warnings with regard to integer sizes
8 years ago
Felix Paul Kühne
1e03d06491
macosx: remove write-only variables
8 years ago
Felix Paul Kühne
6aa60ab0a1
macosx: remove unused variables
8 years ago
Steve Lhomme
04db84cd9c
modules: replace use of 1000000 on time values by CLOCK_FREQ
Modified-by: Thomas Guillem <thomas@gllm.fr>
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years ago
David Fuhrmann
9302334702
macosx: Factorize code for adding dropped file as subtitle
Adds dedicated method for trying to set the given file as subtitle.
Deduplicate code from three places.
Also removes superfluous add to recent media list.
10 years ago
Felix Paul Kühne
e0dfd83141
macosx: rename VLCMain source file and split out VLCApplication class
10 years ago
David Fuhrmann
0daa49d2a7
macosx: rename to VLCCoreInteraction
10 years ago
Felix Paul Kühne
e799040c18
macosx: expand AppleScript API for menu navigation and menu status checks
10 years ago
David Fuhrmann
fabe8243fe
macosx: Replace VLCIntf by getIntf()
The old VLCIntf macro is deprecated, getIntf() should be used
instead.
10 years ago
Marvin Scholz
e9db84d774
macosx: Rename the Playlist related class files to match the class name
This renames the playlist related class files to match the class name,
which makes it easier to find the which belongs to a certain class and
follows common Cocoa/Obj C file naming conventions.
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years ago
Rémi Denis-Courmont
d39ba9a05c
input: switch spu and audio delay variables to integer type
11 years ago
David Fuhrmann
c6abf403e4
macosx: simplify/unify addition of new playlist items
11 years ago
Boy van Amstel
c941d176d7
Support changing 'audio desync' via AppleScript on OSX
Like being able to change the volume, seek position etc. via
AppleScript, this commit allows you to change the audio desync in ms.
Example:
tell application "VLC"
-- set audio desync to 0
set audio desync to -2250
get audio desync
end tell
Signed-off-by: Boy van Amstel <boy@boyvanamstel.nl>
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
12 years ago
Felix Paul Kühne
daa291c5d9
macosx/applescript: fix opening non-file URLs ( close #10112 )
12 years ago
Felix Paul Kühne
e374892046
macosx: fix subtitles opening for the applescript bindings
13 years ago
David Fuhrmann
2633178fb1
macosx: also use toggleMute for apple-script action
The previous code does not make sense as there is no unmute action.
13 years ago
Felix Paul Kühne
706da72a53
macosx: fix compilation on 10.6 with clang 3.0
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
Felix Paul Kühne
5f5167f1ea
macosx: re-write and simplify the apple event handlers for GetURL and OpenURL, make it respect 'macosx-autoplay' ( close #6319 )
13 years ago
David Fuhrmann
cf04d7a8a5
fix play / pause and rename method for better clarity
13 years ago
Rémi Denis-Courmont
037a796b8d
playlist: use playlist audio functions
And get rid of the horrible find-input-callback.
14 years ago
David Fuhrmann
b7165d6053
macosx: implement vout actions handling for multiple vout windows
Now, everything from the video menu and the basic stuff like fullscreen
should work. If it does'nt (e.g. fullscreen and resize with video-splitter module enabled)
please blame the core first. ;-)
TODO: There might be some getVout()-calls left which should be investigated.
close #6814
14 years ago
Felix Paul Kühne
c33e5f1920
macosx: unify and modernize coding style
14 years ago
Felix Paul Kühne
8a95e04ea6
macosx/applescript: cosmetics
14 years ago
Felix Paul Kühne
0dd9d856c5
macosx/applescript: add missing error handling
14 years ago
Felix Paul Kühne
0d05deabeb
macosx/CoreInteraction: modernize getters and setters API
14 years ago
Felix Paul Kühne
49256c8d58
macosx: move code from CoreInteraction to the AppleScript class, since it was the only client using it
14 years ago
Felix Paul Kühne
5db103bc7a
macosx: updated copyright headers
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
cff6fc15e4
macosx: removed tabs and fixed whitespacing errors
14 years ago
Felix Paul Kühne
2a1e9a2002
macosx: fixed volume range ( fix #5790 )
14 years ago
Felix Paul Kühne
7911a9209f
macosx: copyright fixes
15 years ago
Felix Paul Kühne
ea32bd201b
macosx: fixed white spacing errors introduced in previous commit ( ff8183c04e)
15 years ago
Jan Winter
ff8183c04e
OS X AppleScript: added new features
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
15 years ago
Felix Paul Kühne
b0f3b7ae48
macosx: fixed compilation warnings
15 years ago
Felix Paul Kühne
67da2de6db
macosx: updated applescript binding to current API
15 years ago
Rémi Denis-Courmont
629dbd8af1
Remove useless vlc_object parameter when creating an input item
15 years ago
Felix Paul Kühne
60e9829d43
macosx: fixed warnings
15 years ago
Rémi Denis-Courmont
7e4d50ac42
Remove pl_Release, and rename pl_Hold back to pl_Get
pl_Hold() assumed the playlist was already created.
pl_Release() does not solve any problem. Playlist synchronization is
done with the playlist lock, while playlist deletion must anyway be done
after all interfaces, services and other threads are joined.
16 years ago
Felix Paul Kühne
c3a1a71278
macosx: get rid of the infamous 'get' prefixes everywhere and finally respect Cocoa's naming scheme here
17 years ago
Rémi Duraffort
65797af88b
macosx gui: fix a playlist object leak.
17 years ago
Antoine Cellerier
ba6501f308
s/pl_Yield/pl_Hold/
18 years ago
Pierre d'Herbemont
d11fd0d1e5
codecleanup: Replace input_Item by input_item.
18 years ago
Rémi Duraffort
a518149f34
Use pl_Locked and pl_Unlocked.
18 years ago
Felix Paul Kühne
fd6294273e
Replaced a certain amount of vlc_object_find by pl_Yield
Great news: there is no need to check for the existance of the playlist!
18 years ago
Pierre d'Herbemont
449fd28aaf
Replace vlc_bool_t by bool, VLC_TRUE by true and VLC_FALSE by false.
This improves readability a lot and prevent us from reinventing the wheel.
18 years ago