From: Niki Roo Date: Sun, 12 Mar 2017 18:54:33 +0000 (+0100) Subject: Version 1.4.2 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=5ce869b82f28c4d288b266d7dee03aa4898fff21;p=fanfix-jexer.git Version 1.4.2 - New Options menu in UI to configure the program (minimalist for now) - Improve progress reporting (smoother updates, more details) - Better cover support for local files --- diff --git a/README.md b/README.md index 14e4347..d9c47e3 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ Currently missing, but either in progress or planned: - [ ] [Two Kinds](http://twokinds.keenspot.com/) - [ ] [Slightly damned](http://www.sdamned.com/) - [ ] Others? Any ideas? -- [ ] A GUI (work in progress) +- [x] A GUI (work in progress) - [x] Make one - [x] Make it run when no args passed - [x] Fix the UI, it is ugly @@ -108,7 +108,7 @@ Currently missing, but either in progress or planned: - [x] Show a list of types - [x] ..in the menu - [x] ..as a screen view - - [ ] options screen + - [x] options screen - [ ] A TUI reader - [ ] Check if it can work on Android - [x] First checks: it should work, but with changes diff --git a/VERSION b/VERSION index 347f583..9df886c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.1 +1.4.2 diff --git a/changelog.md b/changelog.md index 1aa90a1..598fbcd 100644 --- a/changelog.md +++ b/changelog.md @@ -1,8 +1,10 @@ # Fanfix -## Version (wip) +## Version 1.4.2 - New Options menu in UI to configure the program (minimalist for now) +- Improve progress reporting (smoother updates, more details) +- Better cover support for local files ## Version 1.4.1 diff --git a/libs/nikiroo-utils-1.4.0-sources.jar b/libs/nikiroo-utils-1.4.1-sources.jar similarity index 87% rename from libs/nikiroo-utils-1.4.0-sources.jar rename to libs/nikiroo-utils-1.4.1-sources.jar index afb2819..721f793 100644 Binary files a/libs/nikiroo-utils-1.4.0-sources.jar and b/libs/nikiroo-utils-1.4.1-sources.jar differ diff --git a/src/be/nikiroo/fanfix/Library.java b/src/be/nikiroo/fanfix/Library.java index 69b497f..bc9a4da 100644 --- a/src/be/nikiroo/fanfix/Library.java +++ b/src/be/nikiroo/fanfix/Library.java @@ -527,12 +527,7 @@ public class Library { "Cannot load file from library: " + file.getPath(), e)); } finally { - pgFiles.setProgress(pgFiles.getProgress() + 1); - - System.out.println("files: " + pgFiles.getProgress() - + "/" + pgFiles.getMax()); - System.out.println("dirs : " + pgDirs.getProgress() - + "/" + pgDirs.getMax()); + pgFiles.add(1); } } diff --git a/src/be/nikiroo/fanfix/reader/LocalReaderFrame.java b/src/be/nikiroo/fanfix/reader/LocalReaderFrame.java index ca49470..bb77655 100644 --- a/src/be/nikiroo/fanfix/reader/LocalReaderFrame.java +++ b/src/be/nikiroo/fanfix/reader/LocalReaderFrame.java @@ -648,10 +648,10 @@ class LocalReaderFrame extends JFrame { public void run() { run.run(); refreshBooks(); - reload.setProgress(100); + reload.done(); if (!pg.isDone()) { // will trigger pgBar ActionListener: - pg.setProgress(pg.getMax()); + pg.done(); } } }, "outOfUi thread").start(); @@ -745,7 +745,7 @@ class LocalReaderFrame extends JFrame { onSuccess.run(); } } - pgOnSuccess.setProgress(100); + pgOnSuccess.done(); } }); }