André Weber [Thu, 20 Mar 2008 20:17:48 +0000 (21:17 +0100)]
Fix the handling of string variable - store them as UTF-8 into the config variables, also convert the StringList values to an UTF8 string before putting them into a QVariant - which seems not to work if created from a "char *" - because later converterd QVariant->toString() isn't UTF8 like expected.
waveout.c forgott to convert string to UTF8 before storing in choice list
Sam Hocevar [Thu, 20 Mar 2008 18:25:02 +0000 (18:25 +0000)]
Ignore Qt generated files.
qt4-uic (the Qt user interface compiler) and rcc (the Qt resource compiler)
create .cpp and .h files that we don't want to track. Adding them to
.gitignore.
Sam Hocevar [Thu, 20 Mar 2008 18:11:53 +0000 (18:11 +0000)]
Minor Windows ME build fixes.
Add a --disable-wince option so that we can disable this (probably broken)
plugin's build when mingwce is detected. Also, add -lmmtimer to the libvlc
link flags because this is where timeGetTime() lies.
Sam Hocevar [Thu, 20 Mar 2008 17:43:48 +0000 (17:43 +0000)]
Documentation updates.
Made the Doxygen headers slightly clearer when directly read from the
header file, fixed grammar and spelling here and there, added some
missing \param and \return tags (though a lot remains to be done).
Sam Hocevar [Thu, 20 Mar 2008 16:59:11 +0000 (16:59 +0000)]
Put (void)val; here and there to tell gcc we used the variable.
The spin_lock wrappers do not use the return value of the functions they
wrap, resulting in dozens of compiler warnings because they are inline
functions. There is no elegant solution to this, I hope using (void)val;
is the least shocking alternative.
Sam Hocevar [Wed, 19 Mar 2008 13:53:57 +0000 (13:53 +0000)]
Use LoadLibrary instead of LoadLibraryA.
LoadLibrary can either point to LoadLibraryA or LoadLibraryW depending
on the system and build options, so let's use LoadLibrary everywhere
for consistency. Also, wrap static argument strings with _T() so that
they're automatically in the right format.
Sam Hocevar [Wed, 19 Mar 2008 13:18:09 +0000 (13:18 +0000)]
Add a --disable-vlc configure flag to not build VLC.
In some cases (eg. when building binary packages) one only needs libvlc
and libvlc-control and does not wish to build or install VLC binaries.
This --disable-vlc flag saves us from manually removing the unwanted
binaries after "make install".
auhal: Fix kAudioDevicePropertyDeviceIsAlive check (vlc_bool_t size has changed and doesn't match anymore the needed param size for kAudioDevicePropertyDeviceIsAlive).
In by far the overwhelming majority of cases, the user would not know
how to determine the correct answer to the security prompt (did you
ever compare SSL error handling in IE6 and IE7?). Since the trust value
is now determined programatically, this would seem to mostly help users
shoot themselves in the foot.
--security-policy is also broken when using --playlist-enqueue: imagine
you are running VLC with no security, and then your browser enqueues an
M3U from some nasty webserver... fireworks.
Wrappers around VLC really should NOT use M3U files if they need to
tweak certain options (e.g. --sout). Global options can simply be set
the normal way from the command line (e.g.: vlc --sout '#std{...}').
Per-item options can be set using the colon notation. Multiple items
should be expanded on the command line in the right order, rather than
written to a M3U file. Alternative, IPC interfaces could be used
(single instance + playlist enqueue, RC interface, DBus interface...)
or language bindings.
*** Important note ***
Web browser plugins are still in need of fixing. I suppose
libvlc-control should be extented to support playlist item trust.
Feel free to revert and do something else if you have a _better_ idea.
Ilkka Ollakka [Fri, 14 Mar 2008 20:57:55 +0000 (22:57 +0200)]
Add bind and path aliases for standard streamoutput, so you can document
streaming (hopefully) more cleaner way like:
standard{access=http,bind=:8080,path=/myfile.ts}
equals to
standard{access=http,dst=:8080//myfile.ts}
(that extra / doesn't seem to harm and it's only visual flaw)