Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
1001cbba
Commit
1001cbba
authored
Sep 01, 2012
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 787529: Use |use 5.10.1| everywhere
r=wicked a=LpSolit
parent
88157fb0
Hide whitespace changes
Inline
Side-by-side
Showing
195 changed files
with
400 additions
and
150 deletions
+400
-150
Bugzilla.pm
Bugzilla.pm
+1
-0
Attachment.pm
Bugzilla/Attachment.pm
+3
-2
PatchReader.pm
Bugzilla/Attachment/PatchReader.pm
+3
-2
Auth.pm
Bugzilla/Auth.pm
+1
-0
Login.pm
Bugzilla/Auth/Login.pm
+1
-0
CGI.pm
Bugzilla/Auth/Login/CGI.pm
+3
-0
Cookie.pm
Bugzilla/Auth/Login/Cookie.pm
+3
-0
Env.pm
Bugzilla/Auth/Login/Env.pm
+3
-0
Stack.pm
Bugzilla/Auth/Login/Stack.pm
+3
-0
Cookie.pm
Bugzilla/Auth/Persist/Cookie.pm
+2
-0
Verify.pm
Bugzilla/Auth/Verify.pm
+1
-0
DB.pm
Bugzilla/Auth/Verify/DB.pm
+3
-0
LDAP.pm
Bugzilla/Auth/Verify/LDAP.pm
+3
-0
RADIUS.pm
Bugzilla/Auth/Verify/RADIUS.pm
+3
-0
Stack.pm
Bugzilla/Auth/Verify/Stack.pm
+3
-0
Bug.pm
Bugzilla/Bug.pm
+1
-0
BugMail.pm
Bugzilla/BugMail.pm
+3
-2
BugUrl.pm
Bugzilla/BugUrl.pm
+3
-0
Bugzilla.pm
Bugzilla/BugUrl/Bugzilla.pm
+3
-0
Local.pm
Bugzilla/BugUrl/Bugzilla/Local.pm
+3
-0
Debian.pm
Bugzilla/BugUrl/Debian.pm
+3
-0
GitHub.pm
Bugzilla/BugUrl/GitHub.pm
+3
-0
Google.pm
Bugzilla/BugUrl/Google.pm
+3
-0
JIRA.pm
Bugzilla/BugUrl/JIRA.pm
+3
-0
Launchpad.pm
Bugzilla/BugUrl/Launchpad.pm
+3
-0
MantisBT.pm
Bugzilla/BugUrl/MantisBT.pm
+3
-0
SourceForge.pm
Bugzilla/BugUrl/SourceForge.pm
+3
-0
Trac.pm
Bugzilla/BugUrl/Trac.pm
+3
-0
CGI.pm
Bugzilla/CGI.pm
+3
-0
Chart.pm
Bugzilla/Chart.pm
+3
-2
Classification.pm
Bugzilla/Classification.pm
+3
-2
Comment.pm
Bugzilla/Comment.pm
+3
-2
Component.pm
Bugzilla/Component.pm
+3
-0
Config.pm
Bugzilla/Config.pm
+1
-0
Admin.pm
Bugzilla/Config/Admin.pm
+1
-0
Advanced.pm
Bugzilla/Config/Advanced.pm
+2
-0
Attachment.pm
Bugzilla/Config/Attachment.pm
+1
-0
Auth.pm
Bugzilla/Config/Auth.pm
+1
-0
BugChange.pm
Bugzilla/Config/BugChange.pm
+1
-0
BugFields.pm
Bugzilla/Config/BugFields.pm
+1
-0
Common.pm
Bugzilla/Config/Common.pm
+1
-0
Core.pm
Bugzilla/Config/Core.pm
+1
-0
DependencyGraph.pm
Bugzilla/Config/DependencyGraph.pm
+1
-0
General.pm
Bugzilla/Config/General.pm
+3
-0
GroupSecurity.pm
Bugzilla/Config/GroupSecurity.pm
+1
-0
LDAP.pm
Bugzilla/Config/LDAP.pm
+1
-0
MTA.pm
Bugzilla/Config/MTA.pm
+1
-0
PatchViewer.pm
Bugzilla/Config/PatchViewer.pm
+1
-0
Query.pm
Bugzilla/Config/Query.pm
+1
-0
RADIUS.pm
Bugzilla/Config/RADIUS.pm
+1
-0
ShadowDB.pm
Bugzilla/Config/ShadowDB.pm
+1
-0
UserMatch.pm
Bugzilla/Config/UserMatch.pm
+1
-0
Constants.pm
Bugzilla/Constants.pm
+3
-0
DB.pm
Bugzilla/DB.pm
+1
-0
Mysql.pm
Bugzilla/DB/Mysql.pm
+3
-0
Oracle.pm
Bugzilla/DB/Oracle.pm
+7
-0
Pg.pm
Bugzilla/DB/Pg.pm
+1
-0
Schema.pm
Bugzilla/DB/Schema.pm
+2
-0
Mysql.pm
Bugzilla/DB/Schema/Mysql.pm
+2
-0
Oracle.pm
Bugzilla/DB/Schema/Oracle.pm
+1
-0
Pg.pm
Bugzilla/DB/Schema/Pg.pm
+2
-0
Sqlite.pm
Bugzilla/DB/Schema/Sqlite.pm
+4
-1
Sqlite.pm
Bugzilla/DB/Sqlite.pm
+4
-1
Error.pm
Bugzilla/Error.pm
+2
-0
Extension.pm
Bugzilla/Extension.pm
+2
-0
Field.pm
Bugzilla/Field.pm
+1
-0
Choice.pm
Bugzilla/Field/Choice.pm
+3
-2
ChoiceInterface.pm
Bugzilla/Field/ChoiceInterface.pm
+2
-0
Flag.pm
Bugzilla/Flag.pm
+3
-2
FlagType.pm
Bugzilla/FlagType.pm
+3
-2
Group.pm
Bugzilla/Group.pm
+3
-2
Hook.pm
Bugzilla/Hook.pm
+2
-0
Install.pm
Bugzilla/Install.pm
+2
-1
CPAN.pm
Bugzilla/Install/CPAN.pm
+3
-0
DB.pm
Bugzilla/Install/DB.pm
+1
-0
Filesystem.pm
Bugzilla/Install/Filesystem.pm
+1
-0
Localconfig.pm
Bugzilla/Install/Localconfig.pm
+1
-0
Requirements.pm
Bugzilla/Install/Requirements.pm
+1
-0
Util.pm
Bugzilla/Install/Util.pm
+1
-0
Mailer.pm
Bugzilla/Job/Mailer.pm
+3
-0
JobQueue.pm
Bugzilla/JobQueue.pm
+1
-0
Runner.pm
Bugzilla/JobQueue/Runner.pm
+2
-0
Keyword.pm
Bugzilla/Keyword.pm
+3
-2
Mailer.pm
Bugzilla/Mailer.pm
+1
-0
Migrate.pm
Bugzilla/Migrate.pm
+3
-1
Gnats.pm
Bugzilla/Migrate/Gnats.pm
+3
-0
Milestone.pm
Bugzilla/Milestone.pm
+3
-2
Object.pm
Bugzilla/Object.pm
+3
-2
Product.pm
Bugzilla/Product.pm
+3
-0
RNG.pm
Bugzilla/RNG.pm
+3
-0
Report.pm
Bugzilla/Report.pm
+3
-2
Search.pm
Bugzilla/Search.pm
+3
-1
Clause.pm
Bugzilla/Search/Clause.pm
+2
-0
Condition.pm
Bugzilla/Search/Condition.pm
+3
-0
Quicksearch.pm
Bugzilla/Search/Quicksearch.pm
+1
-1
Recent.pm
Bugzilla/Search/Recent.pm
+3
-0
Saved.pm
Bugzilla/Search/Saved.pm
+3
-2
Sendmail.pm
Bugzilla/Send/Sendmail.pm
+1
-0
Series.pm
Bugzilla/Series.pm
+3
-2
Status.pm
Bugzilla/Status.pm
+5
-3
Template.pm
Bugzilla/Template.pm
+1
-0
Context.pm
Bugzilla/Template/Context.pm
+3
-0
Bugzilla.pm
Bugzilla/Template/Plugin/Bugzilla.pm
+1
-0
Hook.pm
Bugzilla/Template/Plugin/Hook.pm
+3
-0
Token.pm
Bugzilla/Token.pm
+2
-7
Update.pm
Bugzilla/Update.pm
+1
-0
User.pm
Bugzilla/User.pm
+2
-7
Setting.pm
Bugzilla/User/Setting.pm
+2
-0
Lang.pm
Bugzilla/User/Setting/Lang.pm
+1
-0
Skin.pm
Bugzilla/User/Setting/Skin.pm
+1
-0
Timezone.pm
Bugzilla/User/Setting/Timezone.pm
+1
-0
UserAgent.pm
Bugzilla/UserAgent.pm
+2
-0
Util.pm
Bugzilla/Util.pm
+2
-2
Version.pm
Bugzilla/Version.pm
+3
-2
WebService.pm
Bugzilla/WebService.pm
+3
-0
Bug.pm
Bugzilla/WebService/Bug.pm
+2
-0
Bugzilla.pm
Bugzilla/WebService/Bugzilla.pm
+2
-0
Constants.pm
Bugzilla/WebService/Constants.pm
+2
-0
Group.pm
Bugzilla/WebService/Group.pm
+2
-0
Product.pm
Bugzilla/WebService/Product.pm
+2
-0
Server.pm
Bugzilla/WebService/Server.pm
+2
-0
JSONRPC.pm
Bugzilla/WebService/Server/JSONRPC.pm
+2
-0
XMLRPC.pm
Bugzilla/WebService/Server/XMLRPC.pm
+12
-1
User.pm
Bugzilla/WebService/User.pm
+2
-1
Util.pm
Bugzilla/WebService/Util.pm
+3
-0
Whine.pm
Bugzilla/Whine.pm
+3
-2
Query.pm
Bugzilla/Whine/Query.pm
+1
-0
Schedule.pm
Bugzilla/Whine/Schedule.pm
+3
-2
admin.cgi
admin.cgi
+1
-1
attachment.cgi
attachment.cgi
+1
-12
buglist.cgi
buglist.cgi
+1
-6
chart.cgi
chart.cgi
+1
-1
colchange.cgi
colchange.cgi
+1
-1
collectstats.pl
collectstats.pl
+1
-0
config.cgi
config.cgi
+1
-6
Bugzilla.pm
contrib/Bugzilla.pm
+1
-0
createaccount.cgi
createaccount.cgi
+1
-1
describecomponents.cgi
describecomponents.cgi
+1
-0
describekeywords.cgi
describekeywords.cgi
+1
-1
Bugzilla.pm
docs/lib/Pod/Simple/HTML/Bugzilla.pm
+2
-0
Bugzilla.pm
docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
+2
-0
makedocs.pl
docs/makedocs.pl
+5
-3
duplicates.cgi
duplicates.cgi
+1
-0
editclassifications.cgi
editclassifications.cgi
+1
-0
editcomponents.cgi
editcomponents.cgi
+1
-0
editfields.cgi
editfields.cgi
+1
-0
editflagtypes.cgi
editflagtypes.cgi
+1
-6
editgroups.cgi
editgroups.cgi
+1
-0
editkeywords.cgi
editkeywords.cgi
+1
-0
editmilestones.cgi
editmilestones.cgi
+1
-0
editparams.cgi
editparams.cgi
+1
-0
editproducts.cgi
editproducts.cgi
+1
-0
editsettings.cgi
editsettings.cgi
+1
-0
editusers.cgi
editusers.cgi
+1
-0
editvalues.cgi
editvalues.cgi
+1
-0
editversions.cgi
editversions.cgi
+1
-0
editwhines.cgi
editwhines.cgi
+1
-1
editworkflow.cgi
editworkflow.cgi
+1
-1
email_in.pl
email_in.pl
+1
-0
enter_bug.cgi
enter_bug.cgi
+1
-1
create.pl
extensions/create.pl
+3
-1
importxml.pl
importxml.pl
+1
-0
index.cgi
index.cgi
+1
-11
install-module.pl
install-module.pl
+1
-0
jobqueue.pl
jobqueue.pl
+1
-0
jsonrpc.cgi
jsonrpc.cgi
+1
-0
migrate.pl
migrate.pl
+1
-0
mod_perl.pl
mod_perl.pl
+8
-0
page.cgi
page.cgi
+1
-1
post_bug.cgi
post_bug.cgi
+1
-4
process_bug.cgi
process_bug.cgi
+1
-1
query.cgi
query.cgi
+1
-0
quips.cgi
quips.cgi
+1
-1
relogin.cgi
relogin.cgi
+1
-0
report.cgi
report.cgi
+1
-0
reports.cgi
reports.cgi
+1
-1
request.cgi
request.cgi
+1
-10
runtests.pl
runtests.pl
+1
-1
sanitycheck.cgi
sanitycheck.cgi
+1
-1
sanitycheck.pl
sanitycheck.pl
+1
-1
search_plugin.cgi
search_plugin.cgi
+1
-0
show_activity.cgi
show_activity.cgi
+1
-1
show_bug.cgi
show_bug.cgi
+1
-1
showdependencygraph.cgi
showdependencygraph.cgi
+1
-1
showdependencytree.cgi
showdependencytree.cgi
+1
-1
summarize_time.cgi
summarize_time.cgi
+1
-1
002goodperl.t
t/002goodperl.t
+23
-1
testagent.cgi
testagent.cgi
+4
-2
testserver.pl
testserver.pl
+1
-1
token.cgi
token.cgi
+1
-0
userprefs.cgi
userprefs.cgi
+1
-1
votes.cgi
votes.cgi
+2
-0
whine.pl
whine.pl
+1
-1
whineatnews.pl
whineatnews.pl
+1
-0
xmlrpc.cgi
xmlrpc.cgi
+1
-0
No files found.
Bugzilla.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla
;
package
Bugzilla
;
use
5.10.1
;
use
strict
;
use
strict
;
# We want any compile errors to get to the browser, if possible.
# We want any compile errors to get to the browser, if possible.
...
...
Bugzilla/Attachment.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Attachment
;
package
Bugzilla::
Attachment
;
use
5.10.1
;
use
strict
;
=head1 NAME
=head1 NAME
Bugzilla::Attachment - Bugzilla attachment class.
Bugzilla::Attachment - Bugzilla attachment class.
...
...
Bugzilla/Attachment/PatchReader.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::Attachment::
PatchReader
;
package
Bugzilla::Attachment::
PatchReader
;
use
5.10.1
;
use
strict
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Auth.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::
Auth
;
package
Bugzilla::
Auth
;
use
5.10.1
;
use
strict
;
use
strict
;
use
fields
qw(
use
fields
qw(
_info_getter
_info_getter
...
...
Bugzilla/Auth/Login.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Auth::
Login
;
package
Bugzilla::Auth::
Login
;
use
5.10.1
;
use
strict
;
use
strict
;
use
fields
qw()
;
use
fields
qw()
;
...
...
Bugzilla/Auth/Login/CGI.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Auth::Login::
CGI
;
package
Bugzilla::Auth::Login::
CGI
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Auth::Login)
;
use
base
qw(Bugzilla::Auth::Login)
;
use
constant
user_can_create_account
=>
1
;
use
constant
user_can_create_account
=>
1
;
...
...
Bugzilla/Auth/Login/Cookie.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Auth::Login::
Cookie
;
package
Bugzilla::Auth::Login::
Cookie
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Auth::Login)
;
use
base
qw(Bugzilla::Auth::Login)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Auth/Login/Env.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Auth::Login::
Env
;
package
Bugzilla::Auth::Login::
Env
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Auth::Login)
;
use
base
qw(Bugzilla::Auth::Login)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Auth/Login/Stack.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Auth::Login::
Stack
;
package
Bugzilla::Auth::Login::
Stack
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Auth::Login)
;
use
base
qw(Bugzilla::Auth::Login)
;
use
fields
qw(
use
fields
qw(
_stack
_stack
...
...
Bugzilla/Auth/Persist/Cookie.pm
View file @
1001cbba
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Auth::Persist::
Cookie
;
package
Bugzilla::Auth::Persist::
Cookie
;
use
5.10.1
;
use
strict
;
use
strict
;
use
fields
qw()
;
use
fields
qw()
;
...
...
Bugzilla/Auth/Verify.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Auth::
Verify
;
package
Bugzilla::Auth::
Verify
;
use
5.10.1
;
use
strict
;
use
strict
;
use
fields
qw()
;
use
fields
qw()
;
...
...
Bugzilla/Auth/Verify/DB.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Auth::Verify::
DB
;
package
Bugzilla::Auth::Verify::
DB
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Auth/Verify/LDAP.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Auth::Verify::
LDAP
;
package
Bugzilla::Auth::Verify::
LDAP
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
fields
qw(
use
fields
qw(
ldap
ldap
...
...
Bugzilla/Auth/Verify/RADIUS.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Auth::Verify::
RADIUS
;
package
Bugzilla::Auth::Verify::
RADIUS
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Auth/Verify/Stack.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Auth::Verify::
Stack
;
package
Bugzilla::Auth::Verify::
Stack
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
base
qw(Bugzilla::Auth::Verify)
;
use
fields
qw(
use
fields
qw(
_stack
_stack
...
...
Bugzilla/Bug.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::
Bug
;
package
Bugzilla::
Bug
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Attachment
;
...
...
Bugzilla/BugMail.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
BugMail
;
package
Bugzilla::
BugMail
;
use
5.10.1
;
use
strict
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
User
;
use
Bugzilla::
User
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/BugUrl.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
BugUrl
;
package
Bugzilla::
BugUrl
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
...
...
Bugzilla/BugUrl/Bugzilla.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::BugUrl::
Bugzilla
;
package
Bugzilla::BugUrl::
Bugzilla
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
base
qw(Bugzilla::BugUrl)
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/BugUrl/Bugzilla/Local.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::BugUrl::Bugzilla::
Local
;
package
Bugzilla::BugUrl::Bugzilla::
Local
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::BugUrl::Bugzilla)
;
use
base
qw(Bugzilla::BugUrl::Bugzilla)
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/BugUrl/Debian.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::BugUrl::
Debian
;
package
Bugzilla::BugUrl::
Debian
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
base
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
Bugzilla/BugUrl/GitHub.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::BugUrl::
GitHub
;
package
Bugzilla::BugUrl::
GitHub
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
base
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
Bugzilla/BugUrl/Google.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::BugUrl::
Google
;
package
Bugzilla::BugUrl::
Google
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
base
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
Bugzilla/BugUrl/JIRA.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::BugUrl::
JIRA
;
package
Bugzilla::BugUrl::
JIRA
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
base
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
Bugzilla/BugUrl/Launchpad.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::BugUrl::
Launchpad
;
package
Bugzilla::BugUrl::
Launchpad
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
base
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
Bugzilla/BugUrl/MantisBT.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::BugUrl::
MantisBT
;
package
Bugzilla::BugUrl::
MantisBT
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
base
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
Bugzilla/BugUrl/SourceForge.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::BugUrl::
SourceForge
;
package
Bugzilla::BugUrl::
SourceForge
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
base
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
Bugzilla/BugUrl/Trac.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::BugUrl::
Trac
;
package
Bugzilla::BugUrl::
Trac
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::BugUrl)
;
use
base
qw(Bugzilla::BugUrl)
;
###############################
###############################
...
...
Bugzilla/CGI.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
CGI
;
package
Bugzilla::
CGI
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(CGI)
;
use
base
qw(CGI)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Chart.pm
View file @
1001cbba
...
@@ -5,8 +5,6 @@
...
@@ -5,8 +5,6 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
# This module represents a chart.
# This module represents a chart.
#
#
# Note that it is perfectly legal for the 'lines' member variable of this
# Note that it is perfectly legal for the 'lines' member variable of this
...
@@ -15,6 +13,9 @@ use strict;
...
@@ -15,6 +13,9 @@ use strict;
# the same points.
# the same points.
package
Bugzilla::
Chart
;
package
Bugzilla::
Chart
;
use
5.10.1
;
use
strict
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
use
Bugzilla::
Series
;
use
Bugzilla::
Series
;
...
...
Bugzilla/Classification.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Classification
;
package
Bugzilla::
Classification
;
use
5.10.1
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Field
;
use
Bugzilla::
Field
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Comment.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Comment
;
package
Bugzilla::
Comment
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Attachment
;
...
...
Bugzilla/Component.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
Component
;
package
Bugzilla::
Component
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
base
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Config.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::
Config
;
package
Bugzilla::
Config
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
...
...
Bugzilla/Config/Admin.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
Admin
;
package
Bugzilla::Config::
Admin
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/Advanced.pm
View file @
1001cbba
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Config::
Advanced
;
package
Bugzilla::Config::
Advanced
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/Attachment.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
Attachment
;
package
Bugzilla::Config::
Attachment
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/Auth.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
Auth
;
package
Bugzilla::Config::
Auth
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/BugChange.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
BugChange
;
package
Bugzilla::Config::
BugChange
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/BugFields.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
BugFields
;
package
Bugzilla::Config::
BugFields
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/Common.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
Common
;
package
Bugzilla::Config::
Common
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Email::
Address
;
use
Email::
Address
;
...
...
Bugzilla/Config/Core.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
Core
;
package
Bugzilla::Config::
Core
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/DependencyGraph.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
DependencyGraph
;
package
Bugzilla::Config::
DependencyGraph
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/General.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Config::
General
;
package
Bugzilla::Config::
General
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
our
$sortkey
=
150
;
our
$sortkey
=
150
;
...
...
Bugzilla/Config/GroupSecurity.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
GroupSecurity
;
package
Bugzilla::Config::
GroupSecurity
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/LDAP.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
LDAP
;
package
Bugzilla::Config::
LDAP
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/MTA.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
MTA
;
package
Bugzilla::Config::
MTA
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/PatchViewer.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
PatchViewer
;
package
Bugzilla::Config::
PatchViewer
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/Query.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
Query
;
package
Bugzilla::Config::
Query
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/RADIUS.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
RADIUS
;
package
Bugzilla::Config::
RADIUS
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/ShadowDB.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
ShadowDB
;
package
Bugzilla::Config::
ShadowDB
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Config/UserMatch.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Config::
UserMatch
;
package
Bugzilla::Config::
UserMatch
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::Config::
Common
;
use
Bugzilla::Config::
Common
;
...
...
Bugzilla/Constants.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
Constants
;
package
Bugzilla::
Constants
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
# For bz_locations
# For bz_locations
...
...
Bugzilla/DB.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::
DB
;
package
Bugzilla::
DB
;
use
5.10.1
;
use
strict
;
use
strict
;
use
DBI
;
use
DBI
;
...
...
Bugzilla/DB/Mysql.pm
View file @
1001cbba
...
@@ -20,7 +20,10 @@ For interface details see L<Bugzilla::DB> and L<DBI>.
...
@@ -20,7 +20,10 @@ For interface details see L<Bugzilla::DB> and L<DBI>.
=cut
=cut
package
Bugzilla::DB::
Mysql
;
package
Bugzilla::DB::
Mysql
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::DB)
;
use
base
qw(Bugzilla::DB)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/DB/Oracle.pm
View file @
1001cbba
...
@@ -20,7 +20,10 @@ For interface details see L<Bugzilla::DB> and L<DBI>.
...
@@ -20,7 +20,10 @@ For interface details see L<Bugzilla::DB> and L<DBI>.
=cut
=cut
package
Bugzilla::DB::
Oracle
;
package
Bugzilla::DB::
Oracle
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::DB)
;
use
base
qw(Bugzilla::DB)
;
use
DBD::
Oracle
;
use
DBD::
Oracle
;
...
@@ -706,6 +709,10 @@ sub _get_create_trigger_ddl {
...
@@ -706,6 +709,10 @@ sub _get_create_trigger_ddl {
############################################################################
############################################################################
package
Bugzilla::DB::Oracle::
st
;
package
Bugzilla::DB::Oracle::
st
;
use
5.10.1
;
use
strict
;
use
base
qw(DBI::st)
;
use
base
qw(DBI::st)
;
sub
fetchrow_arrayref
{
sub
fetchrow_arrayref
{
...
...
Bugzilla/DB/Pg.pm
View file @
1001cbba
...
@@ -21,6 +21,7 @@ For interface details see L<Bugzilla::DB> and L<DBI>.
...
@@ -21,6 +21,7 @@ For interface details see L<Bugzilla::DB> and L<DBI>.
package
Bugzilla::DB::
Pg
;
package
Bugzilla::DB::
Pg
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/DB/Schema.pm
View file @
1001cbba
...
@@ -15,7 +15,9 @@ package Bugzilla::DB::Schema;
...
@@ -15,7 +15,9 @@ package Bugzilla::DB::Schema;
#
#
###########################################################################
###########################################################################
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
...
...
Bugzilla/DB/Schema/Mysql.pm
View file @
1001cbba
...
@@ -13,7 +13,9 @@ package Bugzilla::DB::Schema::Mysql;
...
@@ -13,7 +13,9 @@ package Bugzilla::DB::Schema::Mysql;
#
#
###############################################################################
###############################################################################
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
base
qw(Bugzilla::DB::Schema)
;
use
base
qw(Bugzilla::DB::Schema)
;
...
...
Bugzilla/DB/Schema/Oracle.pm
View file @
1001cbba
...
@@ -13,6 +13,7 @@ package Bugzilla::DB::Schema::Oracle;
...
@@ -13,6 +13,7 @@ package Bugzilla::DB::Schema::Oracle;
#
#
###############################################################################
###############################################################################
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::DB::Schema)
;
use
base
qw(Bugzilla::DB::Schema)
;
...
...
Bugzilla/DB/Schema/Pg.pm
View file @
1001cbba
...
@@ -13,7 +13,9 @@ package Bugzilla::DB::Schema::Pg;
...
@@ -13,7 +13,9 @@ package Bugzilla::DB::Schema::Pg;
#
#
###############################################################################
###############################################################################
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::DB::Schema)
;
use
base
qw(Bugzilla::DB::Schema)
;
use
Storable
qw(dclone)
;
use
Storable
qw(dclone)
;
...
...
Bugzilla/DB/Schema/Sqlite.pm
View file @
1001cbba
...
@@ -5,8 +5,11 @@
...
@@ -5,8 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::DB::Schema::
Sqlite
;
package
Bugzilla::DB::Schema::
Sqlite
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::DB::Schema)
;
use
base
qw(Bugzilla::DB::Schema)
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/DB/Sqlite.pm
View file @
1001cbba
...
@@ -5,8 +5,11 @@
...
@@ -5,8 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::DB::
Sqlite
;
package
Bugzilla::DB::
Sqlite
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::DB)
;
use
base
qw(Bugzilla::DB)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Error.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Bugzilla::
Error
;
package
Bugzilla::
Error
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
@
Bugzilla::Error::
EXPORT
=
qw(ThrowCodeError ThrowTemplateError ThrowUserError)
;
@
Bugzilla::Error::
EXPORT
=
qw(ThrowCodeError ThrowTemplateError ThrowUserError)
;
...
...
Bugzilla/Extension.pm
View file @
1001cbba
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
Extension
;
package
Bugzilla::
Extension
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Field.pm
View file @
1001cbba
...
@@ -57,6 +57,7 @@ in addition to what is documented here.
...
@@ -57,6 +57,7 @@ in addition to what is documented here.
package
Bugzilla::
Field
;
package
Bugzilla::
Field
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter Bugzilla::Object)
;
use
base
qw(Exporter Bugzilla::Object)
;
...
...
Bugzilla/Field/Choice.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::Field::
Choice
;
package
Bugzilla::Field::
Choice
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
base
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
Bugzilla::
Config
qw(SetParam write_params)
;
use
Bugzilla::
Config
qw(SetParam write_params)
;
...
...
Bugzilla/Field/ChoiceInterface.pm
View file @
1001cbba
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Field::
ChoiceInterface
;
package
Bugzilla::Field::
ChoiceInterface
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Flag.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Flag
;
package
Bugzilla::
Flag
;
use
5.10.1
;
use
strict
;
=head1 NAME
=head1 NAME
Bugzilla::Flag - A module to deal with Bugzilla flag values.
Bugzilla::Flag - A module to deal with Bugzilla flag values.
...
...
Bugzilla/FlagType.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
FlagType
;
package
Bugzilla::
FlagType
;
use
5.10.1
;
use
strict
;
=head1 NAME
=head1 NAME
Bugzilla::FlagType - A module to deal with Bugzilla flag types.
Bugzilla::FlagType - A module to deal with Bugzilla flag types.
...
...
Bugzilla/Group.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Group
;
package
Bugzilla::
Group
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Hook.pm
View file @
1001cbba
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
Hook
;
package
Bugzilla::
Hook
;
use
5.10.1
;
use
strict
;
use
strict
;
sub
process
{
sub
process
{
...
...
Bugzilla/Install.pm
View file @
1001cbba
...
@@ -15,6 +15,7 @@ package Bugzilla::Install;
...
@@ -15,6 +15,7 @@ package Bugzilla::Install;
# make those assumptions, then it should go into one of the
# make those assumptions, then it should go into one of the
# packages under the Bugzilla::Install namespace.
# packages under the Bugzilla::Install namespace.
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Component
;
use
Bugzilla::
Component
;
...
@@ -25,7 +26,7 @@ use Bugzilla::Group;
...
@@ -25,7 +26,7 @@ use Bugzilla::Group;
use
Bugzilla::
Product
;
use
Bugzilla::
Product
;
use
Bugzilla::
User
;
use
Bugzilla::
User
;
use
Bugzilla::User::
Setting
;
use
Bugzilla::User::
Setting
;
use
Bugzilla::
Util
qw(get_text
say
)
;
use
Bugzilla::
Util
qw(get_text)
;
use
Bugzilla::
Version
;
use
Bugzilla::
Version
;
use
constant
STATUS_WORKFLOW
=>
(
use
constant
STATUS_WORKFLOW
=>
(
...
...
Bugzilla/Install/CPAN.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Install::
CPAN
;
package
Bugzilla::Install::
CPAN
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
our
@EXPORT
=
qw(
our
@EXPORT
=
qw(
BZ_LIB
BZ_LIB
...
...
Bugzilla/Install/DB.pm
View file @
1001cbba
...
@@ -10,6 +10,7 @@ package Bugzilla::Install::DB;
...
@@ -10,6 +10,7 @@ package Bugzilla::Install::DB;
# NOTE: This package may "use" any modules that it likes,
# NOTE: This package may "use" any modules that it likes,
# localconfig is available, and params are up to date.
# localconfig is available, and params are up to date.
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Install/Filesystem.pm
View file @
1001cbba
...
@@ -15,6 +15,7 @@ package Bugzilla::Install::Filesystem;
...
@@ -15,6 +15,7 @@ package Bugzilla::Install::Filesystem;
# * Files do not have the correct permissions.
# * Files do not have the correct permissions.
# * The database does not exist.
# * The database does not exist.
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Install/Localconfig.pm
View file @
1001cbba
...
@@ -15,6 +15,7 @@ package Bugzilla::Install::Localconfig;
...
@@ -15,6 +15,7 @@ package Bugzilla::Install::Localconfig;
# * Files do not have the correct permissions
# * Files do not have the correct permissions
# * The database is not up to date
# * The database is not up to date
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Install/Requirements.pm
View file @
1001cbba
...
@@ -13,6 +13,7 @@ package Bugzilla::Install::Requirements;
...
@@ -13,6 +13,7 @@ package Bugzilla::Install::Requirements;
# Subroutines may "require" and "import" from modules, but they
# Subroutines may "require" and "import" from modules, but they
# MUST NOT "use."
# MUST NOT "use."
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Install/Util.pm
View file @
1001cbba
...
@@ -11,6 +11,7 @@ package Bugzilla::Install::Util;
...
@@ -11,6 +11,7 @@ package Bugzilla::Install::Util;
# module may require *only* Bugzilla::Constants and built-in
# module may require *only* Bugzilla::Constants and built-in
# perl modules.
# perl modules.
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Job/Mailer.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Job::
Mailer
;
package
Bugzilla::Job::
Mailer
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Mailer
;
use
Bugzilla::
Mailer
;
BEGIN
{
eval
"use base qw(TheSchwartz::Worker)"
;
}
BEGIN
{
eval
"use base qw(TheSchwartz::Worker)"
;
}
...
...
Bugzilla/JobQueue.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::
JobQueue
;
package
Bugzilla::
JobQueue
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/JobQueue/Runner.pm
View file @
1001cbba
...
@@ -11,7 +11,9 @@
...
@@ -11,7 +11,9 @@
package
Bugzilla::JobQueue::
Runner
;
package
Bugzilla::JobQueue::
Runner
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Cwd
qw(abs_path)
;
use
Cwd
qw(abs_path)
;
use
File::
Basename
;
use
File::
Basename
;
use
File::
Copy
;
use
File::
Copy
;
...
...
Bugzilla/Keyword.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Keyword
;
package
Bugzilla::
Keyword
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Mailer.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::
Mailer
;
package
Bugzilla::
Mailer
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
...
...
Bugzilla/Migrate.pm
View file @
1001cbba
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
Migrate
;
package
Bugzilla::
Migrate
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Attachment
;
...
@@ -16,7 +18,7 @@ use Bugzilla::Error;
...
@@ -16,7 +18,7 @@ use Bugzilla::Error;
use
Bugzilla::Install::
Requirements
();
use
Bugzilla::Install::
Requirements
();
use
Bugzilla::Install::
Util
qw(indicate_progress)
;
use
Bugzilla::Install::
Util
qw(indicate_progress)
;
use
Bugzilla::
Product
;
use
Bugzilla::
Product
;
use
Bugzilla::
Util
qw(get_text trim generate_random_password
say
)
;
use
Bugzilla::
Util
qw(get_text trim generate_random_password)
;
use
Bugzilla::
User
();
use
Bugzilla::
User
();
use
Bugzilla::
Status
();
use
Bugzilla::
Status
();
use
Bugzilla::
Version
;
use
Bugzilla::
Version
;
...
...
Bugzilla/Migrate/Gnats.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Migrate::
Gnats
;
package
Bugzilla::Migrate::
Gnats
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Migrate)
;
use
base
qw(Bugzilla::Migrate)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Milestone.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Milestone
;
package
Bugzilla::
Milestone
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Object.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Object
;
package
Bugzilla::
Object
;
use
5.10.1
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Product.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
Product
;
package
Bugzilla::
Product
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
base
qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/RNG.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
RNG
;
package
Bugzilla::
RNG
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
use
Bugzilla::
Constants
qw(ON_WINDOWS)
;
use
Bugzilla::
Constants
qw(ON_WINDOWS)
;
...
...
Bugzilla/Report.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Report
;
package
Bugzilla::
Report
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::
CGI
;
use
Bugzilla::
CGI
;
...
...
Bugzilla/Search.pm
View file @
1001cbba
...
@@ -5,9 +5,11 @@
...
@@ -5,9 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
Search
;
use
5.10.1
;
use
strict
;
use
strict
;
package
Bugzilla::
Search
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
@
Bugzilla::Search::
EXPORT
=
qw(
@
Bugzilla::Search::
EXPORT
=
qw(
IsValidQueryType
IsValidQueryType
...
...
Bugzilla/Search/Clause.pm
View file @
1001cbba
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Search::
Clause
;
package
Bugzilla::Search::
Clause
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Search/Condition.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Search::
Condition
;
package
Bugzilla::Search::
Condition
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
our
@EXPORT_OK
=
qw(condition)
;
our
@EXPORT_OK
=
qw(condition)
;
...
...
Bugzilla/Search/Quicksearch.pm
View file @
1001cbba
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
package
Bugzilla::Search::
Quicksearch
;
package
Bugzilla::Search::
Quicksearch
;
# Make it harder for us to do dangerous things in Perl.
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/Search/Recent.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Search::
Recent
;
package
Bugzilla::Search::
Recent
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Search/Saved.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::Search::
Saved
;
package
Bugzilla::Search::
Saved
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::
CGI
;
use
Bugzilla::
CGI
;
...
...
Bugzilla/Send/Sendmail.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Send::
Sendmail
;
package
Bugzilla::Send::
Sendmail
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Email::Send::Sendmail)
;
use
base
qw(Email::Send::Sendmail)
;
...
...
Bugzilla/Series.pm
View file @
1001cbba
...
@@ -5,8 +5,6 @@
...
@@ -5,8 +5,6 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
# This module implements a series - a set of data to be plotted on a chart.
# This module implements a series - a set of data to be plotted on a chart.
#
#
# This Series is in the database if and only if self->{'series_id'} is defined.
# This Series is in the database if and only if self->{'series_id'} is defined.
...
@@ -16,6 +14,9 @@ use strict;
...
@@ -16,6 +14,9 @@ use strict;
package
Bugzilla::
Series
;
package
Bugzilla::
Series
;
use
5.10.1
;
use
strict
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
...
...
Bugzilla/Status.pm
View file @
1001cbba
...
@@ -5,11 +5,11 @@
...
@@ -5,11 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Status
;
package
Bugzilla::
Status
;
use
Bugzilla::
Error
;
use
5.10.1
;
use
strict
;
# This subclasses Bugzilla::Field::Choice instead of implementing
# This subclasses Bugzilla::Field::Choice instead of implementing
# ChoiceInterface, because a bug status literally is a special type
# ChoiceInterface, because a bug status literally is a special type
# of Field::Choice, not just an object that happens to have the same
# of Field::Choice, not just an object that happens to have the same
...
@@ -23,6 +23,8 @@ use base qw(Bugzilla::Field::Choice Exporter);
...
@@ -23,6 +23,8 @@ use base qw(Bugzilla::Field::Choice Exporter);
closed_bug_statuses
closed_bug_statuses
)
;
)
;
use
Bugzilla::
Error
;
################################
################################
##### Initialization #####
##### Initialization #####
################################
################################
...
...
Bugzilla/Template.pm
View file @
1001cbba
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
package
Bugzilla::
Template
;
package
Bugzilla::
Template
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Template/Context.pm
View file @
1001cbba
...
@@ -7,7 +7,10 @@
...
@@ -7,7 +7,10 @@
# This exists to implement the template-before_process hook.
# This exists to implement the template-before_process hook.
package
Bugzilla::Template::
Context
;
package
Bugzilla::Template::
Context
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Template::Context)
;
use
base
qw(Template::Context)
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Hook
;
...
...
Bugzilla/Template/Plugin/Bugzilla.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Template::Plugin::
Bugzilla
;
package
Bugzilla::Template::Plugin::
Bugzilla
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Template::Plugin)
;
use
base
qw(Template::Plugin)
;
...
...
Bugzilla/Template/Plugin/Hook.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::Template::Plugin::
Hook
;
package
Bugzilla::Template::Plugin::
Hook
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Template::Plugin)
;
use
base
qw(Template::Plugin)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Token.pm
View file @
1001cbba
...
@@ -5,16 +5,11 @@
...
@@ -5,16 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
################################################################################
package
Bugzilla::
Token
;
# Module Initialization
################################################################################
# Make it harder for us to do dangerous things in Perl.
use
5.10.1
;
use
strict
;
use
strict
;
# Bundle the functions in this file together into the "Bugzilla::Token" package.
package
Bugzilla::
Token
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Mailer
;
use
Bugzilla::
Mailer
;
...
...
Bugzilla/Update.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::
Update
;
package
Bugzilla::
Update
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/User.pm
View file @
1001cbba
...
@@ -5,16 +5,11 @@
...
@@ -5,16 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
################################################################################
package
Bugzilla::
User
;
# Module Initialization
################################################################################
# Make it harder for us to do dangerous things in Perl.
use
5.10.1
;
use
strict
;
use
strict
;
# This module implements utilities for dealing with Bugzilla users.
package
Bugzilla::
User
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/User/Setting.pm
View file @
1001cbba
...
@@ -8,7 +8,9 @@
...
@@ -8,7 +8,9 @@
package
Bugzilla::User::
Setting
;
package
Bugzilla::User::
Setting
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
...
...
Bugzilla/User/Setting/Lang.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::User::Setting::
Lang
;
package
Bugzilla::User::Setting::
Lang
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::User::Setting)
;
use
base
qw(Bugzilla::User::Setting)
;
...
...
Bugzilla/User/Setting/Skin.pm
View file @
1001cbba
...
@@ -8,6 +8,7 @@
...
@@ -8,6 +8,7 @@
package
Bugzilla::User::Setting::
Skin
;
package
Bugzilla::User::Setting::
Skin
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::User::Setting)
;
use
base
qw(Bugzilla::User::Setting)
;
...
...
Bugzilla/User/Setting/Timezone.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::User::Setting::
Timezone
;
package
Bugzilla::User::Setting::
Timezone
;
use
5.10.1
;
use
strict
;
use
strict
;
use
DateTime::
TimeZone
;
use
DateTime::
TimeZone
;
...
...
Bugzilla/UserAgent.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Bugzilla::
UserAgent
;
package
Bugzilla::
UserAgent
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
our
@EXPORT
=
qw(detect_platform detect_op_sys)
;
our
@EXPORT
=
qw(detect_platform detect_op_sys)
;
...
...
Bugzilla/Util.pm
View file @
1001cbba
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
package
Bugzilla::
Util
;
package
Bugzilla::
Util
;
use
5.10.1
;
use
strict
;
use
strict
;
use
feature
':5.10'
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
@
Bugzilla::Util::
EXPORT
=
qw(trick_taint detaint_natural detaint_signed
@
Bugzilla::Util::
EXPORT
=
qw(trick_taint detaint_natural detaint_signed
...
@@ -16,7 +16,7 @@ use base qw(Exporter);
...
@@ -16,7 +16,7 @@ use base qw(Exporter);
css_class_quote html_light_quote
css_class_quote html_light_quote
i_am_cgi correct_urlbase remote_ip validate_ip
i_am_cgi correct_urlbase remote_ip validate_ip
do_ssl_redirect_if_required use_attachbase
do_ssl_redirect_if_required use_attachbase
diff_arrays on_main_db
say
diff_arrays on_main_db
trim wrap_hard wrap_comment find_wrap_point
trim wrap_hard wrap_comment find_wrap_point
format_time validate_date validate_time datetime_from
format_time validate_date validate_time datetime_from
is_7bit_clean bz_crypt generate_random_password
is_7bit_clean bz_crypt generate_random_password
...
...
Bugzilla/Version.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Version
;
package
Bugzilla::
Version
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::Install::
Util
qw(vers_cmp)
;
use
Bugzilla::Install::
Util
qw(vers_cmp)
;
...
...
Bugzilla/WebService.pm
View file @
1001cbba
...
@@ -8,7 +8,10 @@
...
@@ -8,7 +8,10 @@
# This is the base class for $self in WebService method calls. For the
# This is the base class for $self in WebService method calls. For the
# actual RPC server, see Bugzilla::WebService::Server and its subclasses.
# actual RPC server, see Bugzilla::WebService::Server and its subclasses.
package
Bugzilla::
WebService
;
package
Bugzilla::
WebService
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::WebService::
Server
;
use
Bugzilla::WebService::
Server
;
# Used by the JSON-RPC server to convert incoming date fields apprpriately.
# Used by the JSON-RPC server to convert incoming date fields apprpriately.
...
...
Bugzilla/WebService/Bug.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Bugzilla::WebService::
Bug
;
package
Bugzilla::WebService::
Bug
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::WebService)
;
use
base
qw(Bugzilla::WebService)
;
use
Bugzilla::
Comment
;
use
Bugzilla::
Comment
;
...
...
Bugzilla/WebService/Bugzilla.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Bugzilla::WebService::
Bugzilla
;
package
Bugzilla::WebService::
Bugzilla
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::WebService)
;
use
base
qw(Bugzilla::WebService)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Util
qw(datetime_from)
;
use
Bugzilla::
Util
qw(datetime_from)
;
...
...
Bugzilla/WebService/Constants.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Bugzilla::WebService::
Constants
;
package
Bugzilla::WebService::
Constants
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
our
@EXPORT
=
qw(
our
@EXPORT
=
qw(
...
...
Bugzilla/WebService/Group.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Bugzilla::WebService::
Group
;
package
Bugzilla::WebService::
Group
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::WebService)
;
use
base
qw(Bugzilla::WebService)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/WebService/Product.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Bugzilla::WebService::
Product
;
package
Bugzilla::WebService::
Product
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::WebService)
;
use
base
qw(Bugzilla::WebService)
;
use
Bugzilla::
Product
;
use
Bugzilla::
Product
;
use
Bugzilla::
User
;
use
Bugzilla::
User
;
...
...
Bugzilla/WebService/Server.pm
View file @
1001cbba
...
@@ -6,6 +6,8 @@
...
@@ -6,6 +6,8 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::WebService::
Server
;
package
Bugzilla::WebService::
Server
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
Bugzilla/WebService/Server/JSONRPC.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Bugzilla::WebService::Server::
JSONRPC
;
package
Bugzilla::WebService::Server::
JSONRPC
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Bugzilla::WebService::
Server
;
use
Bugzilla::WebService::
Server
;
BEGIN
{
BEGIN
{
our
@ISA
=
qw(Bugzilla::WebService::Server)
;
our
@ISA
=
qw(Bugzilla::WebService::Server)
;
...
...
Bugzilla/WebService/Server/XMLRPC.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Bugzilla::WebService::Server::
XMLRPC
;
package
Bugzilla::WebService::Server::
XMLRPC
;
use
5.10.1
;
use
strict
;
use
strict
;
use
XMLRPC::Transport::
HTTP
;
use
XMLRPC::Transport::
HTTP
;
use
Bugzilla::WebService::
Server
;
use
Bugzilla::WebService::
Server
;
if
(
$ENV
{
MOD_PERL
})
{
if
(
$ENV
{
MOD_PERL
})
{
...
@@ -66,7 +68,10 @@ sub handle_login {
...
@@ -66,7 +68,10 @@ sub handle_login {
# This exists to validate input parameters (which XMLRPC::Lite doesn't do)
# This exists to validate input parameters (which XMLRPC::Lite doesn't do)
# and also, in some cases, to more-usefully decode them.
# and also, in some cases, to more-usefully decode them.
package
Bugzilla::XMLRPC::
Deserializer
;
package
Bugzilla::XMLRPC::
Deserializer
;
use
5.10.1
;
use
strict
;
use
strict
;
# We can't use "use base" because XMLRPC::Serializer doesn't return
# We can't use "use base" because XMLRPC::Serializer doesn't return
# a true value.
# a true value.
use
XMLRPC::
Lite
;
use
XMLRPC::
Lite
;
...
@@ -161,7 +166,10 @@ sub _validation_subs {
...
@@ -161,7 +166,10 @@ sub _validation_subs {
1
;
1
;
package
Bugzilla::XMLRPC::
SOM
;
package
Bugzilla::XMLRPC::
SOM
;
use
5.10.1
;
use
strict
;
use
strict
;
use
XMLRPC::
Lite
;
use
XMLRPC::
Lite
;
our
@ISA
=
qw(XMLRPC::SOM)
;
our
@ISA
=
qw(XMLRPC::SOM)
;
use
Bugzilla::WebService::
Util
qw(taint_data)
;
use
Bugzilla::WebService::
Util
qw(taint_data)
;
...
@@ -184,8 +192,11 @@ sub paramsin {
...
@@ -184,8 +192,11 @@ sub paramsin {
# This package exists to fix a UTF-8 bug in SOAP::Lite.
# This package exists to fix a UTF-8 bug in SOAP::Lite.
# See http://rt.cpan.org/Public/Bug/Display.html?id=32952.
# See http://rt.cpan.org/Public/Bug/Display.html?id=32952.
package
Bugzilla::XMLRPC::
Serializer
;
package
Bugzilla::XMLRPC::
Serializer
;
use
Scalar::
Util
qw(blessed)
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Scalar::
Util
qw(blessed)
;
# We can't use "use base" because XMLRPC::Serializer doesn't return
# We can't use "use base" because XMLRPC::Serializer doesn't return
# a true value.
# a true value.
use
XMLRPC::
Lite
;
use
XMLRPC::
Lite
;
...
...
Bugzilla/WebService/User.pm
View file @
1001cbba
...
@@ -7,10 +7,11 @@
...
@@ -7,10 +7,11 @@
package
Bugzilla::WebService::
User
;
package
Bugzilla::WebService::
User
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::WebService)
;
use
base
qw(Bugzilla::WebService)
;
use
Bugzilla
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Group
;
use
Bugzilla::
Group
;
...
...
Bugzilla/WebService/Util.pm
View file @
1001cbba
...
@@ -6,7 +6,10 @@
...
@@ -6,7 +6,10 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::WebService::
Util
;
package
Bugzilla::WebService::
Util
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Exporter)
;
use
base
qw(Exporter)
;
# We have to "require", not "use" this, because otherwise it tries to
# We have to "require", not "use" this, because otherwise it tries to
...
...
Bugzilla/Whine.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::
Whine
;
package
Bugzilla::
Whine
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
Bugzilla/Whine/Query.pm
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
package
Bugzilla::Whine::
Query
;
package
Bugzilla::Whine::
Query
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
...
...
Bugzilla/Whine/Schedule.pm
View file @
1001cbba
...
@@ -5,10 +5,11 @@
...
@@ -5,10 +5,11 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
strict
;
package
Bugzilla::Whine::
Schedule
;
package
Bugzilla::Whine::
Schedule
;
use
5.10.1
;
use
strict
;
use
base
qw(Bugzilla::Object)
;
use
base
qw(Bugzilla::Object)
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
...
...
admin.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
attachment.cgi
View file @
1001cbba
...
@@ -6,13 +6,8 @@
...
@@ -6,13 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
################################################################################
use
5.10.1
;
# Script Initialization
################################################################################
# Make it harder for us to do dangerous things in Perl.
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
@@ -24,11 +19,9 @@ use Bugzilla::FlagType;
...
@@ -24,11 +19,9 @@ use Bugzilla::FlagType;
use
Bugzilla::
User
;
use
Bugzilla::
User
;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
use
Bugzilla::
Bug
;
use
Bugzilla::
Bug
;
use
Bugzilla::
Field
;
use
Bugzilla::
Attachment
;
use
Bugzilla::
Attachment
;
use
Bugzilla::Attachment::
PatchReader
;
use
Bugzilla::Attachment::
PatchReader
;
use
Bugzilla::
Token
;
use
Bugzilla::
Token
;
use
Bugzilla::
Keyword
;
use
Encode
qw(encode find_encoding)
;
use
Encode
qw(encode find_encoding)
;
...
@@ -40,10 +33,6 @@ local our $cgi = Bugzilla->cgi;
...
@@ -40,10 +33,6 @@ local our $cgi = Bugzilla->cgi;
local
our
$template
=
Bugzilla
->
template
;
local
our
$template
=
Bugzilla
->
template
;
local
our
$vars
=
{};
local
our
$vars
=
{};
################################################################################
# Main Body Execution
################################################################################
# All calls to this script should contain an "action" variable whose
# All calls to this script should contain an "action" variable whose
# value determines what the user wants to do. The code below checks
# value determines what the user wants to do. The code below checks
# the value of that variable and runs the appropriate code. If none is
# the value of that variable and runs the appropriate code. If none is
...
...
buglist.cgi
View file @
1001cbba
...
@@ -6,13 +6,8 @@
...
@@ -6,13 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
################################################################################
use
5.10.1
;
# Script Initialization
################################################################################
# Make it harder for us to do dangerous things in Perl.
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
chart.cgi
View file @
1001cbba
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
# Bonus:
# Bonus:
# Offer subscription when you get a "series already exists" error?
# Offer subscription when you get a "series already exists" error?
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
@@ -37,7 +38,6 @@ use Bugzilla::Error;
...
@@ -37,7 +38,6 @@ use Bugzilla::Error;
use
Bugzilla::
Util
;
use
Bugzilla::
Util
;
use
Bugzilla::
Chart
;
use
Bugzilla::
Chart
;
use
Bugzilla::
Series
;
use
Bugzilla::
Series
;
use
Bugzilla::
User
;
use
Bugzilla::
Token
;
use
Bugzilla::
Token
;
# For most scripts we don't make $cgi and $template global variables. But
# For most scripts we don't make $cgi and $template global variables. But
...
...
colchange.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
@@ -15,7 +16,6 @@ use Bugzilla::Util;
...
@@ -15,7 +16,6 @@ use Bugzilla::Util;
use
Bugzilla::
CGI
;
use
Bugzilla::
CGI
;
use
Bugzilla::Search::
Saved
;
use
Bugzilla::Search::
Saved
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
User
;
use
Bugzilla::
Token
;
use
Bugzilla::
Token
;
use
Storable
qw(dclone)
;
use
Storable
qw(dclone)
;
...
...
collectstats.pl
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
config.cgi
View file @
1001cbba
...
@@ -6,13 +6,8 @@
...
@@ -6,13 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
################################################################################
use
5.10.1
;
# Script Initialization
################################################################################
# Make it harder for us to do dangerous things in Perl.
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
contrib/Bugzilla.pm
View file @
1001cbba
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
package
Bugzilla
;
package
Bugzilla
;
use
5.10.1
;
use
strict
;
use
strict
;
#######################################################################
#######################################################################
...
...
createaccount.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
describecomponents.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
describekeywords.cgi
View file @
1001cbba
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
User
;
use
Bugzilla::
Keyword
;
use
Bugzilla::
Keyword
;
my
$user
=
Bugzilla
->
login
();
my
$user
=
Bugzilla
->
login
();
...
...
docs/lib/Pod/Simple/HTML/Bugzilla.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Pod::Simple::HTML::
Bugzilla
;
package
Pod::Simple::HTML::
Bugzilla
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Pod::Simple::HTML)
;
use
base
qw(Pod::Simple::HTML)
;
# Without this constant, HTMLBatch will throw undef warnings.
# Without this constant, HTMLBatch will throw undef warnings.
...
...
docs/lib/Pod/Simple/HTMLBatch/Bugzilla.pm
View file @
1001cbba
...
@@ -7,7 +7,9 @@
...
@@ -7,7 +7,9 @@
package
Pod::Simple::HTMLBatch::
Bugzilla
;
package
Pod::Simple::HTMLBatch::
Bugzilla
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(Pod::Simple::HTMLBatch)
;
use
base
qw(Pod::Simple::HTMLBatch)
;
# This is the same hack that HTMLBatch does to "import" this subroutine.
# This is the same hack that HTMLBatch does to "import" this subroutine.
...
...
docs/makedocs.pl
View file @
1001cbba
...
@@ -8,7 +8,9 @@
...
@@ -8,7 +8,9 @@
# This script compiles all the documentation.
# This script compiles all the documentation.
use
5.10.1
;
use
strict
;
use
strict
;
use
Cwd
;
use
Cwd
;
# We need to be in this directory to use our libraries.
# We need to be in this directory to use our libraries.
...
@@ -87,8 +89,8 @@ sub MakeDocs {
...
@@ -87,8 +89,8 @@ sub MakeDocs {
my
(
$name
,
$cmdline
)
=
@_
;
my
(
$name
,
$cmdline
)
=
@_
;
print
"Creating $name documentation ...\n
"
if
defined
$name
;
say
"Creating $name documentation ...
"
if
defined
$name
;
print
"$cmdline\n
\n"
;
say
"$cmdline
\n"
;
system
$cmdline
;
system
$cmdline
;
print
"\n"
;
print
"\n"
;
...
@@ -96,7 +98,7 @@ sub MakeDocs {
...
@@ -96,7 +98,7 @@ sub MakeDocs {
sub
make_pod
{
sub
make_pod
{
print
"Creating API documentation...\n
"
;
say
"Creating API documentation...
"
;
my
$converter
=
Pod::Simple::HTMLBatch::
Bugzilla
->
new
;
my
$converter
=
Pod::Simple::HTMLBatch::
Bugzilla
->
new
;
# Don't output progress information.
# Don't output progress information.
...
...
duplicates.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editclassifications.cgi
View file @
1001cbba
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editcomponents.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editfields.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editflagtypes.cgi
View file @
1001cbba
...
@@ -6,15 +6,10 @@
...
@@ -6,15 +6,10 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
################################################################################
use
5.10.1
;
# Script Initialization
################################################################################
# Make it harder for us to do dangerous things in Perl.
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
# Use Bugzilla's flag modules for handling flag types.
use
Bugzilla
;
use
Bugzilla
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Flag
;
use
Bugzilla::
Flag
;
...
...
editgroups.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editkeywords.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editmilestones.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editparams.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editproducts.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editsettings.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editusers.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editvalues.cgi
View file @
1001cbba
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
# or select boxes. It is largely a copy of editmilestones.cgi, but
# or select boxes. It is largely a copy of editmilestones.cgi, but
# with some cleanup.
# with some cleanup.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editversions.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
editwhines.cgi
View file @
1001cbba
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
# Script Initialization
# Script Initialization
################################################################################
################################################################################
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
editworkflow.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
email_in.pl
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
warnings
;
...
...
enter_bug.cgi
View file @
1001cbba
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
#
#
##############################################################################
##############################################################################
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
extensions/create.pl
View file @
1001cbba
...
@@ -6,8 +6,10 @@
...
@@ -6,8 +6,10 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
@@ -54,7 +56,7 @@ foreach my $template_file (keys %create_files) {
...
@@ -54,7 +56,7 @@ foreach my $template_file (keys %create_files) {
close
(
$fh
);
close
(
$fh
);
}
}
print
get_text
(
'extension_created'
,
$vars
),
"\n"
;
say
get_text
(
'extension_created'
,
$vars
)
;
__END__
__END__
...
...
importxml.pl
View file @
1001cbba
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
# a new bug into bugzilla. Everything before the beginning <?xml line
# a new bug into bugzilla. Everything before the beginning <?xml line
# is removed so you can pipe in email messages.
# is removed so you can pipe in email messages.
use
5.10.1
;
use
strict
;
use
strict
;
#####################################################################
#####################################################################
...
...
index.cgi
View file @
1001cbba
...
@@ -6,14 +6,8 @@
...
@@ -6,14 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
###############################################################################
use
5.10.1
;
# Script Initialization
###############################################################################
# Make it harder for us to do dangerous things in Perl.
use
strict
;
use
strict
;
# Include the Bugzilla CGI and general utility library.
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
@@ -37,10 +31,6 @@ if ($cgi->param('logout')) {
...
@@ -37,10 +31,6 @@ if ($cgi->param('logout')) {
$cgi
->
delete
(
'logout'
);
$cgi
->
delete
(
'logout'
);
}
}
###############################################################################
# Main Body Execution
###############################################################################
# Return the appropriate HTTP response headers.
# Return the appropriate HTTP response headers.
print
$cgi
->
header
();
print
$cgi
->
header
();
...
...
install-module.pl
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
warnings
;
...
...
jobqueue.pl
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
Cwd
qw(abs_path)
;
use
Cwd
qw(abs_path)
;
...
...
jsonrpc.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
migrate.pl
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
File::
Basename
;
use
File::
Basename
;
BEGIN
{
chdir
dirname
(
$0
);
}
BEGIN
{
chdir
dirname
(
$0
);
}
...
...
mod_perl.pl
View file @
1001cbba
...
@@ -7,6 +7,8 @@
...
@@ -7,6 +7,8 @@
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
package
Bugzilla::
ModPerl
;
package
Bugzilla::
ModPerl
;
use
5.10.1
;
use
strict
;
use
strict
;
use
warnings
;
use
warnings
;
...
@@ -107,7 +109,10 @@ foreach my $file (glob "$cgi_path/*.cgi") {
...
@@ -107,7 +109,10 @@ foreach my $file (glob "$cgi_path/*.cgi") {
}
}
package
Bugzilla::ModPerl::
ResponseHandler
;
package
Bugzilla::ModPerl::
ResponseHandler
;
use
5.10.1
;
use
strict
;
use
strict
;
use
base
qw(ModPerl::Registry)
;
use
base
qw(ModPerl::Registry)
;
use
Bugzilla
;
use
Bugzilla
;
...
@@ -132,7 +137,10 @@ sub handler : method {
...
@@ -132,7 +137,10 @@ sub handler : method {
package
Bugzilla::ModPerl::
CleanupHandler
;
package
Bugzilla::ModPerl::
CleanupHandler
;
use
5.10.1
;
use
strict
;
use
strict
;
use
Apache2::
Const
-
compile
=>
qw(OK)
;
use
Apache2::
Const
-
compile
=>
qw(OK)
;
sub
handler
{
sub
handler
{
...
...
page.cgi
View file @
1001cbba
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
# a content-type, e.g. html.
# a content-type, e.g. html.
###############################################################################
###############################################################################
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
post_bug.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
@@ -17,11 +18,7 @@ use Bugzilla::Util;
...
@@ -17,11 +18,7 @@ use Bugzilla::Util;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
use
Bugzilla::
Bug
;
use
Bugzilla::
Bug
;
use
Bugzilla::
User
;
use
Bugzilla::
User
;
use
Bugzilla::
Field
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Hook
;
use
Bugzilla::
Product
;
use
Bugzilla::
Component
;
use
Bugzilla::
Keyword
;
use
Bugzilla::
Token
;
use
Bugzilla::
Token
;
use
Bugzilla::
Flag
;
use
Bugzilla::
Flag
;
...
...
process_bug.cgi
View file @
1001cbba
...
@@ -18,8 +18,8 @@
...
@@ -18,8 +18,8 @@
# 3) If we are processing just the one id, then it is stored in @idlist for
# 3) If we are processing just the one id, then it is stored in @idlist for
# later processing.
# later processing.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
query.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
quips.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
relogin.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
report.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
reports.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
request.cgi
View file @
1001cbba
...
@@ -6,13 +6,8 @@
...
@@ -6,13 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
################################################################################
use
5.10.1
;
# Script Initialization
################################################################################
# Make it harder for us to do dangerous things in Perl.
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
@@ -34,10 +29,6 @@ my $action = $cgi->param('action') || '';
...
@@ -34,10 +29,6 @@ my $action = $cgi->param('action') || '';
print
$cgi
->
header
();
print
$cgi
->
header
();
################################################################################
# Main Body Execution
################################################################################
my
$fields
;
my
$fields
;
$fields
->
{
'requester'
}
->
{
'type'
}
=
'single'
;
$fields
->
{
'requester'
}
->
{
'type'
}
=
'single'
;
# If the user doesn't restrict his search to requests from the wind
# If the user doesn't restrict his search to requests from the wind
...
...
runtests.pl
View file @
1001cbba
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
# Make it harder for us to do dangerous things in Perl.
use
5.10.1
;
use
diagnostics
;
use
diagnostics
;
use
strict
;
use
strict
;
use
lib
qw(lib)
;
use
lib
qw(lib)
;
...
...
sanitycheck.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
sanitycheck.pl
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
search_plugin.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
show_activity.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
show_bug.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
showdependencygraph.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
File::
Temp
;
use
File::
Temp
;
...
...
showdependencytree.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
summarize_time.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Date::
Parse
;
# strptime
use
Date::
Parse
;
# strptime
...
...
t/002goodperl.t
View file @
1001cbba
...
@@ -16,7 +16,7 @@ use lib 't';
...
@@ -16,7 +16,7 @@ use lib 't';
use Support::Files;
use Support::Files;
use Test::More tests => (scalar(@Support::Files::testitems) *
3
);
use Test::More tests => (scalar(@Support::Files::testitems) *
4
);
my @testitems = @Support::Files::testitems; # get the files to test.
my @testitems = @Support::Files::testitems; # get the files to test.
...
@@ -84,6 +84,28 @@ foreach my $file (@testitems) {
...
@@ -84,6 +84,28 @@ foreach my $file (@testitems) {
}
}
}
}
foreach my $file (@testitems) {
my $found_use_feature = 0;
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
next if (!$file); # skip null entries
if (! open (FILE, $file)) {
ok(0,"could not open $file --WARNING");
next;
}
while (my $file_line = <FILE>) {
if ($file_line =~ m/^\s*use 5.10.1/) {
$found_use_feature = 1;
last;
}
}
close (FILE);
if ($found_use_feature) {
ok(1,"$file requires Perl 5.10.1");
} else {
ok(0,"$file DOES NOT require Perl 5.10.1 --WARNING");
}
}
# Check to see that all error messages use tags (for l10n reasons.)
# Check to see that all error messages use tags (for l10n reasons.)
foreach my $file (@testitems) {
foreach my $file (@testitems) {
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
...
...
testagent.cgi
View file @
1001cbba
...
@@ -10,7 +10,9 @@
...
@@ -10,7 +10,9 @@
# are being run instead of shown. This script does not rely on database access
# are being run instead of shown. This script does not rely on database access
# or correct params.
# or correct params.
use
5.10.1
;
use
strict
;
use
strict
;
print
"content-type:text/plain\n\n"
;
print
"OK "
.
(
$::ENV
{
MOD_PERL
}
||
"mod_cgi"
)
.
"\n"
;
say
"content-type:text/plain\n"
;
say
"OK "
.
(
$::ENV
{
MOD_PERL
}
||
"mod_cgi"
);
exit
;
exit
;
testserver.pl
View file @
1001cbba
...
@@ -10,12 +10,12 @@
...
@@ -10,12 +10,12 @@
# as its only argument. It attempts to troubleshoot as many installation
# as its only argument. It attempts to troubleshoot as many installation
# issues as possible.
# issues as possible.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Constants
;
use
Bugzilla::
Util
qw(say)
;
use
Socket
;
use
Socket
;
...
...
token.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
userprefs.cgi
View file @
1001cbba
...
@@ -6,8 +6,8 @@
...
@@ -6,8 +6,8 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
votes.cgi
View file @
1001cbba
...
@@ -9,8 +9,10 @@
...
@@ -9,8 +9,10 @@
# This script remains as a backwards-compatibility URL for before
# This script remains as a backwards-compatibility URL for before
# the time that Voting was an extension.
# the time that Voting was an extension.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
use
Bugzilla::
Error
;
use
Bugzilla::
Error
;
...
...
whine.pl
View file @
1001cbba
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
# Script Initialization
# Script Initialization
################################################################################
################################################################################
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
use
Bugzilla
;
use
Bugzilla
;
...
...
whineatnews.pl
View file @
1001cbba
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
# param. (We have NEW and REOPENED in there to keep compatibility with old
# param. (We have NEW and REOPENED in there to keep compatibility with old
# Bugzillas.)
# Bugzillas.)
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
xmlrpc.cgi
View file @
1001cbba
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
# This Source Code Form is "Incompatible With Secondary Licenses", as
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
# defined by the Mozilla Public License, v. 2.0.
use
5.10.1
;
use
strict
;
use
strict
;
use
lib
qw(. lib)
;
use
lib
qw(. lib)
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment