2163 Commits

Author SHA1 Message Date
Nick Treleaven
eafc95a59f Apply patch from Colomban Wendling to add Vala filetype (thanks).
Fix c.c tagLetter() bug.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 16:33:20 +00:00
Enrico Tröger
a163a443cc Remove unused lexers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3203 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-10 18:28:14 +00:00
Enrico Tröger
98cf47a6a8 When using custom file templates, add the extension of the template file to the filename of the new document.
Make {datetime} wildcard generally available for most template types.
Allow use of most available wildcards for custom file templates, too.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3202 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-10 18:27:23 +00:00
Nick Treleaven
0e54a39c9b Make Python symbol tree method icon look more like a function than
variable.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3201 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-10 17:31:45 +00:00
Nick Treleaven
d9184913a9 Add icons for Conf symbol tree items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3200 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-10 17:16:35 +00:00
Nick Treleaven
5329a0c59d Group Conf symbol list tags by section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-10 17:03:11 +00:00
Nick Treleaven
1f6a611580 Merge symbol-tree branch:
Apply patch (with some reworking) from Conrad Steenberg
(gnocci-man) to show methods as children of classes in the symbol
list, and for other tag types to group children by their parents
(thanks; #2083110).
This works for any filetype that TagManager can parse tag scopes
for.
Fix not allowing a leading underscore when using scope name prefix.
Fix symbol-tree branch bug: missing C++ constructor declaration
tags.
- Code changes:
Use TMTag instead of GeanySymbol so the symbol tree can read the
scope without parsing it.
Free tag list straight after use, instead of next time the list is
generated.
Use TMTag pointer tree model column instead of line number.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3197 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-10 16:57:18 +00:00
Nick Treleaven
12e29d7ebd Make Version Diff plugin set the indent type for diffs based on the
current file's indent type.
Add editor_set_indent_type() to the API.
Note: uses editor.h plugindata.h include.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-08 13:32:55 +00:00
Nick Treleaven
1f1cbd4523 Make Ctrl-click go to matching brace if there's no current word.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-08 13:14:09 +00:00
Enrico Tröger
efcdca4057 Don't auto close <hr> tags in HTML (closes #2226117).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3191 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:40:06 +00:00
Nick Treleaven
71523b8a2b Fix segfault when showing Find in Files dialog when no documents are
open (r2998, #2228544).
Fix segfault for FIF from last commit (oops).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3182 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-06 17:26:29 +00:00
Nick Treleaven
a7e94bdf64 Refactor search_show_find_in_files_dialog().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3181 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-06 17:13:18 +00:00
Nick Treleaven
8b29e6b7f3 Fix sorting tags with missing parents by line if the names and
scopes are identical.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/symbol-tree@3174 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-05 12:58:53 +00:00
Nick Treleaven
c0064114ca Replace macro with static function.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/symbol-tree@3173 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-05 12:50:29 +00:00
Nick Treleaven
1d69b53f57 Fix sorting tags whose scope name doesn't have a tag (e.g. for C++
source file methods with class definition in a header file).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/symbol-tree@3172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-04 18:14:04 +00:00
Nick Treleaven
a371bea2a0 Add bug number.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3171 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-04 13:43:30 +00:00
Nick Treleaven
eebfbbf488 Fix Prefs dialog Tools tab Context Action open button showing the
file dialog twice.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3170 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-04 13:33:08 +00:00
Nick Treleaven
8355e6a158 Fix snippets and smart indent using too much indentation when the
line contains whitespace after non-whitespace characters. This
might also have affected other features (auto table, etc).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3169 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-04 13:05:15 +00:00
Nick Treleaven
5f32d93886 Fix GLib warning when pressing Close File keybinding and no
documents are open.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-03 17:38:50 +00:00
Nick Treleaven
3b25dca469 Remove symbol tree 'skipped' code, instead sort parents first when
adding tree iters. This should fix missing symbols sometimes.
Use TMTag instead of GeanySymbol so the symbol tree can read the
scope without parsing it (fixes problems with '.' characters in tag
names for e.g. HTML).
Free tag list straight after use, instead of next time the list is
generated.
Use TMTag pointer tree model column instead of line number.
Fix not allowing a leading underscore when using scope name prefix.
Remember parent tree iter for a tag if it is used for a child tag's
scope, rather than just for tags of a certain type. This should be
more flexible for various filetypes.
Various symbol-tree code refactoring.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/symbol-tree@3166 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-03 17:25:35 +00:00
Enrico Tröger
bae8ca23d7 Revert last change as it breaks (again) the primary X selection as well as the mouse cursor on the scrollbar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3163 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-30 15:23:27 +00:00
Enrico Tröger
c9fc4a1048 Try to fix a weird bug in reparenting the notebook widget when splitting on Windows. It still occurs on unsplitting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3161 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-29 20:52:22 +00:00
Enrico Tröger
a3b27b3714 Enable generation of API documentation of tagmanager functions which are exposed in the plugin API, hide all others from the API docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3160 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-27 19:17:28 +00:00
Enrico Tröger
b80c7e3236 Replace deprecated gtk_marshal_* functions with g_cclosure_marshal_* functions and add geany_cclosure_marshal_VOID__STRING_INT_POINTER.
Fix a wrong marshal type (pointer != int).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3159 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-27 19:17:11 +00:00
Enrico Tröger
c90b262434 Update docs for changed rectangular selection usage since Geany 0.15.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3158 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-27 19:17:00 +00:00
Enrico Tröger
631eb07c27 Handle UTF16/32 encoded files without a BOM better and allow them to opened (#2155573, patch by Jason Oster, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3156 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-26 14:16:09 +00:00
Enrico Tröger
0324ed71f6 Add *_full variants of editor indicator functions to the plugin API for more control over indicators.
Add/Update some API docs.
Make the 'Mark' button for Find highlight the results with rounded boxes instead of marking the whole line.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3155 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:57:00 +00:00
Enrico Tröger
15efd65343 Fix updating of the value of the toolbar Goto line spinbutton.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3154 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:56:38 +00:00
Enrico Tröger
1c46db7dd6 Add main_locale_init() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3153 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:56:27 +00:00
Enrico Tröger
242f50ebd9 Fix deprecated usage of g_win32_get_package_installation_directory(), pass NULL as package name.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3151 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:56:04 +00:00
Frank Lanitz
7c4a065c67 Added some more HTML entities.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3149 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-24 22:46:49 +00:00
Frank Lanitz
dde74a624e Update of French translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3148 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-24 19:30:43 +00:00
Enrico Tröger
d3ee6f48ca Add toolbar buttons for Cut, Copy, Paste and Delete (#2161750).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3147 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-23 20:55:55 +00:00
Enrico Tröger
c946d4ef91 Replace Goto line text entry field in the toolbar with a spin button.
Remove dialogs_show_goto_line(), use the more generic dialogs_show_input_numeric() instead.
Increase limit of the maximum line number from 99999 to 100000000.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3146 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-23 20:55:06 +00:00
Enrico Tröger
57c764867c Add simple auto-detection for HTML files without proper extension.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3145 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-23 18:44:05 +00:00
Frank Lanitz
96b28080a6 Add a few more entities common in e.g. Spanish language
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3144 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-22 16:32:20 +00:00
Enrico Tröger
6bc86c4462 Replace gtk_widget_(un)ref() with g_object(un)ref(), patch by Colomban Wendling, thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3143 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-22 15:36:45 +00:00
Enrico Tröger
c4145b7f1f Add get_path_max() to get a sane value if PATH_MAX is not defined.
Change code where PATH_MAX was used unnecessarily.
Use GSlice API when building against GLib >= 2.10 (patch by Colomban Wendling, thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3142 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-22 15:36:16 +00:00
Enrico Tröger
95d1cd2cc3 Change style for 'identifier3' to bold to be in sync with the other identifier styles.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3141 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-22 15:35:51 +00:00
Enrico Tröger
7c65b2f5cc Change colours and bold flag for the extended_* and id styles (thanks to Jason Oster for his suggestions).
Use CSS-specific symbol type names.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3140 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 18:18:28 +00:00
Enrico Tröger
f0f13bbec6 Use a GeanyWrapLabel for the label holding the "Some contributors" text to fix dialog oversize problems with some localisations.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3139 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 18:18:02 +00:00
Frank Lanitz
73d3c2adb2 Updated list of German translators
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3138 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 17:58:43 +00:00
Enrico Tröger
243e8d0c3c Fix typo in 'pseudo_elements' keyword type name.
Change style for pseudo elements to bold and italic.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3135 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 17:23:48 +00:00
Enrico Tröger
ab5652921b Add a few more entities for punctuation (patch by Walery Studennikov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3134 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 17:13:50 +00:00
Nick Treleaven
b0fa2d3e6b Fix warning about ignoring command-line files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3132 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 14:52:29 +00:00
Nick Treleaven
79e2142b6c Add description for -P option.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3131 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 14:48:21 +00:00
Nick Treleaven
270de6cac6 Support loading a project file in a new instance from the
command-line.
Warn user when ignoring other command-line files when a project file
is the first argument.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 12:13:27 +00:00
Enrico Tröger
de54e72ecb Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3129 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-19 13:52:12 +00:00
Enrico Tröger
f5aca00aa9 New release: Geany 0.15 "Quillan".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3127 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-19 10:15:06 +00:00
Enrico Tröger
540b35e8e7 Update images for documentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3125 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-19 09:57:31 +00:00