# HG changeset patch # User wpaul # Date 1239145666 18000 # Node ID 3c75d12493ff7353b7c029127d816e9b7e63cc61 # Parent 560850c1ef5ec52a7e7eaca494e7e8f7da274208# Parent 3cbba6e5b6e08c45995ac9243ebad73c782b86bb merged diff -r 560850c1ef5e -r 3c75d12493ff core/carbide_releases/readme/readme_sdks.html --- a/core/carbide_releases/readme/readme_sdks.html Tue Apr 07 17:19:23 2009 -0500 +++ b/core/carbide_releases/readme/readme_sdks.html Tue Apr 07 18:07:46 2009 -0500 @@ -1,69 +1,70 @@ - - - - - -SDK Support in Carbide.c++ - - - - - -

You're not done installing just yet...

-

Release: 2.0.3
- Revised: Feb 2009

-

Read the Release Notes and What's New for the latest infomation about this product. In Carbide.c++ simply click Help > Help Contents > Carbide Help.

-

To complete your installation and start Symbian C++ application development, you must install the following:

- - - - - - - -

Installing Perl

-

The Carbide.c++ tools require a copy of Perl to run build scripts:

- Perl (www.activestate.com) -
- - - - - - - -

Installing SDKs

-

Also, you must install at least one of the following SDKs to develop Symbian applications: -

-

NOTE Carbide.c++ requires SDKs built to support WINSCW format.

-

S60 Platform SDKs (forum.nokia.com/main/resources/tools_and_sdks/carbide/)

-
    -
  • S60 5th Edition -
  • S60 3rd Edition, FP2 -
  • S60 3rd Edition, FP1 -
  • S60 3rd Edition, MR -
-

Qt SDKs (www.trolltech.com)

-
    -
  • Qt SDK for S60 -
-

UIQ SDKs (developer.uiq.com)

-
    -
  • UIQ 3.1 -
  • UIQ 3.0 -
-
- - - + + + + + +SDK Support in Carbide.c++ + + + + + +

You're not done installing just yet...

+

Release: 2.0.4
+ Revised: April 2009

+

Read the Release Notes for the latest infomation about this product. In Carbide.c++ simply click Help > Help Contents > Carbide Help > Carbide.c++ User Guide.

+

To complete your installation and start Symbian C++ application development, you must install the following:

+ + + + + + + +

Installing Perl

+

The Carbide.c++ tools require a copy of Perl to run build scripts:

+ Perl (www.activestate.com) +
+ + + + + + + +

Installing SDKs

+

Also, you must install at least one of the following SDKs to develop Symbian applications: +

+

NOTE Carbide.c++ requires SDKs built to support WINSCW format.

+

S60 Platform SDKs (forum.nokia.com/main/resources/tools_and_sdks/carbide/)

+
    +
  • S60 5th Edition +
  • S60 3rd Edition, FP2 +
  • S60 3rd Edition, FP1 +
  • S60 3rd Edition, MR +
+

Qt SDKs (www.trolltech.com)

+
    +
  • Qt SDK for S60 +
+

UIQ SDKs (developer.uiq.com)

+
    +
  • UIQ 3.1 +
  • UIQ 3.0 +
+
+ + + diff -r 560850c1ef5e -r 3c75d12493ff core/com.nokia.carbide.cpp.codescanner/html/customizing_cs.htm --- a/core/com.nokia.carbide.cpp.codescanner/html/customizing_cs.htm Tue Apr 07 17:19:23 2009 -0500 +++ b/core/com.nokia.carbide.cpp.codescanner/html/customizing_cs.htm Tue Apr 07 18:07:46 2009 -0500 @@ -1,294 +1,299 @@ - -Customizing CodeScanner Rules - - - - -
-

Customizing CodeScanner Rules

-
-

The CodeScanner command line tool currently accepts an XML configuration file, which controls scanning behavior, like the file types to ignore and which rules to apply. Using the elements contained here makes it possible to customize the scanning rules to include new rules unique to your development environment.

-

This page describes the format of CodeScanner config file (codescannerconfig.xml), which is used for the following purposes:

- -

CODESCANNERCONFIG.XML File

-

The CodeScanner config file is an XML formatted file created by CodeScanner when a scan is performed or when the CodeScaner preference settings are exported. The file contains the following elements:

- -

Arguments Element

-

Each Arguments element contains one or more of the following arguments:

- -

An example of an Arguments element:

-

<arguments>
-     <input>C:\Symbian\9.2\Epoc32\include</input>
-     <input>C:\CodeScanner_Tests\includes</input>
-     <lxr>http://s60lxr/source/</lxr>
-     - <lxrversion>S60_3_2_200736</lxrversion>
-     <outputformat>html|std</outputformat>
-     <timestampedoutput>on</timestampedoutput>
- </arguments>

-

Sources Element

