RT RT/krbdev.mit.edu: Ticket #5683 NIM: support include files in schemas Signed in as guest.
[Logout]

[Home] [Search] [Configuration]

[Display] [History] [Basics] [Dates] [People] [Links] [Jumbo]

 
 

 The Basics  
Id
5683
Status
resolved
Worked
0 min
Priority
0/0
Queue
krb5
 

 Keyword Selections  
Component
  • windows
Version_reported
Version_Fixed
  • 1.6.3
Target_Version
  • 1.6.3
Tags
  • pullup
 

 Relationships  
Depends on:
Depended on by:
Parents:
  • 5691: (jaltman) Post KFW 3.2.1 Tracking Ticket [resolved]
Children:

Refers to:
Referred to by:
 
 Dates  
Created: Fri Aug 24 10:41:57 2007
Starts: Not set
Started: Fri Aug 24 10:42:00 2007
Last Contact: Fri Sep 28 19:38:23 2007
Due: Not set
Updated: Tue May 6 07:03:41 2008 by guest
 

 People  
Owner
 jaltman
Requestors
 jaltman@mit.edu
Cc
 
AdminCc
 
 

 More about Jeffrey Altman  
Comments about this user:
No comment entered about this user
This user's 25 highest priority tickets:
 

History   Display mode: [Brief headers] [Full headers]
      Fri Aug 24 10:41:57 2007  jaltman - Ticket created    
     
From: jaltman@mit.edu
Subject: SVN Commit

The ccsv.pl and csvschema.cfg scripts are used to generate "C" source
code from CSV files containing tabular data.  In particular, these are
used to define the configuration schema for Network Identity Manager
and some of its plug-ins.

It is desirable to be able to include arbitrary header files and
define macros in the generated C code so that the schema definition
can use them.  This patch allows the CSV files to contain headers that
define lines of text that will be included literally in the generated
C code.  Lines at the start of schema CSV file that begin with '#@'
will be stripped of the '#@' prefix and inserted into the C code.

E.g: The following line at the start of a schema CSV file:

#@#include<windows.h>

,will result in the following text in the C code:

#include<windows.h>

Then the schema definition can use macros of the form:

ClrHeaderExpSel, KC_INT32, "RGB(195, 94, 94)"

,which use macros such as RGB that are defined in the included header
file.


Commit By: jaltman



Revision: 19862
Changed Files:
U   trunk/src/windows/identity/config/ccsv.pl
U   trunk/src/windows/identity/config/csvschema.cfg


Download (untitled) 1.1k
      Fri Aug 24 10:42:00 2007  jaltman - Requestor jaltman@mit.edu added    
      Fri Aug 24 10:42:00 2007  jaltman - Status changed from new to resolved    
      Fri Aug 24 10:42:01 2007  jaltman - Component windows added    
      Fri Sep 28 17:18:17 2007  jaltman - Target_Version 1.6.4 added    
      Fri Sep 28 17:18:17 2007  jaltman - Tags pullup added    
      Fri Sep 28 18:19:57 2007  tlyu - Target_Version 1.6.4 changed to 1.6.3    
      Fri Sep 28 19:38:19 2007  tlyu - Version_Fixed 1.6.3 added    
      Fri Sep 28 19:38:19 2007  tlyu - Correspondence added    
     
From: tlyu@mit.edu
Subject: SVN Commit

pull up r19862 from trunk

 r19862@cathode-dark-space:  jaltman | 2007-08-24 10:41:52 -0400
 ticket: new
 subject: NIM: support include files in schemas
 component: windows

 The ccsv.pl and csvschema.cfg scripts are used to generate "C" source
 code from CSV files containing tabular data.  In particular, these are
 used to define the configuration schema for Network Identity Manager
 and some of its plug-ins.

 It is desirable to be able to include arbitrary header files and
 define macros in the generated C code so that the schema definition
 can use them.  This patch allows the CSV files to contain headers that
 define lines of text that will be included literally in the generated
 C code.  Lines at the start of schema CSV file that begin with '#@'
 will be stripped of the '#@' prefix and inserted into the C code.

 E.g: The following line at the start of a schema CSV file:

 #@#include<windows.h>

 ,will result in the following text in the C code:

 #include<windows.h>

 Then the schema definition can use macros of the form:

 ClrHeaderExpSel, KC_INT32, "RGB(195, 94, 94)"

 ,which use macros such as RGB that are defined in the included header
 file.




Commit By: tlyu



Revision: 19997
Changed Files:
_U  branches/krb5-1-6/
U   branches/krb5-1-6/src/windows/identity/config/ccsv.pl
U   branches/krb5-1-6/src/windows/identity/config/csvschema.cfg


Download (untitled) 1.3k