997 Commits

Author SHA1 Message Date
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
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
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
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
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
Nick Treleaven
6624c10a1e Fix strv leak in configuration_open_files().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1128 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-20 10:42:12 +00:00
Enrico Tröger
f238da6090 Updated codename (not really important).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1124 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 22:57:04 +00:00
Enrico Tröger
cce673cdc4 Completed list of special characters, implemented expanding and collapsing of categories at double click.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1123 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 22:55:27 +00:00
Nick Treleaven
779e1bca1f Scroll cursor to 50% of the view when reloading a file.
Rename sci_goto_pos() argument 'unfold'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1120 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 15:58:00 +00:00
Nick Treleaven
055f70da67 Force a file changed check when attempting to open an already open
file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1119 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 13:04:18 +00:00
Nick Treleaven
219dd8c728 Don't set the cursor to the start of the document when attempting to
open an already open file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1118 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 12:46:35 +00:00
Nick Treleaven
f415b70a2f Always switch to the tab when showing the unsaved file dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1117 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 12:34:29 +00:00
Nick Treleaven
cf28714548 Scroll cursor to 50% of the view for session files at startup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1116 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 12:24:39 +00:00
Nick Treleaven
180069bc6c Open tabs left to right by default.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1115 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 12:10:58 +00:00
Nick Treleaven
2697523495 Don't log simple error messages like 'No text to find'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1114 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 11:56:46 +00:00
Enrico Tröger
aa0ad96bb7 Fixed disabled build menu items after opening the first file of a filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1113 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 23:57:11 +00:00
Enrico Tröger
33e1f7e8d0 Fixed wrong insert position when the cursor was moved by keyboard and comments, includes or a date was inserted.
Also fixed some segfault when inserting comments, dates and includes at a position prior to some deleted text.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1112 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 19:31:32 +00:00
Enrico Tröger
6d3cacaccb Made the sidebar notebook tabs scrollable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1111 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 17:32:00 +00:00
Nick Treleaven
dfd3332bb9 Remove unneeded 'missing response' debug messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1110 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 17:21:02 +00:00
Nick Treleaven
8f60640b59 Don't log 'replaced 0 occurrences' status messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1109 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 17:13:46 +00:00
Nick Treleaven
daff829df2 Fix using the current word on first use of the Find in Files dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1108 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-17 16:47:08 +00:00
Nick Treleaven
7365ae3c9c Colourise C enum, union and D/Java interface typenames.
Add sci_cb_lexer_get_type_keyword_idx() for use when finding if a lexer
supports typename colouring.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-16 17:18:53 +00:00
Nick Treleaven
7dc865dd1f Fix memory leak in utils_check_disk_status().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1104 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-16 17:00:41 +00:00
Enrico Tröger
0e66a678dc Bring the Find, Replace and FIF dialog back to top if they are already shown but lost focus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1103 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 18:33:29 +00:00
Enrico Tröger
627e8f00ca Moved html_entities array to symbols.c.
Fixed some checks for the new D lexer and improved detection of comments when auto completing or showing calltips.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1102 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 17:09:05 +00:00
Nick Treleaven
0c2f3d19fc Fix setting project typenames for the new D lexer.
Add sci_cb_lexer_is_c_like() which returns TRUE for C++/D lexers.
Only recolourise C-like files when updating project typename
keywords.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 12:52:52 +00:00
Nick Treleaven
5eb6cb7bc2 Show D typedefs in bold.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 12:40:18 +00:00
Nick Treleaven
665eec08f1 Only remove extra space indent after a multiline comment if the
indent contains one too many spaces.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1099 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-15 11:57:48 +00:00
Frank Lanitz
bed7a18d6f Fixed a typo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1097 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-14 16:24:23 +00:00
Nick Treleaven
507d6e0e9c Fix adding a multiline comment character after pressing enter on the
last line of a multiline comment.
Remove multiline comment indent after pressing enter on last line.
Prevent invalid memory reads in auto_multiline().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1096 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-14 15:49:10 +00:00
Nick Treleaven
73f0b49d67 Fix updating the symbol list when a file is saved.
Update C-like typedef keywords when reloading a file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1095 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-14 12:54:36 +00:00
Nick Treleaven
1cac328750 Add 'Invert syntax highlighting colours' Preferences dialog option
(hidden for now).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1091 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 16:51:09 +00:00
Nick Treleaven
b71c227f55 Add 'Hide Message Window' popup menu item for each window in the
message window area.
Add msgwin_menu_add_common_items().
Move remaining message window setup code to msgwin_init().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1090 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 16:41:25 +00:00
Nick Treleaven
533d61fb68 Fix memory leaks when using GdkPixbuf, PangoFontDescription and some
strings.
Capitalize main window title.
Add ui_widget_modify_font_from_string().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1089 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 15:18:49 +00:00
Enrico Tröger
ad37f83878 New files tools.c and tools.h.
Added a dialog to insert HTML special characters.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1088 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 00:46:14 +00:00
Enrico Tröger
7dda3569ee Added option to toggle usage of Tab button for indentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1087 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 21:52:48 +00:00
Enrico Tröger
659ed0f3f3 Added more spaces in word count dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1086 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 21:22:50 +00:00
Nick Treleaven
25a97646d9 Make files loaded from the command-line at startup get added to the
recent files menus.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1085 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 17:21:22 +00:00
Nick Treleaven
f41444243b Use GNOME HIG Header style capitalization for all menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 12:12:20 +00:00
Nick Treleaven
794557f0af Make indenting and unindenting keep the same cursor position when
the cursor is within the indentation characters.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1081 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-11 12:26:10 +00:00
Nick Treleaven
41279bf573 Show GTK+, GLib runtime version debug message, after socket_init().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1080 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-11 12:20:30 +00:00
Enrico Tröger
871d166375 Use a table to layout the word count dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1079 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-10 22:21:15 +00:00