3498 Commits

Author SHA1 Message Date
Nick Treleaven
73c73a6bcf Fix segfault when clicking on split window after the original
document has been closed and the view has been refreshed to another
document.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 15:19:37 +00:00
Nick Treleaven
c47a0d8ab2 Use EditWindow structure instead of separate global variables.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3052 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 14:50:54 +00:00
Nick Treleaven
ddf488dcb5 Fix segfault when holding Alt and scrolling editor window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3051 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 12:14:57 +00:00
Nick Treleaven
21b5fb03f2 Fix file header info.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 12:03:45 +00:00
Nick Treleaven
7d3adcea45 Add toolbar with Refresh button to sync to the current document, and
an Unsplit button (reuses existing string).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3049 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 12:00:29 +00:00
Enrico Tröger
4c339cc656 Use Tabs for indentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:37:22 +00:00
Enrico Tröger
bed14c6353 Use g_strerror() instead of strerror().
Remove build system checks for strerror().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3047 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:37:10 +00:00
Enrico Tröger
e13eb4148b Update waf to its latest SVN version (nearly 1.5.0).
Adjust wscript to latest Waf API changes.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:36:36 +00:00
Enrico Tröger
4ec8d37075 Enable interactive search for the keybindings tree view in the prefs dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3045 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:36:08 +00:00
Nick Treleaven
ff85d28238 Fix wrong editor scrollbar mouse cursor and broken middle-click
paste after splitting or unsplitting (fixes #2142186).
Note: this is a workaround for an issue with Scintilla where the
widget (or its parents) can't be removed or reparented to a
non-visible widget.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 16:13:35 +00:00
Nick Treleaven
a9f071e3f5 Remove trailing whitespace.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3043 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 15:48:42 +00:00
Frank Lanitz
554fb6c238 Update of Belarusian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3042 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-05 20:34:16 +00:00
Frank Lanitz
3e6db63170 Extend LaTeX tag list with a couple of commands from moderncv package.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3041 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 22:41:15 +00:00
Frank Lanitz
0f0857fe5e Update for string freeze in preparing of Geany 0.15 release
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3040 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 22:22:12 +00:00
Enrico Tröger
43f4a13ae7 Remove more bashisms and avoid using 'which' which is not LSB-compliant.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3039 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 16:10:45 +00:00
Nick Treleaven
2fc2107cb8 Refactor add_tree_tags() from symbols_recreate_tag_list().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/symbol-tree@3038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 15:48:50 +00:00
Enrico Tröger
737c7a6d76 Add an option to store the project file of new projects inside the project base directory.
Doc: Add descriptions for the Search tab in the preferences dialog.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 15:09:33 +00:00
Enrico Tröger
8222833cac Auto Save -> Save Actions (forgotten in last commit).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3036 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 14:25:32 +00:00
Enrico Tröger
75d46bff7e Merge InstantSave, AutoSave and BackupCopy plugins into the plugin 'Save Actions'.
Add a section for documentation of internal plugins in the documentation.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3035 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 13:37:35 +00:00
Nick Treleaven
5a12103f0a Apply patch (with minor formatting fixes) from Conrad Steenberg
(gnocci-man) to show methods as children of classes in the symbol
list, and for other tag types to group children by their parents
(thanks; 2083110).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/symbol-tree@3034 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 12:06:20 +00:00
Nick Treleaven
84e0f1a54b Create branch to convert symbol list to a symbol tree grouped by namespace/class/struct/etc parent items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/symbol-tree@3033 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 11:54:16 +00:00
Nick Treleaven
76d39ec9aa Update: note SCI_LOADLEXERLIBRARY for plugin filetypes, merge better regex items, add some indents.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3032 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 11:43:48 +00:00
Nick Treleaven
75f2386eeb Remove unused argument ft_id from styleset_common().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 17:26:15 +00:00
Nick Treleaven
604a981482 Fix using common styleset for filetype None.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 17:17:33 +00:00
Nick Treleaven
6d4068f7b3 Reformat HACKING as true reStructuredText.
Add 'make hacking-doc' target to generate hacking.html.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3029 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 16:47:25 +00:00
Nick Treleaven
9bbf07f195 note: Please make sure patches follow the style of existing code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3028 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 12:43:17 +00:00
Nick Treleaven
0c5acd5ccb note: Please try to make your styles fit in with the other filetypes' default
colors.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3027 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 12:36:37 +00:00
Enrico Tröger
9b05011c20 Remove inexact and unnecessary warning if a Run command has failed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3026 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-30 20:30:38 +00:00
Enrico Tröger
040e4391c7 Update the window title also when creating new projects.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-30 20:29:27 +00:00
Enrico Tröger
2b1e1d6bf0 Fix a few memleaks.
Handle errors when creation of the project base directory fails.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3024 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-30 20:28:18 +00:00
Enrico Tröger
d60ae9bbf1 Fix syntax highlighting for filetype R, synchronise the colours with those other filetypes.
Add two more keyword types and add many many more keywords.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 18:10:42 +00:00
Enrico Tröger
bb8ffda3f4 When generating documentation, first try rst2html.py as it is the upstream default.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3022 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 18:09:43 +00:00
Nick Treleaven
0117b3e5b2 Apply patch from Jason Oster to auto-update the line margin width as
lines are added (thanks; #2129157).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 12:44:31 +00:00
Nick Treleaven
9b6e4c02a2 Remove use of non-greedy matching in error_regex - this doesn't seem
to be supported by common versions of glibc (thanks to AC for
reporting).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 12:13:45 +00:00
Enrico Tröger
7ba3f99488 Don't use hard-coded stylebits values for different lexers, query the correct value from Scintilla and use it (this fixes a display problem with Perl code like 'sub test()').
Add missing styles for filetype Perl.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3019 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 18:07:08 +00:00
Enrico Tröger
087872260f Add new filetype 'Gettext translation file' (closes #2131985).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3018 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 16:32:49 +00:00
Enrico Tröger
22cde627fe Revert previous notebook focus changes as this disables the tab scroll arrows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 15:17:00 +00:00
Enrico Tröger
7f6d032d4b Cleanup. Remove unnecessary checks and code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3016 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-27 14:07:14 +00:00
Enrico Tröger
15f9a321c8 Fix wrong filename.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3015 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-27 14:06:57 +00:00
Enrico Tröger
72cbba79f7 Make 'Line Breaking' UTF-8 safe (to work with non-ASCII characters).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3014 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-27 14:06:43 +00:00
Enrico Tröger
8f94954706 Make the debug messages window a little bigger.
Enable wrapping of messages to avoid horizontal scrolling.
Automatically scroll to the end of the messages when showing the dialog or updating its contents.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3013 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-27 14:06:22 +00:00
Enrico Tröger
ac07cf386e Fix unintentional switch fall-through (patch from Jason Oster, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 18:30:03 +00:00
Enrico Tröger
71dbd0f2d6 Make 'Previous/Next word part' keybindings configurable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 18:29:42 +00:00
Nick Treleaven
46cae47182 Use GeanyDocumentPrivate 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@3010 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 17:28:50 +00:00
Enrico Tröger
fb1d2abe5f Fix typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 16:49:52 +00:00
Enrico Tröger
b62583b0fb Remove can_focus flag from notebook widgets to avoid focused tab labels.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 16:49:36 +00:00
Nick Treleaven
a49aa6e01b s/GEANY_SCI_CB_H/GEANY_EDITOR_H.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 14:16:44 +00:00
Nick Treleaven
a3b7a6abfd Update to mention separate is_comment_style() and is_string_style()
functions.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3006 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 14:13:48 +00:00
Nick Treleaven
9781b864fe Try to fix build for new R filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3005 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 14:01:41 +00:00
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