summaryrefslogtreecommitdiff
path: root/src/xine-utils
AgeCommit message (Collapse)Author
2007-10-23Merge from 1.1, updating plugin Conflicts/Replaces accordingly.Darren Salt
2007-10-23Simple patch to the XML parserBastien Nocera
Found this little problem (was causing some "uninitialised variable accesses" under valgrind) while implementing Podcast reading in RB using Totem's playlist parser. --HG-- extra : transplant_source : J%D9/%16%E2i%B2%84%FA%8A%85%888N%A5%B4%16s%BD%16
2007-09-17Revert the "#define lprintf" debug changes.Darren Salt
2007-09-14Strip leading white space from an initial text segment nested in an XML element.Darren Salt
2007-09-14Drop xml_parser_build_tree_relaxed().Darren Salt
That isn't in any release, and anyway we have a suitable replacement in xml_parser_build_tree_with_options().
2007-09-14Create child "[CDATA]" nodes for extra text (but prefer merging).Darren Salt
<a>b<[CDATA[c]]></a> gives a.data = "bc". <a>b<d/>c</a> gives a.data = "b" & .child = "d" then "[CDATA]" with .data = "c" if XML_PARSER_MULTI_TEXT is set, else a.data = "bc" and there's no "[CDATA]".
2007-09-14Handle <[CDATA[...]]>. (Based on a patch by Bastien Nocera <hadess@hadess.net>.)Darren Salt
2007-09-14Given <a>b<c/>d</a>, append rather than replace text - "bd", not "d".Darren Salt
2007-07-13Merge XML parser relaxation branch.Darren Salt
2007-06-13Rewrite the xine_hexdump function not to use _only_ fprintf even when it's ↵Diego 'Flameeyes' Pettenò
overkill (constant strings or single characters).
2007-06-13Make xine_hexdump take a void * parameter, so that there are no problems of ↵Diego 'Flameeyes' Pettenò
signedness.
2007-06-12A nice simple merge from 1.1.Darren Salt
Hopefully, I've applied all of the $(LTLIBINTL) changes correctly...
2007-06-09signal.h and setjmp.h are needed on PPC and SPARC too.Diego 'Flameeyes' Pettenò
2007-06-09Use __i386__ and __x86_64__ instead of ARCH_X86 and ARCH_X86_64; the ARCH_* ↵Diego 'Flameeyes' Pettenò
defines comes from FFmpeg, but they can easily stay there.
2007-06-09If SSE, SSE2 and MMX are enabled at build-time, enable them and skip over ↵Diego 'Flameeyes' Pettenò
the cpuid tests; a runtime CPU detection option could be supplied by configure, for instance.
2007-06-09If 3dNOW is enabled at build-time, mark it as present on x86-64; it's not ↵Diego 'Flameeyes' Pettenò
always there because Intel EM64T machines does not have it.
2007-06-09Include dlfcn.h only when dlopen() is needed.Diego 'Flameeyes' Pettenò
2007-06-09Define sigill_return and sigill_handler only on x86, as there is where they ↵Diego 'Flameeyes' Pettenò
only are used.
2007-06-08Protect attribute declarations against, e.g., random printf redefinitions.Darren Salt
2007-06-08Merge from 1.1.Darren Salt
2007-06-08Fix build issues on systems which need our internal asprintf.Darren Salt
config.h is now include/configure.h and no longer #includes os_internals.h. A new file, include/config.h, #includes both; this breaks a #include loop. Other files are updated accordingly.
2007-05-28Replaced the hardcoded opcodes with "rdtsc" notation, make the rdtsc() ↵Stas Sergeev
function static.
2007-05-28Add an x86_64-specific version of rdtsc().Stas Sergeev
2007-05-04Update some copyright information.Darren Salt
2007-04-23Kill a "may be used uninitialised" warning.Darren Salt
2007-04-22Merge relaxed XML parsing & adapt it to the enumerations.Darren Salt
2007-04-22Don't drop elements with missing close tags.Darren Salt
2007-04-21Stop ignoring <?...?> elements, and parse them for attributes.Darren Salt
In the XML data structure returned by xml_parser_build_tree(), the primary content is the directly-returned node, and the extra elements follow this (use ->next) though they appear first in the XML text, thus maintaining backward compatibility.
2007-04-21Use an enumeration for XML parser state tracking.Darren Salt
2007-04-21Use an enumeration for XML lexer state tracking.Darren Salt
2007-04-21Handle single-quoted attributes in XML.Darren Salt
2007-04-21Fix comments - '>' and '?>' were reversed.Darren Salt
2007-04-19Relaxed XML parsing (ABI addition).Darren Salt
Copes with missing close tags. Copes with extra close tags iff they don't match so-far-unclosed elements. Doesn't cope with missing "/>" - that needs more info from the caller.
2007-05-31Merge -newbuild.Darren Salt
2007-05-30Merge from 1.1.Darren Salt
2007-05-11Another pass at cleaning up Makefile.am files. More to come.Matt Messier
2007-05-10Rename PPC_ARCH to ARCH_PPC for consistency.Matt Messier
Move the definition of it to a much more appropriate location.
2007-05-08RIP: AC_OPTIMIZATIONSMatt Messier
-- Removed m4/optimizations.m4, and along with it, AC_OPTIMIZATIONS. -- Stripped down, cleaned up, and merged the former together with other compiler characteristic checks. -- Do not set any optimization flags into CFLAGS. Update all Makefile.am's with proper AM_CFLAGS, AM_CPPFLAGS, AM_LDFLAGS, etc. to set up optimization flags, usually from DEFAULT_OCFLAGS. -- Start cleaning up CFLAGS/CPPFLAGS stuff in Makefile.am's all over the place. -- Correct a number of places where CFLAGS itself was being mangled in Makefile to on-the-fly adjust optimizations to work around compiler bugs. This stuff is now done correctly. -- The run of automake from autogen.sh is now clean of warnings. -- Cleaned out some (now) dead macros from m4/_xine.m4 -- Mac OS X intel builds out-of-the-box now -- dropped optimization on post/deinterlace/plugins/kdetv-greedyh to O1_CFLAGS. -- OBJCFLAGS is now getting set correctly everywhere that it needs to be -- Various other miscellaneous cleanups all over
2007-05-04Merge - part 2.Diego 'Flameeyes' Pettenò
2007-04-25Merge from 1.1.Darren Salt
2007-04-14Use memset instead of loops to initialise arrays to zero.Diego 'Flameeyes' Pettenò
2007-04-14Mark string arrays as arrays of constant pointers, and do the same for ↵Diego 'Flameeyes' Pettenò
memcpy structures. When array of constant pointers are used for register enum configurations, this creates more warnings because of pointer mismatches; I'd consider casting them, but not yet. In the memcpy_method array, mark the parts that are constant at build time as const so to try reducing the overhead.
2007-04-14Fix typo injected at savetime.Diego 'Flameeyes' Pettenò
2007-04-14Check for __malloc__ attribute during configure stage, avoid conditional in ↵Diego 'Flameeyes' Pettenò
xineutils.h for it, instead use XINE_MALLOC.
2007-04-14Add a xine_xcalloc function to wrap around calloc(), to improve security ↵Diego 'Flameeyes' Pettenò
from now on.
2007-04-14Define XINE_PACKED also in attributes.h for frontends.Diego 'Flameeyes' Pettenò
2007-04-10Config entry deserialization.Thibaut Mattern
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-07Use CC_ATTRIBUTE_FORMAT; replace __attribute((format(printf, ...))) accordingly.Darren Salt
2007-04-06- Moved base64 stuff to xine-utils.Thibaut Mattern
- Added config entry serialization. - Added serialized config entries to the plugin cache. --HG-- rename : src/input/base64.c => src/xine-utils/base64.c rename : src/input/base64.h => src/xine-utils/base64.h