Commit Graph

1186 Commits (7b61ad934de557244ea1c8bb2ecec8511e545916)

Author SHA1 Message Date
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
Frank Lanitz 5a447ac569 Update of Italian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1152 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-03 00:45:20 +00:00
Enrico Tröger 0760d24a2e When opening a file, set the current selected entry in the open files list to the file's filename.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1151 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-31 15:47:37 +00:00
Nick Treleaven b03bca85d1 Update
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-30 16:18:15 +00:00
Nick Treleaven 8d6ae11cbf Applied patch from Josef Whiter to parse 'Entering directory' build
messages so that subsequent error messages are handled correctly
(thanks).
Assume gcc-style error messages when filetype is not set.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1149 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-30 16:16:59 +00:00
Nick Treleaven a6f6c721d5 Don't use gtk_rc_get_style() in ui_update_tab_status() because it
can cause an invalid memory read on some systems.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1148 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-30 11:49:47 +00:00
Nick Treleaven 1650924026 Add calltip support for D constructors.
Add tm_workspace_find_scoped() (adapted from Anjuta 2.02
tm_workspace_find()).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1147 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-26 15:49:35 +00:00
Nick Treleaven d0347a85c8 Fix missed matches in tm_tags_find().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1146 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-26 15:43:50 +00:00
Nick Treleaven 9bb937706c Improve accuracy of sci_scroll_to_line() when line wrapping and/or
folding is used.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1145 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-24 12:32:52 +00:00
Nick Treleaven d5e934c3af Only call SCI_BRACEMATCH once in sci_cb_highlight_braces().
Separate find_calltip() from sci_cb_show_calltip().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1144 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-24 12:07:35 +00:00
Nick Treleaven 9fa9a63787 Don't reparse the current function when fold level is higher than
the function fold level (when the line has only changed by 1).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1143 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-22 15:59:01 +00:00
Enrico Tröger 1b309c195b Version bump and updated codename for the next release.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1142 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 22:21:09 +00:00
Enrico Tröger 2bb1b75a82 Tagging the 0.10 release.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/tags/Geany-0_10@1141 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 22:15:34 +00:00
Enrico Tröger 63efdd312b Start column count from 0 in the statusbar display.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1140 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 20:47:31 +00:00
Enrico Tröger 55815e9549 Updated for 0.10 and added enrico's changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1139 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 20:40:23 +00:00