-

Each Sources element can contain one or more Excludes elements.

- -

An example of a Sources element:

-

<sources>
-     <exclude>.*\.avi</exclude>
-     <exclude>.*\.bmp</exclude>
-     <exclude>.*\.jpg</exclude>
-     <exclude>.*\\test\\.*</exclude>
- </sources>

-

Scripts Element

-

Each Scripts element can contain one or more Script elements, each of which corresponds to a CodeScanner script (each script applies a CodeScanner rule):

- -

Complete list of currently supported Script elements with default attributes:

-

<scripts>
-
-<accessArrayElementWithoutCheck category="codereview" enable="true" severity="low"/>
-<accessArrayElementWithoutCheck2 category="codereview" enable="true" severity="low"/>
-<activestart category="codereview" enable="true" severity="low"/>
-<activestop category="codereview" enable="true" severity="low"/>
-<arraypassing category="performance" enable="true" severity="medium"/>
-<arrayptrcleanup category="codereview" enable="true" severity="low"/>
-<assertdebuginvariant category="codingstandards" enable="true" severity="low"/>
-
-<baddefines category="codingstandards" enable="true" severity="low"/>
-<baseconstruct category="codereview" enable="true" severity="low"/>
-
-<callActiveObjectWithoutCheckingOrStopping category="codereview" enable="true" severity="low"/> <changenotification category="codereview" enable="true" severity="low"/>
-<cleanup category="codingstandards" enable="true" severity="low"/>
-<commentcode category="codereview" enable="true" severity="low"/>
-<connect category="canpanic" enable="true" severity="high"/>
-<ConnectAndDontCloseMemberVariable category="functionality" enable="true" severity="medium"/> <constnames category="codingstandards" enable="true" severity="low"/>
-<consttdescptr category="codingstandards" enable="true" severity="low"/>
-<controlornull category="canpanic" enable="true" severity="high"/>
-<ctltargettype category="functionality" enable="true" severity="medium"/>
-
-<debugrom category="performance" enable="true" severity="medium"/>
-<declarename category="codingstandards" enable="true" severity="low"/>
-<deleteMemberVariable category="canpanic" enable="true" severity="high"/>
-<destructor category="canpanic" enable="true" severity="high"/>
-<doubleSemiColon category="codereview" enable="true" severity="low"/>
-<driveletters category="codingstandards" enable="true" severity="low"/>
-
-<eikbuttons category="localisation" enable="true" severity="medium"/>
-<eikonenvstatic category="performance" enable="true" severity="medium"/>
-<enummembers category="codingstandards" enable="true" severity="low"/>
-<enumnames category="codingstandards" enable="true" severity="low"/>
-<exportinline category="functionality" enable="true" severity="medium"/>
-<exportpurevirtual category="functionality" enable="true" severity="medium"/>
-
-<foff category="codereview" enable="true" severity="low"/>
-<forbiddenwords category="codingstandards" enable="true" severity="low">
-    <wordsRE>Epoc|Nokia Mobile Phones|NMP|(^|\s)S60</wordsRE>
-</forbiddenwords>
-<forgottoputptroncleanupstack category="codereview" enable="true" severity="low"/>
-<friend category="codereview" enable="true" severity="low"/>
-
-<goto category="codingstandards" enable="true" severity="low"/>
-
-<ifassignments category="codingstandards" enable="true" severity="low"/>
-<ifpreprocessor category="codingstandards" enable="true" severity="low"/>
-<inheritanceorder category="canpanic" enable="true" severity="high"/>
-<intleaves category="codereview" enable="true" severity="low"/>
-
-<jmp category="codingstandards" enable="true" severity="low"/>
-
-<leave category="canpanic" enable="true" severity="high"/>
-<LeaveNoError category="functionality" enable="true" severity="medium"/>
-<leavingoperators category="codereview" enable="true" severity="low"/>
-<LFunctionCantLeave category="codereview" enable="true" severity="low"> <LFunctionIgnoreRE>RunL</LFunctionIgnoreRE> </LFunctionCantLeave>
-<longlines category="codingstandards" enable="true" length="160" severity="low"/>
-
-<magicnumbers category="codingstandards" enable="true" severity="low"/>
-<mclassdestructor category="codingstandards" enable="true" severity="low"/>
-<memberlc category="canpanic" enable="true" severity="high"/>
-<membervariablecallld category="codingstandards" enable="true" severity="low"/>
-<missingcancel category="codingstandards" enable="true" severity="low"/>
-<missingcclass category="canpanic" enable="true" severity="high">     <cclassIgnoreRE>CBase</cclassIgnoreRE>
-</missingcclass>
-<mmpsourcepath category="codingstandards" enable="true" severity="low"/>
-<multilangrsc category="codereview" enable="true" severity="low"/>
-<multipledeclarations category="codingstandards" enable="true" severity="low"/>
-<multipleinheritance category="functionality" enable="true" severity="medium"/>
-<mydocs category="functionality" enable="true" severity="medium"/>
-
-<namespace category="codingstandards" enable="true" severity="low"/>
-<newlreferences category="codingstandards" enable="true" severity="low"/>
-<noleavetrap category="codereview" enable="true" severity="low"/>
-<nonconsthbufc category="codingstandards" enable="true" severity="low"/>
-<nonconsttdesc category="codingstandards" enable="true" severity="low"/>
-<nonleavenew category="codereview" enable="true" severity="low"/>
-<nonunicodeskins category="codereview" enable="true" severity="low"/>
-<null category="codingstandards" enable="true" severity="low"/>
-
-<open category="canpanic" enable="true" severity="high">     <openIgnoreRE>RDesReadStream|RDesWriteStream</openIgnoreRE>
-</open>
-
-<pointertoarrays category="performance" enable="true" severity="medium"/>
-<pragmadisable category="codingstandards" enable="true" severity="low"/>
-<pragmamessage category="codingstandards" enable="true" severity="low"/>
-<pragmaother category="codereview" enable="true" severity="low"/>
-<privateinheritance category="codingstandards" enable="true" severity="low"/>
-<pushaddrvar category="canpanic" enable="true" severity="high"/>
-<pushmember category="canpanic" enable="true" severity="high"/>
-
-<readresource category="canpanic" enable="true" severity="high"/>
-<resourcenotoncleanupstack category="codereview" enable="true" severity="low"/>
-<resourcesonheap category="codingstandards" enable="true" severity="low"/> <returndescriptoroutofscope category="canpanic" enable="true" severity="high"/>
-<rfs category="codereview" enable="true" severity="low"/>
-<rssnames category="codereview" enable="true" severity="low"/>
-
-<stringliterals category="codingstandards" enable="true" severity="low"/>
-<stringsinresourcefiles category="codereview" enable="true" severity="low"/>
-<struct category="codingstandards" enable="true" severity="low"/>
-
-<tcclasses category="functionality" enable="true" severity="medium"/>
-<tclassdestructor category="codingstandards" enable="true" severity="low"/>
-<todocomments category="codereview" enable="true" severity="low"/>
-<trapcleanup category="panic" enable="true" severity="high"/>
-<trapeleave category="performance" enable="true" severity="medium"/>
-<traprunl category="codingstandards" enable="true" severity="low"/>
-<trspassing category="functionality" enable="true" severity="medium"/>
-
-<uids category="codereview" enable="true" severity="low"/>
-<uncompressedaif category="performance" enable="true" severity="medium"/>
-<uncompressedbmp category="performance" enable="true" severity="medium"/>
-<unicodesource category="codereview" enable="true" severity="low"/>
-<userafter category="performance" enable="true" severity="medium"/>
-<userfree category="codereview" enable="true" severity="low"/>
-<userWaitForRequest category="codereview" enable="true" severity="low"/>
-
-<variablenames category="codingstandards" enable="true" severity="low"/>
-<voidparameter category="codingstandards" enable="true" severity="low"/>
-
-<worryingcomments category="codereview" enable="true" severity="low">     <worryRE>\!|\?|[Zz]{3}|kludge|workaround|\scrap|hack</worryRE>
-</worryingcomments>
-
-</scripts>

