David Fuhrmann
b15db2c780
cachegen: Remove remnants of -f option
...
The -f option of cachegen was removed in d71c794d
.
refs #16211
2015-12-26 19:11:04 +01:00
Steve Lhomme
1c0fcde52b
cachegen: use _WIN32 instead of WIN32
...
--
that's what we use everywhere else
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2015-08-05 18:50:32 +03:00
Felix Paul Kühne
d71c794d5f
cachegen: remove force option and always reset the cache when the helper tool is executed (refs #14519 )
2015-07-25 16:09:18 +02:00
David Fuhrmann
383a20900c
bin: build a vlc-osx-static similar to vlc-static, to fix tests
2015-06-21 17:20:35 +02:00
David Fuhrmann
cc07bce0d2
darwinvlc/macosx: rework binary, start main loop in darwinvlc
...
This moves the main loop out of the macosx interface module.
Instead, the open callback only initializes the interface and the
close callback cleans up stuff. The mainloop is now started in
darwinvlc.m. In case the mac interface is not used, a CoreFoundation
mainloop is solely started to wait for termination events.
Additionally, this cleans up darwinvlc.m, and fixes signal
handling, which was dead code so far (in case the interface was used).
Now, GCD is used to catch SIGINT and SIGTERM in order to allow
ordinary shutdown.
refs #14362
close #6354
2015-06-20 12:36:53 +02:00
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.
2015-06-20 12:36:53 +02:00
KO Myung-Hun
0e1ed1b53a
vlc-wrapper: disable on OS/2
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2015-06-05 15:42:40 +02:00
Rémi Denis-Courmont
2193b044d6
rootwrap: work around missing MSG_NOSIGNAL on old BSD derivatives
2015-05-21 21:54:59 +03:00
Rémi Denis-Courmont
5a5fa91d2d
rootwrap: use BSD SO_NOSIGPIPE
2015-05-21 20:32:03 +03:00
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.
2015-05-17 11:02:03 +03:00
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.
2015-04-11 16:52:16 +02:00
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>
2015-03-09 18:41:07 +01:00
Jean-Baptiste Kempf
db98be9a25
Win32: file description shouldn't have the version number
...
Close #12856
2014-11-28 16:52:25 +01:00
Hugo Beauzée-Luyssen
a32f9e2d87
winvlc: Replace STDIN_FILENO by the equivalent _fileno call
...
STDIN_FILENO isn't defined by MSVC
2014-11-21 17:30:49 +01:00
Hugo Beauzée-Luyssen
b47e3aa032
winvlc: Fix function pointer cast syntax
2014-10-24 17:09:47 +02:00
Hannes Domani
7e92a49276
Win32: stop stacktrace on bad pointer
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-10-20 18:34:32 +02:00
Hannes Domani
8b0f5764e8
Win32: rename crashdump to get only 1 bug report
...
Close #8168
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-08-15 06:07:47 +02:00
Hannes Domani
63e775d57f
Win32: use %ls for wchar_t strings
...
Signed-off-by: Rafaël Carré <funman@videolan.org>
2014-08-13 17:33:40 +02:00
Hannes Domani
a2897b56dc
Win32: stop stacktrace on nullpointer
...
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-08-11 21:25:02 +02:00
Rémi Denis-Courmont
a8dffdef8b
rootwrap: file descriptor leak
2014-04-23 00:01:05 +03:00
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>
2014-02-23 16:38:33 +02:00
David Fuhrmann
b173cc4725
bin/darwinvlc: readd exit handler for the case the macosx interface is not used
2014-02-12 15:54:18 +01:00
Rémi Denis-Courmont
170e5561c1
win32: call SetErrorMode() while still single-threaded
...
(This is required by MSDN.)
2014-02-07 23:06:50 +02:00
Felix Paul Kühne
ed1bd9b2b1
darwinvlc: fix transcoding on command-line broken in 9fc66e695
while retaining the fix
2014-02-06 23:15:49 +01:00
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.
2014-02-03 14:57:43 +01:00
David Fuhrmann
9fc66e6950
bin/mac: do not start playlist while quitting VLC
...
close #8353
2014-02-03 11:16:20 +01:00
Rémi Denis-Courmont
7a52ace172
vlc: fix warning
2014-01-28 18:37:59 +02:00
Rafaël Carré
c24ea5fb3a
--stats: default to false
2014-01-28 15:27:39 +01:00
Felix Paul Kühne
c6e4493dcd
darwinvlc: fix automatic language selection ( close #9914 )
2013-11-24 20:35:05 +01:00
Felix Paul Kühne
a24db0a78b
bin/darwinvlc: fix l10n preferences lookup code
2013-11-10 01:12:54 +01:00
Felix Paul Kühne
bd184a1441
bin: re-implement --language for OS X
2013-11-09 18:07:28 +01:00
Felix Paul Kühne
a868dc7fe1
bin: derive a special Darwin version from vlc.c
2013-11-09 18:07:28 +01:00
Jean-Baptiste Kempf
c435b2e5c6
Win32 vlc.exe: simplify by not calling asprintf
...
Suggestion from funman
2013-09-07 21:14:40 +02:00
Jean-Baptiste Kempf
7439ce1970
Win32: take LANG value from --language and the HKCU value
2013-09-07 12:48:31 +02:00
Rémi Denis-Courmont
07794538aa
vlc: use libvlc_set_app_id()
2013-06-16 11:34:23 +03:00
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.
2013-06-05 16:06:10 +02:00
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
2013-03-14 16:57:37 +01:00
Rémi Denis-Courmont
e0de50a5fa
Remove old Nokia N900 hacks
...
These were broken since 6270a4c777
.
2013-02-23 10:33:12 +02:00
Jean-Baptiste Kempf
2fa9a4ae70
WinVLC: use _snwprintf that is conforming to the standard
2013-01-15 15:07:17 +01:00
Jean-Baptiste Kempf
6f0e67fb39
Win32: better uploading messages for crashes
2012-12-05 10:54:32 +01:00
Rafaël Carré
dffdc4c734
Rewrite inhibit.c as an "inhibit" interface
...
Remove libvlc hack, and fixes missing input state changes
2012-12-03 14:43:56 +01:00
Rémi Denis-Courmont
f3a44a5f35
vlc: return non-zero exit code if starting failed
2012-11-30 20:29:43 +02:00
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.
2012-11-01 22:55:22 +02:00
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>
2012-10-20 12:27:03 +03:00
Rémi Denis-Courmont
44819779f9
Win32: match resource character encoding ( fixes #7567 )
2012-10-12 11:28:29 +03:00
Rémi Denis-Courmont
5282cbf1d8
Define explicit makefile variable for libpthread
2012-09-09 16:22:26 +03:00
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.
2012-09-09 14:32:43 +03:00
Rémi Denis-Courmont
a7b2dcf0ee
Remove WinCE
2012-09-02 12:22:01 +03:00
Jean-Baptiste Kempf
9b77e10433
Win32: display stacktrace before modules list
2012-08-23 16:01:27 +02:00
Rémi Denis-Courmont
83a11816bc
Use STD*_FILENO constants where applicable
2012-08-04 12:45:55 +03:00