-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  . 

C++11 w/ Qt4,STL,boost and GCC specifics

   1.52  

Kate Highlighting

Score 64%
C++11 w/ Qt4,STL,boost and GCC specifics
zoom


C++11 w/ Qt4,STL,boost and GCC specifics
zoom


C++11 w/ Qt4,STL,boost and GCC specifics
zoom


Version Control:  Link
Downloads:  697
Submitted:  Oct 3 2008
Updated:  Oct 29 2012

Description:

Fixes I've done since the 1.42 version:

0) non C++ keywords are removed. Particularly:
0.1) type_info is just a class name from std::
0.2) bad_cast, bad_typeid are exception classes from std::
0.3) xalloc is just a method from std::ios
0.4) except, finally non standard (java?) keywords
0.5) qobject_cast moved to Qt related stuff
1) add highlighting for std:: namespace
2) add universal-character-name highlighting (\uXXXX and \UXXXXXXXX) in strings

To install copy XML files to ~/.kde4/share/apps/katepart/syntax/

Second download link is my C++ color scheme on github -- ppl asked me from time to time to share it also... nowadays kate is able to import/export color schemes, so it would be easy to exchange them :)

-- Since version 1.49.8 it has support for Qt 4.8 this release may supersede seems abandoned Syntax highlighting for Qt also hosted here on this site.

-- after few years, I think this file isn't just a fix for official "buggy" C++ syntax highlighter (yeah! at least it was buggy, it is why I've started to maintain this "project"). So since the 1.49.8 release I'd decided to rename it :) cuz it leaves official version far beyond and can be considered as alternative to standard/shipped C++ syntax. Hope u like it... :)

ATTENTION: This higlighter moved upstream as `C++11' revision 1.52 and can be downloaded from Kate itself.
So you have to remove all files installed manually before from my tarball! Further updates will appear in kate.git. Nowadays it has lower priority than C++03, so to use it one have to rise a priority number for it in the `Configure Kate' -> `Open/Save' -> `Modes & Filetypes' dialog.




Changelog:

Version 1.43.1
* adopted changes from 1.43 version
* added highlighting for "boost" namespace and "BOOST_XXX" macros
* added highlighting for namespaces usually used as implementation helpers for smth (i.e. aux, details)

Version 1.43.2
* added GNU extensions highlighting (__attribute__, & etc.)
* removed highlighting inside of '#if 0' clause (so comments and "outscoped" text looks same)

Version 1.43.3
* GCC __builtin_'s are colored as GNU Extensions

Version 1.44.1
* adopt few changes from official 1.44 release

Version 1.44.2
* now recognizing __declspec, __PRETTY_FUNCTION__ and __FUNCTION__ as GNU Extensions
* standard and GCC specific predefined macros now colored

Version 1.44.3
* implemented wishlist from http://bugs.kde.org/show_bug.cgi?id=162249
* introduced 'aligned' comments -- i.e. in most source files programmers (including me) use 4 spaces for TAB. 'aligned comments' are highlighted (as region markers) if they are at position divisible by 4
* got rid of few regexes which should improve performance a little... :)

Version 1.44.4
* add highlighting for printf-like formatting strings
* properly hilighting for long float contstants -- i.e. with 'L' suffix
* now recognizing type qualifiers and modifiers as separate (from type) highlighting class

Version 1.45.1
* add highlighting for some common names convention:
*) m_prefixed names -- usually mean data members
*) s_prefixed names -- usually mean static variables
*) g_prefixed names -- usually mean globals
*) UPPER_CASED_NAMES -- usually mean constants or macros
*) _t/_type suffixed names -- usually mean types

Version 1.46.1
* Just version incrase. Cuz official cpp.xml just introduce couple of fixes what was already implemented in my 1.42 and 1.43.2 revisions

Version 1.47.1
* Merge with official v1.47
* GNU extension '__restrict__' added

Version 1.47.2: C++0x READY! :)
* new types: char16_t, char32_t
* new keywords: decltype, satic_assert, nullptr, noexcept, constexpr
* new type modifier: thread_local
* character literals highlighting refactored according 2.14.3 (see snapshot)
* string literals highlighting refactored according 2.14.5 (raw strings also supported) (see snapshot)
* also: make #else block of '#if 1' looks like comment (just like '#if 0' does)

Version 1.47.3
* fix incorrect highlighting when comment aside of '#if 0' occurs
* fix incorrect highlighting when incomplete (open) C style comment present inside the '#if 0' block:
#if 0
/*
#endif

Version 1.47.4
* fix nested #if1/#if0 blocks highlighting

Version 1.47.5
* More GNU GCC extensions:
*) typeinfo (see info page 6.6)
*) additional floating types (info page 6.10)
*) more builtins (info page 7.9)
* fix symbols highlighting after std::, boost:: and details namespaces

Version 1.47.6
* forgot about `alignof' keyword :)
* symbols with '_' at end highlighted as Data members (to be compliant to Google code style)

