David Fuhrmann
021f50d9b5
darwinvlc: compile with objc and fix build system
As we do not want to break other os versions, the only way to
select the proper linker is to use another target for osx.
Still, "make install" should produce a binary named "vlc" in the
end, thus the binary is renamed at install stage.
11 years ago
KO Myung-Hun
0e1ed1b53a
vlc-wrapper: disable on OS/2
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Rémi Denis-Courmont
2193b044d6
rootwrap: work around missing MSG_NOSIGNAL on old BSD derivatives
11 years ago
Rémi Denis-Courmont
5a5fa91d2d
rootwrap: use BSD SO_NOSIGPIPE
11 years ago
Rémi Denis-Courmont
8d03dee93c
Use MSG_NOSIGNAL in send()/sendto()/sendmsg()
This avoids SIGPIPE firing when writing to a remote-closed connection-
oriented socket (it is useless for datagram sockets or on Windows
though). SIGPIPE is blocked ins VLC, but not necessarily in LibVLC.
The problem remains for write() on broken pipe and sockets.
11 years ago
David Fuhrmann
b5c0fe454d
darwinvlc: move play call to minimize time for race condition
This is still racy, but it should reduce the time between playlist
and interface start.
12 years ago
Rémi Denis-Courmont
d47fcbb413
Revert "--stats: default to false" ( fixes #14035 )
This reverts commit c24ea5fb3a .
Signed-off-by: Rafaël Carré <funman@videolan.org>
12 years ago
Jean-Baptiste Kempf
db98be9a25
Win32: file description shouldn't have the version number
Close #12856
12 years ago
Hugo Beauzée-Luyssen
a32f9e2d87
winvlc: Replace STDIN_FILENO by the equivalent _fileno call
STDIN_FILENO isn't defined by MSVC
12 years ago
Hugo Beauzée-Luyssen
b47e3aa032
winvlc: Fix function pointer cast syntax
12 years ago
Hannes Domani
7e92a49276
Win32: stop stacktrace on bad pointer
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Hannes Domani
8b0f5764e8
Win32: rename crashdump to get only 1 bug report
Close #8168
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Hannes Domani
63e775d57f
Win32: use %ls for wchar_t strings
Signed-off-by: Rafaël Carré <funman@videolan.org>
12 years ago
Hannes Domani
a2897b56dc
Win32: stop stacktrace on nullpointer
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Rémi Denis-Courmont
a8dffdef8b
rootwrap: file descriptor leak
12 years ago
KO Myung-Hun
bb3d20e76d
bin: fix SIGSEGV at exit on OS/2
--stats was added at commit c24ea5fb3a .
So free arguments after this.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
13 years ago
David Fuhrmann
b173cc4725
bin/darwinvlc: readd exit handler for the case the macosx interface is not used
13 years ago
Rémi Denis-Courmont
170e5561c1
win32: call SetErrorMode() while still single-threaded
(This is required by MSDN.)
13 years ago
Felix Paul Kühne
ed1bd9b2b1
darwinvlc: fix transcoding on command-line broken in 9fc66e695 while retaining the fix
13 years ago
David Fuhrmann
f36dcf5a5c
macosx: implement libvlc exit handler to properly terminate the app when requested
This is the only supported way to terminate an cocoa application and also ensure
that the gui settings are getting saved. Adapted from similar code in the qt
module.
13 years ago
David Fuhrmann
9fc66e6950
bin/mac: do not start playlist while quitting VLC
close #8353
13 years ago
Rémi Denis-Courmont
7a52ace172
vlc: fix warning
13 years ago
Rafaël Carré
c24ea5fb3a
--stats: default to false
13 years ago
Felix Paul Kühne
c6e4493dcd
darwinvlc: fix automatic language selection ( close #9914 )
13 years ago
Felix Paul Kühne
a24db0a78b
bin/darwinvlc: fix l10n preferences lookup code
13 years ago
Felix Paul Kühne
bd184a1441
bin: re-implement --language for OS X
13 years ago
Felix Paul Kühne
a868dc7fe1
bin: derive a special Darwin version from vlc.c
13 years ago
Jean-Baptiste Kempf
c435b2e5c6
Win32 vlc.exe: simplify by not calling asprintf
Suggestion from funman
13 years ago
Jean-Baptiste Kempf
7439ce1970
Win32: take LANG value from --language and the HKCU value
13 years ago
Rémi Denis-Courmont
07794538aa
vlc: use libvlc_set_app_id()
13 years ago
Rafaël Carré
6d53362001
Use _WIN32 rather than WIN32 (same for WIN64)
http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.80).aspx only
mentions the _ prefixed variable.
gcc will always define the _ prefixed variable, like Visual Studio.
The prefixless one is defined in some language standards, e.g. gnu99
but not c99.
13 years ago
Jean-Baptiste Kempf
dcc36eb2ef
Win32: move MessageBox error from libVLC to vlc.exe
One might want to handle libvlc creation errors in a different way
14 years ago
Rémi Denis-Courmont
e0de50a5fa
Remove old Nokia N900 hacks
These were broken since 6270a4c777 .
14 years ago
Jean-Baptiste Kempf
2fa9a4ae70
WinVLC: use _snwprintf that is conforming to the standard
14 years ago
Jean-Baptiste Kempf
6f0e67fb39
Win32: better uploading messages for crashes
14 years ago
Rafaël Carré
dffdc4c734
Rewrite inhibit.c as an "inhibit" interface
Remove libvlc hack, and fixes missing input state changes
14 years ago
Rémi Denis-Courmont
f3a44a5f35
vlc: return non-zero exit code if starting failed
14 years ago
Rémi Denis-Courmont
62d68cd9c1
vlc: start hotkeys interface explicitly
The actions of the hotkeys interface all affect the playlist, the
playlist's input, the playlist's input's vout(s), the playlist's aout
or the interfaces (controller). It has no use outside VLC.
14 years ago
KO Myung-Hun
04dc21938d
vlc: Convert command line arguments to UTF-8 on OS/2
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
14 years ago
Rémi Denis-Courmont
44819779f9
Win32: match resource character encoding ( fixes #7567 )
14 years ago
Rémi Denis-Courmont
5282cbf1d8
Define explicit makefile variable for libpthread
14 years ago
Rémi Denis-Courmont
c90a86804c
Remove recursion into modules/control/dbus/ and clean up D-Bus rules
modules/control/dbus/dbus.h is removed as it conflicted with the global
libdbus header and was included only once.
14 years ago
Rémi Denis-Courmont
a7b2dcf0ee
Remove WinCE
14 years ago
Jean-Baptiste Kempf
9b77e10433
Win32: display stacktrace before modules list
14 years ago
Rémi Denis-Courmont
83a11816bc
Use STD*_FILENO constants where applicable
14 years ago
Rémi Denis-Courmont
89e8034a72
winvlc: enable improved gettext language detection for Windows Vista
14 years ago
Jean-Baptiste Kempf
bf511ca415
Fix compilation
14 years ago
Cezar Elnazli
85b689ebfa
Cosmetic: Max 78 chars/line (bin/winvlc.c)
Reformat bin/winvlc.c so that no lines are longer than 78 characters.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
14 years ago
Rémi Denis-Courmont
8fe05711ee
winvlc: --data-path no longer exists
14 years ago
Rémi Denis-Courmont
74258e6c12
Call libvlc_set_exit_handler() first
It should be called before exit can happen.
This restores reverted commit 4d636fa3a7 .
14 years ago