638 Commits

Author SHA1 Message Date
YosefOr
706abfbf38 Add detection of PKGBUILD files as Shell scripts
Closes #120
2013-08-15 15:21:42 -07:00
Miro Hrončok
9e22ec8535 Added Graphviz custom filetype
Closes #125
2013-08-15 15:10:45 -07:00
Ypnose
b11a3adb7b Add detection support for various Shell scripts
* Add shebang detection of mksh and tcsh.
* Add file extension detection of mksh, tcsh, and the various
"profile" shell scripts.

Closes #126
2013-08-15 14:48:06 -07:00
Felix Totir
03e3ba7987 Added keywords for Matlab classes syntax highlight
Closes #136
2013-08-15 13:21:41 -07:00
John Long
a1e9205270 Update PHP source repo for tags and tags file
The new tags file seems to have lots of new symbols. It needs testing
by PHP programmers.

Closes #137
2013-08-15 13:09:35 -07:00
exbb2
09e7d8398f Haskell filetype improvements and support for Literal Haskell
Closes #155 and also closes #139
2013-08-14 23:16:39 -07:00
canou
b518770dea Add support for DOS, OS/2 and Windows batch files
* 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
2013-08-14 23:04:35 -07:00
Fabio Ticconi
a08f595b35 Erlang filetype and snippets improvements
* Add .hrl Erlang "header" file
* Add some useful snippets
* Add template for Erlang files as per EDocs guidelines

Closes #157
2013-08-14 22:19:14 -07:00
Antoine Turmel
db140bb614 Adding .xul and .dtd extensions with XML
See: http://en.wikipedia.org/wiki/.xul and http://en.wikipedia.org/wiki/.dtd

Closes #161
2013-08-14 21:38:47 -07:00
Duncan de Wet
992ee22ce7 Add various HTML5 keywords 2013-07-31 17:39:11 +12:00
Colomban Wendling
436e0bf3f3 PHP: add PHP 5.5 keywords 2013-07-03 19:26:23 +02:00
John Long
750ac6e978 Add 'self' to list of PHP keywords 2013-06-24 23:56:37 +02:00
Edwin Lee
fbc6bdc850 Add some missing Fortran file extensions
Updated Fortran file extensions to include f08 (Fortran 2008) and all
the preprocessor Fortran extensions.
2013-06-24 23:22:30 +02:00
Mislav Blažević
ce3cfa25da break is keyword in pascal 2013-06-09 21:52:13 +03:00
Ilario Pierbattista
e949ff8872 Add "strictfp" Java keyword
Closes #936.
2013-06-08 14:55:39 +02:00
Colomban Wendling
ca404a01d4 Don't mark as translatable strings that are never visible
In the file properties dialog there are a few label for which the
default value is never visible to the user, and then don't need to be
translated.  These strings are only useful to recognize and select the
label in e.g. Glade UI.
2013-05-22 15:52:39 +02:00
Frank Lanitz
8f9f73e0ef Adding comment (postgres) as a SQL-keyword. 2013-05-22 09:15:40 +02:00
Colomban Wendling
4bac3717ea Update for new Scintilla styles 2013-05-22 03:38:21 +02:00
Colomban Wendling
72c809f633 Use Glade to create the File Properties dialog 2013-05-20 04:12:44 +02:00
Colomban Wendling
9652a34ef0 Add ellipsis to menu items requiring further user input
This is a very common paradigm used by GNOME, KDE, MacOSX, Windows,
etc., and following it makes our UI more consistent with these and
easier to use by their users.

https://developer.gnome.org/hig-book/stable/menus-design.html.en#menu-item-type-command

