History log of /opengrok/web/diff.jsp
Revision Date Author Comments Expand
31ba4e9e9f28db99f326e4ae1a96b72a4c3a3b42 16-Nov-2016 Kryštof Tulinger <krystof.tulinger@oracle.com>

allowing users to download the diff fixes #549

e108d43e59336eaf96f0976ee92944719bbf2ac9 21-Jul-2016 Kryštof Tulinger <krystof.tulinger@oracle.com>

moving javascripts into js subdirectory

eee3266b4179dae85826d6139b3b540838ea955a 27-Feb-2016 Knut Anders Hatlen <knut.hatlen@oracle.com>

Clean up encoding and decoding of URL parameters. mast.jsp needs to access some URL parameters in JavaScript code. Currently, it does this in a Java snippet that escapes the parameter value and prints it in the HTML. This patch changes it so that the parameters are fetched by the JavaScript code itself, eliminating the roundtrip via the Java and HTML domains, which simplifies the quoting. Also remove Util.escapeXml(). Instead use Util.URIEncode(), Util.htmlize() and Util.jsStringLiteral() as appropriate. Util.escapeXml() was a hybrid of the latter two. Also quote some values that were previously not quoted.

28c081bad540f7e3eb8abd2a5a9a1b6fc706f558 25-Feb-2016 Knut Anders Hatlen <knut.hatlen@oracle.com>

Don't run diff jumper code when not viewing a diff. The code that searches the document for difftable runs in every page that loads utils.js. This makes loading of pages slower than necessary. This patch factors out the diff jumper code from utils.js and puts it in a separate file called diff.js which is only loaded by diff.jsp.

acfaf1a46b72df0b3b9bf276b997d1649983c194 04-Feb-2016 Kryštof Tulinger <krystof.tulinger@oracle.com>

Diff jumper fixes #574

55ca23edd10d48a1f4683d6071955db3683a3b69 08-Jan-2014 Vladimir Kotal <Vladimir.Kotal@Oracle.COM>

perform HTML escaping in diffline() fixes #719

d8371503c60e1f6933455e25b1cc47e4858a3a43 13-Dec-2013 Vladimir Kotal <Vladimir.Kotal@Oracle.COM>

differentiate between raw and download fixes #578

59b6a8c0cc6ef741a7180504b3c371e67c2aa338 02-Jan-2013 Knut Anders Hatlen <knut.hatlen@oracle.com>

Fix Checkstyle warnings (FileTabCharacterCheck)

14a41f02433890d19b2f871156271e3388cd0845 02-Jan-2013 Jens Elkner <jel+opengrok@cs.uni-magdeburg.de>

Refactor webapp

2d81b0b59eb7733c1c5220f13259a100f634c89a 02-Jan-2013 Knut Anders Hatlen <knut.hatlen@oracle.com>

Bug #17584: Beginning of highlighted change in code is not started from absolute zero position in the row

138a7fea383af1a9084b7ec66d309d1cbc43d5f6 02-Jan-2013 Chris Eldredge <chris.eldredge@gmail.com>

Bug 17688 - File handles leaked in JSPs

3dfde69a5611cd051532d236ca8b50e1f7a44f3b 02-Jan-2013 Leo Davis <ldavis@fonix.com>

Bug 17373 - breadcrumb path needs to be URI encoded Bug 17374 - history links need percent encoding Bug 17375 - annotate link needs percent encoding Bug 17376 - download link needs percent encoding

17b343cecb69da82215b124f39fed80167a6f2bd 02-Jan-2013 Lubos Kosco <Lubos.Kosco@Oracle.COM>

Bug 13184 - provide quick links to annotate,history and download from search results view

bb742941612ab119288533d2e66dc1dd1509b32b 02-Jan-2013 Lubos Kosco <Lubos.Kosco@Sun.COM>

test cases for 5590

958ccc55e275549e16df57f5ba425dce5d1c2b7b 02-Jan-2013 Lubos Kosco <Lubos.Kosco@Sun.COM>

Bug #5590 - Unhighlighted difference in compare list be again xhtml strict valid

4aabae02a84501165f3a1375bd3610db1b222ce3 02-Jan-2013 Lubos Kosco <Lubos.Kosco@Sun.COM>

Bug #14978 - upgrade lucene to 3.0.1

81ff16ba7157923d7aa6ea9d0264a34b6392e009 02-Jan-2013 Lubos Kosco <Lubos.Kosco@Sun.COM>