-

Severities Element

-

Each Severities element can contain one or more Severity elements, each of which corresponds to a severity level:

- -

Complete list of currently supported Severity elements:

-

<severities>
-     <high enable=”true”/>
-     - <medium enable=”true”/>
-     <low enable=”false”/>
- </severities>

-

Categories Element

-

Each Categories element can contain one or more Category elements, each of which corresponds to a category of CodeScanner scripts:

- -

Complete list of currently supported Category elements:

-

<categories>
-     <legal enable="true"/>
-     <panic enable=”true”>
-     <canpanic enable="true"/>
-     <functionality enable=”true”/>
-     <localisation enable="true"/>
-     <performance enable=”true”>
-     <codingstandards enable="true"/>
-     <documentation enable=”false”/>
-     <codereview enable=”false”/>
-     <other enable="true"/>
- </categories>

-

Customrules Element

-

Each custom rules element can contain one or more custom rule elements, each of which defines a custom rule to be applied by CodeScanner during scanning operation:

- -

Each custom rule element contains the following elements:

- -

An example of CustomRules element:

-

<customrules>
-     <customrule>
-         <name>myOwnRule</name>
-         <keyword type=”class”>CMyOwnClass</keyword>
-         <filetype>h</filetype>
-         <severity>low</severity>
-         <title>My own little CodeScanner rule</title>
-         <description>Locate the definition of CMyOwnClass::MyFunction()</description>
-         <link>http://www.myownsite.nokia.com</link>
-     </customrule>
- </customrules>

