594 Commits

Author SHA1 Message Date
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
Jiří Techet
9f0bfec045 Add "dirty" terminal indication
Right now users are confused when various VTE actions don't work because
there's no indication that the terminal is in the non-clean state.

Visualise "modified" terminal in the same way as modified document - by
a red label in the tab so it's clearer when terminal isn't clean.

Avoid quick red flashes when pressing enter by delaying the color change
a bit.
2015-04-29 22:23:35 +02:00
Matthew Brush
bdc082cb77 Bump min. version of GTK2 to 2.24 and GLib to 2.28
Note: This is mostly search and replace. I've only tested with my
GTK+ 2.24.20 and not at all the Waf build system.
2015-04-12 18:05:28 -07:00
Colomban Wendling
4e6da78f54 PHP: Use the variable style for variable interpolated in strings
Use the same variable style for simple interpolations ("$foo") than for
complex ones ("${foo}") instead of using the string style itself.  This
gives a visual feedback for simple interpolations.
2015-04-10 00:24:20 +02:00
Colomban Wendling
1bed458ab9 Merge pull request #270 from b4n/zephir-filetype
Zephir filetype
2015-04-09 01:06:57 +02:00
Colomban Wendling
1cea0b6a79 Merge pull request #411 from techee/shadows
Use consistent shadows across Geany
2015-03-26 22:53:29 +01:00
Jiří Techet
1a36eeaf4d Use consistent shadows across Geany
In principle, any scrolled window should have GTK_SHADOW_IN so the scrollbars
are not above the surface and there is a frame around the scrolled area.

