6970 Commits

Author SHA1 Message Date
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
Colomban Wendling
2dd389a14a Fix our Scintilla patch
It got corrupted for some reason I don't get, but it's now fixed.
2013-04-27 15:32:17 +02:00
Matthew Brush
0f614dd885 Remove reference to removed "menu_view_editor1" (oops) 2013-04-26 23:56:16 -07: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
Matthew Brush
e0245df568 Make "Create" button default for New Project dialog
So it activates when you press the enter/return key in one of the
entries.
2013-04-26 14:56:55 -07:00
Atanas Beloborodov
a3da0467d4 Add version check around deprecated g_thread_init() call.
g_thread_init has been deprecated since GLib version 2.32
2013-04-25 17:30:09 -07:00
Enrico Troeger
9edd4f4a90 For now disable detecion of MSVC on Windows 2013-04-24 22:05:56 +02: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
Colomban Wendling
ea87576ee4 Remove use of global variables in custom commands code 2013-04-22 20:24:20 +02:00
Colomban Wendling
5868c6991c Fix leaks upon symbol list updating 2013-04-22 20:20:53 +02:00
Colomban Wendling
776c77d6b6 Use GLib version of C99's snprintf() 2013-04-22 20:18:18 +02:00
Colomban Wendling
659276730a Don't use deprecated gtk_icon_set_render_icon() on GTK3 2013-04-22 20:18:18 +02:00
Eugene Arshinov
e8443b19f7 rewrite_reflow: Remove a check inside line breaking implementation that caused breaking to occur too early 2013-04-21 11:45:09 +10:00
Eugene Arshinov
7e732bddc8 rewrite_reflow: Remove no longer used sci_lines_split function that wrapped SCI_LINESSPLIT 2013-04-21 11:45:09 +10:00
Eugene Arshinov
cc5e6d2a19 rewrite_reflow: Reimplement split_line function to achieve consistency with the "Line breaking" option 2013-04-21 11:45:09 +10:00
Eugene Arshinov
40fb3aa64d rewrite_reflow: Create sci_get_position_from_col function to wrap Scintilla's SCI_FINDCOLUMN command. 2013-04-21 11:45:09 +10:00
Eugene Arshinov
390646a412 rewrite_reflow: Extract split_line function
Extract `split_line` function from `reflow_lines` to reimplement it in
the future without using SCI_SPLITLINES to achieve the
behaviour consistent with the "Line breaking" option.
2013-04-21 11:45:09 +10:00
Frank Lanitz
57dca02303 Documentation: Adding a short note about finding Geany at Windows inside application menu 2013-04-20 10:27:51 +02:00
Frank Lanitz
971f147c08 Documentation: Replace some \t with space 2013-04-20 10:27:51 +02:00
Colomban Wendling
c986eeee99 PHP: show namespaces and traits in the symbol list 2013-04-17 17:07:47 +02:00
Colomban Wendling
8b3142ef4d PHP: use "::" as the scope separator 2013-04-17 17:07:18 +02:00
Frank Lanitz
377f75f291 Adding *.aux and *.bib as default (La)TeX file types 2013-04-16 13:06:08 +02:00
Colomban Wendling
33c84f739d PHP: parse traits
http://www.php.net/manual/en/language.oop5.traits.php
2013-04-15 19:17:57 +02:00
Colomban Wendling
77c45aa82b PHP: support non-ASCII characters in identifiers
http://www.php.net/manual/en/language.variables.basics.php
2013-04-15 19:17:57 +02:00
Colomban Wendling
38c5616200 PHP: leave PHP mode inside single line comments
If "?>" appears in a single-line PHP comment it leaves PHP mode.
http://www.php.net/manual/en/language.basic-syntax.comments.php
2013-04-15 19:17:57 +02:00
Colomban Wendling
387d6e1909 PHP: don't include the leading "$" in variable names 2013-04-15 19:17:57 +02:00
Colomban Wendling
b5cd5343fa PHP: fix parsing functions arguments list containing comment or strings
Instead of hand-parsing the argument list and possibly choking inside
comments, strings, heredoc, etc., use the normal token mechanism and
simply convert the tokens to a string representation as the argument
list.  This technique might perhaps lead to some missing characters in
the argument list representation in the (unlikely) case a token
appearing in the argument list is reported as a generic type for which
it is impossible to know the correct string representation, but this
could always be fixed by adding a specific token type and is anyway
less problematic than maybe breaking further parsing of the document.
2013-04-15 19:17:57 +02:00
Colomban Wendling
444745f71e Added new macro for reading last character of vString.
Import of CTags revision 719.
2013-04-15 19:17:57 +02:00
Colomban Wendling
8086129c9c PHP: parse namespaces
PHP namespaces don't work anything like a block, so the implementation
is specific and not combined with scope management.  Namespaces cannot
be nested, and they may apply either to the rest of the file (until the
next namespace declaration, if any) or to a specific block.

Namespaces applying to the rest of the file:

	namespace Foo;
	/* code in namespace Foo */
	namespace Bar\Baz;
	/* code in namespace Bar\Baz */

Namespaces applying to blocks:

	namespace Foo {
		/* code in namespace Foo */
	}
	namespace Bar\Baz {
		/* code in namespace Bar\Baz */
	}
	namespace {
		/* code in root namespace */
	}
2013-04-15 18:55:52 +02:00
Colomban Wendling
c2e4111aaf PHP: parse HereDoc and NowDoc strings 2013-04-15 18:55:14 +02:00
Colomban Wendling
258c4fa65d PHP: generate tags for local variables (disabled by default) 2013-04-15 18:54:42 +02:00