Age | Commit message (Collapse) | Author |
|
|
|
|
|
(Bug 182)
|
|
Add warning flags to the DEBUG_CFLAGS too.
|
|
|
|
dlopen of a static library causes a Windows error dialog otherwise.
just ignore *.dll.a in plugins folder
|
|
text/plain is specifically filtered out because it could cause lots of false
positives, at least with http; web servers tend to default to text/plain for
unknown types.
|
|
These occur where the MIME type used as the key is a substring of a type in
some plugin's MIME type list but is not an exact match.
|
|
All the initialisation functions returning a new object instance that
was allocated through malloc() or calloc() can get the malloc
attribute so that the compiler can optimise their call.
|
|
|
|
uint32_t).
|
|
|
|
Rewrite xine_get_file_extensions() and xine_get_mime_types() so that
they share the joining code, and do one less loop over the list of
plugins.
Create a new _x_concatenate_with_string() function to convert an array
of strings into a single string, which is called by both functions.
--HG--
extra : transplant_source : %BC7%3D%C7%A5%AA%A6%BB%11%9A%94%F0%E9%F1V%B7%29%C68h
|
|
Instead of duplicating a buffer after using sn?printf() on it, use
asprintf() directly on the final variable.
|
|
Use the proper function for common memory operations (memset() for
zeroing, memcpy() for copying, memmove() for moving), instead of
looping through arrays.
By extension, remove loops to reset arrays when they were allocated
with calloc() and thus already zeroed.
|
|
Whenever an allocated memory area is immediately filled in with a
string through strcpy() or strncpy(), replace the calls with the
appropriate strn?dup().
|
|
Using asprintf() instead of malloc() + sprintf() reduces the lines of
code in xine-lib (moving the allocation to the C library or asprintf
replacement), makes it safer to access the string and can also improve
performance whenever the value returned by a function was used as
parameter, as before it had to run the function twice in almost every
case (once for strlen(), once for sprintf()).
|
|
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.
With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().
malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.
--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
|
|
1.2 series.
|
|
elements by the size of the single element.
(transplanted from 512894f517c423fed0cadeca0d46c6d909403106)
--HG--
extra : transplant_source : Q%28%94%F5%17%C4%23%FE%D0%CA%DE%CA%0DF%C6%D9%09%401%06
|
|
|
|
|
|
This is to avoid having to rebuild external plugins for each new release.
--HG--
extra : transplant_source : %C2%3EF%0B%EF%16%40K%FD.%EB9%E07%CB%97GhU%98
|
|
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
|
|
Two of the modified files are headers, but each contains definitions as well as
declarations and is only ever used once.
|
|
CVS patchset: 8602
CVS date: 2007/02/19 23:33:33
|
|
CVS patchset: 8521
CVS date: 2007/01/18 23:30:18
|
|
the visual type should be checked too.
That because a plugin with the same id may support different visuals
(e.g. xv -> VISUAL_TYPE_X11, xv -> VISUAL_TYPE_X11_2).
CVS patchset: 8388
CVS date: 2006/11/23 21:05:31
|
|
allow developers to use special locking support of their plataform (like
QT library mutex).
note: only xshm has been ported.
based on Christoph Pfister's patch.
CVS patchset: 8350
CVS date: 2006/10/28 17:02:51
|
|
CVS patchset: 8344
CVS date: 2006/10/16 22:18:24
|
|
entirely, to avoid an off-by-one in decoder_map.
Found by Coverity Scan CID 122.
CVS patchset: 8304
CVS date: 2006/09/26 21:32:08
|
|
(implemented for mp3 demuxer only)
CVS patchset: 8177
CVS date: 2006/08/12 01:43:26
|
|
CVS patchset: 8137
CVS date: 2006/07/21 03:31:42
|
|
CVS patchset: 8063
CVS date: 2006/06/20 00:35:07
|
|
- rint, lrint, M_PI (ffmpeg and goom)
- avoid mkdir warnings
- check for older _GUID_DEFINED too
- ressurected generating inttypes, cleaned public os_types.h
- moved function redefiniton used only in the old MSVC to central place
Windows port update:
- build internal ffmpeg:
- workaround 'near' keyword problem
- proper using __declspec(dllimport)
Other changes:
- LIBFFMPEG_CFLAGS --> LIBFFMPEG_CPPFLAGS
CVS patchset: 7964
CVS date: 2006/04/08 16:42:23
|
|
CVS patchset: 7897
CVS date: 2006/02/14 18:47:46
|
|
"The plugin_node_comparator function used by the plugin sorted arrays
sorts the plugins by priority ASC instead of DESC."
CVS patchset: 7860
CVS date: 2006/02/01 15:11:42
|
|
CVS patchset: 7848
CVS date: 2006/01/27 07:46:09
|
|
Improved cross-compiling: detect and precedence of the host-specific libs
W32dll: enabled by platforms as originaly, user can override it
Fixed shell errors in the Makefile of the hackersguide
Detect the place of SDL header independently on platform
Fixed spelling in CDDA, include the header sys/param.h if available
Fixed format strings (fix warnings (or even bugs) on Gentoo/FreeBSD)
CVS patchset: 7815
CVS date: 2005/11/28 12:24:56
|
|
added missing mutex init in xine_ticket (fixes pause assert with win32-pthreads)
added missing destroys due to pthread
doc spells and houskeeping
use directx of older versions too, possibility to use xine w/o HW accel
CVS patchset: 7738
CVS date: 2005/09/19 16:14:02
|
|
audio can be heard with non-1X speeds if audio.synchronization.slow_fast_audio is set
CVS patchset: 7726
CVS date: 2005/09/11 22:07:48
|
|
CVS patchset: 7723
CVS date: 2005/09/11 00:11:09
|
|
CVS patchset: 7715
CVS date: 2005/08/30 15:27:58
|
|
Windows ports updates:
- finished M$VC port update
- moved xine plugins back to normal location for Windows ports,
added relative directories (used relative to ${prefix}),
make sure it's thread-safe (but it's still hacky)
- fixed ugly bug with loading plugins, when working drive was differrent from
plugins directory
directory
- directory and subdirectory separator called as platform specific
- fix crash with newer win32 pthread (missing mutex_init in vo plugin), yes!
- small doc update
CVS patchset: 7712
CVS date: 2005/08/29 15:28:16
|
|
Windows ports fixes and improvements due to my current work on toxine:
- first experiments with external win32 pthreads,
more portable code (pthread_t may be a struct)
- headers refactored
- moved dirent win32 replacement to lib/, hide it for frontends,
used system version, if found, not used non-POSIX dirent->d_reclen
(this item doesn't work in MinGW), fix memleak in dvb
- separated settings for postproc and avcodec when using external ffmpeg
- check for malloc.h in public xine.m4, used it conditionally in xine headers
- replaced random() by POSIX more common rand()
- prevent one segfault in directx vo plugin, if fails
- M$VC port update
CVS patchset: 7709
CVS date: 2005/08/25 15:36:29
|
|
CVS patchset: 7659
CVS date: 2005/07/18 01:46:02
|
|
(Based on a patch from Stefan Bruens <lurch@gmx.li>.)
CVS patchset: 7648
CVS date: 2005/07/17 16:52:14
|
|
don't stop looking for plugins just because one of them has failed to initialize.
fix the problem of xine not loading anything (first plugin was gnome-vfs and
it doesn't work here)
CVS patchset: 7536
CVS date: 2005/05/14 16:00:40
|