/opengrok-sun/src/org/opensolaris/opengrok/history/ |
H A D | RepositoryFactory.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 76 * Returns a repository for the given file, or null if no repository was found. 78 * @param file File that might contain a repository 79 * @return Correct repository for the given file 81 public static Repository getRepository(File file) throws InstantiationException, IllegalAccessException { argument 85 if (rep.isRepositoryFor(file)) { 88 res.setDirectoryName(file [all...] |
H A D | SCCSget.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 35 public static InputStream getRevision(String command, File file, String revision) throws IOException { argument 44 argv.add(file.getCanonicalPath());
|
H A D | AccuRevHistoryParser.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 51 * Parse the history for the specified file. 53 * @param file the file to parse history for 55 * @return object representing the file's history 58 History parse(File file, Repository repos) throws HistoryException { argument 65 String relPath = repository.getDepotRelativePath(file); [all...] |
H A D | BazaarHistoryParser.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 55 History parse(File file, String sinceRevision) throws HistoryException { argument 57 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision); 62 file.getAbsolutePath() + "\" Exit code: " + status); 66 file.getAbsolutePath() + "\"", e);
|
H A D | ClearCaseHistoryParser.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 44 History parse(File file, Repository repos) throws HistoryException { argument 47 Executor executor = repository.getHistoryLogExecutor(file); 52 file.getAbsolutePath() + "\" Exit code: " + status); 58 file.getAbsolutePath() + "\"", e);
|
H A D | MercurialHistoryParser.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 60 * Parse the history for the specified file or directory. If a changeset is 64 * @param file the file or directory to get history for 67 * @return history for the specified file or directory 70 History parse(File file, String changeset) throws HistoryException { argument 72 Executor executor = repository.getHistoryLogExecutor(file, changese [all...] |
H A D | MonotoneHistoryParser.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 59 * Parse the history for the specified file or directory. If a changeset is 63 * @param file the file or directory to get history for 66 * @return history for the specified file or directory 69 History parse(File file, String changeset) throws HistoryException { argument 71 Executor executor = repository.getHistoryLogExecutor(file, changese [all...] |
H A D | RCSget.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 47 public RCSget(String file, String version) throws IOException, FileNotFoundException { argument 49 Archive archive = new Archive(file); 67 throw RCSRepository.wrapInIOException("Invalid RCS file format", e);
|
H A D | CVSHistoryParser.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 153 * Parse the history for the specified file. 155 * @param file the file to parse history for 157 * @return object representing the file's history 159 History parse(File file, Repository repos) throws HistoryException { argument 162 Executor executor = repository.getHistoryLogExecutor(file); [all...] |
H A D | HistoryCache.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 50 * Retrieve the history for the given file, either from the cache or by 53 * @param file The file to retrieve history for 59 * the implementation is allowed to skip the file list, but it doesn't 63 History get(File file, Repository repository, boolean withFiles) argument 115 * @return a map from file name [all...] |
H A D | RCSHistoryParser.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 44 * Virtualise RCS file as a reader, getting a specified version 72 History parse(File file, Repository repos) throws HistoryException { argument 74 return parseFile(file); 80 private History parseFile(File file) throws IOException { argument 82 Archive archive = new Archive(getRCSFile(file).getPath()); 95 "Could not parse file " 122 getRCSFile(File file) argument 158 readFirstLine(File file) argument [all...] |
H A D | RazorHistoryParser.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 56 History parse(File file, Repository repos) throws HistoryException { argument 58 return parseFile(file, repos); 64 private History parseFile(File file, Repository repos) argument 68 File mappedFile = repository.getRazorHistoryFileFor(file); 69 parseDebug("Mapping " + file.getPath() + " to '" + mappedFile.getPath() + "'");
|
H A D | GitHistoryParser.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 131 // If the file is not located under the source root, 147 * Parse the history for the specified file. 149 * @param file the file to parse history for 151 * @return object representing the file's history 153 History parse(File file, Repositor argument [all...] |
H A D | PerforceHistoryParser.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 48 * Parse the history for the specified file. 50 * @param file the file to parse history for 52 * @return object representing the file's history 55 History parse(File file, Repository repos) throws HistoryException { argument 58 if (!PerforceRepository.isInP4Depot(file)) { 74 parseDirectory(File file) argument 86 getRevisions(File file, String rev) argument [all...] |
H A D | PerforceRepository.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 63 public Annotation annotate(File file, String rev) throws IOException { argument 64 Annotation a = new Annotation(file.getName()); 67 PerforceHistoryParser.getRevisions(file, rev).getHistoryEntries(); 79 cmd.add(file.getPath() + ((rev == null) ? "" : "#" + rev)); 81 Executor executor = new Executor(cmd, file.getParentFile()); 103 "Error: Could not read annotations for " + file, 137 fileHasHistory(File file) argument 142 fileHasAnnotation(File file) argument 155 isInP4Depot(File file) argument 193 isRepositoryFor(File file) argument 212 getHistory(File file) argument [all...] |
H A D | RCSRepository.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 51 boolean fileHasHistory(File file) { argument 52 return getRCSFile(file) != null; 58 File file = new File(parent, basename); 59 File rcsFile = getRCSFile(file); 69 boolean fileHasAnnotation(File file) { argument 70 return fileHasHistory(file); 74 annotate(File file, String revision) argument 79 annotate(File file, String revision, File rcsFile) argument 124 isRepositoryFor(File file) argument 137 getRCSFile(File file) argument 150 getHistory(File file) argument [all...] |
H A D | RepoRepository.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 73 boolean isRepositoryFor(File file) { argument 74 if (file.isDirectory()) { 75 File f = new File(file, ".repo"); 87 boolean fileHasHistory(File file) { argument 97 History getHistory(File file) { argument 107 boolean fileHasAnnotation(File file) { argument 112 annotate(File file, String revision) argument [all...] |
/opengrok-sun/src/org/opensolaris/opengrok/index/ |
H A D | IgnoredNames.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 28 * This class maintains a list of file names (like "cscope.out"), SRC_ROOT 29 * relative file paths (like "usr/src/uts" or "usr/src/Makefile"), and glob 84 * Should the file be ignored or not? 85 * @param file the file to check 86 * @return true if this file shoul 88 ignore(File file) argument [all...] |
/opengrok-sun/src/org/opensolaris/opengrok/analysis/sql/ |
H A D | Consts.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 52 private static void populateKeywordSet(Set<String> set, String file) argument 58 Consts.class.getResourceAsStream(file), "US-ASCII"));
|
H A D | PLSQLConsts.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 53 private static void populateKeywordSet(Set<String> set, String file) argument 59 Consts.class.getResourceAsStream(file), "US-ASCII"));
|
/opengrok-sun/src/org/opensolaris/opengrok/analysis/vb/ |
H A D | Consts.java | 4 * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
12 * file and include the License file at LICENSE.txt.
53 private static void populateKeywordSet(Set<String> set, String file)
argument 58 Consts.class.getResourceAsStream(file), "US-ASCII"));
|
/opengrok-sun/src/org/opensolaris/opengrok/web/ |
H A D | DiffData.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 30 * for a certain versioned file. 37 /** the directory which contains the given file wrt. to the source root 51 /** the content of the original and new file line-by-line corresponding 53 public String[][] file; field in class:DiffData
|
/opengrok-sun/src/org/opensolaris/opengrok/configuration/ |
H A D | Project.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 90 * It seems that you should ALWAYS prefix the path with current file.separator , current environment should always have it set up 119 * Get the project for a specific file 120 * @param path the file to lookup (relative from source root) 121 * @return the project that this file belongs to (or null if the file 142 * Get the project for a specific file 147 getProject(File file) argument [all...] |
/opengrok-sun/src/org/opensolaris/opengrok/management/ |
H A D | OGAgent.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 70 private static boolean loadProperties(File file, InputStream in, Properties props) { argument 74 if (file != null) { 75 stream = new FileInputStream(file); 96 File file = new File("/etc/opengrok/opengrok.properties"); 97 if (file.exists()) { 98 success = loadProperties(file, nul [all...] |
/opengrok-sun/src/org/opensolaris/opengrok/analysis/ |
H A D | Ctags.java | 4 * The contents of this file are subject to the terms of the 6 * You may not use this file except in compliance with the License. 12 * file and include the License file at LICENSE.txt. 85 command.add("--file-scope=yes"); 141 public Definitions doCtags(String file) throws IOException { argument 159 if (file.length() > 0 && !"\n".equals(file)) { 160 //log.fine("doing >" + file + "<"); 161 ctagsIn.write(file); [all...] |