Searched defs:history (Results 1 - 25 of 68) sorted by relevance

123

/opengrok/src/org/opensolaris/opengrok/history/
H A DHistoryReader.java24 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 DAccuRevHistoryParser.java23 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 DClearCaseHistoryParser.java20 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 DHistoryException.java25 package org.opensolaris.opengrok.history;
28 * Exception thrown when retrieval or manipulation of history information
H A DSCCSget.java24 package org.opensolaris.opengrok.history;
H A DBazaarTagEntry.java23 package org.opensolaris.opengrok.history;
H A DGitTagEntry.java23 package org.opensolaris.opengrok.history;
H A DMercurialTagEntry.java23 package org.opensolaris.opengrok.history;
H A DCVSHistoryParser.java23 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 DHistoryCache.java23 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 DDirectoryHistoryReader.java23 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 DRCSHistoryParser.java23 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 DSSCMHistoryParser.java23 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 DGitHistoryParser.java23 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 DRCSget.java24 package org.opensolaris.opengrok.history;
H A DBazaarHistoryParser.java23 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 DMonotoneHistoryParser.java24 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 DSCCSRepositoryTest.java25 package org.opensolaris.opengrok.history;
H A DBazaarHistoryParserTest.java24 package org.opensolaris.opengrok.history;
76 assertTrue("Should not contain any history entries", 0 == result.getHistoryEntries().size());
H A DCVSHistoryParserTest.java23 package org.opensolaris.opengrok.history;
68 assertTrue("Should not contain any history entries", 0 == result.getHistoryEntries().size());
H A DClearCaseHistoryParserTest.java24 package org.opensolaris.opengrok.history;
H A DRazorHistoryParserTest.java25 package org.opensolaris.opengrok.history;
H A DSCCSgetTest.java25 package org.opensolaris.opengrok.history;
H A DSSCMHistoryParserTest.java23 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 DToolBarControl.java24 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);

Completed in 37 milliseconds

123