584 Commits

Author SHA1 Message Date
Colomban Wendling
87ab6052bd CSS: Add missing :last-child pseudo-class
Fixes #1102.
2016-07-01 01:52:05 +02:00
Philipp Wiesemann
be4ed86f35 Change array type syntax in Java file template
Square brackets following the element type are more common.
2016-06-15 23:05:09 +02:00
Colomban Wendling
60147a8c8d Merge pull request #857 from techee/cpp_h
Treat the "h" extension as a C++ file
2016-06-10 23:30:02 +02:00
Colomban Wendling
e328434a1f Merge pull request #980 from cjmayo/ecma_classes
javascript: Add ECMAScript 6 classes keywords
2016-06-08 23:54:39 +02:00
Colomban Wendling
9681888806 Merge pull request #1014 from b4n/streamline-builtin-tags
Streamline builtin tags
2016-05-15 15:58:05 +02:00
elextr
b81f41ce32 Merge pull request #1024 from Yanpas/java-review
Reviewed java keywords
2016-05-14 19:36:24 +10:00
Alexander
6b608974c0 Fix Haskell single line comments by adding space
Haskell single line comments consist of at least two dashes "--",
not followed by special symbol.
So in practice everywhere in code you will see a space following "--".
Reference: Haskell 2010 Language Report -> Chapter 2 -> Lexical Structure
2016-05-06 02:15:51 +04:00
Yan Pashkovsky
175d987305 Reviewed java 2016-05-04 16:21:13 +03:00
Colomban Wendling
c4f56bfcd6 Fix some custom CSS selectors to work on GTK 3.20 2016-05-02 15:26:29 +02:00
Colomban Wendling
62be0b9b96 Fix our tab close buttons appearance on GTK 3.20 2016-05-02 15:07:50 +02:00
Colomban Wendling
854a5d5af8 Don't special-case tags files distributed with Geany
Load those tags files just as any user tags files, removing
unnecessary code redundancy.
2016-04-29 01:39:11 +02:00
Colomban Wendling
6b262bb4ec Make html_entities.tags a real tags file
This removes a fair amount of specific code that is just as well
handled by the generic symbols completion code.
2016-04-29 01:35:21 +02:00
Quentin Glidic
1f392b75bf ui-utils: Load per-version GTK+ CSS file
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-04-14 13:17:12 +02:00
Chris Mayo
3dda6180ce javascript: Add support for ECMAScript 6 classes keywords
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes
http://www.ecma-international.org/ecma-262/6.0/#sec-keywords
http://www.ecma-international.org/ecma-262/6.0/#sec-constructor
2016-03-28 19:40:37 +01:00
Jiří Techet
3640b3bc44 Move *.tags files to the tags directory
ignore.tags is still in ~/.config/geany
2016-03-13 17:35:14 +01:00
Jiří Techet
e513e5a099 Move filetypes.* to the filedefs directory 2016-03-13 17:35:08 +01:00
Colomban Wendling
0556b89d08 Merge pull request #603 from eht16/create_php_tags_update
Rewrite PHP tag creation script using up to date upstream tag
definitions.
2016-03-06 16:28:03 +01:00
Enrico Tröger
b0cf5f6cda Rewrite PHP tag creation script using up to date upstream tag definitions
Fixes #584.
2016-03-06 09:41:39 +01:00
Colomban Wendling
2f55540f75 Merge pull request #582 from techee/tags_are_symbols
Use the word "symbol" instead of "tag" in the UI and documentation
2016-02-17 22:54:55 +01:00
Jiří Techet
9b686871de Use the word "symbol" instead of "tag" in the UI and documentation
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.
2016-02-17 22:38:00 +01:00
ZoomRmc
4316872503 Rust: Updated suggested indentation defaults
Indentation per official style guide:
https://github.com/rust-lang/rust/blob/master/src/doc/style/style/whitespace.md

Closes #595.
2016-02-17 16:34:00 +01:00
Daniel Șuteu
f3a5dd609a Add file-extensions for Clojure
The extensions are from Wikipedia: https://en.wikipedia.org/wiki/Clojure