- - - + +Customizing CodeScanner Rules + + + + +
+

Customizing CodeScanner Rules

+
+

The CodeScanner command line tool currently accepts an XML configuration file, which controls scanning behavior, like the file types to ignore and which rules to apply. Using the elements contained here makes it possible to customize the scanning rules to include new rules unique to your development environment.

+

This page describes the format of CodeScanner config file (codescannerconfig.xml), which is used for the following purposes:

+ +

CODESCANNERCONFIG.XML File

+

The CodeScanner config file is an XML formatted file created by CodeScanner when a scan is performed or when the CodeScaner preference settings are exported. The file contains the following elements:

+ +

Arguments Element

+

Each Arguments element contains one or more of the following arguments:

+ +

An example of an Arguments element:

+

<arguments>
+     <input>C:\Symbian\9.2\Epoc32\include</input>
+     <input>C:\CodeScanner_Tests\includes</input>
+     <lxr>http://s60lxr/source/</lxr>
+     + <lxrversion>S60_3_2_200736</lxrversion>
+     <outputformat>html|std</outputformat>
+     <timestampedoutput>on</timestampedoutput>
+ </arguments>

+

Sources Element

+

Each Sources element can contain one or more Excludes elements.

+ +

An example of a Sources element:

+

<sources>
+     <exclude>.*\.avi</exclude>
+     <exclude>.*\.bmp</exclude>
+     <exclude>.*\.jpg</exclude>
+     <exclude>.*\\test\\.*</exclude>
+ </sources>

+

Scripts Element

+

Each Scripts element can contain one or more Script elements, each of which corresponds to a CodeScanner script (each script applies a CodeScanner rule):

+ +

Complete list of currently supported Script elements with default attributes:

+

