44 Commits

Author SHA1 Message Date
Nick Treleaven
e458304ce3 Make all filetypes except LaTeX use the same build menu, disabling
any items that don't apply for the current document.
Move BuildMenuItems struct type to build.h.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-30 15:42:52 +00:00
Nick Treleaven
e39cf19730 Make stop button only apply for killing running programs.
Disable build commands when building is in progress.
Make build_menu_update() detect how to call set_stop_button().
Make build_menu_update() also update the LaTeX build menu.
Make build keybindings only active when the equivalent menu item
is also active.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1036 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-29 10:29:34 +00:00
Nick Treleaven
c3300b2da9 Add NULL-safe FILETYPE_ID macro to get filetype::id from pointer.
Allow insertion of GPL notice and file header when the filetype is
not set.
Add commenting for PHP & HTML GPL notice and file header templates.
Add make_comment_block() to templates.c.
Move document_prepare_template(), filetypes_get_template() to
templates.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@994 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-14 16:03:25 +00:00
Enrico Tröger
9b7569e3ef Added new filetype VHDL.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 22:11:19 +00:00
Nick Treleaven
d6500e59ea Recognise *.xsl, *.xslt filenames for XML filetype.
Recognise 'GNUmakefile' filename for Make filetype.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-04 12:49:55 +00:00
Nick Treleaven
17bbfa3644 Add filetypes_get_conf_extension() and use in highlighting.c.
Fix a memory leak in load_keyfiles().
Group C-like default syntax in init_c_like_styleset().
Make C-like comment colour darker; make globalclass brighter to
distinguish it from word colour.
Make Java use same default syntax highlighting colours as C.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-27 11:30:23 +00:00
Enrico Tröger
86ffa880d9 Added shebang detection for D files (dmd).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@918 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 17:30:24 +00:00
Enrico Tröger
d4704e4656 Fixed tagmanager lang index for filetype Diff.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@892 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 23:02:59 +00:00
Enrico Tröger
adc721c522 Added simple parser for filetype Diff to create tags for each patched file in a diff file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@883 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 19:45:40 +00:00
Enrico Tröger
ac359bc327 Implemented simple "shebang" detection.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@869 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-06 23:23:05 +00:00
Enrico Tröger
6f00febd3c Fixed crash when using "Make object" on new files(closes #1570818).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@866 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-04 19:14:57 +00:00
Nick Treleaven
88ff2d5085 Save the build includes and arguments on quitting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@857 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-01 16:14:45 +00:00
Enrico Tröger
5aaf298e10 Added pattern *.agi for filetype Perl (closes #1567355).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@848 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-29 07:22:46 +00:00
Enrico Tröger
d7951f66d0 Added new file template for filetype HTML.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 16:55:40 +00:00
Enrico Tröger
b1b4a4e157 Split filetype PHP/HTML into PHP and HTML.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@779 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-01 17:07:49 +00:00
Enrico Tröger
010d6581e5 Added new filetypes Diff and Ferite.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@765 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-27 17:39:34 +00:00
Nick Treleaven
0bd427bd05 Remove filetypes.h and Scintilla includes from geany.h; Add VALID_DOC_IDX macro
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 20:39:59 +00:00
Enrico Tröger
8d581d1552 Added new filetype Fortran 77 (not yet finished).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 17:57:41 +00:00
Nick Treleaven
55edaf557a Use unique filetype id in geany.conf to avoid new filetype problems; Make unique id numbers compatible with Geany 0.7 filetype order
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@672 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-05 12:25:49 +00:00
Nick Treleaven
ed0b029db8 Set radio item None for new files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@670 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-04 21:03:12 +00:00
Enrico Tröger
afa4c4104e Made document related submenus(filetype, encoding, line endings) radio buttons for better usability.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-03 22:17:10 +00:00
Nick Treleaven
794ad69ad1 Add Make pattern to recognise makefile*
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@660 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 20:07:58 +00:00
Enrico Tröger
8d06fef254 Reordered the filetypes (just a cosmetic change).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@627 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 10:13:35 +00:00
Enrico Tröger
b56ea420b1 Added *.cfg as extension for config files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@604 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 13:52:07 +00:00
Enrico Tröger
b3b50b4182 Fixed autocompletion for filetype C++.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@553 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-14 10:15:12 +00:00
Enrico Tröger
6cc29173be Added new filetype D(patch by Christop Berg, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@544 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-09 14:41:53 +00:00
Enrico Tröger
590974e3ba Add mk pattern for Makefile.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@490 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-26 16:22:37 +00:00
Enrico Tröger
3a435bf29e Replaced 'blank' by 'include "..."'. Fixed a bug in utils_brace_match() which prevents correctly matching.
Made auto completion work only for the current filetype (i.e. it hides symbols from other filetypes).
Removed unneeded code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 14:36:35 +00:00
Enrico Tröger
a693e0a6dd Added additional patterns to detect configure scripts as Shell scripts
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@426 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-10 14:37:24 +00:00
Enrico Tröger
df1b9fd010 new filetype Tcl/Tk, renamed tex.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@335 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-16 19:04:04 +00:00
Enrico Tröger
78eb7280b8 read the filetype definitions first from the configuration directory and then from the datadir (%prefix/share/geany)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@334 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-15 19:49:30 +00:00
Enrico Tröger
2be53d0f07 added template support for filetypes with comment character #, updated GPL to the current address of the FSF
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@318 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-10 19:54:44 +00:00
Enrico Tröger
002503decd several bugfixes and improvements
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@281 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 18:06:35 +00:00
Enrico Tröger
8b5cc84381 added new extensions for filetype Pascal
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-10 21:45:20 +00:00
Enrico Tröger
3bea197608 fixed memory leak, load filetype extensions from a file in the configuration directory
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@224 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-25 22:30:45 +00:00
Enrico Tröger
e56699b6fa added new filetypes SQL, Caml and OMS, smaller changes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@186 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-10 20:53:17 +00:00
Enrico Tröger
62ff8ef794 fixed some bugs when opening files with non UTF-8 filenames
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@148 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-23 17:05:29 +00:00
Enrico Tröger
da3fe9836f added .C as extension for filetype C++
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@124 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-13 16:35:22 +00:00
Enrico Tröger
05fd2ffc6a applied patch from Nick Treleaven, to add .cc, .hh and .hxx extension for filetype C++ and improve the pattern handling
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@116 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-10 17:30:53 +00:00
Enrico Tröger
71369c513e set has_tags to TRUE for filetypes LaTex and DocBook
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@115 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-09 18:01:06 +00:00
Enrico Tröger
e341be9180 set has_tags for filetype CSS to FALSE, since there is no tagmanager
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@103 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-03 12:43:39 +00:00
Enrico Tröger
62a10a5694 added new file Assembler
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@34 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-05 20:50:46 +00:00
Enrico Tröger
c9d315b247 added new filetype Conf
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@20 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-27 20:46:36 +00:00
Enrico Tröger
8cb2cf0997 Initial import
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-22 12:26:26 +00:00