941 Commits

Author SHA1 Message Date
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
Nick Treleaven
d39c458655 Add *.rej as a Diff filename pattern.
Add utils_strv_new() to duplicate a va_list of strings.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1263 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-08 16:26:45 +00:00
Frank Lanitz
87ecb562ac Fixed a wrong PASCAL autocompletion
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1255 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-07 18:37:21 +00:00
Nick Treleaven
241ddc7a74 Fix missing global tags for C files when a C++ source file was
loaded first.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1250 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-06 16:13:57 +00:00
Nick Treleaven
b8491a2b7d Move ui_update_tag_list() to treeviews.c.
Make treeviews_prepare_taglist() static.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1249 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-05 16:17:44 +00:00
Nick Treleaven
807751de31 Prevent right click in Symbol list from selecting a tag.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1248 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-05 15:40:33 +00:00
Nick Treleaven
c934b19755 Allow Make for files with no extension - prevent Build when the
output filename would be the same as the source file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1245 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-03 17:01:44 +00:00
Nick Treleaven
a0845459c1 Make anonymous typenames use anon_typename_n instead of
typename_anon_n (it seems we can't use <> brackets because of
missing scope problem).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-03 13:24:27 +00:00
Nick Treleaven
7440840246 Prevent scroll bar from moving when using document_find_text() and
no match is found.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1243 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-03 13:14:34 +00:00
Nick Treleaven
0070458799 Show file path on window title after file name.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1242 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-01 17:07:52 +00:00
Enrico Tröger
420533087f Applied patch from Tomás Vírseda to sort the list of open files in the sidebar alphabetically (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1241 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-01 15:43:13 +00:00
Enrico Tröger
943eeae9e9 Made --line and --column also working for already open files (thanks to Mark Knoop for his help).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1240 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-01 15:00:59 +00:00
Enrico Tröger
8481a9a8c5 Prevent compiling or executing of files without a filename extension(closes #1642029).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1239 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-01 14:42:25 +00:00
Enrico Tröger
3f360fcdd9 Improved the auto scrolling of documents (actually done by Nick).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1237 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-31 15:53:11 +00:00
Frank Lanitz
83f2f577d8 Added Finnish translation and update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1236 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-30 21:55:45 +00:00
Enrico Tröger
8da68b6756 Fixed some scrolling issues with session files and files remotely open via the socket. Added need_scrolling flag to document struct.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1233 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-27 18:45:47 +00:00
Enrico Tröger
f7474a0bc2 Added an option to disable auto completion of known symbols while typing (still can be forced by pressing the keybinding).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1232 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-26 10:43:25 +00:00
Enrico Tröger
ffef5c9dab Applied patch from Jeff Pohlmeyer to clear the line marker when clearing the compile error markers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1231 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-26 09:52:24 +00:00