908 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Enrico Tröger
95868d4f34 Improved tooltip for auto completion.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1314 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-21 16:02:19 +00:00
Enrico Tröger
d863a8047c Fixed typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1313 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-21 15:20:45 +00:00
Enrico Tröger
3e704eb8be Made auto_close_bracket() static and auto close brackets only when auto completion of constructs is enabled (closes #1665015).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1310 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-21 12:11:28 +00:00
Nick Treleaven
df7b5c7ca1 Remove the yellow error line marker also when using 'Remove Error
Indicators'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1309 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-20 15:48:58 +00:00
Enrico Tröger
64f34f1f59 Added Windows dialogs for Project new and Project open actions.
Fixed some mem leaks in the Windows code.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1307 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-19 18:58:32 +00:00
Enrico Tröger
1e34e879c3 Fixed compiler warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1306 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-19 15:41:29 +00:00
Nick Treleaven
61146eb323 Support filetype templates for all filetypes (scan
~/.geany/templates/filetype.* at startup).
Default templates are now created in init_ft_templates().
Move on_new_with_template() to templates.c.
Move on_filetype_change() to filetypes.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1305 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-19 13:26:06 +00:00
Enrico Tröger
6a42745283 Added notice about contributing to the docs (patch from John Gabriele, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1304 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-18 13:24:20 +00:00
Enrico Tröger
a6afb4577c Added several missing style types for filetype Ruby.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1303 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-18 12:55:54 +00:00
Nick Treleaven
6ca53610ba Add Remove Markers item to the Document menu.
Remove Error Indicators no longer removes current tag marker.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1302 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-17 18:06:08 +00:00
Nick Treleaven
fd2de222be Add Mark button as a Find All option in the Find dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1301 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-17 17:39:10 +00:00
Nick Treleaven
c791e26823 Scroll Compiler and Messages window in view when using Next Error
or Next Message.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1298 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-17 16:52:52 +00:00
Nick Treleaven
4b1cb28462 Show grep command and directory when using Find in Files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1296 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-16 17:09:53 +00:00
Nick Treleaven
599d418f36 Set single undo action when using document_strip_trailing_spaces().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1293 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-16 16:44:16 +00:00
Nick Treleaven
9f71329fe8 Rename sci_get_line_end_from_position() with line argument, not
position.
Don't autocomplete for/if constructs when editing an existing line.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1292 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-16 16:38:23 +00:00
Enrico Tröger
f548b5b5bb Added possibility to create and open non-existent files from command line (closes #1635094 and #1652917).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1290 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-15 23:56:15 +00:00
Enrico Tröger
25e41fbf3b Aligned "No symbols found" label to top.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1289 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-15 23:20:41 +00:00
Enrico Tröger
a7273d747d Added several missing style types for filetype Perl (thanks to John Gabriele for reporting).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-15 14:17:53 +00:00
Frank Lanitz
aa91348fa4 Fixed a typo
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1282 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-14 19:17:19 +00:00
Nick Treleaven
c909127a56 Fix wrong D function return type after a class definition.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1280 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-14 17:35:54 +00:00
Nick Treleaven
ddaeef09fe Redraw instead of scrolling in ScintillaGTK::ScrollText if there is
an existing update region.
Revert earlier ScintillaGTK::ExposeTextThis change.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1278 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-14 12:42:28 +00:00
Nick Treleaven
35cee7489a Add MimeType text/x-diff.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1277 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-14 12:37:58 +00:00
Nick Treleaven
df55c90164 Allow popup Symbols menu when the current document has no tags, so
the sidebar can be hidden.
Use a GtkLabel to display 'No tags found'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1273 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-13 12:02:16 +00:00
Enrico Tröger
3dabf02946 Convert config, application and documentation dir paths to locale encoding before using it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1268 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-12 16:32:56 +00:00