3099 Commits

Author SHA1 Message Date
Nick Treleaven
59cb3b2cce Apply patch from Andrew Rowland to add support for the R language
(thanks, #2121502).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 12:23:59 +00:00
Nick Treleaven
6abc7aa994 Support adding multiple files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 12:12:23 +00:00
Nick Treleaven
1fb45e2dab Return GEANY_AUTOINDENT_BASIC from editor_get_indent_prefs() if the
per-document pref is set, even if the global mode is none.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 11:22:44 +00:00
Enrico Tröger
a69335cd96 Remove bashisms.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3001 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 19:20:04 +00:00
Enrico Tröger
83d6c2e8e2 Fix using direct Scintilla access in document.c and callbacks.
Add wrapper functions instead.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 18:29:53 +00:00
Enrico Tröger
f701893ef7 When using editor_get_eol_char_* functions with an invalid editor object, return the appropriate value according to the eol character preference (just in case).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2999 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 18:29:11 +00:00
Enrico Tröger
a032d6a660 Unify the API in editor.c, all public functions now take a GeanyEditor* object.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2998 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 18:28:37 +00:00
Enrico Tröger
b69b6cc71f Set the page_size parameter of GtkAdjustments to 0 instead of 10 which is set by default by Glade. This prevents breakage of spin buttons with early versions of GTK 2.14.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2997 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 17:04:43 +00:00
Nick Treleaven
ab9e3f1c75 Don't disable the per-document auto-indent pref when the global
auto-indent mode is set to none (undoes part of r2981). In this
case, the per-document pref just behaves like
GEANY_AUTOINDENT_BASIC.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2996 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 16:55:35 +00:00
Nick Treleaven
01f4689ef6 Minor formatting changes - make the using a Makefile paragraph a
note.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2995 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 11:38:58 +00:00
Nick Treleaven
ea42918879 Detect which error regex match contains the line number, and use the
other match for the filename.
Update 'Build system' docs for custom error regexes.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2994 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 11:30:44 +00:00
Nick Treleaven
9c25c58b2d Fix copyright notices; use /usr/bin/env perl.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2993 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 11:17:08 +00:00
Nick Treleaven
80538bb116 Hopefully fix building when HAVE_REGCOMP is not defined.
Add debug message when trying to parse an error regex when
HAVE_REGCOMP is undefined.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2992 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 10:30:46 +00:00
Nick Treleaven
bee27a12d1 Show SVN revision also for geany -v and first status message.
Add main_get_version_string().
Rename get_argv_filename() main_get_argv_filename().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-24 12:07:22 +00:00
Nick Treleaven
a12efb33b2 Remove unnecessary include.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2990 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-24 12:01:21 +00:00
Nick Treleaven
f3af26025e Add 2 scripts from Daniel Richard G. to replace C++ line comments and to show a summary of gcc warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2989 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-24 11:23:02 +00:00
Nick Treleaven
bf3ea6c5f0 Add filetypes.* [build_settings] key 'error_regex' to support custom
error message parsing using an extended regular expression.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2988 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-23 16:12:40 +00:00
Nick Treleaven
48e969cb96 Minor formatting edits.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2987 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-23 15:19:46 +00:00
Nick Treleaven
a5a84bf9f6 Add svn-changes.sh script to print SVN working copy changes in ChangeLog format, and warn about unknown files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2986 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-23 14:46:42 +00:00
Nick Treleaven
e16bb53705 Remove ParseData::dir argument as it's not necessary for parsing;
instead, use function make_absolute().
Refactor msgwin_parse_compiler_error_line().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2985 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-23 11:37:20 +00:00
Nick Treleaven
76e9f77b53 Move adding a lexer notes to 'Syntax highlighting' section; mention
adding the LINK_LEXER command manually.
Some minor edits (reST section grouping).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2984 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-23 11:25:23 +00:00
Nick Treleaven
bce7d185b9 Rename get_indent() read_indent().
Fix possible overflow in auto_table().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-22 15:29:25 +00:00
Nick Treleaven
3828682705 Fix HTML table autocompletion when the indent type is 'Tabs &
Spaces' (#2118289).
Add some useful functions count_indent_size(),
string_append_indent_width().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2982 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-22 11:57:14 +00:00
Nick Treleaven
a00dc77177 Don't disable the auto-indent document pref when switching back to a
document with auto-indent turned off.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2981 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-22 11:12:54 +00:00
Enrico Tröger
a5fadbad40 Fix broken indentation of automatic HTML table tag completion (part of #2118289).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-21 16:44:30 +00:00
Enrico Tröger
437fafd46e Move document_apply_update_prefs() in editor.c.
Refactor get_indent_guides_from_lexer() from sciwrappers.c in editor_set_indentation_guides().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2979 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-21 16:43:45 +00:00
Frank Lanitz
cf9ad9a3a0 Update of Turkish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-21 14:21:13 +00:00
Nick Treleaven
43d8e21362 Add GeanyFiletypePrivate instead of using inheritance for non-public
fields (this was unnecessary and meant using ugly casts).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-19 17:19:34 +00:00
Nick Treleaven
1bbb9ba3c7 Remove 2 unnecessary deprecated macros.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-19 16:45:07 +00:00
Nick Treleaven
c538b55903 Disable indent guides for the Diff filetype, as they can be
distracting as added/removed lines don't get them.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2975 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-19 16:30:04 +00:00
Enrico Tröger
7d5c2000a5 Handle error messages and warnings from the mcs (Mono) compiler like those from Pascal or Basic compilers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 16:09:51 +00:00
Enrico Tröger
bab0991c36 Rename the new indicator functions and add documentation comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2973 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 13:27:10 +00:00
Enrico Tröger
73e24fa13e Display also the style of the current position in the status bar when debug mode is enabled.
No need to make the debugging strings translatable in the status bar.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2972 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 13:25:13 +00:00
Nick Treleaven
5dde790601 Add 'Tab key indents' pref, which replaces hidden pref
'use_tab_to_indent'; it's now on by default.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2971 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 12:43:41 +00:00
Nick Treleaven
3036bbe067 Fix ScintillaFuncs::indic_clear() return type, and rename to
indicator_clear().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2970 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 11:47:48 +00:00
Nick Treleaven
2b4fe97620 Use wrap label for the first label in the plugin manager dialog.
Use scrolled window for plugin details text area to avoid resizing
dialog components if a plugin has a long description.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2969 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-18 11:41:27 +00:00
Enrico Tröger
113a85382b Mention Jay in the list of contributors.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2968 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:08:52 +00:00
Enrico Tröger
f40580edee Fix typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:06:02 +00:00
Enrico Tröger
a6ce9b8a6d Replace the usage of the old Scintilla indicator API by the new modern API and remove old hacks (patch by Jason Oster, thanks).
Add new sci_indic_clear() function to the plugin API.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:05:27 +00:00
Enrico Tröger
5f51987732 Display SVN revision number in version information if available.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2965 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:03:52 +00:00
Enrico Tröger
ab3c9a4f3d API changes:
Rename sci_can_copy() into sci_has_selection().
Rename sci_find_bracematch() into sci_find_matching_brace().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:02:55 +00:00
Enrico Tröger
0391754995 Break lines at 100 characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:01:09 +00:00
Enrico Tröger
46d790cdeb Add missing 'directive' style to filetype CSS (patch from Jason Oster, #2114697, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 18:00:37 +00:00
Nick Treleaven
a8a0002950 Edit 'About Geany' text to be more concise.
A few minor fixes.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 17:01:38 +00:00
Nick Treleaven
771d40cadd Update feature list in About Geany section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 16:14:51 +00:00
Nick Treleaven
98b2074c21 Add item: custom pipe-separated tags files support. Edit/update wishlist.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2959 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 15:54:37 +00:00
Nick Treleaven
d625394615 Apply patch (with minor changes) from Jason Oster to improve showing
brace indent guides on empty lines when appropriate (thanks,
#2105982).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 12:36:04 +00:00
Nick Treleaven
a01abd937d Cancel autocompletion on Undo/Redo (based on a patch by Jason Oster,
thanks; #2102715).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 12:12:49 +00:00
Enrico Tröger
5ac15f232f Add 'splitwindow' plugin to the build list of the Waf build system.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2956 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-17 10:09:16 +00:00
Nick Treleaven
34f54710dd Merge split-window-plugin branch.
Add Split Window plugin (should work OK for viewing and basic text
editing; most other features are not implemented yet).
Add editor_create_widget() to the API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-16 16:06:47 +00:00