570 Commits

Author SHA1 Message Date
Matthew Brush
906ffc6aae Fix some widget names in glade file and code so they match (oops) 2011-12-10 14:10:44 -08:00
Matthew Brush
088b0bc362 Merge branch 'master' into gtkbuilder
Conflicts:
	geany.glade
	src/Makefile.am
	src/callbacks.c
2011-12-05 20:52:00 -08:00
Colomban Wendling
8942bc810b Add Objective-C support
Based on a patch from Elias Pschernig, thanks.
Parser was taken from upstream CTags.

Closes patch#3325139.
2011-11-13 01:05:24 +01:00
Colomban Wendling
b96d22374a Make HTML filetype the "primary" one XML and PHP inherits from
XML used to be the one holding the actual definitions, but the HTML
filetype is actually superset of XML (XML filetypes had definitions
for non-XML things), and most definitions names referenced HTML rather
than XML.

So, move the actual definitions from filetypes.xml to filetypes.html
and make XML and PHP inherit from HTML.
2011-11-09 22:59:56 +01:00
Colomban Wendling
ad1bc032ab Port XML, HTML and PHP filetypes to new automated setup
This changes these three filetypes to "normal" ones rather than HTML
and PHP being hard-coded together with XML.  Now the definitions
simply references each other and the filetypes.* files simply inherits
styling and keywords from the appropriate filetype.

This also makes these filetypes have their own Python styles like they
had their own JavaScript ones, rather than trickily reference the
Python ones.
2011-11-09 22:50:26 +01:00
Matthew Brush
0a16ec7520 Merge branch 'master' into gtkbuilder
Conflicts:
	src/interface.c
	src/vte.c
2011-11-06 23:44:24 -08:00
Colomban Wendling
19da0ce965 Fix or add a few Scintilla styles mappings
Closes #3432760.
2011-11-06 00:02:06 +01:00
Frank Lanitz
d33f511fc4 Use evince as default viewer for TeX/LaTeX
On most systems Geany is running inside an GTK/GNOME environment.
As a matter of this fact we can assume evince is the default PDF-viewer.
2011-10-27 21:38:53 +02:00
Matthew Brush
f6e135435b Fixup various filedefs mappings 2011-10-23 13:44:52 -07:00
Colomban Wendling
a0367acd2d Merge branch 'scintilla-update' 2011-10-22 23:28:46 +02:00
Matthew Brush
6099e8d3df Rename duplicate widgets in project dialog 2011-10-22 11:58:09 -07:00
Colomban Wendling
5fc6764b9b Update highlighting styles for new Scintilla styles 2011-10-22 02:01:04 +02:00
Ondřej Žára
bb745e8f3b Add 'prototype' keyword for JavaScript 2011-10-19 01:10:42 -07:00
Colomban Wendling
c56788b7a7 Fix a few style mappings 2011-10-19 03:38:26 +02:00
Matthew Brush
dc9ba7d074 Improve highlighting for PHP and JS 2011-10-15 14:28:22 -07:00
Matthew Brush
caaf824f70 Fix VTE font and foreground/background colour preference callbacks
Remove `font-set` signal from Glade file since it's dependent on the VTE
being available and connect it from `vte.c`.

