1326 Commits

Author SHA1 Message Date
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
Nick Treleaven
9873cba8b8 Update ntrel's changes for Geany 0.10.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1138 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 16:54:43 +00:00
Enrico Tröger
48bddfce46 Fixed wrong paste behaviour under Windows with some applications.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1137 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 16:41:36 +00:00
Enrico Tröger
6e3a376935 Fixed encoding of generated PDF file.
Deleted all jpg images and replaced them by png images.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1136 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 14:03:18 +00:00
Enrico Tröger
8aae342458 Fixed encoding of generated PDF file.
Deleted all jpg images and replaced them by png images.
Updated date in documentation and manpage.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1135 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 13:54:29 +00:00
Enrico Tröger
dc41d863de Updated version information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1134 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 13:51:41 +00:00
Enrico Tröger
2338210f8b Fixed wrong variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1133 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-21 12:41:46 +00:00
Enrico Tröger
3312f6b3b2 Changed default values:
Confirm exit -> disabled by default
Use tab to indent -> disabled by default.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1132 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-20 22:52:10 +00:00
Nick Treleaven
458d2bb47e Remove unneeded static from current word strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1131 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-20 15:57:28 +00:00
Nick Treleaven
40e4ab0dda Stop Valgrind complaining about a vc->emulation leak.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-20 15:43:01 +00:00
Nick Treleaven
606fef2b13 Fix tag treeview not being freed (because of g_object_ref).
Separate recreate_tag_list() from ui_update_tag_list().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1129 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-20 10:47:01 +00:00