77 Commits

Author SHA1 Message Date
Colomban Wendling
e53d5b8299 Merge branch 'highlighting-rewrite' 2011-11-12 19:21:36 +01:00
Colomban Wendling
a00366b266 Update HACKING for highlighting setup refactoring 2011-11-12 02:07:36 +01:00
Matthew Brush
9bffb94cc4 Real-time type keyword highlighting
* Add new function: document_update_tags().
* Refactor the various tag update functions into document_update_tags().
* Remove extra call to update the tags in document_new_file().
2011-11-11 16:08:26 -08:00
Nick Treleaven
822240d17f Add Style example for structs, doc-comments 2011-11-03 17:38:55 +00:00
Nick Treleaven
efcce8808e Add note not to use G_LIKELY or G_UNLIKELY (except in critical loops)
These add noise to the code with little real benefit.
2011-11-03 17:38:54 +00:00
Matthew Brush
6ceb5ac164 Remove editor_lexer_get_type_keyword_idx() function
It was used only in one place in document_update_type_keywords() which
already did a similar check using the file type before calling this function.

Update HACKING file and very minor cleanup of other code in
document_update_type_keywords().
2011-11-02 20:18:12 -07:00
Matthew Brush
a23e999b7b Bump GTK+ version to 2.16 2011-10-28 10:25:58 -07:00
Lex Trotman
f9265535a3 Mention trailing whitespace in style 2011-10-12 17:45:24 +11:00
Lex Trotman
cc045b6736 Document building plugins for hacked Geany 2011-10-12 17:40:36 +11:00
Colomban Wendling
2aafa6a197 Improve the part about committing in HACKING 2011-10-12 01:40:37 +02:00
Colomban Wendling
ca33ea62cf Update HACKING for Git switch
Remove references to SVN in HACKING and add some tips and rules for
committing.
2011-10-09 20:48:02 +02:00
Nick Treleaven
3462cc900a Add note about using GRegex for tag parsers instead of POSIX regex.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5996 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-04 17:10:42 +00:00
Nick Treleaven
769dbdec0f Change GTK 2.8 -> 2.12.
Rename required GTK version section.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5948 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-22 16:11:53 +00:00
Enrico Tröger
dac3d64413 More GTK 2.8 => GTK 2.12 transition.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5862 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-26 21:28:20 +00:00
Enrico Tröger
672365af25 Add note about patching Glade 2.12 to compile it with newer GTK versions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5762 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-08 15:43:39 +00:00
Nick Treleaven
dcf24a54ef Combine, move, remove, edit 0.20 items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-04 18:36:41 +00:00
Nick Treleaven
ab6bde023a Add README for Scintilla explaining keeping in sync with scintilla.org and using Scintilla.iface instead of manual header editing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5499 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-24 13:52:08 +00:00
Nick Treleaven
7e93252745 Fix for moved highlighting_is_{comment,string}_style().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5410 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-16 15:21:41 +00:00
Nick Treleaven
3c0d7a940a Add 3 bugs to watch out for.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5306 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 12:11:07 +00:00
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