- 04 Mar, 2016 1 kayıt (commit)
-
-
Colomban Wendling yazdı
Used only in static functions so no API change.
-
- 28 Şub, 2016 1 kayıt (commit)
-
-
Colomban Wendling yazdı
-
- 26 Şub, 2016 2 kayıt (commit)
-
-
Jiří Techet yazdı
-
Jiří Techet yazdı
At the moment the Geany code uses arbitrary combination of the following synonyms TM_PARSER_NONE / LANG_IGNORE / -2 TM_PARSER_AUTO / LANG_AUTO / -1 Especially using just the numbers makes things very confusing. In the Geany code this patch replaces all occurrences of -2 and LANG_IGNORE with TM_PARSER_NONE. It also removes LANG_IGNORE from the header which isn't needed any more. In addition, TM_PARSER_AUTO/LANG_AUTO shouldn't be used at all. We want filetype detection based on Geany's definitions and not based on the hard-coded ctags definitions. Remove it completely. Finally, as it's clearer now what the constants mean, the patch fixes the implementation of langs_compatible() (tag or file can never be of type AUTO but we should rather check for NONE filetypes which we should consider incompatible between each other).
-
- 17 Şub, 2016 1 kayıt (commit)
-
-
Jiří Techet yazdı
For users a tag is <this> so the naming can be confusing. The only exception where we probably shouldn't use the word symbol is the "tags file" (*.tags) containing global tags - this has already the "tags" extension and is more related to ctags and using "symbols file" is a bit strange in this case. As a result, the only places where this patch leaves the word "tag" are: * phrase "tags file(s)" * phrase "tags parser(s)" * documentation mentioning the "tags" directory * documentation mentioning the *.tags extension and of course where it means the HTML/XML markup <thing>. The rest of the uses of the word "tag" is replaced with "symbol". Documentation is updated accordingly. Fixes #579.
-
- 07 Şub, 2016 1 kayıt (commit)
-
-
Thomas Martitz yazdı
-
- 11 Ock, 2016 1 kayıt (commit)
-
-
Jiří Techet yazdı
Both sorting by name and appearance makes sense for most languages. Some users may prefer sorting by appearance so make it configurable in preferences (the possibility to override the settings for specific filetypes is preserved). Thanks to Colomban Wendling for lots of improvements of this patch. Fixes #313.
-
- 28 Haz, 2015 1 kayıt (commit)
-
-
Enrico Tröger yazdı
-
- 15 Haz, 2015 1 kayıt (commit)
-
-
Jiří Techet yazdı
This adds a "Filetype Configuration" under Tools->Configuration Files with all filetype configuration files (grouped by language type). This patch mostly reuses the stuff we already have in Geany - the menu creation code from Document->Set Filetype, file creation in the .config directory if it doesn't exist (similarly to filetypes.common) and config file reloading when the file gets updated.
-
- 10 Nis, 2015 1 kayıt (commit)
-
-
Colomban Wendling yazdı
This makes it easier to define it consistently to what the compiler and platform supports, and avoids having to include a special header everywhere, which is some kind of a problem for separate libraries like TagManager and especially Scintilla. As we only use these macros from the source and not the headers, it is fine for it to be defined to a configure-time check from the build system. Warning: Although Waf and Windows makefiles are updated they are not tested an will probably required tuning.
-
- 15 Mar, 2015 1 kayıt (commit)
-
-
Beng Tan yazdı
Using erlang.c from fishman/ctags.
-
- 10 Mar, 2015 1 kayıt (commit)
-
-
Matthew Brush yazdı
Adds a new header `pluginexport.h` to put the macros in, could be moved into an existing header (support.h?) by I didn't want to drag a bunch of existing stuff into the source files for this one macro. TagManager has relative include, this could be fixed by changing the include directories for it if it's a problem. Mark the Scintilla functions exported by re-declaring them in sciwrappers.c with the attribute to avoid changing upstream Scintilla code.
-
- 30 Kas, 2014 1 kayıt (commit)
-
-
Jiří Techet yazdı
Make go one of the builtin filetypes, add the parser and update the related source and config files. While there, remove Rust from [Groups] in filetype_extensions.conf because it's already a builtin filetype as well. The parser itself is stolen from the fishman/ctags repo.
-
- 26 Kas, 2014 1 kayıt (commit)
-
-
Mark Dresselhaus yazdı
imported lexer from Scintilla and added coffeescript filetype
-
- 24 Haz, 2014 1 kayıt (commit)
-
-
Colomban Wendling yazdı
Having a string literal allows the compiler to check the arguments match the format, so avoid passing non-literal whenever possible.
-
- 21 May, 2014 2 kayıt (commit)
-
-
Matthew Brush yazdı
This is a mega-commit - because most of it had to be done in one go otherwise some commits would fail to compile - that attempts to fix a few problems with Geany's includes as well as various other related cleanups. After this change it's easier to use includes and there's little worry about which order things are included in or who includes what. Overview of changes: * Include config.h at the start of each source file if HAVE_CONFIG_H is defined (and never in headers). * Go through each source file and make the includes section generally like this: - Always config.h first as above - Then if the file has a header with the same name, include that - Then include in alphabetical order each other internal/geany header. - Then include standard headers - Then include non-standard system headers - Then include GLib/GTK+ related stuff * Doing as above makes it easier to find implicit header include dependencies and it exposed quite a few weird problems with includes or forward declarations, fix those. * Make geany.h contain not much besides some defines. - Add a little header file "app.h" for GeanyApp and move it there - Move "app" global to new "app.h" file - Move "ignore_callback" global to "callbacks.h" - Move "geany_object" global to "geanyobject.h" * Add an include in "geany.h" for "app.h" since GeanyApp used to be defined there and some plugins included this header to access GeanyApp. * Include "gtkcompat.h" everywhere instead of gtk/gtk.h so that everywhere sees the same definitions (not a problem in practice AFAIK so this could be changed back if better that way. * Remove forward declarations from previous commits as some people apparently consider this bad style, despite that it reduces inter- header dependencies. TODO: * As always, to test on win32 * As always, to test with not Autotools * Test plugins better, both builtin and geany-plugins, likely API/ABI bump * Test with various defines/flags that may change what is included * win32.[ch] not really touched since I couldn't test
-
Matthew Brush yazdı
This is for work on making the files scannable by GObject-Introspection but is still useful otherwise (even fixes a FIXME in the comments). I made this by using a simple GNU Make file and trying to compile the sources each on their own without all the build system infrastructure. * Add keybindingsprivate.h file to hold private GeanyKeyGroup structure and remove it from the GEANY_PRIVATE guard in keybindings.h. * Move private members that were guarded by GEANY_PRIVATE from GeanyFiletypes to GeanyFiletypesPrivate and remove guarded build.h include. * Move private members that were guarded by GEANY_PRIVATE from GeanyProject to GeanyProjectPrivate.
-
- 15 May, 2014 1 kayıt (commit)
-
-
Colomban Wendling yazdı
-
- 15 Şub, 2014 1 kayıt (commit)
-
-
Dimitar Zhekov yazdı
-
- 13 Şub, 2014 1 kayıt (commit)
-
-
Dimitar Zhekov yazdı
-
- 29 Ock, 2014 2 kayıt (commit)
-
-
Matthew Brush yazdı
Also move the `group_menus` global variable to the top of the file with the other globals.
-
Colomban Wendling yazdı
Avoid using magic numbers in the source for better readability and easier maintenance.
-
- 28 Ock, 2014 2 kayıt (commit)
-
-
Matthew Brush yazdı
* Add an initialization function ft_init() * Add a function-like macro to call ft_init() with shorter arguments * Search and replace old code with FT_INIT() usage * Layout into columns and add documentation above
-
Matthew Brush yazdı
* Adds TITLE_NONE, TITLE_SCRIPT and TITLE_DOCUMENT. * Only a few filetype titles were tweaked but we should review the rest as we could use TITLE_SCRIPT and TITLE_DOCUMENT a lot more probably. * Make filetype_make_title() not care about GeanyFiletype type and return result instead of internally setting ft state.
-
- 22 Ock, 2014 1 kayıt (commit)
-
-
Colomban Wendling yazdı
Always check the passed-in GeanyDocument argument is a valid one, not to possibly work on an invalid document.
-
- 14 Ock, 2014 2 kayıt (commit)
-
-
SiegeLord yazdı
-
dobkeratops yazdı
-
- 10 Kas, 2013 1 kayıt (commit)
-
-
Colomban Wendling yazdı
-
- 15 Eki, 2013 3 kayıt (commit)
-
-
Colomban Wendling yazdı
When inheriting a group in a filetypes file, do not ignore local keys. This allows for partial overrides of the parent group, like: [settings=Parent] key=value All keys from Parent's group "settings" would be imported, but now the "key" key wouldn't be ignored anymore and would override a "key" key from the group copied from Parent if it exists.
-
Colomban Wendling yazdı
This allows to re-use the icon more easily since it's not rendered at a particular size but simply an icon description. It also allows for implicit icon updating when the theme changes if the display code implements it (and GTK widgets does).
-
Colomban Wendling yazdı
This allows custom filetypes to define a mime type, hence the icon displayed for this filetype; as well as moving ones for built-in filetypes out of the code to the configuration files.
-
- 16 Agu, 2013 1 kayıt (commit)
-
-
Igor Shaula yazdı
Windows PowerShell is a command-line shell and associated scripting language which comes out of the box with Windows 7/Server 2008/8/Server 2012. Original lexer from Scintilla is used.
-
- 15 Agu, 2013 4 kayıt (commit)
-
-
Ypnose yazdı
* Add shebang detection of mksh and tcsh. * Add file extension detection of mksh, tcsh, and the various "profile" shell scripts. Closes #126
-
Edward Hutchins yazdı
Closes #149
-
canou yazdı
* Uses existing LexOthers.cxx from Scintilla already in use by Geany * "identifier" style mapping goes to "string" for better presentation even if it's semantically incorrect, we'll change it back if it causes issues for anyone. * Filetype configuration and keywords taken from Don Ho's Notepad++. Closes #160
-
Nick Treleaven yazdı
Closes #159
-
- 12 Şub, 2013 1 kayıt (commit)
-
-
Baptiste Pierrat yazdı
Support for Abaqus (.inp) files, including scintilla lexer and tag parser. Signed-off-by:
Baptiste Pierrat <baptiste.pierrat@gmail.com>
-
- 17 Ock, 2013 1 kayıt (commit)
-
-
Lex yazdı
Add a filetype for Asciidoc with symbol parser, but not styling.
-
- 24 Agu, 2012 1 kayıt (commit)
-
-
Colomban Wendling yazdı
Closes #3557875.
-
- 10 Agu, 2012 1 kayıt (commit)
-
-
Matthew Brush yazdı
-