Bug #5848 - trimmed diff link results in NULL pointer dereference

9b1dea974e126ecb07a1f6d6cf9d2b637c8a47a0 02-Jan-2013 Lubos Kosco <Lubos.Kosco@Sun.COM>

Bug 341 - RFE: support searches across multiple projects some small UTF-8 fixes (select box still didn't pick them up in some test cases where fs was not UTF-8) validated default styles

85ab383fb02f9de870b9f1b17863968a1771a8f3 02-Jan-2013 Jorgen Austvik <jorgen.austvik@sun.com>

Remove two small HTML/CSS errors

855a7cc1ec5916ebe8a53df2b81a772f8541ad48 02-Jan-2013 vitezslav batrla - Sun Microsystems - Prague Czech Republic <Vitezslav.Batrla@Sun.COM>

Bug #3143: in-code view full link is a dead link

8ec10d6d3956617da0e3ad8e5d88e4821458739c 07-Aug-2008 Jorgen Austvik <jorgen.austvik@sun.com>

New batch of Findbugs fixes

/opengrok/src/org/opensolaris/opengrok/analysis/archive/TarAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/archive/ZipAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/sql/Consts.java /opengrok/src/org/opensolaris/opengrok/configuration/RuntimeEnvironment.java /opengrok/src/org/opensolaris/opengrok/index/CommandLineOptions.java /opengrok/src/org/opensolaris/opengrok/index/IgnoredNames.java /opengrok/src/org/opensolaris/opengrok/index/IndexerWizard.form /opengrok/src/org/opensolaris/opengrok/index/IndexerWizard.java /opengrok/src/org/opensolaris/opengrok/search/Hit.java /opengrok/src/org/opensolaris/opengrok/search/Summarizer.java /opengrok/src/org/opensolaris/opengrok/search/context/Context.java /opengrok/src/org/opensolaris/opengrok/search/context/PlainLineTokenizer.lex /opengrok/src/org/opensolaris/opengrok/web/Crawler.java /opengrok/src/org/opensolaris/opengrok/web/Util.java /opengrok/test/org/opensolaris/opengrok/web/UtilTest.java diff.jsp history.jsp rss.jsp search.jsp
9bb6ab643caa1e04026da68eaef430c82a206350 16-May-2008 magnus.lind@idainfront.se <Magnus Lind>

Add initial support for clearcase * Add a repository and a history parser implementation for clearcase. * Make jsp pages accept clearcase revision identifier syntax. * Add a fix for a test-case that breaks on windows.

97945bc7257cdad17533756878891ce50ebd80be 13-Dec-2007 Knut Anders Hatlen <Knut.Hatlen@Sun.COM>

Fixed broken links in diff.jsp

308470174aea8cf0128aa8baf7018c9500f6131c 29-Nov-2007 Trond Norbye <trond.norbye@sun.com>

combined patch for subversion history * * * This patch makes comparing revisions across copies work for subversion. src/org/opensolaris/opengrok/history/HistoryEntry.java (getRepositoryPath, setRepositoryPath): added member and methods to keep track of the repository's view of the file. Currently not used. (getSourceRootPath, setSourceRootPath): added member and methods to keep track of the file from the source root directory's viewpoint. Can be computed from getRepositoryPath and running SVNClient.info on the working copy, but it's probably easier for the webapp to use this way. src/org/opensolaris/opengrok/history/HistoryReader.java (getRepositoryPath,getSourceRootPath): added methods to expose HistoryEntry.getRepositoryPath and HistoryEntry.getSourceRootPath. src/org/opensolaris/opengrok/history/SubversionGet.java (read): need to compose a URL instead of using the working copy path to send to fileContent, since the file may no longer exist in the working copy. src/org/opensolaris/opengrok/history/SubversionHistoryParser.java (parse): computes the source root path differences for use in HistoryEntry.getSourceRootPath (HistoryEntry.getRepositoryPath is the raw path from the subversion repository). Gets the history with ChangedPaths and reads it in reverse. As it reads in reverse, it tracks the file across copies. web/diff.jsp: The radio buttons now send path and version information for both revisions. They are split up and passed to getRevision. web/history.jsp: Uses the source root path from the HistoryEntry, if there is one. Percent encodes the path and version information into the link and radio buttons. * * * Bugfixes for subversion history. src/org/opensolaris/opengrok/history/SubversionHistoryParser.java (parse): trim the leading path for files only if it is part of the path. /src/org/opensolaris/opengrok/history/HistoryCache.java (writeCache, writeCacheFile): adding File members to HistoryEntry broke serialization to XML files. Added a new static class FilePersistenceDelegate to persist these members.

bb191b4db2657326cea4ebb7a8d0508b6ab84929 19-Mar-2007 Trond Norbye <trond@norbye.org>

Removed multiple copies of webpages Some of the files stored in the conf/*/html directory did not contain any configuration specific text, so they could be moved to the web directory.

5feb9d4ec8870e9b3bec8aaaa30632851e99463b 28-Dec-2006 Kyle McFarland <tfkyle@gmail.com>

change foot.html to foot.jsp and use <context>/img/servedby.png for the image

c23e82b612acd5e947c164114377578116f6d298 15-Nov-2006 Trond Norbye <trond@norbye.org>

Initial import (OpenGrok 0.3.1)

/opengrok/.hgignore /opengrok/CHANGES.txt /opengrok/LICENSE.txt /opengrok/README.txt /opengrok/build.xml /opengrok/conf/default/html/foot.html /opengrok/conf/default/html/help.html /opengrok/conf/default/html/img/Logo.png /opengrok/conf/default/html/img/icon.png /opengrok/conf/default/html/img/rss.png /opengrok/conf/default/html/img/servedby.png /opengrok/conf/default/html/index.html /opengrok/conf/default/html/print.css /opengrok/conf/default/html/rss.xsl.xml /opengrok/conf/default/html/style.css /opengrok/conf/default/web.xml /opengrok/conf/offwhite/html/foot.html /opengrok/conf/offwhite/html/help.html /opengrok/conf/offwhite/html/img/Logo.png /opengrok/conf/offwhite/html/img/b.gif /opengrok/conf/offwhite/html/img/d.gif /opengrok/conf/offwhite/html/img/do.gif /opengrok/conf/offwhite/html/img/f.gif /opengrok/conf/offwhite/html/img/h.gif /opengrok/conf/offwhite/html/img/icon.png /opengrok/conf/offwhite/html/img/l.gif /opengrok/conf/offwhite/html/img/p.gif /opengrok/conf/offwhite/html/img/q.gif /opengrok/conf/offwhite/html/img/r.gif /opengrok/conf/offwhite/html/img/rss.png /opengrok/conf/offwhite/html/img/servedby.png /opengrok/conf/offwhite/html/img/t.gif /opengrok/conf/offwhite/html/img/w.gif /opengrok/conf/offwhite/html/index.html /opengrok/conf/offwhite/html/print.css /opengrok/conf/offwhite/html/rss.xsl.xml /opengrok/conf/offwhite/html/style.css /opengrok/conf/offwhite/web.xml /opengrok/conf/polished/html/foot.html /opengrok/conf/polished/html/help.html /opengrok/conf/polished/html/img/Logo.png /opengrok/conf/polished/html/img/b.gif /opengrok/conf/polished/html/img/d.gif /opengrok/conf/polished/html/img/do.gif /opengrok/conf/polished/html/img/f.gif /opengrok/conf/polished/html/img/h.gif /opengrok/conf/polished/html/img/icon.png /opengrok/conf/polished/html/img/l.gif /opengrok/conf/polished/html/img/p.gif /opengrok/conf/polished/html/img/q.gif /opengrok/conf/polished/html/img/r.gif /opengrok/conf/polished/html/img/rss.png /opengrok/conf/polished/html/img/servedby.png /opengrok/conf/polished/html/img/t.gif /opengrok/conf/polished/html/img/w.gif /opengrok/conf/polished/html/index.html /opengrok/conf/polished/html/print.css /opengrok/conf/polished/html/rss.xsl.xml /opengrok/conf/polished/html/style.css /opengrok/conf/polished/web.xml /opengrok/ext/jrcs.zip /opengrok/lib/servlet-api.jar /opengrok/lib/swing-layout-0.9.jar /opengrok/paths.tsv /opengrok/pkgdef/Makefile /opengrok/pkgdef/pkginfo /opengrok/pkgdef/prototype /opengrok/pkgdef/request /opengrok/run-quiet.sh /opengrok/run.bat /opengrok/run.sh /opengrok/src/.nbintdb /opengrok/src/org/opensolaris/opengrok/analysis/AnalyzerGuru.java /opengrok/src/org/opensolaris/opengrok/analysis/CompatibleAnalyser.java /opengrok/src/org/opensolaris/opengrok/analysis/Ctags.java /opengrok/src/org/opensolaris/opengrok/analysis/FileAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/Hash2TokenStream.java /opengrok/src/org/opensolaris/opengrok/analysis/HistoryAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/List2TokenStream.java /opengrok/src/org/opensolaris/opengrok/analysis/PathAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/PathTokenizer.java /opengrok/src/org/opensolaris/opengrok/analysis/TagFilter.java /opengrok/src/org/opensolaris/opengrok/analysis/archive/BZip2Analyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/archive/GZIPAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/archive/TarAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/archive/ZipAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/c/CAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/c/CSymbolTokenizer.java /opengrok/src/org/opensolaris/opengrok/analysis/c/CSymbolTokenizer.lex /opengrok/src/org/opensolaris/opengrok/analysis/c/CXref.java /opengrok/src/org/opensolaris/opengrok/analysis/c/CXref.lex /opengrok/src/org/opensolaris/opengrok/analysis/c/Consts.java /opengrok/src/org/opensolaris/opengrok/analysis/data/IgnorantAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/data/ImageAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/document/TroffAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/document/TroffFullTokenizer.java /opengrok/src/org/opensolaris/opengrok/analysis/document/TroffFullTokenizer.lex /opengrok/src/org/opensolaris/opengrok/analysis/document/TroffXref.java /opengrok/src/org/opensolaris/opengrok/analysis/document/TroffXref.lex /opengrok/src/org/opensolaris/opengrok/analysis/executables/ELFAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/executables/JarAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/executables/JavaClassAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/plain/PlainAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/plain/PlainFullTokenizer.java /opengrok/src/org/opensolaris/opengrok/analysis/plain/PlainFullTokenizer.lex /opengrok/src/org/opensolaris/opengrok/analysis/plain/PlainSymbolTokenizer.java /opengrok/src/org/opensolaris/opengrok/analysis/plain/PlainSymbolTokenizer.lex /opengrok/src/org/opensolaris/opengrok/analysis/plain/PlainXref.java /opengrok/src/org/opensolaris/opengrok/analysis/plain/PlainXref.lex /opengrok/src/org/opensolaris/opengrok/analysis/plain/XMLAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/plain/XMLXref.java /opengrok/src/org/opensolaris/opengrok/analysis/plain/XMLXref.lex /opengrok/src/org/opensolaris/opengrok/analysis/sh/Consts.java /opengrok/src/org/opensolaris/opengrok/analysis/sh/ShAnalyzer.java /opengrok/src/org/opensolaris/opengrok/analysis/sh/ShSymbolTokenizer.java /opengrok/src/org/opensolaris/opengrok/analysis/sh/ShSymbolTokenizer.lex /opengrok/src/org/opensolaris/opengrok/analysis/sh/ShXref.java /opengrok/src/org/opensolaris/opengrok/analysis/sh/ShXref.lex /opengrok/src/org/opensolaris/opengrok/history/DirectoryHistoryReader.java /opengrok/src/org/opensolaris/opengrok/history/HistoryGuru.java /opengrok/src/org/opensolaris/opengrok/history/HistoryReader.java /opengrok/src/org/opensolaris/opengrok/history/RCSHistoryReader.java /opengrok/src/org/opensolaris/opengrok/history/RCSget.java /opengrok/src/org/opensolaris/opengrok/history/SCCSHistoryReader.java /opengrok/src/org/opensolaris/opengrok/history/SCCSget.java /opengrok/src/org/opensolaris/opengrok/history/SubversionGet.java /opengrok/src/org/opensolaris/opengrok/history/SubversionHistoryReader.java /opengrok/src/org/opensolaris/opengrok/index/IgnoredNames.java /opengrok/src/org/opensolaris/opengrok/index/Index.java /opengrok/src/org/opensolaris/opengrok/index/Indexer.java /opengrok/src/org/opensolaris/opengrok/index/IndexerWizard.form /opengrok/src/org/opensolaris/opengrok/index/IndexerWizard.java /opengrok/src/org/opensolaris/opengrok/index/NullPrinter.java /opengrok/src/org/opensolaris/opengrok/index/PathIndex.java /opengrok/src/org/opensolaris/opengrok/index/Printer.java /opengrok/src/org/opensolaris/opengrok/index/StandardPrinter.java /opengrok/src/org/opensolaris/opengrok/index/StatusPrinter.java /opengrok/src/org/opensolaris/opengrok/index/step1.png /opengrok/src/org/opensolaris/opengrok/index/step2.png /opengrok/src/org/opensolaris/opengrok/index/step3.png /opengrok/src/org/opensolaris/opengrok/index/stock_stop.png /opengrok/src/org/opensolaris/opengrok/search/Hit.java /opengrok/src/org/opensolaris/opengrok/search/Results.java /opengrok/src/org/opensolaris/opengrok/search/Search.java /opengrok/src/org/opensolaris/opengrok/search/Summarizer.java /opengrok/src/org/opensolaris/opengrok/search/Summary.java /opengrok/src/org/opensolaris/opengrok/search/context/Context.java /opengrok/src/org/opensolaris/opengrok/search/context/HistoryContext.java /opengrok/src/org/opensolaris/opengrok/search/context/HistoryLineTokenizer.java /opengrok/src/org/opensolaris/opengrok/search/context/HistoryLineTokenizer.lex /opengrok/src/org/opensolaris/opengrok/search/context/LineMatcher.java /opengrok/src/org/opensolaris/opengrok/search/context/PhraseMatcher.java /opengrok/src/org/opensolaris/opengrok/search/context/PlainLineTokenizer.java /opengrok/src/org/opensolaris/opengrok/search/context/PlainLineTokenizer.lex /opengrok/src/org/opensolaris/opengrok/search/context/PrefixMatcher.java /opengrok/src/org/opensolaris/opengrok/search/context/QueryMatchers.java /opengrok/src/org/opensolaris/opengrok/search/context/SingleTokenMatcher.java /opengrok/src/org/opensolaris/opengrok/search/context/TokenSetMatcher.java /opengrok/src/org/opensolaris/opengrok/search/context/WildCardMatcher.java /opengrok/src/org/opensolaris/opengrok/search/scope/AltRenderer.java /opengrok/src/org/opensolaris/opengrok/search/scope/Config.java /opengrok/src/org/opensolaris/opengrok/search/scope/Editor.java /opengrok/src/org/opensolaris/opengrok/search/scope/EditorConfigPanel.form /opengrok/src/org/opensolaris/opengrok/search/scope/EditorConfigPanel.java /opengrok/src/org/opensolaris/opengrok/search/scope/HitTableModel.java /opengrok/src/org/opensolaris/opengrok/search/scope/IndexDatabase.java /opengrok/src/org/opensolaris/opengrok/search/scope/IndexDatabaseComboModel.java /opengrok/src/org/opensolaris/opengrok/search/scope/Main.java /opengrok/src/org/opensolaris/opengrok/search/scope/MainFrame.form /opengrok/src/org/opensolaris/opengrok/search/scope/MainFrame.java /opengrok/src/org/opensolaris/opengrok/search/scope/SearchEngine.java /opengrok/src/org/opensolaris/opengrok/search/scope/data.gif /opengrok/src/org/opensolaris/opengrok/search/scope/do.gif /opengrok/src/org/opensolaris/opengrok/search/scope/editor/EditorFrame.form /opengrok/src/org/opensolaris/opengrok/search/scope/editor/EditorFrame.java /opengrok/src/org/opensolaris/opengrok/search/scope/editor/ExternalEditor.java /opengrok/src/org/opensolaris/opengrok/search/scope/editor/InternalEditor.java /opengrok/src/org/opensolaris/opengrok/search/scope/more.gif /opengrok/src/org/opensolaris/opengrok/search/scope/p.gif /opengrok/src/org/opensolaris/opengrok/search/scope/q.gif /opengrok/src/org/opensolaris/opengrok/search/scope/stp.gif /opengrok/src/org/opensolaris/opengrok/web/DirectoryListing.java /opengrok/src/org/opensolaris/opengrok/web/EftarFile.java /opengrok/src/org/opensolaris/opengrok/web/EftarFileReader.java /opengrok/src/org/opensolaris/opengrok/web/Util.java /opengrok/src/org/opensolaris/opengrok/web/raw.java diff.jsp enoent.jsp error.jsp history.jsp list.jsp mast.jsp more.jsp rss.jsp search.jsp