Steve Lhomme
2c799b6fd7
bin: use a full path to build plugins.dat
This needed on Windows as LoadLibraryEx doesn't like relative pathes and thus
building on Windows doesn't go to the end.
The resulting pathes in plugins.dat are still relative and so are the ones
resulting from `make package-win-common` that can be distributed.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Hugo Beauzée-Luyssen
60429c9c8b
winvlc: Remove trailing whitespace
10 years ago
Hugo Beauzée-Luyssen
99db47431b
winvlc: Try to load DLLs from system32 before any other folder
10 years ago
Steve Lhomme
681866b760
win32: do not load wininet.dll on startup, it's not a Known DLL
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Jean-Baptiste Kempf
82326be1e9
Winvlc: add comments
10 years ago
Hugo Beauzée-Luyssen
083b4c517b
bin: win32 resources: Fix manifest embeding
RT_MANIFEST is a macro that wasn't being substituted
2 was the magic number that corresponds to
ISOLATIONAWARE_MANIFEST_RESOURCE_ID, which should be used for DLLs.
Instead, use CREATEPROCESS_MANIFEST_RESOURCE_ID as we are creating a
process
10 years ago
Hugo Beauzée-Luyssen
69d1dd35c4
bin: vlc_win32_rc depends on the manifest file
10 years ago
Jean-Baptiste Kempf
19c3247320
darwinvlc: check malloc return and free
10 years ago
Marvin Scholz
2b5baef57f
macOS buildsystem: Adjust rpath and install_name
10 years ago
Jean-Baptiste Kempf
af316abf68
macOS: factor out the Frameworks path definitions
10 years ago
Marvin Scholz
9fe1c7c2ca
macOS: Add initialization of breakpad crash reporter
10 years ago
Marvin Scholz
eec7a5f40c
macOS: Add breakpad to buildsystem
10 years ago
Steve Lhomme
864b2ed2d9
core: WINAPI should be set on the pointer
We'll be consistent with all the WINAPI function pointers throughout the code.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Rémi Denis-Courmont
11400bc517
vlc: do not load kernel32.dll
vlc.exe already depends on kernel32.dll, so there is no need to load it
explicitly. It can simply be looked up.
10 years ago
Rémi Denis-Courmont
5d9004a644
vlc: set default DLL directories
10 years ago
Rémi Denis-Courmont
e9ca045296
winvlc: fix format string
10 years ago
Jean-Baptiste Kempf
7f78843a29
win32: only one dialog thanking the user
Rephrased in a way that paranoid users don't believe it is
passive-aggresive...
10 years ago
Steve Lhomme
51dba60000
Windows: don't display a dialog when crash upload fails
Similar philosophy as 45b0e1644d
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Jean-Baptiste Kempf
8799f42182
Windows: missing \n
10 years ago
Jean-Baptiste Kempf
45b0e1644d
Windows: don't display a dialog when FTP transfer fails
Close #17014
10 years ago
Jean-Baptiste Kempf
b634e6a9c8
Fix comments about Qt4
11 years ago
Hugo Beauzée-Luyssen
ce1325ed51
cachegen: fix when building without getopt
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
David Fuhrmann
b15db2c780
cachegen: Remove remnants of -f option
The -f option of cachegen was removed in d71c794d .
refs #16211
11 years ago
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>
11 years ago
Felix Paul Kühne
d71c794d5f
cachegen: remove force option and always reset the cache when the helper tool is executed (refs #14519 )
11 years ago
David Fuhrmann
383a20900c
bin: build a vlc-osx-static similar to vlc-static, to fix tests
11 years ago
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
11 years ago
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