Closes #3613494.
2013-05-19 23:15:38 +02:00
Frank Lanitz
9ebc082cfc Adding owner and serial to list of keywords for SQL 2013-05-17 10:25:13 +02:00
Colomban Wendling
cd390c0d48 Fix some widgets packing issues under GTK3 in the preference dialog 2013-05-15 18:25:08 +02:00
Frank Lanitz
a025b7c63f SQL: Adding elsif and raise to list of keywords 2013-05-07 16:29:41 +02:00
Frank Lanitz
854eccf16d Merge pull request #127 from duncannz/master
Added some missing SQL keywords
2013-05-02 05:20:24 -07:00
Colomban Wendling
bb58d7cba4 Python: remove duplicate keywords
Remove False, None and True from "identifiers" since they already are
in "primary".
2013-04-27 18:57:42 +02:00
Colomban Wendling
564ef98f9c Update for new Scintilla styles 2013-04-27 18:30:17 +02:00
Matthew Brush
1ee35c68cd Flatten-out the View menu
Rationale:
----------
* Existing View menu already contained Editor-related options
  like "Change Font" and Zoom controls, so it makes sense to
  group all of the View-related items together.
* Anecdotally, some users have been unable to easily discover
  the Color Schemes changer dialog because it was nested under
  a submenu.
* Distinction between "Editor" (Scintilla) and "Editor" (All
  of Geany) is likely non-obvious to most users, especially
  new users exploring the menus.
* There's not very many items to cause scrolling on low-res
  monitors, and the View menu still has less items than the
  Document menu.
2013-04-26 16:13:46 -07:00
Enrico Tröger
0d6101f0ca Merge pull request #133 from gentoo90/waf
Update waf to version 1.7.10 and fix wscript to fit new API
2013-04-24 12:45:19 -07:00
Frank Lanitz
377f75f291 Adding *.aux and *.bib as default (La)TeX file types 2013-04-16 13:06:08 +02:00
Igor Shaula
666f471c78 Update waf to version 1.7.10 and fix wscript to fit new API 2013-04-14 15:02:36 +03:00
Duncan de Wet
223b2507f2 Added some more SQL keywords 2013-03-29 18:38:33 +13:00
Colomban Wendling
0191659663 Fix swapped tooltips between "run in VTE"/"skip run script" 2013-03-24 15:38:30 +01:00
Igor Shaula
68f3a9fe5a Filetypes: Add some Ruby file extensions 2013-03-19 15:07:43 +01:00
Christian Dywan
1db4cd90df Drop obsolete 'has_separator' property from the interface definitions 2013-03-17 17:17:09 +01:00
Colomban Wendling
232290aad4 Fix our custom styles under KDE and for people using gtk-chtheme
We have a custom RC file defining various styles we need, and we want
the user to be able to override them (e.g. if they want -- or need --
other colors).  Fair enough, one would simply call gtk_rc_parse() with
the appropriate filename.  However, the styling rules applies in the
order they are loaded, then if we load our styles after GTK has loaded
the user's ones we'd override them.

There are 2 solutions to fix this:
1) set our styles' priority to something with lower than "user"
   (actually "theme" priority because rules precedence are first
   calculated depending on the priority no matter of how precise the
   rules is, so we need to override the theme).
2) prepend our custom style to GTK's list while keeping priority to
   user (which is the default), so it gets loaded before real user's
   ones and so gets overridden by them.

One would normally go for 1 because it's ways simpler and requires less
code: you just have to add the priorities to your styles, which is a
matter of adding a few ":theme" in the RC file.  However, KDE being a
bitch it doesn't set the gtk-theme-name but rather directly includes
the style to use in a user gtkrc file, which makes the theme have
"user" priority, hence overriding our styles.  So, we cannot set
priorities in the RC file if we want to support running under KDE,
which pretty much leave us with no choice but to go with solution 2,
which unfortunately requires writing ugly code since GTK don't have a
gtk_rc_prepend_default_file() function.  Thank you very much KDE.