Version 1.47.7
* `extern' moved from keywords to type specifiers (according standard)
* remove `connect', `disconnect' and `emit' from Qt extensions cuz they are not only Qt specific
* digraph and trigraph replacements for '#' character handling in preprocessor
* symbols w/ more than one trailing underscore recognized as Implementation Details

Version 1.48.1
* more GCC builtins (__sync_*) and extensions (according info files)

Version 1.49.1
* version bump. official syntax has little more C++0x keywords now. (already done in my version)

Version 1.49.2
* fix "details::some_struct::template some_method(...)" to highlight template as a Keyword

Version 1.49.3
* more C++0x keywords introduced by N3272 document
* more GCC predefined macros (mostly x86/x86-64 platform specific)
* fix incorrect highlighting in some cases introduced by 1.49.2

Version 1.49.4
* added __func__ predefined identifier
* GNU GCC binary constants are highlighted as GNU Extensions
* decimal floating types added as GNU Extensions (see gcc info page 6.12)

Version 1.49.5
* change higlighting of a backslash in preprocessor #defines to make it more visible (highlighted as Separator Symbol) and it must be the last symbol on a line
* in other contexts backslashes and '@'s are highlighted as Error

Version 1.49.6
* just few predefined GCC macros has been added

Version 1.49.8
* the c++.xml has been splitted into pieces (included into the main C++ file)
* introduce Qt 4.8 higlighting: namespaces, classes, free/static functions, macros -- everything according latest docs at nokia site
* introduce Kate modelines highlihting in comments (implemented as a separate file, ready to be included into others, just like alerts.xml)
* gcc specifics are moved into a separate file (yep, ready to be included by other C/C++ xmls) and updated according gcc 4.6.3 docs.

Version 1.49.9
* avoid to use builtin number detectors cuz lack of features and C++ standard incompatibility. number detectors reimplemented according standard.
* introduced support for highlighting of user defined literals
* some GCC extensions updated according version 4.7.1

Version 1.49.10
* split GNU Extensions into Functions, Types, Keywords
* fix spellchecking attributes for strings and comments

Version 1.50.1
* since 'Generalized attributes' and 'Alignment support' has been implemented in GCC 4.8 branch (http://gcc.gnu.org/gcc-4.8/cxx0x_status.html), it is time to add higlighting for them...

Version 1.52
* this is first upstream version (available for download via Kate since 29-Oct-2012)




LicenseGPL
(cpp11-kate-syntax-1.50.1.tar.gz)
(C++11.katehlcolor)
Send to a friend
Subscribe
Other  Content  from zaufi
Report inappropriate content



-

 Comments about version 1.44

 
 by zaufi on: Apr 28 2009
 
Score 50%

As far a I saw (using diff) recently released 1.44 version do not introduce anything new 'cept 'formatting' changes...


Reply to this

-
.

 Fixes in official 1.46 version

 
 by zaufi on: Jan 26 2010
 
Score 50%

There is just couple of improvements since official 1.45:
*) removed keywords: except, finally and xalloc [done in my first post]
*) removed strings highlighting in "outscoped" context (i.e. inside #if 0/#endif blocks) [done in my 1.44.3 version]

so this "release" just version increment to prevent official 1.46 to override mine 1.45.1...


Reply to this

-

 Re: Fixes in official 1.46 version

 
 by zaufi on: Jan 26 2010
 
Score 50%

s/1.44.3/1.43.2/


Reply to this

-
.

 Fixes in official 1.48 version

 
 by zaufi on: Jun 22 2011
 
Score 50%

It seems official version has started to move towards C++0x support! :) 'static_assert' is the only change since 1.47 (done in my 1.47.2), but to prevent override I have to issue 1.48.1 (w/ little changes :)


Reply to this

Add commentBack




-
openDesktop.org Facebook App




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2013 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team