summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-04-13Avoid strlen on a literal, use a sizeof.Diego 'Flameeyes' Pettenò
2007-04-13Check inside the fonts/ directory inside the package's XDG_DATA_DIR, rather ↵Diego 'Flameeyes' Pettenò
than in the root of it.
2007-04-13Also preload bitmap fonts on XDG directories.Diego 'Flameeyes' Pettenò
With this commit, also fix the previous mistakes in the iteration.
2007-04-13Search for fonts to render with FreeType2 on XDG Data directories.Diego 'Flameeyes' Pettenò
With this change, when rendering a font through FreeType2 (and not using FontConfig) the directories looked up are the ones defined in XDG_DATA_DIRS, right after XDG_DATA_HOME; this way the user can decide to have fonts data in a different place than its home directory. This also splits up the lookup for fontconfig and non-fontconfig cases in two different functions, to avoid gotos and labels.
2007-04-13Remove alloca.h inclusion, no more needed with libxdg-basedir.Diego 'Flameeyes' Pettenò
2007-04-13Use libxdg-basedir to discover the cache directory to use, rather than doing ↵Diego 'Flameeyes' Pettenò
the check manually.
2007-04-13Add a global handle for libxdg-basedir library to xine_s.Diego 'Flameeyes' Pettenò
This handle can then be used by all plugins and other parts of the xine engine without having to duplicate it.
2007-04-13Save plugins' cache in the defined cache home directory as per XDG Base ↵Diego 'Flameeyes' Pettenò
Directory Specification. With this change, xine-lib starts abiding to the XDG Base Directory Specification, allowing the user to define a different path to save its cache data (by setting XDG_CACHE_HOME environment variable).
2007-04-12Convert more documentation to Doxygen format; hide two functions.Diego 'Flameeyes' Pettenò
The _x_config_init() and _x_config_change_opt() functions should stay internal and not be exported by the library, so remove XINE_PROTECTED to hide them.
2007-04-11Merge changes from 1.1 branch (where they still make sense).Diego 'Flameeyes' Pettenò
2007-04-11Merge from -build-fixes branch.Darren Salt
2007-04-11Merge Matt Messier video output for Mac OS X.Diego 'Flameeyes' Pettenò
2007-04-11Now that libmpcdec sources are in contrib/ subdirectory, move ↵Diego 'Flameeyes' Pettenò
xine_musepack_decoder.c in libxineadec. --HG-- rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
2007-04-11Update libmpcdec (formerly libmusepack) to version 1.2.5, this also reduces ↵Diego 'Flameeyes' Pettenò
the patching needed. Contestually, move libmpcdec code in contrib/libmpcdec, so that it's not mixed together with xine code. The use of MUSEPACK_LIBS/MUSEPACK_CFLAGS intermediate is to make simpler move to pkg-config checks if libmpcdec developers decide to install one.
2007-04-11Forgot to include attributes.hDiego 'Flameeyes' Pettenò
2007-04-11Merge 1.1 branch.Diego 'Flameeyes' Pettenò
2007-04-11Convert almost the whole buffer.h documentation to Doxygen format, and ↵Diego 'Flameeyes' Pettenò
extend the documentation available before.
2007-04-10Merge Reinhard Nissl's changes.Darren Salt
2007-04-10Allow xine-lib to be built with CFLAGS='-O0 -g3' by changing optimizationReinhard Nißl
as needed for some files where gcc runs out of registers otherwise.
2007-04-10Split the DirectFB plugin into X11 and non-X versions.Darren Salt
This fixes linkage problems for people who want this but don't want X.
2007-04-10Use ATTR_ALIGN to declare alignment.Diego 'Flameeyes' Pettenò
2007-04-10Rationalise __attribute__((packed)) usage.Diego 'Flameeyes' Pettenò
First of all, as we check the presence of the attribute in configure.ac and we generate the XINE_PACKED definition there, there's no need to do the work again on attributes.h. Also remove #pragma pack support for now, as the trick is just not neat enough, and as it is it's just noise. Make Wine, libdvdnav and nosefart use XINE_PACKED rather than doing their own checks, as they are less reliable.
2007-04-10Instead of recreating the FOURCC_32 wheel, use ME_FOURCC and read directly a ↵Diego 'Flameeyes' Pettenò
32-bit value.
2007-04-10Replace the duplicated meFOURCC macro with ME_FOURCC that is declared in ↵Diego 'Flameeyes' Pettenò
bswap.h already.
2007-04-10Use ME_FOURCC rather than having two declarations for wvpk_signature.Diego 'Flameeyes' Pettenò
2007-04-09Remove stray FFmpeg code.Diego 'Flameeyes' Pettenò
2007-04-09Don't export _x_(dummy_)fifo_buffer_new functions.Diego 'Flameeyes' Pettenò
2007-04-09Check for external FFmpeg before checking if the given decoder wasDiego 'Flameeyes' Pettenò
enabled in configuration. As external FFmpeg does not install its own ffmpeg_config.h, we have to assume that it supports every buffer type; this should probably be checked for errors when opening the decode, but at least it should work to the same extent it worked on 1.1.
2007-04-09Check for include files in the included libavcodec directory.Diego 'Flameeyes' Pettenò
The dvdata.h is never installed by FFmpeg, so when using the external copy you have to still use the internal dvdata.h file at the moment.
2007-04-09Use ffmpeg_config.h only when using internal FFmpeg.Diego 'Flameeyes' Pettenò
This way there's no need to fake it when using the external copy.
2007-04-09Merge the FFmpeg integration branch into the nopadding branch.Diego 'Flameeyes' Pettenò
2007-04-09Update from 1.1 branch.Diego 'Flameeyes' Pettenò
2007-04-08Beside the name, constants can't be marked const or gcc miscompiles the ↵Diego 'Flameeyes' Pettenò
Altivec code.
2007-04-08Mark various private arrays, structs & fn parameters as static and/or const.Darren Salt
Two of the modified files are headers, but each contains definitions as well as declarations and is only ever used once.
2007-04-07Declare ffmpeg_config.h part of sources for the decode plugin.Diego 'Flameeyes' Pettenò
2007-04-07ffmpeg_config.h is no more generated by (xine-lib's) configure, so copy it ↵Diego 'Flameeyes' Pettenò
from the FFmpeg's build directory (as it's not easy to take it with relative path).
2007-04-07Remove the fake avcodec_register_all() function for internal FFmpeg.Diego 'Flameeyes' Pettenò
With the new way to build FFmpeg, there's no need for a special function to use when building with internal FFmpeg, so just use the one already provided by libavcodec. Codecs that shouldn't be registered should just be disabled in the build.
2007-04-07Remove diff_to_ffmpeg_cvs.txt file from EXTRA_DIST, as if we'll still need ↵Diego 'Flameeyes' Pettenò
it, we should put it in contrib/ instead.
2007-04-07Merge changes from main repository.Diego 'Flameeyes' Pettenò
2007-04-07Merge changes from main repository.Diego 'Flameeyes' Pettenò
2007-04-07video_overlay_s uses C's inheritance-like definition, so the first field has ↵Diego 'Flameeyes' Pettenò
to be video_overlay.
2007-04-07Use CC_ATTRIBUTE_FORMAT; replace __attribute((format(printf, ...))) accordingly.Darren Salt
2007-04-07Revert changeset 8383: variable-sized structures and arrays don't seem to ↵Diego 'Flameeyes' Pettenò
get along that well.
2007-04-07Reorder to remove another hole.Diego 'Flameeyes' Pettenò
2007-04-06Remove vo_buttons_t structure.Diego 'Flameeyes' Pettenò
The only place where this was used was in video_overlay_object_t, which is not used by anything in xine-lib, nor in xine-ui, gxine, oxine or Kaffeine. With this change (that basically reverts most of changeset 1517) the size of video_overlay_t structure drops from 4MB to less than 3KB. It also reduces xine-lib's memory consumption by 10MB straight.
2007-04-06Merge changes from main repository.Diego 'Flameeyes' Pettenò
2007-04-06Remove executable status from all files which shouldn't have it.Darren Salt
2007-04-06Remove a redundant comment.Diego 'Flameeyes' Pettenò
2007-04-06Similarly, add a vidix_LTLIBRARIES class to install the vidix drivers in the ↵Diego 'Flameeyes' Pettenò
correct location.
2007-04-06Define a xinepostdir directory to point to the post-plugins path.Diego 'Flameeyes' Pettenò
Together with this, define a xinepost_LTLIBRARIES class that is used to install the post-plugins in the correct directory. Also add the rule to remove them.