<scripts>
+
+<accessArrayElementWithoutCheck category="codereview" enable="true" severity="low"/>
+<accessArrayElementWithoutCheck2 category="codereview" enable="true" severity="low"/>
+<activestart category="codereview" enable="true" severity="low"/>
+<activestop category="codereview" enable="true" severity="low"/>
+<arraypassing category="performance" enable="true" severity="medium"/>
+<arrayptrcleanup category="codereview" enable="true" severity="low"/>
+<assertdebuginvariant category="codingstandards" enable="true" severity="low"/>
+
+<baddefines category="codingstandards" enable="true" severity="low"/>
+<baseconstruct category="codereview" enable="true" severity="low"/>
+
+<callActiveObjectWithoutCheckingOrStopping category="codereview" enable="true" severity="low"/> <changenotification category="codereview" enable="true" severity="low"/>
+<cleanup category="codingstandards" enable="true" severity="low"/>
+<commentcode category="codereview" enable="true" severity="low"/>
+<connect category="canpanic" enable="true" severity="high"/>
+<ConnectAndDontCloseMemberVariable category="functionality" enable="true" severity="medium"/> <constnames category="codingstandards" enable="true" severity="low"/>
+<consttdescptr category="codingstandards" enable="true" severity="low"/>
+<controlornull category="canpanic" enable="true" severity="high"/>
+<crepository category="other" enable="true" severity="low"/>
+<ctltargettype category="functionality" enable="true" severity="medium"/>
+<customizableicons category="other" enable="true" severity="low">
+    <iconsRE>iconA.bmp|iconB.svg|iconC</iconsRE>
+</customizableicons>
+
+<debugrom category="performance" enable="true" severity="medium"/>
+<declarename category="codingstandards" enable="true" severity="low"/>
+<deleteMemberVariable category="canpanic" enable="true" severity="high"/>
+<destructor category="canpanic" enable="true" severity="high"/>
+<doubleSemiColon category="codereview" enable="true" severity="low"/>
+<driveletters category="codingstandards" enable="true" severity="low"/>
+
+<eikbuttons category="localisation" enable="true" severity="medium"/>
+<eikonenvstatic category="performance" enable="true" severity="medium"/>
+<enummembers category="codingstandards" enable="true" severity="low"/>
+<enumnames category="codingstandards" enable="true" severity="low"/>
+<exportinline category="functionality" enable="true" severity="medium"/>
+<exportpurevirtual category="functionality" enable="true" severity="medium"/>
+
+<flags category="other" enable="true" severity="low"/>
+<foff category="codereview" enable="true" severity="low"/>
+<forbiddenwords category="codingstandards" enable="true" severity="low">
+    <wordsRE>Epoc|Nokia Mobile Phones|NMP|(^|\s)S60</wordsRE>
+</forbiddenwords>
+<forgottoputptroncleanupstack category="codereview" enable="true" severity="low"/>
+<friend category="codereview" enable="true" severity="low"/>
+
+<goto category="codingstandards" enable="true" severity="low"/>
+
+<ifassignments category="codingstandards" enable="true" severity="low"/>
+<ifpreprocessor category="codingstandards" enable="true" severity="low"/>
+<inheritanceorder category="canpanic" enable="true" severity="high"/>
+<intleaves category="codereview" enable="true" severity="low"/>
+
+<jmp category="codingstandards" enable="true" severity="low"/>
+
+<leave category="canpanic" enable="true" severity="high"/>
+<LeaveNoError category="functionality" enable="true" severity="medium"/>
+<leavingoperators category="codereview" enable="true" severity="low"/>
+<LFunctionCantLeave category="codereview" enable="true" severity="low"> <LFunctionIgnoreRE>RunL</LFunctionIgnoreRE> </LFunctionCantLeave>
+<longlines category="codingstandards" enable="true" length="160" severity="low"/>
+
+<magicnumbers category="codingstandards" enable="true" severity="low"/>
+<mclassdestructor category="codingstandards" enable="true" severity="low"/>
+<memberlc category="canpanic" enable="true" severity="high"/>
+<membervariablecallld category="codingstandards" enable="true" severity="low"/>
+<missingcancel category="codingstandards" enable="true" severity="low"/>
+<missingcclass category="canpanic" enable="true" severity="high">     <cclassIgnoreRE>CBase</cclassIgnoreRE>
+</missingcclass>
+<mmpsourcepath category="codingstandards" enable="true" severity="low"/>
+<multilangrsc category="codereview" enable="true" severity="low"/>
+<multipledeclarations category="codingstandards" enable="true" severity="low"/>
+<multipleinheritance category="functionality" enable="true" severity="medium"/>
+<mydocs category="functionality" enable="true" severity="medium"/>
+
+<namespace category="codingstandards" enable="true" severity="low"/>
+<newlreferences category="codingstandards" enable="true" severity="low"/>
+<noleavetrap category="codereview" enable="true" severity="low"/>
+<nonconsthbufc category="codingstandards" enable="true" severity="low"/>
+<nonconsttdesc category="codingstandards" enable="true" severity="low"/>
+<nonleavenew category="codereview" enable="true" severity="low"/>
+<nonunicodeskins category="codereview" enable="true" severity="low"/>
+<null category="codingstandards" enable="true" severity="low"/>
+
+<open category="canpanic" enable="true" severity="high">     <openIgnoreRE>RDesReadStream|RDesWriteStream</openIgnoreRE>
+</open>
+
+<pointertoarrays category="performance" enable="true" severity="medium"/>
+<pragmadisable category="codingstandards" enable="true" severity="low"/>
+<pragmamessage category="codingstandards" enable="true" severity="low"/>
+<pragmaother category="codereview" enable="true" severity="low"/>
+<privateinheritance category="codingstandards" enable="true" severity="low"/>
+<pushaddrvar category="canpanic" enable="true" severity="high"/>
+<pushmember category="canpanic" enable="true" severity="high"/>
+
+<readresource category="canpanic" enable="true" severity="high"/>
+<resourcenotoncleanupstack category="codereview" enable="true" severity="low"/>
+<resourcesonheap category="codingstandards" enable="true" severity="low"/> <returndescriptoroutofscope category="canpanic" enable="true" severity="high"/>
+<rfs category="codereview" enable="true" severity="low"/>
+<rssnames category="codereview" enable="true" severity="low"/>
+
+<stringliterals category="codingstandards" enable="true" severity="low"/>
+<stringsinresourcefiles category="codereview" enable="true" severity="low"/>
+<struct category="codingstandards" enable="true" severity="low"/>
+
+<tcclasses category="functionality" enable="true" severity="medium"/>
+<tclassdestructor category="codingstandards" enable="true" severity="low"/>
+<todocomments category="codereview" enable="true" severity="low"/>
+<trapcleanup category="panic" enable="true" severity="high"/>
+<trapeleave category="performance" enable="true" severity="medium"/>
+<traprunl category="codingstandards" enable="true" severity="low"/>
+<trspassing category="functionality" enable="true" severity="medium"/>
+
+<uids category="codereview" enable="true" severity="low"/>
+<uncompressedaif category="performance" enable="true" severity="medium"/>
+<uncompressedbmp category="performance" enable="true" severity="medium"/>
+<unicodesource category="codereview" enable="true" severity="low"/>
+<userafter category="performance" enable="true" severity="medium"/>
+<userfree category="codereview" enable="true" severity="low"/>
+<userWaitForRequest category="codereview" enable="true" severity="low"/>
+
+<variablenames category="codingstandards" enable="true" severity="low"/>
+<voidparameter category="codingstandards" enable="true" severity="low"/>
+
+<worryingcomments category="codereview" enable="true" severity="low">     <worryRE>\!|\?|[Zz]{3}|kludge|workaround|\scrap|hack</worryRE>
+</worryingcomments>
+
+</scripts>

