108 Commits

Author SHA1 Message Date
Nick Treleaven
c97ce771d4 Add 'Bugs to watch out for' section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5258 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-23 16:41:29 +00:00
Nick Treleaven
fe08c54fb5 Add link to glade-2.12.2.tar.gz on geany.org.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5215 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 15:26:30 +00:00
Nick Treleaven
2c4cb093d0 Add tip about gcc optimization & warnings/debugging.
Add Testing section.
Update Libraries section about synchronizing with other projects.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4765 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-16 13:28:36 +00:00
Nick Treleaven
fdf62f3e77 Add some Style example comments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4486 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-09 12:52:11 +00:00
Nick Treleaven
2f8df127c9 Add some info about making the parser tag kinds and symbol list compatible.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4422 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-12 12:12:08 +00:00
Nick Treleaven
39366947d0 Fix using "other" tag type.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 19:05:51 +00:00
Nick Treleaven
a83c65b0bc Fix parsing Perl format statements ("other" type doesn't seem to work).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 18:43:58 +00:00
Nick Treleaven
48cd3cbc12 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
instead.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4401 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 16:17:11 +00:00
Nick Treleaven
87ec6a3a2d Add 'Doc-comments' plugin API subsection.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4368 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 15:16:04 +00:00
Nick Treleaven
2f3a5ac325 Add apply_style_entries() to simplify implementing styleset_foo().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4257 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 15:55:49 +00:00
Nick Treleaven
fc344b67df Update notes about data/filetypes.foo configuration file [styling] section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4255 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 15:28:25 +00:00
Nick Treleaven
cbe2c05bee Mention updating wscript.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4254 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-28 15:17:16 +00:00
Nick Treleaven
2866d0e859 Note the documentation files use (4) spaces for indentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4198 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 14:05:14 +00:00
Frank Lanitz
ab81ef986f Remove deprecated --debug flag. Please use --verbose/-v instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-15 19:56:05 +00:00
Nick Treleaven
b00d39b365 Add example of pointer declarations and more operator spacing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4187 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 14:48:24 +00:00
Nick Treleaven
faa4e734a6 Remove accidentally added tab indentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 14:39:11 +00:00
Nick Treleaven
51dc7f08b4 Add 'Compiler options & warnings' section.
Update Style section to be clearer about code alignment and show
some example code.
Other minor edits.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4180 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-13 15:20:28 +00:00
Nick Treleaven
4b3cdd44ce Fix out-of-date symbols.c note.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4177 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-12 16:19:03 +00:00
Nick Treleaven
01e2679ecf Mention using filetype_make_title() when adding a filetype.
Mention conflicting scintilla lexers will not be accepted; new lexers
should be submitted back to the scintilla project.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4173 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-10 16:37:21 +00:00
Nick Treleaven
6bd8f44454 Remove --generate-data-files argument & code - just edit
filetype_extensions.conf by hand (filetype order was broken
anyway).
Add *.H extension for C++ (useful for non-Windows systems).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4137 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-27 16:31:53 +00:00
Nick Treleaven
2955303eef Add section 'Plugin API/ABI design'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4127 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-26 14:46:45 +00:00
Nick Treleaven
18bc1c2a0b Update for styleset case macro changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4045 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 10:55:23 +00:00
Nick Treleaven
385ce9f9a9 Remove gsd_* default styles, use named styles instead.
Note: this relies on filetypes.common being installed.
Add load_style_entries(), which makes style initialization
simpler, used in styleset_c_like_init().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3873 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-18 14:20:07 +00:00
Nick Treleaven
676ef606c6 Make C++, D lexer filetypes use named styles (apart from uuid,
verbatim, regex styles).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3870 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-17 11:17:07 +00:00
Nick Treleaven
fd2f43911d Update docs for named styles in filetypes.* files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3829 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-01 14:37:53 +00:00
Enrico Tröger
84fc7556eb Add a few notes about basic plugin writing guidelines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3530 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-30 18:10:27 +00:00
Enrico Tröger
f7978158a5 Increase minimum required GTK version to 2.8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3504 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-22 20:33:21 +00:00
Nick Treleaven
e726bf942a Add GDB 'Stop on warnings' and 'Running with batch commands'
sections.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3388 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 17:11:09 +00:00
Enrico Tröger
d7caf0f9c0 Follow XDG Base Directory specification and use $XDG_CONFIG_HOME/geany (most often this is ~/.config/geany) as default configuration directory (closes #2166229).
The previous configuration will be moved to the new location if the new directory doesn't exist yet.
Move utils_make_settings_dir() into main.c.
Remove win32_get_appdata_folder() because g_get_user_config_dir() does the same.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3219 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 14:37:47 +00:00
Nick Treleaven
fb6f59d85b Clarify that if patches don't follow existing code style, we'll have to manually reformat them ourselves.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3176 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-05 16:25:49 +00:00
Enrico Tröger
4afed6de67 Add link for online API documentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3124 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-19 09:56:35 +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
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
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
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
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
Nick Treleaven
8fcf2072fe Update adding a filetype section, make clearer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2586 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-14 16:44:18 +00:00
Nick Treleaven
2d4fddb2fc Add note about not appending to structs like KeyBindingGroup and
GeanyCallback.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2408 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-26 13:35:34 +00:00
Enrico Tröger
8f496984a2 Add note and link for GTK 2.6 API docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2368 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 14:30:51 +00:00
Nick Treleaven
498964e1c7 Replace Plugins chapter with 'Writing plugins' section.
Add generating plugin API documentation section.
Replace 'Modifying data types' with 'Keeping the plugin ABI stable'
section.
Add note about using -ansi.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2347 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-14 17:44:43 +00:00
Nick Treleaven
9163bf50d6 Add note about writing ISO C90 code and not using C++ style comments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2273 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-22 13:16:07 +00:00
Nick Treleaven
dd4eb19966 Add coding note about not writing long functions with a lot of variables and/or scopes. Some other minor changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2173 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-14 17:46:21 +00:00
Enrico Tröger
3fef2dcc58 Prefix autotools macros with GEANY to avoid problems with already defined symbols on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2117 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-19 15:37:10 +00:00
Enrico Tröger
1d57381819 Add note about using autotools macros like DATADIR.
Add --print-prefix command line option to output installation paths.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2111 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 17:03:39 +00:00
Nick Treleaven
f7df2fff56 Add a default configuration file for reStructuredText.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2029 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 17:22:25 +00:00
Nick Treleaven
c3db657c01 Update 'Adding a filetype' section for new highlighting.c code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 16:15:58 +00:00
Nick Treleaven
49c07153d9 Reformat text width with fmt. Add comment about running Glade 2.10 uninstalled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-19 11:18:43 +00:00
Nick Treleaven
af91a8185a Add more complete information for adding a filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1835 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-28 16:15:26 +00:00