7538 Commits

Author SHA1 Message Date
Matthew Brush
f262f5986d Merge pull request #341 from philippwiesemann/fix-typo-readme
Fix typo in README
2014-10-02 11:48:01 -07:00
Philipp Wiesemann
6d2d2ffee9 Fix typo in README 2014-10-01 23:41:01 +02:00
Nick Treleaven
541cb8dbcc Force disk check before save to prevent accidental overwriting
Useful e.g. with Save All when the modified file is not the current tab.
2014-09-30 17:10:53 +01:00
Colomban Wendling
5df59cefcb Fix build with GLib 2.20
Don't use `g_regex_get_compile_flags()` that is new in 2.26, but we
only depend on 2.20.

Closes #340.
2014-09-30 16:31:44 +02:00
Frank Lanitz
52a0c31606 Update of German translation 2014-09-29 23:34:14 +02:00
Nick Treleaven
9eb865dab3 Merge pull request #337 from ntrel/project-line-wrap
Project line wrapping pref
2014-09-29 16:16:50 +01:00
Nick Treleaven
bbf63d131a Fixups
Fix adding stash group and applying defaults.
Don't let Properties dialog override per-document line wrapping state.
Use "editor" for key group name.
Remove code already handled by stash group.
2014-09-29 16:12:57 +01:00
Tim Tassonis
cb2aebcfd9 Enable per-project line wrapping 2014-09-29 16:12:55 +01:00
Nick Treleaven
2b98487a70 Merge pull request #335 from ntrel/save-cleanup
Notify user when trying to save read-only document
2014-09-26 11:45:27 +01:00
Nick Treleaven
3ab6579091 Notify user when trying to save read-only document 2014-09-26 11:44:07 +01:00
Nick Treleaven
4ceb9fb1f2 Add comment about throwing away read-only for renamed documents 2014-09-26 11:44:05 +01:00
Colomban Wendling
96806bf639 Merge branch 'scintilla-update-351-pre' 2014-09-26 00:31:03 +02:00
Colomban Wendling
d7aa4b5916 Update for new Scintilla styles 2014-09-26 00:23:37 +02:00
Colomban Wendling
1e59b15c61 Update Scintilla to 3.5.1 pre-release 2014-09-26 00:23:29 +02:00
Colomban Wendling
187dca2957 Use named constants everywhere for msgwin/compiler internal columns 2014-09-25 17:05:55 +02:00
Nick Treleaven
88a36268ef Merge pull request #334 from ntrel/confirm-infobar-reload
Confirm infobar reload when document has modifications
2014-09-25 11:53:16 +01:00
Nick Treleaven
9d669a72f7 API: Rename document_reload_file -> document_reload_force
New name is clearer against document_reload_prompt.
Add deprecated alias.
2014-09-25 11:45:49 +01:00
Frank Lanitz
ed0fa4538f Update of German translation 2014-09-24 20:09:15 +02:00
Nick Treleaven
b646424ddb Only close reload infobar if the response succeeded 2014-09-24 12:21:32 +01:00
Nick Treleaven
3830240cb8 Confirm info-bar reload when document has modifications 2014-09-24 12:21:30 +01:00
Nick Treleaven
09411956ad Merge pull request #326 from ntrel/reload-modified
Don't set document text as changed when file on disk is newer
2014-09-24 12:20:03 +01:00
Nick Treleaven
0a80a72f0b Set status id to STATUS_DISK_CHANGED when protecting document 2014-09-24 12:08:40 +01:00
Nick Treleaven
9a02525d1c Don't set document text as changed when file on disk is newer
Setting the document text as changed makes it too easy to accidentally
overwrite the file - e.g. when closing you're reminded to save it.
It also makes it slower to close documents you no longer want open.
Setting text as changed is still done if the user cancels the warning.
2014-09-24 12:08:24 +01:00
Nick Treleaven
ae45e8344f Merge pull request #328 from ntrel/infobar-save
Confirm whether to save protected documents instead of ignoring save
2014-09-23 15:24:48 +01:00
Nick Treleaven
06e40e512f Confirm whether to save protected documents
(Reuses existing strings).
2014-09-23 14:53:08 +01:00
Nick Treleaven
7450a992b5 Use 'Overwrite' rather than Save for clarity in reload infobar 2014-09-23 14:43:49 +01:00
Thomas Martitz
a6d11cb4f8 Use custom document info bar response IDs 2014-09-23 14:43:47 +01:00
Colomban Wendling
22ab1631de Merge branch 'scintilla/autoc-sizing'
Backport changes applied upstream not to hard-code auto-completion popup
frame border size.
2014-09-22 19:39:30 +02:00
Colomban Wendling
34f7ce9cc9 Merge branch 'about-banner-fix' 2014-09-22 19:38:41 +02:00
Colomban Wendling
0843705608 GTK: Don't hardcode auto-completion popup frame border width 2014-09-22 19:37:02 +02:00
Colomban Wendling
20c31b62ff Fix custom about dialog style overriding
Don't assume changing the style inside a style-set handler results in
recursion, as it would be wrong if the next signal emission was
triggered asynchronously.  Instead, only modify the style if it isn't
already as we want it.

