Commit graph

566 commits

Author SHA1 Message Date
Patrick Gotthard
1606804f0f Merge pull request #312 from mishako/fix-cc-license-test
Fix license test in cc module
2016-07-19 11:03:39 +02:00
mishako
0656fa3ef4 Fix license test in cc module
There was a race condition in the test. The value passed to the
Random::nextInt method could sometimes be zero due to the other thread
not incrementing it in time.
2016-07-19 10:35:05 +02:00
Patrick Gotthard
1ddb67044b Merge pull request #311 from rometools/build-status-badge
Add build status badge to readme
2016-07-19 07:24:44 +02:00
mishako
511c6ffac8 Add build status badge to readme 2016-07-18 15:41:10 +02:00
Patrick Gotthard
761f2aa274 Merge pull request #306 from mishako/remove-developers-list
Remove developers list from pom.xml
2016-07-18 09:45:29 +02:00
Patrick Gotthard
0de36f1a02 Merge pull request #307 from mishako/no-java-beans
Stop using java.beans package
2016-07-18 09:44:44 +02:00
Patrick Gotthard
e3dc44cf97 Merge pull request #308 from mishako/travis-config
Add travis-ci config
2016-07-18 09:43:41 +02:00
Patrick Gotthard
acd0911c4d Merge pull request #309 from mishako/tostring-bean-threadlocal-cleanup
Clean up threadlocal after usage
2016-07-18 09:42:24 +02:00
Patrick Gotthard
74befdc358 Merge pull request #310 from mishako/deprecate-certiorem-propono
Deprecate all classes in certiorem and propono
2016-07-18 09:41:30 +02:00
mishako
1395794562 Deprecate all classes in certiorem and propono
Certiorem and Propono depend on rome-fetcher which is now deprecated and
will be removed in the next major version (see #276).
2016-07-16 19:33:04 +02:00
mishako
9199f0d66b Clean up threadlocal after usage
ThreadLocal is not guaranteed to be garbage collected if the thread
keeps running. This can lead to a memory leak in applications with
long-living threads.

Fixes #303
2016-07-15 22:18:29 +02:00
mishako
31eb82b386 Delete unit test accessing external resource
Unit tests should be reliable. Depending on external resource makes the
test fragile. The module will be deprecated, so there is no point in
rewriting the test.
2016-07-09 13:01:22 +02:00
mishako
d9d2bb9e32 Add travis-ci config 2016-07-09 12:53:20 +02:00
mishako
20e07a97e1 Stop using java.beans package
Some platforms don't include `java.beans` package in the runtime. To
support these platforms we have to stop using classes from this package.
Replaced `java.beans.PropertyDescriptor` with an implementation copied
from OpenBeans. Also removed some unnecessary code. Haven't made any
changes in rome-fetcher because it is deprecated and will be removed in
the next major version.

Fixes #155
2016-07-09 12:43:09 +02:00
mishako
970d91771a Remove developers list from pom.xml
This list is doomed to always be out of date. All the information can be
found in the version control system.
2016-06-24 19:10:14 +02:00
Patrick Gotthard
998bf4ac8e [maven-release-plugin] prepare for next development iteration 2016-06-20 20:39:55 +02:00
Patrick Gotthard
eaf6af2f9b [maven-release-plugin] prepare release 1.6.1 2016-06-20 20:39:51 +02:00
Patrick Gotthard
af93948e78 Merge pull request #304 from mishako/cleanup
Cleanup
2016-06-20 08:20:52 +02:00
mishako
29b992ba02 Combine all .gitignore files into a single one 2016-06-19 18:39:34 +02:00
mishako
d2cc166afa Delete readme files inside modules
They don't provide any additional information to what we already have in
the root readme file.
2016-06-19 18:39:33 +02:00
mishako
baa13b578e Remove license file inside modules
We already have a license file in the root.
2016-06-19 18:39:33 +02:00
mishako
f0b12ab41e Delete license header example file
License header can be copied from one of the existing files, no need
for a separate template file.
2016-06-19 18:39:33 +02:00
mishako
a6a20c3012 Remove commented out logger calls 2016-06-19 18:39:33 +02:00
mishako
ac7d9c83b5 Remove useless comments
Removed:
 * Empty comments
 * Empty @param and @return tags
 * Comments explaining how Java constructors work
 * Comments copy-pasted from parent classes
 * Comments begging to write documentation
2016-06-19 17:35:00 +02:00
mishako
c36bfd8f47 Remove @version and @author tags
Since we don't have any convention for how to use @version it's best to
avoid it completely. As for the @author tag, it is considered redundant
nowadays because this information is in the version control system.
2016-06-19 17:34:54 +02:00
mishako
6f6ff0ddd5 Remove LGPL license headers
Dual-licensing allows us to choose any of the licenses. Since the rest
of the project is licensed under the Apache license it makes sense to
remove LGPL altogether.

`CustomTagImpl.java` and `DurationTest.java` didn't have Apache license
header, but I assume they were supposed to, judging from Robert's email
from 5 Aug 2010 on the Rome dev mailing list: "Well, all those files are
things I moved from my other project. If the license headers weren't
changed, it was simply because of an oversight on my part".
2016-06-19 17:34:44 +02:00
mishako
0993a6a10c Remove license info from package.html files
We already have license headers in all java files, no need to include
it in package descriptions.
2016-06-19 17:34:19 +02:00
Patrick Gotthard
961a6407e1 Merge pull request #293 from mishako/try-catch-duration
Catch itunes duration parsing exceptions
2016-06-11 07:47:38 +02:00
mishako
943c0db298 Catch itunes duration parsing exceptions
Parsing of a malformed or empty duration resulted in an uncaught
exception that was breaking feed parsing completely. We already catch
exceptions when parsing other fields, e.g. href attribute of the image
tag. Also, it's more user-friendly to handle malformed data instead of
failing everything.
2016-06-10 21:00:01 +02:00
Patrick Gotthard
3c681bd4ae Merge pull request #300 from mishako/xml-parser-feature-fix
Do not set unsupported XML parser features
2016-05-01 12:42:11 +02:00
mishako
6920ff0fbe Do not set unsupported XML parser features
Fixes bug introduced in 2bc58a0. The call to `XMLReader::setFeature`
is used to check if the feature is supported and must happen before
`SAXBuilder::setFeature`. Otherwise XML parsing throws an exception.

The change is not tested, because it is exceptionally cumbersome to
test unsupported features. Possible ways to do it include using an
existing XML library that is known to not support features that the
code is trying to set, or implementing a mock XML parser that doesn't
support any features at all. It's hard to include an XML library
without interfering with other tests and it's hard to implement a mock
XML parser.

Fixes #294
2016-04-30 21:43:48 +02:00
mishako
63ce6584f4 Merge pull request #296 from rchakra3/NumberParserTests
Added tests for NumberParser
2016-04-27 22:27:06 +02:00
Rohan Chakravarthy
e13c27471e Added tests for NumberParser 2016-04-27 16:20:56 -04:00
Patrick Gotthard
f07562f94d Fixes Jenkinsfile
Updates Jenkinsfile to trigger SCM checkout and Maven build
2016-04-26 21:02:22 +02:00
Patrick Gotthard
eb2f5f1258 Add Jenkinsfile 2016-04-26 20:34:54 +02:00
Patrick Gotthard
d1456ace4a Merge pull request #297 from mishako/maven-site-cleanup
Maven site cleanup
2016-04-24 19:42:14 +02:00
mishako
0fed3b4bb6 Remove mentions of old versions from the site 2016-04-24 12:29:44 +02:00
mishako
eb917277b6 Remove mentions of Java 1.4 from the site 2016-04-23 23:28:55 +02:00
mishako
23a5e7990b Clean up site index page 2016-04-23 23:25:15 +02:00
mishako
70af49f938 Slightly improve layout of the site 2016-04-23 21:12:25 +02:00
mishako
e6732b88e1 Fix links to subprojects on site index page 2016-04-23 20:38:33 +02:00
mishako
083a5d32d5 Combine all maven sites into one 2016-04-10 17:38:37 +02:00
Patrick Gotthard
874a0c89a7 Merge pull request #290 from bibliolabs/master
Adds missing entry 'rights' to Atom 1.0 generator output
2016-04-09 08:25:43 +02:00
Patrick Gotthard
932f0546dc Merge pull request #292 from mishako/dc-date-test-rewrite
Rewrite dublin core date test
2016-04-09 08:25:12 +02:00
mishako
15a5f15ed0 Rewrite dublin core date test
Original code had a copyright notice and no license header. Completely
rewriting the code is one of the ways to make sure the code is licensed
under Apache license.
2016-03-31 22:11:23 +02:00
mishako
94861b0532 Merge pull request #291 from puntogil/master
fix license headers
2016-03-30 21:10:26 +02:00
gil
a090ed9b24 fix license headers 2016-03-30 01:43:42 +02:00
Michael Atwood
7bbcce50d1 Added missing entry 'rights' to Atom 1.0 generator output. 2016-03-29 09:48:32 -04:00
mishako
9aa69bf607 Merge pull request #283 from sagen/flexible_filesize
Parse units in filesizes in Media RSS
2016-03-28 23:00:04 +02:00
alesagen
9b45f200af Parse units in filesizes in Media RSS 2016-03-28 22:55:34 +02:00