7550 Commits

Author SHA1 Message Date
Colomban Wendling
b1b9e6d19a Fix configuration directory location on non-Windows
3e089e4c2c914a4b8885daa65e784a227bd2d6b0 accidentally switched from
`g_get_user_config_dir()` to `g_get_user_data_dir()` as the location
for the user's configuration directory.
2014-10-06 16:24:26 +02:00
Nick Treleaven
e69bbe25fd Merge pull request #342 from ntrel/save-disk-check
Force disk check before save to prevent accidental overwriting
2014-10-06 12:20:54 +01:00
Nick Treleaven
fa20ec4ffb Merge pull request #343 from ntrel/more-project-prefs
Add project prefs for line breaking column & multiline comment completion
2014-10-06 12:20:15 +01:00
Colomban Wendling
17375793ad Merge pull request #347 from techee/master
Remove unused tag manager files
2014-10-05 23:50:08 +02:00
Jiří Techet
ce46f8f0b4 Remove unused tm_tagmanager.c 2014-10-05 22:40:15 +02:00
Jiří Techet
4646323878 Remove unused tm_symbol 2014-10-05 22:40:15 +02:00
Jiří Techet
b512aa0368 Remove unused tm_project and all its references in docstrings 2014-10-05 22:40:15 +02:00
Enrico Tröger
3e089e4c2c Reading the config directory from the Windows API instead of GLib
Before we used g_get_user_config_dir() but GLib changed the returned
location in newer versions, so use the Windows API directly
to get the old location, at least for now.
Also add utils_get_user_config_dir() wrapper.

Code is based almost completely on a patch from Matthew.
2014-10-05 12:55:33 +02:00
Marcelo Camargo
700e0b906f Updated last translator 2014-10-04 00:13:47 -03:00
Marcelo Camargo
5e01664777 Changed wrong translation of identantion
In portuguese, there is no "endentação", but "indentação".
2014-10-03 23:53:03 -03:00
Nick Treleaven
7a8c091af0 Reformat g_signal_connect calls 2014-10-03 17:42:23 +01:00
Nick Treleaven
e566aae6b2 Add project prefs for line breaking column & multiline comments 2014-10-03 12:25:05 +01:00
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