Steve Lhomme
cd61b872fc
winvlc: use WCHAR instead of TCHAR
We were already using FromWide on this variable. It cannot work if TCHAR is
not wide.
7 years ago
Rémi Denis-Courmont
d78eef5211
winvlc: use exit handler
8 years ago
Rémi Denis-Courmont
1d233ef6be
lib: remove unused libvlc_playlist_play() parameters
8 years ago
Marvin Scholz
a7611f68e6
winvlc: Move breakpad init completely in HAVE_BREAKPAD
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Hugo Beauzée-Luyssen
80f61c8342
win32: Use breakpad for crash reporting
9 years ago
Hugo Beauzée-Luyssen
25f8fd2e20
winvlc: Remove old crash handling code
9 years ago
Rémi Denis-Courmont
5c5ebd199a
win32: call SetDllDirectort() directly
This looks like cargo cult. The function exists since XP SP1.
9 years ago
Rémi Denis-Courmont
4448d4d5c1
win32: use thread-safe error mode (only)
9 years ago
Thomas Guillem
4ef1d5a27b
winvlc: disable buffering on stderr
cf. discussion on the gdb project:
http://sourceware.org/ml/gdb-patches/2013-08/msg00422.html
stderr can be buffered on Windows when connected to a pipe.
9 years ago
Rémi Denis-Courmont
a93be48869
win32: only call SetErrorMode() if needed
This call is only necessary on Win2k8 and earlier.
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
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
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
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
170e5561c1
win32: call SetErrorMode() while still single-threaded
(This is required by MSDN.)
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
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
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
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
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
feb4063c35
Use environment variable for data directory
...as for plugins directory. Most of the content is anyway per-process,
either because gettext and interfaces are per-process. The only caller
of the function that is not an interface or gettext is the DVB scanner.
This is even probably a bug.
15 years ago
Antoine Cellerier
a3363d0144
Set a default user agent on windows vlc too.
This complements commit dadb0622e6 which
moved responsability for setting the user agent to the client
application.
15 years ago
Rémi Denis-Courmont
982d89dbd1
winvlc: missing #include
15 years ago