Though, as a side benefit it also makes the code work with people using
gtk-chtheme, which also found it funny to include the theme in the user
RC file.
2013-03-16 16:19:20 +01:00
Nick Treleaven
0cf495a6db Add Rust filetype
(See also: rust-lang.org)
2013-03-16 14:14:41 +00:00
Colomban Wendling
35cc441b74 Merge branch 'gtk3-support'
Conflicts:
	src/ui_utils.c
2013-03-10 17:20:25 +01:00
tomboy64
51c541faa2 Add support for the Go programming language
- syntax highlighting
- support for the go compiler (as opposed to gccgo)
2013-03-10 06:10:26 -07:00
Colomban Wendling
771934ae29 Don't translate program name directive in Pascal file template
Pascal code only accepts an identifier in the program name directive,
but {untitled} wildcard gets replaced with a translated string that may
not be a valid Pascal identifier.  Moreover, the directive being part
of the source of the program it's good practice for it to be in English
anyway.

Closes #3602314.
2013-03-08 18:32:47 +01:00
Max Musatov
9d88bd2463 Update the main.d template to use a more standard prototype for main() 2013-02-22 15:07:50 +01:00
Lex
7d6ad6d50f Merge branch 'master' of https://github.com/geany/geany 2013-02-21 13:05:54 +11:00
Lex
5df79bc135 Adjust Terminal tooltip in preferences
Adjust to say it is a full command and that %c is substituted by
the geany_run_script path.
2013-02-21 12:42:30 +11:00
Colomban Wendling
dba93f3854 Allow Quit keybinding to be configured
This removes the last unmodifiable keybinding relying on GTK's
defaults, and allows somebody to change this keybinding.
2013-02-21 01:31:38 +01:00
Colomban Wendling
a0dc8af9c4 Fix GTK default keybindings being still active after being unbound
If we provide an AccelGroup when creating a menu item using a sock ID,
it installs the GTK default accelerator, accelerator we can't remove
since we don't know about it.  So, don't give an AccelGroup so GTK
don't install it's own accelerator.

This fix also required to properly update the accelerator on some item
we used to ignore since the update didn't work anyway (since the GTK
accelerator was displayed instead).

Note that this doesn't fix the fact the editor popup menu accelerators
are never updated after startup so they don't get updated before
restart after changing a keybinding in the preferences.  This is a
separate (and less problematic) issue due to a simple lack of update.

Closes #1912683 and #3599251.
2013-02-21 01:31:38 +01:00
Baptiste Pierrat
2203d8f085 Abaqus: remove styles not actually used by the lexer 2013-02-12 14:57:12 +01:00
Baptiste Pierrat
d4e61bf093 Add support for Abaqus files
Support for Abaqus (.inp) files, including scintilla lexer and tag
parser.

Signed-off-by: Baptiste Pierrat <baptiste.pierrat@gmail.com>
2013-02-12 14:56:38 +01:00
Colomban Wendling
e0104a4bc2 Port new configurable document status colors to GTK3 2013-02-11 04:47:21 +01:00
Colomban Wendling
a77ac1407a Merge branch 'master' into gtk3-support 2013-02-11 04:47:02 +01:00
Colomban Wendling
36581d6638 Move document status color definition to the gtkrc file
This allows for users to change the colors if needed (may be useful
with some themes or color blind persons).

On the sidebar, only the color is applied for now.  This is because
it is not possible to style cell renderers through RC files, all having
to be done in the code;  so currently only the color is applied.
2013-02-11 04:46:40 +01:00
Colomban Wendling
23ef01ede8 Allow user gtkrc to override our gtkrc styles
This allows the user to override the custom styles we apply to some
widgets, like e.g. the unmatched search entry colors.

We use the :theme priority rather than the :application one because
it seems that the :application one cannot override theme settings, even
if it matches against a name the theme don't have rules for but have
rules for the class of that widget.  This prevents a theme from
overriding our styles, but it's unlikely a theme actually provide some
specific stuff for us anyway.
2013-02-11 04:46:40 +01:00