/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | HistoryReader.java | 24 package org.opensolaris.opengrok.history; 33 * Class for reading history entries in a way suitable for indexing by Lucene. 40 HistoryReader(History history) { argument 41 entries = history.getHistoryEntries();
|
H A D | AccuRevHistoryParser.java | 23 package org.opensolaris.opengrok.history; 42 * Parse source history for a AccuRev Repository 51 private History history; field in class:AccuRevHistoryParser 55 * Parse the history for the specified file. 57 * @param file the file to parse history for 59 * @return object representing the file's history 66 history = null; 73 * workarea, no history is available, create fake. 82 history = new History(entries); 93 * Try again because there was no 'keep' history [all...] |
H A D | ClearCaseHistoryParser.java | 20 package org.opensolaris.opengrok.history; 45 private History history; field in class:ClearCaseHistoryParser 55 throw new HistoryException("Failed to get history for: \"" + 59 return history; 61 throw new HistoryException("Failed to get history for: \"" + 68 * into the history field. 83 // skip this history entry 123 history = new History(); 124 history.setHistoryEntries(entries); 131 * @return The parsed history [all...] |
H A D | HistoryException.java | 25 package org.opensolaris.opengrok.history; 28 * Exception thrown when retrieval or manipulation of history information
|
H A D | SCCSget.java | 24 package org.opensolaris.opengrok.history;
|
H A D | BazaarTagEntry.java | 23 package org.opensolaris.opengrok.history;
|
H A D | GitTagEntry.java | 23 package org.opensolaris.opengrok.history;
|
H A D | MercurialTagEntry.java | 23 package org.opensolaris.opengrok.history;
|
H A D | CVSHistoryParser.java | 23 package org.opensolaris.opengrok.history; 52 private History history; field in class:CVSHistoryParser 57 * into the history field. 69 history = new History(); 153 history.setHistoryEntries(entries); 157 * Parse the history for the specified file. 159 * @param file the file to parse history for 161 * @return object representing the file's history 170 throw new HistoryException("Failed to get history for: \"" + 174 throw new HistoryException("Failed to get history fo [all...] |
H A D | HistoryCache.java | 23 package org.opensolaris.opengrok.history; 31 * Create and initialize an empty history cache if one doesn't exist 39 * Check whether this cache implementation can store history for the given 43 * @return {@code true} if this cache implementation can store history 49 * Retrieve the history for the given file, either from the cache or by 50 * parsing the history information in the repository. 52 * @param file The file to retrieve history for 54 * @param repository The external repository to read the history from (can 56 * @param withFiles A flag saying whether or not the returned history 60 * @throws HistoryException if the history canno 72 store(History history, Repository repository) argument [all...] |
H A D | DirectoryHistoryReader.java | 23 package org.opensolaris.opengrok.history; 57 * Generate SCM history for directory by using the Index database. (Please note 61 * The sole purpose of this class is to produce history for generating RSS feed 82 History history; // set in the constructor field in class:DirectoryHistoryReader 85 * The main task of this method is to produce list of history entries for 86 * the specified directory and store them in @code history. This is done by 90 * @param path directory to generate history for 150 "An error occured while getting history reader", e); 155 // Put all history entries for this file into the giant hash. 162 // Now go through the giant hash and produce history entrie [all...] |
H A D | RCSHistoryParser.java | 23 package org.opensolaris.opengrok.history; 92 History history = new History(); 93 history.setHistoryEntries(entries); 94 return history; 101 private void traverse(Node n, List<HistoryEntry> history) { argument 105 traverse(n.getChild(), history); 110 traverse(b, history); 120 history.add(entry);
|
H A D | SSCMHistoryParser.java | 23 package org.opensolaris.opengrok.history; 66 private History history; field in class:SSCMHistoryParser 69 * Process the output from the history command and insert the HistoryEntries 70 * into the history field. 78 history = new History(); 114 // We're only interested in history entries that change file content 144 history.setHistoryEntries(entries); 153 throw new HistoryException("Failed to get history for: \"" 157 throw new HistoryException("Failed to get history for: \"" 161 return history; [all...] |
H A D | GitHistoryParser.java | 23 package org.opensolaris.opengrok.history; 54 private History history; field in class:GitHistoryParser 59 * into the history field. 76 history = new History(); 142 history.setHistoryEntries(entries); 146 * Parse the history for the specified file. 148 * @param file the file to parse history for 152 * @return object representing the file's history 162 throw new HistoryException("Failed to get history for: \"" + 166 throw new HistoryException("Failed to get history fo [all...] |
H A D | RCSget.java | 24 package org.opensolaris.opengrok.history;
|
H A D | BazaarHistoryParser.java | 23 package org.opensolaris.opengrok.history; 65 throw new HistoryException("Failed to get history for: \"" + 69 throw new HistoryException("Failed to get history for: \"" + 86 * into the history field. 136 "Failed to parse history timestamp:" + s, e); 186 * @return The parsed history
|
H A D | MonotoneHistoryParser.java | 24 package org.opensolaris.opengrok.history; 45 * Class used to parse the history log from Monotone 63 * Parse the history for the specified file or directory. If a changeset is 64 * specified, only return the history from the changeset right after the 67 * @param file the file or directory to get history for 70 * @return history for the specified file or directory 71 * @throws HistoryException if an error happens when parsing the history 79 throw new HistoryException("Failed to get history for: \"" + 83 throw new HistoryException("Failed to get history for: \"" + 92 * into the history fiel [all...] |
/opengrok/test/org/opensolaris/opengrok/history/ |
H A D | SCCSRepositoryTest.java | 25 package org.opensolaris.opengrok.history;
|
H A D | BazaarHistoryParserTest.java | 24 package org.opensolaris.opengrok.history; 76 assertTrue("Should not contain any history entries", 0 == result.getHistoryEntries().size());
|
H A D | CVSHistoryParserTest.java | 23 package org.opensolaris.opengrok.history; 68 assertTrue("Should not contain any history entries", 0 == result.getHistoryEntries().size());
|
H A D | ClearCaseHistoryParserTest.java | 24 package org.opensolaris.opengrok.history;
|
H A D | RazorHistoryParserTest.java | 25 package org.opensolaris.opengrok.history;
|
H A D | SCCSgetTest.java | 25 package org.opensolaris.opengrok.history;
|
H A D | SSCMHistoryParserTest.java | 23 package org.opensolaris.opengrok.history; 75 assertTrue("Should not contain any history entries", 0 == result.getHistoryEntries().size()); 85 // This is the new line that is generated by sscm (2011) history command 121 assertTrue("Should contain four history entries", 4 == result.getHistoryEntries().size());
|
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/ui/ |
H A D | ToolBarControl.java | 24 private List<String> history = new ArrayList<String>(); field in class:ToolBarControl 65 if (historyIndex > history.size()) { 66 historyIndex = history.size(); 68 if (historyIndex >= 0 && history.size() >= historyIndex) { 69 searchBox.setText(history.get(historyIndex - 1)); 78 else if (history.size() > historyIndex) { 79 searchBox.setText(history.get(historyIndex)); 101 history.add(0, text);
|