From 07f9662c0040dd55dd57d8b5f1aa44f2862fc013 Mon Sep 17 00:00:00 2001 From: Laurent Clouet Date: Wed, 12 Oct 2016 00:34:51 +0200 Subject: [PATCH] * Better ui with more infos * Remove revision from protocol since it's not use anymore --- build.xml | 2 +- protocol.txt | 4 +- src/com/sheepit/client/Client.java | 25 +- src/com/sheepit/client/Gui.java | 16 +- src/com/sheepit/client/Job.java | 18 +- src/com/sheepit/client/Server.java | 54 +-- src/com/sheepit/client/Stats.java | 69 ++++ .../sheepit/client/standalone/GuiSwing.java | 79 +++-- .../sheepit/client/standalone/GuiText.java | 26 +- .../client/standalone/GuiTextOneLine.java | 35 +- .../standalone/swing/activity/Settings.java | 257 +++++++------- .../standalone/swing/activity/Working.java | 314 ++++++++++++------ 12 files changed, 543 insertions(+), 356 deletions(-) create mode 100644 src/com/sheepit/client/Stats.java diff --git a/build.xml b/build.xml index 8a5ecc8..e27cfdf 100644 --- a/build.xml +++ b/build.xml @@ -5,7 +5,7 @@ - + diff --git a/protocol.txt b/protocol.txt index e76bda9..b9390ed 100644 --- a/protocol.txt +++ b/protocol.txt @@ -66,7 +66,6 @@ Url: use the request type "download-archive" from the configuration answer. Parameter as GET or POST: * type: "job" * job: Id of the job - * revision: Revision of the job Answer: No error: the file @@ -100,7 +99,7 @@ Answer with no error: - +