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
Nick Treleaven
0f3ffc3b79
Add more information for adding a filetype.
...
2 minor edits.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1795 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 16:00:13 +00:00
Nick Treleaven
70cd941345
Add filetypes, editor_prefs fields to plugin API.
...
Wrap scintilla_send_message(), sci_cmd(), lookup_widget().
Apply patch from Jeff Pohlmeyer to add more common scintilla wrappers
to the plugin API (thanks).
Increment plugin ABI version.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1768 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-03 15:05:53 +00:00
Nick Treleaven
109a7aee67
Convert 'Insert Special HTML Characters' tool into a plugin;
...
keybinding support will be added later.
Add plugin functions for inserting text into the current document.
Add plugin support for disabling a menu item when no documents are
open.
Destroy plugin_fields->menu_item on unloading if set by a plugin.
Use G_MODULE_BIND_LOCAL for plugins to prevent symbol shadowing by
other modules, and to help detect unresolved symbols at loading time.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 15:41:08 +00:00
Nick Treleaven
6e53eacc70
Added very basic plugin support - any plugins found in
...
/lib/geany are loaded at startup. Windows support will be
added later.
Added Demo plugin (currently installed by default), which adds an
item in the Tools menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1643 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-26 16:17:16 +00:00
Nick Treleaven
1e41e97499
Added 'About this file' and links for some Windows developer tools.
...
Added notes on adding a source file to src/ and brief notes on adding
a filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1631 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-19 16:50:33 +00:00
Nick Treleaven
0e9a9ebbf6
Add note about Adding a TagManager parser.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1581 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-26 15:35:22 +00:00
Nick Treleaven
00b4fa9087
Added note: See the src/*.c files for descriptions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1332 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 17:08:29 +00:00
Nick Treleaven
5325bd1a3f
Add HACKING file for new contributors.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1322 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-23 12:49:27 +00:00