7572 Commits

Author SHA1 Message Date
Enrico Tröger
627c0aa10e Merge pull request #401 from techee/waf
waf: Don't relink scintilla and geany on every build
2015-01-10 11:07:18 +00:00
Jiří Techet
df03bcace0 waf: Don't relink scintilla and geany on every build
The ant_glob() function doesn't return a list of strings but rather
a list of waflib.Node.Nod3 objects. These print as paths so build
works but apparently confuse waf which thinks the files have
changed every time the waf command is performed.

Relinking scintilla and geany on every waf invocation is especially
problemmatic during "sudo waf install" where scintilla and geany
binaries get owned by the root user. This isn't a big problem on Linux
but on OS X this prevents subsequent waf calls to update the
binaries and the build fails.

To fix the issue, just convert the waflib.Node.Nod3 objects
to relative (string) paths.
2015-01-09 01:35:43 +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
e06f47d774 Merge pull request #289 from mspacek/build_line_num
Add %l current line number substitution to build commands
2015-01-05 16:26:03 +01:00
Frank Lanitz
fb7d9fa25f Merge pull request #388 from peter-scholtens/master
Update of dutch translation for geany
2015-01-02 19:34:24 +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
Peter C. S. Scholtens
b7338da5e6 Updated Dutch translations. 2015-01-02 17:28:09 +01:00
Colomban Wendling
f1a1d8c234 Merge pull request #397 from techee/revert
Remove useless TM micro-optimization from a profile misread.
2014-12-30 22:50:54 +01:00
Jiří Techet
c131466a00 Revert "Microoptimization in merge"
This reverts commit cb9e4bbf7446e45365cad2242087f2a766662f20.
2014-12-30 17:09:18 +01:00
Colomban Wendling
08568b11f5 Merge PR#393 from 'c/keyword-types'
Fix parsing typedefs to size_t (C/C++/D) and wchar_t (C/D).
2014-12-25 19:54:12 +01:00
Colomban Wendling
29cc8b4d28 d: size_t and wchar_t aren't keywords in D 2014-12-25 16:46:55 +01:00
Colomban Wendling
43a8986d2c c: Add a test case for size_t and wchar_t handling 2014-12-25 16:45:35 +01:00
Colomban Wendling
371301a84d c: Don't parse wchar_t as a keyword 2014-12-25 01:36:27 +01:00
Colomban Wendling
e091a56a18 c, c++: Don't parse size_t as a keyword
This fixes handling of typedefs defining this name.
2014-12-25 01:35:28 +01: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
d80ee82072 Select the default scheme in the Color Scheme dialog by default
Always select the default scheme by default in the Color Scheme dialog
not to end up selecting none in case of broken or nonexistent
configuration.  This matches which scheme is actually used, and fixes
use of an uninitialized iter when no scheme would be selected.
2014-12-18 02:42:05 +01:00
Nick Treleaven
d6601cbafa Merge pull request #387 from philippwiesemann/fix-typos-doc
Fix typos in documentation
2014-12-12 13:11:29 +00:00
Philipp Wiesemann
fc73fabe4b Fix typos in documentation 2014-12-11 22:58:57 +01:00
Colomban Wendling
87331093a9 Merge pull request #361 from techee/prj_write
Add project_write_config() to force project file rewrite
2014-12-11 00:07:41 +01:00
Frank Lanitz
89c321883c Merge pull request #386 from b4n/po/fr
Small French translation update
2014-12-08 19:15:36 +01:00
Colomban Wendling
1f9f230045 Use French quotes in the French translation 2014-12-08 16:26:12 +01:00
Colomban Wendling
469a345f18 Small update of the French translation 2014-12-08 16:25:41 +01:00
Jiří Techet
7c22ceacf9 Update the go parser to the latest version from ctags 2014-12-07 22:25:13 +01:00
Colomban Wendling
0184083a7e Fix an assertion failure when trying to scope-complete in a 2-characters C++ file 2014-12-04 14:38:57 +01:00
Colomban Wendling
f08af8046f Merge branch 'js-update'
Import back JavaScript parser changes from fishman/ctags.
2014-12-02 15:03:20 +01:00
Colomban Wendling
02bc3b3638 javascript: Improve string literals handling
1. Don't include the newline itself in a line continuation construct.
   This fixes generation of e.g. properties with embedded line
   continuations.
2. Don't continue parsing strings past an unescaped newline (as naked
   newlines are invalid inside strings).  This avoids parsing the whole
   remaining file as a string in case of broken input.  It is both
   useful to better support partly written files and to avoid loading a
   whole malformed file in memory while reading it as a string.

See section 7.8.4 "String Literals" of ECMA-262:
http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf
2014-12-02 15:02:39 +01:00
Colomban Wendling
69a15cf2c1 javascript: Stop using longjmp() and friends
Fixes some memory leaks with malformed or partial files.
2014-12-02 15:02:13 +01:00
Colomban Wendling
0a58f5012b Update Scintilla to version 3.5.2 2014-12-02 13:51:18 +01:00
Frank Lanitz
6909627641 Update of Portuguese (Brazilian) translation 2014-12-01 13:05:19 +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
af7d63cdf2 Merge pull request #319 from b4n/better-txt2tags-parser
Better txt2tags parser
2014-11-29 23:40:58 +01:00
Colomban Wendling
b78d833d5c Merge branch 'css3-flex'
Closes PR#333.
2014-11-29 23:21:28 +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
Colomban Wendling
6e1c2787c1 Merge branch 'recent-list-cleanup' 2014-11-29 22:49:57 +01:00
Colomban Wendling
173c09eab2 Merge pull request #302 from kernc/common_linters
Common linters by default in the Build menu
2014-11-29 22:48:01 +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
Colomban Wendling
e6b74d9d85 Merge branch nullEuro/coffeescript-ft
Add CoffeScript syntax highlighting.

Closes #230.
2014-11-26 20:06:15 +01:00
Colomban Wendling
7ce2494142 coffeescript: Import last lexer version from Scintilla HG
This fixes handling of "/*" and removes dead code.
2014-11-26 19:52:20 +01:00
Colomban Wendling
21e5c0e0e9 Fix Scintilla patch for CoffeeScript inclusion 2014-11-26 19:52:20 +01:00
Colomban Wendling
4074843b42 coffeescript: Recognize string and comment styles 2014-11-26 19:52:20 +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
Colomban Wendling
d0986dd3f6 Merge branch 'js-update'
Import back JavaScript parser changes from CTags and fishman/ctags.
2014-11-24 03:55:55 +01:00
Colomban Wendling
55b4b867f3 javascript: Don't use invalid syntax in a test case
A regex is not a valid JavaScript property name, and the test case was
not meant to specifically check for handling of invalid syntax but
rather valid regex syntax with embedded quotes.
2014-11-24 03:50:00 +01:00
Colomban Wendling
5793694134 javascript: Add support for the let keyword
`let` is not yet part of the current ECMAScript standard but is part of
the ECMAScript 6 draft and is supported by Mozilla, and people already
use it in some contexts.

Also, the current ECMAScript standard marks `let` as a "considered
reserved word" (7.6.1.2), so it is already a reserved keyword in strict
mode.

See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/let
2014-11-24 03:00:27 +01:00