New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ctags sync, part 1 #1160
Merged
Merged
Ctags sync, part 1 #1160
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
ffa09b0
ctags: Remove unused Geany-specific tagEntryInfo fields
techee 7068e7c
ctags: Remove useless Geany-specific tagEntryInfo::type field
techee f791e91
ctags: Rename Geany-specific tagEntryInfo::arglist to upstream's ::si…
techee 7b9d0dd
Make parser includes closer to uctags and sync parser license header
techee 001c7f6
Move keywordTable definition to parse.h and use it for all parsers
techee 282ed7d
Define ARRAY_SIZE() and use it instead of KIND_COUNT()
techee bf0702e
Use uctags implementation of keyword.c/h
techee 6bc5797
Don't use combination of tabs and spaces for indentation
techee ae8dc54
Add keywordTable to parserDefinition and use a common way to initiali…
techee 3dd1fb4
Rename "mio" member of sInputFile to "fp"
techee 7ac17b6
Eliminate readNextChar() and pushBackChar()
techee 1e36d23
Add separate "input" entry to sInputFile and use it
techee acdc440
Rename fileGetc() to getcFromInputFile()
techee 357e4fe
Rename fileUngetc() to ungetcToInputFile()
techee 61278d4
Rename fileSkipToCharacter() to skipToCharacterInInputFile()
techee bf2b642
Rename fileGetNthPrevC() to getNthPrevCFromInputFile()
techee bbbbb30
Rename fileReadLine() to readLineFromInputFile()
techee ba2209e
Rename readLine() to readLineRaw()
techee 781738f
Replace fileGetc() with getcFromInputFile() also in comments
techee cb1c154
Eliminate some trivial diffs in read.c
techee 0ed5c16
Rename tagEntryInfo.extensionFields.scope
techee 359c60b
Rename get.c/h to lcpp.c/h
techee 4fbd38f
Pass kind information into initTagEntry()
techee 781f4ef
Use getInputLineNumber() instead of getSourceLineNumber() in parsers
techee 8c0bfbb
Add parserNewFull() and use it for selected parsers
techee 1b32ac5
Add full xtag implementation and use it to check XTAG_QUALIFIED_TAGS
techee d440a81
Add tagRegexTable to parserDefinition and use it to define regex parsers
techee ea72ecc
Remove ctags.c and move its content to routines.c, main.c and options.c
techee 9c4c113
Remove some additional functions from ctags which we don't need in Geany
techee 7e0845b
Make PathDelimiters match the declaration in header
techee eb45c80
Always define ExecutableName variable
techee 530f475
Revert "Rename "mio" member of sInputFile to "fp""
techee 0ec3590
Remove makeSimpleScopedTag() and fix scope for conf filetype
techee 0650707
Fix pascal tag initizalization
techee 026da60
Move selected() under Miscellaneous macros
techee 11dcc5e
Fix indentation
techee 9745d47
Sync whitespace in parsers
techee 082a972
Use ARRAY_SIZE() in parsers
techee 7bd81ab
Change isLanguage() to isInputLanguage()
techee 2161b73
Change isHeaderFile() to isInputHeaderFile()
techee 76818f9
Change getSourceFileName() to getInputFileName()
techee 2671d73
Use skipToCharacterInInputFile() in all parsers
techee 1d48599
Remove R regex parser
techee 95f9462
Rename isident() to cppIsident()
techee 88a8724
Rename isident1() to cppIsident1()
techee 2638899
Rename isBraceFormat to cppIsBraceFormat()
techee 4910e25
Rename getDirectiveNestLevel() to cppGetDirectiveNestLevel()
techee d122229
Rename skipOverCComment() to cppSkipOverCComment()
techee 20ad9ad
Make getArglistFromStr() static
techee a59f82e
Rename getArglistFromFilePos() to cppGetArglistFromFilePos() to match…
techee 25c1d22
objc: Remove unnecessary redefinition of UNUSED
techee 02138f9
Rename TM_DEBUG macro to DEBUG
techee 967b572
Rename MIO variables from fp to mio
techee ca65fa2
Sync whitespace and comments in main
techee e866a97
entry: Move functions around a bit to reduce the amount of diffs
techee 0eca258
Fix incorrect use of MIO
techee d0cc3dc
Remove TagEntryFunction check in c.c
techee a974f35
Define KEYWORD_NONE in keyword.h so it doesn't have to be defined by …
techee b7f7ce2
Drop vi modelines
techee cb7da79
Add CTAGS_ATTR_ prefix to UNUSED() and PRINTF() macros
techee 1e14667
Don't compare foreign values to enumeration type
techee f511787
Add missing prototypes
techee 63c054a
#if 0 currently unused code to avoid compiler warning
techee File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* Copyright (c) 2002, Darren Hiebert | ||
* | ||
* This source code is released for free distribution under the terms of the | ||
* GNU General Public License version 2 or (at your option) any later version. | ||
* | ||
* External interface to routines.c | ||
*/ | ||
#ifndef CTAGS_MAIN_ROUTINES_H | ||
#define CTAGS_MAIN_ROUTINES_H | ||
|
||
/* | ||
* INCLUDE FILES | ||
*/ | ||
#include "general.h" /* must always come first */ | ||
|
||
#include <stdio.h> | ||
|
||
#include "mio.h" | ||
|
||
/* | ||
* MACROS | ||
*/ | ||
#define ARRAY_SIZE(X) (sizeof (X) / sizeof (X[0])) | ||
|
||
#endif /* CTAGS_MAIN_ROUTINES_H */ | ||
|
||
/* vi:set tabstop=4 shiftwidth=4: */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't these have been in 7b9d0dd?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes but I didn't notice it at that point (abaqus isn't in uctags so I didn't see the diff). I'd prefer not having to manipulate the history because of this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nah doesn't matter