7623 Commits

Author SHA1 Message Date
Frank Lanitz
8298501717 Merge pull request #344 from marcelocamargobr/master
Changed wrong translation of identation
2014-10-12 10:27:31 +02:00
Colomban Wendling
eb7fd066b1 Don't alter GeanyEditor internal state in editor_create_widget()
When editor_create_widget() is used on an editor with already existing
widget, don't reset the internal indentation settings of that editor.
2014-10-11 14:53:21 +02:00
Matthew Brush
41c66e0eb0 Change "replace_and_find_by_default" default to true 2014-10-10 18:40:54 -07:00
Matthew Brush
bae420a768 Merge branch 'rpalli/replace1'
Closes #189
2014-10-10 18:02:29 -07:00
Colomban Wendling
f1da4b9914 Don't rebuild TagManager workspace tags when quitting
Updating the workspace is useless as the application will be shut down,
and not doing it can save a lot of time (almost 50% speedup quitting an
instance with all Geany source from `src/` open).
2014-10-11 01:40:10 +02:00
Nick Treleaven
ab7a0018b2 Don't prompt for reload from infobar when there are no unsaved changes
Also warn about losing undo history when there are no changes.
2014-10-10 16:59:43 +01:00
Nick Treleaven
0362a2281b Define _WIN32_IE for SHGFP_TYPE 2014-10-10 16:41:01 +01:00
Roland Pallai
3df962a371 A small styling of the documentation 2014-10-10 00:26:25 +02:00
Roland Pallai
9b2ccb9965 Turn "replace and find by default" boolean pref into a "various" preference. 2014-10-10 00:04:38 +02:00
Jiří Techet
10a28b4191 Protect private definitions by the GEANY_PRIVATE macro in headers
In addition, this patch defines the GEANY_PRIVATE macro for the tag
manager library where it wasn't defined before, removes 2 tag manager
headers from distribution as they are not needed by plugins and
in the tag manager changes the docstrings to ordinary comments for
private definitions.
2014-10-09 20:51:32 +02:00
Roland Pallai
985829afe0 Documentation change for the "Replace&Find by default" behaviour. 2014-10-09 02:07:58 +02:00
Roland Pallai
2cae5f337b Better preferences sentence for the "Replace&Find by default" behaviour. 2014-10-09 02:00:30 +02:00
Nick Treleaven
245ae6696c Require WINVER=WindowsXP for SHGetFolderPathAndSubDirW 2014-10-07 15:30:19 +01:00
Nick Treleaven
c0a8a1a943 Fix Windows build 2014-10-07 14:50:07 +01:00
Enrico Tröger
63266a1254 Remove unused variable 2014-10-06 17:28:10 +02:00
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