6681 Commits

Author SHA1 Message Date
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
Dimitar Zhekov
b7fbb78ca7 import cxx_compiler to enable C++ compiler detection change 2013-06-08 13:43:37 +02:00
Braden Walters
8c10f6a90d Parse Java annotations with parameters
Closes #924.
2013-06-08 03:29:40 +02:00
Frank Lanitz
bc926a3ff0 Update of Italian translation 2013-06-07 11:04:44 +02:00
Dimitar Zhekov
42c00f2f50 sync C++ compiler detection under Windows with the C compiler detection 2013-06-07 06:57:41 +02:00
Frank Lanitz
0af6130fea Update of Swedish translation 2013-06-06 20:59:01 +02:00
Colomban Wendling
8498957cf1 Update Scintilla to version 3.3.3 2013-06-06 16:31:47 +02:00
Colomban Wendling
6b406d04dc Add a note in the Scintilla update script to add files to the build system 2013-06-06 16:07:08 +02:00
elextr
2fdcad6290 Allow Javascript new operator to apply to any object constructor
js.c only allowed keywords 'function' 'Function' or 'Object' after
'new' but js syntax allows any constructor function:

var name = new constructor_function( args );

ie an identifier where js.c allowed only keywords.
So changed js.c to allow any identifier as well as the keywords.
2013-06-06 13:10:06 +10:00
Colomban Wendling
467639c7c9 Fix inclusion of some build files to the generated tarballs 2013-06-05 20:34:10 +02:00
Colomban Wendling
fe0280037d Indentation width detection: try not to get fooled by comments
C-style multiline comments, used among others in C, C++ and Java, are
often continued on next lines with an additional space followed by an
asterisk:

  1.    /* first comment line
  2.     * continuation line (asterisk is aligned with previous line)
  3.     * last line */

This fools the indentation with detection because lines 2 and 3 from
the above example have an extra space in what is considered being the
line indentation.  In this example, the algorithm would detect an
indentation width of 5 rather than 4, because here most lines have an
indent of 5 -- although they actually have an indent of 4 plus a space
for alignment.  This is not a problem in most situations because there
generally are fewer comment continuation lines than actual code lines
which have a indent multiple of the actual indent width, but with some
code with a lot of comments (e.g. short functions with verbose
documentation comments) this might start to fool the algorithm and
give wrong, annoying, results.

So, try to detect these continuation lines and avoid taking them into
account.
2013-06-02 22:42:47 +02:00
Colomban Wendling
8afff838c1 Improve scrolling to display a plugin's keybindings
When scrolling the keybinding list to display a particular row, which
is used to display a particular plugin's keybindings, consistently
scroll so the row is on the top left.  This makes it easier to see the
row in question since it's always at the same location, and it shows
more child keybindings.
2013-06-01 20:07:12 +02:00
Colomban Wendling
d3b88fb5b1 Fix a leak searching for the keybinding group row 2013-06-01 01:56:31 +02:00
Matthew Brush
44fcdf1b7c Minor tweak to plugin manager button spacing 2013-05-25 17:02:49 -07:00
Pavel Roschin
169a2f4957 Keybindings for plugins 2013-05-25 16:49:06 -07:00
Colomban Wendling
0dc9e4ec38 Import fix from upstream Scintilla to fix crash upon DnD with GTK3
This imports Scintilla commit e488315f2d30e1795f0899779bac948da41b4eef
from HG, "Bug: [#1481]. Incorrect event copying on GTK+ 3.x."
2013-05-25 17:48:49 +02:00
Colomban Wendling
6cff31488e Import fix from upstream Scintilla to fix crash on drag and drop
This imports Scintilla commit 06f36a3217229ec2c2a360e370ae1b07597ce7b6
from HG, "Fix crashes with SelectionText instances that did not have \0
terminators."
2013-05-25 17:45:07 +02:00
Colomban Wendling
60f3800e0c Small update of the French translation 2013-05-22 15:58:58 +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
7a07323f8a Update of German translation 2013-05-22 09:41:43 +02:00
Frank Lanitz
572a0f808c Updating NEWS-file a bit with recent changes done by frlan 2013-05-22 09:19:21 +02:00
Yosef Or Boczko
b5c0ff0cba Updated Hebrew translation
for the commit "Use Glade to create the File Properties dialog"

