1681 Commits

Author SHA1 Message Date
Enrico Tröger
9fff34a460 Auto completion of multi line comments is now (again) configurable with the auto complete constructs option.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1377 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-09 14:06:20 +00:00
Enrico Tröger
90b01daf35 Fixed several compiler warnings (mainly shadowing local variables and unreachable code).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-09 13:52:26 +00:00
Nick Treleaven
3888323376 Fix indentation spelling ;-)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-09 12:26:55 +00:00
Nick Treleaven
32c4c8e20b Fix sign comparison warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1374 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-09 12:18:42 +00:00
Enrico Tröger
9dc61832fc Added different auto indention modes to select who should Geany indent new lines (closes #1615605).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1373 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-08 18:02:08 +00:00
Nick Treleaven
3948762be3 Updated Templates section for filetype templates and added some
subsection titles.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1372 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-08 17:03:26 +00:00
Nick Treleaven
dfb1bc9fcc Fix not setting existing project typenames for C-like files if they
don't contain typenames themselves (bug introduced in r1323).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1371 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-08 13:32:03 +00:00
Enrico Tröger
63639a8feb Fixed wrong tooltip.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-08 12:42:59 +00:00
Nick Treleaven
7cb6832039 Speed up loading multiple C-like files when existing documents are
open (by ensuring documents are only colourised once).
Add document_open_files(), document_colourise_new().
Add some missing function parameter names to document.h.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1369 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-06 16:57:09 +00:00
Enrico Tröger
d3778ea9d4 Added single line comment examples for clarification.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1368 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-05 21:07:09 +00:00
Nick Treleaven
f38edbfc2c Use exact executable name in run command error message. Edit tooltip.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1367 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-05 12:44:02 +00:00
Nick Treleaven
0f409ab8a4 Add project run command support. Run command is a custom command-line
and can include arguments.
Make 'Choose project filename' dialog use a Save button.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1366 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-05 12:13:09 +00:00
Nick Treleaven
a521b9b290 Use UTF-8 for missing executable error message.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1365 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-03 17:02:57 +00:00
Nick Treleaven
b05dbb0419 Fix memory leak, remove unused build_create_shellscript() argument.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1364 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-03 16:54:04 +00:00
Nick Treleaven
3a44ffa8f8 Fix memory leak with utils_remove_ext_from_filename().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1363 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-03 13:34:15 +00:00
Nick Treleaven
d98e77ca4d Moved all code for checking and creating the geany run script
temporary file from build_run_cmd() to prepare_run_script().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1362 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-03 13:14:41 +00:00
Enrico Tröger
2c7da39004 Fixed typo (thanks to John Gabriele).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1361 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-02 19:04:18 +00:00
Enrico Tröger
2c36e81797 Added support for secondary keywords for filetypes C and C++.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1360 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-02 16:04:29 +00:00
Enrico Tröger
ab788ad01f Added NSIS installer script for the Win32 installer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1359 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-02 15:20:24 +00:00
Enrico Tröger
8cd6856293 Changed location of translation files to lib\locale on Win32.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-02 09:58:03 +00:00
Enrico Tröger
af5af49159 Added new file filter for Open File dialog to only show supported source files (for native Win32 dialog).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1357 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-02 09:53:21 +00:00
Enrico Tröger
f486728aed Added new file filter for Open File dialog to only show supported source files (list of all defined filename extensions).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1356 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 22:38:31 +00:00
Enrico Tröger
b1188781de Oops, forgot to commit.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1355 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 22:20:37 +00:00
Enrico Tröger
66b75da8a2 Added missing keywords: as, with, False, None and True.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 22:16:58 +00:00
Enrico Tröger
926437688f Set IO channels for custom commands to blocking mode (thanks to Jeff Pohlmeyer).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1353 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 21:45:43 +00:00
Enrico Tröger
a611a040da Added sci_get_selection_mode(), sci_set_selection_mode(), sci_get_pos_at_line_sel_start(), sci_get_pos_at_line_sel_end().
Improved replacing in rectangle selections (closes #1665571).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 17:36:51 +00:00
Nick Treleaven
5aa84fcb70 Edit confirm project close text.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1351 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 15:54:12 +00:00
Nick Treleaven
845ea75c38 avoid using __VA_ARGS__ because older gcc 2.x versions probably don't support C99.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1350 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 12:38:31 +00:00
Enrico Tröger
0cad18d0eb Replaced glibc printf extension %m with strerror() call.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1349 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 11:42:11 +00:00
Nick Treleaven
c660ffc051 Run Make All and Make Custom from the project base directory, if set.
Add project_get_make_dir().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1348 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 11:38:14 +00:00
Enrico Tröger
a8dae8ecb6 Applied patch from Jeff Pohlmeyer to improve the custom command execution code(thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1347 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 10:54:37 +00:00
Nick Treleaven
7b30ec88de Make build_spawn_cmd() take a command string instead of joining an
array of strings.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1346 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-28 17:24:22 +00:00
Nick Treleaven
9a309114c2 Show number of matches when using Find All or Find in Files.
Add msgwin_msg_add_fmt().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1345 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-28 12:08:40 +00:00
Nick Treleaven
2cab3043de Fix sign comparison warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1344 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-27 15:06:17 +00:00
Nick Treleaven
2df920bbe9 Use utils_strv_new() for all filetype patterns.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1343 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-27 14:53:37 +00:00
Enrico Tröger
bc20c8ee50 Applied patch from Slava Semushin to improve SVN checks (thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1342 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-26 15:21:15 +00:00
Enrico Tröger
1e3a92d617 Fixed wrong sensitiveness of custom commands menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1341 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-26 13:32:34 +00:00
Enrico Tröger
fd5288c2e8 Auto complete multi line comments only when auto completion of constructs is enabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1336 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-25 17:27:46 +00:00
Enrico Tröger
3ddb830c07 Added *.pod to Perl file patterns.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1335 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-25 16:33:44 +00:00
Enrico Tröger
549f19444e Added custom commands to send selected text through some definable commands and replace the selection with the output.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1334 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-25 14:26:55 +00:00
Nick Treleaven
955f8488cb Prevent undefined behaviour when using the Stop command that can kill
X when Geany is run from the KDE or Xfce menu (not from a terminal).
Should close #1668017.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1333 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-25 13:08:01 +00:00
Nick Treleaven
00b4fa9087 Added note: See the src/*.c files for descriptions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1332 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 17:08:29 +00:00
Enrico Tröger
57a56287fe Oops.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1331 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 15:07:46 +00:00
Enrico Tröger
5d330ac185 Moved list of available translations to new file po/LINGUAS.
Added readme file for translation information.
Added little shell script intl_stats.sh to display some basic translation statistics.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1330 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 15:03:18 +00:00
Nick Treleaven
806dd5be1d Add descriptions for all .c source files below the file header.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 11:41:56 +00:00
Nick Treleaven
251bc58ee2 Updated from 0.10.1 release branch.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1326 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-23 15:55:38 +00:00
Nick Treleaven
cbbb69dec9 Don't include filetype.none in the new file template menus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1325 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-23 15:50:29 +00:00
Nick Treleaven
594935a05d Fixed switching to the wrong tab when showing the unsaved dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-23 15:36:21 +00:00
Nick Treleaven
477aa6fa75 Speed up loading multiple C-like files when restoring session or
loading command-line files at startup by ensuring documents are
only colourised once.
Also prevent re-colourising C-like documents after saving a file
unless the list of typenames has changed.
Add document_delay_colourise(), document_colourise_all().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1323 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-23 13:26:06 +00:00
Nick Treleaven
5325bd1a3f Add HACKING file for new contributors.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1322 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-23 12:49:27 +00:00