7013 Commits

Author SHA1 Message Date
Nick Treleaven
b3b6d4efad Fix missing warning section 2013-10-11 16:47:04 +01:00
Nick Treleaven
15fb2f321a Improve custom filetype formatting/links 2013-10-11 16:43:27 +01:00
Nick Treleaven
18d27364ac Update notes for adding a custom filetype 2013-10-11 16:43:24 +01:00
Frank Lanitz
40cd633d5f Update of Slovenian translation by Jože Klepec 2013-10-11 09:56:08 +02:00
Nick Treleaven
d51079d598 Fix mingw-gcc 'ordered comparison of pointer with integer zero' warning 2013-10-10 12:44:15 +01:00
Colomban Wendling
1ab97fe2e0 Plug a memory leak when reading misnamed tag files
Don't leak the file name if we can't determine to which filetype it
belongs.  Thanks to Pavel Roschin for spotting this.

Also, remove an useless second function indirection that simply made
the code harder to understand.  This will make Matthew happy ;)
2013-09-25 00:00:44 +02:00
Colomban Wendling
8f11c62dc9 Fix some module-specific globals not declared static
This prevents the symbol to be exported and possibly conflict with
another one.
2013-09-24 16:26:57 +02:00
Colomban Wendling
e4eacef82b Plug a memory leak
Thanks to Pavel Roschin for spotting it.
2013-09-24 16:23:48 +02:00
Colomban Wendling
af3421e688 Plug a memory leak
Do not evaluate a macro argument multiple times if it gets passed an
expression, especially if that expression allocates memory.

Thanks to Pavel Roschin for spotting the leak.
2013-09-23 21:54:30 +02:00
Colomban Wendling
32b971cf1c JavaScript: fix parsing of regular expressions in a return statement 2013-09-23 16:52:55 +02:00
Colomban Wendling
c427ddb656 SQL: fix single-line comment marker
Closes [bugs:#997].
2013-09-19 19:40:56 +02:00
Nick Treleaven
b428042278 Add sci_word_start_position, sci_word_end_position wrappers 2013-09-19 14:15:17 +01:00
Nick Treleaven
6d2f26c494 Don't ignore word matches that vary only by case
The user needs to see all case variants, even when they want searching
to be done case-insensitively (which isn't supported yet).
2013-09-19 13:56:48 +01:00
Nick Treleaven
dcfbf22cf2 Don't allocate initial size based on autocompletion_max_entries
The user may have set that too high.
2013-09-19 13:56:46 +01:00
Colomban Wendling
798849b64c Merge branch 'scintilla-update-335' 2013-09-18 15:23:06 +02:00
Colomban Wendling
8d20c59611 Update NEWS 2013-09-18 15:15:53 +02:00
Colomban Wendling
b07d1a1ecc Update Scintilla to version 3.3.5 2013-09-18 15:15:05 +02:00
Frank Lanitz
3f27961ed7 Correct an ambiguous German translation 2013-09-11 21:27:44 +02:00
Frank Lanitz
d7041a0523 Adding path for config on Windows7+ 2013-09-06 16:44:24 +02:00
Colomban Wendling
4786796e9a Fix build (oops, sorry) 2013-08-20 11:54:01 +02:00
Colomban Wendling
1fe7b4848e Fix printing under Windows
For some reason the Scintilla widget's Pango context don't have a
resolution set on Windows, so we get an invalid one.  Fix this by
correctly peek the resolution from the map if the context doesn't
have one by itself.

https://developer.gnome.org/pango/stable/pango-Cairo-Rendering.html#pango-cairo-context-get-resolution

Thanks to Matthew Brush for debugging this!

Closes #961.
2013-08-20 11:51:45 +02:00
Frank Lanitz
791cad3059 Update of Italian translation Giuseppe Penone 2013-08-20 11:39:37 +02:00
Frank Lanitz
0c2dac1e20 Update of German translation 2013-08-19 17:58:24 +02:00
Matthew Brush
4e924817b3 Use empty string on win32 when no print command
In the preferences dialog it would show a single
quote because the print command couldn't be found
and the NULL prematurely terminated the g_strconcat()
call, leaving a single quote in the print command
entry.

Thanks to Lex for finding where the problem was.
2013-08-18 20:59:31 -07:00
Colomban Wendling
82f82ed372 Use GLib's portable version gethostname(): g_get_host_name()
Drop our own portability layer and use GLib's one instead (which
actually does exactly the same as our own).

Thanks to Matthew for spotting this.
2013-08-18 00:52:48 +02:00
Colomban Wendling
978fca130f Fix our Scintilla patch
It got broken by df589a9d52086b22fe1dc7591482f5aa8f9bbc0e -- you have
to fix the line change count in the block header too.
2013-08-16 14:48:31 +02:00
Fitorec
f934d2cf94 Update the create_php_tags.php script
* Uses more recent URL (as updated in other PR)
* Downloads the funcsummary.txt file by itself
* Support running the script from any directory

Closes #47
2013-08-15 22:24:25 -07:00
TheHappyMarquis
05c9f10dd8 Restore HTML filetype doublestring/hstring to original color
Closes #74 and #75
2013-08-15 20:47:35 -07:00
Hoàng Minh Thắng
7d4a2928b7 Add Clojure filetype
Includes changes in referenced pull request comments.

Closes #92
2013-08-15 20:12:13 -07:00
Igor Shaula
4c3730caf7 LexPowerShell fixes and improvements
* fix here-string highlighting
* add doccomment keyword highlighting
* add #region folding

Closes #132
2013-08-15 19:51:17 -07:00
Igor Shaula
df589a9d52 Add PowerShell filetype
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.
2013-08-15 19:44:33 -07:00
Matthew Brush
d44dfdb9ac Save configuration when plugin manager dialog is closed
Closes #62
2013-08-15 18:53:21 -07:00
Antoine Turmel
ef7b092ef9 Adding .properties file under Conf markup
See http://en.wikipedia.org/wiki/.properties

Closes #162
2013-08-15 18:02:47 -07:00
Benjamin Chrétien
1a185d87a4 Add CUDA C/C++ support
Closes #147
2013-08-15 17:55:36 -07:00
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
Edward Hutchins
01b7191d66 Added hashbang detection for node=>javascript.
Closes #149
2013-08-15 13:54:44 -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
Nick Treleaven
c615d8431f Don't call getenv twice 2013-08-15 17:52:13 +01:00
Colomban Wendling
17f9dac0c6 Update our Scintilla patch for Batch lexer 2013-08-15 14:51:28 +02:00
Colomban Wendling
6063e077c3 PHP: Recognize vertical tab (\v) and form-feed (\f) as whitespaces
Even though PHP doesn't handle those very well (it emits warnings about
"unexpected character"), it still counts them as whitespaces, so
properly handle them as such.
2013-08-15 14:51:28 +02:00
Colomban Wendling
0101365b1f PHP: Add strings tests 2013-08-15 14:51:28 +02:00
Frank Lanitz
a114d1c3e2 Update of German trnaslation to fix a double use of accelerator 2013-08-15 14:43:36 +02: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
Nick Treleaven
0998f1c19c Make code more readable by renaming poorly named macros NZV and NVL
Closes #159
2013-08-14 21:54:20 -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