Pierre Ynard
7e8f17ffa5
Win32: fix encoding of crash dumps
2011-04-13 00:01:22 +02:00
Rémi Denis-Courmont
d9fc3851ea
override: simplify CALL()
2011-02-16 23:25:28 +02:00
Jean-Baptiste Kempf
f5b88cbb5b
Win32: do not create too big stacktraces
...
We can't analyze them anyway, and they take space and bandwidth.
2011-02-15 10:24:03 +01:00
Rémi Denis-Courmont
5eff95a005
Assume we ahve setenv() and unsetenv()
2011-02-12 22:34:54 +02:00
Rémi Denis-Courmont
549ce2cad1
Override the plugins path with an environment variable...
...
...rather than with a command line option. This enables extending the
set of plugins paths globally, for all LibVLC applications.
Using an environment variable seems more logical than a command line
option considering that the module bank is shared by all VLC instances
in the process. In other words, it did not belong as a parameter to
libvlc_new().
2011-02-12 11:04:35 +02:00
Rémi Denis-Courmont
d1ca34ed5b
vlc: use signal handlers rather than sigwait() for SIGCHLD
...
This works around Qt4 QProcess getting stuck waiting for its
SIGCHLD signal handler to be called.
2011-02-03 14:57:00 +02:00
Rémi Denis-Courmont
86c8ef3fb2
vlc: use SETMASK instead of BLOCK
...
We don't really want to inherit the blocked signal mask from our parent.
2011-02-03 14:56:17 +02:00
Rémi Denis-Courmont
1ea58b26cc
Revert "Do not load KDE Qt plugins until KDE gets a clue"
...
This reverts commit 96c7f9c269
.
This did not work with KDE 4.6 anyhow.
2011-02-03 14:54:19 +02:00
Rémi Denis-Courmont
96c7f9c269
Do not load KDE Qt plugins until KDE gets a clue
2011-01-30 14:40:02 +02:00
Rémi Denis-Courmont
5dc560308c
Restore correct SIGCHLD handling
...
This affects way too many code paths. Let KDE fix their own crap.
2011-01-30 14:20:26 +02:00
Rémi Denis-Courmont
2bc307db6f
Do run exit handlers, fix a few leaks
2011-01-30 14:17:21 +02:00
Rémi Denis-Courmont
5094db41a4
Work around QProcess bug (KDE bug #260719 )
2011-01-23 17:49:00 +02:00
Jai Menon
0dff66f4f6
Provide a variant of the CALL macro which doesn't use the nested functions GNU C extension.
...
This is useful when building with compilers like clang+llvm which do not
plan on implementing this extension.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-01-09 20:33:15 +02:00
Rémi Denis-Courmont
2526aec1be
Remove useless #includes
2010-10-31 11:12:20 +02:00
Rafaël Carré
35c8b6fef6
winvlc.c: cosmetics
...
make the loop for copying options in argv nicer
2010-10-22 18:09:06 +02:00
Rafaël Carré
0dc9628b41
winvlc: enable media-library
2010-10-20 19:54:54 +02:00
Rafaël Carré
f94fecb990
vlc-cachegen: remove useless options
...
--ignore-config and --no-media-library are default
2010-10-20 19:54:07 +02:00
Rafaël Carré
3f71509f44
Disable media-library by default
...
Enable it in vlc binary
2010-10-20 19:28:02 +02:00
Rémi Denis-Courmont
dadb0622e6
Restore LibVLC/VERSION at the end of the HTTP user agent
2010-09-17 05:25:13 +03:00
Jean-Baptiste Kempf
a604eea5bf
Win32: fix resource file compilation
2010-08-18 20:37:46 +02:00
Jean-Baptiste Kempf
b7b88f91d0
Win32: correctly bump resource version
...
Close #3996
2010-08-18 17:38:23 +02:00
Rémi Denis-Courmont
725cf4eb04
Always call _exit() at end to avoid buggy exit handlers
...
Removes the KDE scheduler hack.
2010-08-08 23:06:02 +03:00
Rémi Denis-Courmont
351d62a850
Revert "Call libvlc_set_exit_handler() before the interfaces and playlist start"
...
This reverts commit 4d636fa3a7
.
2010-08-02 19:33:36 +03:00
Rémi Denis-Courmont
4d636fa3a7
Call libvlc_set_exit_handler() before the interfaces and playlist start
2010-08-01 13:51:50 +03:00
Rémi Denis-Courmont
d2c08b113d
Cosmetic fix
2010-08-01 13:50:53 +03:00
Rémi Denis-Courmont
e1c2b18a4d
After 3 seconds, allow SIGINT to kill the process
...
Older versions did that too, and it can be quite useful when debugging.
2010-07-24 13:45:24 +03:00
Rémi Denis-Courmont
de68b12937
Do not override signal functions for the time being
2010-07-24 13:45:24 +03:00
Rémi Denis-Courmont
7f9b7d3e31
Add a proper API to set the user agent
2010-07-08 22:56:00 +03:00
Rémi Denis-Courmont
d3b02be6e4
Remove the --user-agent hack
2010-07-08 22:45:34 +03:00
Jean-Baptiste Kempf
1e7c4bb02b
Ignore .exe files in bin/ folder
2010-07-07 22:48:14 +02:00
Geoffroy Couprie
89486ccb0b
Win32: Activate DEP on XP SP3. DEP is useless without ASLR, but people using an 10 year old OS don't have the right to complain
2010-07-01 22:36:52 +02:00
Jean-Baptiste Kempf
9f1f778cf1
Apple: do not try to run a non existing globalhotkey module.
2010-06-26 14:30:06 +02:00
Christophe Mutricy
3d2ef5f961
Missing in d1b5547ce1
2010-06-14 23:51:26 +01:00
Rémi Denis-Courmont
2dde53c525
Only print the first 5 threading errors each
2010-06-07 20:50:56 +03:00
Rémi Denis-Courmont
9e47aa722c
Do not disable X11 ARGB visuals ( fixes : #3581 )
...
The XVideo and X11 outputs can cope with this properly now
2010-06-02 00:11:38 +03:00
Rémi Denis-Courmont
82a5a07b28
Do signal handling in the main() thread
...
This saves one thread. Previously, the main thread was doing nothing.
2010-05-30 20:52:23 +03:00
Rémi Denis-Courmont
2098f7858a
Fix invalid free at exit on non-UTF-8 systems
2010-05-29 23:48:34 +03:00
Rémi Denis-Courmont
ae16ebf352
Add a secret --user-agent option to pass the application name
...
Currently, this is not used anywhere, but better have it for forward
compatibility. This is not as elegant as a dedicated libvlc function
call. But there is no other way to set a parameter before
libvlc_InternalInit() is called by libvlc_new(), short of changing the
libvlc_new() prototype (again). And that would probably be worse.
2010-05-29 19:27:32 +03:00
Rémi Denis-Courmont
94763831fb
Force SIGCHLD to default handler
...
... so that waitpid() works even if our parent process ignores SIGCHLD
(SIG_IGN is preserved across exec*()).
2010-05-27 18:48:21 +03:00
Rémi Denis-Courmont
61f8e439fd
Use setenv(), safer and cleaner than putenv()
2010-05-15 11:52:52 +03:00
Rémi Denis-Courmont
7f42234cab
Maemo: work-around segmentation fault when poll() unwinds
...
(This seems like a toolchain bug)
2010-05-09 14:57:12 +03:00
Rémi Denis-Courmont
053f9d6ea0
Fix the KDE open file dialog KIO scheduler crash avoidance hack
2010-05-05 22:56:29 +03:00
Pierre Ynard
69d7fdea2d
"#if HAVE_FOO" -> "#ifdef HAVE_FOO"
...
This fixes some warnings.
2010-05-05 13:42:28 +02:00
Rémi Denis-Courmont
0f7abe2f0e
Revert "Remove the Xlib no-ARGB hack"
...
This reverts commit 9f9f6d1153
.
2010-05-02 22:59:54 +03:00
Rémi Denis-Courmont
9f9f6d1153
Remove the Xlib no-ARGB hack
...
The XCB/XVideo (for a long time) and the XCB/X11 (since the commit
before the previous one) video output plugins will fail safe in case
the embedding window has an alpha channel. In VLC 1.0, the Xlib plugins
needed this hack as the Xlib error handler would terminate VLC.
If compositing is in use, VLC will now use GLX. This will require
software chroma conversion from YUV to RGB. Also, unless the GLX output
is explicitly selected, VLC will flash twice before it starts rendering.
First, it tries (and fail) to use XVideo, then plain X11. To fix this
cosmetic problem, we would need to keep the window across plugins.
I assume this change is needed to fix #3581 , but I have not tested, so
it may or may not be sufficient.
2010-05-01 22:31:13 +03:00
Rémi Denis-Courmont
c796d10a9a
Require Windows XP
...
(I doubt VLC 1.2.0 will be out before July 13th this year)
2010-04-28 23:46:26 +03:00
Rémi Denis-Courmont
b67a5864cb
Catch unsafe (but alas common) strerror()
2010-04-18 17:32:52 +03:00
Rémi Denis-Courmont
47e1d944ba
Ignore signal/sigaction on blocked signals
...
It is a bad idea, but it does not really harm.
2010-04-18 16:45:10 +03:00
Rémi Denis-Courmont
49a14c1606
Avoid calling dlsym at every code
...
First I ever need to use the auto keyword...
2010-04-17 17:56:10 +03:00
Rémi Denis-Courmont
1ae21d47f2
Avoid problems with srand() and speed up a bit (avoid dlsym)
2010-04-16 23:29:44 +03:00