Nick Treleaven
d840f86a9d
Fix some 'possible' NULL pointer dereferences (based on patch by
...
Erik de Castro Lopo).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5224 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-13 15:03:18 +00:00
Nick Treleaven
d7f7ff0678
Remove 3 popup menu items to save space:
...
Find Document Usage because Find Usage can be used instead.
Go to Tag Declaration because Go to Tag Definition is more common.
Go to Line because the toolbar item can be used instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5223 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-13 14:39:32 +00:00
Nick Treleaven
71a63eec9b
Show Save As when saving if the document filename doesn't have an
...
absolute path, so command-line new files can be saved without a
prompt, but file templates still prompt the user.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:31:27 +00:00
Nick Treleaven
ca74dd214c
Remove NULL checks when calling g_free() (patch Erik de Castro
...
Lopo, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5221 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:21:05 +00:00
Nick Treleaven
4360b71fc7
Remove useless if statement.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:07:12 +00:00
Nick Treleaven
877f2e30bb
Fix useless Assert.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5219 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:04:09 +00:00
Nick Treleaven
9c527a8063
Remove duplicate checks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5218 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 17:00:41 +00:00
Nick Treleaven
f2770f94c9
Fix 2 minor leaks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5217 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 16:56:42 +00:00
Nick Treleaven
5cc6657ff9
Mention the filetype wordchars setting can be overridden by the
...
whitespace_chars filetypes.common setting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5216 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 15:38:36 +00:00
Nick Treleaven
fe08c54fb5
Add link to glade-2.12.2.tar.gz on geany.org.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5215 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 15:26:30 +00:00
Nick Treleaven
6478078ae0
Move useless assert.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5214 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 14:44:41 +00:00
Nick Treleaven
5cd0382ae8
Reorder.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5213 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 14:30:18 +00:00
Nick Treleaven
956b6cd8dd
Fix possible NULL dereference.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5212 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 14:28:54 +00:00
Nick Treleaven
1fc8a5bc19
Add Find Usage and Go to Tag items to Search menu for easier
...
discovery.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5211 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 11:58:55 +00:00
Nick Treleaven
a6ca20ebbc
Use up/down icons for Previous/Next Error.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5210 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 11:19:27 +00:00
Frank Lanitz
6edf2111c2
Removed not needed NULL check
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5209 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 01:08:31 +00:00
Frank Lanitz
7313c3cbbf
Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the catch.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5208 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-09 00:42:19 +00:00
Nick Treleaven
8707a1b1eb
Add separator between Find Previous and Find in Files.
...
Add up/down icons for Previous/Next Message.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5207 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-08 15:57:06 +00:00
Nick Treleaven
8e54555bea
Add Close button to the detected file changed dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5206 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-08 14:56:27 +00:00
Nick Treleaven
3e8af38dd6
Increase API for message_window_notebook field addition.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-08 13:10:44 +00:00
Nick Treleaven
7e8c863298
Add GeanyMainWidgets::message_window_notebook for plugins to append
...
a new notebook page (#3061342 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5204 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-08 12:36:01 +00:00
Enrico Tröger
c5867895f9
Add dummy entry for "do" snippet for Haskell to explicitly avoid the default completion.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5203 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-29 11:45:00 +00:00
Nick Treleaven
97ea7fa620
Make TODO item clearer: Use intermediate pointers for common subexpressions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5202 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-26 12:05:50 +00:00
Nick Treleaven
3d21fde5df
Backport list box memory leak fixes from Scintilla 2.20.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5201 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-25 17:00:38 +00:00
Nick Treleaven
87ddff9707
Backport fix for possible infinite loop from CTags.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5200 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-25 16:40:47 +00:00
Nick Treleaven
a24d6dca6a
Auto-enable building with included regex if no regcomp function is
...
found.
Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
regex support is required.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-25 11:44:33 +00:00
Nick Treleaven
b6a500dbdf
Fix broken editing of build menu labels.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5198 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-25 10:49:44 +00:00
Frank Lanitz
c0ce05332a
Update of Finnish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5197 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-25 00:57:47 +00:00
Nick Treleaven
30ac6b98e8
Rename Matlab -> Matlab/Octave. Datafile name remains the same.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5196 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 16:01:14 +00:00
Nick Treleaven
bb2e1cc96e
Include all files if the Find in Files pattern field is enabled and
...
empty.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5195 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 12:17:33 +00:00
Nick Treleaven
9add067c04
Remove the "Set build working directories" button from the project
...
properties dialog (patch by Jiří Techet, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 12:07:28 +00:00
Nick Treleaven
d59fcdd506
Make the Properties dialog filename a label and put it first (patch
...
by Jiří Techet, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 11:41:56 +00:00
Nick Treleaven
3ed3e1da89
Ignore contents of m4 dir.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5192 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 11:21:41 +00:00
Nick Treleaven
5061c0cd29
Remove generated file m4/intltool.m4.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5191 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 11:17:55 +00:00
Nick Treleaven
437d6bc7f7
Only prompt for reloading if the document has unsaved changes
...
(patch by Jiří Techet, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-23 15:16:39 +00:00
Nick Treleaven
71ac86cc88
Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5189 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-23 12:37:17 +00:00
Nick Treleaven
f847f1add6
Add lexer for Txt2Tags (patch by Forgeot Eric, #3020632 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-23 12:14:58 +00:00
Frank Lanitz
1cea0a2a52
Apply a patch by Jiří Techet which is preventing warnings when using -Wmissing-prototypes on compiling. Thanks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5187 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-21 09:07:46 +00:00
Nick Treleaven
2b11aa9a3e
Remove buildcmd_* accessor functions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-20 16:04:45 +00:00
Nick Treleaven
a4f51bd0bf
Add TODO items to tidy code for easier understanding.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-20 15:56:39 +00:00
Nick Treleaven
7f572468e5
Replace GeanyBuildCommand::entries array with separate fields.
...
Similar to r5077 in the bs2 branch, but with less loop unrolling.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-20 15:55:30 +00:00
Nick Treleaven
74b5ed053a
Link Octave instead of Matlab.
...
Add comment about not being autogenerated.
Minor changes to fit Scintilla order.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5183 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-20 11:28:40 +00:00
Nick Treleaven
80f39cae51
Update from 0.19.1 release.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5182 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-19 11:56:30 +00:00
Nick Treleaven
c867de1041
Use Octave lexer instead of Matlab to support Octave # comment char.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5174 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-17 14:07:58 +00:00
Nick Treleaven
f528d36b58
Fix formatting in read_regex().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5173 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-17 13:51:59 +00:00
Nick Treleaven
afd1ce1a60
Fix memory leak in read_regex().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5171 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 17:02:45 +00:00
Nick Treleaven
3e282dea44
Fix saving non-project filetype error regex.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5170 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 16:54:59 +00:00
Nick Treleaven
e9b810aeb0
item: update included regex library (and other CTags improvements)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5169 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 16:53:40 +00:00
Nick Treleaven
472c06fc8b
Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
...
thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5168 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 12:32:18 +00:00
Nick Treleaven
b8f3ce774b
Fix segfault on Tools->Reload Configuration when no documents are
...
open (#3037079 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 12:21:22 +00:00