Module: tools
Branch: master
Commit: 95b5ea0176af8ef17e4e262ce7e6cd31b7c80e6e
URL: http://source.winehq.org/git/tools.git/?a=commit;h=95b5ea0176af8ef17e4e262c…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Mon Jun 9 12:29:32 2014 +0200
testbot/web: Improve argument handling in the web methods.
This standardizes the way we handle arguments. Make it so one can
readily see the list of arguments the method takes without having to
hunt down the implementation of all its ancestors. Because these are
methods the added prototypes have no effect whatsoever as far as Perl
is concerned. However they do document which arguments are optional.
---
testbot/web/Feedback.pl | 44 +++++++--------
testbot/web/ForgotPassword.pl | 29 +++++-----
testbot/web/GetFile.pl | 2 +-
testbot/web/JobDetails.pl | 76 ++++++++++++--------------
testbot/web/Login.pl | 36 ++++++------
testbot/web/Logout.pl | 12 ++--
testbot/web/PatchesList.pl | 41 ++++++--------
testbot/web/Register.pl | 48 ++++++++--------
testbot/web/ResetPassword.pl | 40 +++++++-------
testbot/web/Screenshot.pl | 8 +--
testbot/web/Submit.pl | 106 +++++++++++++++++-------------------
testbot/web/admin/BranchDetails.pl | 6 +-
testbot/web/admin/BranchesList.pl | 11 ++--
testbot/web/admin/UserDetails.pl | 30 +++++-----
testbot/web/admin/UsersList.pl | 30 +++++-----
testbot/web/admin/VMDetails.pl | 13 ++---
testbot/web/admin/VMsList.pl | 24 ++++----
testbot/web/index.pl | 68 +++++++++++------------
18 files changed, 299 insertions(+), 325 deletions(-)
Diff: http://source.winehq.org/git/tools.git/?a=commitdiff;h=95b5ea0176af8ef17e4e…
Module: tools
Branch: master
Commit: 0e4eb3a13f794ad8c4f51947519c2af74a69e4a6
URL: http://source.winehq.org/git/tools.git/?a=commit;h=0e4eb3a13f794ad8c4f51947…
Author: Francois Gouget <fgouget(a)codeweavers.com>
Date: Mon Jun 9 12:29:04 2014 +0200
testbot/CGI: Improve the CGI methods argument handling.
This standardizes the way we handle the arguments. Make it so one can
readily see the list of arguments the method takes without having to
hunt down the implementation of all its ancestors. Because these are
methods the added prototypes have no effect whatsoever as far as Perl
is concerned. However they do document which arguments are optional.
---
testbot/lib/ObjectModel/CGI/CollectionBlock.pm | 171 ++++++++++----------
.../lib/ObjectModel/CGI/CollectionBlockForPage.pm | 68 ++++----
testbot/lib/ObjectModel/CGI/CollectionPage.pm | 121 ++++++--------
testbot/lib/ObjectModel/CGI/FormPage.pm | 104 ++++++------
testbot/lib/ObjectModel/CGI/ItemPage.pm | 45 +++---
testbot/lib/ObjectModel/CGI/Page.pm | 105 ++++++------
testbot/lib/WineTestBot/CGI/PageBase.pm | 75 ++++-----
testbot/lib/WineTestBot/CGI/Sessions.pm | 15 +-
8 files changed, 338 insertions(+), 366 deletions(-)
Diff: http://source.winehq.org/git/tools.git/?a=commitdiff;h=0e4eb3a13f794ad8c4f5…