commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r10258 - in trunk/gnue-forms: . src


From: reinhard
Subject: [gnue] r10258 - in trunk/gnue-forms: . src
Date: Thu, 2 Dec 2010 16:27:05 -0600 (CST)

Author: reinhard
Date: 2010-12-02 16:27:05 -0600 (Thu, 02 Dec 2010)
New Revision: 10258

Modified:
   trunk/gnue-forms/
   trunk/gnue-forms/src/GFParser.py
Log:
Deprecate old style grids (using rows=), and documented target version for
removal of deprecated features.



Property changes on: trunk/gnue-forms
___________________________________________________________________
Name: bzr:revision-info
   - timestamp: 2010-12-02 21:46:05.552000046 +0100
committer: Reinhard Müller <address@hidden>
properties: 
        branch-nick: forms

   + timestamp: 2010-12-02 23:25:47.417999983 +0100
committer: Reinhard Müller <address@hidden>
properties: 
        branch-nick: forms

Name: bzr:file-ids
   - src/GFObjects/GFBlock.py   
address@hidden:trunk%2Fgnue-forms:src%2FGFObjects%2FGFBlock.py

   + src/GFParser.py    address@hidden:trunk%2Fgnue-forms:src%2FGFParser.py

Name: bzr:revision-id:v4
   - 3116 address@hidden
3117 address@hidden
3118 address@hidden
3119 address@hidden
3120 address@hidden
3121 address@hidden
3122 address@hidden
3123 address@hidden
3124 address@hidden
3125 address@hidden
3126 address@hidden
3127 address@hidden
3128 address@hidden
3129 address@hidden
3130 address@hidden
3131 address@hidden
3132 address@hidden
3133 address@hidden
3134 address@hidden
3135 address@hidden
3136 address@hidden
3137 address@hidden
3138 address@hidden
3139 address@hidden
3140 address@hidden
3141 address@hidden
3142 address@hidden
3143 address@hidden
3144 address@hidden
3145 address@hidden
3146 address@hidden
3147 address@hidden
3148 address@hidden
3149 address@hidden
3150 address@hidden
3151 address@hidden
3152 address@hidden
3153 address@hidden
3154 address@hidden
3155 address@hidden
3156 address@hidden
3157 address@hidden
3158 address@hidden
3159 address@hidden
3160 address@hidden
3161 address@hidden
3162 address@hidden
3163 address@hidden
3164 address@hidden
3165 address@hidden

   + 3116 address@hidden
3117 address@hidden
3118 address@hidden
3119 address@hidden
3120 address@hidden
3121 address@hidden
3122 address@hidden
3123 address@hidden
3124 address@hidden
3125 address@hidden
3126 address@hidden
3127 address@hidden
3128 address@hidden
3129 address@hidden
3130 address@hidden
3131 address@hidden
3132 address@hidden
3133 address@hidden
3134 address@hidden
3135 address@hidden
3136 address@hidden
3137 address@hidden
3138 address@hidden
3139 address@hidden
3140 address@hidden
3141 address@hidden
3142 address@hidden
3143 address@hidden
3144 address@hidden
3145 address@hidden
3146 address@hidden
3147 address@hidden
3148 address@hidden
3149 address@hidden
3150 address@hidden
3151 address@hidden
3152 address@hidden
3153 address@hidden
3154 address@hidden
3155 address@hidden
3156 address@hidden
3157 address@hidden
3158 address@hidden
3159 address@hidden
3160 address@hidden
3161 address@hidden
3162 address@hidden
3163 address@hidden
3164 address@hidden
3165 address@hidden
3166 address@hidden

Name: bzr:text-parents
   - 
   + src/GFParser.py    address@hidden


Modified: trunk/gnue-forms/src/GFParser.py
===================================================================
--- trunk/gnue-forms/src/GFParser.py    2010-12-02 22:25:01 UTC (rev 10257)
+++ trunk/gnue-forms/src/GFParser.py    2010-12-02 22:27:05 UTC (rev 10258)
@@ -351,14 +351,16 @@
                'Typecast': GTypecast.whole,
                'Description': 'Any widgets inside the block will display this '
                               'number of copies in a verticle column. 
Simulates '
-                              'a grid entry system.'},
+                              'a grid entry system.',
+               'Deprecated': "Use a <grid> instead."},  # Remove with 0.8.
             'rowSpacer': {
                'Typecast': GTypecast.whole,
                'Label': _('Row Spacing'),
                'Description': 'Adjusts the vertical gap of this number of rows 
'
                               'between duplicated widgets. Serves the same '
                               'purpose as some of the gap attributes on '
-                              'individual widgets.' },
+                              'individual widgets.' ,
+               'Deprecated': "Use a <grid> instead."},  # Remove with 0.8.
             'startup': {
                 'Label': u_("Startup state"),
                 'Description': u_(
@@ -441,7 +443,7 @@
             'restrictDelete':{
                'Typecast': GTypecast.boolean,
                'Default': False,
-               'Deprecated': 'Use deletable="N"',
+               'Deprecated': 'Use deletable="N"',       # Remove with 0.8.
                'Label': _('Prevent Deletes'),
                'Description': 'If set then the user will be unable to request '
                                'that a record be deleted via the user 
interface.' },
@@ -449,7 +451,7 @@
                'Typecast': GTypecast.boolean,
                'Default': False,
                'Label': _('Prevent Inserts'),
-               'Deprecated': 'Use insertable="N"',
+               'Deprecated': 'Use insertable="N"',      # Remove with 0.8.
                'Description': 'If set then the user will be unable to request '
                               'that new records be inserted into the block.' },
             'datasource': {
@@ -493,12 +495,14 @@
             'rows': {
                'Typecast': GTypecast.whole,
                'Description': 'Overrides the rows setting defined at the '
-                              'block level. ' },
+                              'block level. ' ,
+               'Deprecated': "Use a <grid> instead."},  # Remove with 0.8.
             'rowSpacer': {
                'Typecast': GTypecast.whole,
                'Label': _('Row Spacing'),
                'Description': 'Overriders the rowSpace setting defined at the '
-                              'block level.' } },
+                              'block level.' ,
+               'Deprecated': "Use a <grid> instead."}}, # Remove with 0.8.
          'Positionable': True,
          'ParentTags': ('page','box','hbox','vbox'),
          'Label': u_('Label'),
