From d7b9791584eda0f022813fd2b2df50f59eba29c5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Jan 2010 09:20:27 +0000 Subject: Added remaining missing Kate xml files git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1068844 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kate/data/d.xml | 900 ++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 685 insertions(+), 215 deletions(-) (limited to 'kate/data/d.xml') diff --git a/kate/data/d.xml b/kate/data/d.xml index e53a3174c..2ed3a5f01 100644 --- a/kate/data/d.xml +++ b/kate/data/d.xml @@ -5,127 +5,205 @@ D.XML supports syntax highlighting for the D programming language under Kate. + Updated 2007-2008 - Diggory Hardy (copyright kate project). + Copyright (C) 2007 - Aziz Köksal + Copyright (C) 2007 - Jari-Matti Mäkelä Copyright (C) 2004 - Simon J Mackenzie + This code is released under the LGPL as part of kdelibs/kate. ======================================================================== D is a next generation language written by Walter Bright of Digital Mars fame. - Digital Mars C, C++ and D Compilers can be obtained from http://www.digitalmars.com/ + Digital Mars C, C++ and D Compilers can be obtained from http://www.digitalmars.com/d/ ======================================================================== - Updates for D.XML can be obtained from http://kate.kde.org/hl/ - UPDATE HISTORY:- - 2004.08.15 - D.XML 1.36 - D 0.98 - Current release of D. - - package, writef(strictly speaking writyef isn't a keyword) - keywords are now supported. - 2004.??.?? - D.XML 1.35 - D 0.?? - Not sure how this release got posted! - 2004.05.23 - D.XML 1.34 - D 0.90 - updated. - 2004.05.19 - D.XML 1.33 - D 0.89 - mixin - keyword is now supported. - 2004.05.19 - D.XML 1.32 - D 0.77 - pragma, typeof - keywords are now supported. - 2004.05.19 - D.XML 1.31 - D 0.76 - is - keyword is now supported. - 2003.09.06 - D.XML 1.30 - D 0.71 - foreach - keyword is now supported. - 2003.08.18 - D.XML 1.20 - D 0.69 - floats are now supported. - - embedded underscores in integer and float literals are now supported. - 2003.08.11 - D.XML 1.10 - updated. - 2003.07.18 - D.XML 1.00 - First released. - - TODO:- - - Kate string translation cannot handle \" as a literal within a D string. The " will be interpreted as an end of string marker - when it should be ignored because of the preceding back-slash. + 2008.09.22 - d.xml 1.61 - D 1.035/2.019 - Fix for identifiers starting _ and containing numbers. + 2008.08.01 - d.xml 1.60 - D 1.033/2.017 - Merging ddoc.xml 1.14 since there is no advantage to having it separate. + 2008.07.14 - uncommited - Added properties: .tupleof, .offsetof + 2008.06.14 - D.XML 1.53 - D 1.030/2.014 - Added user keyword highlighting. + 2008.06.06 - D.XML 1.53 - D 1.030/2.014 - Small fix involving floats starting . in embedded Ddoc. + - Added nothrow and pure attributes (D2.0 only). + 2008.04.09 - D.XML 1.52 - D 1.028/2.012 - Added properties (especially for arrays). + - Added rules for C-Style indenter (thanks vektorboson!) + 2008.02.22 - D.XML 1.51 - D 1.027/2.011 - Changed char rule behaviour on line end. + - Added support for strings ending with c, w or d (must have got lost at some point). + 2008.02.22 - ddoc.xml 1.14 - Fixes/improvements for macros. Highlights first symbol and non-symbols + before as errors; matches embedded brackets () properly. + 2008.01.09 - D.XML 1.50 - D 1.025/2.009 - Changed pragma, version, deprecated matching to use keyword not DetectString. + 2007.12.18 - D.XML 1.49 - D 1.025/2.009 - Fixed some bugs to make the StartingLetter context exit correctly and match identifiers properly. + 2007.12.12 - D.XML 1.48 - D 1.024/2.008 - Adjusted existing contexts somewhat (mostly cleanup). + - Implemented scope context to hightlight exit in scope(exit) etc. + - Adjusted deprecated keyword highlighting. + - Changed layout somewhat. + - Implemented extra highlighting rules for expressions, attributes, etc. + - Changed a lot of colours. + 2007.11.15 - D.XML 1.47 - D 1.023/2.007 - Fixed a few unapperent "bugs" found by checkdtd. + 2007.11.15 - ddoc.xml 1.13 - Fixed a couple of bugs found by checkdtd and changed the version number format. + 2007.11.5 - ddoc.xml 1.12 - Fixed: correct matching of things like /***/ . + 2007.10.11 - ddoc.xml 1.11 - Safety catch: check for unterminated code sections (i.e. check for end of + ddoc comment even in code sections). + - Used DetectIdentifier to (presumably) improve performance. + 2007.10.09 - uncommited - ditto - Changed some context="#pop" tags to context="#stay" within the normal + context (bugfix for ddoc embedded code highlighting). + 2007.10.9 - ddoc.xml 1.10 - Enabled embedded ddoc code highlighting + 2007.10.9 - ddoc.xml 1.00 - Initial version + 2007.10.08 - D.XML 1.46 - D 1.022/2.005 - Stole Alert and Region Marker highlighting from C++ syntax. + - Added support for DDoc highlighting. + - Reviewed the float regexps again! Tried to make the best of both versions. + 2007.09.17 - D.XML 1.45 - D 1.021/2.004 - Reverted back to old regexps (but fixed hex floats). + Can't combine all float regexps into a single RegExpr element using the '|' operator. + It creates strange problems (like program lock-ups and wrong matches). + - Fix: '=' is allowed in import statements now. + - Fix: character literals are matched correctly now. + - The #line special token sequence is matched fully now (the filespec string needs special handling). + 2007.09.10 - D.XML 1.44 - D 1.021/2.004 - Added __EOF__ to specialtokens. + - Replaced float regexps with more accurate ones. Not sure about speed. + - Fixed Octal regexp not to match 0_ . + 2007.07.24 - D.XML 1.43 - D 1.020/2.003 - Added System to ltypes. + - Improved matching of version declarations. + - Fixed matching of hexadecimal floats. + - Deprecated style is stroked out again. + 2007.07.21 - D.XML 1.42 - D 1.018/2.002 - d.xml validates again according to language.xml. + - HTML entities are highlighted now. + - Numbers before and after the slice operator are not highl. as floats anymore. + - Added C++ to ltypes. + - Improved matching of module/import declarations. + 2007.07.01 - D.XML 1.41 - D 1.017/2.001 - fixed matching of numbers, added deprecated style, minor changes to styles, updated authors line + 2007.07.01 - D.XML 1.40 - D 1.017/2.001 - matches now .di extensions, removed phobos-specific printf/writef and added + - library defined symbols string, wstring, dstring, size_t, ptrdiff_t, hash_t, + - Error, Exception, Object, TypeInfo and ClassInfo + 2007.06.30 - D.XML 1.39 - D 1.017 - matching is much faster now, added "lib" to pragma types, added special tokens, + - /+ +/ can be nested now, numbers are matched more correctly, character literals don't span multiple lines anymore + - escape sequences inside strings and character literals are highlighted, + - non-hex characters in hex strings are highlighted with the Error style, + - using more default styles instead of custom ones + 2007.04.11 - D.XML 1.38 - D 1.011 - ref, macro keywords are now supported, fixed \\ inside a string, updated author + 2007.02.12 - D.XML 1.37 - D 1.006 - bool, foreach_reverse, lazy, scope and typeid keywords are now supported, fixed \" + - inside a string, fixed ending of wysiwyg strings. + 2004.08.15 - D.XML 1.36 - D 0.98 - Current release of D. + - package, writef(strictly speaking writef isn't a keyword) - keywords are now supported. + 2004.??.?? - D.XML 1.35 - D 0.?? - Not sure how this release got posted! + 2004.05.23 - D.XML 1.34 - D 0.90 - updated. + 2004.05.19 - D.XML 1.33 - D 0.89 - mixin - keyword is now supported. + 2004.05.19 - D.XML 1.32 - D 0.77 - pragma, typeof - keywords are now supported. + 2004.05.19 - D.XML 1.31 - D 0.76 - is - keyword is now supported. + 2003.09.06 - D.XML 1.30 - D 0.71 - foreach - keyword is now supported. + 2003.08.18 - D.XML 1.20 - D 0.69 - floats are now supported. + - embedded underscores in integer and float literals are now supported. + 2003.08.11 - D.XML 1.10 - updated. + 2003.07.18 - D.XML 1.00 - First released. + + TODO:- Deliminated strings and Token strings (D2.0) are not supported. ======================================================================== --> - + - - abstract - alias - align + + + + asm - auto - body break - case - cast catch - class - const continue - default - delegate - delete - deprecated do - else - enum - export - - false - final finally for foreach - function - + foreach_reverse goto - if - in - inout - interface - invariant - is - mixin + return + switch + throw + try + while + with + + + synchronized - new - null + - out + + + abstract + align + auto + const + export + final + inout + invariant + lazy + nothrow override - package private protected public - - return - + pure + ref static - struct + + + + out + scope + + + + + false + null super - switch - synchronized - - template this - throw true - try - typedef - typeof - - union - - volatile - - while - with + typeid + + + assert + cast + is + new + delete + in + + + delegate + function + module - import + import + + + alias + enum + typedef + class + interface + struct + union + + + typeof + void - bit + bool byte ubyte short @@ -149,9 +227,77 @@ wchar dchar - - printf - writef + + + macro + template + + + + init + sizeof + alignof + mangleof + stringof + tupleof + offsetof + max + min + infinity + nan + dig + epsilon + mant_dig + max_10_exp + max_exp + min_10_exp + min_exp + re + im + length + ptr + dup + idup + reverse + sort + keys + values + rehash + + + + + size_t + ptrdiff_t + hash_t + Error + Exception + Object + TypeInfo + ClassInfo + ModuleInfo + Interface + OffsetTypeInfo + TypeInfo_Typedef + TypeInfo_Enum + TypeInfo_Pointer + TypeInfo_Array + TypeInfo_StaticArray + TypeInfo_AssociativeArray + TypeInfo_Function + TypeInfo_Delegate + TypeInfo_Class + TypeInfo_Interface + TypeInfo_Struct + TypeInfo_Tuple + + + string + wstring + dstring + bit + TypeInfo_Const + TypeInfo_Invariant @@ -159,189 +305,513 @@ C + D Windows Pascal + System - - debug - - - assert - - - - pragma - msg + lib - - - version + + + exit + success + failure + DigitalMars X86 - AMD64 + X86_64 Windows Win32 Win64 linux LittleEndian BigEndian - D_InlineAsm + D_Coverage + D_InlineAsm_X86 + unittest + D_Version2 none + all - + + __FILE__ + __LINE__ + __DATE__ + __TIME__ + __TIMESTAMP__ + __VENDOR__ + __VERSION__ + __EOF__ + + + + debug unittest + + + pragma + + + version + + + + deprecated + volatile + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - + + + + + + + + + + + + + + - - + + -- cgit v1.2.1