3713 Commits

Author SHA1 Message Date
Colomban Wendling
6236c506f2 Use the same indentation for all templates (part of FR#3193527)
From a patch by Matthew Brush, thanks.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5590 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-15 16:51:47 +00:00
Enrico Tröger
3a0a9d9a33 Add Markdown extension.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5588 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-13 13:49:29 +00:00
Colomban Wendling
8e79a2255a Prefer prepend elements to lists rather than append them
This is for better performances since appending to a list means walking
it to find the last element to append to. When the list ordering
matters, simply reverse the list after prepengins.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5586 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-10 22:27:04 +00:00
Colomban Wendling
6f481c8086 Correctly expand the menubar if the toolbar is appended to it but not visible (closes #3204955)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5585 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-10 16:05:29 +00:00
Enrico Tröger
c6241e16b8 Fix wrong code example in the API docs (spotted by Matthew Brush, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5584 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-08 20:19:01 +00:00
Colomban Wendling
a81f75b288 Import upstream MIO changes not to require a C99 compiler
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5583 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-07 02:44:18 +00:00
Enrico Tröger
7e29511228 Fix off-by-one bug which hidden the last empty line of a document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5581 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-06 17:37:58 +00:00
Colomban Wendling
3ebfcceafe When sorting tags by line, also sort by scope if line is the same
This avoids wrong sorting, and then wrong display in the symbols list,
if a parent tag is on the same line than its children, and one of it's 
children would be sorted before alphabetically (closes #3193982).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5580 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-06 17:25:15 +00:00
Enrico Tröger
76b49acf4c Use the full filename and add the extension of the export format.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5579 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-06 17:13:45 +00:00
Enrico Tröger
65fcc2b0c0 Cleanup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5578 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-06 17:10:30 +00:00
Enrico Tröger
b77b71fdd2 Add option to insert line numbers (closes #3197150).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5576 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-06 17:02:09 +00:00
Enrico Tröger
4f6354d434 Respect saved state of 'Case sensitive' option when using the 'Regular expressions' option as well.
Cleanup.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5575 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-06 14:36:42 +00:00
Enrico Tröger
56cd8dff87 Remember Find and Replace options across restarts (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5573 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-06 14:18:05 +00:00
Enrico Tröger
1920cc6a1d Fix typo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5571 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-06 12:11:54 +00:00
Colomban Wendling
6ff0986cde Update ChangeLog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5568 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-05 23:30:54 +00:00
Enrico Tröger
84da9b961b Welcome Colomban Wendling, a new Geany developer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5552 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-02 20:16:00 +00:00
Enrico Tröger
4d2679ad2d Fix wrong warning on empty backup directory setting if 'Backup Copy' is not enabled at all.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-02 20:00:17 +00:00
Nick Treleaven
4998d40f46 Fix segfault when inserting e.g. fileheader template when the
template file is empty (#3070913, thanks to lphilpot).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5544 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-22 17:15:29 +00:00
Enrico Tröger
09b734f921 Add support for multiple file filters, separated by semicolon (based on a patch by Grigory Javadyan, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5543 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-21 19:09:34 +00:00
Nick Treleaven
d128ffa316 Add bug nos.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5542 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-07 17:23:41 +00:00
Nick Treleaven
731253b122 Fix detecting Matlab and Txt2Tags extensions by default.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5541 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-07 17:19:23 +00:00
Frank Lanitz
b74e46587d Add a workaround for #3066566 to prevent Geany from crashing during loading of a LaTeX-file containing linebreaks inside headings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5540 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-06 18:25:10 +00:00
Enrico Tröger
bf4067f910 Rename utils_is_file_writeable() into utils_is_file_writable().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5539 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-06 16:47:18 +00:00
Enrico Tröger
426dbff4b6 Add a warning if writing the project file fails on close.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5538 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-06 16:36:04 +00:00
Enrico Tröger
277e2c2cdf Improve error checking when trying to write project files (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5537 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-06 16:32:49 +00:00
Enrico Tröger
871005c7d5 Replace '+' by '-' in the Scintilla Keybindings section to be consistent with the other mentioned keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5536 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-06 16:12:49 +00:00
Enrico Tröger
ef47b8aa15 Fix memory leaks (reported by an anonymous IRC user).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5535 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-02-06 16:03:27 +00:00
Enrico Tröger
ec408fa4b9 Add filetype Cobol (based on a patch by Seth Keiper).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5533 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-30 15:03:51 +00:00
Enrico Tröger
e7e9410c5c Ensure the editor widget has the focus when the editor menu is called.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5532 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-30 13:48:21 +00:00
Enrico Tröger
67d739f9b0 Add '.pyc' to the list of hidden object files (patch by Filip Gruszczyński, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5530 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-20 19:51:31 +00:00
Enrico Tröger
044791794f Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5529 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-19 19:47:35 +00:00
Enrico Tröger
6ac2623208 Update copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-19 19:39:09 +00:00
Enrico Tröger
f3b425fd64 Add and use secondary keywords for filetype JavaScript, update and sanitize JavaScript keyword lists (patch by Jason Oster, thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5526 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-18 19:29:15 +00:00
Frank Lanitz
c05ac6f39b Added Rafael Peregrino da Silva to list of contributors for Brazilian Portuguese (pt_BR) translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5524 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-11 21:49:23 +00:00
Nick Treleaven
6800b58048 Merge unstable branch:
- src/utils.c:
Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
- src/notebook.c:
Add 'Open in New Window' command in the notebook tab menu (based on
patch by Matthew Brush, thanks - #3118059).
- data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
data/filetypes.cs, data/filetypes.c:
Disable preprocessor #define tracking for the CPP lexer
(enabled by default in Scintilla).
- scintilla/*, wscript:
Update Scintilla to version 2.22.
Use Scintilla's directory structure mostly and only remove
unused lexers.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5521 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-10 17:21:48 +00:00
Nick Treleaven
c8cd1a0457 Thanks to Matthew Brush.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5519 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-10 13:39:47 +00:00
Nick Treleaven
4d4bf2f347 Add Save As toolbar button option (patch by Matthew Brush, thanks;
#3153490).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-10 13:35:29 +00:00
Nick Treleaven
ea94cb3aad Set release date for 0.20.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5514 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-05 17:07:55 +00:00
Nick Treleaven
3ba9517d8f Add debug message with the number of compatible plugins in each
plugin search path when showing the Plugin Manager dialog.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-04 12:41:22 +00:00
Nick Treleaven
7a7b02a22e Move and update 'Custom filetypes' section.
Add 'Creating a custom filetype from an existing filetype' section.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-30 17:49:22 +00:00
Nick Treleaven
6c30fc692f Add Edit->Insert Alternative White Space menu item (was previously
removed from Edit->Commands submenu).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5498 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-24 13:31:39 +00:00
Nick Treleaven
4c17428732 Add filetypes_get_display_name() to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5497 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 16:59:38 +00:00
Nick Treleaven
4c6bca4373 Add short 'View menu' section and 'Color schemes menu' section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5496 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 16:49:20 +00:00
Nick Treleaven
467450fdce Scroll to the current line when moving the cursor to the next
cursor position in a snippet (#3139490).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5495 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 13:44:41 +00:00
Nick Treleaven
7a35566cc8 Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5494 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 13:18:26 +00:00
Nick Treleaven
910e4afb29 Split Preferences dialog Interface tab into subnotebook to reduce
height of dialog (fixes #3141277). Reuses existing strings.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5493 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 12:49:56 +00:00
Nick Treleaven
4ba5b4c217 Use italic for note labels in the Build Commands dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-09 13:14:50 +00:00
Nick Treleaven
df2e2c9e33 Reduce Set Build Commands dialog column 1 width by using '#' label.
Fix memory leak.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-09 13:03:42 +00:00
Nick Treleaven
3637847355 Replace doc-comments with '/* *' comments to show there's no build
API for plugins.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5478 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-08 17:13:10 +00:00
Nick Treleaven
c7788e2043 List 'Tools->Configuration Files->filetypes.common' menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5475 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 18:07:21 +00:00