Add `color-set` handlers for foreground and background color preferences.
2011-10-14 20:58:13 -07:00
Matthew Brush
5be552b040 Merge branch 'master' into gtkbuilder 2011-10-11 15:58:44 -07:00
Matthew Brush
9b508b712a Fix typo in comment in many filedefs. 2011-10-11 15:33:40 -07:00
Matthew Brush
7ebdacac2d Make all filetypes.* files use named styles.
Fix colorschemes/alt.conf to use the new changes.
2011-10-10 20:35:05 -07:00
Matthew Brush
4bf5aef08a Make some menu items not all active. 2011-10-10 15:21:26 -07:00
Matthew Brush
92bd63bc64 Make the 'Various' tab the last tab in the main prefs notebook. 2011-10-10 15:21:14 -07:00
Matthew Brush
9ce76ef067 Make main window initially invisible.
This prevents the window from flashing up in the default location with the
default size before Geany sets it's saved size and position.
2011-10-10 15:21:09 -07:00
Matthew Brush
6b1088ea96 Port the Terminal UI to Glade 3/GtkBuilder.
Just don't show it if we don't have a VTE (ex. on Win32 or if it's disabled).
2011-10-10 13:17:35 -07:00
Matthew Brush
ca6f36b736 Move the Glade file to the data/ directory and ship it on install. 2011-10-10 12:21:45 -07:00
Colomban Wendling
e5e5d43dbb Add Markdown extensions from Shared MIME-Info database
Closes #3405321.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5911 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-12 22:49:03 +00:00
Colomban Wendling
18388077e6 Add support for filetype-specific indentation settings
Closes #3339420 and #3390435.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-25 20:14:17 +00:00
Frank Lanitz
d501e1ccda Extend list of primary keywords for Cython.
Patch by Alexander Eberspächer. Thanks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5892 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-19 10:07:26 +00:00
Colomban Wendling
02dcab4b14 Add Cython filetype
Patch by Matthew Brush, thanks.

Also remove the Cython keywords from Python filetype.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-18 23:01:45 +00:00
Dominic Hopf
ce42ed410a add PHP 5.4 keywords insteadof and trait (patch by Felipe Pena, thanks)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5867 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-07-22 14:49:07 +00:00
Enrico Tröger
fa521d32f1 Add Cython keywords
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5850 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-14 21:23:19 +00:00
Enrico Tröger
ecfab3e67a Move keyword 'enum' to primary keywords (closes #3305737).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-30 18:37:07 +00:00
Enrico Tröger
b516ec57e5 Add 'enum' to secondary keywords (closes #3305737, patch by Matthew Brush, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5816 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-22 11:08:06 +00:00
Nick Treleaven
f09bac178d Read color scheme name and description for menu item label and
tooltip (based on patch by Matthew Brush, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-30 16:24:53 +00:00
Nick Treleaven
418a77b9bd Revert 'Compiled' filetype group back to 'Programming' (couldn't
agree on whether e.g. Java is a compiled language).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5749 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-30 15:09:07 +00:00
Nick Treleaven
fed9ea9a4a Remove Typoscript reference (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-29 15:41:24 +00:00
Nick Treleaven
05394fdf27 Make filetype groups configurable using [Groups] in
filetype_extensions.conf.
Read filetype_extensions.conf when calling filetypes_init_types(),
don't require doclist initialization.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5740 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-26 15:01:04 +00:00
Colomban Wendling
7a3530b3c6 Copy C styling rather than redefining the styles
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5699 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-08 00:14:06 +00:00
Colomban Wendling
c3828e448c Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-08 00:13:53 +00:00
Colomban Wendling
4e5e7cc1b4 Restore secondary keywords entry although it's empty (oops)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5628 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-25 16:49:18 +00:00
Colomban Wendling
8b3f99059b Update Vala keywords (based on a patch from Matthew Brush, thanks)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5627 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-25 15:34:21 +00:00
Colomban Wendling
441bab9d3b Add new filetype setting "comment_single"
This provides separated single-line and multiline comment support.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-20 15:02:22 +00:00
Enrico Tröger
800a80b3f9 Add file template for Vala (patch by Mark Trompell, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5605 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-18 09:35:31 +00:00
Nick Treleaven
55336b6cd8 Add Scala custom filetype, based on file by werg (thanks).
(This uses the newly added [styling=C] syntax).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5602 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-17 16:51:18 +00:00
Enrico Tröger
3a0a9d9a33 Add Markdown extension.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5588 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-13 13:49:29 +00:00
Nick Treleaven
731253b122 Fix detecting Matlab and Txt2Tags extensions by default.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5541 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-07 17:19:23 +00:00
Enrico Tröger
ec408fa4b9 Add filetype Cobol (based on a patch by Seth Keiper).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5533 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-30 15:03:51 +00:00
Enrico Tröger
f3b425fd64 Add and use secondary keywords for filetype JavaScript, update and sanitize JavaScript keyword lists (patch by Jason Oster, thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5526 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-18 19:29:15 +00:00
Nick Treleaven
43dc30a5d1 Merge trunk to r5519.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5520 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-10 13:58:12 +00:00
Enrico Tröger
c24980ab07 Disable preprocessor #define tracking for the CPP lexer (enabled by default in Scintilla).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 15:27:43 +00:00
Nick Treleaven
9f2d03da07 Add *.latex pattern.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5435 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 13:22:49 +00:00