Commits on Source (87)
-
Bastien Nocera authored
plparse/totem-pl-parser.c:1308: Warning: TotemPlParser: totem_pl_parser_save_finish: unknown parameter 'async_result' in documentation comment, should be 'result'
ecf04870 -
Daniel Korostil authoredfb769af1
-
Jwtiyar Nariman authoredf3f1b5fb
-
Bastien Nocera authored
Use TOTEM_PL_PARSER_VIDEOSITE_SCRIPT_DIR to override the default directory to find videosite scripts in.
fda52e8e -
Bastien Nocera authored
Upstream is dead (last upstream change in 2016), and it doesn't compile with lua 5.4.
ff35bc0a -
Bastien Nocera authored
And update contents for latest changes.
c2e767a9 -
Bastien Nocera authored
Both as documentation and as a placeholder for scripts in the future.
b58c60f8 -
Bastien Nocera authored
Something in the stack dropped the dependency on shared-mime-info, breaking the is_probably_dir() detection when resolving relative URLs. Add that missing dependency so that "foo.html" is detected as a known filetype that's not a directory, fixing the resolution.
9235a10f -
Bastien Nocera authored46056d2c
-
Bastien Nocera authored
Working around this problem in libabigail's abidiff: https://sourceware.org/bugzilla/show_bug.cgi?id=27267 And installing an older version to fix this one: https://sourceware.org/bugzilla/show_bug.cgi?id=27269
91adcb2d -
Sam Thursfield authored
Previously all XSPF playlists had the name "title".
2788e93e -
A S Alam authored0118db54
-
crvi authored
This is to handle rss feeds with shorter subtitle than description (or vice-versa), where the shorter subtitle occurs after the longer description overwriting the full description with a partial subtitle. We now always look for the longer description of <description>, <itunes:summary> and <itunes:subtitle> for feeds. Note that <description> contains either the full HTML (or a shortened version if a <content:encoded> element is available, <itunes:summary> is a plain-text <description> and <itunes:subtitle> shortened, plain-text <description>, so <description> should always be getting selected over those shorter versions.
f16bc6d1 -
crvi authored
This is to handle rss items with description tags with different descriptions. We now look for the longer description of <description> and <itunes:summary> for items. We avoid looking for item description in <itunes:subtitle> as it could contain the full text subtitle of the episode.
973bd03a -
crvi authored4587199a
-
crvi authored3dfbc563
-
crvi authored
<image> tag doesn't have any node data, so the existing code was providing image uri to podcast feed requests only from <itunes:image> tag, if it occurs after <image> tag, returning NULL otherwise. We now fetch image uri from <url> child tag of <image> tag.
733a4d25 -
crvi authored
We now look for item image uri in <itunes:image> and <image><url> tags in addition to other tags. We don't report an error if the image url from the tags differ. The url in the later occuring image tag replaces the previous one.
e0350eba -
crvi authored
We expect that <media:content type='...'> and <enclosure type='...'> content-type values to be same for a podcast item. We don't report an error if the content-type from the tags differ. The content-type in the later occuring tag replaces the previous one.
6751ce43 -
crvi authored
For rss feed channels, <lastBuildDate> and <pubDate> indeed have different meanings. Please refer [1] for more details. But podcast providers use it in their own ways. Some use only <pubDate> ( e.g. podbean ), some only <lastBuildDate> ( e.g. anchor.fm, buzzsprout ), some use both ( e.g. podigee, soundcloud ). Podigee seems to use <lastBuildDate> for any modifications to feed contents ( including episode additions ), which infact should be covered by <pubDate>. In short, we are only interested in the recent timestamp of both these tags, when both are available. [1] https://www.rssboard.org/rss-profile#element-channel-lastbuilddate
d8021d71 -
crvi authored
The order of preference for author is as follows: 1. <author> or <itunes:author> 2. <itunes:owner> -> <itunes:name> 3. <generator>
467a94c8 -
crvi authored
This is necessary as GNOME 3.38 now supports parental controls.
676dddf0 -
crvi authored779e5b89
-
crvi authoredc2e1a8e3
-
Fran Dieguez authoreda01193a0
-
Bastien Nocera authored78d2c09b
-
Bastien Nocera authoreda365e602
-
Bastien Nocera authored
Closes: #28
bc05c00f -
Bastien Nocera authored19b368a3
-
crvi authored
This should be useful for apps which need the feed content type. This is currently required for OPML feeds, since they need to be handled differently by the apps than other feeds.
a1da6d9c -
crvi authored48712383
-
crvi authored9dbe04c5
-
crvi authored
Don't try to convert from "utf-8" to "UTF-8" encodings, as those are one and the same, and iconv will fail when trying that. Encodings are defined in: https://www.iana.org/assignments/character-sets/character-sets.xhtml
de23ed72 -
crvi authored789ff3a0
-
Bastien Nocera authored6367e5db
-
Bastien Nocera authoredd72d9838
-
Bastien Nocera authored
Incorrect commit message. This reverts commit de23ed72.
50239b7c -
Bastien Nocera authored1ba7e65d
-
crvi authored
Don't try to convert from "utf-8" to "UTF-8", as encodings aren't case sensitive. Encodings are defined in: https://www.iana.org/assignments/character-sets/character-sets.xhtml
d7e724a4 -
Bastien Nocera authored
We shouldn't blindly return data as UTF-8 simply because the XML header says that it is UTF-8.
a19de02b -
Bastien Nocera authored
Use uchardet when available to detect the encoding of XML data when the declared encoding doesn't match the data passed.
0f99bf8b -
Bastien Nocera authored
The test expected us to pass invalid UTF-8 through, and just feed it to the calling application. GLib APIs actually guarantee that data passed is UTF-8 unless stated otherwise, so make sure that no data is parsed if the data isn't UTF-8 and we can't detect what encoding it's in.
988ab507 -
Bastien Nocera authoredf7f6d2ec
-
Bastien Nocera authored
This reverts commit 91adcb2d.
23bcba1a -
Bastien Nocera authored47392208
-
Bastien Nocera authored899ddba5
-
Bastien Nocera authored9acf3390
-
Bastien Nocera authoredcf1c18d7
-
Bastien Nocera authored8bcef58e
-
crvi authored
Closes: #31
ad41906d -
crvi authoredd15ff715
-
crvi authored
This change properly null terminates the CDATA values. For shorter CDATA values, this fix is mandatory to override the token buffer text which contains the previous token value of '<![CDATA['. CDATA value is overwritten on top of this CDATA marker causing garbage data. For longer CDATA values, this wasn't an issue, as the token buffer ( 64K ) is already filled with NULL chars, causing this issue to not show up. Closes: #30
0b89b79c -
crvi authorede1317852
-
crvi authored
This includes needle checks for rss / atom / opml docs.
ddd03be8 -
crvi authoreddff7438e
-
Quentin PAGÈS authored63b281f8
-
Bastien Nocera authored
Make sure to pass the debug flag down from the parser to the videosite helper.
bac6a648 -
Bastien Nocera authored
Replace the quvi "videosite" script as used in tests by a mock script that mimicks the behaviour of quvi. This allows us to test the videosite code rather than scripts which we don't ship anyway.
80160f0d -
Bastien Nocera authored
libquvi has been dead upstream for a number of years, and recent lua changes made it drop from distributions. It wasn't used in our official distribution channel, through Flathub.
d215a84e -
Bastien Nocera authored
Its advertised license (GPLv2) isn't compatible with the package license (LGPLv2.1+) so remove it.
5d078308 -
Bastien Nocera authored
Remove outdated msgstr in a number of translations so we don't have a commented-out copies of the GPL blurb there.
8bef8603 -
Bastien Nocera authored1b103cb7
-
Bastien Nocera authoredf6139a1a
-
Bastien Nocera authoredbd57e6d3
-
crvi authored2868ca82
-
crvi authoredafb8e05a
-
crvi authorede85f88f8
-
crvi authored
This is useful for debugging invalid XML documents. Provides the following debug information. Invalid byte sequence in conversion input: byte offset 22493, byte: '\xe2', byte context: 'ience from Valentine\xe2'
e84cf43c -
crvi authored
This tests for invalid byte sequences which do not fit in any charset.
f247aff2 -
Bastien Nocera authored1693d514
-
Bastien Nocera authoredd7f9b844
-
Bastien Nocera authored
It was removed in d215a84e
c79f6425 -
Bastien Nocera authored7cf0099d
-
Bastien Nocera authored
Rather than Bugzilla.
96cae64b -
Bastien Nocera authorede4539a80
-
Bastien Nocera authored
Contact can be made through GitLab.
b778eee5 -
Bastien Nocera authored82465c11
-
Bastien Nocera authored0f2a60ae
-
Bastien Nocera authored
We don't need to check whether links in RSS feeds are videosite links unless the application requested that we do, by enabling recursive parsing. Closes: #25
52de144a -
crvi authored
Note that this changes the result of the test_parsing_needle_carriage_return() ATOM test which now returns a single entry.
75b18393 -
Bastien Nocera authored
Can be fetch from the git archives if needed.
5dcd413a -
Bastien Nocera authoredd4898ff9
-
Bastien Nocera authored25bfafdb
-
Bastien Nocera authoreda7df1dd3
-
Bastien Nocera authored1431f520
-
Jeremy Bicha authored1bc6533f
ChangeLog.pre-2.27.2
deleted
100644 → 0
This diff is collapsed.
plparse/README-videosite-script.md
0 → 100644
plparse/tests/atom.xml
0 → 100644
plparse/tests/cdata.rss
0 → 100644
plparse/tests/content-no-rating.rss
0 → 100644
This diff is collapsed.
plparse/tests/feeds.opml
0 → 100644
plparse/tests/foo/some-information-file.txt
0 → 100644
plparse/tests/gitlab-issues.atom
0 → 100644
This diff is collapsed.
plparse/tests/invalid-characters.rss
0 → 100644
This diff is collapsed.
plparse/tests/invalid-utf8-characters.rss
0 → 100644
This diff is collapsed.