Enrico Tröger
2d74a9779a
Implemented loading and saving of the project file and minor improvements.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1216 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-21 17:43:52 +00:00
Enrico Tröger
e19c187383
Added a notice of changed DnD behaviour in Scintilla 1.72.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1215 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-21 00:24:01 +00:00
Enrico Tröger
74f7a679a8
Updated Scintilla to version 1.72.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1213 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-20 23:54:28 +00:00
Enrico Tröger
9625fe29b0
Fixed typo.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1210 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-20 14:46:04 +00:00
Enrico Tröger
278458e436
Fixed crashes when using some dialogs after they were closed before.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1209 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-19 23:17:40 +00:00
Enrico Tröger
44f105e7ff
Documented GEANY_PROJECT_EXT.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1208 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-19 18:19:58 +00:00
Enrico Tröger
b2273b8fa9
Added more mimetypes supplied by Nick Schermer.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1207 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-19 18:15:13 +00:00
Enrico Tröger
c7b0fdeb8b
Use "rm" to delete the run script because unlink is not available on all systems.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1206 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-19 15:45:43 +00:00
Enrico Tröger
5f7777ea6a
Added MimeType entry as suggested by Nick Schermer.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-18 22:28:21 +00:00
Enrico Tröger
fda0a7a362
Removed unintended keybindings for the project menu items.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1204 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-18 22:20:30 +00:00
Enrico Tröger
001ee9aba7
Implemented project open dialog, but open doesn't do anything yet.
...
Added GEANY_PROJECT_EXT macro.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1203 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-18 22:13:50 +00:00
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
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
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
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
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
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