summaryrefslogtreecommitdiff
path: root/src/input/input_http.c
AgeCommit message (Collapse)Author
2007-12-23Merge from 1.2 main branch.Diego 'Flameeyes' Pettenò
--HG-- rename : src/xine-utils/xineutils.h => include/xine/xineutils.h rename : src/libxineadec/Makefile.am => src/audio_dec/Makefile.am rename : src/libxineadec/xine_a52_decoder.c => src/audio_dec/xine_a52_decoder.c rename : src/libffmpeg/Makefile.am => src/combined/ffmpeg/Makefile.am rename : src/libffmpeg/ff_audio_decoder.c => src/combined/ffmpeg/ff_audio_decoder.c rename : src/libffmpeg/ff_dvaudio_decoder.c => src/combined/ffmpeg/ff_dvaudio_decoder.c rename : src/libffmpeg/ff_dvdata.h => src/combined/ffmpeg/ff_dvdata.h rename : src/libffmpeg/ff_video_decoder.c => src/combined/ffmpeg/ff_video_decoder.c rename : src/libffmpeg/ffmpeg_encoder.c => src/combined/ffmpeg/ffmpeg_encoder.c rename : src/libmpeg2/Makefile.am => src/video_dec/libmpeg2/Makefile.am rename : src/libmpeg2/decode.c => src/video_dec/libmpeg2/decode.c
2007-12-19Update all the code to the new headers layout.Diego 'Flameeyes' Pettenò
2007-12-19Remove attribute that is never used.Diego 'Flameeyes' Pettenò
2007-12-19Only calculate proxyauth and auth when they are going to be used.Diego 'Flameeyes' Pettenò
2007-12-19Rewrite http_plugin_basicauth to use libavutil's base64 encoding.Diego 'Flameeyes' Pettenò
2007-12-19Make auth also a local variable in http_plugin_open.Diego 'Flameeyes' Pettenò
2007-12-19Make proxyauth a variable local to http_plugin_open() function.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %F2%15%E8%D0%BC%EE%04Xk%21U%D2%AB%968%0F%15%8A%91E
2007-12-18Mark the enctable static.Diego 'Flameeyes' Pettenò
2007-12-18Avoid a multiplication.Diego 'Flameeyes' Pettenò
2007-12-11Bump the input plugins interface version to 18 as they got updated.Diego 'Flameeyes' Pettenò
2007-12-11Merge from 1.2 main branch.Diego 'Flameeyes' Pettenò
2007-12-11Don't use the if(foo) free(foo); construct, as free(NULL); is well defined.Diego 'Flameeyes' Pettenò
2007-12-11Use N_() rather than _(), passing the string just once to gettext().Diego 'Flameeyes' Pettenò
This way the gettext code for description does not need to be repeated by every plugin.
2007-12-11Update all input plugins to the new identifier/description interface.Diego 'Flameeyes' Pettenò
2007-11-10Merge from 1.1.Darren Salt
--HG-- rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.c => src/combined/wavpack_combined.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/liba52/xine_a52_decoder.c => src/libxineadec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/libxineadec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/libxineadec/xine_faad_decoder.c rename : src/libmad/xine_mad_decoder.c => src/libxineadec/xine_mad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-10Fix detection of last.fm servers.Diego 'Flameeyes' Pettenò
I'm not sure whether they changed the Server response to the current "last.fm proxy streamer" or if depending of what server you hit it answer that rather than the previous "last.fm Streaming Server", so for now just look if the Server response starts with "last.fm", which covers both cases.
2007-11-09Merge FSF address changes from 1.1 branch.Diego 'Flameeyes' Pettenò
--HG-- rename : src/combined/decoder_flac.c => src/combined/flac_decoder.c rename : src/combined/demux_flac.c => src/combined/flac_demuxer.c rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.c => src/combined/wavpack_combined.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/liba52/xine_a52_decoder.c => src/libxineadec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/libxineadec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/libxineadec/xine_faad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-07-14Merge from 1.1Diego 'Flameeyes' Pettenò
2007-07-14Handle transparently redirect done through m3u playlists.Diego 'Flameeyes' Pettenò
Thanks to Harald Sitter from Amarok team for reporting a testcase.
2007-06-10Backport last.fm support to 1.1 branch.Diego 'Flameeyes' Pettenò
2007-06-10Reorder fields and make use of bitmask for boolean values.Diego 'Flameeyes' Pettenò
2007-06-10Reorder proxy elements to fill hole.Diego 'Flameeyes' Pettenò
2007-06-10Check for last.fm streaming server, and if that's the case, check for the ↵Diego 'Flameeyes' Pettenò
SYNC string in the read data; if found, send a XINE_EVENT_UI_CHANNELS_CHANGED event, so that the frontend can go read the new metadata.
2007-06-09Convert all input plugins to use void * as type for the buf parameter of ↵Diego 'Flameeyes' Pettenò
read() function, and declare a new buf variable in the function as needed.
2007-05-11Throw a XINE_MSG_PERMISSION_ERROR error when HTTP returns a 401 statushadess@cookie.hadess.net
Patch from Dmitri Fedortchenko <dimo <at> angelhill.net>, required for upstream Totem bug: http://bugzilla.gnome.org/show_bug.cgi?id=418316
2007-05-02Fix proxy usage when the hostnames cannot be resolved.Diego 'Flameeyes' Pettenò
Thanks to Jeff Mitchell for reporting and testing the fix. This change reverses the meaning of _x_use_proxy() function to be the one expected by human logic (1 -> use proxy, 0 -> don't use proxy), this way a failure in hostname resolution would result in the proxy being used rather than discarded. Basically now you can use xine behind a proxy when you can't get out to the DNS servers (or where the DNS servers don't resolve Internet hosts that you are not allowed to connect to).
2007-05-30Include the WWW-Authenticate header content in the "authentication needed" msg.Darren Salt
2007-05-26Shuffle the HTTP input plugin's internal data slightly.Darren Salt
2007-05-25Add a message code to distinguish between HTTP response codes 401 and 403.Darren Salt
This should allow for front ends to do things such as prompt for authentication.
2007-03-17Some servers does not send a human-readable http status description, for ↵Diego 'Flameeyes' Pettenò
those, check only the status code. This fixes WikipediaWeekly podcasts for instance. CVS patchset: 8706 CVS date: 2007/03/17 16:47:16
2007-02-20Fix a lot of format warnings in lprintf calls (mostly %ldd -> %"PRId64").Diego 'Flameeyes' Pettenò
CVS patchset: 8608 CVS date: 2007/02/20 00:34:55
2007-01-19Make get_mrl return a const char * too.Diego 'Flameeyes' Pettenò
CVS patchset: 8524 CVS date: 2007/01/19 01:05:24
2007-01-18Make get_description function return a const char * rather than just a char ↵Diego 'Flameeyes' Pettenò
*, so that 'return "something"' is valid. Note that _()/gettext() returns a char * but statically allocated, that the documentation considers constant. CVS patchset: 8519 CVS date: 2007/01/18 23:02:18
2006-12-08Fix wrong length specification for strncat() calls.Matthias Hopf
Consolidated multiple strncat() calls to snprintf(). CVS patchset: 8407 CVS date: 2006/12/08 16:26:10
2006-11-30Return a different code for every possible output, makes simpler to debug ↵Diego 'Flameeyes' Pettenò
what caused the failure. CVS patchset: 8395 CVS date: 2006/11/30 10:54:18
2006-09-13Return -1 when a connection error happens, so that other input plugins are ↵Diego 'Flameeyes' Pettenò
not tried and the proper error message is returned. CVS patchset: 8233 CVS date: 2006/09/13 23:28:22
2006-09-13Use the media.network.timeout setting already defined as timeout for the ↵Diego 'Flameeyes' Pettenò
connection; this way the user can configure a shorter timeout if they are on fast lines. CVS patchset: 8228 CVS date: 2006/09/13 22:50:43
2006-09-13Don't use the proxy if the host resolves to 127.0.0.1 (localhost).Diego 'Flameeyes' Pettenò
Missing check for IPv6 localhost. CVS patchset: 8224 CVS date: 2006/09/13 17:08:19
2006-07-10Implement visibility support, available on GCC 4.0 and later and on some 3.4 ↵Diego 'Flameeyes' Pettenò
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway. CVS patchset: 8101 CVS date: 2006/07/10 22:08:12
2006-06-20Fix generic warnings.Diego 'Flameeyes' Pettenò
CVS patchset: 8065 CVS date: 2006/06/20 01:46:41
2006-06-06Fixed input buffer size check (using correct size). (CVE-2006-2802)Matthias Hopf
CVS patchset: 8014 CVS date: 2006/06/06 16:39:25
2006-06-02Improve quotation mark handling for StreamTitle in Shoutcast streams.Darren Salt
(Based on a patch from Diego Pettenò.) CVS patchset: 8011 CVS date: 2006/06/02 22:44:58
2006-05-31Fix the spelling of the new buffer-full error message.Darren Salt
CVS patchset: 8002 CVS date: 2006/05/31 21:14:40
2006-05-31HTTP input: buffer overflow fix. (Diego Pettenò) (CVE-2006-2802)Darren Salt
CVS patchset: 8001 CVS date: 2006/05/31 20:58:22
2006-05-03Make various arrays and structures (mainly xine_plugin_info) const.Darren Salt
(Diego Pettenò) CVS patchset: 7985 CVS date: 2006/05/03 19:46:06
2006-04-21HTTP authentication fix: remove proxy requirement (patch from Diego Pettenò)Darren Salt
This patch removes a dummy check on proxy usage before applying authentication. This was caused by a copy-paste error in older revision of this file, and then drifted to the current problem while the code evolved. With this simple change, authenticated streams works just fine. A big thanks to Mark Kretschmann from the amaroK team who noticed the problem and helped tracking it down. CVS patchset: 7979 CVS date: 2006/04/21 23:27:49
2006-04-12Added support for the peercast:// uri used by Peercast (htpp://peercast.org).Claudio Ciccani
CVS patchset: 7968 CVS date: 2006/04/12 15:37:07
2005-10-14input plugin time seeking patch.Miguel Freitas
hopefuly somebody will be able to help fixing the mess i did in dvdnav ;) CVS patchset: 7759 CVS date: 2005/10/14 21:02:16