+

Severities Element

+

Each Severities element can contain one or more Severity elements, each of which corresponds to a severity level:

+ +

Complete list of currently supported Severity elements:

+

<severities>
+     <high enable=”true”/>
+     + <medium enable=”true”/>
+     <low enable=”false”/>
+ </severities>

+

Categories Element

+

Each Categories element can contain one or more Category elements, each of which corresponds to a category of CodeScanner scripts:

+ +

Complete list of currently supported Category elements:

+

<categories>
+     <legal enable="true"/>
+     <panic enable=”true”>
+     <canpanic enable="true"/>
+     <functionality enable=”true”/>
+     <localisation enable="true"/>
+     <performance enable=”true”>
+     <codingstandards enable="true"/>
+     <documentation enable=”false”/>
+     <codereview enable=”false”/>
+     <other enable="true"/>
+ </categories>

+

Customrules Element

+

Each custom rules element can contain one or more custom rule elements, each of which defines a custom rule to be applied by CodeScanner during scanning operation:

+ +

Each custom rule element contains the following elements:

+ +

An example of CustomRules element:

+

<customrules>
+     <customrule>
+         <name>myOwnRule</name>
+         <keyword type=”class”>CMyOwnClass</keyword>
+         <filetype>h</filetype>
+         <severity>low</severity>
+         <title>My own little CodeScanner rule</title>
+         <description>Locate the definition of CMyOwnClass::MyFunction()</description>
+         <link>http://www.myownsite.nokia.com</link>
+     </customrule>
+ </customrules>

+ + + \ No newline at end of file diff -r 560850c1ef5e -r 3c75d12493ff core/com.nokia.carbide.cpp.codescanner/html/release_notes.htm --- a/core/com.nokia.carbide.cpp.codescanner/html/release_notes.htm Tue Apr 07 17:19:23 2009 -0500 +++ b/core/com.nokia.carbide.cpp.codescanner/html/release_notes.htm Tue Apr 07 18:07:46 2009 -0500 @@ -1,85 +1,93 @@ - - - - -Release Notes - - - -

CodeScanner Release Notes v2.1.2

- -

Changes from Previous Releases

- -

2.1.1

- -

2.1.0

- -

2.0.9

- -

2.0.8

- -

2.0.7

- -

What's New

- -

Fixed bugs and workarounds

- -

Workarounds for known issues:

- -

Technical support

-

The following support services are available:

- - - - + + + + +Release Notes + + + +

CodeScanner Release Notes v2.1.3

+ +

Changes from Previous Releases

+ +

2.1.1

+ +

2.1.0

+ +

2.0.9

+ +

2.0.8

+ +

2.0.7

+ +

What's New

+ +

Fixed bugs and workarounds

+ +

Workarounds for known issues:

+ +

Technical support

+

The following support services are available:

+ + + + diff -r 560850c1ef5e -r 3c75d12493ff core/com.nokia.carbide.cpp.doc.user/html/license.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/license.htm Tue Apr 07 17:19:23 2009 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ - - - - - - Carbide Licenses - - - - -

Carbide Licenses

-

Carbide licenses can be installed and tested from commands in the Help menu. Additional menu options are also available for licenses. All Carbide.c++ Editions, except Carbide.c++ Express, require a valid license to access and use specific features. Once you register your copy of Carbide.c++ a license for your specific product edition is emailed to you. Use the following information to install, test, view, and generally manage your Carbide license.

-

The following license commands are available.

- -

Install License

-

Select the install license menu option (Help > Carbide Licenses > Install License...) to display the Install License window (figure 1).

-

-

Figure 1. Install License Window

-

Copy and paste your license key data into the window. Enter a filename for the new license and click the OK button.

-

NOTE Restart Carbide.c++ for the new license to take effect.

-

Select New Active License File...

-

Choose the Select New Active License File... menu option (Help > Carbide Licenses > Select New Active License File...) to display an Open window that allows you to select a license (.lic) file.

-

-

Figure 2. Select New Active License File

-

Test Licenses...

-

Select Help > Carbide Licenses > Test Licenses... to test the validity of the current license file. If the license file is valid a Carbide License Manager Verification window appears and confirms that the file is valid.

-

-

Figure 3. Carbide License Manager Verification Window

-

View Licenses...

-

Select Help > Carbide Licenses > View License File... to display a Current License Contents window (figure 4). The window displays information about installed features, such as name of feature, related version, expiration date, and status.

-

-

Figure 4. Current License Contents Window

-

Borrow Floating Licenses...

-

Select Help > Carbide Licenses > Borrow Floating Licenses... to display a Borrow License Window (figure 5). Specify a return date and time for features that can be borrowed.

-

-

Figure 5. Borrow License Window

-

Return Borrowed Licenses

-

