[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue common/src/GObjects.py common/src/__init__...
From: |
Jason Cater |
Subject: |
gnue common/src/GObjects.py common/src/__init__... |
Date: |
Tue, 19 Nov 2002 20:01:45 -0500 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Jason Cater <address@hidden> 02/11/19 20:01:40
Modified files:
common/src : GObjects.py __init__.py
designer/src : __init__.py
forms/src : GFParser.py __init__.py
Added files:
forms/utils : gfd04to05.py
Log message:
* When writing back to XML, name attributes are listed first
* Misc cleanup
* Added a Forms 0.5.0 converter
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/GObjects.py.diff?tr1=1.41&tr2=1.42&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/common/src/__init__.py.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/designer/src/__init__.py.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFParser.py.diff?tr1=1.83&tr2=1.84&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/__init__.py.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/utils/gfd04to05.py?rev=1.1
Patches:
Index: gnue/common/src/GObjects.py
diff -c gnue/common/src/GObjects.py:1.41 gnue/common/src/GObjects.py:1.42
*** gnue/common/src/GObjects.py:1.41 Mon Nov 4 01:01:59 2002
--- gnue/common/src/GObjects.py Tue Nov 19 20:01:36 2002
***************
*** 199,204 ****
--- 199,210 ----
pos = indent
attrs = self.__dict__.keys()
attrs.sort()
+
+ # Make 'name' first
+ if 'name' in attrs:
+ attrs.pop(attrs.index('name'))
+ attrs.insert(0,'name')
+
for attribute in attrs:
# skip keys beginning with _
if attribute[0] == "_":
Index: gnue/common/src/__init__.py
diff -c gnue/common/src/__init__.py:1.21 gnue/common/src/__init__.py:1.22
*** gnue/common/src/__init__.py:1.21 Sun Nov 17 20:17:23 2002
--- gnue/common/src/__init__.py Tue Nov 19 20:01:36 2002
***************
*** 31,38 ****
# 4. Set _release = 0
# 5. Commit to CVS
! _version = (0,4,1)
! _release = 1
# Version will be of the form "1.1.2" if a release or "1.1.1.99" if in CVS
if _release:
--- 31,38 ----
# 4. Set _release = 0
# 5. Commit to CVS
! _version = (0,4,2)
! _release = 0
# Version will be of the form "1.1.2" if a release or "1.1.1.99" if in CVS
if _release:
Index: gnue/designer/src/__init__.py
diff -c gnue/designer/src/__init__.py:1.17 gnue/designer/src/__init__.py:1.18
*** gnue/designer/src/__init__.py:1.17 Sun Nov 17 20:17:23 2002
--- gnue/designer/src/__init__.py Tue Nov 19 20:01:40 2002
***************
*** 31,38 ****
# 4. Set _release = 0
# 5. Commit to CVS
! _version = (0,4,1)
! _release = 1
# Version will be of the form "1.1.2" if a release or "1.1.1.99" if in CVS
if _release:
--- 31,38 ----
# 4. Set _release = 0
# 5. Commit to CVS
! _version = (0,5,0)
! _release = 0
# Version will be of the form "1.1.2" if a release or "1.1.1.99" if in CVS
if _release:
Index: gnue/forms/src/GFParser.py
diff -c gnue/forms/src/GFParser.py:1.83 gnue/forms/src/GFParser.py:1.84
*** gnue/forms/src/GFParser.py:1.83 Sun Nov 17 17:53:27 2002
--- gnue/forms/src/GFParser.py Tue Nov 19 20:01:40 2002
***************
*** 81,91 ****
'title': {
'Typecast': GTypecast.text,
'Default': 'Untitled Form',
! 'Description': 'The title of the form. Will be displayed on
About Screen.' },
'readonly': {
'Typecast': GTypecast.boolean,
'Default': 0,
! 'Description': 'TODO' },
'tabbed': {
'Typecast': GTypecast.name,
'ValueSet': {
--- 81,93 ----
'title': {
'Typecast': GTypecast.text,
'Default': 'Untitled Form',
! 'Description': 'The title of the form.' },
'readonly': {
'Typecast': GTypecast.boolean,
'Default': 0,
! 'Description': 'If set to {Y}, then no modifications to data '
! 'by the end user will be allowed. The form will
'
! 'become a query-only form.' },
'tabbed': {
'Typecast': GTypecast.name,
'ValueSet': {
***************
*** 94,100 ****
'bottom': {},
'top': {} },
'Default': "",
! 'Description': 'Allows a form to convert it\'s pages as
notebook tabs. Allowed values are {left}, {right}, {bottom}, {top}.' },
'width': {
'Typecast': GTypecast.whole,
'Default': 40,
--- 96,104 ----
'bottom': {},
'top': {} },
'Default': "",
! 'Description': 'Allows a form to convert it\'s pages as '
! 'notebook tabs. Allowed values are {left}, '
! '{right}, {bottom}, {top}.' },
'width': {
'Typecast': GTypecast.whole,
'Default': 40,
***************
*** 145,151 ****
'name': {
'Unique': 1,
'Typecast': GTypecast.name,
! 'Description': 'A unique ID for the widget. This is only
useful when importing pages from a library.' },
'caption': {
'Typecast': GTypecast.text,
'Description': 'TODO' } },
--- 149,156 ----
'name': {
'Unique': 1,
'Typecast': GTypecast.name,
! 'Description': 'A unique ID for the widget. This is only
useful '
! 'when importing pages from a library.' },
'caption': {
'Typecast': GTypecast.text,
'Description': 'TODO' } },
***************
*** 161,185 ****
'Required': 1,
'Unique': 1,
'Typecast': GTypecast.name,
! 'Description': 'A unique ID for the widget.The name of the
widget. No blocks or datasources can share the same name without causing
namespace collisions in user triggers.' },
'rows': {
'Typecast': GTypecast.whole,
! 'Description': 'Any widgets inside the block will display this
number of copies in a verticle column. Simulates a very crude grid entry
system. Serves the same purpose as the visibleCount attribute on some
widgets.'},
'rowSpacer': {
'Typecast': GTypecast.whole,
! '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.' },
'transparentBlock':{
'Typecast': GTypecast.boolean,
'Default': 0,
! 'Description': 'If set then the you can tab out of the block
via next or previous field events. Makes navigation in mutliblock forms easier.
' },
'restrictDelete':{
'Typecast': GTypecast.boolean,
'Default': 0,
! 'Description': 'If set then the user will be unable to request
that a record be deleted via the user interface.' },
'restrictInsert':{
'Typecast': GTypecast.boolean,
'Default': 0,
! 'Description': 'If set then the user will be unable to request
that new records be inserted into the block' },
'datasource': {
'References': (('datasource','name'),),
'Typecast': GTypecast.name,
--- 166,202 ----
'Required': 1,
'Unique': 1,
'Typecast': GTypecast.name,
! 'Description': 'A unique ID for the widget.The name of the '
! 'widget. No blocks can share '
! 'the same name without causing namespace '
! 'collisions in user triggers.' },
'rows': {
'Typecast': GTypecast.whole,
! 'Description': 'Any widgets inside the block will display this
'
! 'number of copies in a verticle column.
Simulates '
! 'a grid entry system.'},
'rowSpacer': {
'Typecast': GTypecast.whole,
! '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.' },
'transparentBlock':{
'Typecast': GTypecast.boolean,
'Default': 0,
! 'Description': 'If set then you can tab out of the block via
next '
! 'or previous field events. Makes navigation in '
! 'mutliblock forms easier. ' },
'restrictDelete':{
'Typecast': GTypecast.boolean,
'Default': 0,
! 'Description': 'If set then the user will be unable to request
'
! 'that a record be deleted via the user
interface.' },
'restrictInsert':{
'Typecast': GTypecast.boolean,
'Default': 0,
! 'Description': 'If set then the user will be unable to request
'
! 'that new records be inserted into the block.'
},
'datasource': {
'References': (('datasource','name'),),
'Typecast': GTypecast.name,
Index: gnue/forms/src/__init__.py
diff -c gnue/forms/src/__init__.py:1.13 gnue/forms/src/__init__.py:1.14
*** gnue/forms/src/__init__.py:1.13 Sun Nov 17 20:17:23 2002
--- gnue/forms/src/__init__.py Tue Nov 19 20:01:40 2002
***************
*** 31,38 ****
# 4. Set _release = 0
# 5. Commit to CVS
! _version = (0,4,1)
! _release = 1
# Version will be of the form "1.1.2" if a release or "1.1.1.99" if in CVS
if _release:
--- 31,38 ----
# 4. Set _release = 0
# 5. Commit to CVS
! _version = (0,5,0)
! _release = 0
# Version will be of the form "1.1.2" if a release or "1.1.1.99" if in CVS
if _release:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue common/src/GObjects.py common/src/__init__...,
Jason Cater <=