Commit graph

583 commits

Author SHA1 Message Date
Patrick Gotthard
a0efae5cde Updates SCM config 2017-01-07 12:27:29 +01:00
Patrick Gotthard
e7cab478b3 Fixes problem with space in properties path 2017-01-07 10:54:04 +01:00
Patrick Gotthard
700dd58514 Fixes typo in documentation 2017-01-07 09:12:07 +01:00
mishako
39c460c0c6 Fix osgi test for rome fetcher (#322)
The test is fragile, but there is no point in improving it since fetcher
is deprecated anyway.
2017-01-04 13:07:24 +01:00
Mark Hobson
9b27f0563d Set Atom feed icon when converting from SyndFeed (#321) 2017-01-04 13:05:28 +01:00
Sönke
998e2060eb Improved Atom Module to work with several links (#320)
* Improved AtomLink Module to work with several links.
* Added getLink & setLink for backwards compability
* Improved cloning of AtomLinkModule
2016-10-19 11:03:19 +02:00
Patrick Gotthard
e77ed9fd17 Merge pull request #319 from mishako/readme-cleanup
Readme cleanup
2016-10-11 08:31:09 +02:00
mishako
cca2fb9a42 Add code examples to readme 2016-10-10 23:00:27 +02:00
mishako
3f59e5c7eb Remove changelog from the readme
The project is hosted on github. There is a UI for releases where we
link to closed issues from each release.
2016-10-10 22:30:33 +02:00
mishako
13a5e407e5 Simplify module descriptions in readme 2016-10-10 22:26:41 +02:00
mishako
bc33fa68e8 List deprecated modules in readme
No need for detailed description of modules that are deprecated and
will be removed soon anyway.
2016-10-10 22:20:11 +02:00
mishako
c0a3a2cd16 Remove rome-utils from modules list in readme
Utils module is not intended to be used on it's own. This is not the kind of
information that should live in readme.
2016-10-10 22:16:53 +02:00
mishako
0bd157918b Remove rome-parent from modules list in readme
It's a common practice for maven projects to have a parent module and
is not important enough to include information about it in readme.
2016-10-10 22:08:16 +02:00
Michael Dandini
b87f3293fe Fixing extra whitespace in GeoRSS (#315)
I fixed issue where more than one space in "<georss:point>" elements
caused parsing to fail.

Although most implementations of GeoRSS use one space between the
coordinates, the specification technically allows for more than one
whitespace character. See http://www.georss.org/simple.html for details.
2016-09-24 09:43:07 +02:00
Patrick Gotthard
48cccfb5a9 [maven-release-plugin] prepare for next development iteration 2016-07-24 12:36:20 +02:00
Patrick Gotthard
63bd54f047 [maven-release-plugin] prepare release 1.7.0 2016-07-24 12:36:15 +02:00
Patrick Gotthard
b7a715d54a Adds developer entry to be able to publish to Maven Central 2016-07-24 10:40:24 +02:00
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