This fixes the about dialog's style-set handlers on GTK 3.10 which
didn't liked constant style updating.
2014-09-22 19:32:44 +02:00
Colomban Wendling
76d6e9faa9 Revert "Fix GTK frame clock warnings with our about dialog"
This reverts commit ec7071062c5dc39d5f893a830b3c26968a579251.

Apparently the selected state of an event box doesn't necessary mean it
will be styled with a selection background color.  This e.g. isn't the
case in GTK 3.14's Adwaita (default) theme.

So, revert the commit that removed custom style overrides.  Next commit
will fix the GTK 3.10 problem this reverted commit fixed.
2014-09-22 19:29:26 +02:00
Matthew Brush
634a4b111f Highlight C types from tags in C++ code
Useful for when using, for example, GTK+, SDL, and other C-only APIs
in files with the C++ filetype. Before only the symbol auto-completion
worked, but not the highlighting of type names.

TODO: figure out why taking something like SDL.c.tags and making a copy
as SDL.cpp.tags doesn't work, once that's fixed, this extra condition
could probably be removed.
2014-09-17 16:49:58 -07:00
Frank Lanitz
87592539b4 Update of Polish translation 2014-09-17 20:20:20 +02:00
Colomban Wendling
e42cd4d6e9 Merge branch 'scintilla/autoc-sizing'
Backport changes applied upstream to fix auto-completion popup sizing.
2014-09-15 16:03:43 +02:00
Colomban Wendling
e84cf128cb Merge branch 'scintilla/gtk3-dead-windows'
Backport patches applied upstream to cache auto-completion windows,
hopefully avoiding dead popup windows lying around on GTK3 builds in
some high stress scenarios.
2014-09-15 16:03:13 +02:00
Colomban Wendling
069e2d4ec5 GTK: Fix auto-completion popup sizing on some themes 2014-09-15 15:58:42 +02:00
Colomban Wendling
4d66bd3745 GTK: Allow the auto-completion popup to be as small as needed 2014-09-15 15:58:42 +02:00
Colomban Wendling
d1e519c11d GTK: Fix auto-completion popup width to better fit contents 2014-09-15 15:58:42 +02:00
Colomban Wendling
61eaf23a26 GTK: Fix auto-completion popup height to better fit contents 2014-09-15 15:58:42 +02:00
Frank Lanitz
93c9e2ce86 Merge pull request #331 from scriptum/rpg-translate-ru
Update of Russian translation
2014-09-12 19:34:11 +02:00
Pavel Roschin
683c380d10 Update of Russian translation 2014-09-12 19:14:38 +04:00
Enrico Tröger
d6d836c59f Don't match regexes on empty strings
Save As on an empty document would cause warnings like:
sys:1: Warning: g_regex_match_full: assertion 'string != NULL' failed
because SCI_GETRANGEPOINTER returns NULL then.
On a Ubuntu 12.04 system this warning even crashed Geany at writing the
log message.
So, simply don't search for anything if the document is empty.
2014-09-11 19:16:24 +02:00
Colomban Wendling
7d38ff67ec Merge branch 'scintilla/gtk3-dead-windows'
Backport patches applied upstream to cache auto-completion windows,
hopefully avoiding dead popup windows lying around on GTK3 builds in
some high stress scenarios.
2014-09-10 23:23:01 +02:00
Colomban Wendling
df5b2fd810 GTK: fix cached completion popup window sizing
Only cache the popup window itself and not its content, as it seems the
window sizing is affected whether the content was just created or not.
2014-09-08 15:35:28 +02:00
Colomban Wendling
e6f8547e3e GTK: cache the completion popup window
This avoids creating and destroying windows quickly under stress, which
may lead to XID collisions.

See e.g. https://bugzilla.gnome.org/show_bug.cgi?id=581526 and
https://bugzilla.gnome.org/show_bug.cgi?id=590690

Closes [scintilla:bugs:1649].
2014-09-08 15:35:28 +02:00
Frank Lanitz
d6a9a44efe Update of German translation 2014-09-07 19:13:16 +02:00
Frank Lanitz
22700ab332 Update of Swedish translation 2014-09-07 18:55:07 +02:00
Nick Treleaven
a733bf9b2a Merge pull request #327 from ntrel/open-file-exists
Allow user to edit open dialog filename when file doesn't exist
2014-09-01 17:01:41 +01:00
Colomban Wendling
d2ce3d6fa1 Merge branch 'doc/untrack-geany.html' 2014-08-29 17:07:08 +02:00