Signed-off-by: Frank Lanitz <flanitz@bgc-jena.mpg.de>
2013-05-22 09:15:40 +02:00
Frank Lanitz
8f9f73e0ef Adding comment (postgres) as a SQL-keyword. 2013-05-22 09:15:40 +02:00
Colomban Wendling
f6e9ac094a Remove use of some of our own deprecated Scintilla wrappers
Remove most obvious calls to our very own deprecated Scintilla wrapper
functions sci_get_text(), sci_get_text_range() and
sci_get_selected_text().

Some calls are still left, but they either really benefit from these
functions or the fix would be more complex.
2013-05-22 04:22:53 +02:00
Colomban Wendling
788a57f6fc Merge branch 'scintilla-update' 2013-05-22 03:38:38 +02:00
Colomban Wendling
4bac3717ea Update for new Scintilla styles 2013-05-22 03:38:21 +02:00
Colomban Wendling
f5588043b7 Update Scintilla to version 3.3.2 2013-05-22 03:23:57 +02:00
Yosef Or Boczko
55fe6d8b66 Updated Hebrew translation
Signed-off-by: Frank Lanitz <flanitz@bgc-jena.mpg.de>
2013-05-21 09:11:13 +02:00
Colomban Wendling
72c809f633 Use Glade to create the File Properties dialog 2013-05-20 04:12:44 +02:00
Colomban Wendling
5608b29bd5 Small update of the French translation 2013-05-20 01:50:02 +02:00
Colomban Wendling
2e9a1753d7 Fix internationalization of the File Properties dialog title 2013-05-20 01:50:02 +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
Adam Dingle
4807ba6ce5 file browser: Fix capitalization in menu item
Closes #3613558.
2013-05-19 23:15:19 +02:00
Colomban Wendling
8916a8e092 Merge NEWS from 1.23.1 release 2013-05-19 16:13:51 +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
elextr
c2d2fddca3 Return a non-printing sequence for no context separators
Function symbols_get_context_separator() returns the symbol
separator for the language, but some languages do not have
symbol context separators, for example markup languages like
Asciidoc.  To prevent the symbols pane wrongly detecting and
acting on a valid character sequence as a separator, return a
non-printing character which should not occur.

Options "" and NULL not used as they break some code and would
need an ABI bump.

Other languages can be added as they are identified.
2013-05-15 14:10:22 +10:00
elextr
989a1f2ccb Mark Geany.txt with filetype
Since we have a reStructuredText filetype, mark doc file so it
automatically opens with the right filetype.
2013-05-11 11:42:16 +10:00
Colomban Wendling
deede0595e Fix notebook tab switching with keyboard if some pages are hidden
When switching the current notebook tab, we need to take only visible
pages into account.  If we don't and we try switching to an invisible
page, nothing happens.

In practice, the issue is visible on the message window notebook if one
of the tabs are hidden due to one of the "msgwin_*_visible" settings.
2013-05-10 00:10:46 +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
elextr
1e1032505d Make save actions use something bigger than a pointer for a buffer
At commit 160e5e stamp was changed from a gchar[512] to a gchar*
but the copy loop still used stamp and sizeof(stamp) as the buffer.
Now gchar[512] buffer is used again.
2013-05-02 17:51:12 +10:00
elextr
5c37ca87f0 Fix Asciidoc parser recognition of open block as underline
Asciidoc overloads lines of dash (-) for heading underline and
open block delimiting (--).  This made the parser recognise list
continuation blocks as headings.  Now requires more than two
underline characters for a heading.
2013-04-30 14:07:22 +10:00
Frank Lanitz
dbddf0b430 Update of Hebrew translation 2013-04-28 19:22:45 +02:00
Matthew Brush
d9ead8591a Make editor-related View menu items document-sensitive again
They used to be because their parent menu item (Editor) was
document-sensitive but now they are in the top of the View
menu they need to be invdividually made so.

TODO: should they really be/have been document-sensitive? They
can still change the pref without a document open and their
equivalent options in the Preferences dialog are not
document-sensitive? Same goes for existing "Change Font" item.
2013-04-27 11:42:04 -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
f3852dc13c Merge branch 'scintilla-update' 2013-04-27 18:38:26 +02:00
Colomban Wendling
564ef98f9c Update for new Scintilla styles 2013-04-27 18:30:17 +02:00
Colomban Wendling
e88c03d266 Update Scintilla to version 3.3.1 2013-04-27 18:29:44 +02:00