3812 Commits

Author SHA1 Message Date
Nick Treleaven
a16dd54629 Fix indenting for Tabs & Spaces mode when inserting snippets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3218 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 13:18:02 +00:00
Enrico Tröger
04e41e15a4 Fix indentation to consistently use tabs (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3217 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 19:37:02 +00:00
Nick Treleaven
a3d18c844b Add other files for last commit (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3216 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 17:55:07 +00:00
Nick Treleaven
24c7302f9c Add Split Vertically command (patch by Moritz Barsnick, thanks;
#2219553).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3215 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 16:21:32 +00:00
Nick Treleaven
648e9f281f Ignore hacking.html.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3214 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 13:39:35 +00:00
Nick Treleaven
7ac0e5f3b3 Fix empty statements and possible memory leaks with
utils_free_pointers() in utils_str_casecmp().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3213 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 13:05:33 +00:00
Enrico Tröger
023cf3f325 Add a file template for LaTeX (patch by Herbert Voss, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3212 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 19:50:40 +00:00
Enrico Tröger
321b460d10 Remove obsolete tag in Doxyfile.in.
Fix doxygen warnings for undocumented enum in plugindata.h.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3211 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 19:19:26 +00:00
Enrico Tröger
d1b5ace11c Replace uses of g_strcasecmp() with our own implementation, utils_str_casecmp().
Add utils_str_casecmp() to the plugin API.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3210 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 19:18:51 +00:00
Enrico Tröger
7009116b1a Evaluate only the strings 'TRUE' and 'true' to true in utils_atob(), any other string is treated as false.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3209 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 18:15:14 +00:00
Enrico Tröger
0b49cf4449 Use 'utf8' as encoding package in the LaTeX template as it seems it is the most used version for UTF-8 support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3208 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 18:07:35 +00:00
Enrico Tröger
b0a6d923dc Improve the checking for 'rst2html.py' when creating HTML docs.
Update Waf to 1.5.0 (final).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3207 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 18:07:16 +00:00
Nick Treleaven
0f5bce0172 Use separate keyword table for D (still missing keywords though).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3206 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 17:42:54 +00:00
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
Lex Trotman
b7b4834e1f Symbol fixes to .h and .hpp filetype prototypes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3204 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 09:27:49 +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
Lex Trotman
1469e56fea Prototype C and C++ header filetypes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3196 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-10 12:28:06 +00:00
Lex Trotman
30de1c33b1 Fix build menu updating
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3195 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-10 00:49:16 +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
c1717671d8 Set SVN file properties
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3192 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 15:55:40 +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
Enrico Tröger
474a0b4410 Add new filetype 'Matlab' (closes #1938631, patch by Roland Baudin, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:39:45 +00:00
Enrico Tröger
8bf87e009c Again, oops: this line got lost while merging.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3189 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:38:51 +00:00
Enrico Tröger
26f86a38a7 Oops, forgot to commit.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:38:38 +00:00
Enrico Tröger
af7aa43872 Allow showing remote locations in the file open dialog with GTK >= 2.14 since it works with Gvfs/FUSE mounts, too.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3187 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:38:13 +00:00
Enrico Tröger
de1839efd6 Formatting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:37:57 +00:00
Enrico Tröger
a0a04daeda Plug a little memory leak.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:37:42 +00:00
Enrico Tröger
99860e187a Add support for updating tags from a memory buffer (code merged from Anjuta).
This still doesn't work and is currently disabled. It would only work for a few filetypes like C, Fortran and JavaScript.
The current implementation is still buggy, e.g. function signature parsing is broken.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:37:17 +00:00
Lex Trotman
c857941e1d Check the new format
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3183 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 05:20:43 +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
Frank Lanitz
d0de0be03e Corrected a little typo in Hungarian translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3180 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-05 23:08:24 +00:00
Nick Treleaven
ffe9184fd0 Use GeanyProject typedef instead of struct.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3179 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-05 18:01:26 +00:00
Nick Treleaven
4b667693e3 Capitalize 'project build menu commands' string, make fully
translatable.
Add column spacing of 6 for project commands table (Gnome HIG).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3178 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-05 17:57:52 +00:00
Nick Treleaven
55c66f8d37 Factor with add_build_command_widgets().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3177 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-05 16:49:44 +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
Nick Treleaven
20da51a418 Fix warning with -Wall -Wextra.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3175 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-05 16:18:52 +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
Frank Lanitz
25f5f62a86 Little update of French translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3168 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-03 18:45:47 +00:00