Nick Treleaven
d4b23f9f3e
Use 'Filetype build commands' and 'Independent build commands'.
...
Fix saying project *independent* execute can only be set by hand.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5412 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-17 17:42:16 +00:00
Nick Treleaven
c8c19697f9
Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
...
Build Commands dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-17 15:33:24 +00:00
Nick Treleaven
7e93252745
Fix for moved highlighting_is_{comment,string}_style().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5410 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-16 15:21:41 +00:00
Nick Treleaven
ddefb0a0b4
Add API functions (patch by Eugene Arshinov, thanks):
...
Move editor.c: is_{string,comment,code}_style() functions to
highlighting.c, add to API.
Add editor_find_snippet(), editor_insert_snippet(),
utils_find_open_xml_tag() to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5409 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-16 15:07:40 +00:00
Nick Treleaven
cb9982480f
Make Reflow Lines/Block command use the current indented block, not
...
the whole paragraph, which could have mixed indentation.
Fix memory leak and off-by-one bug on first line when using Select
Paragraph command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5408 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-16 13:26:04 +00:00
Nick Treleaven
a802eb47f7
Rename 'Format' section 'Filetype configuration'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5407 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-15 15:16:00 +00:00
Nick Treleaven
9e7515450a
Don't use XML tag auto-indentation when '</' is to the right of the
...
cursor; allow auto-indentation when XML tag auto-closing is also
enabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5406 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-15 13:06:11 +00:00
Enrico Tröger
cb25b62aad
Update Waf to current SVN version.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5405 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-14 20:44:00 +00:00
Frank Lanitz
f19ad725d9
Another small update of German translation. Thanks to Christian Dywan for reporting
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5404 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-14 15:00:35 +00:00
Frank Lanitz
2a00c26b7f
Minor update of German translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5403 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-14 13:05:22 +00:00
Nick Treleaven
118386a7d0
Enable XML tag autoindentation for PHP, Docbook and add docs for
...
this setting (patch by Eugene Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5402 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-11 17:58:21 +00:00
Enrico Tröger
f02f812953
Update changelog (oops)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5401 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-11 17:50:51 +00:00
Enrico Tröger
122a2a31af
The usual Windows fixes
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5400 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-11 17:48:21 +00:00
Enrico Tröger
9ce3abac0e
Update for Waf 1.6.1 and various cleanups und improvements.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-11 13:43:47 +00:00
Enrico Tröger
db1c9b9428
Update Waf to version 1.6.1
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5398 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-11 13:42:36 +00:00
Nick Treleaven
3c558f52c5
Fix wrong snippet indentation when original cursor line has
...
non-indentation whitespace (patch by david, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5397 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-11 13:27:34 +00:00
Nick Treleaven
80799825bd
Display better error messages when saving a document fails (patch by
...
Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5396 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-11 13:13:37 +00:00
Nick Treleaven
6cfea4b550
Set errno to 0 before doing disk I/O to prevent confusing error
...
messages on save failure.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5395 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-10 18:19:20 +00:00
Nick Treleaven
cc98fdb528
Fix wrong named style.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5394 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-10 18:04:35 +00:00
Nick Treleaven
ce19e74134
Fix memory leak.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-10 18:04:15 +00:00
Nick Treleaven
eba0571fb6
Add xml_indent_tags filetype setting for documents using the
...
HTML/XML lexers (patch by Eugene Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5392 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-10 17:47:55 +00:00
Nick Treleaven
1355795908
Fix not reporting an error message when saving a document fails.
...
Check result of fclose().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5391 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-10 13:44:10 +00:00
Nick Treleaven
9aa94483b6
Use LF line endings for templates internally instead of default
...
pref because the default can change. This fixes missing line
endings sometimes when changing default setting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5390 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-10 13:13:28 +00:00
Nick Treleaven
cf6d15239e
Make utils_ensure_same_eol_characters() convert all wrong line
...
endings to the desired one, not just the most common one.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5389 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-09 18:17:57 +00:00
Nick Treleaven
f3c199807d
Convert line endings for file templates.
...
Fix line endings when using file header template in a file template
(oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5388 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-09 18:14:33 +00:00
Nick Treleaven
025e391dba
Save build commands for filetype None (patch by Lex, thanks).
...
Make filetypes_get_conf_extension() return "common" for filetype
None.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5387 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-09 15:34:24 +00:00
Nick Treleaven
e38f2f6a17
Add 'Project->Apply Default Indentation' menu command to override
...
every document's indentation settings.
Improve 'Indentation' section docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5386 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 18:15:14 +00:00
Nick Treleaven
15d15dd76e
Mention that indentation settings can be overridden per-project.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5385 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 16:11:16 +00:00
Nick Treleaven
bebd0dcd17
Rename word/word2 named styles to keyword/keyword2.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 13:27:32 +00:00
Nick Treleaven
3a5317d746
Remove duplicates in 'Insert Comments' editor popup menu; rename
...
submenu 'More'.
Separate main menu insertion comments depending on number of times
used in a document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5383 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 13:13:33 +00:00
Nick Treleaven
3b7c8cdeb0
Restore top-level editor popup item 'Find Document Usage'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 12:35:50 +00:00
Nick Treleaven
e37b8eab76
Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
...
Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5381 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-08 12:10:17 +00:00
Nick Treleaven
6bc4029f50
Add docs for the HTMLChars plugin (patch by Frank).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 18:54:18 +00:00
Enrico Tröger
dc938b357c
fix make distcheck
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5379 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 17:11:00 +00:00
Nick Treleaven
76a6ad8a93
Show GIO/built-in regex support in startup debug message as well as
...
for --version.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 17:09:09 +00:00
Nick Treleaven
95a0e1acc2
Add startup debug messages to show app->datadir and app->configdir.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5377 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 16:39:49 +00:00
Enrico Tröger
850f7b8ae3
Show which regex implementation is used.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 15:40:18 +00:00
Enrico Tröger
141040305d
Allow skipping configure during autogen by setting NOCONFIGURE=1 (thanks to Chow Loong Jin).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 15:32:37 +00:00
Enrico Tröger
227eefdc13
Use non-GIO mime-type icon lookup if GIO lookup fails.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5374 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 15:24:26 +00:00
Enrico Tröger
db3b65484c
Fix installation of template files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5373 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 15:06:15 +00:00
Enrico Tröger
3ad555d003
Fix build with GTK 2.12: explicitly include gio.h if GIO is available and to be used regardless of the USE_GIO_FILEMON flag.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5372 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 13:48:10 +00:00
Nick Treleaven
9542675549
Add debug message when using g_file_set_contents() to save documents.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5371 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 13:13:05 +00:00
Nick Treleaven
4db93b90d7
Make use_safe_file_saving hidden pref apply even when GIO is
...
available, because g_file_replace_contents() doesn't handle disk
space exhaustion.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-07 13:08:13 +00:00
Peter Scholtens
52b9679b61
Dutch reach 100%
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5369 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-05 22:22:12 +00:00
Frank Lanitz
089d264a5b
Update of Spanish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5368 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-05 09:34:23 +00:00
Nick Treleaven
e495ce83a0
Fix resource leak when saving files with GIO (patch by Colomban
...
Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5367 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-04 18:07:44 +00:00
Nick Treleaven
f346f985df
Add filetypes_get_display_name() to get translations for filetype
...
None.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5366 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-04 18:06:09 +00:00
Nick Treleaven
29bc84dfce
Do not translate 'name' field for filetype None because it is used
...
for hash table lookup. This fixes missing files in the Open dialog
for the 'All files' filter with non-English locales (thanks to Sardem
FF7).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5365 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-04 16:45:47 +00:00
Frank Lanitz
057f0c859f
A little update of header of Slovenian translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5364 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-03 19:07:27 +00:00
Frank Lanitz
c7a9898feb
Update of Spanish translation. Thanks to Lucas Vieites for contributing
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5363 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 18:55:49 +00:00