1250 Commits

Author SHA1 Message Date
Enrico Tröger
e005839d55 Do not auto complete project filename and base path when they were changed manually.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1202 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-18 18:48:43 +00:00
Nick Treleaven
13bcd7868c Change default keybinding for Close All to Ctrl-Shift-W to avoid
conflict with Document menu (thanks to Jeff Pohlmeyer).
Remove Alt-P default KB for Preferences to avoid conflict with
Project menu.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1201 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-18 11:31:37 +00:00
Enrico Tröger
55f054d234 Added properties dialog (still far away from state ready).
Added file_patterns field.
Added utils_mkdir().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1200 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-17 23:44:08 +00:00
Nick Treleaven
a2f5700e3b Make Go to Tag Definition work for all tags except forward
declarations and externs.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-17 17:42:23 +00:00
Enrico Tröger
133a8b7ae6 Use g_shell_quote to avoid problems with special characters in the path of a filename.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1198 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-16 15:57:00 +00:00
Nick Treleaven
84b941bf63 Add tm_arglist_compare().
Fix comparison in tm_symbol_tag_compare().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1197 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-16 15:24:01 +00:00
Nick Treleaven
9114f27848 Fix include project.h
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1196 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-16 15:22:24 +00:00
Nick Treleaven
b869858a10 Backport improvements from Anjuta 2.02.
Parse anonymous struct and enums (using contextual_fake_count).
Add better C99 support, e.g. wchar_t variables.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1195 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-16 13:18:37 +00:00
Enrico Tröger
716360ee6d Started to implement project management (still unusable).
Added project.[c|h].


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-15 18:12:32 +00:00
Enrico Tröger
e68f2546d4 When using Save As the returned filename needs to be converted into UTF-8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-15 16:13:36 +00:00
Enrico Tröger
ac48b2bc35 Fixed changing directories when the path contains whitespace.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1192 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-15 15:08:10 +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
1268cbc39b Enabled auto completion of constructs for filetype JavaScript.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:51:12 +00:00
Enrico Tröger
43d8e7ecef jsp is a Java extension.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1189 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:46:39 +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
Enrico Tröger
919889c91c Updated copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1187 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:13:38 +00:00
Enrico Tröger
2b0740a5fa Added sci_set_use_tabs().
Fixed mem leak in sci_cb_auto_forif().
Moved free_pointers() to utils.c.
Applied patch from Jeff Pohlmeyer to add an option for using spaces or tabulators when inserting some whitespace.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:09:17 +00:00
Enrico Tröger
d19f8ba6c4 Removed duplicate symbols.c and reordered the list alphabetically.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 13:36:30 +00:00
Nick Treleaven
0a29909408 Fix segfault when setting Lua filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 12:45:29 +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
Enrico Tröger
b54b45ea42 Applied patch from Jeff Pohlmeyer to add an option for disabling DnD in the editor widget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1182 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 20:50:36 +00:00
Enrico Tröger
f0d4e65311 Added new filetypes Javascript and Lua.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1181 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 20:16:09 +00:00
Nick Treleaven
9a131ece20 Update the symbol list when starting a new document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1180 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 15:25:45 +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
ad78c7e1a0 Print an error message (instead of debug message) when a
command-line file cannot be loaded.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1178 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 12:42:12 +00:00
Nick Treleaven
9a34105638 Fix some indent formatting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1177 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-12 16:56:23 +00:00
Nick Treleaven
64a6c47012 Fix g_strconcat leaks in utils_make_settings_dir().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1176 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-12 16:55:05 +00:00
Nick Treleaven
4fa9eb2e8c Don't select the current document when reordering tabs (fixes
#1632708).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1175 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-12 13:04:39 +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
ccab52b62d Fix commenting multiple lines (oops).
Set single undo action when toggling multiple lines.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1173 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-11 11:59:40 +00:00
Enrico Tröger
7c231b2361 Try to fix paste problems on Windows (should close #1628951).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-09 23:53:25 +00:00
Nick Treleaven
15fb502837 Prevent some possible buffer overflows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1171 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-09 16:53:27 +00:00
Enrico Tröger
2ceedcdc7b Improved tool tip for terminal emulation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1170 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-08 18:24:45 +00:00
Enrico Tröger
692d2aa731 Added keyboard shortcut for Save As.
Added missing documentation for some keyboard shortcuts.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1169 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-08 18:15:06 +00:00
Enrico Tröger
2bcc43c152 Added a little comment for writing Unicode BOMs.
Fixed a compiler warning.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1168 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-07 18:48:56 +00:00
Nick Treleaven
af369cf776 Fix memory leak when using utils_scan_unicode_bom().
Prevent invalid memory read in utils_scan_unicode_bom() when text
length is < 4.
Move utils_scan_unicode_bom(), utils_is_unicode_charset() to
encodings.c.
Read the BOM length in handle_bom().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-07 16:22:41 +00:00
Enrico Tröger
92fa2b5d60 Fixed typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1166 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-07 14:04:13 +00:00
Nick Treleaven
2307541285 Fix sign comparison warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1165 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-07 13:07:09 +00:00
Frank Lanitz
feae306622 Update of German and French translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1164 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 21:45:13 +00:00
Enrico Tröger
7b11469786 Save template files in a subdirectory "templates" inside Geany's configuration directory.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1163 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 18:00:34 +00:00
Enrico Tröger
1151c48c54 Fixed missing colouring of tab menu label.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1162 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 17:16:43 +00:00
Enrico Tröger
66df9594ed Added template for BSD licence.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1161 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 15:38:44 +00:00
Enrico Tröger
b53385de1d Removed multiline template because it makes not much sense, instead just comment three lines using the general comment functionality.
Removed special templates for Pascal and some other filetypes using "#" as comment char. The comment characters for fileheader and GPL templates are now added dynamically according to the current filetype.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1160 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 15:03:53 +00:00
Nick Treleaven
5b3b1af12d Use load_text_file() in document_open_file() to read, verify and
handle encoding using FileData struct.
Refactored handle_[forced_]encoding with FileData* argument.
Update data length after removing BOM chars in handle_bom().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1159 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 12:35:43 +00:00
Nick Treleaven
eb2c45e278 Ensure the VTE visual settings are applied when switching to VTE
when the Message Window is hidden.
Show the Message Window when switching to Scribble.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1158 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-06 11:55:01 +00:00
Enrico Tröger
b3b3f33121 Fixed a wrong translated string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1157 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-05 15:44:34 +00:00
Nick Treleaven
3e31b904dc Make build_parse_make_dir() more efficient.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1156 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-04 11:49:14 +00:00
Nick Treleaven
7170df59b8 Added filetype_id typedef so that GEANY_FILETYPES_* can be shown
when debugging (also renamed some filetype_id variable names).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1155 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-03 16:21:44 +00:00
Nick Treleaven
fe39c70821 Fix for C89 compatibility.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1154 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-03 12:50:57 +00:00
Nick Treleaven
0e75efdd3c Parse pointers in function return type for C-like files.
Show scope in calltips.
Made tm_tag_destroy() static.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1153 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-03 12:41:10 +00:00