The only exception are the elements of the main window where adding
GTK_SHADOW_IN causes there are too many shadows (or lines in 2D themes)
around the windows and the result isn't nice. So use GTK_SHADOW_NONE
for all main editor scrolled windows. (One additional exception is the
Help->Credits page which is gray and the extra frame doesn't look good.)

Replace frame around VTE with GtkViewport to avoid the extra line around.

Raise the second editor from the splitwindow plugin so it's at the same
level as the main editor.
2015-03-22 15:32:54 +01:00
Colomban Wendling
3cf8c3a6be objectivec: Enable escapes in verbatim strings
Enable new Scintlla lexer.cpp.verbatim.strings.allow.escapes lexer
property for ObjectiveC.
2015-03-08 14:31:26 +01:00
Colomban Wendling
e64cb97332 Make the editor tab close buttons smaller on GTK3
Also remove extra padding around the button's image to reduce its size
and try and avoid it expanding the tab's height.

This at least fixes the editor tabs height on Adwaita theme, where they
were 1px taller than normal.
2015-03-06 17:36:15 +01:00
Colomban Wendling
93c217aae9 Merge pull request #412 from techee/rules_hint
Disable "rules hint" for the Documents tab
2015-03-06 01:47:42 +01:00
Jiří Techet
8d19ea4c9f Disable "rules hint" for the Documents tab
The "rules hint" property is used to tell the theme for which TreeView
even/odd rows should have a different color. This is typically used for
long rows or rows which need to be visually separated for some reason.

Currently the Documents sidebar view uses it which doesn't make much
sense because the row is short and neither of the other tabs in the sidebar
use it.
2015-03-05 10:21:11 +01:00
Colomban Wendling
e0116ccd9c Merge pull request #418 from b4n/spell-windows-windows
Spell "Windows" as "Windows", not "Win".
2015-03-04 15:58:47 +01:00
Colomban Wendling
a8a2d14711 Merge pull request #415 from b4n/json
Add JSON filetype (with tag parser)
2015-02-24 18:08:46 +01:00
Colomban Wendling
b2e5d08dad Spell "Windows" as "Windows", not "Win"
This makes the labels more clear using the canonical name, and avoids
any confusion with the English word "win".
2015-02-10 17:15:38 +01:00
Colomban Wendling
e9c9e9a2fa Merge pull request #396 from techee/osx
OS X improvements
2015-02-10 17:12:30 +01:00
Jiří Techet
6a132ef3fa CR line endings are used on old Mac OS systems only - make it more explicit in labels
Also don't default to CR if OS is neither Windows nor Unix (including OS X).
There's no other GTK backend right now so it doesn't matter much but
still if something else appears, it will most probably not have CR line
endings.
2015-02-10 15:57:50 +01:00
Colomban Wendling
270e32327f json: Enable tag parser and adapt test case for Geany 2015-01-31 22:15:18 +01:00
Colomban Wendling
b0cf3b4e2d Add JSON custom filetype
Closes #384.
2015-01-31 20:27:07 +01:00
Colomban Wendling
526294d72c Merge pull request #399 from b4n/ui/message-window-hierarchy
Drop useless scrolled window around the message window notebook
2015-01-26 17:24:19 +01:00
Colomban Wendling
3996ae9268 Update Scintilla to version 3.5.3
Closes [bugs:#1041].
2015-01-20 15:56:38 +01:00
Frank Lanitz
8eccb079ab Update SQL keywords based on a list by the Drupal project 2015-01-13 21:32:31 +01:00
landroni
f32b6f3b93 R: Fix keywords and wordchars
Currently the R filetype has a rather random collection of keywords.

This commit fixes the primary keywords (as used in RStudio, an IDE
specialized for R), and also adds the appropriate list of built-in
constants.
See https://github.com/rstudio/rstudio/blob/master/src/gwt/acesupport/acemode/r_highlight_rules.js
for the list of keywords used in RStudio.

Furthermore, the commit adds the `.` (dot) to `wordchars`.  In R the
set of symbols which can be used in object names is `[A-Za-z0-9_.]`
(with code portability and platform compatibility in mind).  For more
gruesome details see:
http://cran.r-project.org/doc/manuals/r-release/R-intro.html#R-commands_003b-case-sensitivity-etc
RStudio also treats the dot as part of the "word".

For some background see:
http://landroni.wordpress.com/2013/07/27/using-geany-for-programming-in-r/

Closes #273.
2015-01-05 17:00:37 +01:00
Colomban Wendling
d48859db8e Drop useless scrolled window around the message window notebook 2015-01-02 19:48:06 +01:00
Jiří Techet
b864733cdb Avoid double-shadow around message window
Message window should be at the same level as the sidebar and editor.
Instead, it is 2 shadows deeper. Fix that.
2015-01-02 10:15:08 -08:00
Colomban Wendling
3b8ea98f00 c: Fix C11 keywords (oops)
List keywords from ISO/IEC 9899:201x N1570 (2011-04-12), not N1425
(2009-11-24).
2014-12-25 00:53:03 +01:00
Colomban Wendling
ef6f8a0c65 c++: Remove non-keyword types from keywords list
Closes #391.
2014-12-24 19:09:47 +01:00
Colomban Wendling
20be6c9bb4 c: Add missing size_t type to the C99 tag file
Closes #392.
2014-12-24 19:09:25 +01:00
Colomban Wendling
f4045fb336 c: Add missing C11 keywords 2014-12-24 18:48:45 +01:00
Colomban Wendling
94aa892c81 Merge pull request #373 from techee/go_ctags
Add a Go ctags parser.
2014-11-30 02:03:00 +01:00
Jiří Techet
ccb15a31be Add the go ctags parser
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.
2014-11-30 01:35:00 +01:00
Colomban Wendling
24bf1d3e93 CSS: Add missing and remove obsolete flex properties
See http://www.w3.org/TR/css3-flexbox/#property-index
2014-11-29 23:20:26 +01:00
Hannes Heute
50787dfafe CSS: Add some flex-properties to css3-properties 2014-11-29 23:19:57 +01:00
Kernc
961ccf38c5 Migrated some old-style build_settings to new-style build-menu 2014-11-28 09:09:41 +01:00
Kernc
7a0285eef8 Added some default common linters in the Build menu 2014-11-28 09:08:38 +01:00
Mark Dresselhaus
07002d252a Add coffescript syntax highlighting
imported lexer from Scintilla and added coffeescript filetype
2014-11-26 19:52:20 +01:00
Enrico Tröger
fea71a282f Allow MRU file list length to be set to 0 to disable it
Since the rest of the code is already prepared for it, setting mru_length
to 0 just disables the recent files menu.
2014-11-09 11:22:16 +01:00
Nick Treleaven
e566aae6b2 Add project prefs for line breaking column & multiline comments 2014-10-03 12:25:05 +01:00
Tim Tassonis
cb2aebcfd9 Enable per-project line wrapping 2014-09-29 16:12:55 +01:00
Colomban Wendling
d7aa4b5916 Update for new Scintilla styles 2014-09-26 00:23:37 +02:00
Frank Lanitz
132b93c591 SQL: Adding print to list of keywords
e.g. used to 'print' debug output to log on e.g. Sybase ASA
2014-08-25 13:31:12 +02:00
Frank Lanitz
d78c8fb5d9 SQL: Adding keyword hold
Adding new keyword hold, used e.g. on SQLAnywhere to open a cursor 'with hold'
2014-08-19 14:32:29 +02:00