@@ -566,7 +570,7 @@
                 'Default': False},
             'maxLength': {
                'Typecast': GTypecast.whole,
-               'Deprecated': 'Use length'},
+               'Deprecated': 'Use length'},     # Remove with 0.8.
             'minLength': {
                'Typecast': GTypecast.whole,
                'Label': _('Min Text Length'),
@@ -575,21 +579,21 @@
                'Default': 0 },
             'max_length': {
                'Typecast': GTypecast.whole,
-               'Deprecated': 'Use length',
+               'Deprecated': 'Use length',      # Remove with 0.8.
                'Description': 'The maximum number of characters the user is '
                               'allowed to enter into the entry.' },
             'min_length': {
                'Typecast': GTypecast.whole,
-               'Deprecated': 'Use minLength',
+               'Deprecated': 'Use minLength',   # Remove with 0.8.
                'Description': 'The minimum number of characters the user must '
                               'enter into the entry.',
                'Default': 0 },
             'typecast': {
                'Typecast': GTypecast.name,
-               'Deprecated': 'Use "type".'},
+               'Deprecated': 'Use "datatype".'},        # Remove with 0.8.
             'value': {
                'Typecast': GTypecast.text,
-               'Deprecated': 'Use default="..." instead',
+               'Deprecated': 'Use default="..." instead',   # Remove with 0.8.
                'Description': 'Deprecated' },
             'fk_source': {
                'References': 'datasource.name',
@@ -744,12 +748,14 @@
             'rows': {
                'Typecast': GTypecast.whole,
                'Description': 'Overrides the rows setting defined at the '
-                              'block level.'},
+                              'block level.',
+               'Deprecated': "Use a <grid> instead."},  # Remove with 0.8.
             'rowSpacer': {
                'Typecast': GTypecast.whole,
                'Label': _('Row Spacing'),
                'Description': 'Overrides the rowSpacer setting at the '
-                              'block level.' },
+                              'block level.' ,
+               'Deprecated': "Use a <grid> instead."},  # Remove with 0.8.
             'navigable': {
                'Typecast': GTypecast.boolean,
                'Description': 'If false, the user will be unable to navigate '
@@ -759,7 +765,7 @@
             'hidden': {
                'Typecast': GTypecast.boolean,
                'Default': False,
-               'Deprecated': 'Use a field without entry instead'},
+               'Deprecated': 'Use a field without entry instead'}, # Remove 
with 0.8.
             'style': {
                'Typecast': GTypecast.name,
                'ValueSet': {
@@ -827,7 +833,8 @@
          'ParentTags': ('page','vbox','hbox','box'),
          'Label': u_('Scrollbar'),
          'Description': 'A scrollbar is a visual element that lets the user '
-                        'move vertically layout elements linked to it.' },
+                        'move vertically layout elements linked to it.',
+         'Deprecated': "Use a <grid> instead."},        # Remove with 0.8
 
       'vbox': {
          'BaseClass': GFObjects.GFVBox,
@@ -909,10 +916,7 @@
                'Description': 'The block for this grid.' },
             'rows': {
                'Typecast': GTypecast.whole,
-               'Description': u_('Overrides the rows setting defined at the '
-                                 'block level.')},
-
-            },
+               'Description': "Number of rows displayed"}},
          'Positionable': True,
          'ParentTags': ('page','box','hbox','vbox'),
          'Label': u_('Grid'),
@@ -1056,12 +1060,14 @@
             'rows': {
                'Typecast': GTypecast.whole,
                'Description': 'Overrides the rows setting defined at the '
-                              'block level. ' },
+                              'block level. ',
+               'Deprecated': "Use a <grid> instead."},  # Remove with 0.8
             'rowSpacer': {
                'Typecast': GTypecast.whole,
                'Label': _('Row Spacing'),
                'Description': 'Overriders the rowSpace setting defined at the '
-                              'block level.' },
+                              'block level.',
+               'Deprecated': "Use a <grid> instead."},  # Remove with 0.8
             'focusorder': {
                'Typecast': GTypecast.whole,
                'Description': 'Defines what order the focus moves through '
@@ -1122,7 +1128,7 @@
                'Description': 'TODO' } },
          'MixedContent': True,
          'SingleInstance': True,
-         'Deprecated': 'Use the <form> attribute "title" instead.',
+         'Deprecated': 'Use the <form> attribute "title" instead.',     # 
Remove with 0.8
          'ParentTags': ('options',),
          'Label': u_('Form Title'),
          'Description': 'TODO' },
@@ -1272,7 +1278,7 @@
                 'Typecast': GTypecast.text},
             'type': {
                 'Typecast': GTypecast.name,
-                'Deprecated': 'Use "datatype" instead.'}},
+                'Deprecated': 'Use "datatype" instead.'}},      # Remove with 
0.8.
          'ParentTags':  ('form','dialog'),
          'Label': u_('Parameter'),
          'Description': 'A form can get parameters from the outer world '




reply via email to

[Prev in Thread] Current Thread [Next in Thread]