Select Help > Carbide Licenses > Return Borrowed Licenses to return borrowed licenses to their previous state.

- - - - \ No newline at end of file diff -r 560850c1ef5e -r 3c75d12493ff core/com.nokia.carbide.cpp.doc.user/tocCarbide.xml --- a/core/com.nokia.carbide.cpp.doc.user/tocCarbide.xml Tue Apr 07 17:19:23 2009 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/tocCarbide.xml Tue Apr 07 18:07:46 2009 -0500 @@ -1,486 +1,485 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 560850c1ef5e -r 3c75d12493ff core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java --- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java Tue Apr 07 17:19:23 2009 -0500 +++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/processes/CheckS60CustKitSupport.java Tue Apr 07 18:07:46 2009 -0500 @@ -32,8 +32,14 @@ private static final String SELECTED_BUILD_CONFIGS_VALUE_KEY = "selectedBuildConfigs"; //$NON-NLS-1$ private static final String S60_50_BUILD_MACROS = "S60_50_CustomBuildIncludes"; + private static final String S60_INC_MACROS = "#include \n#include \nMW_LAYER_SYSTEMINCLUDE"; private static final String S60_MIDDWARE_INC = "epoc32/include/middleware"; + + private static final String S60_MIDDWARE_INC2 = "epoc32/include/mw"; + private static final String S60_INC_MACROS2 = "#include \nAPP_LAYER_SYSTEMINCLUDE"; + + protected IProject project; @Override @@ -75,6 +81,15 @@ S60_50_Macros_String = S60_INC_MACROS; break; } + else { + // try newer middleware paths moved to app layer includes + middleWareInclude = new File(sdk.getEPOCROOT() + S60_MIDDWARE_INC2); + if (sdk.getSDKVersion().getMajor() >= 5 && middleWareInclude.exists()){ + // add symbol as at least one build config is a CustKit + S60_50_Macros_String = S60_INC_MACROS2; + break; + } + } } } } diff -r 560850c1ef5e -r 3c75d12493ff uidesigner/com.nokia.carbide.cpp.uiq.ui/src/com/nokia/carbide/cpp/uiq/ui/viewwizard/ViewWizardManager.java --- a/uidesigner/com.nokia.carbide.cpp.uiq.ui/src/com/nokia/carbide/cpp/uiq/ui/viewwizard/ViewWizardManager.java Tue Apr 07 17:19:23 2009 -0500 +++ b/uidesigner/com.nokia.carbide.cpp.uiq.ui/src/com/nokia/carbide/cpp/uiq/ui/viewwizard/ViewWizardManager.java Tue Apr 07 18:07:46 2009 -0500 @@ -17,9 +17,13 @@ /* START_USECASES: CU1, CU2 END_USECASES */ package com.nokia.carbide.cpp.uiq.ui.viewwizard; +import com.nokia.carbide.cpp.uiq.ui.UIQUserInterfacePlugin; import com.nokia.carbide.internal.api.templatewizard.ui.IWizardDataPage; import com.nokia.carbide.internal.api.templatewizard.ui.TemplateWizard; import com.nokia.carbide.template.engine.ITemplate; +import com.nokia.cpp.internal.api.utils.core.Check; +import com.nokia.cpp.internal.api.utils.core.Logging; +import com.nokia.cpp.internal.api.utils.ui.UITaskUtils; import com.nokia.sdt.component.*; import com.nokia.sdt.component.adapter.CommonAttributes; import com.nokia.sdt.component.adapter.IAttributes; @@ -34,16 +38,11 @@ import com.nokia.sdt.editor.EditorServices; import com.nokia.sdt.editor.IDesignerDataModelEditor; import com.nokia.sdt.emf.dm.*; -import com.nokia.carbide.cpp.internal.featureTracker.FeatureUseTrackerConsts; -import com.nokia.carbide.cpp.internal.featureTracker.FeatureUseTrackerPlugin; -import com.nokia.carbide.cpp.uiq.ui.UIQUserInterfacePlugin; import com.nokia.sdt.sourcegen.*; import com.nokia.sdt.symbian.dm.*; import com.nokia.sdt.symbian.ui.UIPlugin; import com.nokia.sdt.symbian.workspace.ISymbianProjectContext; import com.nokia.sdt.symbian.workspace.impl.ProjectContextProvider; -import com.nokia.cpp.internal.api.utils.core.*; -import com.nokia.cpp.internal.api.utils.ui.UITaskUtils; import com.nokia.sdt.workspace.*; import org.eclipse.cdt.core.model.*; @@ -271,7 +270,6 @@ * */ public ViewWizardManager() { - FeatureUseTrackerPlugin.getFeatureUseProxy().startUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); dataModelProvider = new DesignerDataModelProvider(); ComponentSystem cs = ComponentSystem.getComponentSystem(); try { @@ -1023,7 +1021,6 @@ disposeStoredModel(ROOT_MODEL_KEY); } disposeStoredModel(VIEW_MODEL_KEY); - FeatureUseTrackerPlugin.getFeatureUseProxy().stopUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); } public void disposeStoredModel(String modelKey) { diff -r 560850c1ef5e -r 3c75d12493ff uidesigner/com.nokia.sdt.series60.componentlibrary/src/com/nokia/sdt/series60/viewwizard/ViewWizardManager.java --- a/uidesigner/com.nokia.sdt.series60.componentlibrary/src/com/nokia/sdt/series60/viewwizard/ViewWizardManager.java Tue Apr 07 17:19:23 2009 -0500 +++ b/uidesigner/com.nokia.sdt.series60.componentlibrary/src/com/nokia/sdt/series60/viewwizard/ViewWizardManager.java Tue Apr 07 18:07:46 2009 -0500 @@ -228,7 +228,6 @@ * */ public ViewWizardManager() { - FeatureUseTrackerPlugin.getFeatureUseProxy().startUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); dataModelProvider = new DesignerDataModelProvider(); ComponentSystem cs = ComponentSystem.getComponentSystem(); try { @@ -916,7 +915,6 @@ disposeStoredModel(ROOT_MODEL_KEY); } disposeStoredModel(VIEW_MODEL_KEY); - FeatureUseTrackerPlugin.getFeatureUseProxy().stopUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); } public void disposeStoredModel(String modelKey) { diff -r 560850c1ef5e -r 3c75d12493ff uidesigner/com.nokia.sdt.symbian.ui/src/com/nokia/sdt/symbian/ui/appeditor/ApplicationEditor.java --- a/uidesigner/com.nokia.sdt.symbian.ui/src/com/nokia/sdt/symbian/ui/appeditor/ApplicationEditor.java Tue Apr 07 17:19:23 2009 -0500 +++ b/uidesigner/com.nokia.sdt.symbian.ui/src/com/nokia/sdt/symbian/ui/appeditor/ApplicationEditor.java Tue Apr 07 18:07:46 2009 -0500 @@ -155,7 +155,8 @@ } protected IStatus preLoadInput(IProgressMonitor monitor) { - FeatureUseTrackerPlugin.getFeatureUseProxy().startUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); + if (!EditorServices.isAnyEditorOpen()) + FeatureUseTrackerPlugin.getFeatureUseProxy().startUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); IFile file = ResourceUtil.getFile(getEditorInput()); WorkspaceContext wc = WorkspaceContext.getContext(); IDesignerDataModelSpecifier modelSpecifier = wc.findSpecifierForResource(file); @@ -292,8 +293,9 @@ * Subclasses may extend. */ public void dispose() { - FeatureUseTrackerPlugin.getFeatureUseProxy().stopUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); super.dispose(); + if (!EditorServices.isAnyEditorOpen()) + FeatureUseTrackerPlugin.getFeatureUseProxy().stopUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); } /** diff -r 560850c1ef5e -r 3c75d12493ff uidesigner/com.nokia.sdt.uidesigner/src/com/nokia/sdt/uidesigner/ui/DesignerEditor.java --- a/uidesigner/com.nokia.sdt.uidesigner/src/com/nokia/sdt/uidesigner/ui/DesignerEditor.java Tue Apr 07 17:19:23 2009 -0500 +++ b/uidesigner/com.nokia.sdt.uidesigner/src/com/nokia/sdt/uidesigner/ui/DesignerEditor.java Tue Apr 07 18:07:46 2009 -0500 @@ -20,6 +20,7 @@ import com.nokia.carbide.cpp.internal.featureTracker.FeatureUseTrackerConsts; import com.nokia.carbide.cpp.internal.featureTracker.FeatureUseTrackerPlugin; +import com.nokia.sdt.editor.EditorServices; import com.nokia.sdt.uidesigner.ui.utils.Strings; import com.nokia.cpp.internal.api.utils.core.Logging; import com.nokia.cpp.internal.api.utils.ui.WorkbenchUtils; @@ -56,7 +57,8 @@ @Override protected IStatus doLoadInput(IProgressMonitor monitor) { - FeatureUseTrackerPlugin.getFeatureUseProxy().startUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); + if (!EditorServices.isAnyEditorOpen()) + FeatureUseTrackerPlugin.getFeatureUseProxy().startUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); return super.doLoadInput(monitor); } @@ -64,7 +66,8 @@ public void dispose() { super.dispose(); designerEditorPage = null; // page will be disposed by superclass - FeatureUseTrackerPlugin.getFeatureUseProxy().stopUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); + if (!EditorServices.isAnyEditorOpen()) + FeatureUseTrackerPlugin.getFeatureUseProxy().stopUsingFeature(FeatureUseTrackerConsts.CARBIDE_UI_DESIGNER); } @Override