Searched refs:history (Results 1 - 25 of 151) sorted by relevance

1234567

/opengrok/test/org/opensolaris/opengrok/condition/
H A DRepositoryInstalled.java25 import org.opensolaris.opengrok.history.BazaarRepository;
26 import org.opensolaris.opengrok.history.CVSRepository;
27 import org.opensolaris.opengrok.history.GitRepository;
28 import org.opensolaris.opengrok.history.MercurialRepository;
29 import org.opensolaris.opengrok.history.PerforceRepository;
30 import org.opensolaris.opengrok.history.Repository;
31 import org.opensolaris.opengrok.history.SubversionRepository;
/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 DHistoryException.java25 package org.opensolaris.opengrok.history;
28 * Exception thrown when retrieval or manipulation of history information
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 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 DRepository.java23 package org.opensolaris.opengrok.history;
69 * @return {@code true} if the repository can get history for directories
74 * Get the history log for the specified file or directory.
76 * @param file the file to get the history for
77 * @return history log for file
78 * @throws HistoryException on error accessing the history
84 * Get the history after a specified revision.
88 * The default implementation first fetches the full history and then throws
95 * @param file the file to get the history for
97 * or {@code null} to return the full history
[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 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 DPerforceHistoryParser.java24 package org.opensolaris.opengrok.history;
40 * Parse source history for a Perforce Repository
47 * Parse the history for the specified file.
49 * @param file the file to parse history for
51 * @return object representing the file's history
55 History history;
63 history = parseDirectory(file);
65 history = getRevisions(file, null);
70 return history;
101 * Parses the history i
[all...]
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 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 DFileHistoryCache.java24 package org.opensolaris.opengrok.history;
60 * Class representing file based storage of per source file history.
82 * Generate history for single file.
83 * @param map_entry entry mapping filename to list of history entries
99 * This ensures that their complete history (follow) will be
109 // File based history cache does not store files for individual
115 // add all history entries
136 Repository repository, History history) throws IOException {
143 return (history.isRenamed(shortestfile));
175 * @return file that might contain cached history fo
134 isRenamedFile(Map.Entry<String, List<HistoryEntry>> map_entry, RuntimeEnvironment env, Repository repository, History history) argument
326 store(History history, Repository repository) argument
[all...]
H A DSCCSget.java24 package org.opensolaris.opengrok.history;
H A DSCCSHistoryParser.java23 package org.opensolaris.opengrok.history;
43 * Reads and filters out junk from a SCCS history file
46 * taking a lot of time. Time to index history has reduced 4 to 1!
100 History history = new History();
101 history.setHistoryEntries(entries);
102 return history;
H A DJDBCHistoryCache.java23 package org.opensolaris.opengrok.history;
181 * Check whether this cache implementation can store history for the given
182 * repository. Only repositories that support retrieval of history for the
265 // retrieval of history in reverse chronological order.
537 * Statement that gets the history for the specified file and repository.
547 * Statement that gets the history for all files matching a pattern in the
625 // Fetch history for all files under this directory.
629 // Fetch history for a single file only.
669 History history = new History();
670 history
691 store(History history, Repository repository) argument
742 storeHistory(final ConnectionResource conn, History history, final Repository repository) argument
1080 getAuthors( ConnectionResource conn, History history, int reposId) argument
1120 getFilesAndDirectories( ConnectionResource conn, History history, int reposId, Map<String, Integer> dirMap, Map<String, Integer> fileMap) argument
[all...]
/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);
/opengrok/test/org/opensolaris/opengrok/history/
H A DPerforceRepositoryTest.java23 package org.opensolaris.opengrok.history;
94 History history = instance.getHistory(f);
95 assertNotNull("Failed to get history for: " + f.getAbsolutePath(), history);
97 for (HistoryEntry entry : history.getHistoryEntries()) {
H A DSCCSRepositoryTest.java25 package org.opensolaris.opengrok.history;
H A DJDBCHistoryCacheTest.java24 package org.opensolaris.opengrok.history;
86 // Mercurial parser needs to know if the history is stored in DB.
201 // test get history for single file
228 // test get history for renamed file
239 // test get history for directory
293 History history = repos.getHistory(reposRoot);
294 cache.store(history, repos);
297 List<HistoryEntry> entries = history.getHistoryEntries();
301 assertTrue("Unexpected order of history entries",
327 // None of the repositories should have any history
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/c/
H A DCAnalyzerFactory.java34 import org.opensolaris.opengrok.history.Annotation;
/opengrok/src/org/opensolaris/opengrok/analysis/csharp/
H A DCSharpAnalyzerFactory.java34 import org.opensolaris.opengrok.history.Annotation;

Completed in 87 milliseconds

1234567