3693 Commits

Author SHA1 Message Date
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
Nick Treleaven
a8b016884a Update Ignore Tags section with example and menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 18:02:53 +00:00
Nick Treleaven
e8dba2dc31 Add 'Configuration file paths' section and link to it instead of
repeating typical system data and user config directory paths.
List 2 Tools->Configuration Files menu items.
Add 'Plugin Manager' section break.
Edit some related sections.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5473 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 17:42:31 +00:00
Nick Treleaven
b595c0a3d8 Disable 'Send Selection to Terminal' item when not available
instead of removing it to avoid trailing separator.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5472 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:25:11 +00:00
Nick Treleaven
650b5ae84a Fix some more wrong uses of vte_info.load_vte instead of
vte_info.have_vte.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5471 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:16:57 +00:00
Nick Treleaven
d65d3adcc4 Fix segfaults when using 'Send Selection to Terminal' and the VTE
is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
pref (patch by Dimitar Zhekov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-07 13:02:46 +00:00
Nick Treleaven
bc837b18a5 Improve error message for document_save_file() if doc->file_name is
NULL (reusing existing strings).
Add warning about this in the API docs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5466 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-06 18:04:42 +00:00
Nick Treleaven
dfcd8b56bc Add more info about Scintilla fix.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-03 17:53:58 +00:00
Nick Treleaven
2982f22337 Backport Scintilla HG fix: Remove styling idle in destructor to
avoid crashing when idle called after ScintillaGTK instance
destroyed (fixes #3111058).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-03 13:51:54 +00:00
Nick Treleaven
f201500ed5 Backport Scintilla HG fix: Remove styling idle in destructor to
avoid crashing when idle called after ScintillaGTK instance
destroyed (fixes #3111058).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-03 13:28:13 +00:00
Nick Treleaven
1f2ef01d31 Warn about file truncation if unsafe file saving fails.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5455 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-01 13:06:01 +00:00
Nick Treleaven
cba09d5e8d Check result of fclose() for utils_write_file().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-30 18:18:24 +00:00
Nick Treleaven
31a4d066b3 Add 'Open in New Window' command in the notebook tab menu (based on
patch by Matthew Brush, thanks - #3118059).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5448 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-29 13:21:35 +00:00
Enrico Tröger
b6a379678e Enable GIO and built-in regex support on Windows when compiling without Waf.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 17:41:37 +00:00
Enrico Tröger
313e0e0413 Update for Scintilla 2.22.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5445 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 15:37:13 +00:00
Enrico Tröger
c24980ab07 Disable preprocessor #define tracking for the CPP lexer (enabled by default in Scintilla).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-28 15:27:43 +00:00
Enrico Tröger
2c39e4d8c3 Reformat and improve the Windows resource file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 23:38:29 +00:00
Enrico Tröger
b106aca3e5 Update Windows-Makefile-based build system for Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 23:14:59 +00:00
Enrico Tröger
5fb38517e3 Update autotools-based build system for Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5441 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:43:31 +00:00
Enrico Tröger
ad6bd2d601 Update Waf-based build system for Scintilla.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5438 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:29:16 +00:00
Enrico Tröger
2c7d37dde4 Update Scintilla to version 2.22.
Keep Scintilla's directory structure mostly and only remove unused lexers.

For now, this will break the build. The build systems have to be updated as well as scintilla_changes.patch.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5437 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-24 21:23:05 +00:00