40 Commits

Author SHA1 Message Date
Enrico Tröger
4f74783fb1 Add menu items for different sorting of the symbol list to the symbol list popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1802 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 17:58:58 +00:00
Nick Treleaven
9f46d083c5 Move #define PLAT_GTK to geany.h.
Move filetype typedef to geany.h.
Don't #include any src/*.h files from headers.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 15:37:21 +00:00
Nick Treleaven
2e454f7af5 Add reStructuredText filetype and parser.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 11:50:03 +00:00
Nick Treleaven
023a60cda5 Parse Python global variables and class variables from assignment
statements; assignment to a tuple literal ('x, y =') not supported.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-07 12:36:03 +00:00
Enrico Tröger
8d009973a9 Fix crash when saving a file after setting encoding "None".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1767 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-31 17:07:33 +00:00
Enrico Tröger
f85cb9d4f1 Hide empty symbol types in the symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1756 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 14:10:49 +00:00
Enrico Tröger
75c74284f8 Add filetype Haxe (patch by blackdog, thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-26 09:50:12 +00:00
Enrico Tröger
17f33318e0 Adjust symbol list icon path on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 09:26:05 +00:00
Enrico Tröger
a7975ccc93 Extend icon search path to get symbol list icons working when using a non-standard installation prefix.
Query default icon theme only once to improve startup speed.
Store the line number separately in the tree store.
Remove utils_get_local_tag().	       


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1731 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-22 14:38:47 +00:00
Nick Treleaven
0994c76194 Apply patch to add symbol list icons from Jean-François Wauthy
(thanks). Also thanks to KDevelop for the icons.
Add list of projects to THANKS.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1728 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-20 16:33:16 +00:00
Enrico Tröger
287711caf4 Use CTags SVN version of PHP parser.
Use only supported symbol types in the symbol view for PHP.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 15:11:18 +00:00
Nick Treleaven
e84ef634c8 Create /tags directory if it doesn't exist when loading
global tags.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 12:07:57 +00:00
Enrico Tröger
f651b49c18 Parse also sections in configuration files.
Allow whitespace in keys and section names.
Remove unused LexConf.cxx.
Highlight also space separated key value pairs.		 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1656 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-02 17:09:48 +00:00
Nick Treleaven
5492a6d99b Use filetype_has_tags().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1580 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-26 15:26:05 +00:00
Nick Treleaven
9d09231c40 Use tag_list_add_groups() in init_tag_list().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1565 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-23 17:20:47 +00:00
Nick Treleaven
e3ffabcdea Add Haskell tags support from CTags patch on sf.net written by Peter
Strand (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1558 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-23 12:32:06 +00:00
Enrico Tröger
b5f8992a5d Added many widget names to different dialogs for use with custom styles. Menu items still don't work.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1535 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-15 15:16:16 +00:00
Nick Treleaven
6a53d1e307 Load global tag files stored in ~/.geany/tags when needed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1521 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-11 11:58:56 +00:00
Nick Treleaven
e3c956c7ad Use g_printerr (if necessary) when generating global tags to convert
UTF-8 automatically; mark error messages for translation.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1487 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-30 11:56:50 +00:00
Nick Treleaven
f39df4005f Add support for generating global tags files for non-C-like
filetypes.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-27 11:00:29 +00:00
Nick Treleaven
3ffa0a2545 Sort symbol list tags also by line number (fixes #1703575).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-23 15:15:13 +00:00
Nick Treleaven
b954dc8245 Add Load Tags command in the File menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 15:21:33 +00:00
Nick Treleaven
369c7bb51c Make \" filename quoting optional when creating a global tags file
(quoting is useful if glob matching is needed). Run geany -g for
example usage.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-05 12:07:46 +00:00
Nick Treleaven
6daf4d84be Load HTML-entities when the PHP lexer is first needed, instead of
when typing outside of PHP styles.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1424 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-26 12:18:51 +00:00
Nick Treleaven
8ba7ffe9e6 Fix segfault when pressing ctrl-enter when there are no workspace
tags (thanks to R8Rooy for reporting).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-24 12:10:43 +00:00
Nick Treleaven
d3dfe1dd1d Add option --generate-tags (-g) to generate a global tags file from
a list of source files. Currently this is only likely to work
correctly for C-like source files. Run 'geany -g' for syntax info.
Remove short option for hidden option --generate-data-files.
Update tm_workspace_create_global_tags() from Anjuta 1.2.4a.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-21 13:26:16 +00:00
Nick Treleaven
806dd5be1d Add descriptions for all .c source files below the file header.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 11:41:56 +00:00
Nick Treleaven
241ddc7a74 Fix missing global tags for C files when a C++ source file was
loaded first.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1250 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-06 16:13:57 +00:00
Nick Treleaven
0ba7d133fd Reorder symbol list by Namespaces, Classes, Functions, Members,
Structs, Macros, Variables.
Add D Variables, rename D Methods -> Functions.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1191 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-15 11:48:14 +00:00
Enrico Tröger
7b61ad934d Updated copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:36:42 +00:00
Nick Treleaven
23d856ae93 Move treeviews_init_tag_list() and symbol list GtkTreeIters to
symbols.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1183 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 12:12:18 +00:00
Nick Treleaven
6044ff1f50 Move utils_compare_symbol(), GeanySymbol, recreate_tag_list()
to symbols.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1179 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 13:25:05 +00:00
Nick Treleaven
f7b31cac95 Use '::' context separator for C also (so C/C++ share the same
syntax, and C++ .h headers use correct syntax).
Add symbols_get_context_separator() and use for calltips and the
symbol list.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1174 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-12 12:33:17 +00:00
Nick Treleaven
7365ae3c9c Colourise C enum, union and D/Java interface typenames.
Add sci_cb_lexer_get_type_keyword_idx() for use when finding if a lexer
supports typename colouring.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-16 17:18:53 +00:00
Enrico Tröger
627e8f00ca Moved html_entities array to symbols.c.
Fixed some checks for the new D lexer and improved detection of comments when auto completing or showing calltips.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1102 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 17:09:05 +00:00
Enrico Tröger
37c230845a Revert the last change to utils_str_equal() and use it again because g_str_equal() is not NULL-safe.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 16:09:45 +00:00
Enrico Tröger
c461da68f1 Removed utils_str_equal() and use g_str_equal() from GLib because it does exactly the same.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1056 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-06 20:44:32 +00:00
Nick Treleaven
bd1137d9e9 Rename utils_strcmp() utils_str_equal() (to avoid return value
confusion with strcmp()).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 16:21:46 +00:00
Nick Treleaven
67ce2f51b0 Move utils_get_tag_list() to symbols.c, make utils_find_tm_tag()
static.
Move symbols_get_global_keywords() to get_global_typenames() in
highlighting.c.
Add symbols_find_tags_as_string(), symbols_get_tag_list(),
symbols_get_macro_list(), symbols_find_in_workspace() from various
tag-related existing code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-08 11:42:05 +00:00
Nick Treleaven
762f4b5c91 Move global tags code to symbols.c.
Added symbols_global_tags_loaded(), symbols_get_global_keywords().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@860 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-02 11:31:54 +00:00