Enrico Tröger
b7bfb2743a
Replace all C++-style comments with usual C-like multi-line comments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 13:17:29 +00:00
Enrico Tröger
85f73129c0
Apply patch from Daniel Richard G. to fix to fix several compiler warnings, C89 violations and minor code problems (thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2267 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-20 11:24:23 +00:00
Enrico Tröger
e3201062c6
Update copyright information and change format of email addresses in source files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-06 18:11:57 +00:00
Nick Treleaven
046d5ef796
Fix bug with using the default extension, not the user set one, if
...
'New with template' is used before any documents of the same filetype
are open.
Load filetype keyfiles from filetypes_load_config(), not from
styleset_foo_init().
Add highlighting_init_styles(), highlighting_set_styles(),
simplifying a lot of styleset function code.
Remove filetype::style_func_ptr field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 17:44:05 +00:00
Nick Treleaven
9f46d083c5
Move #define PLAT_GTK to geany.h.
...
Move filetype typedef to geany.h.
Don't #include any src/*.h files from headers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 15:37:21 +00:00
Nick Treleaven
b9c0dcdc8b
Sort filetype groups alphabetically.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 15:11:54 +00:00
Nick Treleaven
2e454f7af5
Add reStructuredText filetype and parser.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 11:50:03 +00:00
Enrico Tröger
75c74284f8
Add filetype Haxe (patch by blackdog, thank you).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-26 09:50:12 +00:00
Nick Treleaven
ae6de4f5c6
Use extern 'app' and 'filetypes' global variables in headers, so that
...
G_MODULE_BIND_LOCAL can later be used when loading plugins to detect
any unresolved symbols.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1725 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-19 11:49:53 +00:00
Enrico Tröger
f7d95e736e
Change name of XML filetype to "XML document".
...
Add sub menus to "Set Filetype" menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1680 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 12:46:16 +00:00
Enrico Tröger
693649f955
Add new filetypes CSharp and FreeBasic.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1635 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-22 17:34:31 +00:00
Nick Treleaven
58e151698e
Replace filetype::has_tags member with filetype_has_tags().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1578 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-26 12:13:53 +00:00
Nick Treleaven
cc3d26df71
Add some menu separators to group filetype menu items.
...
Reorder Haskell, O-Matrix, VHDL filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1530 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-14 12:55:55 +00:00
Enrico Tröger
725ae82446
Added new filetype Haskell (patch by Guillaume Hoffmann, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1510 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-06 14:05:43 +00:00
Nick Treleaven
4a7d4da2be
Separate filetype menu item creation from filetypes_init_types() so
...
it can be called without initializing GTK (for non-GUI commands).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1478 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-25 15:01:14 +00:00
Nick Treleaven
14001ddc8f
Split filetypes_get_from_filename() into filetypes_detect_from_file()
...
and filetypes_detect_from_filename().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 12:12:51 +00:00
Enrico Tröger
398ddf6d73
Added context actions to run custom commands on current selection or the current word below cursor.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 18:09:59 +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
7b61ad934d
Updated copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:36:42 +00:00
Enrico Tröger
f0d4e65311
Added new filetypes Javascript and Lua.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1181 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 20:16:09 +00:00
Nick Treleaven
7170df59b8
Added filetype_id typedef so that GEANY_FILETYPES_* can be shown
...
when debugging (also renamed some filetype_id variable names).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1155 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-03 16:21:44 +00:00
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
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
Nick Treleaven
367f358181
Disable Make All, Make Custom menu items for unnamed files.
...
Allow Run and Make Object for C header files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-17 12:52:32 +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
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
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
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
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
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
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
a267d33536
new filetype Ruby
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@311 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-09 16:07:27 +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
b1c33d8e76
removed unneeded constant GEANY_MAX_PATTERNS
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@221 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-25 22:27:11 +00:00
Enrico Tröger
e16eac2ae8
added new filetypes SQL, Caml and OMS
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@185 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-10 20:52:17 +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
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