5396 Commits

Author SHA1 Message Date
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
66d8cbec81 Add warning for utils_write_file() that g_file_set_contents() is a better choice because it handles disk exhaustion safely.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5454 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-30 18:25:16 +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
Nick Treleaven
58cc67a83e Add notes for making a new release.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5452 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-30 18:12:15 +00:00
Nick Treleaven
31a4d066b3 Add 'Open in New Window' command in the notebook tab menu (based on
patch by Matthew Brush, thanks - #3118059).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5448 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-29 13:21:35 +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
313e0e0413 Update for Scintilla 2.22.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5445 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 15:37:13 +00:00
Enrico Tröger
c24980ab07 Disable preprocessor #define tracking for the CPP lexer (enabled by default in Scintilla).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 15:27:43 +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
Enrico Tröger
b106aca3e5 Update Windows-Makefile-based build system for Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 23:14:59 +00:00
Enrico Tröger
5fb38517e3 Update autotools-based build system for Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5441 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:43:31 +00:00
Enrico Tröger
c9536ccd02 Revert last commit, not necessary
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5440 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:41:47 +00:00
Enrico Tröger
6cfbc23005 Install ILexer.h as well
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:39:50 +00:00
Enrico Tröger
ad6bd2d601 Update Waf-based build system for Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5438 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:29:16 +00:00
Enrico Tröger
2c7d37dde4 Update Scintilla to version 2.22.
Keep Scintilla's directory structure mostly and only remove unused lexers.

For now, this will break the build. The build systems have to be updated as well as scintilla_changes.patch.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5437 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:23:05 +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
Frank Lanitz
83d10c162f Move unstable branch
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5434 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:56:23 +00:00
Nick Treleaven
a8e0cfb395 Typo in editor_get_[indent_]prefs() dox.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5433 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-23 17:40:30 +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
Enrico Tröger
4504d3d84b create unstable branch
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/tags/unstable@5426 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 21:29:52 +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
70258a9ec4 Add example of using '#if GEANY_API_VERSION >= 200'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5424 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-22 16:44:04 +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
b846a54a3f Improve dialogs_show_input() documentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5419 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 18:53:12 +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
63df228c08 Remove unnecessary gpointer casts.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 16:25:11 +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
3cb18693aa Fix 'Set Build Commands' docs to be less C-specific.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5413 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-17 17:45:45 +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
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