Closes #842.
2016-01-18 03:43:35 +01:00
Colomban Wendling
50212093ba Merge pull request #831 from b4n/cuda/tags
CUDA: Use C++ ctags parser
2016-01-18 03:34:02 +01:00
Colomban Wendling
6e0d4ac6ec Merge pull request #581 from techee/symbollist_sort
Make it possible to define default symbol_list_sort_mode
2016-01-13 17:43:03 +01:00
Jiří Techet
1ea072e125 Make it possible to define default symbol_list_sort_mode
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.
2016-01-11 23:36:50 +01:00
Colomban Wendling
28f7c169fc Merge pull request #652 from b4n/kb/file-properties
Allow to set a keybinding for File->Properties
2016-01-09 20:07:23 +01:00
Jiří Techet
c7bf89a464 Treat the "h" extension as a C++ file
The extension is used by both C and C++ and lexing/parsing C headers with
the C++ parser causes less problems (identifiers named like C++ keywords
get highlighted and tags aren't generated for them) than parsing C++
headers with the C parser (parsing and lexing completely broken).
2016-01-07 23:28:18 +01:00
Devyn Collier Johnson
d1fcd9f226 Add *.asm51 and *.a51 extensions for 8051 assembly
The *.a51 extension is also used for Adobe Authorware files, but we are
unlikely to ever support those.

Closes #739
2015-12-19 17:31:06 -08:00
Colomban Wendling
9365110c4c CUDA: Use C++ ctags parser
Closes #830.
2015-12-18 21:31:38 +01:00
Andrea Stacchiotti
402e669be1 Added some extra Markdown extensions 2015-12-16 03:09:31 +01:00
Colomban Wendling
fa1788fe5f python: Update keywords for Python 3 2015-11-15 00:03:13 +01:00
Colomban Wendling
301a482555 python: Update identifiers for Python 3 2015-11-14 22:57:22 +01:00
Devyn Collier Johnson
ac48644904 Update filetype_extensions.conf
Changes
- Ensured consistency by ending every line with a semicolon
- Added two MathML file-extensions (*.mml and *.mathml;) to "XML="

Justification for proposed changes
- Code consistency is important in programming
- MathML is a form of XML that is commonly used and is part of the HTML5 standard
- W3 MathML Specification: http://www.w3.org/TR/MathML3/
- Geany properly highlights the code when the MathML file-extension is recognized
2015-11-03 10:38:43 -05:00
elextr
06f2cbe6f6 Add ".adoc" extension to asciidoc filetype
Closes #708
2015-10-23 16:34:25 +10:00
Colomban Wendling
04ef30ea06 Update Scintilla to version 3.6.1 2015-09-20 18:39:15 +02:00
Colomban Wendling
9729f354e5 Allow to set a keybinding for File->Properties
Closes #622.
2015-09-10 19:20:18 +02:00
Colomban Wendling
83c5ddf353 Strip spurious backslashes in an UI string 2015-09-10 14:46:08 +02:00
Abel 'Akronix' Serrano Juste
80c4cd0de0 Added multiline comment for filetypes.haskell 2015-09-01 19:12:59 +02:00
Pavel Sountsov
6814fc1a62 Update Rust keywords. 2015-08-21 21:17:59 -07:00
Olivier Duclos
a6c3cdc2cd Add new keywords for recent versions of Perl
This commit adds the following new keywords for perl:
 - say
 - state
 - given, when, default
 - __SUB__

While __SUB__ was introduced in perl 5.16, the others date back
to v5.10 released in 2007!
2015-08-05 10:05:02 +02:00
Wayne Nilsen
1b5ec633e3 Use Cargo tool for Rust build commands
Closes PR #557
2015-07-30 22:40:53 -07:00
Colomban Wendling
db30fdc6ec Recognize XPM files as C sources 2015-06-27 15:17:34 +02:00
Enrico Tröger
3b1f20037b Merge pull request #291 from bittner/master
Autodetect .bashrc, .bash_aliases, and the like
2015-06-18 23:11:32 +02:00
Peter Bittner
3ad1627249 Autodetect .bashrc, .bash_aliases, and the like
Autodetect /etc/bash_completion (and the like)

Splitted up autodetection patterns for Bash

This will match:

- `*.bash` (any manufactured Bash scripts)
- `~/.bashrc` (hidden Bash configuration in your home directory)
- `~/.bash_*` (partials included by bashrc, e.g. `.bash_aliases`,  `.bash_history`,  `.bash_logout`)
- `/etc/bash.bashrc` (global Bash configuration)
- `/etc/bash_completion` (and potentially any other `/etc/bash_*` file)
2015-06-18 00:21:40 +02:00
Jiří Techet
8eaaf723b8 Don't resize message window when changing Geany's window height
At the moment the message window is set to resize when the height of the
main window changes. This is a bit annoying when the message window size
is set to fit all the tabs exactly and when shrinking the window, the
tabs don't fit the shrinked message window.

Set the flag not to resize the notebook_info notebook (similar thing is
already done with the sidebar in the horizontal direction so no change
needed there).

Works fine also when the message window is set to be on the right side.
2015-05-28 21:21:54 +02:00
Colomban Wendling
3c9e545974 Merge pull request #501 from b4n/wordchars-default
Respect filetype.common's wordchars if a filetype doesn't have its own
2015-05-28 17:55:46 +02:00
Jiří Techet
4665034cb2 Update go keywords
error was missing in secondary keywords (also sorted alphabetically now)

Add true false iota nil into primary keywords which, while not strictly
speaking keywords (they are predeclared identifiers), are nice to have
highlighted.
2015-05-28 16:27:32 +02:00
Jiří Techet
a6e7893c10 Enable backquoted strings for go in cpp lexer
In addition, disable (or make less visible) syntax highlighting not related
to go.
2015-05-28 16:27:32 +02:00
Colomban Wendling
40b9a2ba0d Respect filetype.common's wordchars if a filetype doesn't have its own
Use filetype.common's wordchars instead of GEANY_WORDCHARS as default
for filetypes not having their own.  This allows to change the
wordchars for all filetypes at once.

Part of issue #492.
2015-05-19 14:25:40 +02:00
Philipp Wiesemann
999e17a5fb Fix typo in messages 2015-05-10 21:30:06 +02:00