3655 Commits

Author SHA1 Message Date
Nick Treleaven
a8b016884a Update Ignore Tags section with example and menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 18:02:53 +00:00
Nick Treleaven
e8dba2dc31 Add 'Configuration file paths' section and link to it instead of
repeating typical system data and user config directory paths.
List 2 Tools->Configuration Files menu items.
Add 'Plugin Manager' section break.
Edit some related sections.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5473 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 17:42:31 +00:00
Nick Treleaven
b595c0a3d8 Disable 'Send Selection to Terminal' item when not available
instead of removing it to avoid trailing separator.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5472 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:25:11 +00:00
Nick Treleaven
650b5ae84a Fix some more wrong uses of vte_info.load_vte instead of
vte_info.have_vte.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:16:57 +00:00
Nick Treleaven
d65d3adcc4 Fix segfaults when using 'Send Selection to Terminal' and the VTE
is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
pref (patch by Dimitar Zhekov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:02:46 +00:00
Nick Treleaven
bc837b18a5 Improve error message for document_save_file() if doc->file_name is
NULL (reusing existing strings).
Add warning about this in the API docs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5466 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-06 18:04:42 +00:00
Nick Treleaven
dfcd8b56bc Add more info about Scintilla fix.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-03 17:53:58 +00:00
Nick Treleaven
2982f22337 Backport Scintilla HG fix: Remove styling idle in destructor to
avoid crashing when idle called after ScintillaGTK instance
destroyed (fixes #3111058).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-03 13:51:54 +00:00
Nick Treleaven
1f2ef01d31 Warn about file truncation if unsafe file saving fails.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5455 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-01 13:06:01 +00:00
Nick Treleaven
cba09d5e8d Check result of fclose() for utils_write_file().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-30 18:18:24 +00:00
Enrico Tröger
b6a379678e Enable GIO and built-in regex support on Windows when compiling without Waf.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 17:41:37 +00:00
Enrico Tröger
2c39e4d8c3 Reformat and improve the Windows resource file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 23:38:29 +00:00
Nick Treleaven
aad0728959 Add note to indentation prefs page about using Project->Apply
Default Indentation for currently open documents.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 13:28:52 +00:00
Nick Treleaven
9f2d03da07 Add *.latex pattern.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5435 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 13:22:49 +00:00
Nick Treleaven
ff6354d833 Remove unnecessary 'global' from long line editor pref field names.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:36:29 +00:00
Nick Treleaven
a29d75af2c Add editor_get_prefs() instead of editor_get_long_line_*()
functions. This general function can be extended to support
various project and document overrides.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5431 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:25:58 +00:00
Nick Treleaven
3a3d8815a3 Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 16:23:22 +00:00
Nick Treleaven
7dbb4359f4 Don't use 'Enable' in pref labels when unnecessary.
Rename XML/HTML tag autocompletion -> auto-closing.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 13:43:36 +00:00
Nick Treleaven
c61a189c00 If the current word's tag is on the current line, make Go to Tag
Definition look for a tag declaration instead, as this is more
useful. Likewise make Go to Tag Declaration search for a tag
definition in this case also.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 13:17:42 +00:00
Nick Treleaven
47372d9331 Add 'Mark All' Search menu command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5427 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 12:50:24 +00:00
Nick Treleaven
f37202685d Warn about preprocessor testing GEANY_API_VERSION below 200 because
those tests will always fail.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 16:51:16 +00:00
Nick Treleaven
7814bb2a5a Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
so you can protect code with '#if GEANY_API_VERSION >= 200'.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 16:30:44 +00:00
Nick Treleaven
14daa797d0 Fix auto-displaying of sidebar tab bar when sidebar is reshown.
Only auto-display symbols and documents tabs when showing the
sidebar if there are no plugin tabs.
Don't hide the sidebar on startup if only plugin tabs are visible
(fixes #3101867).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5422 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 13:49:38 +00:00
Nick Treleaven
8442c51e16 Explain how to grep the source for Scintilla lexer properties.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5421 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 12:45:20 +00:00
Enrico Tröger
f3914355aa Add 'instanceif' keyword for PHP (closes #3109330).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-21 17:40:08 +00:00
Nick Treleaven
b9a42fa6d1 Add dialogs_show_input() to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 18:27:01 +00:00
Nick Treleaven
9c94b5b3a4 Parse PHP final functions (fixes #3111171).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 18:20:12 +00:00
Nick Treleaven
554f1b0526 Don't change default build command entry color when cancelling
label editing.
Make dialogs_show_input() return NULL when cancelled.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 17:51:15 +00:00
Nick Treleaven
e24d4fbfa0 Re-focus Set Build Commands/Project dialogs after editing a build
command label.
Add 'parent' argument to some dialogs_show_input*() functions because
the dialog parent may not always be the main window.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 16:15:10 +00:00
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
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
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
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
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