Colomban Wendling
095d889582
VTE: Fix crash when trying to change VTE directory at startup
...
2150302fe6e88f88e5eba78502b478be2b78c662 introduced a bug, because
configuration_load_session_files() calls VTE code if vte_info.have_vte
is non-FALSE, before vte_init() has been called. So, it relied in the
implicit 0-initialization of the vte_info global, which the above
commit changed carelessly.
So, instead of altering vte_info.have_vte early, add a specific flag
for whether VTE is disabled on the command line.
Also, explicitly initialize vte_info to suggest to the reader the
default values does matter.
2016-08-22 20:03:18 +02:00
Jiří Techet
cb7da79824
Add CTAGS_ATTR_ prefix to UNUSED() and PRINTF() macros
...
Also fix the macro use in objc.c to appear behind variables.
2016-08-22 14:54:19 +02:00
Colomban Wendling
d3b0bbec26
Merge pull request #1154 from b4n/lines-around-scroll
...
Add support for keeping the cursor a number of lines from the edges
2016-08-21 13:56:25 +02:00
Colomban Wendling
a4a4accc42
Add support for keeping the cursor a number of lines from the edges
...
Closes #1152 .
2016-08-21 13:56:04 +02:00
Colomban Wendling
c5d409340b
Merge pull request #1174 from b4n/escape-markup
...
Escape format arguments passed to ui_label_set_markup(), and deprecate
ui_frame_new_with_alignment() which exposed a broken API because of it.
2016-08-20 19:58:42 +02:00
Colomban Wendling
42c02db149
Merge pull request #1155 from b4n/cxx-check
...
Test whether the C++ compiler works by compiling a test program
2016-08-20 19:55:26 +02:00
Colomban Wendling
5002f92dc6
Merge pull request #651 from b4n/vte-in-various-prefs
...
Show some hidden VTE preferences in the Various preferences page
2016-08-20 01:48:43 +02:00
Colomban Wendling
2150302fe6
VTE: Don't show the various settings when VTE is disabled on the CLI
2016-08-20 01:47:30 +02:00
Colomban Wendling
29bffe6923
Deprecate ui_frame_new_with_alignment()
...
It has no usage inside Geany itself, had a bug in handling of markup
in the label, has only one user in Geany-Plugins, and is fairly easy
to reproduce.
2016-08-19 21:39:48 +02:00
Jiří Techet
b7f7ce2675
Drop vi modelines
2016-08-19 15:16:32 +01:00
Jiří Techet
a974f35752
Define KEYWORD_NONE in keyword.h so it doesn't have to be defined by parsers
2016-08-16 13:18:50 +01:00
Jiří Techet
d0cc3dc132
Remove TagEntryFunction check in c.c
...
It's always non-null in Geany, it's value is checked in makeTagEntry()
anyway and parsers shouldn't know about it.
2016-08-10 11:55:02 +02:00
Colomban Wendling
2499b96ea1
Escape format arguments passed to ui_label_set_markup()
2016-08-10 03:00:56 +02:00
Colomban Wendling
0c01192a31
search: Fix the tooltip to mention Perl-like, not PCRE regular expressions
...
Follow-up to #1168 .
Closes #1170 .
2016-08-10 02:49:52 +02:00
Stefan
fa699cc4c9
Fixes spelling mistake in German translation for geany.glade.h:425. ( #1167 )
2016-08-09 07:32:18 +02:00
Jiří Techet
0eca258e58
Fix incorrect use of MIO
2016-08-09 00:34:29 +02:00
Jiří Techet
e866a976c9
entry: Move functions around a bit to reduce the amount of diffs
2016-08-08 23:01:14 +02:00
Colomban Wendling
c354384c3a
search: Fix the tooltip to mention PCRE, not POSIX regular expressions
2016-08-08 21:39:51 +02:00
Jiří Techet
ca65fa2236
Sync whitespace and comments in main
2016-08-07 18:31:30 +02:00
Jiří Techet
967b572240
Rename MIO variables from fp to mio
2016-08-07 18:31:30 +02:00
Jiří Techet
02138f9e59
Rename TM_DEBUG macro to DEBUG
2016-08-07 18:31:30 +02:00
Jiří Techet
25c1d220cf
objc: Remove unnecessary redefinition of UNUSED
2016-08-07 18:31:30 +02:00
Jiří Techet
a59f82ec69
Rename getArglistFromFilePos() to cppGetArglistFromFilePos() to match the rest
2016-08-07 18:31:30 +02:00
Jiří Techet
20ad9ad428
Make getArglistFromStr() static
2016-08-07 18:31:30 +02:00
Jiří Techet
d122229902
Rename skipOverCComment() to cppSkipOverCComment()
2016-08-07 18:31:30 +02:00
Jiří Techet
4910e2554b
Rename getDirectiveNestLevel() to cppGetDirectiveNestLevel()
2016-08-07 18:31:30 +02:00
Jiří Techet
2638899379
Rename isBraceFormat to cppIsBraceFormat()
2016-08-07 18:31:30 +02:00
Jiří Techet
88a8724d1c
Rename isident1() to cppIsident1()
2016-08-07 18:31:30 +02:00
Jiří Techet
95f94629f0
Rename isident() to cppIsident()
2016-08-07 18:31:30 +02:00
Jiří Techet
1d48599d3c
Remove R regex parser
...
Unused by us, not present in uctags.
2016-08-07 18:31:30 +02:00
Jiří Techet
2671d73b67
Use skipToCharacterInInputFile() in all parsers
2016-08-07 18:31:30 +02:00
Jiří Techet
76818f9439
Change getSourceFileName() to getInputFileName()
2016-08-07 18:31:25 +02:00
Jiří Techet
2161b73864
Change isHeaderFile() to isInputHeaderFile()
2016-08-07 18:22:49 +02:00
Jiří Techet
7bd81abc1d
Change isLanguage() to isInputLanguage()
2016-08-07 02:15:12 +02:00
Jiří Techet
082a9724f1
Use ARRAY_SIZE() in parsers
2016-08-07 02:01:38 +02:00
Jiří Techet
9745d470c6
Sync whitespace in parsers
2016-08-07 02:01:33 +02:00
Jiří Techet
11dcc5e3e5
Fix indentation
2016-08-06 22:42:37 +02:00
Jiří Techet
026da60fd0
Move selected() under Miscellaneous macros
2016-08-06 22:42:15 +02:00
Jiří Techet
0650707ce5
Fix pascal tag initizalization
2016-08-06 22:06:41 +02:00
Jiří Techet
0ec3590e19
Remove makeSimpleScopedTag() and fix scope for conf filetype
2016-08-06 22:01:05 +02:00
Jiří Techet
530f47584a
Revert "Rename "mio" member of sInputFile to "fp""
...
Let's rename fp to mio in uctags instead.
This reverts commit 3dd1fb4853952d8fd80963952a03299e9b2c8012.
Conflicts:
ctags/main/read.c
ctags/main/read.h
2016-08-06 16:34:37 +02:00
Jiří Techet
eb45c80058
Always define ExecutableName variable
2016-08-03 12:21:51 +02:00
Jiří Techet
7e0845b083
Make PathDelimiters match the declaration in header
2016-08-03 12:20:57 +02:00
Jiří Techet
9c4c113488
Remove some additional functions from ctags which we don't need in Geany
...
These are useless for Geany and introduce some compilation errors at the
moment so drop them for now.
2016-08-03 12:00:14 +02:00
Jiří Techet
ea72ecc00f
Remove ctags.c and move its content to routines.c, main.c and options.c
...
This is mostly just moving code with just some minor modifications:
- removal of code of unsupported platforms (VAX, OS2, etc.)
- syncing includes/headers of affected files with uctags
- removal of some functions we don't need in Geany and whose movement
would require additional changes (those will get added back when
doing final sync with uctags)
- minor whitespace syncs
2016-08-03 00:27:22 +02:00
Jiří Techet
d440a81166
Add tagRegexTable to parserDefinition and use it to define regex parsers
...
Also whitespace-format regexes so they match uctags.
2016-08-01 23:48:06 +02:00
Jiří Techet
1b32ac5481
Add full xtag implementation and use it to check XTAG_QUALIFIED_TAGS
2016-08-01 18:58:27 +02:00
Jiří Techet
8c0bfbb0f3
Add parserNewFull() and use it for selected parsers
...
For now just to eliminate diff from parsers, the actual custom file tag
isn't supported (unused by Geany anyway).
2016-08-01 18:33:21 +02:00
Jiří Techet
781f4ef1ca
Use getInputLineNumber() instead of getSourceLineNumber() in parsers
...
We want the line number of the tag appearance, not the line after
#line directives are processed.
2016-08-01 01:34:50 +02:00
Jiří Techet
4fbd38f690
Pass kind information into initTagEntry()
...
The usage in lregex is hacky (casting const char * to char *) but it's
the quickest way to implement it right now (the question is whether
we shouldn't revert back to POSIX regex and simply use the uctags
implementation).
2016-08-01 00:43:18 +02:00