2913 Commits

Author SHA1 Message Date
Enrico Tröger
f101e95aab New website address: www.geany.org.
Merge README.I18N with latest from the wiki.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2917 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 11:15:16 +00:00
Enrico Tröger
f16d8c4426 Update waf to its latest SVN version (1.5.0 preview).
Adjust wscript to latest Waf API changes.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2916 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 11:12:47 +00:00
Enrico Tröger
b82c2ee714 Set 'can_focus' property on some checkboxes in the prefs dialog which were missing it.
Enable 'focus_on_click' property on most checkboxes in the prefs dialog to ease keyboard navigation.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2915 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-01 11:11:33 +00:00
Nick Treleaven
6f60b4bc2c Add 'Max. symbol name suggestions' autocompletion pref.
Edit some autocompletion pref strings.
Remove some trailing commas in array initializers (oops).
Move GEANY_TOGGLE_MARK, GEANY_MAX_AUTOCOMPLETE_WORDS to keyfile.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2914 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-29 17:00:02 +00:00
Nick Treleaven
075fae6a64 See the manual for details.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2913 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-29 12:37:42 +00:00
Nick Treleaven
7fafa7b39c Separate runtime requirements and build requirements subsections.
Mention that usually building GTK manually is not necessary.
Run 'make install' as root.
Add some subsection titles.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-29 12:33:44 +00:00
Nick Treleaven
83c756f7b5 Fix global tags loaded debug message, display total tags count.
Add comment to warn about adding tags files vs. downloading
separately.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2911 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-28 16:59:20 +00:00
Nick Treleaven
0371bb7853 Change hidden pref scroll_stop_at_last_line to TRUE (#2030914).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2910 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-27 16:41:02 +00:00
Nick Treleaven
1e79093f2c Add GeanyFiletypeGroupID enum and GeanyFiletype::group field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2909 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-27 16:16:50 +00:00
Nick Treleaven
6ce421f141 Add OpenGL Shader Language (GLSL) filetype (patch from Colomban
Wendling, thanks; closes #2060961).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-27 12:44:54 +00:00
Nick Treleaven
2ad140a1fd Use pointer in init_builtin_filetypes() instead of repeating
filetypes[GEANY_FILETYPES_X]->... on each line.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2907 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 16:30:25 +00:00
Nick Treleaven
9f8f2c7b28 Add Split Window plugin (work-in-progress).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 15:58:07 +00:00
Nick Treleaven
3ed124861e Create branch to develop basic Split Window functionality in a plugin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2905 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 15:25:50 +00:00
Nick Treleaven
33d207e27d Add script to add a file to SVN, setting the correct properties and warning about updating po/POTFILES.in.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2904 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 15:18:36 +00:00
Nick Treleaven
a2fbc3a949 Rename HighlightingStyle to GeanyLexerStyle.
Add dox for highlighting_get_style(), GeanyLexerStyle, mentioning
SCI_STYLEGETFORE.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 12:43:46 +00:00
Nick Treleaven
346967c112 Add assert statements to check that the StyleSet styling arrays are
not exceeded.
(Also make highlighting_get_style() work with all filetypes, but
probably we should remove this from the API; plugins could just use
the SCI_STYLEGET* functions instead).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 09:48:18 +00:00
Nick Treleaven
d43cd0ee2a Add editor_destroy() to dispose of a GeanyEditor struct (in future
we may want to do more than just free it).
Fix editor.h dox description to be more informative for the API
(and move dox from editor.h to editor.c).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2901 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-25 15:44:51 +00:00
Nick Treleaven
8126ee2098 Detect 'Tabs and Spaces' indent mode on finding one or more hard
tabs before a soft tab at the start of several lines, and also when
the first indent symbol count is not mainly tabs or mainly spaces.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-19 14:55:56 +00:00
Nick Treleaven
e05b225632 Don't warn about a missing file on disk more than once (otherwise
somtimes it's too difficult to close the file before getting the
prompt).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2899 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-19 11:45:07 +00:00
Nick Treleaven
137325eb18 Don't disable 'Detect from file' indent type pref when 'Tabs and
Spaces' is selected.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-19 11:20:09 +00:00
Nick Treleaven
45880b0d7d Fix not using auto-completion in strings and comments (patch by
Jason Oster, thanks; fixes #2057979).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2897 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-19 11:15:15 +00:00
Nick Treleaven
71c1bcff4c Add item: MRU documents switching.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2896 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-18 16:51:45 +00:00
Nick Treleaven
fb82e51d64 Support detecting 'Tabs and Spaces' indent mode when opening a file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2894 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-18 15:58:36 +00:00
Enrico Tröger
eaf999e897 Don't use AC_CHECK_PROG() to check for a C++ compiler as it breaks compatibility with suncc (reported by Andras Barna, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2893 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-18 10:36:15 +00:00
Enrico Tröger
2a0f02602c Remove non-portable compiler optimisation '-Os'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2892 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-18 10:35:22 +00:00
Enrico Tröger
22fe388155 Fix compiler warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-17 14:20:30 +00:00
Enrico Tröger
a600f6bb7f Put geany.exe into a 'bin' subdirectory as well as the included
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2890 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-17 14:19:34 +00:00
Nick Treleaven
57ff84b183 Make Ctrl-click on a word perform Go to Tag Definition (this
shouldn't conflict with column editing as this uses
Ctrl-Shift-click).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-14 16:39:51 +00:00
Nick Treleaven
16d8dad107 Rename api_version GEANY_API_VERSION.
Rename abi_version GEANY_ABI_VERSION.
Use enums for each of these so they can be used to initialize a
global variable, and add dox.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2888 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-14 15:50:40 +00:00
Nick Treleaven
a25c8ec38b Don't look up "scroll_arrow_hlength" and "scroll_arrow_vlength"
GtkWidget properties on GTK < 2.10.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-14 15:48:11 +00:00
Enrico Tröger
b185501584 Don't force debug mode when compiling with GEANY_DEBUG (this affects only the messages on stdout and stderr). Messages are logged always in the debug window.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-13 18:44:09 +00:00
Enrico Tröger
f73f4fd870 Fix logging of messages in the debug window on Windows.
When '--debug' option is given on Windows, set the G_SPAWN_WIN32_DEBUG flag for more debug info for spawned processes.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2885 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-13 18:42:11 +00:00
Enrico Tröger
e78b6a9b68 Replace fprintf() with g_critical().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2884 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-13 18:40:34 +00:00
Enrico Tröger
3a8a600790 Expect GTK 2.10 libs to link against by default and remove GTK210 flag. If anyone wants to build on Windows against GTK 2.6 or 2.8 use 'make GTK280=1'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2883 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-13 18:38:40 +00:00
Enrico Tröger
af7e8526c8 Add middle-click document closing to the Tips and Tricks appendix.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2882 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-13 18:36:56 +00:00
Nick Treleaven
45b65ee7fd Regenerate geany.html (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2881 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-13 16:50:09 +00:00
Nick Treleaven
7b1c98cf68 Add Tips and Tricks appendix.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2880 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-13 16:35:49 +00:00
Enrico Tröger
05d05dc7cc Add log.c to the list of translatable files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2879 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 18:25:25 +00:00
Enrico Tröger
de7019ba6b Remove trailing spaces.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2878 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 18:20:19 +00:00
Enrico Tröger
53ddbf0bbf Fix bad wording (closes #2038807).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2877 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 18:18:33 +00:00
Enrico Tröger
459ba625ed Move geany_debug() into log.c.
Use GLib log/print handlers to log messages/warnings into a string for later usage.
Add a debug messages window, accessible through the help menu to easily view debug messages/warnings.
This might replace the extra console window on Windows.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2876 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 18:16:35 +00:00
Nick Treleaven
6c6934d839 Change 'Tab width' label to 'Hard tab width' for clarity.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 16:57:40 +00:00
Nick Treleaven
530761a6fb Rename GeanyIndentPrefs::tab_width to hard_tab_width, and update
keyfile key name.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2874 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 16:53:03 +00:00
Nick Treleaven
c0ee8ae6e6 Fix using correct hard tab width for HTML export, not just LaTeX.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2873 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 16:44:19 +00:00
Nick Treleaven
ca9fbbc777 Break is_comment() into comment and string detection, each called in
is_code_style().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2872 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 16:31:36 +00:00
Nick Treleaven
2c883b720d Fix auto-multiline comment completion for CSS.
Fix doc-comment keyword styles confusing auto-multiline comment
completion.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2871 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 16:14:39 +00:00
Nick Treleaven
29b778fb0a Add SCE_[CD]_COMMENTDOCKEYWORD(ERROR) comment detection to
is_comment().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2870 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 12:02:59 +00:00
Nick Treleaven
a134c529c2 Rename KeyCallback GeanyKeyCallback.
Rename KeyBinding GeanyKeyBinding.
Rename KeyBindingGroup GeanyKeyGroup.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2869 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-08 18:05:53 +00:00
Nick Treleaven
22dfc32135 Don't set plugin keybinding accels for menu items in
keybindings_set_item(), so user keycombos can override them.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2868 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-08 15:15:50 +00:00
Nick Treleaven
b74eb47577 Add sci_get_tab_width() to the API, and use it to get the correct
display tab width in the Export plugin.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2866 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-08 14:46:31 +00:00