0N/ASee LICENSE.txt included in this distribution for the specific
0N/Afile and include the License file at LICENSE.txt.
1186N/A%><%/* ---------------------- history.jsp start --------------------- */
1281N/A PageConfig cfg = PageConfig.get(request);
1281N/A String path = cfg.getPath();
1281N/A if (path.length() > 0) {
1281N/A String context = request.getContextPath();
1281N/A RuntimeEnvironment env = cfg.getEnv();
1281N/A String uriEncodedName = cfg.getUriEncodedPath();
1281N/A String userPage = env.getUserPage();
1281N/A String userPageSuffix = env.getUserPageSuffix();
1281N/A String bugPage = env.getBugPage();
1281N/A String bugRegex = env.getBugPattern();
1281N/A if (bugRegex == null || bugRegex.equals("")) {
1281N/A Pattern bugPattern = Pattern.compile(bugRegex);
1281N/A String reviewPage = env.getReviewPage();
1281N/A String reviewRegex = env.getReviewPattern();
1281N/A if(reviewRegex == null || reviewRegex.equals("")) {
1281N/A Pattern reviewPattern = Pattern.compile(reviewRegex);
1281N/A File f = cfg.getResourceFile();
1281N/A hist = HistoryGuru.getInstance().getHistory(f);
1281N/A %><h3>Problem</h3><p class="error"><%= e.getMessage() %></p><%
1186N/A%><script type="text/javascript">/* <![CDATA[ */
1186N/Adocument.domReady.push(function() {domReadyHistory();});
1186N/A<form action="<%= context + Prefix.DIFF_P + uriEncodedName %>">
1281N/A <caption>History log of <a href="<%= context + Prefix.XREF_P
1421N/A if (hist.hasTags()) {
1281N/A if (hist.hasFileList()) {
1281N/A for (HistoryEntry entry : hist.getHistoryEntries()) {
1281N/A String rev = entry.getRevision();
1281N/A if (rev == null || rev.length() == 0) {
1421N/A String tags = entry.getTags();
1281N/A if (entry.isActive()) {
1281N/A Date date = entry.getDate();
1281N/A String author = entry.getAuthor();
1281N/A } else if (userPage != null && userPage.length() > 0) {
1297N/A String alink = Util.getEmail(author);
1297N/A %><a href="<%= userPage + Util.htmlize(alink) + userPageSuffix
1281N/A %>"><%= Util.htmlize(author)%></a><%
1281N/A if (bugPage != null && bugPage.length() > 0) {
1281N/A cout = bugPattern.matcher(cout).replaceAll("<a href=\""
1281N/A if (reviewPage != null && reviewPage.length() > 0) {
1281N/A cout = reviewPattern.matcher(cout).replaceAll("<a href=\""
1281N/A Set<String> files = entry.getFiles();
1281N/A jfile = ifile.substring(1);
1281N/A } else if (ifile.startsWith(path)
1186N/A<a class="h" href="<%= context + Prefix.XREF_P + ifile %>"><%= jfile %></a><br/><%
1186N/A<a class="h" href="<%= context + Prefix.XREF_P + ifile %>?r=<%= rev %>"><%= jfile %></a><br/><%
1186N/A<p class="rssbadge"><a href="<%=context + Prefix.RSS_P + uriEncodedName
1186N/A/* ---------------------- history.jsp end --------------------- */