# Fanfix
-## Version 1.4.2
-
-- Fix for images documents which were not working any more
-
## Version 1.4.1
+- Fix UpdateChecker which showed the changes of ALL versions instead of the newer ones only
+- Fix for images documents which were not working any more
- Fix some bad line breaks on HTML supports (including FanFiction.net)
- UI: progress bar now working correctly
- nikiroo-utils update to show all steps in the progress bars
BufferedReader reader = new BufferedReader(
new InputStreamReader(in, "UTF-8"));
try {
+ Version version = new Version();
for (String line = reader.readLine(); line != null; line = reader
.readLine()) {
if (line.startsWith("## Version ")) {
- String v = line.substring("## Version ".length());
- Version version = new Version(v);
+ version = new Version(line.substring("## Version "
+ .length()));
if (version.isNewerThan(current)) {
newer.add(version);
changes.put(version, new ArrayList<String>());
+ } else {
+ version = new Version();
}
- } else if (!newer.isEmpty() && !line.isEmpty()) {
- Version version = newer.get(newer.size() - 1);
- List<String> ch = changes.get(version);
+ } else if (!version.isEmpty() && !newer.isEmpty()
+ && !line.isEmpty()) {
+ List<String> ch = changes.get(newer.get(newer
+ .size() - 1));
if (!ch.isEmpty() && !line.startsWith("- ")) {
int i = ch.size() - 1;
ch.set(i, ch.get(i) + " " + line.trim());